18607e72ae9713e8a99aec551151c0ee872ed87e9d20193d88b2f1d600ca0ce73942510ca65883c6e66178b5eea404a58893960a2bf01e578a8e0045f7d3cb 611 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 LeftTable = (props, {
  7. slots
  8. }) => {
  9. if (!props.columns.length)
  10. return;
  11. const {
  12. leftTableRef,
  13. ...rest
  14. } = props;
  15. return createVNode(Table, mergeProps({
  16. "ref": leftTableRef
  17. }, rest), _isSlot(slots) ? slots : {
  18. default: () => [slots]
  19. });
  20. };
  21. var LeftTable$1 = LeftTable;
  22. export { LeftTable$1 as default };
  23. //# sourceMappingURL=left-table.mjs.map