UNPKG

yanzhen-design-vue

Version:

25 lines (24 loc) 670 B
import { buildProps, buildEmits } from "@yanzhen-libs/utils-vue"; import "../../../hooks/index.mjs"; import { VxeTable } from "./vxe-table-props.mjs"; import { useNamespace } from "../../../hooks/use-namespace/index.mjs"; const ns = useNamespace("vxe-table"); const vxeTableOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const vxeTableName = vxeTableOptions.name; const vxeTablePreviewName = ns.defineVNodeName("preview"); const vxeTableProps = buildProps({ ...VxeTable.props, tag: String }); const vxeTableEmits = buildEmits(VxeTable.emits); export { vxeTableEmits, vxeTableName, vxeTableOptions, vxeTablePreviewName, vxeTableProps };