64e7363ea33622361efc652cd14c3f3479f5a1eadb31d4b8749a11952f5ac53cbd15784fbc80fe1bf0d799417feeb0b77ba3eb818073ad9259b64e715b8317 618 B

12345678910111213141516171819202122232425
  1. import { createVNode, mergeProps, isVNode } from 'vue';
  2. import Table from '../table-grid.mjs';
  3. function _isSlot(s) {
  4. return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
  5. }
  6. const RightTable = (props, {
  7. slots
  8. }) => {
  9. if (!props.columns.length)
  10. return;
  11. const {
  12. rightTableRef,
  13. ...rest
  14. } = props;
  15. return createVNode(Table, mergeProps({
  16. "ref": rightTableRef
  17. }, rest), _isSlot(slots) ? slots : {
  18. default: () => [slots]
  19. });
  20. };
  21. var RightTable$1 = RightTable;
  22. export { RightTable$1 as default };
  23. //# sourceMappingURL=right-table.mjs.map