yanzhen-design-vue
Version:
31 lines (30 loc) • 729 B
JavaScript
import { colProps as colProps$1 } from "ant-design-vue/es/grid/Col";
import { propsSeparate, initDefaultProps, buildProps } from "@yanzhen-libs/utils-vue";
import "../../../hooks/index.mjs";
import "../../_utils/index.mjs";
import { useNamespace } from "../../../hooks/use-namespace/index.mjs";
const ns = useNamespace("col");
const colOptions = {
ns,
class: ns.b(),
name: ns.defineVNodeName()
};
const colName = colOptions.name;
const { props, emits } = propsSeparate(initDefaultProps(colProps$1(), {}));
const colExtraProps = {
text: String
};
const colProps = buildProps({
...props,
...colExtraProps
});
const colEmits = {
...emits
};
export {
colEmits,
colExtraProps,
colName,
colOptions,
colProps
};