13e89c0f99277978f33b414a54e56e035d5c91dbb93cb570df1e23e8ce42f5cb09caaefaf0768cc4d56f665b71883b7838f7ce10c74c9261d2b9eac5850568 570 B

1234567891011121314151617181920212223
  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 MainTable = (props, {
  7. slots
  8. }) => {
  9. const {
  10. mainTableRef,
  11. ...rest
  12. } = props;
  13. return createVNode(Table, mergeProps({
  14. "ref": mainTableRef
  15. }, rest), _isSlot(slots) ? slots : {
  16. default: () => [slots]
  17. });
  18. };
  19. var MainTable$1 = MainTable;
  20. export { MainTable$1 as default };
  21. //# sourceMappingURL=main-table.mjs.map