bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114
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 +13950 -13941
- 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 +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- 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 +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- 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 +380 -351
- package/lib/date-picker/index.js +171 -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 +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.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 +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- 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 +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +311 -302
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- 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 +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- 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 +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/steps/index.js
CHANGED
@@ -7,352 +7,352 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ fr
|
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
8
8
|
/******/ var __webpack_modules__ = ({
|
9
9
|
|
10
|
-
/***/
|
10
|
+
/***/ 4319:
|
11
|
+
/***/ ((module) => {
|
12
|
+
|
13
|
+
function _typeof(o) {
|
14
|
+
"@babel/helpers - typeof";
|
15
|
+
|
16
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
17
|
+
return typeof o;
|
18
|
+
} : function (o) {
|
19
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
20
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
21
|
+
}
|
22
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
23
|
+
|
24
|
+
/***/ }),
|
25
|
+
|
26
|
+
/***/ 5799:
|
11
27
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
12
28
|
|
13
|
-
|
29
|
+
// TODO(Babel 8): Remove this file.
|
30
|
+
|
31
|
+
var runtime = __webpack_require__(7048)();
|
32
|
+
module.exports = runtime;
|
33
|
+
|
34
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
35
|
+
try {
|
36
|
+
regeneratorRuntime = runtime;
|
37
|
+
} catch (accidentalStrictMode) {
|
38
|
+
if (typeof globalThis === "object") {
|
39
|
+
globalThis.regeneratorRuntime = runtime;
|
40
|
+
} else {
|
41
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
/***/ }),
|
47
|
+
|
48
|
+
/***/ 7048:
|
49
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
50
|
+
|
51
|
+
var _typeof = (__webpack_require__(4319)["default"]);
|
14
52
|
function _regeneratorRuntime() {
|
15
53
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
16
54
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
17
|
-
return
|
55
|
+
return e;
|
18
56
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
19
|
-
var
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
57
|
+
var t,
|
58
|
+
e = {},
|
59
|
+
r = Object.prototype,
|
60
|
+
n = r.hasOwnProperty,
|
61
|
+
o = Object.defineProperty || function (t, e, r) {
|
62
|
+
t[e] = r.value;
|
24
63
|
},
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
function define(
|
30
|
-
return Object.defineProperty(
|
31
|
-
value:
|
64
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
65
|
+
a = i.iterator || "@@iterator",
|
66
|
+
c = i.asyncIterator || "@@asyncIterator",
|
67
|
+
u = i.toStringTag || "@@toStringTag";
|
68
|
+
function define(t, e, r) {
|
69
|
+
return Object.defineProperty(t, e, {
|
70
|
+
value: r,
|
32
71
|
enumerable: !0,
|
33
72
|
configurable: !0,
|
34
73
|
writable: !0
|
35
|
-
}),
|
74
|
+
}), t[e];
|
36
75
|
}
|
37
76
|
try {
|
38
77
|
define({}, "");
|
39
|
-
} catch (
|
40
|
-
define = function define(
|
41
|
-
return
|
78
|
+
} catch (t) {
|
79
|
+
define = function define(t, e, r) {
|
80
|
+
return t[e] = r;
|
42
81
|
};
|
43
82
|
}
|
44
|
-
function wrap(
|
45
|
-
var
|
46
|
-
|
47
|
-
|
48
|
-
return
|
49
|
-
value: makeInvokeMethod(
|
50
|
-
}),
|
83
|
+
function wrap(t, e, r, n) {
|
84
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
85
|
+
a = Object.create(i.prototype),
|
86
|
+
c = new Context(n || []);
|
87
|
+
return o(a, "_invoke", {
|
88
|
+
value: makeInvokeMethod(t, r, c)
|
89
|
+
}), a;
|
51
90
|
}
|
52
|
-
function tryCatch(
|
91
|
+
function tryCatch(t, e, r) {
|
53
92
|
try {
|
54
93
|
return {
|
55
94
|
type: "normal",
|
56
|
-
arg:
|
95
|
+
arg: t.call(e, r)
|
57
96
|
};
|
58
|
-
} catch (
|
97
|
+
} catch (t) {
|
59
98
|
return {
|
60
99
|
type: "throw",
|
61
|
-
arg:
|
100
|
+
arg: t
|
62
101
|
};
|
63
102
|
}
|
64
103
|
}
|
65
|
-
|
66
|
-
var
|
104
|
+
e.wrap = wrap;
|
105
|
+
var h = "suspendedStart",
|
106
|
+
l = "suspendedYield",
|
107
|
+
f = "executing",
|
108
|
+
s = "completed",
|
109
|
+
y = {};
|
67
110
|
function Generator() {}
|
68
111
|
function GeneratorFunction() {}
|
69
112
|
function GeneratorFunctionPrototype() {}
|
70
|
-
var
|
71
|
-
define(
|
113
|
+
var p = {};
|
114
|
+
define(p, a, function () {
|
72
115
|
return this;
|
73
116
|
});
|
74
|
-
var
|
75
|
-
|
76
|
-
|
77
|
-
var
|
78
|
-
function defineIteratorMethods(
|
79
|
-
["next", "throw", "return"].forEach(function (
|
80
|
-
define(
|
81
|
-
return this._invoke(
|
117
|
+
var d = Object.getPrototypeOf,
|
118
|
+
v = d && d(d(values([])));
|
119
|
+
v && v !== r && n.call(v, a) && (p = v);
|
120
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
121
|
+
function defineIteratorMethods(t) {
|
122
|
+
["next", "throw", "return"].forEach(function (e) {
|
123
|
+
define(t, e, function (t) {
|
124
|
+
return this._invoke(e, t);
|
82
125
|
});
|
83
126
|
});
|
84
127
|
}
|
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",
|
128
|
+
function AsyncIterator(t, e) {
|
129
|
+
function invoke(r, o, i, a) {
|
130
|
+
var c = tryCatch(t[r], t, o);
|
131
|
+
if ("throw" !== c.type) {
|
132
|
+
var u = c.arg,
|
133
|
+
h = u.value;
|
134
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
135
|
+
invoke("next", t, i, a);
|
136
|
+
}, function (t) {
|
137
|
+
invoke("throw", t, i, a);
|
138
|
+
}) : e.resolve(h).then(function (t) {
|
139
|
+
u.value = t, i(u);
|
140
|
+
}, function (t) {
|
141
|
+
return invoke("throw", t, i, a);
|
99
142
|
});
|
100
143
|
}
|
101
|
-
|
144
|
+
a(c.arg);
|
102
145
|
}
|
103
|
-
var
|
104
|
-
|
105
|
-
value: function value(
|
146
|
+
var r;
|
147
|
+
o(this, "_invoke", {
|
148
|
+
value: function value(t, n) {
|
106
149
|
function callInvokeWithMethodAndArg() {
|
107
|
-
return new
|
108
|
-
invoke(
|
150
|
+
return new e(function (e, r) {
|
151
|
+
invoke(t, n, e, r);
|
109
152
|
});
|
110
153
|
}
|
111
|
-
return
|
154
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
112
155
|
}
|
113
156
|
});
|
114
157
|
}
|
115
|
-
function makeInvokeMethod(
|
116
|
-
var
|
117
|
-
return function (
|
118
|
-
if (
|
119
|
-
if (
|
120
|
-
if ("throw" ===
|
121
|
-
return
|
158
|
+
function makeInvokeMethod(e, r, n) {
|
159
|
+
var o = h;
|
160
|
+
return function (i, a) {
|
161
|
+
if (o === f) throw new Error("Generator is already running");
|
162
|
+
if (o === s) {
|
163
|
+
if ("throw" === i) throw a;
|
164
|
+
return {
|
165
|
+
value: t,
|
166
|
+
done: !0
|
167
|
+
};
|
122
168
|
}
|
123
|
-
for (
|
124
|
-
var
|
125
|
-
if (
|
126
|
-
var
|
127
|
-
if (
|
128
|
-
if (
|
129
|
-
return
|
169
|
+
for (n.method = i, n.arg = a;;) {
|
170
|
+
var c = n.delegate;
|
171
|
+
if (c) {
|
172
|
+
var u = maybeInvokeDelegate(c, n);
|
173
|
+
if (u) {
|
174
|
+
if (u === y) continue;
|
175
|
+
return u;
|
130
176
|
}
|
131
177
|
}
|
132
|
-
if ("next" ===
|
133
|
-
if (
|
134
|
-
|
135
|
-
} else "return" ===
|
136
|
-
|
137
|
-
var
|
138
|
-
if ("normal" ===
|
139
|
-
if (
|
178
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
179
|
+
if (o === h) throw o = s, n.arg;
|
180
|
+
n.dispatchException(n.arg);
|
181
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
182
|
+
o = f;
|
183
|
+
var p = tryCatch(e, r, n);
|
184
|
+
if ("normal" === p.type) {
|
185
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
140
186
|
return {
|
141
|
-
value:
|
142
|
-
done:
|
187
|
+
value: p.arg,
|
188
|
+
done: n.done
|
143
189
|
};
|
144
190
|
}
|
145
|
-
"throw" ===
|
191
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
146
192
|
}
|
147
193
|
};
|
148
194
|
}
|
149
|
-
function maybeInvokeDelegate(
|
150
|
-
var
|
151
|
-
|
152
|
-
if (
|
153
|
-
var
|
154
|
-
if ("throw" ===
|
155
|
-
var
|
156
|
-
return
|
195
|
+
function maybeInvokeDelegate(e, r) {
|
196
|
+
var n = r.method,
|
197
|
+
o = e.iterator[n];
|
198
|
+
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;
|
199
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
200
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
201
|
+
var a = i.arg;
|
202
|
+
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
203
|
}
|
158
|
-
function pushTryEntry(
|
159
|
-
var
|
160
|
-
tryLoc:
|
204
|
+
function pushTryEntry(t) {
|
205
|
+
var e = {
|
206
|
+
tryLoc: t[0]
|
161
207
|
};
|
162
|
-
1 in
|
208
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
163
209
|
}
|
164
|
-
function resetTryEntry(
|
165
|
-
var
|
166
|
-
|
210
|
+
function resetTryEntry(t) {
|
211
|
+
var e = t.completion || {};
|
212
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
167
213
|
}
|
168
|
-
function Context(
|
214
|
+
function Context(t) {
|
169
215
|
this.tryEntries = [{
|
170
216
|
tryLoc: "root"
|
171
|
-
}],
|
217
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
172
218
|
}
|
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 =
|
219
|
+
function values(e) {
|
220
|
+
if (e || "" === e) {
|
221
|
+
var r = e[a];
|
222
|
+
if (r) return r.call(e);
|
223
|
+
if ("function" == typeof e.next) return e;
|
224
|
+
if (!isNaN(e.length)) {
|
225
|
+
var o = -1,
|
226
|
+
i = function next() {
|
227
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
228
|
+
return next.value = t, next.done = !0, next;
|
183
229
|
};
|
184
|
-
return
|
230
|
+
return i.next = i;
|
185
231
|
}
|
186
232
|
}
|
187
|
-
|
188
|
-
next: doneResult
|
189
|
-
};
|
233
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
190
234
|
}
|
191
|
-
|
192
|
-
return {
|
193
|
-
value: undefined,
|
194
|
-
done: !0
|
195
|
-
};
|
196
|
-
}
|
197
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
235
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
198
236
|
value: GeneratorFunctionPrototype,
|
199
237
|
configurable: !0
|
200
|
-
}),
|
238
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
201
239
|
value: GeneratorFunction,
|
202
240
|
configurable: !0
|
203
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
204
|
-
var
|
205
|
-
return !!
|
206
|
-
},
|
207
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
208
|
-
},
|
241
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
242
|
+
var e = "function" == typeof t && t.constructor;
|
243
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
244
|
+
}, e.mark = function (t) {
|
245
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
246
|
+
}, e.awrap = function (t) {
|
209
247
|
return {
|
210
|
-
__await:
|
248
|
+
__await: t
|
211
249
|
};
|
212
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
250
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
213
251
|
return this;
|
214
|
-
}),
|
215
|
-
void 0 ===
|
216
|
-
var
|
217
|
-
return
|
218
|
-
return
|
252
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
253
|
+
void 0 === i && (i = Promise);
|
254
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
255
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
256
|
+
return t.done ? t.value : a.next();
|
219
257
|
});
|
220
|
-
}, defineIteratorMethods(
|
258
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
221
259
|
return this;
|
222
|
-
}), define(
|
260
|
+
}), define(g, "toString", function () {
|
223
261
|
return "[object Generator]";
|
224
|
-
}),
|
225
|
-
var
|
226
|
-
|
227
|
-
for (var
|
228
|
-
return
|
229
|
-
for (;
|
230
|
-
var
|
231
|
-
if (
|
262
|
+
}), e.keys = function (t) {
|
263
|
+
var e = Object(t),
|
264
|
+
r = [];
|
265
|
+
for (var n in e) r.push(n);
|
266
|
+
return r.reverse(), function next() {
|
267
|
+
for (; r.length;) {
|
268
|
+
var t = r.pop();
|
269
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
232
270
|
}
|
233
271
|
return next.done = !0, next;
|
234
272
|
};
|
235
|
-
},
|
273
|
+
}, e.values = values, Context.prototype = {
|
236
274
|
constructor: Context,
|
237
|
-
reset: function reset(
|
238
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
275
|
+
reset: function reset(e) {
|
276
|
+
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
277
|
},
|
240
278
|
stop: function stop() {
|
241
279
|
this.done = !0;
|
242
|
-
var
|
243
|
-
if ("throw" ===
|
280
|
+
var t = this.tryEntries[0].completion;
|
281
|
+
if ("throw" === t.type) throw t.arg;
|
244
282
|
return this.rval;
|
245
283
|
},
|
246
|
-
dispatchException: function dispatchException(
|
247
|
-
if (this.done) throw
|
248
|
-
var
|
249
|
-
function handle(
|
250
|
-
return
|
284
|
+
dispatchException: function dispatchException(e) {
|
285
|
+
if (this.done) throw e;
|
286
|
+
var r = this;
|
287
|
+
function handle(n, o) {
|
288
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
251
289
|
}
|
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 <
|
290
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
291
|
+
var i = this.tryEntries[o],
|
292
|
+
a = i.completion;
|
293
|
+
if ("root" === i.tryLoc) return handle("end");
|
294
|
+
if (i.tryLoc <= this.prev) {
|
295
|
+
var c = n.call(i, "catchLoc"),
|
296
|
+
u = n.call(i, "finallyLoc");
|
297
|
+
if (c && u) {
|
298
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
299
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
300
|
+
} else if (c) {
|
301
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
302
|
} else {
|
265
|
-
if (!
|
266
|
-
if (this.prev <
|
303
|
+
if (!u) throw new Error("try statement without catch or finally");
|
304
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
305
|
}
|
268
306
|
}
|
269
307
|
}
|
270
308
|
},
|
271
|
-
abrupt: function abrupt(
|
272
|
-
for (var
|
273
|
-
var
|
274
|
-
if (
|
275
|
-
var
|
309
|
+
abrupt: function abrupt(t, e) {
|
310
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
311
|
+
var o = this.tryEntries[r];
|
312
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
313
|
+
var i = o;
|
276
314
|
break;
|
277
315
|
}
|
278
316
|
}
|
279
|
-
|
280
|
-
var
|
281
|
-
return
|
317
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
318
|
+
var a = i ? i.completion : {};
|
319
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
282
320
|
},
|
283
|
-
complete: function complete(
|
284
|
-
if ("throw" ===
|
285
|
-
return "break" ===
|
321
|
+
complete: function complete(t, e) {
|
322
|
+
if ("throw" === t.type) throw t.arg;
|
323
|
+
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
324
|
},
|
287
|
-
finish: function finish(
|
288
|
-
for (var
|
289
|
-
var
|
290
|
-
if (
|
325
|
+
finish: function finish(t) {
|
326
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
327
|
+
var r = this.tryEntries[e];
|
328
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
291
329
|
}
|
292
330
|
},
|
293
|
-
"catch": function _catch(
|
294
|
-
for (var
|
295
|
-
var
|
296
|
-
if (
|
297
|
-
var
|
298
|
-
if ("throw" ===
|
299
|
-
var
|
300
|
-
resetTryEntry(
|
331
|
+
"catch": function _catch(t) {
|
332
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
333
|
+
var r = this.tryEntries[e];
|
334
|
+
if (r.tryLoc === t) {
|
335
|
+
var n = r.completion;
|
336
|
+
if ("throw" === n.type) {
|
337
|
+
var o = n.arg;
|
338
|
+
resetTryEntry(r);
|
301
339
|
}
|
302
|
-
return
|
340
|
+
return o;
|
303
341
|
}
|
304
342
|
}
|
305
343
|
throw new Error("illegal catch attempt");
|
306
344
|
},
|
307
|
-
delegateYield: function delegateYield(
|
345
|
+
delegateYield: function delegateYield(e, r, n) {
|
308
346
|
return this.delegate = {
|
309
|
-
iterator: values(
|
310
|
-
resultName:
|
311
|
-
nextLoc:
|
312
|
-
}, "next" === this.method && (this.arg =
|
347
|
+
iterator: values(e),
|
348
|
+
resultName: r,
|
349
|
+
nextLoc: n
|
350
|
+
}, "next" === this.method && (this.arg = t), y;
|
313
351
|
}
|
314
|
-
},
|
352
|
+
}, e;
|
315
353
|
}
|
316
354
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
317
355
|
|
318
|
-
/***/ }),
|
319
|
-
|
320
|
-
/***/ 7425:
|
321
|
-
/***/ ((module) => {
|
322
|
-
|
323
|
-
function _typeof(obj) {
|
324
|
-
"@babel/helpers - typeof";
|
325
|
-
|
326
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
327
|
-
return typeof obj;
|
328
|
-
} : function (obj) {
|
329
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
330
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
331
|
-
}
|
332
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
333
|
-
|
334
|
-
/***/ }),
|
335
|
-
|
336
|
-
/***/ 2841:
|
337
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
338
|
-
|
339
|
-
// TODO(Babel 8): Remove this file.
|
340
|
-
|
341
|
-
var runtime = __webpack_require__(7609)();
|
342
|
-
module.exports = runtime;
|
343
|
-
|
344
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
345
|
-
try {
|
346
|
-
regeneratorRuntime = runtime;
|
347
|
-
} catch (accidentalStrictMode) {
|
348
|
-
if (typeof globalThis === "object") {
|
349
|
-
globalThis.regeneratorRuntime = runtime;
|
350
|
-
} else {
|
351
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
352
|
-
}
|
353
|
-
}
|
354
|
-
|
355
|
-
|
356
356
|
/***/ })
|
357
357
|
|
358
358
|
/******/ });
|
@@ -413,51 +413,51 @@ try {
|
|
413
413
|
/******/
|
414
414
|
/************************************************************************/
|
415
415
|
var __webpack_exports__ = {};
|
416
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
417
|
-
(() => {
|
418
416
|
|
419
417
|
// EXPORTS
|
420
418
|
__webpack_require__.d(__webpack_exports__, {
|
421
419
|
"default": () => (/* binding */ src)
|
422
420
|
});
|
423
421
|
|
424
|
-
;//
|
425
|
-
var x = y => {
|
426
|
-
var
|
427
|
-
|
428
|
-
|
429
|
-
|
422
|
+
;// external "../shared"
|
423
|
+
var x = (y) => {
|
424
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
425
|
+
}
|
426
|
+
var y = (x) => (() => (x))
|
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
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
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
|
-
;//
|
439
|
-
|
440
|
-
function
|
441
|
-
if (
|
442
|
-
var
|
443
|
-
if (
|
444
|
-
var
|
445
|
-
if (
|
438
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
439
|
+
|
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
|
+
;// ../../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
|
+
;// ../../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,
|
@@ -470,7 +470,7 @@ function _defineProperty(obj, key, value) {
|
|
470
470
|
}
|
471
471
|
return obj;
|
472
472
|
}
|
473
|
-
;//
|
473
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
474
474
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
475
475
|
try {
|
476
476
|
var info = gen[key](arg);
|
@@ -501,26 +501,34 @@ function _asyncToGenerator(fn) {
|
|
501
501
|
});
|
502
502
|
};
|
503
503
|
}
|
504
|
-
;//
|
505
|
-
var external_vue_x = y => {
|
506
|
-
var
|
507
|
-
|
504
|
+
;// external "vue"
|
505
|
+
var external_vue_x = (y) => {
|
506
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
507
|
+
}
|
508
|
+
var external_vue_y = (x) => (() => (x))
|
509
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch) });
|
508
510
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
509
|
-
var regenerator = __webpack_require__(
|
511
|
+
var regenerator = __webpack_require__(5799);
|
510
512
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
511
|
-
;//
|
512
|
-
var external_vue_types_x = y => {
|
513
|
-
var
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
var
|
522
|
-
const
|
523
|
-
;//
|
513
|
+
;// external "vue-types"
|
514
|
+
var external_vue_types_x = (y) => {
|
515
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
516
|
+
}
|
517
|
+
var external_vue_types_y = (x) => (() => (x))
|
518
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
519
|
+
;// external "../config-provider"
|
520
|
+
var config_provider_x = (y) => {
|
521
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
522
|
+
}
|
523
|
+
var config_provider_y = (x) => (() => (x))
|
524
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
525
|
+
;// external "../icon"
|
526
|
+
var icon_x = (y) => {
|
527
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
528
|
+
}
|
529
|
+
var icon_y = (x) => (() => (x))
|
530
|
+
const icon_namespaceObject = icon_x({ ["Circle"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Circle), ["Done"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error) });
|
531
|
+
;// ../../packages/steps/src/steps.tsx
|
524
532
|
|
525
533
|
|
526
534
|
|
@@ -630,7 +638,7 @@ var stepsProps = {
|
|
630
638
|
// init();
|
631
639
|
// }, { deep: true });
|
632
640
|
var jumpTo = /*#__PURE__*/function () {
|
633
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(index) {
|
641
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(index) {
|
634
642
|
return regenerator_default().wrap(function _callee2$(_context2) {
|
635
643
|
while (1) switch (_context2.prev = _context2.next) {
|
636
644
|
case 0:
|
@@ -644,8 +652,8 @@ var stepsProps = {
|
|
644
652
|
break;
|
645
653
|
}
|
646
654
|
_context2.next = 5;
|
647
|
-
return new Promise(/*#__PURE__*/function () {
|
648
|
-
var _ref3 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
|
655
|
+
return new Promise( /*#__PURE__*/function () {
|
656
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
|
649
657
|
var confirmed;
|
650
658
|
return regenerator_default().wrap(function _callee$(_context) {
|
651
659
|
while (1) switch (_context.prev = _context.next) {
|
@@ -709,12 +717,11 @@ var stepsProps = {
|
|
709
717
|
};
|
710
718
|
},
|
711
719
|
render: function render() {
|
712
|
-
var
|
713
|
-
_this = this;
|
720
|
+
var _this = this;
|
714
721
|
var stepsClsPrefix = this.resolveClassName('steps');
|
715
722
|
var stepsThemeCls = this.theme ? "".concat(stepsClsPrefix, "-").concat(this.theme) : '';
|
716
723
|
var stepsSizeCls = this.size ? "".concat(stepsClsPrefix, "-").concat(this.size) : '';
|
717
|
-
var stepsCls = (0,shared_namespaceObject.classes)((
|
724
|
+
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
725
|
var isDone = function isDone(index) {
|
719
726
|
return _this.curStep > index + 1 || _this.defaultSteps[index].status === 'done';
|
720
727
|
};
|
@@ -790,7 +797,7 @@ var stepsProps = {
|
|
790
797
|
})]);
|
791
798
|
}
|
792
799
|
}));
|
793
|
-
;//
|
800
|
+
;// ../../packages/steps/src/index.ts
|
794
801
|
/*
|
795
802
|
* Tencent is pleased to support the open source community by making
|
796
803
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -820,7 +827,5 @@ var stepsProps = {
|
|
820
827
|
|
821
828
|
var BkSteps = (0,shared_namespaceObject.withInstall)(steps);
|
822
829
|
/* harmony default export */ const src = (BkSteps);
|
823
|
-
})();
|
824
|
-
|
825
830
|
var __webpack_exports__default = __webpack_exports__["default"];
|
826
831
|
export { __webpack_exports__default as default };
|