tdesign-vue-next
Version:
TDesign Component for vue-next
68 lines (63 loc) • 1.1 kB
JavaScript
/**
* tdesign v1.17.7
* (c) 2025 tdesign
* @license MIT
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
var props = {
animation: {
type: Object
},
animationStart: Boolean,
color: {
type: String,
"default": ""
},
decimalPlaces: {
type: Number
},
extra: {
type: [String, Function]
},
format: {
type: Function
},
loading: Boolean,
prefix: {
type: [String, Function]
},
separator: {
type: String,
"default": ","
},
suffix: {
type: [String, Function]
},
title: {
type: [String, Function]
},
trend: {
type: String,
validator: function validator(val) {
if (!val) return true;
return ["increase", "decrease"].includes(val);
}
},
trendPlacement: {
type: String,
"default": "left",
validator: function validator(val) {
if (!val) return true;
return ["left", "right"].includes(val);
}
},
unit: {
type: [String, Function]
},
value: {
type: Number
}
};
exports["default"] = props;
//# sourceMappingURL=props.js.map