@sdata/web-vue 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sd.css +71 -0
- package/dist/sd.min.css +2 -2
- package/es/badge/badge.vue.d.ts +2 -0
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +19 -4
- package/es/badge/index.d.ts +3 -0
- package/es/components.d.ts +2 -0
- package/es/index.css +71 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -1
- package/es/index.scss +1 -0
- package/es/number-flow/continuous.d.ts +2 -0
- package/es/number-flow/continuous.js +7 -0
- package/es/number-flow/formatter.d.ts +15 -0
- package/es/number-flow/formatter.js +54 -0
- package/es/number-flow/group-key.d.ts +11 -0
- package/es/number-flow/group-key.js +4 -0
- package/es/number-flow/index.d.ts +63 -0
- package/es/number-flow/index.js +15 -0
- package/es/number-flow/number-flow-group.js +5 -0
- package/es/number-flow/number-flow-group.vue.d.ts +12 -0
- package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +58 -0
- package/es/number-flow/number-flow.js +5 -0
- package/es/number-flow/number-flow.vue.d.ts +20 -0
- package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +284 -0
- package/es/number-flow/style/css.js +2 -0
- package/es/number-flow/style/index.css +85 -0
- package/es/number-flow/style/index.d.ts +2 -0
- package/es/number-flow/style/index.js +2 -0
- package/es/number-flow/style/index.scss +93 -0
- package/es/number-flow/style/token.scss +5 -0
- package/es/number-flow/types.d.ts +46 -0
- package/es/number-flow/use-can-animate.d.ts +4 -0
- package/es/number-flow/use-can-animate.js +30 -0
- package/es/rich-text-editor/index.d.ts +3 -3
- package/es/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
- package/es/sd-vue.js +3 -0
- package/es/statistic/countdown.vue.d.ts +9 -0
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +29 -2
- package/es/statistic/index.d.ts +15 -0
- package/es/statistic/statistic.vue.d.ts +3 -3
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +31 -62
- package/es/statistic/style/index.css +3 -0
- package/es/statistic/style/index.scss +5 -0
- package/json/vetur-attributes.json +8 -0
- package/json/vetur-tags.json +9 -1
- package/json/web-types.json +29 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
|
+
import NumberFlow from "../number-flow/index.js";
|
|
3
4
|
import { getDateString } from "./utils.js";
|
|
4
|
-
import { createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, toDisplayString, toRefs, unref, watch } from "vue";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toRefs, unref, watch } from "vue";
|
|
5
6
|
import originDayjs from "dayjs";
|
|
6
7
|
//#region components/statistic/countdown.vue?vue&type=script&setup=true&lang.ts
|
|
7
8
|
var countdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Countdown" }), {}, {
|
|
@@ -45,6 +46,14 @@ var countdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
45
46
|
default: true
|
|
46
47
|
},
|
|
47
48
|
/**
|
|
49
|
+
* @zh 是否开启数字切换动画
|
|
50
|
+
* @en Whether to enable the number transition animation
|
|
51
|
+
*/
|
|
52
|
+
animation: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
48
57
|
* @zh 自定义显示值的样式
|
|
49
58
|
* @en Custom value style
|
|
50
59
|
* @version 2.32.0
|
|
@@ -63,6 +72,10 @@ var countdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
63
72
|
const prefixCls = getPrefixCls("statistic");
|
|
64
73
|
const { start, value, now, format } = toRefs(props);
|
|
65
74
|
const displayValue = ref(getDateString(Math.max(originDayjs(props.value).diff(originDayjs(props.now), "millisecond"), 0), props.format));
|
|
75
|
+
const displayParts = computed(() => displayValue.value.split(/(\d+)/).flatMap((value) => value ? [{
|
|
76
|
+
type: /^\d+$/.test(value) ? "number" : "text",
|
|
77
|
+
value
|
|
78
|
+
}] : []));
|
|
66
79
|
watch([
|
|
67
80
|
value,
|
|
68
81
|
now,
|
|
@@ -105,7 +118,21 @@ var countdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
105
118
|
}, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])], 2)) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-content`) }, [createElementVNode("div", {
|
|
106
119
|
class: normalizeClass(`${unref(prefixCls)}-value`),
|
|
107
120
|
style: normalizeStyle(__props.valueStyle)
|
|
108
|
-
},
|
|
121
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayParts.value, (part, index) => {
|
|
122
|
+
return openBlock(), createElementBlock(Fragment, { key: `${part.type}-${index}` }, [part.type === "number" ? (openBlock(), createBlock(unref(NumberFlow), {
|
|
123
|
+
key: 0,
|
|
124
|
+
value: Number(part.value),
|
|
125
|
+
animated: __props.animation,
|
|
126
|
+
format: {
|
|
127
|
+
minimumIntegerDigits: part.value.length,
|
|
128
|
+
useGrouping: false
|
|
129
|
+
}
|
|
130
|
+
}, null, 8, [
|
|
131
|
+
"value",
|
|
132
|
+
"animated",
|
|
133
|
+
"format"
|
|
134
|
+
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(part.value), 1)], 64))], 64);
|
|
135
|
+
}), 128))], 6)], 2)], 2);
|
|
109
136
|
};
|
|
110
137
|
}
|
|
111
138
|
}));
|
package/es/statistic/index.d.ts
CHANGED
|
@@ -191,6 +191,10 @@ declare const Statistic: {
|
|
|
191
191
|
type: BooleanConstructor;
|
|
192
192
|
default: boolean;
|
|
193
193
|
};
|
|
194
|
+
animation: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
194
198
|
valueStyle: {
|
|
195
199
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
196
200
|
};
|
|
@@ -201,6 +205,7 @@ declare const Statistic: {
|
|
|
201
205
|
}, import("vue").PublicProps, {
|
|
202
206
|
value: number;
|
|
203
207
|
start: boolean;
|
|
208
|
+
animation: boolean;
|
|
204
209
|
format: string;
|
|
205
210
|
now: number;
|
|
206
211
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -228,6 +233,10 @@ declare const Statistic: {
|
|
|
228
233
|
type: BooleanConstructor;
|
|
229
234
|
default: boolean;
|
|
230
235
|
};
|
|
236
|
+
animation: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
231
240
|
valueStyle: {
|
|
232
241
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
233
242
|
};
|
|
@@ -236,6 +245,7 @@ declare const Statistic: {
|
|
|
236
245
|
}>, {}, {}, {}, {}, {
|
|
237
246
|
value: number;
|
|
238
247
|
start: boolean;
|
|
248
|
+
animation: boolean;
|
|
239
249
|
format: string;
|
|
240
250
|
now: number;
|
|
241
251
|
}>;
|
|
@@ -260,6 +270,10 @@ declare const Statistic: {
|
|
|
260
270
|
type: BooleanConstructor;
|
|
261
271
|
default: boolean;
|
|
262
272
|
};
|
|
273
|
+
animation: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
263
277
|
valueStyle: {
|
|
264
278
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
265
279
|
};
|
|
@@ -270,6 +284,7 @@ declare const Statistic: {
|
|
|
270
284
|
}, string, {
|
|
271
285
|
value: number;
|
|
272
286
|
start: boolean;
|
|
287
|
+
animation: boolean;
|
|
273
288
|
format: string;
|
|
274
289
|
now: number;
|
|
275
290
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CSSProperties, PropType } from 'vue';
|
|
2
|
-
declare var __VLS_1: {}, __VLS_3: {},
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
title?: (props: typeof __VLS_1) => any;
|
|
5
5
|
} & {
|
|
6
6
|
prefix?: (props: typeof __VLS_3) => any;
|
|
7
7
|
} & {
|
|
8
|
-
suffix?: (props: typeof
|
|
8
|
+
suffix?: (props: typeof __VLS_10) => any;
|
|
9
9
|
} & {
|
|
10
|
-
extra?: (props: typeof
|
|
10
|
+
extra?: (props: typeof __VLS_12) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
title: StringConstructor;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber, isUndefined } from "../_utils/is.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/asyncToGenerator.js";
|
|
5
|
+
import NumberFlow from "../number-flow/index.js";
|
|
6
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, shallowRef, toDisplayString, unref, watch } from "vue";
|
|
7
7
|
import originDayjs from "dayjs";
|
|
8
8
|
//#region components/statistic/statistic.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var _hoisted_1 = { key: 0 };
|
|
@@ -68,7 +68,7 @@ var statistic_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
68
68
|
*/
|
|
69
69
|
animation: {
|
|
70
70
|
type: Boolean,
|
|
71
|
-
default:
|
|
71
|
+
default: true
|
|
72
72
|
},
|
|
73
73
|
/**
|
|
74
74
|
* @zh 动画的过度时间
|
|
@@ -100,7 +100,6 @@ var statistic_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
100
100
|
valueStyle: { type: Object }
|
|
101
101
|
},
|
|
102
102
|
setup(__props) {
|
|
103
|
-
var _props$valueFrom;
|
|
104
103
|
const props = __props;
|
|
105
104
|
/**
|
|
106
105
|
* @zh 标题
|
|
@@ -123,63 +122,25 @@ var statistic_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
123
122
|
* @slot suffix
|
|
124
123
|
*/
|
|
125
124
|
const prefixCls = getPrefixCls("statistic");
|
|
126
|
-
const numberValue = computed(() => {
|
|
127
|
-
if (isNumber(props.value)) return props.value;
|
|
128
|
-
return 0;
|
|
129
|
-
});
|
|
130
|
-
const innerValue = ref((_props$valueFrom = props.valueFrom) !== null && _props$valueFrom !== void 0 ? _props$valueFrom : props.value);
|
|
131
|
-
const tween = ref(null);
|
|
132
|
-
const { value } = toRefs(props);
|
|
133
125
|
const showPlaceholder = computed(() => isUndefined(props.value));
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
onFinish: () => {
|
|
146
|
-
innerValue.value = to;
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
(_tween$value = tween.value) === null || _tween$value === void 0 || _tween$value.start();
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
const formatValue = computed(() => {
|
|
153
|
-
let _value = innerValue.value;
|
|
154
|
-
if (isNumber(_value)) {
|
|
155
|
-
if (isNumber(props.precision)) _value = NP.round(_value, props.precision).toFixed(props.precision);
|
|
156
|
-
const splitValue = String(_value).split(".");
|
|
157
|
-
return {
|
|
158
|
-
isNumber: true,
|
|
159
|
-
integer: props.showGroupSeparator ? Number(splitValue[0]).toLocaleString("en-US") : splitValue[0],
|
|
160
|
-
decimal: splitValue[1]
|
|
161
|
-
};
|
|
126
|
+
const displayValue = shallowRef(props.animation && props.valueFrom !== void 0 ? props.valueFrom : props.value);
|
|
127
|
+
const numberFormat = computed(() => ({
|
|
128
|
+
minimumFractionDigits: props.precision,
|
|
129
|
+
maximumFractionDigits: props.precision,
|
|
130
|
+
useGrouping: props.showGroupSeparator
|
|
131
|
+
}));
|
|
132
|
+
const formattedDateValue = computed(() => props.format ? originDayjs(displayValue.value).format(props.format) : displayValue.value);
|
|
133
|
+
onMounted(_asyncToGenerator(function* () {
|
|
134
|
+
if (props.animation && props.start && props.valueFrom !== void 0) {
|
|
135
|
+
yield nextTick();
|
|
136
|
+
displayValue.value = props.value;
|
|
162
137
|
}
|
|
163
|
-
|
|
164
|
-
return {
|
|
165
|
-
isNumber: false,
|
|
166
|
-
value: _value
|
|
167
|
-
};
|
|
168
|
-
});
|
|
169
|
-
onMounted(() => {
|
|
170
|
-
if (props.animation && props.start) animation();
|
|
171
|
-
});
|
|
138
|
+
}));
|
|
172
139
|
watch(() => props.start, (value) => {
|
|
173
|
-
if (value
|
|
140
|
+
if (value) displayValue.value = props.value;
|
|
174
141
|
});
|
|
175
|
-
watch(value, (
|
|
176
|
-
|
|
177
|
-
var _tween$value$stop, _tween$value2;
|
|
178
|
-
(_tween$value$stop = (_tween$value2 = tween.value).stop) === null || _tween$value$stop === void 0 || _tween$value$stop.call(_tween$value2);
|
|
179
|
-
tween.value = null;
|
|
180
|
-
}
|
|
181
|
-
innerValue.value = val;
|
|
182
|
-
if (props.animation && props.start) animation();
|
|
142
|
+
watch(() => props.value, (value) => {
|
|
143
|
+
displayValue.value = value;
|
|
183
144
|
});
|
|
184
145
|
return (_ctx, _cache) => {
|
|
185
146
|
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(prefixCls)) }, [__props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", {
|
|
@@ -193,10 +154,18 @@ var statistic_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
193
154
|
key: 0,
|
|
194
155
|
class: normalizeClass(`${unref(prefixCls)}-prefix`)
|
|
195
156
|
}, [renderSlot(_ctx.$slots, "prefix")], 2)) : createCommentVNode("", true),
|
|
196
|
-
|
|
197
|
-
key:
|
|
198
|
-
|
|
199
|
-
|
|
157
|
+
unref(isNumber)(displayValue.value) ? (openBlock(), createBlock(unref(NumberFlow), {
|
|
158
|
+
key: 1,
|
|
159
|
+
value: displayValue.value,
|
|
160
|
+
animated: __props.animation,
|
|
161
|
+
format: numberFormat.value,
|
|
162
|
+
"transform-timing": { duration: __props.animationDuration }
|
|
163
|
+
}, null, 8, [
|
|
164
|
+
"value",
|
|
165
|
+
"animated",
|
|
166
|
+
"format",
|
|
167
|
+
"transform-timing"
|
|
168
|
+
])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [createTextVNode(toDisplayString(formattedDateValue.value), 1)], 64)),
|
|
200
169
|
_ctx.$slots.suffix ? (openBlock(), createElementBlock("span", {
|
|
201
170
|
key: 3,
|
|
202
171
|
class: normalizeClass(`${unref(prefixCls)}-suffix`)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use '@components/statistic/style/token.scss' as *;
|
|
4
4
|
|
|
5
5
|
$statistic-prefix-cls: string.unquote('#{theme.$prefix}-statistic');
|
|
6
|
+
$number-flow-prefix-cls: string.unquote('#{theme.$prefix}-number-flow');
|
|
6
7
|
|
|
7
8
|
.#{$statistic-prefix-cls} {
|
|
8
9
|
display: inline-block;
|
|
@@ -27,6 +28,10 @@ $statistic-prefix-cls: string.unquote('#{theme.$prefix}-statistic');
|
|
|
27
28
|
white-space: nowrap;
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
.#{$number-flow-prefix-cls}-fraction {
|
|
32
|
+
font-size: $statistic-font-decimal-size;
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
&-decimal {
|
|
31
36
|
display: inline-block;
|
|
32
37
|
font-size: $statistic-font-decimal-size;
|
|
@@ -200,6 +200,10 @@
|
|
|
200
200
|
"description": "Number to show in badge",
|
|
201
201
|
"type": "number"
|
|
202
202
|
},
|
|
203
|
+
"sd-badge/animation": {
|
|
204
|
+
"description": "Whether to enable the number transition animation",
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
203
207
|
"sd-breadcrumb-item/separator": {
|
|
204
208
|
"description": "Delimiter text"
|
|
205
209
|
},
|
|
@@ -2507,6 +2511,10 @@
|
|
|
2507
2511
|
"description": "Whether to start the countdown",
|
|
2508
2512
|
"type": "boolean"
|
|
2509
2513
|
},
|
|
2514
|
+
"sd-countdown/animation": {
|
|
2515
|
+
"description": "Whether to enable the number transition animation",
|
|
2516
|
+
"type": "boolean"
|
|
2517
|
+
},
|
|
2510
2518
|
"sd-countdown/value-style": {
|
|
2511
2519
|
"description": "Custom value style"
|
|
2512
2520
|
},
|
package/json/vetur-tags.json
CHANGED
|
@@ -88,7 +88,8 @@
|
|
|
88
88
|
"offset",
|
|
89
89
|
"color",
|
|
90
90
|
"status",
|
|
91
|
-
"count"
|
|
91
|
+
"count",
|
|
92
|
+
"animation"
|
|
92
93
|
]
|
|
93
94
|
},
|
|
94
95
|
"sd-basic-crud-table": {
|
|
@@ -887,6 +888,12 @@
|
|
|
887
888
|
"reset-query-on-close"
|
|
888
889
|
]
|
|
889
890
|
},
|
|
891
|
+
"sd-number-flow-group": {
|
|
892
|
+
"attributes": []
|
|
893
|
+
},
|
|
894
|
+
"sd-number-flow": {
|
|
895
|
+
"attributes": []
|
|
896
|
+
},
|
|
890
897
|
"sd-page-header": {
|
|
891
898
|
"attributes": [
|
|
892
899
|
"title",
|
|
@@ -1162,6 +1169,7 @@
|
|
|
1162
1169
|
"now",
|
|
1163
1170
|
"format",
|
|
1164
1171
|
"start",
|
|
1172
|
+
"animation",
|
|
1165
1173
|
"value-style"
|
|
1166
1174
|
]
|
|
1167
1175
|
},
|
package/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@sdata/web-vue",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "4.0.0",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -493,6 +493,14 @@
|
|
|
493
493
|
"type": "number",
|
|
494
494
|
"kind": "expression"
|
|
495
495
|
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "animation",
|
|
499
|
+
"description": "Whether to enable the number transition animation",
|
|
500
|
+
"value": {
|
|
501
|
+
"type": "boolean",
|
|
502
|
+
"kind": "expression"
|
|
503
|
+
}
|
|
496
504
|
}
|
|
497
505
|
],
|
|
498
506
|
"events": [],
|
|
@@ -4700,6 +4708,18 @@
|
|
|
4700
4708
|
],
|
|
4701
4709
|
"slots": []
|
|
4702
4710
|
},
|
|
4711
|
+
{
|
|
4712
|
+
"name": "sd-number-flow-group",
|
|
4713
|
+
"attributes": [],
|
|
4714
|
+
"events": [],
|
|
4715
|
+
"slots": []
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"name": "sd-number-flow",
|
|
4719
|
+
"attributes": [],
|
|
4720
|
+
"events": [],
|
|
4721
|
+
"slots": []
|
|
4722
|
+
},
|
|
4703
4723
|
{
|
|
4704
4724
|
"name": "sd-page-header",
|
|
4705
4725
|
"attributes": [
|
|
@@ -6230,6 +6250,14 @@
|
|
|
6230
6250
|
"kind": "expression"
|
|
6231
6251
|
}
|
|
6232
6252
|
},
|
|
6253
|
+
{
|
|
6254
|
+
"name": "animation",
|
|
6255
|
+
"description": "Whether to enable the number transition animation",
|
|
6256
|
+
"value": {
|
|
6257
|
+
"type": "boolean",
|
|
6258
|
+
"kind": "expression"
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6233
6261
|
{
|
|
6234
6262
|
"name": "value-style",
|
|
6235
6263
|
"description": "Custom value style",
|