UNPKG

yanzhen-design-vue

Version:

28 lines (27 loc) 659 B
import "../../../hooks/index.mjs"; import { buildProps, epPropType } from "@yanzhen-libs/utils-vue"; import { useNamespace } from "../../../hooks/use-namespace/index.mjs"; const ns = useNamespace("formula"); const formulaOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const formulaName = formulaOptions.name; const formulaProps = buildProps({ size: String, suffix: String, value: String, isDetail: Boolean, showStyle: epPropType.any, convertUnit: epPropType.any, precision: epPropType.any, showThousan: epPropType.any }); const formulaEmits = {}; export { formulaEmits, formulaName, formulaOptions, formulaProps };