yanzhen-design-vue
Version:
28 lines (27 loc) • 706 B
JavaScript
import "../../../hooks/index.mjs";
import { buildProps, epPropType, buildEmits } from "@yanzhen-libs/utils-vue";
import { useNamespace } from "../../../hooks/use-namespace/index.mjs";
const ns = useNamespace("progress-txt");
const progressTxtOptions = {
ns,
class: ns.b(),
name: ns.defineVNodeName()
};
const progressTxtName = progressTxtOptions.name;
const progressTxtProps = buildProps({
showStyle: epPropType.any,
convertUnit: epPropType.any,
precision: epPropType.any,
value: epPropType.any,
showTooltip: {
type: Boolean,
default: false
}
});
const progressTxtEmits = buildEmits({});
export {
progressTxtEmits,
progressTxtName,
progressTxtOptions,
progressTxtProps
};