| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
- const progressProps = buildProps({
- type: {
- type: String,
- default: "line",
- values: ["line", "circle", "dashboard"]
- },
- percentage: {
- type: Number,
- default: 0,
- validator: (val) => val >= 0 && val <= 100
- },
- status: {
- type: String,
- default: "",
- values: ["", "success", "exception", "warning"]
- },
- indeterminate: Boolean,
- duration: {
- type: Number,
- default: 3
- },
- strokeWidth: {
- type: Number,
- default: 6
- },
- strokeLinecap: {
- type: definePropType(String),
- default: "round"
- },
- textInside: Boolean,
- width: {
- type: Number,
- default: 126
- },
- showText: {
- type: Boolean,
- default: true
- },
- color: {
- type: definePropType([
- String,
- Array,
- Function
- ]),
- default: ""
- },
- striped: Boolean,
- stripedFlow: Boolean,
- format: {
- type: definePropType(Function),
- default: (percentage) => `${percentage}%`
- }
- });
- export { progressProps };
- //# sourceMappingURL=progress.mjs.map
|