UNPKG

yanzhen-design-vue

Version:

31 lines (30 loc) 877 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const Col = require("ant-design-vue/es/grid/Col"); const utilsVue = require("@yanzhen-libs/utils-vue"); require("../../../hooks/index.cjs"); require("../../_utils/index.cjs"); const index = require("../../../hooks/use-namespace/index.cjs"); const ns = index.useNamespace("col"); const colOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const colName = colOptions.name; const { props, emits } = utilsVue.propsSeparate(utilsVue.initDefaultProps(Col.colProps(), {})); const colExtraProps = { text: String }; const colProps = utilsVue.buildProps({ ...props, ...colExtraProps }); const colEmits = { ...emits }; exports.colEmits = colEmits; exports.colExtraProps = colExtraProps; exports.colName = colName; exports.colOptions = colOptions; exports.colProps = colProps;