bkui-vue 2.0.1 → 2.0.2-beta.2

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.
@@ -7,7 +7,10 @@ import "../checkbox/checkbox.less";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
9
9
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__ from "lodash/isEqual";
10
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
10
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
11
+ import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
12
+ import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
13
+ import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
11
14
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__ from "../input";
12
15
  import "../input/input.less";
13
16
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../loading";
@@ -23,6 +26,611 @@ import "../tag/tag.less";
23
26
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
24
27
  /******/ var __webpack_modules__ = ({
25
28
 
29
+ /***/ 2439:
30
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
31
+
32
+ module.exports = __webpack_require__(2527);
33
+
34
+
35
+ /***/ }),
36
+
37
+ /***/ 7430:
38
+ /***/ ((module) => {
39
+
40
+ /**
41
+ * Copyright (c) 2015, Facebook, Inc.
42
+ * All rights reserved.
43
+ *
44
+ * This source code is licensed under the BSD-style license found in the
45
+ * LICENSE file in the root directory of this source tree. An additional grant
46
+ * of patent rights can be found in the PATENTS file in the same directory.
47
+ *
48
+ * @providesModule ExecutionEnvironment
49
+ */
50
+
51
+ /*jslint evil: true */
52
+
53
+
54
+
55
+ var canUseDOM = !!(
56
+ typeof window !== 'undefined' &&
57
+ window.document &&
58
+ window.document.createElement
59
+ );
60
+
61
+ /**
62
+ * Simple, lightweight module assisting with the detection and context of
63
+ * Worker. Helps avoid circular dependencies and allows code to reason about
64
+ * whether or not they are in a Worker, even if they never include the main
65
+ * `ReactWorker` dependency.
66
+ */
67
+ var ExecutionEnvironment = {
68
+
69
+ canUseDOM: canUseDOM,
70
+
71
+ canUseWorkers: typeof Worker !== 'undefined',
72
+
73
+ canUseEventListeners:
74
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
75
+
76
+ canUseViewport: canUseDOM && !!window.screen,
77
+
78
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
79
+
80
+ };
81
+
82
+ module.exports = ExecutionEnvironment;
83
+
84
+
85
+ /***/ }),
86
+
87
+ /***/ 6377:
88
+ /***/ ((module) => {
89
+
90
+ /**
91
+ * Copyright 2004-present Facebook. All Rights Reserved.
92
+ *
93
+ * @providesModule UserAgent_DEPRECATED
94
+ */
95
+
96
+ /**
97
+ * Provides entirely client-side User Agent and OS detection. You should prefer
98
+ * the non-deprecated UserAgent module when possible, which exposes our
99
+ * authoritative server-side PHP-based detection to the client.
100
+ *
101
+ * Usage is straightforward:
102
+ *
103
+ * if (UserAgent_DEPRECATED.ie()) {
104
+ * // IE
105
+ * }
106
+ *
107
+ * You can also do version checks:
108
+ *
109
+ * if (UserAgent_DEPRECATED.ie() >= 7) {
110
+ * // IE7 or better
111
+ * }
112
+ *
113
+ * The browser functions will return NaN if the browser does not match, so
114
+ * you can also do version compares the other way:
115
+ *
116
+ * if (UserAgent_DEPRECATED.ie() < 7) {
117
+ * // IE6 or worse
118
+ * }
119
+ *
120
+ * Note that the version is a float and may include a minor version number,
121
+ * so you should always use range operators to perform comparisons, not
122
+ * strict equality.
123
+ *
124
+ * **Note:** You should **strongly** prefer capability detection to browser
125
+ * version detection where it's reasonable:
126
+ *
127
+ * http://www.quirksmode.org/js/support.html
128
+ *
129
+ * Further, we have a large number of mature wrapper functions and classes
130
+ * which abstract away many browser irregularities. Check the documentation,
131
+ * grep for things, or ask on javascript@lists.facebook.com before writing yet
132
+ * another copy of "event || window.event".
133
+ *
134
+ */
135
+
136
+ var _populated = false;
137
+
138
+ // Browsers
139
+ var _ie, _firefox, _opera, _webkit, _chrome;
140
+
141
+ // Actual IE browser for compatibility mode
142
+ var _ie_real_version;
143
+
144
+ // Platforms
145
+ var _osx, _windows, _linux, _android;
146
+
147
+ // Architectures
148
+ var _win64;
149
+
150
+ // Devices
151
+ var _iphone, _ipad, _native;
152
+
153
+ var _mobile;
154
+
155
+ function _populate() {
156
+ if (_populated) {
157
+ return;
158
+ }
159
+
160
+ _populated = true;
161
+
162
+ // To work around buggy JS libraries that can't handle multi-digit
163
+ // version numbers, Opera 10's user agent string claims it's Opera
164
+ // 9, then later includes a Version/X.Y field:
165
+ //
166
+ // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
167
+ var uas = navigator.userAgent;
168
+ var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
169
+ var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
170
+
171
+ _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
172
+ _ipad = /\b(iP[ao]d)/.exec(uas);
173
+ _android = /Android/i.exec(uas);
174
+ _native = /FBAN\/\w+;/i.exec(uas);
175
+ _mobile = /Mobile/i.exec(uas);
176
+
177
+ // Note that the IE team blog would have you believe you should be checking
178
+ // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
179
+ // from either x64 or ia64; so ultimately, you should just check for Win64
180
+ // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
181
+ // Windows will send 'WOW64' instead.
182
+ _win64 = !!(/Win64/.exec(uas));
183
+
184
+ if (agent) {
185
+ _ie = agent[1] ? parseFloat(agent[1]) : (
186
+ agent[5] ? parseFloat(agent[5]) : NaN);
187
+ // IE compatibility mode
188
+ if (_ie && document && document.documentMode) {
189
+ _ie = document.documentMode;
190
+ }
191
+ // grab the "true" ie version from the trident token if available
192
+ var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
193
+ _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
194
+
195
+ _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
196
+ _opera = agent[3] ? parseFloat(agent[3]) : NaN;
197
+ _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
198
+ if (_webkit) {
199
+ // We do not add the regexp to the above test, because it will always
200
+ // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
201
+ // the userAgent string.
202
+ agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
203
+ _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
204
+ } else {
205
+ _chrome = NaN;
206
+ }
207
+ } else {
208
+ _ie = _firefox = _opera = _chrome = _webkit = NaN;
209
+ }
210
+
211
+ if (os) {
212
+ if (os[1]) {
213
+ // Detect OS X version. If no version number matches, set _osx to true.
214
+ // Version examples: 10, 10_6_1, 10.7
215
+ // Parses version number as a float, taking only first two sets of
216
+ // digits. If only one set of digits is found, returns just the major
217
+ // version number.
218
+ var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
219
+
220
+ _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
221
+ } else {
222
+ _osx = false;
223
+ }
224
+ _windows = !!os[2];
225
+ _linux = !!os[3];
226
+ } else {
227
+ _osx = _windows = _linux = false;
228
+ }
229
+ }
230
+
231
+ var UserAgent_DEPRECATED = {
232
+
233
+ /**
234
+ * Check if the UA is Internet Explorer.
235
+ *
236
+ *
237
+ * @return float|NaN Version number (if match) or NaN.
238
+ */
239
+ ie: function() {
240
+ return _populate() || _ie;
241
+ },
242
+
243
+ /**
244
+ * Check if we're in Internet Explorer compatibility mode.
245
+ *
246
+ * @return bool true if in compatibility mode, false if
247
+ * not compatibility mode or not ie
248
+ */
249
+ ieCompatibilityMode: function() {
250
+ return _populate() || (_ie_real_version > _ie);
251
+ },
252
+
253
+
254
+ /**
255
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
256
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
257
+ * this when we don't need it -- tracked by #601957.
258
+ */
259
+ ie64: function() {
260
+ return UserAgent_DEPRECATED.ie() && _win64;
261
+ },
262
+
263
+ /**
264
+ * Check if the UA is Firefox.
265
+ *
266
+ *
267
+ * @return float|NaN Version number (if match) or NaN.
268
+ */
269
+ firefox: function() {
270
+ return _populate() || _firefox;
271
+ },
272
+
273
+
274
+ /**
275
+ * Check if the UA is Opera.
276
+ *
277
+ *
278
+ * @return float|NaN Version number (if match) or NaN.
279
+ */
280
+ opera: function() {
281
+ return _populate() || _opera;
282
+ },
283
+
284
+
285
+ /**
286
+ * Check if the UA is WebKit.
287
+ *
288
+ *
289
+ * @return float|NaN Version number (if match) or NaN.
290
+ */
291
+ webkit: function() {
292
+ return _populate() || _webkit;
293
+ },
294
+
295
+ /**
296
+ * For Push
297
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
298
+ */
299
+ safari: function() {
300
+ return UserAgent_DEPRECATED.webkit();
301
+ },
302
+
303
+ /**
304
+ * Check if the UA is a Chrome browser.
305
+ *
306
+ *
307
+ * @return float|NaN Version number (if match) or NaN.
308
+ */
309
+ chrome : function() {
310
+ return _populate() || _chrome;
311
+ },
312
+
313
+
314
+ /**
315
+ * Check if the user is running Windows.
316
+ *
317
+ * @return bool `true' if the user's OS is Windows.
318
+ */
319
+ windows: function() {
320
+ return _populate() || _windows;
321
+ },
322
+
323
+
324
+ /**
325
+ * Check if the user is running Mac OS X.
326
+ *
327
+ * @return float|bool Returns a float if a version number is detected,
328
+ * otherwise true/false.
329
+ */
330
+ osx: function() {
331
+ return _populate() || _osx;
332
+ },
333
+
334
+ /**
335
+ * Check if the user is running Linux.
336
+ *
337
+ * @return bool `true' if the user's OS is some flavor of Linux.
338
+ */
339
+ linux: function() {
340
+ return _populate() || _linux;
341
+ },
342
+
343
+ /**
344
+ * Check if the user is running on an iPhone or iPod platform.
345
+ *
346
+ * @return bool `true' if the user is running some flavor of the
347
+ * iPhone OS.
348
+ */
349
+ iphone: function() {
350
+ return _populate() || _iphone;
351
+ },
352
+
353
+ mobile: function() {
354
+ return _populate() || (_iphone || _ipad || _android || _mobile);
355
+ },
356
+
357
+ nativeApp: function() {
358
+ // webviews inside of the native apps
359
+ return _populate() || _native;
360
+ },
361
+
362
+ android: function() {
363
+ return _populate() || _android;
364
+ },
365
+
366
+ ipad: function() {
367
+ return _populate() || _ipad;
368
+ }
369
+ };
370
+
371
+ module.exports = UserAgent_DEPRECATED;
372
+
373
+
374
+ /***/ }),
375
+
376
+ /***/ 3541:
377
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
378
+
379
+ /**
380
+ * Copyright 2013-2015, Facebook, Inc.
381
+ * All rights reserved.
382
+ *
383
+ * This source code is licensed under the BSD-style license found in the
384
+ * LICENSE file in the root directory of this source tree. An additional grant
385
+ * of patent rights can be found in the PATENTS file in the same directory.
386
+ *
387
+ * @providesModule isEventSupported
388
+ */
389
+
390
+
391
+
392
+ var ExecutionEnvironment = __webpack_require__(7430);
393
+
394
+ var useHasFeature;
395
+ if (ExecutionEnvironment.canUseDOM) {
396
+ useHasFeature =
397
+ document.implementation &&
398
+ document.implementation.hasFeature &&
399
+ // always returns true in newer browsers as per the standard.
400
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
401
+ document.implementation.hasFeature('', '') !== true;
402
+ }
403
+
404
+ /**
405
+ * Checks if an event is supported in the current execution environment.
406
+ *
407
+ * NOTE: This will not work correctly for non-generic events such as `change`,
408
+ * `reset`, `load`, `error`, and `select`.
409
+ *
410
+ * Borrows from Modernizr.
411
+ *
412
+ * @param {string} eventNameSuffix Event name, e.g. "click".
413
+ * @param {?boolean} capture Check if the capture phase is supported.
414
+ * @return {boolean} True if the event is supported.
415
+ * @internal
416
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
417
+ */
418
+ function isEventSupported(eventNameSuffix, capture) {
419
+ if (!ExecutionEnvironment.canUseDOM ||
420
+ capture && !('addEventListener' in document)) {
421
+ return false;
422
+ }
423
+
424
+ var eventName = 'on' + eventNameSuffix;
425
+ var isSupported = eventName in document;
426
+
427
+ if (!isSupported) {
428
+ var element = document.createElement('div');
429
+ element.setAttribute(eventName, 'return;');
430
+ isSupported = typeof element[eventName] === 'function';
431
+ }
432
+
433
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
434
+ // This is the only way to test support for the `wheel` event in IE9+.
435
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
436
+ }
437
+
438
+ return isSupported;
439
+ }
440
+
441
+ module.exports = isEventSupported;
442
+
443
+
444
+ /***/ }),
445
+
446
+ /***/ 2527:
447
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
448
+
449
+ /**
450
+ * Copyright (c) 2015, Facebook, Inc.
451
+ * All rights reserved.
452
+ *
453
+ * This source code is licensed under the BSD-style license found in the
454
+ * LICENSE file in the root directory of this source tree. An additional grant
455
+ * of patent rights can be found in the PATENTS file in the same directory.
456
+ *
457
+ * @providesModule normalizeWheel
458
+ * @typechecks
459
+ */
460
+
461
+
462
+
463
+ var UserAgent_DEPRECATED = __webpack_require__(6377);
464
+
465
+ var isEventSupported = __webpack_require__(3541);
466
+
467
+
468
+ // Reasonable defaults
469
+ var PIXEL_STEP = 10;
470
+ var LINE_HEIGHT = 40;
471
+ var PAGE_HEIGHT = 800;
472
+
473
+ /**
474
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
475
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
476
+ * your questions.
477
+ *
478
+ * If you need to react to the mouse wheel in a predictable way, this code is
479
+ * like your bestest friend. * hugs *
480
+ *
481
+ * As of today, there are 4 DOM event types you can listen to:
482
+ *
483
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
484
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
485
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
486
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
487
+ *
488
+ * So what to do? The is the best:
489
+ *
490
+ * normalizeWheel.getEventType();
491
+ *
492
+ * In your event callback, use this code to get sane interpretation of the
493
+ * deltas. This code will return an object with properties:
494
+ *
495
+ * spinX -- normalized spin speed (use for zoom) - x plane
496
+ * spinY -- " - y plane
497
+ * pixelX -- normalized distance (to pixels) - x plane
498
+ * pixelY -- " - y plane
499
+ *
500
+ * Wheel values are provided by the browser assuming you are using the wheel to
501
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
502
+ * significantly on different platforms and browsers, forgetting that you can
503
+ * scroll at different speeds. Some devices (like trackpads) emit more events
504
+ * at smaller increments with fine granularity, and some emit massive jumps with
505
+ * linear speed or acceleration.
506
+ *
507
+ * This code does its best to normalize the deltas for you:
508
+ *
509
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
510
+ * dragged). This is super useful for zoom support where you want to
511
+ * throw away the chunky scroll steps on the PC and make those equal to
512
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
513
+ * resolve a single slow step on a wheel to 1.
514
+ *
515
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
516
+ * get the crazy differences between browsers, but at least it'll be in
517
+ * pixels!
518
+ *
519
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
520
+ * should translate to positive value zooming IN, negative zooming OUT.
521
+ * This matches the newer 'wheel' event.
522
+ *
523
+ * Why are there spinX, spinY (or pixels)?
524
+ *
525
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
526
+ * with a mouse. It results in side-scrolling in the browser by default.
527
+ *
528
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
529
+ *
530
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
531
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
532
+ * you know.
533
+ *
534
+ * Implementation info:
535
+ *
536
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
537
+ * average mouse:
538
+ *
539
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
540
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
541
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
542
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
543
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
544
+ *
545
+ * On the trackpad:
546
+ *
547
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
548
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
549
+ *
550
+ * On other/older browsers.. it's more complicated as there can be multiple and
551
+ * also missing delta values.
552
+ *
553
+ * The 'wheel' event is more standard:
554
+ *
555
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
556
+ *
557
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
558
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
559
+ * backward compatibility with older events. Those other values help us
560
+ * better normalize spin speed. Example of what the browsers provide:
561
+ *
562
+ * | event.wheelDelta | event.detail
563
+ * ------------------+------------------+--------------
564
+ * Safari v5/OS X | -120 | 0
565
+ * Safari v5/Win7 | -120 | 0
566
+ * Chrome v17/OS X | -120 | 0
567
+ * Chrome v17/Win7 | -120 | 0
568
+ * IE9/Win7 | -120 | undefined
569
+ * Firefox v4/OS X | undefined | 1
570
+ * Firefox v4/Win7 | undefined | 3
571
+ *
572
+ */
573
+ function normalizeWheel(/*object*/ event) /*object*/ {
574
+ var sX = 0, sY = 0, // spinX, spinY
575
+ pX = 0, pY = 0; // pixelX, pixelY
576
+
577
+ // Legacy
578
+ if ('detail' in event) { sY = event.detail; }
579
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
580
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
581
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
582
+
583
+ // side scrolling on FF with DOMMouseScroll
584
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
585
+ sX = sY;
586
+ sY = 0;
587
+ }
588
+
589
+ pX = sX * PIXEL_STEP;
590
+ pY = sY * PIXEL_STEP;
591
+
592
+ if ('deltaY' in event) { pY = event.deltaY; }
593
+ if ('deltaX' in event) { pX = event.deltaX; }
594
+
595
+ if ((pX || pY) && event.deltaMode) {
596
+ if (event.deltaMode == 1) { // delta in LINE units
597
+ pX *= LINE_HEIGHT;
598
+ pY *= LINE_HEIGHT;
599
+ } else { // delta in PAGE units
600
+ pX *= PAGE_HEIGHT;
601
+ pY *= PAGE_HEIGHT;
602
+ }
603
+ }
604
+
605
+ // Fall-back if spin cannot be determined
606
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
607
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
608
+
609
+ return { spinX : sX,
610
+ spinY : sY,
611
+ pixelX : pX,
612
+ pixelY : pY };
613
+ }
614
+
615
+
616
+ /**
617
+ * The best combination if you prefer spinX + spinY normalization. It favors
618
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
619
+ * 'wheel' event, making spin speed determination impossible.
620
+ */
621
+ normalizeWheel.getEventType = function() /*string*/ {
622
+ return (UserAgent_DEPRECATED.firefox())
623
+ ? 'DOMMouseScroll'
624
+ : (isEventSupported('wheel'))
625
+ ? 'wheel'
626
+ : 'mousewheel';
627
+ };
628
+
629
+ module.exports = normalizeWheel;
630
+
631
+
632
+ /***/ }),
633
+
26
634
  /***/ 7609:
