UNPKG

tdesign-vue-next

Version:
71 lines (66 loc) 1.23 kB
/** * tdesign v1.15.2 * (c) 2025 tdesign * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var props = { animation: { type: Object }, animationStart: Boolean, color: { type: String, validator: function validator(val) { if (!val) return true; return ["black", "blue", "red", "orange", "green"].includes(val); } }, 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