bkui-vue 2.0.1-beta.111 → 2.0.1-beta.112
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.cjs.js +54 -54
- package/dist/index.esm.js +23106 -23099
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +17 -17
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +8 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +11 -10
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +121 -156
- package/lib/button/index.js +19 -20
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +5 -5
- package/lib/cascader/index.d.ts +395 -356
- package/lib/cascader/index.js +74 -805
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +28 -27
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +50 -294
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +28 -26
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +382 -352
- package/lib/date-picker/index.js +154 -150
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +29 -29
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +24 -22
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +21 -22
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +27 -26
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +232 -233
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +46 -48
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +2 -2
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +32 -33
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +26 -25
- package/lib/message/index.js +24 -25
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +19 -19
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +20 -21
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +11 -10
- package/lib/pagination/index.d.ts +185 -199
- package/lib/pagination/index.js +49 -56
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +4 -3777
- package/lib/pop-confirm/index.d.ts +119 -157
- package/lib/pop-confirm/index.js +5 -4
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +221 -123
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +226 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +22 -21
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +46 -48
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +274 -274
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1380 -1221
- package/lib/select/index.js +336 -334
- package/lib/select/select.d.ts +134 -171
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +54 -56
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +227 -228
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +226 -225
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +230 -231
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +20 -19
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +459 -364
- package/lib/table/index.js +336 -348
- package/lib/table/table.d.ts +3 -3
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +7 -731
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +750 -533
- package/lib/tag-input/index.js +151 -151
- package/lib/tag-input/tag-input.d.ts +9 -9
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +192 -207
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +71 -74
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +261 -264
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/steps/index.js
CHANGED
@@ -14,304 +14,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
14
14
|
function _regeneratorRuntime() {
|
15
15
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
16
16
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
17
|
-
return
|
17
|
+
return e;
|
18
18
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
19
|
-
var
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
var t,
|
20
|
+
e = {},
|
21
|
+
r = Object.prototype,
|
22
|
+
n = r.hasOwnProperty,
|
23
|
+
o = Object.defineProperty || function (t, e, r) {
|
24
|
+
t[e] = r.value;
|
24
25
|
},
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
function define(
|
30
|
-
return Object.defineProperty(
|
31
|
-
value:
|
26
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
27
|
+
a = i.iterator || "@@iterator",
|
28
|
+
c = i.asyncIterator || "@@asyncIterator",
|
29
|
+
u = i.toStringTag || "@@toStringTag";
|
30
|
+
function define(t, e, r) {
|
31
|
+
return Object.defineProperty(t, e, {
|
32
|
+
value: r,
|
32
33
|
enumerable: !0,
|
33
34
|
configurable: !0,
|
34
35
|
writable: !0
|
35
|
-
}),
|
36
|
+
}), t[e];
|
36
37
|
}
|
37
38
|
try {
|
38
39
|
define({}, "");
|
39
|
-
} catch (
|
40
|
-
define = function define(
|
41
|
-
return
|
40
|
+
} catch (t) {
|
41
|
+
define = function define(t, e, r) {
|
42
|
+
return t[e] = r;
|
42
43
|
};
|
43
44
|
}
|
44
|
-
function wrap(
|
45
|
-
var
|
46
|
-
|
47
|
-
|
48
|
-
return
|
49
|
-
value: makeInvokeMethod(
|
50
|
-
}),
|
45
|
+
function wrap(t, e, r, n) {
|
46
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
47
|
+
a = Object.create(i.prototype),
|
48
|
+
c = new Context(n || []);
|
49
|
+
return o(a, "_invoke", {
|
50
|
+
value: makeInvokeMethod(t, r, c)
|
51
|
+
}), a;
|
51
52
|
}
|
52
|
-
function tryCatch(
|
53
|
+
function tryCatch(t, e, r) {
|
53
54
|
try {
|
54
55
|
return {
|
55
56
|
type: "normal",
|
56
|
-
arg:
|
57
|
+
arg: t.call(e, r)
|
57
58
|
};
|
58
|
-
} catch (
|
59
|
+
} catch (t) {
|
59
60
|
return {
|
60
61
|
type: "throw",
|
61
|
-
arg:
|
62
|
+
arg: t
|
62
63
|
};
|
63
64
|
}
|
64
65
|
}
|
65
|
-
|
66
|
-
var
|
66
|
+
e.wrap = wrap;
|
67
|
+
var h = "suspendedStart",
|
68
|
+
l = "suspendedYield",
|
69
|
+
f = "executing",
|
70
|
+
s = "completed",
|
71
|
+
y = {};
|
67
72
|
function Generator() {}
|
68
73
|
function GeneratorFunction() {}
|
69
74
|
function GeneratorFunctionPrototype() {}
|
70
|
-
var
|
71
|
-
define(
|
75
|
+
var p = {};
|
76
|
+
define(p, a, function () {
|
72
77
|
return this;
|
73
78
|
});
|
74
|
-
var
|
75
|
-
|
76
|
-
|
77
|
-
var
|
78
|
-
function defineIteratorMethods(
|
79
|
-
["next", "throw", "return"].forEach(function (
|
80
|
-
define(
|
81
|
-
return this._invoke(
|
79
|
+
var d = Object.getPrototypeOf,
|
80
|
+
v = d && d(d(values([])));
|
81
|
+
v && v !== r && n.call(v, a) && (p = v);
|
82
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
83
|
+
function defineIteratorMethods(t) {
|
84
|
+
["next", "throw", "return"].forEach(function (e) {
|
85
|
+
define(t, e, function (t) {
|
86
|
+
return this._invoke(e, t);
|
82
87
|
});
|
83
88
|
});
|
84
89
|
}
|
85
|
-
function AsyncIterator(
|
86
|
-
function invoke(
|
87
|
-
var
|
88
|
-
if ("throw" !==
|
89
|
-
var
|
90
|
-
|
91
|
-
return
|
92
|
-
invoke("next",
|
93
|
-
}, function (
|
94
|
-
invoke("throw",
|
95
|
-
}) :
|
96
|
-
|
97
|
-
}, function (
|
98
|
-
return invoke("throw",
|
90
|
+
function AsyncIterator(t, e) {
|
91
|
+
function invoke(r, o, i, a) {
|
92
|
+
var c = tryCatch(t[r], t, o);
|
93
|
+
if ("throw" !== c.type) {
|
94
|
+
var u = c.arg,
|
95
|
+
h = u.value;
|
96
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
97
|
+
invoke("next", t, i, a);
|
98
|
+
}, function (t) {
|
99
|
+
invoke("throw", t, i, a);
|
100
|
+
}) : e.resolve(h).then(function (t) {
|
101
|
+
u.value = t, i(u);
|
102
|
+
}, function (t) {
|
103
|
+
return invoke("throw", t, i, a);
|
99
104
|
});
|
100
105
|
}
|
101
|
-
|
106
|
+
a(c.arg);
|
102
107
|
}
|
103
|
-
var
|
104
|
-
|
105
|
-
value: function value(
|
108
|
+
var r;
|
109
|
+
o(this, "_invoke", {
|
110
|
+
value: function value(t, n) {
|
106
111
|
function callInvokeWithMethodAndArg() {
|
107
|
-
return new
|
108
|
-
invoke(
|
112
|
+
return new e(function (e, r) {
|
113
|
+
invoke(t, n, e, r);
|
109
114
|
});
|
110
115
|
}
|
111
|
-
return
|
116
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
112
117
|
}
|
113
118
|
});
|
114
119
|
}
|
115
|
-
function makeInvokeMethod(
|
116
|
-
var
|
117
|
-
return function (
|
118
|
-
if (
|
119
|
-
if (
|
120
|
-
if ("throw" ===
|
121
|
-
return
|
120
|
+
function makeInvokeMethod(e, r, n) {
|
121
|
+
var o = h;
|
122
|
+
return function (i, a) {
|
123
|
+
if (o === f) throw new Error("Generator is already running");
|
124
|
+
if (o === s) {
|
125
|
+
if ("throw" === i) throw a;
|
126
|
+
return {
|
127
|
+
value: t,
|
128
|
+
done: !0
|
129
|
+
};
|
122
130
|
}
|
123
|
-
for (
|
124
|
-
var
|
125
|
-
if (
|
126
|
-
var
|
127
|
-
if (
|
128
|
-
if (
|
129
|
-
return
|
131
|
+
for (n.method = i, n.arg = a;;) {
|
132
|
+
var c = n.delegate;
|
133
|
+
if (c) {
|
134
|
+
var u = maybeInvokeDelegate(c, n);
|
135
|
+
if (u) {
|
136
|
+
if (u === y) continue;
|
137
|
+
return u;
|
130
138
|
}
|
131
139
|
}
|
132
|
-
if ("next" ===
|
133
|
-
if (
|
134
|
-
|
135
|
-
} else "return" ===
|
136
|
-
|
137
|
-
var
|
138
|
-
if ("normal" ===
|
139
|
-
if (
|
140
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
141
|
+
if (o === h) throw o = s, n.arg;
|
142
|
+
n.dispatchException(n.arg);
|
143
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
144
|
+
o = f;
|
145
|
+
var p = tryCatch(e, r, n);
|
146
|
+
if ("normal" === p.type) {
|
147
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
140
148
|
return {
|
141
|
-
value:
|
142
|
-
done:
|
149
|
+
value: p.arg,
|
150
|
+
done: n.done
|
143
151
|
};
|
144
152
|
}
|
145
|
-
"throw" ===
|
153
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
146
154
|
}
|
147
155
|
};
|
148
156
|
}
|
149
|
-
function maybeInvokeDelegate(
|
150
|
-
var
|
151
|
-
|
152
|
-
if (
|
153
|
-
var
|
154
|
-
if ("throw" ===
|
155
|
-
var
|
156
|
-
return
|
157
|
+
function maybeInvokeDelegate(e, r) {
|
158
|
+
var n = r.method,
|
159
|
+
o = e.iterator[n];
|
160
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
161
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
162
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
163
|
+
var a = i.arg;
|
164
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
157
165
|
}
|
158
|
-
function pushTryEntry(
|
159
|
-
var
|
160
|
-
tryLoc:
|
166
|
+
function pushTryEntry(t) {
|
167
|
+
var e = {
|
168
|
+
tryLoc: t[0]
|
161
169
|
};
|
162
|
-
1 in
|
170
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
163
171
|
}
|
164
|
-
function resetTryEntry(
|
165
|
-
var
|
166
|
-
|
172
|
+
function resetTryEntry(t) {
|
173
|
+
var e = t.completion || {};
|
174
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
167
175
|
}
|
168
|
-
function Context(
|
176
|
+
function Context(t) {
|
169
177
|
this.tryEntries = [{
|
170
178
|
tryLoc: "root"
|
171
|
-
}],
|
179
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
172
180
|
}
|
173
|
-
function values(
|
174
|
-
if (
|
175
|
-
var
|
176
|
-
if (
|
177
|
-
if ("function" == typeof
|
178
|
-
if (!isNaN(
|
179
|
-
var
|
180
|
-
|
181
|
-
for (; ++
|
182
|
-
return next.value =
|
181
|
+
function values(e) {
|
182
|
+
if (e || "" === e) {
|
183
|
+
var r = e[a];
|
184
|
+
if (r) return r.call(e);
|
185
|
+
if ("function" == typeof e.next) return e;
|
186
|
+
if (!isNaN(e.length)) {
|
187
|
+
var o = -1,
|
188
|
+
i = function next() {
|
189
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
190
|
+
return next.value = t, next.done = !0, next;
|
183
191
|
};
|
184
|
-
return
|
192
|
+
return i.next = i;
|
185
193
|
}
|
186
194
|
}
|
187
|
-
|
188
|
-
next: doneResult
|
189
|
-
};
|
190
|
-
}
|
191
|
-
function doneResult() {
|
192
|
-
return {
|
193
|
-
value: undefined,
|
194
|
-
done: !0
|
195
|
-
};
|
195
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
196
196
|
}
|
197
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
197
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
198
198
|
value: GeneratorFunctionPrototype,
|
199
199
|
configurable: !0
|
200
|
-
}),
|
200
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
201
201
|
value: GeneratorFunction,
|
202
202
|
configurable: !0
|
203
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
204
|
-
var
|
205
|
-
return !!
|
206
|
-
},
|
207
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
208
|
-
},
|
203
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
204
|
+
var e = "function" == typeof t && t.constructor;
|
205
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
206
|
+
}, e.mark = function (t) {
|
207
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
208
|
+
}, e.awrap = function (t) {
|
209
209
|
return {
|
210
|
-
__await:
|
210
|
+
__await: t
|
211
211
|
};
|
212
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
212
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
213
213
|
return this;
|
214
|
-
}),
|
215
|
-
void 0 ===
|
216
|
-
var
|
217
|
-
return
|
218
|
-
return
|
214
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
215
|
+
void 0 === i && (i = Promise);
|
216
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
217
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
218
|
+
return t.done ? t.value : a.next();
|
219
219
|
});
|
220
|
-
}, defineIteratorMethods(
|
220
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
221
221
|
return this;
|
222
|
-
}), define(
|
222
|
+
}), define(g, "toString", function () {
|
223
223
|
return "[object Generator]";
|
224
|
-
}),
|
225
|
-
var
|
226
|
-
|
227
|
-
for (var
|
228
|
-
return
|
229
|
-
for (;
|
230
|
-
var
|
231
|
-
if (
|
224
|
+
}), e.keys = function (t) {
|
225
|
+
var e = Object(t),
|
226
|
+
r = [];
|
227
|
+
for (var n in e) r.push(n);
|
228
|
+
return r.reverse(), function next() {
|
229
|
+
for (; r.length;) {
|
230
|
+
var t = r.pop();
|
231
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
232
232
|
}
|
233
233
|
return next.done = !0, next;
|
234
234
|
};
|
235
|
-
},
|
235
|
+
}, e.values = values, Context.prototype = {
|
236
236
|
constructor: Context,
|
237
|
-
reset: function reset(
|
238
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
237
|
+
reset: function reset(e) {
|
238
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
239
239
|
},
|
240
240
|
stop: function stop() {
|
241
241
|
this.done = !0;
|
242
|
-
var
|
243
|
-
if ("throw" ===
|
242
|
+
var t = this.tryEntries[0].completion;
|
243
|
+
if ("throw" === t.type) throw t.arg;
|
244
244
|
return this.rval;
|
245
245
|
},
|
246
|
-
dispatchException: function dispatchException(
|
247
|
-
if (this.done) throw
|
248
|
-
var
|
249
|
-
function handle(
|
250
|
-
return
|
246
|
+
dispatchException: function dispatchException(e) {
|
247
|
+
if (this.done) throw e;
|
248
|
+
var r = this;
|
249
|
+
function handle(n, o) {
|
250
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
251
251
|
}
|
252
|
-
for (var
|
253
|
-
var
|
254
|
-
|
255
|
-
if ("root" ===
|
256
|
-
if (
|
257
|
-
var
|
258
|
-
|
259
|
-
if (
|
260
|
-
if (this.prev <
|
261
|
-
if (this.prev <
|
262
|
-
} else if (
|
263
|
-
if (this.prev <
|
252
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
253
|
+
var i = this.tryEntries[o],
|
254
|
+
a = i.completion;
|
255
|
+
if ("root" === i.tryLoc) return handle("end");
|
256
|
+
if (i.tryLoc <= this.prev) {
|
257
|
+
var c = n.call(i, "catchLoc"),
|
258
|
+
u = n.call(i, "finallyLoc");
|
259
|
+
if (c && u) {
|
260
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
261
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
262
|
+
} else if (c) {
|
263
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
264
|
} else {
|
265
|
-
if (!
|
266
|
-
if (this.prev <
|
265
|
+
if (!u) throw new Error("try statement without catch or finally");
|
266
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
267
|
}
|
268
268
|
}
|
269
269
|
}
|
270
270
|
},
|
271
|
-
abrupt: function abrupt(
|
272
|
-
for (var
|
273
|
-
var
|
274
|
-
if (
|
275
|
-
var
|
271
|
+
abrupt: function abrupt(t, e) {
|
272
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
273
|
+
var o = this.tryEntries[r];
|
274
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
275
|
+
var i = o;
|
276
276
|
break;
|
277
277
|
}
|
278
278
|
}
|
279
|
-
|
280
|
-
var
|
281
|
-
return
|
279
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
280
|
+
var a = i ? i.completion : {};
|
281
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
282
282
|
},
|
283
|
-
complete: function complete(
|
284
|
-
if ("throw" ===
|
285
|
-
return "break" ===
|
283
|
+
complete: function complete(t, e) {
|
284
|
+
if ("throw" === t.type) throw t.arg;
|
285
|
+
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;
|
286
286
|
},
|
287
|
-
finish: function finish(
|
288
|
-
for (var
|
289
|
-
var
|
290
|
-
if (
|
287
|
+
finish: function finish(t) {
|
288
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
289
|
+
var r = this.tryEntries[e];
|
290
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
291
291
|
}
|
292
292
|
},
|
293
|
-
"catch": function _catch(
|
294
|
-
for (var
|
295
|
-
var
|
296
|
-
if (
|
297
|
-
var
|
298
|
-
if ("throw" ===
|
299
|
-
var
|
300
|
-
resetTryEntry(
|
293
|
+
"catch": function _catch(t) {
|
294
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
295
|
+
var r = this.tryEntries[e];
|
296
|
+
if (r.tryLoc === t) {
|
297
|
+
var n = r.completion;
|
298
|
+
if ("throw" === n.type) {
|
299
|
+
var o = n.arg;
|
300
|
+
resetTryEntry(r);
|
301
301
|
}
|
302
|
-
return
|
302
|
+
return o;
|
303
303
|
}
|
304
304
|
}
|
305
305
|
throw new Error("illegal catch attempt");
|
306
306
|
},
|
307
|
-
delegateYield: function delegateYield(
|
307
|
+
delegateYield: function delegateYield(e, r, n) {
|
308
308
|
return this.delegate = {
|
309
|
-
iterator: values(
|
310
|
-
resultName:
|
311
|
-
nextLoc:
|
312
|
-
}, "next" === this.method && (this.arg =
|
309
|
+
iterator: values(e),
|
310
|
+
resultName: r,
|
311
|
+
nextLoc: n
|
312
|
+
}, "next" === this.method && (this.arg = t), y;
|
313
313
|
}
|
314
|
-
},
|
314
|
+
}, e;
|
315
315
|
}
|
316
316
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
317
317
|
|
@@ -320,14 +320,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
320
320
|
/***/ 7425:
|
321
321
|
/***/ ((module) => {
|
322
322
|
|
323
|
-
function _typeof(
|
323
|
+
function _typeof(o) {
|
324
324
|
"@babel/helpers - typeof";
|
325
325
|
|
326
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
327
|
-
return typeof
|
328
|
-
} : function (
|
329
|
-
return
|
330
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
326
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
327
|
+
return typeof o;
|
328
|
+
} : function (o) {
|
329
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
330
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
331
331
|
}
|
332
332
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
333
333
|
|
@@ -426,38 +426,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
426
426
|
var y = x => () => x
|
427
427
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.ThemeEnum, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["directionType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.directionType, ["lineStyleType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.lineStyleType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
428
428
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
429
|
-
function _typeof(
|
429
|
+
function _typeof(o) {
|
430
430
|
"@babel/helpers - typeof";
|
431
431
|
|
432
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
433
|
-
return typeof
|
434
|
-
} : function (
|
435
|
-
return
|
436
|
-
}, _typeof(
|
432
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
433
|
+
return typeof o;
|
434
|
+
} : function (o) {
|
435
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
436
|
+
}, _typeof(o);
|
437
437
|
}
|
438
438
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
439
439
|
|
440
|
-
function
|
441
|
-
if (
|
442
|
-
var
|
443
|
-
if (
|
444
|
-
var
|
445
|
-
if (
|
440
|
+
function toPrimitive(t, r) {
|
441
|
+
if ("object" != _typeof(t) || !t) return t;
|
442
|
+
var e = t[Symbol.toPrimitive];
|
443
|
+
if (void 0 !== e) {
|
444
|
+
var i = e.call(t, r || "default");
|
445
|
+
if ("object" != _typeof(i)) return i;
|
446
446
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
447
447
|
}
|
448
|
-
return (
|
448
|
+
return ("string" === r ? String : Number)(t);
|
449
449
|
}
|
450
450
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
451
451
|
|
452
452
|
|
453
|
-
function
|
454
|
-
var
|
455
|
-
return _typeof(
|
453
|
+
function toPropertyKey(t) {
|
454
|
+
var i = toPrimitive(t, "string");
|
455
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
456
456
|
}
|
457
457
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
458
458
|
|
459
459
|
function _defineProperty(obj, key, value) {
|
460
|
-
key =
|
460
|
+
key = toPropertyKey(key);
|
461
461
|
if (key in obj) {
|
462
462
|
Object.defineProperty(obj, key, {
|
463
463
|
value: value,
|
@@ -630,7 +630,7 @@ var stepsProps = {
|
|
630
630
|
// init();
|
631
631
|
// }, { deep: true });
|
632
632
|
var jumpTo = /*#__PURE__*/function () {
|
633
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(index) {
|
633
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(index) {
|
634
634
|
return regenerator_default().wrap(function _callee2$(_context2) {
|
635
635
|
while (1) switch (_context2.prev = _context2.next) {
|
636
636
|
case 0:
|
@@ -644,8 +644,8 @@ var stepsProps = {
|
|
644
644
|
break;
|
645
645
|
}
|
646
646
|
_context2.next = 5;
|
647
|
-
return new Promise(/*#__PURE__*/function () {
|
648
|
-
var _ref3 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
|
647
|
+
return new Promise( /*#__PURE__*/function () {
|
648
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
|
649
649
|
var confirmed;
|
650
650
|
return regenerator_default().wrap(function _callee$(_context) {
|
651
651
|
while (1) switch (_context.prev = _context.next) {
|
@@ -709,12 +709,11 @@ var stepsProps = {
|
|
709
709
|
};
|
710
710
|
},
|
711
711
|
render: function render() {
|
712
|
-
var
|
713
|
-
_this = this;
|
712
|
+
var _this = this;
|
714
713
|
var stepsClsPrefix = this.resolveClassName('steps');
|
715
714
|
var stepsThemeCls = this.theme ? "".concat(stepsClsPrefix, "-").concat(this.theme) : '';
|
716
715
|
var stepsSizeCls = this.size ? "".concat(stepsClsPrefix, "-").concat(this.size) : '';
|
717
|
-
var stepsCls = (0,shared_namespaceObject.classes)((
|
716
|
+
var stepsCls = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.extCls), !!this.extCls), "".concat(this.resolveClassName("steps-".concat(this.direction))), this.direction), "".concat(this.resolveClassName("steps-".concat(this.lineType))), this.lineType), "".concat(stepsThemeCls, " ").concat(stepsClsPrefix, " ").concat(stepsSizeCls));
|
718
717
|
var isDone = function isDone(index) {
|
719
718
|
return _this.curStep > index + 1 || _this.defaultSteps[index].status === 'done';
|
720
719
|
};
|