27
635
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28
636
 
@@ -444,7 +1052,7 @@ __webpack_require__.d(__webpack_exports__, {
444
1052
  ;// CONCATENATED MODULE: external "../shared"
445
1053
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
446
1054
  var y = x => () => x
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 });
1055
+ 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, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["observerResize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
448
1056
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
449
1057
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
450
1058
  try {
@@ -482,7 +1090,7 @@ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
482
1090
  ;// CONCATENATED MODULE: external "vue"
483
1091
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
484
1092
  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 });
1093
+ 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, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["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, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["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 });
486
1094
  ;// CONCATENATED MODULE: ../../packages/select/src/common.ts
487
1095
 
488
1096
 
@@ -1063,10 +1671,628 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1063
1671
  }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]), [[external_vue_namespaceObject.vShow, !this.groupCollapse]])]), [[external_vue_namespaceObject.vShow, this.visible]]);
1064
1672
  }
1065
1673
  }));
1066
- ;// CONCATENATED MODULE: external "../directives"
1067
- var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1068
- var directives_y = x => () => x
1069
- const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips, ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
1674
+ ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
1675
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_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; } } }; }
1676
+ function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_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 clickoutside_arrayLikeToArray(o, minLen); }
1677
+ function clickoutside_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; }
1678
+ /*
1679
+ * Tencent is pleased to support the open source community by making
1680
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1681
+ *
1682
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1683
+ *
1684
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1685
+ *
1686
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1687
+ *
1688
+ * ---------------------------------------------------
1689
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1690
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1691
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1692
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1693
+ *
1694
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1695
+ * the Software.
1696
+ *
1697
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1698
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1699
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1700
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1701
+ * IN THE SOFTWARE.
1702
+ */
1703
+ var isElement = function isElement(e) {
1704
+ if (typeof Element === 'undefined') return false;
1705
+ return e instanceof Element;
1706
+ };
1707
+ var nodeList = new Map();
1708
+ var startClick;
1709
+ document.addEventListener('mousedown', function (e) {
1710
+ return startClick = e;
1711
+ });
1712
+ document.addEventListener('mouseup', function (e) {
1713
+ var _iterator = _createForOfIteratorHelper(nodeList.values()),
1714
+ _step;
1715
+ try {
1716
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
1717
+ var handlers = _step.value;
1718
+ var _iterator2 = _createForOfIteratorHelper(handlers),
1719
+ _step2;
1720
+ try {
1721
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1722
+ var documentHandler = _step2.value.documentHandler;
1723
+ documentHandler(e, startClick);
1724
+ }
1725
+ } catch (err) {
1726
+ _iterator2.e(err);
1727
+ } finally {
1728
+ _iterator2.f();
1729
+ }
1730
+ }
1731
+ } catch (err) {
1732
+ _iterator.e(err);
1733
+ } finally {
1734
+ _iterator.f();
1735
+ }
1736
+ });
1737
+ function createDocumentHandler(el, binding) {
1738
+ var excludes = [];
1739
+ if (Array.isArray(binding.arg)) {
1740
+ excludes = binding.arg;
1741
+ } else if (isElement(binding.arg)) {
1742
+ excludes.push(binding.arg);
1743
+ }
1744
+ return function (mouseup, mousedown) {
1745
+ var popperRef = binding.instance.popperRef;
1746
+ var mouseUpTarget = mouseup.target;
1747
+ var mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
1748
+ var isBound = !binding || !binding.instance;
1749
+ var isTargetExists = !mouseUpTarget || !mouseDownTarget;
1750
+ var isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
1751
+ var isSelf = el === mouseUpTarget;
1752
+ var isTargetExcluded = excludes.length && excludes.some(function (item) {
1753
+ return item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget);
1754
+ }) || excludes.length && excludes.includes(mouseDownTarget);
1755
+ var isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
1756
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
1757
+ return;
1758
+ }
1759
+ binding.value(mouseup, mousedown);
1760
+ };
1761
+ }
1762
+ var ClickOutside = {
1763
+ beforeMount: function beforeMount(el, binding) {
1764
+ if (!nodeList.has(el)) {
1765
+ nodeList.set(el, []);
1766
+ }
1767
+ nodeList.get(el).push({
1768
+ documentHandler: createDocumentHandler(el, binding),
1769
+ bindingFn: binding.value
1770
+ });
1771
+ },
1772
+ updated: function updated(el, binding) {
1773
+ if (!nodeList.has(el)) {
1774
+ nodeList.set(el, []);
1775
+ }
1776
+ var handlers = nodeList.get(el);
1777
+ var oldHandlerIndex = handlers.findIndex(function (item) {
1778
+ return item.bindingFn === binding.oldValue;
1779
+ });
1780
+ var newHandler = {
1781
+ documentHandler: createDocumentHandler(el, binding),
1782
+ bindingFn: binding.value
1783
+ };
1784
+ if (oldHandlerIndex >= 0) {
1785
+ // replace the old handler to the new handler
1786
+ handlers.splice(oldHandlerIndex, 1, newHandler);
1787
+ } else {
1788
+ handlers.push(newHandler);
1789
+ }
1790
+ },
1791
+ unmounted: function unmounted(el) {
1792
+ // remove all listeners when a component unmounted
1793
+ nodeList["delete"](el);
1794
+ }
1795
+ };
1796
+ ClickOutside.install = function (app) {
1797
+ app.directive('bkTooltips', ClickOutside);
1798
+ };
1799
+ /* harmony default export */ const clickoutside = (ClickOutside);
1800
+ ;// CONCATENATED MODULE: external "../plugin-popover"
1801
+ var plugin_popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1802
+ var plugin_popover_y = x => () => x
1803
+ const plugin_popover_namespaceObject = plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
1804
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
1805
+
1806
+ /*
1807
+ * Tencent is pleased to support the open source community by making
1808
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1809
+ *
1810
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1811
+ *
1812
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1813
+ *
1814
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1815
+ *
1816
+ * ---------------------------------------------------
1817
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1818
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1819
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1820
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1821
+ *
1822
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1823
+ * the Software.
1824
+ *
1825
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1826
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1827
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1828
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1829
+ * IN THE SOFTWARE.
1830
+ */
1831
+
1832
+ var resolveOptions = function resolveOptions(el, binding) {
1833
+ var options = {
1834
+ content: '',
1835
+ target: el
1836
+ };
1837
+ if (_typeof(binding) === 'object') {
1838
+ Object.assign(options, binding);
1839
+ if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
1840
+ Object.assign(options, binding.popoverOption);
1841
+ }
1842
+ } else {
1843
+ options.content = binding;
1844
+ }
1845
+ return options;
1846
+ };
1847
+ var createInstance = function createInstance(el, binding) {
1848
+ var instance = null;
1849
+ var createTimer = null;
1850
+ var hidePopTimer = null;
1851
+ var options = resolveOptions(el, binding);
1852
+ var disabled = options.disabled;
1853
+ if (disabled || instance) {
1854
+ return;
1855
+ }
1856
+ var handleContentEnter = function handleContentEnter() {
1857
+ hidePopTimer && clearTimeout(hidePopTimer);
1858
+ hidePopTimer = null;
1859
+ };
1860
+ var handleContentLeave = function handleContentLeave() {
1861
+ var _instance, _instance2;
1862
+ if (createTimer) {
1863
+ clearTimeout(createTimer);
1864
+ }
1865
+ (_instance = instance) === null || _instance === void 0 || _instance.hide();
1866
+ (_instance2 = instance) === null || _instance2 === void 0 || _instance2.close();
1867
+ instance = null;
1868
+ };
1869
+ var handleMouseEnter = function handleMouseEnter() {
1870
+ handleContentLeave();
1871
+ createTimer && clearTimeout(createTimer);
1872
+ createTimer = setTimeout(function () {
1873
+ var targetOptions = resolveOptions(el, binding);
1874
+ targetOptions.isShow = true;
1875
+ targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.innerText;
1876
+ targetOptions.allowHtml = true;
1877
+ Object.assign(targetOptions, {
1878
+ onContentMouseenter: handleContentEnter,
1879
+ onContentMouseleave: handleContentLeave
1880
+ });
1881
+ instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
1882
+ }, 300);
1883
+ };
1884
+ var handleMouseLeave = function handleMouseLeave() {
1885
+ hidePopTimer = setTimeout(function () {
1886
+ var _instance3, _instance4;
1887
+ if (createTimer) {
1888
+ clearTimeout(createTimer);
1889
+ }
1890
+ (_instance3 = instance) === null || _instance3 === void 0 || _instance3.hide();
1891
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.close();
1892
+ instance = null;
1893
+ }, 120);
1894
+ };
1895
+ el.addEventListener('mouseenter', handleMouseEnter);
1896
+ el.addEventListener('mouseleave', handleMouseLeave);
1897
+ var destroyInstance = function destroyInstance(element) {
1898
+ var _ref, _ref2;
1899
+ handleMouseLeave();
1900
+ (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 || _ref.removeEventListener('mouseenter', handleMouseEnter);
1901
+ (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 || _ref2.removeEventListener('mouseleave', handleMouseLeave);
1902
+ };
1903
+ return {
1904
+ destroyInstance: destroyInstance,
1905
+ instance: instance
1906
+ };
1907
+ };
1908
+ var ellipsis = {
1909
+ mounted: function mounted(el, binding) {
1910
+ createInstance(el, binding);
1911
+ }
1912
+ };
1913
+ /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
1914
+ // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
1915
+ var normalize_wheel = __webpack_require__(2439);
1916
+ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
1917
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
1918
+ /*
1919
+ * Tencent is pleased to support the open source community by making
1920
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1921
+ *
1922
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1923
+ *
1924
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1925
+ *
1926
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1927
+ *
1928
+ * ---------------------------------------------------
1929
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1930
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1931
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1932
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1933
+ *
1934
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1935
+ * the Software.
1936
+ *
1937
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1938
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1939
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1940
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1941
+ * IN THE SOFTWARE.
1942
+ */
1943
+
1944
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
1945
+ var mousewheelHandler = function mousewheelHandler(element, callback) {
1946
+ if (element !== null && element !== void 0 && element.addEventListener) {
1947
+ element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
1948
+ var normalized = normalize_wheel_default()(e);
1949
+ callback === null || callback === void 0 || callback.apply(this, [e, normalized]);
1950
+ });
1951
+ }
1952
+ };
1953
+ var mousewheel = {
1954
+ beforeMount: function beforeMount(el, binding) {
1955
+ mousewheelHandler(el, binding.value);
1956
+ }
1957
+ };
1958
+ /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1959
+ ;// CONCATENATED MODULE: external "@popperjs/core"
1960
+ var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1961
+ var core_y = x => () => x
1962
+ const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
1963
+ ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
1964
+
1965
+
1966
+
1967
+ function tooltips_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; }
1968
+ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? tooltips_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : tooltips_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1969
+ /*
1970
+ * Tencent is pleased to support the open source community by making
1971
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1972
+ *
1973
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1974
+ *
1975
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1976
+ *
1977
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1978
+ *
1979
+ * ---------------------------------------------------
1980
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1981
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1982
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1983
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1984
+ *
1985
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1986
+ * the Software.
1987
+ *
1988
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1989
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1990
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1991
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1992
+ * IN THE SOFTWARE.
1993
+ */
1994
+
1995
+
1996
+
1997
+ var tooltips_nodeList = new WeakMap();
1998
+ var tooltips = {
1999
+ beforeMount: function beforeMount(el, binding) {
2000
+ var opts = getOpts(binding);
2001
+ var trigger = opts.trigger,
2002
+ showOnInit = opts.showOnInit;
2003
+ var popper = renderContent(opts);
2004
+ var delayTimeout = null;
2005
+ if (showOnInit) {
2006
+ (0,external_vue_namespaceObject.nextTick)(function () {
2007
+ show(el);
2008
+ });
2009
+ }
2010
+ if (trigger === 'hover') {
2011
+ var hideTimeout = null;
2012
+ el.addEventListener('mouseenter', function () {
2013
+ delayTimeout = setTimeout(function () {
2014
+ show(el);
2015
+ clearTimeout(hideTimeout);
2016
+ clearTimeout(delayTimeout);
2017
+ }, opts.delay);
2018
+ });
2019
+ popper.addEventListener('mouseenter', function () {
2020
+ clearTimeout(hideTimeout);
2021
+ });
2022
+ el.addEventListener('mouseleave', function () {
2023
+ clearTimeout(delayTimeout);
2024
+ hideTimeout = setTimeout(function () {
2025
+ hide(el);
2026
+ }, 100);
2027
+ });
2028
+ el.addEventListener('click', function () {
2029
+ hide(el);
2030
+ });
2031
+ popper.addEventListener('mouseleave', function () {
2032
+ clearTimeout(delayTimeout);
2033
+ hideTimeout = setTimeout(function () {
2034
+ hide(el);
2035
+ }, 100);
2036
+ });
2037
+ } else if (trigger === 'click') {
2038
+ document.body.addEventListener('click', function (event) {
2039
+ if (el.contains(event.target) && !popper.hasAttribute('data-show')) {
2040
+ delayTimeout = setTimeout(function () {
2041
+ show(el);
2042
+ clearTimeout(delayTimeout);
2043
+ }, opts.delay);
2044
+ } else if (popper.hasAttribute('data-show')) {
2045
+ hide(el);
2046
+ }
2047
+ });
2048
+ }
2049
+ tooltips_nodeList.set(el, {
2050
+ opts: opts,
2051
+ popper: popper,
2052
+ popperInstance: null
2053
+ });
2054
+ },
2055
+ updated: function updated(el, binding) {
2056
+ if (tooltips_nodeList.get(el)) {
2057
+ tooltips_nodeList.get(el).opts = getOpts(binding);
2058
+ }
2059
+ },
2060
+ unmounted: function unmounted(el) {
2061
+ hide(el);
2062
+ tooltips_nodeList["delete"](el);
2063
+ }
2064
+ };
2065
+ /**
2066
+ * 初始化配置
2067
+ * @returns tooltips配置
2068
+ */
2069
+ function initOptions() {
2070
+ var defaultOpts = {
2071
+ arrow: true,
2072
+ disabled: false,
2073
+ trigger: 'hover',
2074
+ theme: 'dark',
2075
+ content: '',
2076
+ showOnInit: false,
2077
+ placement: 'top',
2078
+ distance: 8,
2079
+ extCls: '',
2080
+ sameWidth: false,
2081
+ delay: 0,
2082
+ onShow: function onShow() {},
2083
+ onHide: function onHide() {}
2084
+ };
2085
+ return defaultOpts;
2086
+ }
2087
+ /**
2088
+ * 获取配置
2089
+ * @returns tooltips配置
2090
+ */
2091
+ function getOpts(binding) {
2092
+ var opts = initOptions();
2093
+ if (_typeof(binding.value) === 'object') {
2094
+ Object.assign(opts, binding.value);
2095
+ } else {
2096
+ opts.content = binding.value;
2097
+ }
2098
+ return opts;
2099
+ }
2100
+ /**
2101
+ * 创建tooltips DOM
2102
+ * @param opts
2103
+ * @returns
2104
+ */
2105
+ function renderContext(value, content) {
2106
+ if (typeof value === 'string') {
2107
+ content.innerText = value;
2108
+ } else {
2109
+ // 如果 content 是 Vue 组件的实例,则挂载它
2110
+ var container = document.createElement('div');
2111
+ var vnode = (0,external_vue_namespaceObject.h)(value);
2112
+ (0,external_vue_namespaceObject.render)(vnode, container);
2113
+ content.innerHTML = container.innerHTML;
2114
+ }
2115
+ }
2116
+ function renderContent(opts) {
2117
+ var value = opts.content,
2118
+ hasArrow = opts.arrow,
2119
+ theme = opts.theme,
2120
+ extCls = opts.extCls;
2121
+ var isLight = theme === 'light';
2122
+ var zIndex = shared_namespaceObject.bkZIndexManager.getPopperIndex();
2123
+ var content = document.createElement('div');
2124
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
2125
+ content.className = "".concat((0,shared_namespaceObject.resolveClassName)('popper', prefix), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
2126
+ content.innerText = value;
2127
+ content.style.zIndex = String(zIndex);
2128
+ renderContext(value, content);
2129
+ if (hasArrow) {
2130
+ var arrow = renderArrow();
2131
+ content.appendChild(arrow);
2132
+ }
2133
+ return content;
2134
+ }
2135
+ /**
2136
+ * 渲染箭头dom
2137
+ * @returns arrow DOM
2138
+ */
2139
+ function renderArrow() {
2140
+ var arrow = document.createElement('div');
2141
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
2142
+ arrow.className = (0,shared_namespaceObject.resolveClassName)('popper-arrow', prefix);
2143
+ arrow.setAttribute('data-popper-arrow', '');
2144
+ return arrow;
2145
+ }
2146
+ /**
2147
+ * 创建popper实例
2148
+ * @param el
2149
+ * @param popper
2150
+ * @returns popper实例
2151
+ */
2152
+ function createPopperInstance(el, popper) {
2153
+ var _nodeList$get = tooltips_nodeList.get(el),
2154
+ opts = _nodeList$get.opts;
2155
+ var placement = opts.placement,
2156
+ distance = opts.distance,
2157
+ sameWidth = opts.sameWidth;
2158
+ var popperInstance = (0,core_namespaceObject.createPopper)(el, popper, {
2159
+ placement: placement,
2160
+ modifiers: [{
2161
+ name: 'offset',
2162
+ options: {
2163
+ offset: [0, distance]
2164
+ }
2165
+ }, {
2166
+ name: 'arrow',
2167
+ options: {
2168
+ padding: 5
2169
+ }
2170
+ }].concat(_toConsumableArray(sameWidth ? [{
2171
+ name: 'sameWidth',
2172
+ enabled: true,
2173
+ phase: 'beforeWrite',
2174
+ requires: ['computeStyles'],
2175
+ fn: function fn(_ref) {
2176
+ var state = _ref.state;
2177
+ state.styles.popper.width = "".concat(state.rects.reference.width, "px");
2178
+ },
2179
+ effect: function effect(_ref2) {
2180
+ var state = _ref2.state;
2181
+ state.elements.popper.style.overflowWrap = 'break-word';
2182
+ state.elements.popper.style.width = "".concat(state.elements.reference.offsetWidth, "px");
2183
+ }
2184
+ }] : []))
2185
+ });
2186
+ return popperInstance;
2187
+ }
2188
+ /**
2189
+ * 显示
2190
+ * @param el
2191
+ */
2192
+ function show(el) {
2193
+ var _nodeList$get2 = tooltips_nodeList.get(el),
2194
+ popper = _nodeList$get2.popper,
2195
+ opts = _nodeList$get2.opts;
2196
+ var disabled = opts.disabled,
2197
+ content = opts.content,
2198
+ hasArrow = opts.arrow,
2199
+ onShow = opts.onShow,
2200
+ boundary = opts.boundary,
2201
+ _opts$modifiers = opts.modifiers,
2202
+ modifiers = _opts$modifiers === void 0 ? [] : _opts$modifiers;
2203
+ if (disabled) return;
2204
+ renderContext(content, popper);
2205
+ if (hasArrow) {
2206
+ var arrow = renderArrow();
2207
+ popper.appendChild(arrow);
2208
+ }
2209
+ var container = document.body;
2210
+ if (boundary) {
2211
+ if (boundary === 'parent') {
2212
+ container = el.parentElement;
2213
+ } else if (boundary instanceof HTMLElement) {
2214
+ container = boundary;
2215
+ }
2216
+ }
2217
+ container.appendChild(popper);
2218
+ var popperInstance = createPopperInstance(el, popper);
2219
+ onShow();
2220
+ // Make the tooltip visible
2221
+ popper.setAttribute('data-show', '');
2222
+ // Enable the event listeners
2223
+ popperInstance.setOptions(function (options) {
2224
+ return tooltips_objectSpread(tooltips_objectSpread({}, options), {}, {
2225
+ modifiers: [].concat(_toConsumableArray(options.modifiers), _toConsumableArray(modifiers), [{
2226
+ name: 'eventListeners',
2227
+ enabled: true
2228
+ }])
2229
+ });
2230
+ });
2231
+ // Update its position
2232
+ popperInstance.forceUpdate();
2233
+ tooltips_nodeList.get(el).popperInstance = popperInstance;
2234
+ }
2235
+ /**
2236
+ * 隐藏
2237
+ * @param el
2238
+ */
2239
+ function hide(el) {
2240
+ if (!tooltips_nodeList.get(el)) return;
2241
+ var _nodeList$get3 = tooltips_nodeList.get(el),
2242
+ popper = _nodeList$get3.popper,
2243
+ popperInstance = _nodeList$get3.popperInstance,
2244
+ opts = _nodeList$get3.opts;
2245
+ var onHide = opts.onHide;
2246
+ if (popper && document.body.contains(popper)) {
2247
+ var _popper$parentNode;
2248
+ popper.removeAttribute('data-show');
2249
+ popperInstance === null || popperInstance === void 0 || popperInstance.destroy();
2250
+ popper === null || popper === void 0 || (_popper$parentNode = popper.parentNode) === null || _popper$parentNode === void 0 || _popper$parentNode.removeChild(popper);
2251
+ onHide();
2252
+ }
2253
+ }
2254
+ /* harmony default export */ const src_tooltips = (tooltips);
2255
+ ;// CONCATENATED MODULE: external "../loading"
2256
+ var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
2257
+ var external_loading_y = x => () => x
2258
+ const external_loading_namespaceObject = external_loading_x({ });
2259
+ ;// CONCATENATED MODULE: external "../overflow-title"
2260
+ var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
2261
+ var external_overflow_title_y = x => () => x
2262
+ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
2263
+ ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
2264
+ /*
2265
+ * Tencent is pleased to support the open source community by making
2266
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2267
+ *
2268
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2269
+ *
2270
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2271
+ *
2272
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
2273
+ *
2274
+ * ---------------------------------------------------
2275
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
2276
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
2277
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
2278
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2279
+ *
2280
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
2281
+ * the Software.
2282
+ *
2283
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
2284
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2285
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
2286
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2287
+ * IN THE SOFTWARE.
2288
+ */
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+ // export { createInstance as bkEllipsisInstance } from './ellipsis';
1070
2296
  ;// CONCATENATED MODULE: external "../input"
1071
2297
  var input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1072
2298
  var input_y = x => () => x
@@ -2357,7 +3583,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
2357
3583
  /* harmony default export */ const selectTagInput = ((0,external_vue_namespaceObject.defineComponent)({
2358
3584
  name: 'SelectTagInput',
2359
3585
  directives: {
2360
- bkTooltips: directives_namespaceObject.bkTooltips
3586
+ bkTooltips: src_tooltips
2361
3587
  },
2362
3588
  props: {
2363
3589
  selected: {
@@ -2573,7 +3799,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
2573
3799
 
2574
3800
 
2575
3801
 
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; } } }; }
3802
+ function select_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
3803
  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
3804
  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; }
2579
3805
  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; }
@@ -2627,7 +3853,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
2627
3853
  /* harmony default export */ const src_select = ((0,external_vue_namespaceObject.defineComponent)({
2628
3854
  name: 'Select',
2629
3855
  directives: {
2630
- clickoutside: directives_namespaceObject.clickoutside
3856
+ clickoutside: clickoutside
2631
3857
  },
2632
3858
  props: {
2633
3859
  modelValue: shared_namespaceObject.PropTypes.any,
@@ -3289,7 +4515,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3289
4515
  // 处理options value为对象类型,引用类型变更后,回显不对问题
3290
4516
  var tmpValue = value;
3291
4517
  if (_typeof(tmpValue) === 'object') {
3292
- var _iterator = _createForOfIteratorHelper(optionsMap.value.keys()),
4518
+ var _iterator = select_createForOfIteratorHelper(optionsMap.value.keys()),
3293
4519
  _step;
3294
4520
  try {
3295
4521
  for (_iterator.s(); !(_step = _iterator.n()).done;) {