bkui-vue 0.0.3-beta.6 → 1.0.1
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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10444 -10431
- package/dist/index.umd.js +47 -47
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +35 -34
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +43 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +7 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +23 -22
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +40 -39
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -47
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +60 -53
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +62 -57
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +338 -320
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +77 -78
- package/lib/code-diff/code-diff.css +0 -1
- package/lib/code-diff/code-diff.d.ts +1 -0
- package/lib/code-diff/code-diff.less +1 -1
- package/lib/code-diff/code-diff.variable.css +0 -1
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +532 -452
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +67 -66
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +10 -10
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +74 -76
- package/lib/components.js +63 -504
- package/lib/config-provider/index.d.ts +159 -226
- package/lib/config-provider/index.js +49 -45
- package/lib/config-provider/use-global-config.d.ts +2 -2
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +47 -46
- 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 +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +164 -170
- 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 +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +291 -279
- package/lib/directives/index.js +51 -51
- package/lib/dist.index.js +5 -61
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +16 -15
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +56 -49
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +37 -37
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +16 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +83 -83
- package/lib/hooks.js +8 -48
- package/lib/icon/angle-double-down-line.js +23 -23
- package/lib/icon/angle-double-left-line.js +23 -23
- package/lib/icon/angle-double-left.js +23 -23
- package/lib/icon/angle-double-right-line.js +23 -23
- package/lib/icon/angle-double-right.js +23 -23
- package/lib/icon/angle-double-up-line.js +23 -23
- package/lib/icon/angle-down-fill.js +23 -23
- package/lib/icon/angle-down-line.js +23 -23
- package/lib/icon/angle-down.js +23 -23
- package/lib/icon/angle-left.js +23 -23
- package/lib/icon/angle-right.js +23 -23
- package/lib/icon/angle-up-fill.js +23 -23
- package/lib/icon/angle-up.js +23 -23
- package/lib/icon/archive-fill.js +23 -23
- package/lib/icon/arrows-left.js +23 -23
- package/lib/icon/arrows-right.js +23 -23
- package/lib/icon/assistant.js +23 -23
- package/lib/icon/audio-fill.js +23 -23
- package/lib/icon/bk.js +23 -23
- package/lib/icon/circle.js +23 -23
- package/lib/icon/close-line.js +23 -23
- package/lib/icon/close.js +23 -23
- package/lib/icon/code.js +23 -23
- package/lib/icon/cog-shape.js +23 -23
- package/lib/icon/collapse-left.js +23 -23
- package/lib/icon/copy-shape.js +23 -23
- package/lib/icon/copy.js +23 -23
- package/lib/icon/data-shape.js +23 -23
- package/lib/icon/del.js +23 -23
- package/lib/icon/doc-fill.js +23 -23
- package/lib/icon/done.js +23 -23
- package/lib/icon/down-shape.js +23 -23
- package/lib/icon/down-small.js +23 -23
- package/lib/icon/edit-line.js +23 -23
- package/lib/icon/ellipsis.js +23 -23
- package/lib/icon/enlarge-line.js +23 -23
- package/lib/icon/error.js +23 -23
- package/lib/icon/excel-fill.js +23 -23
- package/lib/icon/exclamation-circle-shape.js +23 -23
- package/lib/icon/eye.js +23 -23
- package/lib/icon/filliscreen-line.js +23 -23
- package/lib/icon/fix-line.js +23 -23
- package/lib/icon/fix-shape.js +23 -23
- package/lib/icon/folder-open.js +23 -23
- package/lib/icon/folder-shape-open.js +23 -23
- package/lib/icon/folder-shape.js +23 -23
- package/lib/icon/folder.js +23 -23
- package/lib/icon/funnel.js +23 -23
- package/lib/icon/grag-fill.js +23 -23
- package/lib/icon/help-document-fill.js +23 -23
- package/lib/icon/help-fill.js +23 -23
- package/lib/icon/help.js +23 -23
- package/lib/icon/image-fill.js +29 -29
- package/lib/icon/img-error.js +29 -29
- package/lib/icon/img-placehoulder.js +29 -29
- package/lib/icon/index.js +485 -485
- package/lib/icon/info-line.js +29 -29
- package/lib/icon/info.js +29 -29
- package/lib/icon/left-shape.js +29 -29
- package/lib/icon/left-turn-line.js +29 -29
- package/lib/icon/loading.js +29 -29
- package/lib/icon/narrow-line.js +29 -29
- package/lib/icon/original.js +29 -29
- package/lib/icon/pdf-fill.js +29 -29
- package/lib/icon/play-shape.js +29 -29
- package/lib/icon/plus.js +29 -29
- package/lib/icon/ppt-fill.js +29 -29
- package/lib/icon/qq.js +29 -29
- package/lib/icon/right-shape.js +29 -29
- package/lib/icon/right-turn-line.js +29 -29
- package/lib/icon/search.js +29 -29
- package/lib/icon/share.js +29 -29
- package/lib/icon/spinner.js +29 -29
- package/lib/icon/success.js +29 -29
- package/lib/icon/switcher-loading.js +29 -29
- package/lib/icon/text-file.js +29 -29
- package/lib/icon/text-fill.js +29 -29
- package/lib/icon/transfer.js +29 -29
- package/lib/icon/tree-application-shape.js +29 -29
- package/lib/icon/unfull-screen.js +29 -29
- package/lib/icon/unvisible.js +29 -29
- package/lib/icon/up-shape.js +29 -29
- package/lib/icon/upload.js +29 -29
- package/lib/icon/video-fill.js +29 -29
- package/lib/icon/warn.js +29 -29
- package/lib/icon/weixin-pro.js +29 -29
- package/lib/icon/weixin.js +29 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +62 -62
- package/lib/index.js +8 -72
- package/lib/info-box/index.js +296 -284
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +316 -317
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +16 -15
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +49 -50
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +2 -4
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +49 -48
- package/lib/message/index.js +69 -70
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +535 -75
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +17 -16
- package/lib/notify/index.js +56 -57
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +32 -25
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +116 -109
- package/lib/plugin-popover/index.js +247 -153
- package/lib/plugins/index.js +2 -2
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +43 -31
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +251 -156
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +5 -5
- package/lib/preset.d.ts +2 -287
- package/lib/preset.js +16 -58
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +253 -254
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +48 -47
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +80 -81
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +43 -43
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +48 -48
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +310 -293
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +427 -392
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +235 -217
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +264 -263
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +245 -233
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +257 -257
- package/lib/styles/index.d.ts +0 -1
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +35 -34
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +52 -53
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +78 -79
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +275 -237
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +61 -62
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +41 -40
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +135 -129
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/time-picker/index.js +10 -9
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +20 -20
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +52 -38
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +129 -113
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +313 -302
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +66 -65
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +10 -14
- package/lib/version-log/index.d.ts +0 -298
- package/lib/version-log/index.js +0 -9045
- package/lib/version-log/version-log.css +0 -224
- package/lib/version-log/version-log.d.ts +0 -203
- package/lib/version-log/version-log.less +0 -239
- package/lib/version-log/version-log.variable.css +0 -350
package/lib/steps/index.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
import
|
1
|
+
import "./steps.less";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
4
|
-
import * as
|
5
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
6
7
|
/******/ var __webpack_modules__ = ({
|
7
8
|
|
8
9
|
/***/ 7609:
|
@@ -12,304 +13,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
12
13
|
function _regeneratorRuntime() {
|
13
14
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
14
15
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
15
|
-
return
|
16
|
+
return e;
|
16
17
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
17
|
-
var
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
var t,
|
19
|
+
e = {},
|
20
|
+
r = Object.prototype,
|
21
|
+
n = r.hasOwnProperty,
|
22
|
+
o = Object.defineProperty || function (t, e, r) {
|
23
|
+
t[e] = r.value;
|
22
24
|
},
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
function define(
|
28
|
-
return Object.defineProperty(
|
29
|
-
value:
|
25
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
26
|
+
a = i.iterator || "@@iterator",
|
27
|
+
c = i.asyncIterator || "@@asyncIterator",
|
28
|
+
u = i.toStringTag || "@@toStringTag";
|
29
|
+
function define(t, e, r) {
|
30
|
+
return Object.defineProperty(t, e, {
|
31
|
+
value: r,
|
30
32
|
enumerable: !0,
|
31
33
|
configurable: !0,
|
32
34
|
writable: !0
|
33
|
-
}),
|
35
|
+
}), t[e];
|
34
36
|
}
|
35
37
|
try {
|
36
38
|
define({}, "");
|
37
|
-
} catch (
|
38
|
-
define = function define(
|
39
|
-
return
|
39
|
+
} catch (t) {
|
40
|
+
define = function define(t, e, r) {
|
41
|
+
return t[e] = r;
|
40
42
|
};
|
41
43
|
}
|
42
|
-
function wrap(
|
43
|
-
var
|
44
|
-
|
45
|
-
|
46
|
-
return
|
47
|
-
value: makeInvokeMethod(
|
48
|
-
}),
|
44
|
+
function wrap(t, e, r, n) {
|
45
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
46
|
+
a = Object.create(i.prototype),
|
47
|
+
c = new Context(n || []);
|
48
|
+
return o(a, "_invoke", {
|
49
|
+
value: makeInvokeMethod(t, r, c)
|
50
|
+
}), a;
|
49
51
|
}
|
50
|
-
function tryCatch(
|
52
|
+
function tryCatch(t, e, r) {
|
51
53
|
try {
|
52
54
|
return {
|
53
55
|
type: "normal",
|
54
|
-
arg:
|
56
|
+
arg: t.call(e, r)
|
55
57
|
};
|
56
|
-
} catch (
|
58
|
+
} catch (t) {
|
57
59
|
return {
|
58
60
|
type: "throw",
|
59
|
-
arg:
|
61
|
+
arg: t
|
60
62
|
};
|
61
63
|
}
|
62
64
|
}
|
63
|
-
|
64
|
-
var
|
65
|
+
e.wrap = wrap;
|
66
|
+
var h = "suspendedStart",
|
67
|
+
l = "suspendedYield",
|
68
|
+
f = "executing",
|
69
|
+
s = "completed",
|
70
|
+
y = {};
|
65
71
|
function Generator() {}
|
66
72
|
function GeneratorFunction() {}
|
67
73
|
function GeneratorFunctionPrototype() {}
|
68
|
-
var
|
69
|
-
define(
|
74
|
+
var p = {};
|
75
|
+
define(p, a, function () {
|
70
76
|
return this;
|
71
77
|
});
|
72
|
-
var
|
73
|
-
|
74
|
-
|
75
|
-
var
|
76
|
-
function defineIteratorMethods(
|
77
|
-
["next", "throw", "return"].forEach(function (
|
78
|
-
define(
|
79
|
-
return this._invoke(
|
78
|
+
var d = Object.getPrototypeOf,
|
79
|
+
v = d && d(d(values([])));
|
80
|
+
v && v !== r && n.call(v, a) && (p = v);
|
81
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
82
|
+
function defineIteratorMethods(t) {
|
83
|
+
["next", "throw", "return"].forEach(function (e) {
|
84
|
+
define(t, e, function (t) {
|
85
|
+
return this._invoke(e, t);
|
80
86
|
});
|
81
87
|
});
|
82
88
|
}
|
83
|
-
function AsyncIterator(
|
84
|
-
function invoke(
|
85
|
-
var
|
86
|
-
if ("throw" !==
|
87
|
-
var
|
88
|
-
|
89
|
-
return
|
90
|
-
invoke("next",
|
91
|
-
}, function (
|
92
|
-
invoke("throw",
|
93
|
-
}) :
|
94
|
-
|
95
|
-
}, function (
|
96
|
-
return invoke("throw",
|
89
|
+
function AsyncIterator(t, e) {
|
90
|
+
function invoke(r, o, i, a) {
|
91
|
+
var c = tryCatch(t[r], t, o);
|
92
|
+
if ("throw" !== c.type) {
|
93
|
+
var u = c.arg,
|
94
|
+
h = u.value;
|
95
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
96
|
+
invoke("next", t, i, a);
|
97
|
+
}, function (t) {
|
98
|
+
invoke("throw", t, i, a);
|
99
|
+
}) : e.resolve(h).then(function (t) {
|
100
|
+
u.value = t, i(u);
|
101
|
+
}, function (t) {
|
102
|
+
return invoke("throw", t, i, a);
|
97
103
|
});
|
98
104
|
}
|
99
|
-
|
105
|
+
a(c.arg);
|
100
106
|
}
|
101
|
-
var
|
102
|
-
|
103
|
-
value: function value(
|
107
|
+
var r;
|
108
|
+
o(this, "_invoke", {
|
109
|
+
value: function value(t, n) {
|
104
110
|
function callInvokeWithMethodAndArg() {
|
105
|
-
return new
|
106
|
-
invoke(
|
111
|
+
return new e(function (e, r) {
|
112
|
+
invoke(t, n, e, r);
|
107
113
|
});
|
108
114
|
}
|
109
|
-
return
|
115
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
110
116
|
}
|
111
117
|
});
|
112
118
|
}
|
113
|
-
function makeInvokeMethod(
|
114
|
-
var
|
115
|
-
return function (
|
116
|
-
if (
|
117
|
-
if (
|
118
|
-
if ("throw" ===
|
119
|
-
return
|
119
|
+
function makeInvokeMethod(e, r, n) {
|
120
|
+
var o = h;
|
121
|
+
return function (i, a) {
|
122
|
+
if (o === f) throw new Error("Generator is already running");
|
123
|
+
if (o === s) {
|
124
|
+
if ("throw" === i) throw a;
|
125
|
+
return {
|
126
|
+
value: t,
|
127
|
+
done: !0
|
128
|
+
};
|
120
129
|
}
|
121
|
-
for (
|
122
|
-
var
|
123
|
-
if (
|
124
|
-
var
|
125
|
-
if (
|
126
|
-
if (
|
127
|
-
return
|
130
|
+
for (n.method = i, n.arg = a;;) {
|
131
|
+
var c = n.delegate;
|
132
|
+
if (c) {
|
133
|
+
var u = maybeInvokeDelegate(c, n);
|
134
|
+
if (u) {
|
135
|
+
if (u === y) continue;
|
136
|
+
return u;
|
128
137
|
}
|
129
138
|
}
|
130
|
-
if ("next" ===
|
131
|
-
if (
|
132
|
-
|
133
|
-
} else "return" ===
|
134
|
-
|
135
|
-
var
|
136
|
-
if ("normal" ===
|
137
|
-
if (
|
139
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
140
|
+
if (o === h) throw o = s, n.arg;
|
141
|
+
n.dispatchException(n.arg);
|
142
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
143
|
+
o = f;
|
144
|
+
var p = tryCatch(e, r, n);
|
145
|
+
if ("normal" === p.type) {
|
146
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
138
147
|
return {
|
139
|
-
value:
|
140
|
-
done:
|
148
|
+
value: p.arg,
|
149
|
+
done: n.done
|
141
150
|
};
|
142
151
|
}
|
143
|
-
"throw" ===
|
152
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
144
153
|
}
|
145
154
|
};
|
146
155
|
}
|
147
|
-
function maybeInvokeDelegate(
|
148
|
-
var
|
149
|
-
|
150
|
-
if (
|
151
|
-
var
|
152
|
-
if ("throw" ===
|
153
|
-
var
|
154
|
-
return
|
156
|
+
function maybeInvokeDelegate(e, r) {
|
157
|
+
var n = r.method,
|
158
|
+
o = e.iterator[n];
|
159
|
+
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;
|
160
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
161
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
162
|
+
var a = i.arg;
|
163
|
+
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);
|
155
164
|
}
|
156
|
-
function pushTryEntry(
|
157
|
-
var
|
158
|
-
tryLoc:
|
165
|
+
function pushTryEntry(t) {
|
166
|
+
var e = {
|
167
|
+
tryLoc: t[0]
|
159
168
|
};
|
160
|
-
1 in
|
169
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
161
170
|
}
|
162
|
-
function resetTryEntry(
|
163
|
-
var
|
164
|
-
|
171
|
+
function resetTryEntry(t) {
|
172
|
+
var e = t.completion || {};
|
173
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
165
174
|
}
|
166
|
-
function Context(
|
175
|
+
function Context(t) {
|
167
176
|
this.tryEntries = [{
|
168
177
|
tryLoc: "root"
|
169
|
-
}],
|
178
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
170
179
|
}
|
171
|
-
function values(
|
172
|
-
if (
|
173
|
-
var
|
174
|
-
if (
|
175
|
-
if ("function" == typeof
|
176
|
-
if (!isNaN(
|
177
|
-
var
|
178
|
-
|
179
|
-
for (; ++
|
180
|
-
return next.value =
|
180
|
+
function values(e) {
|
181
|
+
if (e || "" === e) {
|
182
|
+
var r = e[a];
|
183
|
+
if (r) return r.call(e);
|
184
|
+
if ("function" == typeof e.next) return e;
|
185
|
+
if (!isNaN(e.length)) {
|
186
|
+
var o = -1,
|
187
|
+
i = function next() {
|
188
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
189
|
+
return next.value = t, next.done = !0, next;
|
181
190
|
};
|
182
|
-
return
|
191
|
+
return i.next = i;
|
183
192
|
}
|
184
193
|
}
|
185
|
-
|
186
|
-
next: doneResult
|
187
|
-
};
|
188
|
-
}
|
189
|
-
function doneResult() {
|
190
|
-
return {
|
191
|
-
value: undefined,
|
192
|
-
done: !0
|
193
|
-
};
|
194
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
194
195
|
}
|
195
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
196
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
196
197
|
value: GeneratorFunctionPrototype,
|
197
198
|
configurable: !0
|
198
|
-
}),
|
199
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
199
200
|
value: GeneratorFunction,
|
200
201
|
configurable: !0
|
201
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
202
|
-
var
|
203
|
-
return !!
|
204
|
-
},
|
205
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
206
|
-
},
|
202
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
203
|
+
var e = "function" == typeof t && t.constructor;
|
204
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
205
|
+
}, e.mark = function (t) {
|
206
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
207
|
+
}, e.awrap = function (t) {
|
207
208
|
return {
|
208
|
-
__await:
|
209
|
+
__await: t
|
209
210
|
};
|
210
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
211
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
211
212
|
return this;
|
212
|
-
}),
|
213
|
-
void 0 ===
|
214
|
-
var
|
215
|
-
return
|
216
|
-
return
|
213
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
214
|
+
void 0 === i && (i = Promise);
|
215
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
216
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
217
|
+
return t.done ? t.value : a.next();
|
217
218
|
});
|
218
|
-
}, defineIteratorMethods(
|
219
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
219
220
|
return this;
|
220
|
-
}), define(
|
221
|
+
}), define(g, "toString", function () {
|
221
222
|
return "[object Generator]";
|
222
|
-
}),
|
223
|
-
var
|
224
|
-
|
225
|
-
for (var
|
226
|
-
return
|
227
|
-
for (;
|
228
|
-
var
|
229
|
-
if (
|
223
|
+
}), e.keys = function (t) {
|
224
|
+
var e = Object(t),
|
225
|
+
r = [];
|
226
|
+
for (var n in e) r.push(n);
|
227
|
+
return r.reverse(), function next() {
|
228
|
+
for (; r.length;) {
|
229
|
+
var t = r.pop();
|
230
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
230
231
|
}
|
231
232
|
return next.done = !0, next;
|
232
233
|
};
|
233
|
-
},
|
234
|
+
}, e.values = values, Context.prototype = {
|
234
235
|
constructor: Context,
|
235
|
-
reset: function reset(
|
236
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
236
|
+
reset: function reset(e) {
|
237
|
+
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);
|
237
238
|
},
|
238
239
|
stop: function stop() {
|
239
240
|
this.done = !0;
|
240
|
-
var
|
241
|
-
if ("throw" ===
|
241
|
+
var t = this.tryEntries[0].completion;
|
242
|
+
if ("throw" === t.type) throw t.arg;
|
242
243
|
return this.rval;
|
243
244
|
},
|
244
|
-
dispatchException: function dispatchException(
|
245
|
-
if (this.done) throw
|
246
|
-
var
|
247
|
-
function handle(
|
248
|
-
return
|
245
|
+
dispatchException: function dispatchException(e) {
|
246
|
+
if (this.done) throw e;
|
247
|
+
var r = this;
|
248
|
+
function handle(n, o) {
|
249
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
249
250
|
}
|
250
|
-
for (var
|
251
|
-
var
|
252
|
-
|
253
|
-
if ("root" ===
|
254
|
-
if (
|
255
|
-
var
|
256
|
-
|
257
|
-
if (
|
258
|
-
if (this.prev <
|
259
|
-
if (this.prev <
|
260
|
-
} else if (
|
261
|
-
if (this.prev <
|
251
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
252
|
+
var i = this.tryEntries[o],
|
253
|
+
a = i.completion;
|
254
|
+
if ("root" === i.tryLoc) return handle("end");
|
255
|
+
if (i.tryLoc <= this.prev) {
|
256
|
+
var c = n.call(i, "catchLoc"),
|
257
|
+
u = n.call(i, "finallyLoc");
|
258
|
+
if (c && u) {
|
259
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
260
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
261
|
+
} else if (c) {
|
262
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
262
263
|
} else {
|
263
|
-
if (!
|
264
|
-
if (this.prev <
|
264
|
+
if (!u) throw new Error("try statement without catch or finally");
|
265
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
265
266
|
}
|
266
267
|
}
|
267
268
|
}
|
268
269
|
},
|
269
|
-
abrupt: function abrupt(
|
270
|
-
for (var
|
271
|
-
var
|
272
|
-
if (
|
273
|
-
var
|
270
|
+
abrupt: function abrupt(t, e) {
|
271
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
272
|
+
var o = this.tryEntries[r];
|
273
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
274
|
+
var i = o;
|
274
275
|
break;
|
275
276
|
}
|
276
277
|
}
|
277
|
-
|
278
|
-
var
|
279
|
-
return
|
278
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
279
|
+
var a = i ? i.completion : {};
|
280
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
280
281
|
},
|
281
|
-
complete: function complete(
|
282
|
-
if ("throw" ===
|
283
|
-
return "break" ===
|
282
|
+
complete: function complete(t, e) {
|
283
|
+
if ("throw" === t.type) throw t.arg;
|
284
|
+
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;
|
284
285
|
},
|
285
|
-
finish: function finish(
|
286
|
-
for (var
|
287
|
-
var
|
288
|
-
if (
|
286
|
+
finish: function finish(t) {
|
287
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
288
|
+
var r = this.tryEntries[e];
|
289
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
289
290
|
}
|
290
291
|
},
|
291
|
-
"catch": function _catch(
|
292
|
-
for (var
|
293
|
-
var
|
294
|
-
if (
|
295
|
-
var
|
296
|
-
if ("throw" ===
|
297
|
-
var
|
298
|
-
resetTryEntry(
|
292
|
+
"catch": function _catch(t) {
|
293
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
294
|
+
var r = this.tryEntries[e];
|
295
|
+
if (r.tryLoc === t) {
|
296
|
+
var n = r.completion;
|
297
|
+
if ("throw" === n.type) {
|
298
|
+
var o = n.arg;
|
299
|
+
resetTryEntry(r);
|
299
300
|
}
|
300
|
-
return
|
301
|
+
return o;
|
301
302
|
}
|
302
303
|
}
|
303
304
|
throw new Error("illegal catch attempt");
|
304
305
|
},
|
305
|
-
delegateYield: function delegateYield(
|
306
|
+
delegateYield: function delegateYield(e, r, n) {
|
306
307
|
return this.delegate = {
|
307
|
-
iterator: values(
|
308
|
-
resultName:
|
309
|
-
nextLoc:
|
310
|
-
}, "next" === this.method && (this.arg =
|
308
|
+
iterator: values(e),
|
309
|
+
resultName: r,
|
310
|
+
nextLoc: n
|
311
|
+
}, "next" === this.method && (this.arg = t), y;
|
311
312
|
}
|
312
|
-
},
|
313
|
+
}, e;
|
313
314
|
}
|
314
315
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
315
316
|
|
@@ -318,14 +319,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
318
319
|
/***/ 7425:
|
319
320
|
/***/ ((module) => {
|
320
321
|
|
321
|
-
function _typeof(
|
322
|
+
function _typeof(o) {
|
322
323
|
"@babel/helpers - typeof";
|
323
324
|
|
324
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
325
|
-
return typeof
|
326
|
-
} : function (
|
327
|
-
return
|
328
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
325
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
326
|
+
return typeof o;
|
327
|
+
} : function (o) {
|
328
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
329
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
329
330
|
}
|
330
331
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
331
332
|
|
@@ -416,46 +417,46 @@ var __webpack_exports__ = {};
|
|
416
417
|
|
417
418
|
// EXPORTS
|
418
419
|
__webpack_require__.d(__webpack_exports__, {
|
419
|
-
|
420
|
+
"default": () => (/* binding */ src)
|
420
421
|
});
|
421
422
|
|
422
423
|
;// CONCATENATED MODULE: external "../shared"
|
423
424
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
424
425
|
var y = x => () => x
|
425
|
-
const
|
426
|
+
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 });
|
426
427
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
427
|
-
function _typeof(
|
428
|
+
function _typeof(o) {
|
428
429
|
"@babel/helpers - typeof";
|
429
430
|
|
430
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
431
|
-
return typeof
|
432
|
-
} : function (
|
433
|
-
return
|
434
|
-
}, _typeof(
|
431
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
432
|
+
return typeof o;
|
433
|
+
} : function (o) {
|
434
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
435
|
+
}, _typeof(o);
|
435
436
|
}
|
436
437
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
437
438
|
|
438
|
-
function
|
439
|
-
if (
|
440
|
-
var
|
441
|
-
if (
|
442
|
-
var
|
443
|
-
if (
|
439
|
+
function toPrimitive(t, r) {
|
440
|
+
if ("object" != _typeof(t) || !t) return t;
|
441
|
+
var e = t[Symbol.toPrimitive];
|
442
|
+
if (void 0 !== e) {
|
443
|
+
var i = e.call(t, r || "default");
|
444
|
+
if ("object" != _typeof(i)) return i;
|
444
445
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
445
446
|
}
|
446
|
-
return (
|
447
|
+
return ("string" === r ? String : Number)(t);
|
447
448
|
}
|
448
449
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
449
450
|
|
450
451
|
|
451
|
-
function
|
452
|
-
var
|
453
|
-
return _typeof(
|
452
|
+
function toPropertyKey(t) {
|
453
|
+
var i = toPrimitive(t, "string");
|
454
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
454
455
|
}
|
455
456
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
456
457
|
|
457
458
|
function _defineProperty(obj, key, value) {
|
458
|
-
key =
|
459
|
+
key = toPropertyKey(key);
|
459
460
|
if (key in obj) {
|
460
461
|
Object.defineProperty(obj, key, {
|
461
462
|
value: value,
|
@@ -511,13 +512,13 @@ var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); retur
|
|
511
512
|
var external_vue_types_y = x => () => x
|
512
513
|
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
513
514
|
;// CONCATENATED MODULE: external "../config-provider"
|
514
|
-
var
|
515
|
-
var
|
516
|
-
const
|
515
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
516
|
+
var config_provider_y = x => () => x
|
517
|
+
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 });
|
517
518
|
;// CONCATENATED MODULE: external "../icon"
|
518
|
-
var
|
519
|
-
var
|
520
|
-
const
|
519
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
520
|
+
var icon_y = x => () => x
|
521
|
+
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 });
|
521
522
|
;// CONCATENATED MODULE: ../../packages/steps/src/steps.tsx
|
522
523
|
|
523
524
|
|
@@ -560,17 +561,17 @@ var StatusEnum;
|
|
560
561
|
StatusEnum["LOADING"] = "loading";
|
561
562
|
})(StatusEnum || (StatusEnum = {}));
|
562
563
|
var stepsProps = {
|
563
|
-
theme:
|
564
|
-
size:
|
565
|
-
curStep:
|
566
|
-
controllable:
|
567
|
-
direction: (0,
|
564
|
+
theme: shared_namespaceObject.PropTypes.theme().def(shared_namespaceObject.ThemeEnum.PRIMARY),
|
565
|
+
size: shared_namespaceObject.PropTypes.size(),
|
566
|
+
curStep: shared_namespaceObject.PropTypes.number.def(1),
|
567
|
+
controllable: shared_namespaceObject.PropTypes.bool.def(false),
|
568
|
+
direction: (0,shared_namespaceObject.directionType)(),
|
568
569
|
status: (0,external_vue_types_namespaceObject.toType)('status', {}).def(StatusEnum.UNKNOWN),
|
569
|
-
lineType: (0,
|
570
|
-
text:
|
571
|
-
extCls:
|
572
|
-
steps:
|
573
|
-
beforeChange:
|
570
|
+
lineType: (0,shared_namespaceObject.lineStyleType)(),
|
571
|
+
text: shared_namespaceObject.PropTypes.bool,
|
572
|
+
extCls: shared_namespaceObject.PropTypes.string,
|
573
|
+
steps: shared_namespaceObject.PropTypes.array.def([]),
|
574
|
+
beforeChange: shared_namespaceObject.PropTypes.func
|
574
575
|
};
|
575
576
|
/* harmony default export */ const steps = ((0,external_vue_namespaceObject.defineComponent)({
|
576
577
|
name: 'Steps',
|
@@ -578,8 +579,8 @@ var stepsProps = {
|
|
578
579
|
emits: ['update:curStep', 'click'],
|
579
580
|
setup: function setup(props, _ref) {
|
580
581
|
var emit = _ref.emit;
|
581
|
-
var t = (0,
|
582
|
-
var lang = (0,
|
582
|
+
var t = (0,config_provider_namespaceObject.useLocale)('steps');
|
583
|
+
var lang = (0,config_provider_namespaceObject.useLocale)('lang');
|
583
584
|
var defaultSteps = (0,external_vue_namespaceObject.ref)([]);
|
584
585
|
var updateSteps = function updateSteps(steps) {
|
585
586
|
var _defaultSteps$value;
|
@@ -699,7 +700,7 @@ var stepsProps = {
|
|
699
700
|
}, {
|
700
701
|
deep: true
|
701
702
|
});
|
702
|
-
var _usePrefix = (0,
|
703
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
703
704
|
resolveClassName = _usePrefix.resolveClassName;
|
704
705
|
return {
|
705
706
|
defaultSteps: defaultSteps,
|
@@ -708,12 +709,11 @@ var stepsProps = {
|
|
708
709
|
};
|
709
710
|
},
|
710
711
|
render: function render() {
|
711
|
-
var
|
712
|
-
_this = this;
|
712
|
+
var _this = this;
|
713
713
|
var stepsClsPrefix = this.resolveClassName('steps');
|
714
714
|
var stepsThemeCls = this.theme ? "".concat(stepsClsPrefix, "-").concat(this.theme) : '';
|
715
715
|
var stepsSizeCls = this.size ? "".concat(stepsClsPrefix, "-").concat(this.size) : '';
|
716
|
-
var stepsCls = (0,
|
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));
|
717
717
|
var isDone = function isDone(index) {
|
718
718
|
return _this.curStep > index + 1 || _this.defaultSteps[index].status === 'done';
|
719
719
|
};
|
@@ -742,17 +742,17 @@ var stepsProps = {
|
|
742
742
|
};
|
743
743
|
var renderIcon = function renderIcon(index, step) {
|
744
744
|
if (isCurrent(index) && _this.status === 'loading' || isLoadingStatus(step)) {
|
745
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
745
|
+
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Circle, {
|
746
746
|
"class": "".concat(_this.resolveClassName('icon'), " ").concat(_this.resolveClassName('steps-icon'), " icon-loading")
|
747
747
|
}, null);
|
748
748
|
}
|
749
749
|
if (isCurrent(index) && _this.status === 'error' || isErrorStatus(step)) {
|
750
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
750
|
+
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
751
751
|
"class": "".concat(_this.resolveClassName('steps-icon'))
|
752
752
|
}, null);
|
753
753
|
}
|
754
754
|
if (isDone(index)) {
|
755
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
755
|
+
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Done, {
|
756
756
|
"class": "".concat(_this.resolveClassName('steps-icon'))
|
757
757
|
}, null);
|
758
758
|
}
|
@@ -817,9 +817,9 @@ var stepsProps = {
|
|
817
817
|
*/
|
818
818
|
|
819
819
|
|
820
|
-
var BkSteps = (0,
|
820
|
+
var BkSteps = (0,shared_namespaceObject.withInstall)(steps);
|
821
821
|
/* harmony default export */ const src = (BkSteps);
|
822
822
|
})();
|
823
823
|
|
824
|
-
var __webpack_exports__default = __webpack_exports__
|
824
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
825
825
|
export { __webpack_exports__default as default };
|