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/select/index.js
CHANGED
@@ -30,304 +30,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
30
30
|
function _regeneratorRuntime() {
|
31
31
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
32
32
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
33
|
-
return
|
33
|
+
return e;
|
34
34
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
35
|
-
var
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
var t,
|
36
|
+
e = {},
|
37
|
+
r = Object.prototype,
|
38
|
+
n = r.hasOwnProperty,
|
39
|
+
o = Object.defineProperty || function (t, e, r) {
|
40
|
+
t[e] = r.value;
|
40
41
|
},
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
function define(
|
46
|
-
return Object.defineProperty(
|
47
|
-
value:
|
42
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
43
|
+
a = i.iterator || "@@iterator",
|
44
|
+
c = i.asyncIterator || "@@asyncIterator",
|
45
|
+
u = i.toStringTag || "@@toStringTag";
|
46
|
+
function define(t, e, r) {
|
47
|
+
return Object.defineProperty(t, e, {
|
48
|
+
value: r,
|
48
49
|
enumerable: !0,
|
49
50
|
configurable: !0,
|
50
51
|
writable: !0
|
51
|
-
}),
|
52
|
+
}), t[e];
|
52
53
|
}
|
53
54
|
try {
|
54
55
|
define({}, "");
|
55
|
-
} catch (
|
56
|
-
define = function define(
|
57
|
-
return
|
56
|
+
} catch (t) {
|
57
|
+
define = function define(t, e, r) {
|
58
|
+
return t[e] = r;
|
58
59
|
};
|
59
60
|
}
|
60
|
-
function wrap(
|
61
|
-
var
|
62
|
-
|
63
|
-
|
64
|
-
return
|
65
|
-
value: makeInvokeMethod(
|
66
|
-
}),
|
61
|
+
function wrap(t, e, r, n) {
|
62
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
63
|
+
a = Object.create(i.prototype),
|
64
|
+
c = new Context(n || []);
|
65
|
+
return o(a, "_invoke", {
|
66
|
+
value: makeInvokeMethod(t, r, c)
|
67
|
+
}), a;
|
67
68
|
}
|
68
|
-
function tryCatch(
|
69
|
+
function tryCatch(t, e, r) {
|
69
70
|
try {
|
70
71
|
return {
|
71
72
|
type: "normal",
|
72
|
-
arg:
|
73
|
+
arg: t.call(e, r)
|
73
74
|
};
|
74
|
-
} catch (
|
75
|
+
} catch (t) {
|
75
76
|
return {
|
76
77
|
type: "throw",
|
77
|
-
arg:
|
78
|
+
arg: t
|
78
79
|
};
|
79
80
|
}
|
80
81
|
}
|
81
|
-
|
82
|
-
var
|
82
|
+
e.wrap = wrap;
|
83
|
+
var h = "suspendedStart",
|
84
|
+
l = "suspendedYield",
|
85
|
+
f = "executing",
|
86
|
+
s = "completed",
|
87
|
+
y = {};
|
83
88
|
function Generator() {}
|
84
89
|
function GeneratorFunction() {}
|
85
90
|
function GeneratorFunctionPrototype() {}
|
86
|
-
var
|
87
|
-
define(
|
91
|
+
var p = {};
|
92
|
+
define(p, a, function () {
|
88
93
|
return this;
|
89
94
|
});
|
90
|
-
var
|
91
|
-
|
92
|
-
|
93
|
-
var
|
94
|
-
function defineIteratorMethods(
|
95
|
-
["next", "throw", "return"].forEach(function (
|
96
|
-
define(
|
97
|
-
return this._invoke(
|
95
|
+
var d = Object.getPrototypeOf,
|
96
|
+
v = d && d(d(values([])));
|
97
|
+
v && v !== r && n.call(v, a) && (p = v);
|
98
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
99
|
+
function defineIteratorMethods(t) {
|
100
|
+
["next", "throw", "return"].forEach(function (e) {
|
101
|
+
define(t, e, function (t) {
|
102
|
+
return this._invoke(e, t);
|
98
103
|
});
|
99
104
|
});
|
100
105
|
}
|
101
|
-
function AsyncIterator(
|
102
|
-
function invoke(
|
103
|
-
var
|
104
|
-
if ("throw" !==
|
105
|
-
var
|
106
|
-
|
107
|
-
return
|
108
|
-
invoke("next",
|
109
|
-
}, function (
|
110
|
-
invoke("throw",
|
111
|
-
}) :
|
112
|
-
|
113
|
-
}, function (
|
114
|
-
return invoke("throw",
|
106
|
+
function AsyncIterator(t, e) {
|
107
|
+
function invoke(r, o, i, a) {
|
108
|
+
var c = tryCatch(t[r], t, o);
|
109
|
+
if ("throw" !== c.type) {
|
110
|
+
var u = c.arg,
|
111
|
+
h = u.value;
|
112
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
113
|
+
invoke("next", t, i, a);
|
114
|
+
}, function (t) {
|
115
|
+
invoke("throw", t, i, a);
|
116
|
+
}) : e.resolve(h).then(function (t) {
|
117
|
+
u.value = t, i(u);
|
118
|
+
}, function (t) {
|
119
|
+
return invoke("throw", t, i, a);
|
115
120
|
});
|
116
121
|
}
|
117
|
-
|
122
|
+
a(c.arg);
|
118
123
|
}
|
119
|
-
var
|
120
|
-
|
121
|
-
value: function value(
|
124
|
+
var r;
|
125
|
+
o(this, "_invoke", {
|
126
|
+
value: function value(t, n) {
|
122
127
|
function callInvokeWithMethodAndArg() {
|
123
|
-
return new
|
124
|
-
invoke(
|
128
|
+
return new e(function (e, r) {
|
129
|
+
invoke(t, n, e, r);
|
125
130
|
});
|
126
131
|
}
|
127
|
-
return
|
132
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
128
133
|
}
|
129
134
|
});
|
130
135
|
}
|
131
|
-
function makeInvokeMethod(
|
132
|
-
var
|
133
|
-
return function (
|
134
|
-
if (
|
135
|
-
if (
|
136
|
-
if ("throw" ===
|
137
|
-
return
|
136
|
+
function makeInvokeMethod(e, r, n) {
|
137
|
+
var o = h;
|
138
|
+
return function (i, a) {
|
139
|
+
if (o === f) throw new Error("Generator is already running");
|
140
|
+
if (o === s) {
|
141
|
+
if ("throw" === i) throw a;
|
142
|
+
return {
|
143
|
+
value: t,
|
144
|
+
done: !0
|
145
|
+
};
|
138
146
|
}
|
139
|
-
for (
|
140
|
-
var
|
141
|
-
if (
|
142
|
-
var
|
143
|
-
if (
|
144
|
-
if (
|
145
|
-
return
|
147
|
+
for (n.method = i, n.arg = a;;) {
|
148
|
+
var c = n.delegate;
|
149
|
+
if (c) {
|
150
|
+
var u = maybeInvokeDelegate(c, n);
|
151
|
+
if (u) {
|
152
|
+
if (u === y) continue;
|
153
|
+
return u;
|
146
154
|
}
|
147
155
|
}
|
148
|
-
if ("next" ===
|
149
|
-
if (
|
150
|
-
|
151
|
-
} else "return" ===
|
152
|
-
|
153
|
-
var
|
154
|
-
if ("normal" ===
|
155
|
-
if (
|
156
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
157
|
+
if (o === h) throw o = s, n.arg;
|
158
|
+
n.dispatchException(n.arg);
|
159
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
160
|
+
o = f;
|
161
|
+
var p = tryCatch(e, r, n);
|
162
|
+
if ("normal" === p.type) {
|
163
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
156
164
|
return {
|
157
|
-
value:
|
158
|
-
done:
|
165
|
+
value: p.arg,
|
166
|
+
done: n.done
|
159
167
|
};
|
160
168
|
}
|
161
|
-
"throw" ===
|
169
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
162
170
|
}
|
163
171
|
};
|
164
172
|
}
|
165
|
-
function maybeInvokeDelegate(
|
166
|
-
var
|
167
|
-
|
168
|
-
if (
|
169
|
-
var
|
170
|
-
if ("throw" ===
|
171
|
-
var
|
172
|
-
return
|
173
|
+
function maybeInvokeDelegate(e, r) {
|
174
|
+
var n = r.method,
|
175
|
+
o = e.iterator[n];
|
176
|
+
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;
|
177
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
178
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
179
|
+
var a = i.arg;
|
180
|
+
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);
|
173
181
|
}
|
174
|
-
function pushTryEntry(
|
175
|
-
var
|
176
|
-
tryLoc:
|
182
|
+
function pushTryEntry(t) {
|
183
|
+
var e = {
|
184
|
+
tryLoc: t[0]
|
177
185
|
};
|
178
|
-
1 in
|
186
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
179
187
|
}
|
180
|
-
function resetTryEntry(
|
181
|
-
var
|
182
|
-
|
188
|
+
function resetTryEntry(t) {
|
189
|
+
var e = t.completion || {};
|
190
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
183
191
|
}
|
184
|
-
function Context(
|
192
|
+
function Context(t) {
|
185
193
|
this.tryEntries = [{
|
186
194
|
tryLoc: "root"
|
187
|
-
}],
|
195
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
188
196
|
}
|
189
|
-
function values(
|
190
|
-
if (
|
191
|
-
var
|
192
|
-
if (
|
193
|
-
if ("function" == typeof
|
194
|
-
if (!isNaN(
|
195
|
-
var
|
196
|
-
|
197
|
-
for (; ++
|
198
|
-
return next.value =
|
197
|
+
function values(e) {
|
198
|
+
if (e || "" === e) {
|
199
|
+
var r = e[a];
|
200
|
+
if (r) return r.call(e);
|
201
|
+
if ("function" == typeof e.next) return e;
|
202
|
+
if (!isNaN(e.length)) {
|
203
|
+
var o = -1,
|
204
|
+
i = function next() {
|
205
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
206
|
+
return next.value = t, next.done = !0, next;
|
199
207
|
};
|
200
|
-
return
|
208
|
+
return i.next = i;
|
201
209
|
}
|
202
210
|
}
|
203
|
-
|
204
|
-
next: doneResult
|
205
|
-
};
|
206
|
-
}
|
207
|
-
function doneResult() {
|
208
|
-
return {
|
209
|
-
value: undefined,
|
210
|
-
done: !0
|
211
|
-
};
|
211
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
212
212
|
}
|
213
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
213
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
214
214
|
value: GeneratorFunctionPrototype,
|
215
215
|
configurable: !0
|
216
|
-
}),
|
216
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
217
217
|
value: GeneratorFunction,
|
218
218
|
configurable: !0
|
219
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
220
|
-
var
|
221
|
-
return !!
|
222
|
-
},
|
223
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
224
|
-
},
|
219
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
220
|
+
var e = "function" == typeof t && t.constructor;
|
221
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
222
|
+
}, e.mark = function (t) {
|
223
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
224
|
+
}, e.awrap = function (t) {
|
225
225
|
return {
|
226
|
-
__await:
|
226
|
+
__await: t
|
227
227
|
};
|
228
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
228
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
229
229
|
return this;
|
230
|
-
}),
|
231
|
-
void 0 ===
|
232
|
-
var
|
233
|
-
return
|
234
|
-
return
|
230
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
231
|
+
void 0 === i && (i = Promise);
|
232
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
233
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
234
|
+
return t.done ? t.value : a.next();
|
235
235
|
});
|
236
|
-
}, defineIteratorMethods(
|
236
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
237
237
|
return this;
|
238
|
-
}), define(
|
238
|
+
}), define(g, "toString", function () {
|
239
239
|
return "[object Generator]";
|
240
|
-
}),
|
241
|
-
var
|
242
|
-
|
243
|
-
for (var
|
244
|
-
return
|
245
|
-
for (;
|
246
|
-
var
|
247
|
-
if (
|
240
|
+
}), e.keys = function (t) {
|
241
|
+
var e = Object(t),
|
242
|
+
r = [];
|
243
|
+
for (var n in e) r.push(n);
|
244
|
+
return r.reverse(), function next() {
|
245
|
+
for (; r.length;) {
|
246
|
+
var t = r.pop();
|
247
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
248
248
|
}
|
249
249
|
return next.done = !0, next;
|
250
250
|
};
|
251
|
-
},
|
251
|
+
}, e.values = values, Context.prototype = {
|
252
252
|
constructor: Context,
|
253
|
-
reset: function reset(
|
254
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
253
|
+
reset: function reset(e) {
|
254
|
+
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);
|
255
255
|
},
|
256
256
|
stop: function stop() {
|
257
257
|
this.done = !0;
|
258
|
-
var
|
259
|
-
if ("throw" ===
|
258
|
+
var t = this.tryEntries[0].completion;
|
259
|
+
if ("throw" === t.type) throw t.arg;
|
260
260
|
return this.rval;
|
261
261
|
},
|
262
|
-
dispatchException: function dispatchException(
|
263
|
-
if (this.done) throw
|
264
|
-
var
|
265
|
-
function handle(
|
266
|
-
return
|
262
|
+
dispatchException: function dispatchException(e) {
|
263
|
+
if (this.done) throw e;
|
264
|
+
var r = this;
|
265
|
+
function handle(n, o) {
|
266
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
267
267
|
}
|
268
|
-
for (var
|
269
|
-
var
|
270
|
-
|
271
|
-
if ("root" ===
|
272
|
-
if (
|
273
|
-
var
|
274
|
-
|
275
|
-
if (
|
276
|
-
if (this.prev <
|
277
|
-
if (this.prev <
|
278
|
-
} else if (
|
279
|
-
if (this.prev <
|
268
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
269
|
+
var i = this.tryEntries[o],
|
270
|
+
a = i.completion;
|
271
|
+
if ("root" === i.tryLoc) return handle("end");
|
272
|
+
if (i.tryLoc <= this.prev) {
|
273
|
+
var c = n.call(i, "catchLoc"),
|
274
|
+
u = n.call(i, "finallyLoc");
|
275
|
+
if (c && u) {
|
276
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
277
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
278
|
+
} else if (c) {
|
279
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
280
280
|
} else {
|
281
|
-
if (!
|
282
|
-
if (this.prev <
|
281
|
+
if (!u) throw new Error("try statement without catch or finally");
|
282
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
283
283
|
}
|
284
284
|
}
|
285
285
|
}
|
286
286
|
},
|
287
|
-
abrupt: function abrupt(
|
288
|
-
for (var
|
289
|
-
var
|
290
|
-
if (
|
291
|
-
var
|
287
|
+
abrupt: function abrupt(t, e) {
|
288
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
289
|
+
var o = this.tryEntries[r];
|
290
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
291
|
+
var i = o;
|
292
292
|
break;
|
293
293
|
}
|
294
294
|
}
|
295
|
-
|
296
|
-
var
|
297
|
-
return
|
295
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
296
|
+
var a = i ? i.completion : {};
|
297
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
298
298
|
},
|
299
|
-
complete: function complete(
|
300
|
-
if ("throw" ===
|
301
|
-
return "break" ===
|
299
|
+
complete: function complete(t, e) {
|
300
|
+
if ("throw" === t.type) throw t.arg;
|
301
|
+
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;
|
302
302
|
},
|
303
|
-
finish: function finish(
|
304
|
-
for (var
|
305
|
-
var
|
306
|
-
if (
|
303
|
+
finish: function finish(t) {
|
304
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
305
|
+
var r = this.tryEntries[e];
|
306
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
307
307
|
}
|
308
308
|
},
|
309
|
-
"catch": function _catch(
|
310
|
-
for (var
|
311
|
-
var
|
312
|
-
if (
|
313
|
-
var
|
314
|
-
if ("throw" ===
|
315
|
-
var
|
316
|
-
resetTryEntry(
|
309
|
+
"catch": function _catch(t) {
|
310
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
311
|
+
var r = this.tryEntries[e];
|
312
|
+
if (r.tryLoc === t) {
|
313
|
+
var n = r.completion;
|
314
|
+
if ("throw" === n.type) {
|
315
|
+
var o = n.arg;
|
316
|
+
resetTryEntry(r);
|
317
317
|
}
|
318
|
-
return
|
318
|
+
return o;
|
319
319
|
}
|
320
320
|
}
|
321
321
|
throw new Error("illegal catch attempt");
|
322
322
|
},
|
323
|
-
delegateYield: function delegateYield(
|
323
|
+
delegateYield: function delegateYield(e, r, n) {
|
324
324
|
return this.delegate = {
|
325
|
-
iterator: values(
|
326
|
-
resultName:
|
327
|
-
nextLoc:
|
328
|
-
}, "next" === this.method && (this.arg =
|
325
|
+
iterator: values(e),
|
326
|
+
resultName: r,
|
327
|
+
nextLoc: n
|
328
|
+
}, "next" === this.method && (this.arg = t), y;
|
329
329
|
}
|
330
|
-
},
|
330
|
+
}, e;
|
331
331
|
}
|
332
332
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
333
333
|
|
@@ -336,14 +336,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
336
336
|
/***/ 7425:
|
337
337
|
/***/ ((module) => {
|
338
338
|
|
339
|
-
function _typeof(
|
339
|
+
function _typeof(o) {
|
340
340
|
"@babel/helpers - typeof";
|
341
341
|
|
342
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
343
|
-
return typeof
|
344
|
-
} : function (
|
345
|
-
return
|
346
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
342
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
343
|
+
return typeof o;
|
344
|
+
} : function (o) {
|
345
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
346
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
347
347
|
}
|
348
348
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
349
349
|
|
@@ -437,82 +437,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
437
437
|
BkOption: () => (/* reexport */ src_option),
|
438
438
|
BkOptionGroup: () => (/* reexport */ optionGroup),
|
439
439
|
BkSelect: () => (/* binding */ BkSelect),
|
440
|
-
"default": () => (/* binding */ src)
|
440
|
+
"default": () => (/* binding */ src),
|
441
|
+
useHover: () => (/* reexport */ useHover)
|
441
442
|
});
|
442
443
|
|
443
444
|
;// CONCATENATED MODULE: external "../shared"
|
444
445
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
445
446
|
var y = x => () => x
|
446
447
|
const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["SelectedType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedType, ["SelectedTypeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedTypeEnum, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["observerResize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
447
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
448
|
-
function _typeof(obj) {
|
449
|
-
"@babel/helpers - typeof";
|
450
|
-
|
451
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
452
|
-
return typeof obj;
|
453
|
-
} : function (obj) {
|
454
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
455
|
-
}, _typeof(obj);
|
456
|
-
}
|
457
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
458
|
-
|
459
|
-
function _toPrimitive(input, hint) {
|
460
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
461
|
-
var prim = input[Symbol.toPrimitive];
|
462
|
-
if (prim !== undefined) {
|
463
|
-
var res = prim.call(input, hint || "default");
|
464
|
-
if (_typeof(res) !== "object") return res;
|
465
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
466
|
-
}
|
467
|
-
return (hint === "string" ? String : Number)(input);
|
468
|
-
}
|
469
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
470
|
-
|
471
|
-
|
472
|
-
function _toPropertyKey(arg) {
|
473
|
-
var key = _toPrimitive(arg, "string");
|
474
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
475
|
-
}
|
476
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
477
|
-
|
478
|
-
function _defineProperty(obj, key, value) {
|
479
|
-
key = _toPropertyKey(key);
|
480
|
-
if (key in obj) {
|
481
|
-
Object.defineProperty(obj, key, {
|
482
|
-
value: value,
|
483
|
-
enumerable: true,
|
484
|
-
configurable: true,
|
485
|
-
writable: true
|
486
|
-
});
|
487
|
-
} else {
|
488
|
-
obj[key] = value;
|
489
|
-
}
|
490
|
-
return obj;
|
491
|
-
}
|
492
|
-
;// CONCATENATED MODULE: external "vue"
|
493
|
-
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
494
|
-
var external_vue_y = x => () => x
|
495
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
496
|
-
;// CONCATENATED MODULE: external "../checkbox"
|
497
|
-
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
498
|
-
var checkbox_y = x => () => x
|
499
|
-
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
500
|
-
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
501
|
-
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
502
|
-
var checkbox_less_y = x => () => x
|
503
|
-
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
504
|
-
;// CONCATENATED MODULE: external "../config-provider"
|
505
|
-
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
506
|
-
var config_provider_y = x => () => x
|
507
|
-
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 });
|
508
|
-
;// CONCATENATED MODULE: external "../icon"
|
509
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
510
|
-
var icon_y = x => () => x
|
511
|
-
const icon_namespaceObject = icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDown, ["AngleUpFill"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUpFill, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["TextAll"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.TextAll });
|
512
|
-
;// CONCATENATED MODULE: external "lodash/isEqual"
|
513
|
-
var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
514
|
-
var isEqual_y = x => () => x
|
515
|
-
const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
|
516
448
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
517
449
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
518
450
|
try {
|
@@ -547,6 +479,10 @@ function _asyncToGenerator(fn) {
|
|
547
479
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
548
480
|
var regenerator = __webpack_require__(2841);
|
549
481
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
482
|
+
;// CONCATENATED MODULE: external "vue"
|
483
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
484
|
+
var external_vue_y = x => () => x
|
485
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
550
486
|
;// CONCATENATED MODULE: ../../packages/select/src/common.ts
|
551
487
|
|
552
488
|
|
@@ -664,7 +600,7 @@ function usePopover(config, triggerRef) {
|
|
664
600
|
});
|
665
601
|
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
666
602
|
var _observerIns;
|
667
|
-
(_observerIns = observerIns) === null || _observerIns === void 0
|
603
|
+
(_observerIns = observerIns) === null || _observerIns === void 0 || _observerIns.stop();
|
668
604
|
observerIns = null;
|
669
605
|
});
|
670
606
|
return {
|
@@ -682,7 +618,7 @@ function useRemoteSearch(method, callBack) {
|
|
682
618
|
return searchValue.value || customOptionName.value;
|
683
619
|
});
|
684
620
|
var searchLoading = (0,external_vue_namespaceObject.ref)(false);
|
685
|
-
(0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
|
621
|
+
(0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
686
622
|
return regenerator_default().wrap(function _callee$(_context) {
|
687
623
|
while (1) switch (_context.prev = _context.next) {
|
688
624
|
case 0:
|
@@ -700,7 +636,7 @@ function useRemoteSearch(method, callBack) {
|
|
700
636
|
console.error(_context.t0);
|
701
637
|
case 10:
|
702
638
|
_context.prev = 10;
|
703
|
-
callBack === null || callBack === void 0
|
639
|
+
callBack === null || callBack === void 0 || callBack();
|
704
640
|
return _context.finish(10);
|
705
641
|
case 13:
|
706
642
|
case "end":
|
@@ -730,8 +666,76 @@ function isInViewPort(el, client) {
|
|
730
666
|
clientBottom = _client$getBoundingCl.bottom;
|
731
667
|
return elTop >= clientTop && elBottom <= clientBottom;
|
732
668
|
}
|
669
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
670
|
+
function _typeof(o) {
|
671
|
+
"@babel/helpers - typeof";
|
672
|
+
|
673
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
674
|
+
return typeof o;
|
675
|
+
} : function (o) {
|
676
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
677
|
+
}, _typeof(o);
|
678
|
+
}
|
679
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
680
|
+
|
681
|
+
function toPrimitive(t, r) {
|
682
|
+
if ("object" != _typeof(t) || !t) return t;
|
683
|
+
var e = t[Symbol.toPrimitive];
|
684
|
+
if (void 0 !== e) {
|
685
|
+
var i = e.call(t, r || "default");
|
686
|
+
if ("object" != _typeof(i)) return i;
|
687
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
688
|
+
}
|
689
|
+
return ("string" === r ? String : Number)(t);
|
690
|
+
}
|
691
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
692
|
+
|
693
|
+
|
694
|
+
function toPropertyKey(t) {
|
695
|
+
var i = toPrimitive(t, "string");
|
696
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
697
|
+
}
|
698
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
699
|
+
|
700
|
+
function _defineProperty(obj, key, value) {
|
701
|
+
key = toPropertyKey(key);
|
702
|
+
if (key in obj) {
|
703
|
+
Object.defineProperty(obj, key, {
|
704
|
+
value: value,
|
705
|
+
enumerable: true,
|
706
|
+
configurable: true,
|
707
|
+
writable: true
|
708
|
+
});
|
709
|
+
} else {
|
710
|
+
obj[key] = value;
|
711
|
+
}
|
712
|
+
return obj;
|
713
|
+
}
|
714
|
+
;// CONCATENATED MODULE: external "../checkbox"
|
715
|
+
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
716
|
+
var checkbox_y = x => () => x
|
717
|
+
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
718
|
+
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
719
|
+
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
720
|
+
var checkbox_less_y = x => () => x
|
721
|
+
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
722
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
723
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
724
|
+
var config_provider_y = x => () => x
|
725
|
+
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 });
|
726
|
+
;// CONCATENATED MODULE: external "../icon"
|
727
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
728
|
+
var icon_y = x => () => x
|
729
|
+
const icon_namespaceObject = icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDown, ["AngleUpFill"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUpFill, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["TextAll"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.TextAll });
|
730
|
+
;// CONCATENATED MODULE: external "lodash/isEqual"
|
731
|
+
var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
732
|
+
var isEqual_y = x => () => x
|
733
|
+
const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
|
733
734
|
;// CONCATENATED MODULE: ../../packages/select/src/option.tsx
|
734
735
|
|
736
|
+
|
737
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
738
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
735
739
|
/*
|
736
740
|
* Tencent is pleased to support the open source community by making
|
737
741
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -758,8 +762,6 @@ function isInViewPort(el, client) {
|
|
758
762
|
* IN THE SOFTWARE.
|
759
763
|
*/
|
760
764
|
|
761
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
762
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
763
765
|
|
764
766
|
|
765
767
|
|
@@ -767,7 +769,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
767
769
|
|
768
770
|
|
769
771
|
|
770
|
-
/* harmony default export */ const src_option = (defineComponent({
|
772
|
+
/* harmony default export */ const src_option = ((0,external_vue_namespaceObject.defineComponent)({
|
771
773
|
name: 'Option',
|
772
774
|
props: {
|
773
775
|
id: {
|
@@ -781,52 +783,52 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
781
783
|
setup: function setup(props, _ref) {
|
782
784
|
var attrs = _ref.attrs;
|
783
785
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
784
|
-
var _getCurrentInstance = getCurrentInstance(),
|
786
|
+
var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
|
785
787
|
proxy = _getCurrentInstance.proxy;
|
786
|
-
var states = reactive({
|
788
|
+
var states = (0,external_vue_namespaceObject.reactive)({
|
787
789
|
visible: true
|
788
790
|
});
|
789
|
-
var _toRefs = toRefs(props),
|
791
|
+
var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
|
790
792
|
disabled = _toRefs.disabled,
|
791
793
|
id = _toRefs.id,
|
792
794
|
name = _toRefs.name;
|
793
795
|
// 兼容label
|
794
|
-
var optionName = computed(function () {
|
796
|
+
var optionName = (0,external_vue_namespaceObject.computed)(function () {
|
795
797
|
return name.value !== undefined ? name.value : attrs.label;
|
796
798
|
});
|
797
799
|
// 兼容value
|
798
|
-
var optionID = computed(function () {
|
800
|
+
var optionID = (0,external_vue_namespaceObject.computed)(function () {
|
799
801
|
return id.value !== undefined ? id.value : attrs.value;
|
800
802
|
});
|
801
|
-
var select = inject(selectKey, null);
|
802
|
-
var group = inject(optionGroupKey, null);
|
803
|
-
var selected = computed(function () {
|
803
|
+
var select = (0,external_vue_namespaceObject.inject)(selectKey, null);
|
804
|
+
var group = (0,external_vue_namespaceObject.inject)(optionGroupKey, null);
|
805
|
+
var selected = (0,external_vue_namespaceObject.computed)(function () {
|
804
806
|
var _select$selected;
|
805
807
|
return select === null || select === void 0 || (_select$selected = select.selected) === null || _select$selected === void 0 ? void 0 : _select$selected.some(function (item) {
|
806
808
|
return (0,isEqual_namespaceObject["default"])(item.value, optionID.value);
|
807
809
|
});
|
808
810
|
});
|
809
|
-
var multiple = computed(function () {
|
811
|
+
var multiple = (0,external_vue_namespaceObject.computed)(function () {
|
810
812
|
return select === null || select === void 0 ? void 0 : select.multiple;
|
811
813
|
});
|
812
|
-
var isHover = computed(function () {
|
814
|
+
var isHover = (0,external_vue_namespaceObject.computed)(function () {
|
813
815
|
return (select === null || select === void 0 ? void 0 : select.activeOptionValue) === optionID.value;
|
814
816
|
});
|
815
|
-
var showSelectedIcon = computed(function () {
|
817
|
+
var showSelectedIcon = (0,external_vue_namespaceObject.computed)(function () {
|
816
818
|
return (select === null || select === void 0 ? void 0 : select.showSelectedIcon) && multiple.value;
|
817
819
|
});
|
818
|
-
var selectedStyle = computed(function () {
|
820
|
+
var selectedStyle = (0,external_vue_namespaceObject.computed)(function () {
|
819
821
|
return select === null || select === void 0 ? void 0 : select.selectedStyle;
|
820
822
|
});
|
821
|
-
var searchValue = computed(function () {
|
823
|
+
var searchValue = (0,external_vue_namespaceObject.computed)(function () {
|
822
824
|
return select === null || select === void 0 ? void 0 : select.curSearchValue;
|
823
825
|
});
|
824
|
-
var highlightKeyword = computed(function () {
|
826
|
+
var highlightKeyword = (0,external_vue_namespaceObject.computed)(function () {
|
825
827
|
return select === null || select === void 0 ? void 0 : select.highlightKeyword;
|
826
828
|
});
|
827
829
|
var handleOptionClick = function handleOptionClick() {
|
828
830
|
if (disabled.value) return;
|
829
|
-
select === null || select === void 0
|
831
|
+
select === null || select === void 0 || select.handleOptionSelected(proxy);
|
830
832
|
};
|
831
833
|
var handleMouseEnter = function handleMouseEnter() {
|
832
834
|
select.activeOptionValue = optionID.value;
|
@@ -860,17 +862,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
860
862
|
}
|
861
863
|
return list.length ? list : str;
|
862
864
|
};
|
863
|
-
onBeforeMount(function () {
|
864
|
-
select === null || select === void 0
|
865
|
-
group === null || group === void 0
|
865
|
+
(0,external_vue_namespaceObject.onBeforeMount)(function () {
|
866
|
+
select === null || select === void 0 || select.register(optionID.value, proxy);
|
867
|
+
group === null || group === void 0 || group.register(optionID.value, proxy);
|
866
868
|
});
|
867
|
-
onBeforeUnmount(function () {
|
868
|
-
select === null || select === void 0
|
869
|
-
group === null || group === void 0
|
869
|
+
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
870
|
+
select === null || select === void 0 || select.unregister(optionID.value, proxy);
|
871
|
+
group === null || group === void 0 || group.unregister(optionID.value, proxy);
|
870
872
|
});
|
871
873
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
872
874
|
resolveClassName = _usePrefix.resolveClassName;
|
873
|
-
return _objectSpread(_objectSpread({}, toRefs(states)), {}, {
|
875
|
+
return _objectSpread(_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(states)), {}, {
|
874
876
|
selected: selected,
|
875
877
|
multiple: multiple,
|
876
878
|
isHover: isHover,
|
@@ -1024,10 +1026,10 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
1024
1026
|
groupCollapse: (0,external_vue_namespaceObject.toRef)(states, 'groupCollapse')
|
1025
1027
|
})));
|
1026
1028
|
(0,external_vue_namespaceObject.onBeforeMount)(function () {
|
1027
|
-
select === null || select === void 0
|
1029
|
+
select === null || select === void 0 || select.registerGroup(instance.uid, proxy);
|
1028
1030
|
});
|
1029
1031
|
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
1030
|
-
select === null || select === void 0
|
1032
|
+
select === null || select === void 0 || select.unregisterGroup(instance.uid);
|
1031
1033
|
});
|
1032
1034
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
1033
1035
|
resolveClassName = _usePrefix.resolveClassName;
|
@@ -1038,9 +1040,9 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
1038
1040
|
});
|
1039
1041
|
},
|
1040
1042
|
render: function render() {
|
1041
|
-
var
|
1042
|
-
var groupClass = (0,shared_namespaceObject.classes)((
|
1043
|
-
var groupLabelClass = (0,shared_namespaceObject.classes)((
|
1043
|
+
var _this$$slots$default, _this$$slots;
|
1044
|
+
var groupClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('option-group'), true), "collapsible", this.collapsible), "disabled", this.disabled));
|
1045
|
+
var groupLabelClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, this.resolveClassName('option-group-label'), true), "collapsible", this.collapsible));
|
1044
1046
|
var groupLabelIconClass = (0,shared_namespaceObject.classes)({
|
1045
1047
|
'default-group-label-icon': true,
|
1046
1048
|
collapse: this.groupCollapse
|
@@ -2404,11 +2406,11 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
2404
2406
|
};
|
2405
2407
|
var focus = function focus() {
|
2406
2408
|
var _inputRef$value;
|
2407
|
-
(_inputRef$value = inputRef.value) === null || _inputRef$value === void 0
|
2409
|
+
(_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || _inputRef$value.focus();
|
2408
2410
|
};
|
2409
2411
|
var blur = function blur() {
|
2410
2412
|
var _inputRef$value2;
|
2411
|
-
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0
|
2413
|
+
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || _inputRef$value2.blur();
|
2412
2414
|
};
|
2413
2415
|
var updateModelValue = function updateModelValue(data) {
|
2414
2416
|
emit('update:modelValue', data);
|
@@ -2493,7 +2495,6 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
2493
2495
|
render: function render() {
|
2494
2496
|
var _this$$slots,
|
2495
2497
|
_this$$slots$prefix,
|
2496
|
-
_classes,
|
2497
2498
|
_this$$slots2,
|
2498
2499
|
_this$$slots2$prefix,
|
2499
2500
|
_this$$slots$default,
|
@@ -2503,7 +2504,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
2503
2504
|
_this$$slots5,
|
2504
2505
|
_this$$slots5$suffix;
|
2505
2506
|
var prefix = (_this$$slots = this.$slots) === null || _this$$slots === void 0 || (_this$$slots$prefix = _this$$slots.prefix) === null || _this$$slots$prefix === void 0 ? void 0 : _this$$slots$prefix.call(_this$$slots);
|
2506
|
-
var selectTagClass = (0,shared_namespaceObject.classes)((
|
2507
|
+
var selectTagClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('select-tag'), true), this.resolveClassName('select-tag--default'), true), 'is-disabled', this.disabled), 'collapse-tag', this.collapseTags), 'has-prefix', !!prefix), 'is-simplicity', this.behavior === 'simplicity'));
|
2507
2508
|
var tagWrapperClass = (0,shared_namespaceObject.classes)(_defineProperty({}, this.resolveClassName('select-tag-wrapper'), true));
|
2508
2509
|
var inputStyle = {
|
2509
2510
|
display: this.selected.length && !this.filterable ? 'none' : ''
|
@@ -2572,9 +2573,9 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
2572
2573
|
|
2573
2574
|
|
2574
2575
|
|
2575
|
-
function _createForOfIteratorHelper(
|
2576
|
-
function select_unsupportedIterableToArray(
|
2577
|
-
function select_arrayLikeToArray(
|
2576
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = select_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
2577
|
+
function select_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return select_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return select_arrayLikeToArray(o, minLen); }
|
2578
|
+
function select_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
2578
2579
|
function select_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
2579
2580
|
function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? select_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : select_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
2580
2581
|
/*
|
@@ -2802,14 +2803,14 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
2802
2803
|
handleSetSelectedData();
|
2803
2804
|
if (props.withValidate) {
|
2804
2805
|
var _formItem$validate;
|
2805
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
2806
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
2806
2807
|
}
|
2807
2808
|
}, {
|
2808
2809
|
deep: true
|
2809
2810
|
});
|
2810
2811
|
(0,external_vue_namespaceObject.watch)(selected, function () {
|
2811
2812
|
var _popoverRef$value;
|
2812
|
-
(_popoverRef$value = popoverRef.value) === null || _popoverRef$value === void 0
|
2813
|
+
(_popoverRef$value = popoverRef.value) === null || _popoverRef$value === void 0 || _popoverRef$value.updatePopover(null, popoverConfig.value);
|
2813
2814
|
});
|
2814
2815
|
// list模式下搜索后的值
|
2815
2816
|
var filterList = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -2994,7 +2995,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
2994
2995
|
var _contentRef$value, _contentRef$value$que, _optionsDom$;
|
2995
2996
|
if (isEnableVirtualRender.value || disableScrollToSelectedOption.value) return;
|
2996
2997
|
var optionsDom = (_contentRef$value = contentRef.value) === null || _contentRef$value === void 0 || (_contentRef$value$que = _contentRef$value.querySelectorAll) === null || _contentRef$value$que === void 0 ? void 0 : _contentRef$value$que.call(_contentRef$value, '.is-selected');
|
2997
|
-
optionsDom === null || optionsDom === void 0 || (_optionsDom$ = optionsDom[0]) === null || _optionsDom$ === void 0
|
2998
|
+
optionsDom === null || optionsDom === void 0 || (_optionsDom$ = optionsDom[0]) === null || _optionsDom$ === void 0 || _optionsDom$.scrollIntoView({
|
2998
2999
|
block: 'center'
|
2999
3000
|
});
|
3000
3001
|
};
|
@@ -3167,7 +3168,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3167
3168
|
var clearMultipleInputValue = function clearMultipleInputValue() {
|
3168
3169
|
if (['tag'].includes(multipleMode.value) && isInput.value) {
|
3169
3170
|
var _selectTagInputRef$va;
|
3170
|
-
(_selectTagInputRef$va = selectTagInputRef.value) === null || _selectTagInputRef$va === void 0
|
3171
|
+
(_selectTagInputRef$va = selectTagInputRef.value) === null || _selectTagInputRef$va === void 0 || _selectTagInputRef$va.updateModelValue('');
|
3171
3172
|
}
|
3172
3173
|
};
|
3173
3174
|
// 聚焦输入框
|
@@ -3176,14 +3177,14 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3176
3177
|
setTimeout(function () {
|
3177
3178
|
if (!inputSearch.value && !allowCreate.value) {
|
3178
3179
|
var _searchRef$value;
|
3179
|
-
(_searchRef$value = searchRef.value) === null || _searchRef$value === void 0
|
3180
|
+
(_searchRef$value = searchRef.value) === null || _searchRef$value === void 0 || _searchRef$value.focus();
|
3180
3181
|
} else {
|
3181
3182
|
if (multipleMode.value === 'tag') {
|
3182
3183
|
var _selectTagInputRef$va2;
|
3183
|
-
(_selectTagInputRef$va2 = selectTagInputRef.value) === null || _selectTagInputRef$va2 === void 0
|
3184
|
+
(_selectTagInputRef$va2 = selectTagInputRef.value) === null || _selectTagInputRef$va2 === void 0 || _selectTagInputRef$va2.focus();
|
3184
3185
|
} else {
|
3185
3186
|
var _inputRef$value;
|
3186
|
-
(_inputRef$value = inputRef.value) === null || _inputRef$value === void 0
|
3187
|
+
(_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || _inputRef$value.focus();
|
3187
3188
|
}
|
3188
3189
|
}
|
3189
3190
|
}, 0);
|
@@ -3193,10 +3194,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3193
3194
|
setTimeout(function () {
|
3194
3195
|
if (multipleMode.value === 'tag') {
|
3195
3196
|
var _selectTagInputRef$va3;
|
3196
|
-
(_selectTagInputRef$va3 = selectTagInputRef.value) === null || _selectTagInputRef$va3 === void 0
|
3197
|
+
(_selectTagInputRef$va3 = selectTagInputRef.value) === null || _selectTagInputRef$va3 === void 0 || _selectTagInputRef$va3.blur();
|
3197
3198
|
} else {
|
3198
3199
|
var _inputRef$value2;
|
3199
|
-
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0
|
3200
|
+
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || _inputRef$value2.blur();
|
3200
3201
|
}
|
3201
3202
|
}, 0);
|
3202
3203
|
};
|
@@ -3223,7 +3224,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3223
3224
|
if (option.disabled || tmpSelectedMap.has(option.optionID)) return;
|
3224
3225
|
tmpSelectedMap.set(option.optionID, option.optionName || option.optionID);
|
3225
3226
|
});
|
3226
|
-
(_list$value = list.value) === null || _list$value === void 0
|
3227
|
+
(_list$value = list.value) === null || _list$value === void 0 || _list$value.forEach(function (item) {
|
3227
3228
|
if (item.disabled || tmpSelectedMap.has(item[idKey.value])) return;
|
3228
3229
|
tmpSelectedMap.set(item[idKey.value], item[displayKey.value]);
|
3229
3230
|
});
|
@@ -3361,7 +3362,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3361
3362
|
}
|
3362
3363
|
if (!isInViewPort((_availableOptions$act = availableOptions[activeIndex]) === null || _availableOptions$act === void 0 ? void 0 : _availableOptions$act.$el, contentRef.value)) {
|
3363
3364
|
var _availableOptions$act2;
|
3364
|
-
(_availableOptions$act2 = availableOptions[activeIndex]) === null || _availableOptions$act2 === void 0 || (_availableOptions$act2 = _availableOptions$act2.$el) === null || _availableOptions$act2 === void 0
|
3365
|
+
(_availableOptions$act2 = availableOptions[activeIndex]) === null || _availableOptions$act2 === void 0 || (_availableOptions$act2 = _availableOptions$act2.$el) === null || _availableOptions$act2 === void 0 || _availableOptions$act2.scrollIntoView();
|
3365
3366
|
}
|
3366
3367
|
activeOptionValue.value = (_availableOptions$act3 = availableOptions[activeIndex]) === null || _availableOptions$act3 === void 0 ? void 0 : _availableOptions$act3.optionID;
|
3367
3368
|
break;
|
@@ -3421,7 +3422,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3421
3422
|
});
|
3422
3423
|
var handlePopoverShown = function handlePopoverShown() {
|
3423
3424
|
var _virtualRenderRef$val;
|
3424
|
-
(_virtualRenderRef$val = virtualRenderRef.value) === null || _virtualRenderRef$val === void 0
|
3425
|
+
(_virtualRenderRef$val = virtualRenderRef.value) === null || _virtualRenderRef$val === void 0 || _virtualRenderRef$val.scrollTo(0, 1);
|
3425
3426
|
};
|
3426
3427
|
return {
|
3427
3428
|
t: t,
|
@@ -3491,9 +3492,8 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3491
3492
|
};
|
3492
3493
|
},
|
3493
3494
|
render: function render() {
|
3494
|
-
var
|
3495
|
-
|
3496
|
-
var selectClass = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('select')), true), _defineProperty(_classes, 'popover-show', this.isPopoverShow), _defineProperty(_classes, 'is-disabled', this.isDisabled), _defineProperty(_classes, 'is-focus', this.isFocus), _defineProperty(_classes, 'is-filterable', this.filterable), _defineProperty(_classes, this.size, true), _defineProperty(_classes, this.behavior, true), _classes));
|
3495
|
+
var _this = this;
|
3496
|
+
var selectClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('select')), true), 'popover-show', this.isPopoverShow), 'is-disabled', this.isDisabled), 'is-focus', this.isFocus), 'is-filterable', this.filterable), this.size, true), this.behavior, true));
|
3497
3497
|
// 右侧ICON
|
3498
3498
|
var suffixIcon = function suffixIcon() {
|
3499
3499
|
var _this$$slots, _this$$slots2, _this$$slots2$suffix;
|
@@ -3795,6 +3795,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3795
3795
|
|
3796
3796
|
|
3797
3797
|
|
3798
|
+
|
3798
3799
|
var BkSelect = (0,shared_namespaceObject.withInstallProps)(src_select, {
|
3799
3800
|
Option: src_option,
|
3800
3801
|
Group: optionGroup
|
@@ -3807,4 +3808,5 @@ var __webpack_exports__BkOption = __webpack_exports__.BkOption;
|
|
3807
3808
|
var __webpack_exports__BkOptionGroup = __webpack_exports__.BkOptionGroup;
|
3808
3809
|
var __webpack_exports__BkSelect = __webpack_exports__.BkSelect;
|
3809
3810
|
var __webpack_exports__default = __webpack_exports__["default"];
|
3810
|
-
|
3811
|
+
var __webpack_exports__useHover = __webpack_exports__.useHover;
|
3812
|
+
export { __webpack_exports__BkOption as BkOption, __webpack_exports__BkOptionGroup as BkOptionGroup, __webpack_exports__BkSelect as BkSelect, __webpack_exports__default as default, __webpack_exports__useHover as useHover };
|