@element-plus/nightly 0.0.20221202 → 0.0.20221204
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/index.css +1 -1
- package/dist/index.full.js +736 -449
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +730 -450
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/component.mjs +3 -0
- package/es/component.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +3 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +1 -1
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/statistic/index.d.ts +164 -0
- package/es/components/statistic/index.mjs +12 -0
- package/es/components/statistic/index.mjs.map +1 -0
- package/es/components/statistic/src/countdown.d.ts +22 -0
- package/es/components/statistic/src/countdown.mjs +63 -0
- package/es/components/statistic/src/countdown.mjs.map +1 -0
- package/es/components/statistic/src/countdown.vue.d.ts +80 -0
- package/es/components/statistic/src/countdown2.mjs +114 -0
- package/es/components/statistic/src/countdown2.mjs.map +1 -0
- package/es/components/statistic/src/statistic.d.ts +21 -0
- package/es/components/statistic/src/statistic.mjs +51 -0
- package/es/components/statistic/src/statistic.mjs.map +1 -0
- package/es/components/statistic/src/statistic.vue.d.ts +83 -0
- package/es/components/statistic/src/statistic2.mjs +81 -0
- package/es/components/statistic/src/statistic2.mjs.map +1 -0
- package/es/components/statistic/style/css.d.ts +2 -0
- package/es/components/statistic/style/css.mjs +3 -0
- package/es/components/statistic/style/css.mjs.map +1 -0
- package/es/components/statistic/style/index.d.ts +2 -0
- package/es/components/statistic/style/index.mjs +3 -0
- package/es/components/statistic/style/index.mjs.map +1 -0
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/index.mjs +3 -0
- package/es/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +165 -162
- package/lib/component.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +23 -13
- package/lib/components/index.js.map +1 -1
- package/lib/components/notification/src/notify.js +1 -1
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/statistic/index.d.ts +164 -0
- package/lib/components/statistic/index.js +23 -0
- package/lib/components/statistic/index.js.map +1 -0
- package/lib/components/statistic/src/countdown.d.ts +22 -0
- package/lib/components/statistic/src/countdown.js +73 -0
- package/lib/components/statistic/src/countdown.js.map +1 -0
- package/lib/components/statistic/src/countdown.vue.d.ts +80 -0
- package/lib/components/statistic/src/countdown2.js +118 -0
- package/lib/components/statistic/src/countdown2.js.map +1 -0
- package/lib/components/statistic/src/statistic.d.ts +21 -0
- package/lib/components/statistic/src/statistic.js +56 -0
- package/lib/components/statistic/src/statistic.js.map +1 -0
- package/lib/components/statistic/src/statistic.vue.d.ts +83 -0
- package/lib/components/statistic/src/statistic2.js +85 -0
- package/lib/components/statistic/src/statistic2.js.map +1 -0
- package/lib/components/statistic/style/css.d.ts +2 -0
- package/lib/components/statistic/style/css.js +6 -0
- package/lib/components/statistic/style/css.js.map +1 -0
- package/lib/components/statistic/style/index.d.ts +2 -0
- package/lib/components/statistic/style/index.js +6 -0
- package/lib/components/statistic/style/index.js.map +1 -0
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/index.js +112 -102
- package/lib/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-statistic.css +1 -0
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +14 -1
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/statistic.scss +46 -0
- package/web-types.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
3
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
4
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, null, boolean>;
|
|
5
|
+
readonly formatter: {
|
|
6
|
+
readonly type: import("vue").PropType<(val: string | number) => string | number>;
|
|
7
|
+
readonly required: false;
|
|
8
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
|
+
__epPropKey: true;
|
|
10
|
+
};
|
|
11
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, null, boolean>;
|
|
12
|
+
readonly prefix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
|
+
readonly suffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, null, boolean>;
|
|
14
|
+
readonly title: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
15
|
+
readonly valueStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => {}, boolean>;
|
|
16
|
+
readonly rate: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
|
|
17
|
+
}, {
|
|
18
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
20
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
21
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, null, boolean>;
|
|
22
|
+
readonly formatter: {
|
|
23
|
+
readonly type: import("vue").PropType<(val: string | number) => string | number>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
28
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, null, boolean>;
|
|
29
|
+
readonly prefix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
30
|
+
readonly suffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, null, boolean>;
|
|
31
|
+
readonly title: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
32
|
+
readonly valueStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => {}, boolean>;
|
|
33
|
+
readonly rate: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
|
|
34
|
+
}>> & {
|
|
35
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
36
|
+
}>>;
|
|
37
|
+
ns: {
|
|
38
|
+
namespace: import("vue").Ref<string>;
|
|
39
|
+
b: (blockSuffix?: string) => string;
|
|
40
|
+
e: (element?: string | undefined) => string;
|
|
41
|
+
m: (modifier?: string | undefined) => string;
|
|
42
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
43
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
44
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
45
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
46
|
+
is: {
|
|
47
|
+
(name: string, state: boolean | undefined): string;
|
|
48
|
+
(name: string): string;
|
|
49
|
+
};
|
|
50
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
51
|
+
cssVarName: (name: string) => string;
|
|
52
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
53
|
+
cssVarBlockName: (name: string) => string;
|
|
54
|
+
};
|
|
55
|
+
disposeValue: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
56
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
58
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
59
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, null, boolean>;
|
|
60
|
+
readonly formatter: {
|
|
61
|
+
readonly type: import("vue").PropType<(val: string | number) => string | number>;
|
|
62
|
+
readonly required: false;
|
|
63
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
+
__epPropKey: true;
|
|
65
|
+
};
|
|
66
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, null, boolean>;
|
|
67
|
+
readonly prefix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
68
|
+
readonly suffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, null, boolean>;
|
|
69
|
+
readonly title: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
70
|
+
readonly valueStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => {}, boolean>;
|
|
71
|
+
readonly rate: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
|
|
72
|
+
}>>, {
|
|
73
|
+
readonly title: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
74
|
+
readonly value: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
75
|
+
readonly prefix: string;
|
|
76
|
+
readonly suffix: string;
|
|
77
|
+
readonly precision: number;
|
|
78
|
+
readonly decimalSeparator: string;
|
|
79
|
+
readonly groupSeparator: string;
|
|
80
|
+
readonly valueStyle: import("vue").StyleValue;
|
|
81
|
+
readonly rate: number;
|
|
82
|
+
}>;
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var lodashUnified = require('lodash-unified');
|
|
7
|
+
require('../../../hooks/index.js');
|
|
8
|
+
require('../../../utils/index.js');
|
|
9
|
+
var statistic = require('./statistic.js');
|
|
10
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
11
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
12
|
+
var shared = require('@vue/shared');
|
|
13
|
+
|
|
14
|
+
const __default__ = vue.defineComponent({
|
|
15
|
+
name: "ElStatistic"
|
|
16
|
+
});
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
18
|
+
...__default__,
|
|
19
|
+
props: statistic.statisticProps,
|
|
20
|
+
setup(__props, { expose }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const ns = index.useNamespace("statistic");
|
|
23
|
+
const disposeValue = vue.computed(() => {
|
|
24
|
+
if (shared.isFunction(props.formatter)) {
|
|
25
|
+
return props.formatter(props.value);
|
|
26
|
+
} else if (lodashUnified.isNil(props.value) || !/^(-|\+)?\d+(\.\d+)?$/.test(`${props.value}`)) {
|
|
27
|
+
return props.value;
|
|
28
|
+
} else {
|
|
29
|
+
let [integer, decimal] = `${props.value}`.split(".");
|
|
30
|
+
if (!lodashUnified.isNil(props.precision)) {
|
|
31
|
+
decimal = `${decimal || ""}${1 .toFixed(props.precision).replace(".", "").slice(1)}`;
|
|
32
|
+
decimal = decimal.slice(0, props.precision);
|
|
33
|
+
}
|
|
34
|
+
integer = statistic.regroup(integer, props.rate, props.groupSeparator);
|
|
35
|
+
return [integer, decimal].join(decimal ? props.decimalSeparator || "." : "");
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
expose({
|
|
39
|
+
disposeValue
|
|
40
|
+
});
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
43
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
|
44
|
+
}, [
|
|
45
|
+
_ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
46
|
+
key: 0,
|
|
47
|
+
ref: "title",
|
|
48
|
+
class: vue.normalizeClass(vue.unref(ns).e("head"))
|
|
49
|
+
}, [
|
|
50
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
51
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
52
|
+
])
|
|
53
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
54
|
+
vue.createElementVNode("div", {
|
|
55
|
+
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
56
|
+
}, [
|
|
57
|
+
_ctx.$slots.prefix || _ctx.prefix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
58
|
+
key: 0,
|
|
59
|
+
class: vue.normalizeClass(vue.unref(ns).e("prefix"))
|
|
60
|
+
}, [
|
|
61
|
+
vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
|
|
62
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.prefix), 1)
|
|
63
|
+
])
|
|
64
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
65
|
+
vue.createElementVNode("span", {
|
|
66
|
+
class: vue.normalizeClass(vue.unref(ns).e("number")),
|
|
67
|
+
style: vue.normalizeStyle(_ctx.valueStyle)
|
|
68
|
+
}, vue.toDisplayString(vue.unref(disposeValue)), 7),
|
|
69
|
+
_ctx.$slots.suffix || _ctx.suffix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
70
|
+
key: 1,
|
|
71
|
+
class: vue.normalizeClass(vue.unref(ns).e("suffix"))
|
|
72
|
+
}, [
|
|
73
|
+
vue.renderSlot(_ctx.$slots, "suffix", {}, () => [
|
|
74
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.suffix), 1)
|
|
75
|
+
])
|
|
76
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
77
|
+
], 2)
|
|
78
|
+
], 2);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
var Statistic = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);
|
|
83
|
+
|
|
84
|
+
exports["default"] = Statistic;
|
|
85
|
+
//# sourceMappingURL=statistic2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" ref=\"title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ disposeValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { isNil } from 'lodash-unified'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction } from '@element-plus/utils'\nimport { regroup, statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst disposeValue = computed(() => {\n if (isFunction(props.formatter)) {\n return props.formatter(props.value)\n } else if (\n isNil(props.value) ||\n !/^(-|\\+)?\\d+(\\.\\d+)?$/.test(`${props.value}`)\n ) {\n return props.value\n } else {\n let [integer, decimal] = `${props.value}`.split('.')\n if (!isNil(props.precision)) {\n decimal = `${decimal || ''}${(1)\n .toFixed(props.precision)\n .replace('.', '')\n .slice(1)}`\n decimal = decimal.slice(0, props.precision)\n }\n integer = regroup(integer, props.rate, props.groupSeparator)\n return [integer, decimal].join(decimal ? props.decimalSeparator || '.' : '')\n }\n})\n\ndefineExpose({\n disposeValue,\n})\n</script>\n"],"names":["useNamespace","computed","isFunction","isNil","regroup"],"mappings":";;;;;;;;;;;;;uCA+Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAKA,mBAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAeC,aAAS,MAAM;AAClC,MAAI,IAAAC,iBAAA,CAAW,KAAM,CAAA,SAAS,CAAG,EAAA;AAC/B,QAAO,OAAA,KAAA,CAAM,SAAU,CAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AAAA,OACpC,MAAA,IACEC,mBAAM,CAAA,KAAA,CAAM,KAAK,CAAA,IACjB,CAAC,sBAAA,CAAuB,IAAK,CAAA,CAAA,EAAG,KAAM,CAAA,KAAA,CAAA,CAAO,CAC7C,EAAA;AACA,QAAA,OAAO,KAAM,CAAA,KAAA,CAAA;AAAA,OACR,MAAA;AACL,QAAA,IAAI,CAAC,OAAS,EAAA,OAAA,CAAA,GAAW,GAAG,KAAM,CAAA,KAAA,CAAA,CAAA,CAAQ,MAAM,GAAG,CAAA,CAAA;AACnD,QAAA,IAAI,CAACA,mBAAA,CAAM,KAAM,CAAA,SAAS,CAAG,EAAA;AAC3B,UAAA,OAAA,GAAU,CAAG,EAAA,OAAA,IAAW,EAAM,CAAA,EAAA,CAAA,EAC3B,OAAQ,CAAA,KAAA,CAAM,SAAS,CAAA,CACvB,OAAQ,CAAA,GAAA,EAAK,EAAE,CAAA,CACf,MAAM,CAAC,CAAA,CAAA,CAAA,CAAA;AACV,UAAA,OAAA,GAAU,OAAQ,CAAA,KAAA,CAAM,CAAG,EAAA,KAAA,CAAM,SAAS,CAAA,CAAA;AAAA,SAC5C;AACA,QAAA,OAAA,GAAUC,iBAAQ,CAAA,OAAA,EAAS,KAAM,CAAA,IAAA,EAAM,MAAM,cAAc,CAAA,CAAA;AAC3D,QAAO,OAAA,CAAC,SAAS,OAAO,CAAA,CAAE,KAAK,OAAU,GAAA,KAAA,CAAM,gBAAoB,IAAA,GAAA,GAAM,EAAE,CAAA,CAAA;AAAA,OAC7E;AAAA,KACD,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MACX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -14,8 +14,8 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
14
14
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
18
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
17
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
18
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
19
19
|
}, {
|
|
20
20
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
readonly space: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -33,8 +33,8 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
37
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
36
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
37
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
38
38
|
}>> & {
|
|
39
39
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
40
40
|
}>>;
|
|
@@ -76,16 +76,16 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
80
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
79
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
80
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
81
81
|
}>> & {
|
|
82
82
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
readonly active: number;
|
|
85
85
|
readonly space: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
86
86
|
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
87
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
88
|
-
readonly processStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
87
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
88
|
+
readonly processStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
89
89
|
}>> & {
|
|
90
90
|
Step: import("vue").DefineComponent<{
|
|
91
91
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -96,7 +96,7 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
96
96
|
__epPropKey: true;
|
|
97
97
|
};
|
|
98
98
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
99
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
99
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
100
100
|
}, {
|
|
101
101
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
102
102
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -107,7 +107,7 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
107
107
|
__epPropKey: true;
|
|
108
108
|
};
|
|
109
109
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
110
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
110
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
111
111
|
}>> & {
|
|
112
112
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
113
113
|
}>>;
|
|
@@ -226,11 +226,11 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
226
226
|
__epPropKey: true;
|
|
227
227
|
};
|
|
228
228
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
229
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
229
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
230
230
|
}>>, {
|
|
231
231
|
readonly title: string;
|
|
232
232
|
readonly description: string;
|
|
233
|
-
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
233
|
+
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
234
234
|
}>;
|
|
235
235
|
};
|
|
236
236
|
export default ElSteps;
|
|
@@ -243,7 +243,7 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
243
243
|
__epPropKey: true;
|
|
244
244
|
};
|
|
245
245
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
246
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
246
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
247
247
|
}, {
|
|
248
248
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
249
249
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -254,7 +254,7 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
254
254
|
__epPropKey: true;
|
|
255
255
|
};
|
|
256
256
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
257
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
257
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
258
258
|
}>> & {
|
|
259
259
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
260
260
|
}>>;
|
|
@@ -373,11 +373,11 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
373
373
|
__epPropKey: true;
|
|
374
374
|
};
|
|
375
375
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
376
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
376
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
377
377
|
}>>, {
|
|
378
378
|
readonly title: string;
|
|
379
379
|
readonly description: string;
|
|
380
|
-
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
380
|
+
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
381
381
|
}>>;
|
|
382
382
|
export * from './src/item';
|
|
383
383
|
export * from './src/steps';
|
|
@@ -9,7 +9,7 @@ export declare const stepProps: {
|
|
|
9
9
|
__epPropKey: true;
|
|
10
10
|
};
|
|
11
11
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
12
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
13
13
|
};
|
|
14
14
|
export declare type StepProps = ExtractPropTypes<typeof stepProps>;
|
|
15
15
|
export declare type StepInstance = InstanceType<typeof Step>;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
30
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
30
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
31
31
|
}, {
|
|
32
32
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
41
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
42
42
|
}>> & {
|
|
43
43
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
44
44
|
}>>;
|
|
@@ -157,10 +157,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
157
|
__epPropKey: true;
|
|
158
158
|
};
|
|
159
159
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
160
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
160
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
161
161
|
}>>, {
|
|
162
162
|
readonly title: string;
|
|
163
163
|
readonly description: string;
|
|
164
|
-
readonly status: import("../../../utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
164
|
+
readonly status: import("../../../utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
165
165
|
}>;
|
|
166
166
|
export default _default;
|
|
@@ -16,8 +16,8 @@ export declare const stepsProps: {
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
20
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
19
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
};
|
|
22
22
|
export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
23
23
|
export declare const stepsEmits: {
|
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
20
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
19
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
}, {
|
|
22
22
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
39
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
38
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
39
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
40
40
|
}>> & {
|
|
41
41
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
42
42
|
}>>;
|
|
@@ -78,15 +78,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
79
|
__epPropKey: true;
|
|
80
80
|
};
|
|
81
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
82
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
81
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
82
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
83
83
|
}>> & {
|
|
84
84
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
readonly active: number;
|
|
87
87
|
readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
88
88
|
readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
89
|
-
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
90
|
-
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
89
|
+
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
90
|
+
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
91
91
|
}>;
|
|
92
92
|
export default _default;
|