UNPKG

yanzhen-design-vue

Version:

27 lines (26 loc) 779 B
import { buildProps, buildEmits } from "@yanzhen-libs/utils-vue"; import "../../../hooks/index.mjs"; import { otherTableProps, otherTableEmits } from "./other-table.mjs"; import { otherTableSelectProps, otherTableSelectEmits } from "./other-table-select.mjs"; import { useNamespace } from "../../../hooks/use-namespace/index.mjs"; const ns = useNamespace("other-tables"); const otherTablesOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const otherTablesName = otherTablesOptions.name; const otherTablesProps = buildProps({ ...otherTableProps, ...otherTableSelectProps }); const otherTablesEmits = buildEmits({ ...otherTableEmits, ...otherTableSelectEmits }); export { otherTablesEmits, otherTablesName, otherTablesOptions, otherTablesProps };