bkui-vue 2.0.1-beta.111 → 2.0.1-beta.113
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 +16 -16
- package/dist/index.esm.js +21933 -21935
- package/dist/index.umd.js +16 -16
- package/lib/button/index.d.ts +2 -1
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/index.d.ts +6 -6
- package/lib/cascader/index.js +16 -749
- package/lib/color-picker/index.js +8 -254
- package/lib/date-picker/index.d.ts +2 -1
- package/lib/date-picker/index.js +93 -90
- package/lib/directives/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/pagination/index.d.ts +3 -3
- 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 +8 -8
- package/lib/pop-confirm/pop-confirm.d.ts +4 -4
- package/lib/pop-confirm/props.d.ts +1 -1
- package/lib/popover/index.js +1 -1
- package/lib/select/index.d.ts +8 -7
- package/lib/select/index.js +74 -71
- package/lib/select/select.d.ts +2 -2
- package/lib/table/index.d.ts +7 -7
- package/lib/table/table.d.ts +2 -2
- package/lib/table-column/index.js +7 -731
- package/lib/tag-input/index.d.ts +11 -9
- package/lib/tag-input/index.js +125 -119
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/transfer.d.ts +1 -1
- package/package.json +1 -1
package/lib/cascader/index.js
CHANGED
@@ -8,385 +8,14 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from ".
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
10
10
|
import "../popover/popover.less";
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__ from "../select";
|
11
12
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__ from "../tag";
|
12
13
|
import "../tag/tag.less";
|
14
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__ from "../tag-input";
|
13
15
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../checkbox";
|
14
16
|
import "../checkbox/checkbox.less";
|
15
|
-
/******/
|
16
|
-
|
17
|
-
/***/ 7609:
|
18
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
19
|
-
|
20
|
-
var _typeof = (__webpack_require__(7425)["default"]);
|
21
|
-
function _regeneratorRuntime() {
|
22
|
-
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
23
|
-
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
24
|
-
return exports;
|
25
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
26
|
-
var exports = {},
|
27
|
-
Op = Object.prototype,
|
28
|
-
hasOwn = Op.hasOwnProperty,
|
29
|
-
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
30
|
-
obj[key] = desc.value;
|
31
|
-
},
|
32
|
-
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
33
|
-
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
34
|
-
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
35
|
-
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
36
|
-
function define(obj, key, value) {
|
37
|
-
return Object.defineProperty(obj, key, {
|
38
|
-
value: value,
|
39
|
-
enumerable: !0,
|
40
|
-
configurable: !0,
|
41
|
-
writable: !0
|
42
|
-
}), obj[key];
|
43
|
-
}
|
44
|
-
try {
|
45
|
-
define({}, "");
|
46
|
-
} catch (err) {
|
47
|
-
define = function define(obj, key, value) {
|
48
|
-
return obj[key] = value;
|
49
|
-
};
|
50
|
-
}
|
51
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
52
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
53
|
-
generator = Object.create(protoGenerator.prototype),
|
54
|
-
context = new Context(tryLocsList || []);
|
55
|
-
return defineProperty(generator, "_invoke", {
|
56
|
-
value: makeInvokeMethod(innerFn, self, context)
|
57
|
-
}), generator;
|
58
|
-
}
|
59
|
-
function tryCatch(fn, obj, arg) {
|
60
|
-
try {
|
61
|
-
return {
|
62
|
-
type: "normal",
|
63
|
-
arg: fn.call(obj, arg)
|
64
|
-
};
|
65
|
-
} catch (err) {
|
66
|
-
return {
|
67
|
-
type: "throw",
|
68
|
-
arg: err
|
69
|
-
};
|
70
|
-
}
|
71
|
-
}
|
72
|
-
exports.wrap = wrap;
|
73
|
-
var ContinueSentinel = {};
|
74
|
-
function Generator() {}
|
75
|
-
function GeneratorFunction() {}
|
76
|
-
function GeneratorFunctionPrototype() {}
|
77
|
-
var IteratorPrototype = {};
|
78
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
79
|
-
return this;
|
80
|
-
});
|
81
|
-
var getProto = Object.getPrototypeOf,
|
82
|
-
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
83
|
-
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
84
|
-
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
85
|
-
function defineIteratorMethods(prototype) {
|
86
|
-
["next", "throw", "return"].forEach(function (method) {
|
87
|
-
define(prototype, method, function (arg) {
|
88
|
-
return this._invoke(method, arg);
|
89
|
-
});
|
90
|
-
});
|
91
|
-
}
|
92
|
-
function AsyncIterator(generator, PromiseImpl) {
|
93
|
-
function invoke(method, arg, resolve, reject) {
|
94
|
-
var record = tryCatch(generator[method], generator, arg);
|
95
|
-
if ("throw" !== record.type) {
|
96
|
-
var result = record.arg,
|
97
|
-
value = result.value;
|
98
|
-
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
99
|
-
invoke("next", value, resolve, reject);
|
100
|
-
}, function (err) {
|
101
|
-
invoke("throw", err, resolve, reject);
|
102
|
-
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
103
|
-
result.value = unwrapped, resolve(result);
|
104
|
-
}, function (error) {
|
105
|
-
return invoke("throw", error, resolve, reject);
|
106
|
-
});
|
107
|
-
}
|
108
|
-
reject(record.arg);
|
109
|
-
}
|
110
|
-
var previousPromise;
|
111
|
-
defineProperty(this, "_invoke", {
|
112
|
-
value: function value(method, arg) {
|
113
|
-
function callInvokeWithMethodAndArg() {
|
114
|
-
return new PromiseImpl(function (resolve, reject) {
|
115
|
-
invoke(method, arg, resolve, reject);
|
116
|
-
});
|
117
|
-
}
|
118
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
119
|
-
}
|
120
|
-
});
|
121
|
-
}
|
122
|
-
function makeInvokeMethod(innerFn, self, context) {
|
123
|
-
var state = "suspendedStart";
|
124
|
-
return function (method, arg) {
|
125
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
126
|
-
if ("completed" === state) {
|
127
|
-
if ("throw" === method) throw arg;
|
128
|
-
return doneResult();
|
129
|
-
}
|
130
|
-
for (context.method = method, context.arg = arg;;) {
|
131
|
-
var delegate = context.delegate;
|
132
|
-
if (delegate) {
|
133
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
134
|
-
if (delegateResult) {
|
135
|
-
if (delegateResult === ContinueSentinel) continue;
|
136
|
-
return delegateResult;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
140
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
141
|
-
context.dispatchException(context.arg);
|
142
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
143
|
-
state = "executing";
|
144
|
-
var record = tryCatch(innerFn, self, context);
|
145
|
-
if ("normal" === record.type) {
|
146
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
147
|
-
return {
|
148
|
-
value: record.arg,
|
149
|
-
done: context.done
|
150
|
-
};
|
151
|
-
}
|
152
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
153
|
-
}
|
154
|
-
};
|
155
|
-
}
|
156
|
-
function maybeInvokeDelegate(delegate, context) {
|
157
|
-
var methodName = context.method,
|
158
|
-
method = delegate.iterator[methodName];
|
159
|
-
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
160
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
161
|
-
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
162
|
-
var info = record.arg;
|
163
|
-
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
164
|
-
}
|
165
|
-
function pushTryEntry(locs) {
|
166
|
-
var entry = {
|
167
|
-
tryLoc: locs[0]
|
168
|
-
};
|
169
|
-
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
170
|
-
}
|
171
|
-
function resetTryEntry(entry) {
|
172
|
-
var record = entry.completion || {};
|
173
|
-
record.type = "normal", delete record.arg, entry.completion = record;
|
174
|
-
}
|
175
|
-
function Context(tryLocsList) {
|
176
|
-
this.tryEntries = [{
|
177
|
-
tryLoc: "root"
|
178
|
-
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
179
|
-
}
|
180
|
-
function values(iterable) {
|
181
|
-
if (iterable) {
|
182
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
183
|
-
if (iteratorMethod) return iteratorMethod.call(iterable);
|
184
|
-
if ("function" == typeof iterable.next) return iterable;
|
185
|
-
if (!isNaN(iterable.length)) {
|
186
|
-
var i = -1,
|
187
|
-
next = function next() {
|
188
|
-
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
189
|
-
return next.value = undefined, next.done = !0, next;
|
190
|
-
};
|
191
|
-
return next.next = next;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
return {
|
195
|
-
next: doneResult
|
196
|
-
};
|
197
|
-
}
|
198
|
-
function doneResult() {
|
199
|
-
return {
|
200
|
-
value: undefined,
|
201
|
-
done: !0
|
202
|
-
};
|
203
|
-
}
|
204
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
205
|
-
value: GeneratorFunctionPrototype,
|
206
|
-
configurable: !0
|
207
|
-
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
208
|
-
value: GeneratorFunction,
|
209
|
-
configurable: !0
|
210
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
211
|
-
var ctor = "function" == typeof genFun && genFun.constructor;
|
212
|
-
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
213
|
-
}, exports.mark = function (genFun) {
|
214
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
215
|
-
}, exports.awrap = function (arg) {
|
216
|
-
return {
|
217
|
-
__await: arg
|
218
|
-
};
|
219
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
220
|
-
return this;
|
221
|
-
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
222
|
-
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
223
|
-
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
224
|
-
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
225
|
-
return result.done ? result.value : iter.next();
|
226
|
-
});
|
227
|
-
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
228
|
-
return this;
|
229
|
-
}), define(Gp, "toString", function () {
|
230
|
-
return "[object Generator]";
|
231
|
-
}), exports.keys = function (val) {
|
232
|
-
var object = Object(val),
|
233
|
-
keys = [];
|
234
|
-
for (var key in object) keys.push(key);
|
235
|
-
return keys.reverse(), function next() {
|
236
|
-
for (; keys.length;) {
|
237
|
-
var key = keys.pop();
|
238
|
-
if (key in object) return next.value = key, next.done = !1, next;
|
239
|
-
}
|
240
|
-
return next.done = !0, next;
|
241
|
-
};
|
242
|
-
}, exports.values = values, Context.prototype = {
|
243
|
-
constructor: Context,
|
244
|
-
reset: function reset(skipTempReset) {
|
245
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
246
|
-
},
|
247
|
-
stop: function stop() {
|
248
|
-
this.done = !0;
|
249
|
-
var rootRecord = this.tryEntries[0].completion;
|
250
|
-
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
251
|
-
return this.rval;
|
252
|
-
},
|
253
|
-
dispatchException: function dispatchException(exception) {
|
254
|
-
if (this.done) throw exception;
|
255
|
-
var context = this;
|
256
|
-
function handle(loc, caught) {
|
257
|
-
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
258
|
-
}
|
259
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
260
|
-
var entry = this.tryEntries[i],
|
261
|
-
record = entry.completion;
|
262
|
-
if ("root" === entry.tryLoc) return handle("end");
|
263
|
-
if (entry.tryLoc <= this.prev) {
|
264
|
-
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
265
|
-
hasFinally = hasOwn.call(entry, "finallyLoc");
|
266
|
-
if (hasCatch && hasFinally) {
|
267
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
268
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
269
|
-
} else if (hasCatch) {
|
270
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
271
|
-
} else {
|
272
|
-
if (!hasFinally) throw new Error("try statement without catch or finally");
|
273
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
274
|
-
}
|
275
|
-
}
|
276
|
-
}
|
277
|
-
},
|
278
|
-
abrupt: function abrupt(type, arg) {
|
279
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
280
|
-
var entry = this.tryEntries[i];
|
281
|
-
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
282
|
-
var finallyEntry = entry;
|
283
|
-
break;
|
284
|
-
}
|
285
|
-
}
|
286
|
-
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
287
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
288
|
-
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
289
|
-
},
|
290
|
-
complete: function complete(record, afterLoc) {
|
291
|
-
if ("throw" === record.type) throw record.arg;
|
292
|
-
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
293
|
-
},
|
294
|
-
finish: function finish(finallyLoc) {
|
295
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
296
|
-
var entry = this.tryEntries[i];
|
297
|
-
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
298
|
-
}
|
299
|
-
},
|
300
|
-
"catch": function _catch(tryLoc) {
|
301
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
302
|
-
var entry = this.tryEntries[i];
|
303
|
-
if (entry.tryLoc === tryLoc) {
|
304
|
-
var record = entry.completion;
|
305
|
-
if ("throw" === record.type) {
|
306
|
-
var thrown = record.arg;
|
307
|
-
resetTryEntry(entry);
|
308
|
-
}
|
309
|
-
return thrown;
|
310
|
-
}
|
311
|
-
}
|
312
|
-
throw new Error("illegal catch attempt");
|
313
|
-
},
|
314
|
-
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
315
|
-
return this.delegate = {
|
316
|
-
iterator: values(iterable),
|
317
|
-
resultName: resultName,
|
318
|
-
nextLoc: nextLoc
|
319
|
-
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
320
|
-
}
|
321
|
-
}, exports;
|
322
|
-
}
|
323
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
324
|
-
|
325
|
-
/***/ }),
|
326
|
-
|
327
|
-
/***/ 7425:
|
328
|
-
/***/ ((module) => {
|
329
|
-
|
330
|
-
function _typeof(obj) {
|
331
|
-
"@babel/helpers - typeof";
|
332
|
-
|
333
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
334
|
-
return typeof obj;
|
335
|
-
} : function (obj) {
|
336
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
337
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
338
|
-
}
|
339
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
340
|
-
|
341
|
-
/***/ }),
|
342
|
-
|
343
|
-
/***/ 2841:
|
344
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
345
|
-
|
346
|
-
// TODO(Babel 8): Remove this file.
|
347
|
-
|
348
|
-
var runtime = __webpack_require__(7609)();
|
349
|
-
module.exports = runtime;
|
350
|
-
|
351
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
352
|
-
try {
|
353
|
-
regeneratorRuntime = runtime;
|
354
|
-
} catch (accidentalStrictMode) {
|
355
|
-
if (typeof globalThis === "object") {
|
356
|
-
globalThis.regeneratorRuntime = runtime;
|
357
|
-
} else {
|
358
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
359
|
-
}
|
360
|
-
}
|
361
|
-
|
362
|
-
|
363
|
-
/***/ })
|
364
|
-
|
365
|
-
/******/ });
|
366
|
-
/************************************************************************/
|
367
|
-
/******/ // The module cache
|
368
|
-
/******/ var __webpack_module_cache__ = {};
|
369
|
-
/******/
|
370
|
-
/******/ // The require function
|
371
|
-
/******/ function __webpack_require__(moduleId) {
|
372
|
-
/******/ // Check if module is in cache
|
373
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
374
|
-
/******/ if (cachedModule !== undefined) {
|
375
|
-
/******/ return cachedModule.exports;
|
376
|
-
/******/ }
|
377
|
-
/******/ // Create a new module (and put it into the cache)
|
378
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
379
|
-
/******/ // no module.id needed
|
380
|
-
/******/ // no module.loaded needed
|
381
|
-
/******/ exports: {}
|
382
|
-
/******/ };
|
383
|
-
/******/
|
384
|
-
/******/ // Execute the module function
|
385
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
386
|
-
/******/
|
387
|
-
/******/ // Return the exports of the module
|
388
|
-
/******/ return module.exports;
|
389
|
-
/******/ }
|
17
|
+
/******/ // The require scope
|
18
|
+
/******/ var __webpack_require__ = {};
|
390
19
|
/******/
|
391
20
|
/************************************************************************/
|
392
21
|
/******/ /* webpack/runtime/define property getters */
|
@@ -408,8 +37,6 @@ try {
|
|
408
37
|
/******/
|
409
38
|
/************************************************************************/
|
410
39
|
var __webpack_exports__ = {};
|
411
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
412
|
-
(() => {
|
413
40
|
|
414
41
|
// EXPORTS
|
415
42
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -425,7 +52,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
425
52
|
;// CONCATENATED MODULE: external "vue"
|
426
53
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
427
54
|
var external_vue_y = x => () => x
|
428
|
-
const external_vue_namespaceObject = external_vue_x({ ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["
|
55
|
+
const external_vue_namespaceObject = external_vue_x({ ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
429
56
|
;// CONCATENATED MODULE: external "vue-types"
|
430
57
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
431
58
|
var external_vue_types_y = x => () => x
|
@@ -450,6 +77,10 @@ const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
450
77
|
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
451
78
|
var popover_less_y = x => () => x
|
452
79
|
const popover_less_namespaceObject = popover_less_x({ });
|
80
|
+
;// CONCATENATED MODULE: external "../select"
|
81
|
+
var select_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
82
|
+
var select_y = x => () => x
|
83
|
+
const select_namespaceObject = select_x({ ["useHover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover });
|
453
84
|
;// CONCATENATED MODULE: external "../tag"
|
454
85
|
var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
455
86
|
var tag_y = x => () => x
|
@@ -458,372 +89,10 @@ const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE
|
|
458
89
|
var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
459
90
|
var tag_less_y = x => () => x
|
460
91
|
const tag_less_namespaceObject = tag_less_x({ });
|
461
|
-
|
462
|
-
var
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
/*
|
467
|
-
* Tencent is pleased to support the open source community by making
|
468
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
469
|
-
*
|
470
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
471
|
-
*
|
472
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
473
|
-
*
|
474
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
475
|
-
*
|
476
|
-
* ---------------------------------------------------
|
477
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
478
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
479
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
480
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
481
|
-
*
|
482
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
483
|
-
* the Software.
|
484
|
-
*
|
485
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
486
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
487
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
488
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
489
|
-
* IN THE SOFTWARE.
|
490
|
-
*/
|
491
|
-
|
492
|
-
|
493
|
-
var selectKey = Symbol('BkSelect');
|
494
|
-
var optionGroupKey = Symbol('BkOptionGroup');
|
495
|
-
function useHover() {
|
496
|
-
var isHover = (0,external_vue_namespaceObject.ref)(false);
|
497
|
-
var setHover = function setHover() {
|
498
|
-
isHover.value = true;
|
499
|
-
};
|
500
|
-
var cancelHover = function cancelHover() {
|
501
|
-
isHover.value = false;
|
502
|
-
};
|
503
|
-
return {
|
504
|
-
isHover: isHover,
|
505
|
-
setHover: setHover,
|
506
|
-
cancelHover: cancelHover
|
507
|
-
};
|
508
|
-
}
|
509
|
-
function useRegistry(data) {
|
510
|
-
// 注册item
|
511
|
-
var register = function register(key, item) {
|
512
|
-
if (!item) return;
|
513
|
-
return data.value.set(key, item);
|
514
|
-
};
|
515
|
-
// 删除item
|
516
|
-
var unregister = function unregister(key, item) {
|
517
|
-
if (item) {
|
518
|
-
if (data.value.get(key) !== item) return;
|
519
|
-
data.value["delete"](key);
|
520
|
-
} else {
|
521
|
-
data.value["delete"](key);
|
522
|
-
}
|
523
|
-
};
|
524
|
-
return {
|
525
|
-
register: register,
|
526
|
-
unregister: unregister
|
527
|
-
};
|
528
|
-
}
|
529
|
-
function useDebouncedRef(value) {
|
530
|
-
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
|
531
|
-
var timeout;
|
532
|
-
var innerValue = value;
|
533
|
-
return customRef(function (track, trigger) {
|
534
|
-
return {
|
535
|
-
get: function get() {
|
536
|
-
track();
|
537
|
-
return innerValue;
|
538
|
-
},
|
539
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
540
|
-
set: function set(newValue) {
|
541
|
-
clearTimeout(timeout);
|
542
|
-
if (newValue === undefined || newValue === '') {
|
543
|
-
innerValue = newValue;
|
544
|
-
trigger();
|
545
|
-
} else {
|
546
|
-
timeout = setTimeout(function () {
|
547
|
-
innerValue = newValue;
|
548
|
-
trigger();
|
549
|
-
}, delay);
|
550
|
-
}
|
551
|
-
}
|
552
|
-
};
|
553
|
-
});
|
554
|
-
}
|
555
|
-
function usePopover(config, triggerRef) {
|
556
|
-
var popoverMinWidth = config.popoverMinWidth;
|
557
|
-
var observerIns = null;
|
558
|
-
var popperWidth = ref('auto');
|
559
|
-
var isPopoverShow = ref(false);
|
560
|
-
var togglePopover = function togglePopover() {
|
561
|
-
isPopoverShow.value = !isPopoverShow.value;
|
562
|
-
};
|
563
|
-
var hidePopover = function hidePopover() {
|
564
|
-
isPopoverShow.value = false;
|
565
|
-
};
|
566
|
-
var showPopover = function showPopover() {
|
567
|
-
isPopoverShow.value = true;
|
568
|
-
};
|
569
|
-
var triggerRefResize = function triggerRefResize() {
|
570
|
-
var _triggerRef$value;
|
571
|
-
popperWidth.value = Math.max((_triggerRef$value = triggerRef.value) === null || _triggerRef$value === void 0 ? void 0 : _triggerRef$value.offsetWidth, popoverMinWidth);
|
572
|
-
};
|
573
|
-
onMounted(function () {
|
574
|
-
if (!triggerRef.value) return;
|
575
|
-
observerIns = observerResize(triggerRef.value, triggerRefResize, 60, true);
|
576
|
-
observerIns.start();
|
577
|
-
});
|
578
|
-
onBeforeUnmount(function () {
|
579
|
-
var _observerIns;
|
580
|
-
(_observerIns = observerIns) === null || _observerIns === void 0 ? void 0 : _observerIns.stop();
|
581
|
-
observerIns = null;
|
582
|
-
});
|
583
|
-
return {
|
584
|
-
isPopoverShow: isPopoverShow,
|
585
|
-
popperWidth: popperWidth,
|
586
|
-
togglePopover: togglePopover,
|
587
|
-
hidePopover: hidePopover,
|
588
|
-
showPopover: showPopover
|
589
|
-
};
|
590
|
-
}
|
591
|
-
function useRemoteSearch(method, callBack) {
|
592
|
-
var customOptionName = useDebouncedRef(''); // 自定义创建选项(自定义创建也会触发搜索)
|
593
|
-
var searchValue = useDebouncedRef('');
|
594
|
-
var curSearchValue = computed(function () {
|
595
|
-
return searchValue.value || customOptionName.value;
|
596
|
-
});
|
597
|
-
var searchLoading = ref(false);
|
598
|
-
watch(curSearchValue, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
599
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
600
|
-
while (1) switch (_context.prev = _context.next) {
|
601
|
-
case 0:
|
602
|
-
_context.prev = 0;
|
603
|
-
searchLoading.value = true;
|
604
|
-
_context.next = 4;
|
605
|
-
return method(curSearchValue.value);
|
606
|
-
case 4:
|
607
|
-
searchLoading.value = false;
|
608
|
-
_context.next = 10;
|
609
|
-
break;
|
610
|
-
case 7:
|
611
|
-
_context.prev = 7;
|
612
|
-
_context.t0 = _context["catch"](0);
|
613
|
-
console.error(_context.t0);
|
614
|
-
case 10:
|
615
|
-
_context.prev = 10;
|
616
|
-
callBack === null || callBack === void 0 ? void 0 : callBack();
|
617
|
-
return _context.finish(10);
|
618
|
-
case 13:
|
619
|
-
case "end":
|
620
|
-
return _context.stop();
|
621
|
-
}
|
622
|
-
}, _callee, null, [[0, 7, 10, 13]]);
|
623
|
-
})));
|
624
|
-
return {
|
625
|
-
customOptionName: customOptionName,
|
626
|
-
searchValue: searchValue,
|
627
|
-
curSearchValue: curSearchValue,
|
628
|
-
searchLoading: searchLoading
|
629
|
-
};
|
630
|
-
}
|
631
|
-
function toLowerCase() {
|
632
|
-
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
633
|
-
if (!value) return value;
|
634
|
-
return String(value).trim().toLowerCase();
|
635
|
-
}
|
636
|
-
function isInViewPort(el, client) {
|
637
|
-
if (!el || !client) return true;
|
638
|
-
var _el$getBoundingClient = el.getBoundingClientRect(),
|
639
|
-
elTop = _el$getBoundingClient.top,
|
640
|
-
elBottom = _el$getBoundingClient.bottom;
|
641
|
-
var _client$getBoundingCl = client.getBoundingClientRect(),
|
642
|
-
clientTop = _client$getBoundingCl.top,
|
643
|
-
clientBottom = _client$getBoundingCl.bottom;
|
644
|
-
return elTop >= clientTop && elBottom <= clientBottom;
|
645
|
-
}
|
646
|
-
;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
|
647
|
-
|
648
|
-
|
649
|
-
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; }
|
650
|
-
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; }
|
651
|
-
/*
|
652
|
-
* Tencent is pleased to support the open source community by making
|
653
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
654
|
-
*
|
655
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
656
|
-
*
|
657
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
658
|
-
*
|
659
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
660
|
-
*
|
661
|
-
* ---------------------------------------------------
|
662
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
663
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
664
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
665
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
666
|
-
*
|
667
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
668
|
-
* the Software.
|
669
|
-
*
|
670
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
671
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
672
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
673
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
674
|
-
* IN THE SOFTWARE.
|
675
|
-
*/
|
676
|
-
|
677
|
-
var INPUT_MIN_WIDTH = 10;
|
678
|
-
function common_useDebouncedRef(value) {
|
679
|
-
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
|
680
|
-
var timeout;
|
681
|
-
var innerValue = value;
|
682
|
-
return customRef(function (track, trigger) {
|
683
|
-
return {
|
684
|
-
get: function get() {
|
685
|
-
track();
|
686
|
-
return innerValue;
|
687
|
-
},
|
688
|
-
set: function set(newValue) {
|
689
|
-
clearTimeout(timeout);
|
690
|
-
timeout = setTimeout(function () {
|
691
|
-
innerValue = newValue;
|
692
|
-
trigger();
|
693
|
-
}, delay);
|
694
|
-
}
|
695
|
-
};
|
696
|
-
});
|
697
|
-
}
|
698
|
-
function usePage(pageSize) {
|
699
|
-
var state = reactive({
|
700
|
-
curPage: 1,
|
701
|
-
totalSize: 0,
|
702
|
-
totalPage: 0,
|
703
|
-
pageSize: pageSize,
|
704
|
-
isPageLoading: false,
|
705
|
-
curPageList: [],
|
706
|
-
renderListPaged: []
|
707
|
-
});
|
708
|
-
// 初始化分页信息
|
709
|
-
var initPage = function initPage() {
|
710
|
-
var _state$renderListPage, _state$curPageList;
|
711
|
-
var allList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
712
|
-
state.curPage = 1;
|
713
|
-
state.totalSize = allList.length;
|
714
|
-
state.totalPage = Math.ceil(state.totalSize / state.pageSize) || 1;
|
715
|
-
var list = [];
|
716
|
-
// 小于等于0会无限循环
|
717
|
-
if (state.pageSize > 0) {
|
718
|
-
for (var i = 0; i < state.totalSize; i += state.pageSize) {
|
719
|
-
list.push(allList.slice(i, i + state.pageSize));
|
720
|
-
}
|
721
|
-
}
|
722
|
-
(_state$renderListPage = state.renderListPaged).splice.apply(_state$renderListPage, [0, state.renderListPaged.length].concat(list));
|
723
|
-
(_state$curPageList = state.curPageList).splice.apply(_state$curPageList, [0, state.curPageList.length].concat(_toConsumableArray(state.renderListPaged[state.curPage - 1] || [])));
|
724
|
-
};
|
725
|
-
var pageChange = function pageChange(page) {
|
726
|
-
var _state$curPageList2;
|
727
|
-
state.curPage = page;
|
728
|
-
(_state$curPageList2 = state.curPageList).splice.apply(_state$curPageList2, [state.curPageList.length, 0].concat(_toConsumableArray(state.renderListPaged[state.curPage - 1] || [])));
|
729
|
-
state.isPageLoading = false;
|
730
|
-
};
|
731
|
-
return {
|
732
|
-
pageState: state,
|
733
|
-
initPage: initPage,
|
734
|
-
pageChange: pageChange
|
735
|
-
};
|
736
|
-
}
|
737
|
-
function useFlatList(props) {
|
738
|
-
var _toRefs = toRefs(props),
|
739
|
-
useGroup = _toRefs.useGroup,
|
740
|
-
saveKey = _toRefs.saveKey,
|
741
|
-
displayKey = _toRefs.displayKey,
|
742
|
-
list = _toRefs.list;
|
743
|
-
var flatList = ref([]);
|
744
|
-
var saveKeyMap = ref({});
|
745
|
-
watch([useGroup, saveKey, displayKey, list], function () {
|
746
|
-
flatList.value = [];
|
747
|
-
var formatList = markRaw(list.value);
|
748
|
-
if (useGroup.value) {
|
749
|
-
formatList = formatList.reduce(function (formatList, item) {
|
750
|
-
var children = [];
|
751
|
-
if (item.children) {
|
752
|
-
children = item.children.map(function (child) {
|
753
|
-
return _objectSpread({
|
754
|
-
group: {
|
755
|
-
groupId: item[saveKey.value],
|
756
|
-
groupName: item[displayKey.value]
|
757
|
-
}
|
758
|
-
}, child);
|
759
|
-
});
|
760
|
-
}
|
761
|
-
return formatList.concat(children);
|
762
|
-
}, []);
|
763
|
-
}
|
764
|
-
flatList.value = formatList;
|
765
|
-
saveKeyMap.value = formatList.reduce(function (acc, item) {
|
766
|
-
acc[item[saveKey.value]] = item;
|
767
|
-
return acc;
|
768
|
-
}, {});
|
769
|
-
}, {
|
770
|
-
immediate: true,
|
771
|
-
deep: true
|
772
|
-
});
|
773
|
-
return {
|
774
|
-
flatList: flatList,
|
775
|
-
saveKeyMap: saveKeyMap
|
776
|
-
};
|
777
|
-
}
|
778
|
-
/**
|
779
|
-
* 获取字符长度,汉字两个字节
|
780
|
-
* @param str 需要计算长度的字符
|
781
|
-
* @returns 字符长度
|
782
|
-
*/
|
783
|
-
var getCharLength = function getCharLength(str) {
|
784
|
-
var len = str.length;
|
785
|
-
var bitLen = 0;
|
786
|
-
for (var i = 0; i < len; i++) {
|
787
|
-
if ((str.charCodeAt(i) & 0xff00) !== 0) {
|
788
|
-
bitLen += 1;
|
789
|
-
}
|
790
|
-
bitLen += 1;
|
791
|
-
}
|
792
|
-
return bitLen;
|
793
|
-
};
|
794
|
-
/**
|
795
|
-
* 获取隐藏 tag index
|
796
|
-
* @param tagInputRef 组件容器 ref
|
797
|
-
* @param collapseTags 是否折叠 tags
|
798
|
-
* @param selectedTagList 已选择 tags
|
799
|
-
*/
|
800
|
-
var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, selectedTagList) {
|
801
|
-
(0,external_vue_namespaceObject.watch)([selectedTagList, collapseTags], function () {
|
802
|
-
calcOverflow();
|
803
|
-
}, {
|
804
|
-
flush: 'post'
|
805
|
-
});
|
806
|
-
var overflowTagIndex = (0,external_vue_namespaceObject.ref)(null);
|
807
|
-
// 计算出现换行的索引
|
808
|
-
var calcOverflow = function calcOverflow() {
|
809
|
-
if (!collapseTags.value) return;
|
810
|
-
overflowTagIndex.value = null;
|
811
|
-
setTimeout(function () {
|
812
|
-
var tags = Array.from(tagInputRef.value.querySelectorAll('.tag-item'));
|
813
|
-
var tagIndexInSecondRow = tags.findIndex(function (currentTag, index) {
|
814
|
-
if (!index) {
|
815
|
-
return false;
|
816
|
-
}
|
817
|
-
var previousTag = tags[index - 1];
|
818
|
-
return previousTag.offsetTop !== currentTag.offsetTop;
|
819
|
-
});
|
820
|
-
overflowTagIndex.value = tagIndexInSecondRow > 0 ? tagIndexInSecondRow - 1 : null;
|
821
|
-
});
|
822
|
-
};
|
823
|
-
return {
|
824
|
-
overflowTagIndex: overflowTagIndex
|
825
|
-
};
|
826
|
-
};
|
92
|
+
;// CONCATENATED MODULE: external "../tag-input"
|
93
|
+
var tag_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
94
|
+
var tag_input_y = x => () => x
|
95
|
+
const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow });
|
827
96
|
;// CONCATENATED MODULE: external "../checkbox"
|
828
97
|
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
829
98
|
var checkbox_y = x => () => x
|
@@ -1695,7 +964,7 @@ var Store = /*#__PURE__*/function () {
|
|
1695
964
|
var separator = props.separator,
|
1696
965
|
multiple = props.multiple;
|
1697
966
|
// 用useHover自定义hook来处理鼠标hover状态
|
1698
|
-
var _useHover = useHover(),
|
967
|
+
var _useHover = (0,select_namespaceObject.useHover)(),
|
1699
968
|
isHover = _useHover.isHover,
|
1700
969
|
setHover = _useHover.setHover,
|
1701
970
|
cancelHover = _useHover.cancelHover;
|
@@ -1914,7 +1183,7 @@ var Store = /*#__PURE__*/function () {
|
|
1914
1183
|
// 如果使用了trigger插槽,则不存在bkCascaderRef,做兼容处理
|
1915
1184
|
var _ref2 = slots.trigger ? {
|
1916
1185
|
overflowTagIndex: null
|
1917
|
-
} : useTagsOverflow(bkCascaderRef, isEditMode, tagList),
|
1186
|
+
} : (0,tag_input_namespaceObject.useTagsOverflow)(bkCascaderRef, isEditMode, tagList),
|
1918
1187
|
overflowTagIndex = _ref2.overflowTagIndex;
|
1919
1188
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
1920
1189
|
resolveClassName = _usePrefix.resolveClassName;
|
@@ -2029,8 +1298,8 @@ var Store = /*#__PURE__*/function () {
|
|
2029
1298
|
"disabled": _this.disabled,
|
2030
1299
|
"offset": 4,
|
2031
1300
|
"placement": "bottom-start",
|
2032
|
-
"theme": "light ".concat(_this.resolveClassName('cascader-popover')),
|
2033
1301
|
"referenceCls": _this.resolveClassName('cascader-popover-reference'),
|
1302
|
+
"theme": "light ".concat(_this.resolveClassName('cascader-popover')),
|
2034
1303
|
"trigger": "click",
|
2035
1304
|
"onAfterHidden": _this.popoverChangeEmitter,
|
2036
1305
|
"onAfterShow": _this.popoverChangeEmitter
|
@@ -2133,8 +1402,6 @@ var BkCascader = (0,shared_namespaceObject.withInstallProps)(cascader, {
|
|
2133
1402
|
});
|
2134
1403
|
/* harmony default export */ const src = (BkCascader);
|
2135
1404
|
|
2136
|
-
})();
|
2137
|
-
|
2138
1405
|
var __webpack_exports__BkCascader = __webpack_exports__.BkCascader;
|
2139
1406
|
var __webpack_exports__BkCascaderPanel = __webpack_exports__.BkCascaderPanel;
|
2140
1407
|
var __webpack_exports__default = __webpack_exports__["default"];
|