Files
pig-farm-controller-fe/node_modules/element-plus/lib/components/table-v2/src/renderers/main-table.js
2025-09-19 14:25:20 +08:00

28 lines
650 B
JavaScript

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var tableGrid = require('../table-grid.js');
function _isSlot(s) {
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
}
const MainTable = (props, {
slots
}) => {
const {
mainTableRef,
...rest
} = props;
return vue.createVNode(tableGrid["default"], vue.mergeProps({
"ref": mainTableRef
}, rest), _isSlot(slots) ? slots : {
default: () => [slots]
});
};
var MainTable$1 = MainTable;
exports["default"] = MainTable$1;
//# sourceMappingURL=main-table.js.map