bkui-vue 0.0.1-beta.15 → 0.0.1-beta.18
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/bkui-vue.cjs.js +1171 -186
- package/dist/bkui-vue.esm.js +1214 -233
- package/dist/bkui-vue.umd.js +1171 -186
- package/dist/style.css +469 -14
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +7 -0
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +7 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +7 -0
- package/lib/badge/index.d.ts +144 -76
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.d.ts +21 -13
- package/lib/breadcrumb/breadcrumb.variable.css +7 -0
- package/lib/breadcrumb/index.d.ts +97 -61
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.d.ts +27 -22
- package/lib/button/button.variable.css +7 -0
- package/lib/button/index.d.ts +111 -93
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +7 -0
- package/lib/card/index.d.ts +120 -60
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +7 -0
- package/lib/checkbox/index.d.ts +137 -97
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/index.d.ts +108 -72
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +3 -0
- package/lib/date-picker/date-picker.d.ts +110 -63
- package/lib/date-picker/date-picker.variable.css +7 -0
- package/lib/date-picker/index.d.ts +437 -249
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +46 -25
- package/lib/dialog/index.d.ts +179 -95
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +7 -0
- package/lib/divider/index.d.ts +84 -52
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.d.ts +25 -13
- package/lib/dropdown/dropdown.variable.css +7 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +7 -0
- package/lib/exception/index.d.ts +44 -36
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/form-item.d.ts +46 -27
- package/lib/form/form.d.ts +22 -14
- package/lib/form/index.d.ts +285 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +15 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +15 -0
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +15 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +15 -0
- package/lib/icon/angle-down-fill.js +15 -0
- package/lib/icon/angle-down-line.js +15 -0
- package/lib/icon/angle-down.js +15 -0
- package/lib/icon/angle-left.js +15 -0
- package/lib/icon/angle-right.js +15 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.js +15 -0
- package/lib/icon/circle.js +15 -0
- package/lib/icon/close.js +15 -0
- package/lib/icon/code.js +15 -0
- package/lib/icon/cog-shape.js +15 -0
- package/lib/icon/collapse-left.js +15 -0
- package/lib/icon/copy.js +15 -0
- package/lib/icon/done.js +15 -0
- package/lib/icon/down-shape.js +15 -0
- package/lib/icon/down-small.js +15 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +15 -0
- package/lib/icon/error.js +15 -0
- package/lib/icon/eye.js +15 -0
- package/lib/icon/folder-open.js +15 -0
- package/lib/icon/folder-shape-open.js +15 -0
- package/lib/icon/folder-shape.js +15 -0
- package/lib/icon/folder.js +15 -0
- package/lib/icon/help-document-fill.js +15 -0
- package/lib/icon/help-fill.js +15 -0
- package/lib/icon/help.js +15 -0
- package/lib/icon/icon.js +15 -0
- package/lib/icon/index.d.ts +7 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +15 -0
- package/lib/icon/info.js +15 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +15 -0
- package/lib/icon/play-shape.js +15 -0
- package/lib/icon/plus.js +15 -0
- package/lib/icon/right-shape.js +15 -0
- package/lib/icon/search.js +15 -0
- package/lib/icon/share.js +15 -0
- package/lib/icon/spinner.js +15 -0
- package/lib/icon/success.js +15 -0
- package/lib/icon/switcher-loading.js +15 -0
- package/lib/icon/text-file.js +15 -0
- package/lib/icon/tree-application-shape.js +15 -0
- package/lib/icon/unvisible.js +15 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +15 -0
- package/lib/icon/warn.js +15 -0
- package/lib/input/index.d.ts +240 -160
- package/lib/input/index.js +2 -2
- package/lib/input/input.d.ts +60 -40
- package/lib/input/input.variable.css +7 -0
- package/lib/link/index.d.ts +100 -52
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +7 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +7 -0
- package/lib/menu/index.d.ts +90 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.d.ts +18 -14
- package/lib/menu/menu.variable.css +7 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +10 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.variable.css +7 -0
- package/lib/message/messageConstructor.d.ts +28 -16
- package/lib/modal/index.d.ts +92 -56
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +24 -15
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.d.ts +40 -23
- package/lib/navigation/navigation.variable.css +7 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.variable.css +7 -0
- package/lib/notify/notifyConstructor.d.ts +36 -20
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +207 -177
- package/lib/popover/popover.css +1 -0
- package/lib/popover/popover.d.ts +52 -30
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +8 -0
- package/lib/process/index.d.ts +120 -60
- package/lib/process/index.js +1 -1
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +30 -15
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +9 -3
- package/lib/progress/index.d.ts +284 -136
- package/lib/progress/progress.d.ts +71 -34
- package/lib/progress/progress.variable.css +7 -0
- package/lib/radio/index.d.ts +127 -78
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.variable.css +7 -0
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +32 -15
- package/lib/select/index.d.ts +396 -327
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +9 -10
- package/lib/select/optionGroup.d.ts +49 -41
- package/lib/select/select.css +2 -1
- package/lib/select/select.d.ts +98 -84
- package/lib/select/select.less +2 -1
- package/lib/select/select.variable.css +9 -1
- package/lib/shared/index.js +1 -1
- package/lib/sideslider/index.d.ts +111 -63
- package/lib/sideslider/sideslider.d.ts +29 -17
- package/lib/sideslider/sideslider.variable.css +7 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +7 -0
- package/lib/steps/index.d.ts +156 -104
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +3 -0
- package/lib/steps/steps.d.ts +39 -26
- package/lib/steps/steps.less +4 -0
- package/lib/steps/steps.variable.css +10 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +11 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.variable.css +7 -0
- package/lib/tab/index.d.ts +344 -208
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +74 -38
- package/lib/tab/tab-panel.d.ts +22 -20
- package/lib/tab/tab.d.ts +64 -32
- package/lib/tab/tab.variable.css +7 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +154 -130
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +18 -0
- package/lib/table/render.d.ts +18 -2
- package/lib/table/table.css +47 -10
- package/lib/table/table.d.ts +47 -22
- package/lib/table/table.less +61 -17
- package/lib/table/table.variable.css +56 -12
- package/lib/table/utils.d.ts +28 -2
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +7 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/tree/index.d.ts +140 -75
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +19 -1
- package/lib/tree/tree.d.ts +42 -20
- package/lib/use-form.d.ts +3 -0
- package/lib/virtual-render/index.d.ts +410 -249
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/virtual-render.d.ts +110 -41
- package/package.json +2 -2
package/lib/process/index.d.ts
CHANGED
@@ -9,21 +9,36 @@ declare const BkSteps: {
|
|
9
9
|
showSteps: boolean;
|
10
10
|
curProcess: number;
|
11
11
|
displayKey: string;
|
12
|
-
}> & Omit<Readonly<{
|
13
|
-
list
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
showSteps: boolean
|
24
|
-
|
25
|
-
|
26
|
-
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
14
|
+
default: () => unknown[];
|
15
|
+
} & {
|
16
|
+
default: () => unknown[];
|
17
|
+
};
|
18
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
24
|
+
default: boolean;
|
25
|
+
} & {
|
26
|
+
default: boolean;
|
27
|
+
};
|
28
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
29
|
+
default: number;
|
30
|
+
} & {
|
31
|
+
default: number;
|
32
|
+
};
|
33
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
+
default: string;
|
35
|
+
} & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
}>> & {
|
27
42
|
onClick?: (...args: any[]) => any;
|
28
43
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
29
44
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "list" | "extCls" | "controllable" | "showSteps" | "curProcess" | "displayKey">;
|
@@ -40,21 +55,36 @@ declare const BkSteps: {
|
|
40
55
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
41
56
|
$emit: (event: "click" | "update:curProcess", ...args: any[]) => void;
|
42
57
|
$el: any;
|
43
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
44
|
-
list
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
showSteps: boolean
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
59
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
60
|
+
default: () => unknown[];
|
61
|
+
} & {
|
62
|
+
default: () => unknown[];
|
63
|
+
};
|
64
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
65
|
+
default: boolean;
|
66
|
+
} & {
|
67
|
+
default: boolean;
|
68
|
+
};
|
69
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
70
|
+
default: boolean;
|
71
|
+
} & {
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
75
|
+
default: number;
|
76
|
+
} & {
|
77
|
+
default: number;
|
78
|
+
};
|
79
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
80
|
+
default: string;
|
81
|
+
} & {
|
82
|
+
default: string;
|
83
|
+
};
|
84
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
};
|
87
|
+
}>> & {
|
58
88
|
onClick?: (...args: any[]) => any;
|
59
89
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
60
90
|
}, {
|
@@ -88,21 +118,36 @@ declare const BkSteps: {
|
|
88
118
|
$forceUpdate: () => void;
|
89
119
|
$nextTick: typeof import("vue").nextTick;
|
90
120
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
91
|
-
} & Readonly<{
|
92
|
-
list
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
showSteps: boolean
|
103
|
-
|
104
|
-
|
105
|
-
|
121
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
122
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
123
|
+
default: () => unknown[];
|
124
|
+
} & {
|
125
|
+
default: () => unknown[];
|
126
|
+
};
|
127
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
128
|
+
default: boolean;
|
129
|
+
} & {
|
130
|
+
default: boolean;
|
131
|
+
};
|
132
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
} & {
|
135
|
+
default: boolean;
|
136
|
+
};
|
137
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
138
|
+
default: number;
|
139
|
+
} & {
|
140
|
+
default: number;
|
141
|
+
};
|
142
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
143
|
+
default: string;
|
144
|
+
} & {
|
145
|
+
default: string;
|
146
|
+
};
|
147
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
148
|
+
default: string;
|
149
|
+
};
|
150
|
+
}>> & {
|
106
151
|
onClick?: (...args: any[]) => any;
|
107
152
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
108
153
|
} & import("vue").ShallowUnwrapRef<{
|
@@ -113,21 +158,36 @@ declare const BkSteps: {
|
|
113
158
|
__isFragment?: never;
|
114
159
|
__isTeleport?: never;
|
115
160
|
__isSuspense?: never;
|
116
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
117
|
-
list
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
showSteps: boolean
|
128
|
-
|
129
|
-
|
130
|
-
|
161
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
162
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
163
|
+
default: () => unknown[];
|
164
|
+
} & {
|
165
|
+
default: () => unknown[];
|
166
|
+
};
|
167
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
168
|
+
default: boolean;
|
169
|
+
} & {
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
173
|
+
default: boolean;
|
174
|
+
} & {
|
175
|
+
default: boolean;
|
176
|
+
};
|
177
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
178
|
+
default: number;
|
179
|
+
} & {
|
180
|
+
default: number;
|
181
|
+
};
|
182
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
183
|
+
default: string;
|
184
|
+
} & {
|
185
|
+
default: string;
|
186
|
+
};
|
187
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
188
|
+
default: string;
|
189
|
+
};
|
190
|
+
}>> & {
|
131
191
|
onClick?: (...args: any[]) => any;
|
132
192
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
133
193
|
}, {
|
package/lib/process/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("vue"),require("../shared"),require("
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("vue"),require("../shared"),require("../icon")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","../icon"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bkuiVue={},t.Vue,t.Shared,t["@bkui-vue/icon/icons"])}(this,(function(t,e,r,n){"use strict";function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i={exports:{}};!function(t){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports}(i);var a=o(i.exports),c={exports:{}},s={exports:{}},u={exports:{}};!function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports}(u),function(t){var e=u.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(s);var l={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(l);var f={exports:{}};!function(t){var e=u.exports;t.exports=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(f);var p={exports:{}};!function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports}(p),function(t){var e=s.exports,r=l.exports,n=f.exports,o=p.exports;t.exports=function(t){return e(t)||r(t)||n(t)||o()},t.exports.__esModule=!0,t.exports.default=t.exports}(c);var h=o(c.exports),d={exports:{}};!function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new O(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?d:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=d,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",y={};function v(){}function g(){}function x(){}var m={};s(m,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(T([])));b&&b!==r&&n.call(b,i)&&(m=b);var _=x.prototype=v.prototype=Object.create(m);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,a,c){var s=l(t[o],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:N}}function N(){return{value:e,done:!0}}return g.prototype=x,s(_,"constructor",x),s(x,"constructor",g),g.displayName=s(x,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,s(t,c,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},L(P.prototype),s(P.prototype,a,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(_),s(_,c,"Generator"),s(_,i,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(d);var y=d.exports;
|
2
2
|
/*! *****************************************************************************
|
3
3
|
Copyright (c) Microsoft Corporation.
|
4
4
|
|
package/lib/process/process.css
CHANGED
package/lib/process/process.d.ts
CHANGED
@@ -88,21 +88,36 @@ declare const _default: import("vue").DefineComponent<{
|
|
88
88
|
defaultProcessList: import("vue").Ref<any[]>;
|
89
89
|
paddingBottom: import("vue").Ref<number>;
|
90
90
|
jumpTo: (index: any) => Promise<void>;
|
91
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curProcess")[], "click" | "update:curProcess", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
92
|
-
list
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
showSteps: boolean
|
103
|
-
|
104
|
-
|
105
|
-
|
91
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curProcess")[], "click" | "update:curProcess", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
92
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
93
|
+
default: () => unknown[];
|
94
|
+
} & {
|
95
|
+
default: () => unknown[];
|
96
|
+
};
|
97
|
+
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
98
|
+
default: boolean;
|
99
|
+
} & {
|
100
|
+
default: boolean;
|
101
|
+
};
|
102
|
+
showSteps: import("vue-types").VueTypeValidableDef<boolean> & {
|
103
|
+
default: boolean;
|
104
|
+
} & {
|
105
|
+
default: boolean;
|
106
|
+
};
|
107
|
+
curProcess: import("vue-types").VueTypeValidableDef<number> & {
|
108
|
+
default: number;
|
109
|
+
} & {
|
110
|
+
default: number;
|
111
|
+
};
|
112
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
113
|
+
default: string;
|
114
|
+
} & {
|
115
|
+
default: string;
|
116
|
+
};
|
117
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
}>> & {
|
106
121
|
onClick?: (...args: any[]) => any;
|
107
122
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
108
123
|
}, {
|
package/lib/process/process.less
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
@@ -83,6 +84,12 @@
|
|
83
84
|
--date-picker-disabled-bg: #fafbfd;
|
84
85
|
--date-picker-dropdown-mb: 4px;
|
85
86
|
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
93
|
}
|
87
94
|
* {
|
88
95
|
box-sizing: border-box;
|
@@ -117,9 +124,8 @@
|
|
117
124
|
}
|
118
125
|
.bk-process .bk-process-icon-done {
|
119
126
|
display: inline-block;
|
120
|
-
|
121
|
-
|
122
|
-
line-height: 20px;
|
127
|
+
font-size: 22px;
|
128
|
+
line-height: 18px;
|
123
129
|
}
|
124
130
|
.bk-process .bk-icon.icon-loading {
|
125
131
|
display: inline-block;
|