bkui-vue 2.0.2-beta.2 → 2.0.2-beta.21

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.
Files changed (187) hide show
  1. package/dist/index.cjs.js +159 -133
  2. package/dist/index.esm.js +21564 -17815
  3. package/dist/index.umd.js +159 -133
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +30 -22
  7. package/lib/alert/index.js +30 -22
  8. package/lib/animate-number/index.js +14 -10
  9. package/lib/backtop/index.js +32 -22
  10. package/lib/badge/index.js +24 -18
  11. package/lib/breadcrumb/index.js +31 -23
  12. package/lib/button/index.js +36 -26
  13. package/lib/card/index.js +47 -33
  14. package/lib/cascader/cascader.d.ts +1 -0
  15. package/lib/cascader/index.d.ts +3 -0
  16. package/lib/cascader/index.js +725 -654
  17. package/lib/checkbox/index.js +45 -35
  18. package/lib/code-diff/index.js +83 -79
  19. package/lib/collapse/index.js +39 -33
  20. package/lib/collapse-transition/index.js +20 -14
  21. package/lib/color-picker/index.js +618 -598
  22. package/lib/components.d.ts +1 -2
  23. package/lib/components.js +1 -2
  24. package/lib/config-provider/index.js +34 -26
  25. package/lib/container/index.js +27 -21
  26. package/lib/date-picker/date-picker.css +220 -4
  27. package/lib/date-picker/date-picker.less +5 -5
  28. package/lib/date-picker/date-picker.variable.css +237 -21
  29. package/lib/date-picker/index.js +650 -624
  30. package/lib/dialog/index.js +101 -87
  31. package/lib/directives/index.js +446 -434
  32. package/lib/divider/index.js +21 -15
  33. package/lib/dropdown/index.js +43 -31
  34. package/lib/exception/index.js +55 -49
  35. package/lib/fixed-navbar/index.js +20 -14
  36. package/lib/form/form-item.d.ts +16 -0
  37. package/lib/form/index.d.ts +11 -0
  38. package/lib/form/index.js +646 -614
  39. package/lib/icon/angle-double-down-line.js +14 -12
  40. package/lib/icon/angle-double-left-line.js +14 -12
  41. package/lib/icon/angle-double-left.js +14 -12
  42. package/lib/icon/angle-double-right-line.js +14 -12
  43. package/lib/icon/angle-double-right.js +14 -12
  44. package/lib/icon/angle-double-up-line.js +14 -12
  45. package/lib/icon/angle-down-fill.js +14 -12
  46. package/lib/icon/angle-down-line.js +14 -12
  47. package/lib/icon/angle-down.js +14 -12
  48. package/lib/icon/angle-left.js +14 -12
  49. package/lib/icon/angle-right.js +14 -12
  50. package/lib/icon/angle-up-fill.js +14 -12
  51. package/lib/icon/angle-up.js +14 -12
  52. package/lib/icon/archive-fill.js +14 -12
  53. package/lib/icon/arrows-left.js +14 -12
  54. package/lib/icon/arrows-right.js +14 -12
  55. package/lib/icon/assistant.js +14 -12
  56. package/lib/icon/audio-fill.js +14 -12
  57. package/lib/icon/bk.js +14 -12
  58. package/lib/icon/circle.js +14 -12
  59. package/lib/icon/close-line.js +14 -12
  60. package/lib/icon/close.js +14 -12
  61. package/lib/icon/code.js +14 -12
  62. package/lib/icon/cog-shape.js +14 -12
  63. package/lib/icon/collapse-left.js +14 -12
  64. package/lib/icon/copy-shape.js +14 -12
  65. package/lib/icon/copy.js +14 -12
  66. package/lib/icon/data-shape.js +14 -12
  67. package/lib/icon/del.js +14 -12
  68. package/lib/icon/doc-fill.js +14 -12
  69. package/lib/icon/done.js +14 -12
  70. package/lib/icon/down-shape.js +14 -12
  71. package/lib/icon/down-small.js +14 -12
  72. package/lib/icon/edit-line.js +14 -12
  73. package/lib/icon/ellipsis.js +14 -12
  74. package/lib/icon/enlarge-line.js +14 -12
  75. package/lib/icon/error.js +14 -12
  76. package/lib/icon/excel-fill.js +14 -12
  77. package/lib/icon/exclamation-circle-shape.js +14 -12
  78. package/lib/icon/eye.js +14 -12
  79. package/lib/icon/filliscreen-line.js +14 -12
  80. package/lib/icon/fix-line.js +14 -12
  81. package/lib/icon/fix-shape.js +14 -12
  82. package/lib/icon/folder-open.js +14 -12
  83. package/lib/icon/folder-shape-open.js +14 -12
  84. package/lib/icon/folder-shape.js +14 -12
  85. package/lib/icon/folder.js +14 -12
  86. package/lib/icon/funnel.js +14 -12
  87. package/lib/icon/grag-fill.js +14 -12
  88. package/lib/icon/help-document-fill.js +14 -12
  89. package/lib/icon/help-fill.js +14 -12
  90. package/lib/icon/help.js +14 -12
  91. package/lib/icon/image-fill.js +14 -12
  92. package/lib/icon/img-error.js +14 -12
  93. package/lib/icon/img-placehoulder.js +14 -12
  94. package/lib/icon/info-line.js +14 -12
  95. package/lib/icon/info.js +14 -12
  96. package/lib/icon/left-shape.js +14 -12
  97. package/lib/icon/left-turn-line.js +14 -12
  98. package/lib/icon/loading.js +14 -12
  99. package/lib/icon/narrow-line.js +14 -12
  100. package/lib/icon/original.js +14 -12
  101. package/lib/icon/pdf-fill.js +14 -12
  102. package/lib/icon/play-shape.js +14 -12
  103. package/lib/icon/plus.js +14 -12
  104. package/lib/icon/ppt-fill.js +14 -12
  105. package/lib/icon/qq.js +14 -12
  106. package/lib/icon/right-shape.js +14 -12
  107. package/lib/icon/right-turn-line.js +14 -12
  108. package/lib/icon/search.js +14 -12
  109. package/lib/icon/share.js +14 -12
  110. package/lib/icon/spinner.js +14 -12
  111. package/lib/icon/success.js +14 -12
  112. package/lib/icon/switcher-loading.js +14 -12
  113. package/lib/icon/text-all.js +14 -12
  114. package/lib/icon/text-file.js +14 -12
  115. package/lib/icon/text-fill.js +14 -12
  116. package/lib/icon/transfer.js +14 -12
  117. package/lib/icon/tree-application-shape.js +14 -12
  118. package/lib/icon/unfull-screen.js +14 -12
  119. package/lib/icon/unvisible.js +14 -12
  120. package/lib/icon/up-shape.js +14 -12
  121. package/lib/icon/upload.js +14 -12
  122. package/lib/icon/video-fill.js +14 -12
  123. package/lib/icon/warn.js +14 -12
  124. package/lib/icon/weixin-pro.js +14 -12
  125. package/lib/icon/weixin.js +14 -12
  126. package/lib/image/index.js +343 -330
  127. package/lib/index.d.ts +0 -1
  128. package/lib/index.js +1 -2
  129. package/lib/info-box/index.js +101 -87
  130. package/lib/input/index.d.ts +19 -0
  131. package/lib/input/index.js +347 -332
  132. package/lib/input/input.d.ts +15 -1
  133. package/lib/link/index.js +26 -18
  134. package/lib/loading/index.js +25 -19
  135. package/lib/locale/index.js +3 -3
  136. package/lib/menu/index.js +40 -32
  137. package/lib/message/index.js +48 -42
  138. package/lib/modal/index.js +41 -30
  139. package/lib/navigation/index.js +27 -19
  140. package/lib/notify/index.js +37 -27
  141. package/lib/overflow-title/index.js +41 -29
  142. package/lib/pagination/index.js +62 -46
  143. package/lib/pop-confirm/index.d.ts +600 -2
  144. package/lib/pop-confirm/index.js +69 -41
  145. package/lib/pop-confirm/pop-confirm.d.ts +297 -1
  146. package/lib/pop-confirm/props.d.ts +146 -0
  147. package/lib/popover/index.js +365 -351
  148. package/lib/popover2/index.js +14 -10
  149. package/lib/process/index.js +78 -74
  150. package/lib/progress/index.js +26 -20
  151. package/lib/radio/index.js +39 -31
  152. package/lib/rate/index.js +25 -19
  153. package/lib/resize-layout/index.js +30 -22
  154. package/lib/scrollbar/index.js +25 -25
  155. package/lib/search-select/index.js +437 -423
  156. package/lib/select/index.d.ts +19 -0
  157. package/lib/select/index.js +499 -458
  158. package/lib/select/select.d.ts +10 -0
  159. package/lib/shared/index.js +57 -49
  160. package/lib/sideslider/index.js +89 -79
  161. package/lib/slider/index.js +87 -76
  162. package/lib/steps/index.js +78 -72
  163. package/lib/swiper/index.js +24 -18
  164. package/lib/switcher/index.js +30 -22
  165. package/lib/tab/index.js +338 -327
  166. package/lib/table/index.js +566 -516
  167. package/lib/table-column/index.js +13 -9
  168. package/lib/tag/index.js +36 -26
  169. package/lib/tag-input/index.js +377 -359
  170. package/lib/time-picker/index.js +13 -9
  171. package/lib/timeline/index.js +21 -15
  172. package/lib/transfer/index.js +56 -40
  173. package/lib/tree/index.d.ts +4 -0
  174. package/lib/tree/index.js +17492 -133
  175. package/lib/tree/props.d.ts +1 -0
  176. package/lib/tree/tree.css +46 -0
  177. package/lib/tree/tree.d.ts +2 -0
  178. package/lib/tree/tree.less +57 -2
  179. package/lib/tree/tree.variable.css +46 -0
  180. package/lib/tree/use-node-action.d.ts +2 -2
  181. package/lib/upload/index.js +584 -572
  182. package/lib/virtual-render/index.js +55 -43
  183. package/package.json +1 -1
  184. package/lib/plugin-popover/index.d.ts +0 -27
  185. package/lib/plugin-popover/index.js +0 -65
  186. package/lib/plugins/index.d.ts +0 -1
  187. package/lib/plugins/index.js +0 -64
@@ -1,6 +1,6 @@
1
1
  import "../styles/reset.css";
2
2
  import "./cascader.less";
3
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
@@ -9,7 +9,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
9
9
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
10
10
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
11
11
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
12
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
13
12
  import "../popover/popover.less";
14
13
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__ from "../select";
15
14
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__ from "../tag";
@@ -19,7 +18,181 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../
19
18
  import "../checkbox/checkbox.less";
20
19
  /******/ var __webpack_modules__ = ({
21
20
 
22
- /***/ 5235:
21
+ /***/ 205:
22
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
23
+
24
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25
+ /* harmony export */ "default": () => (/* binding */ toPropertyKey)
26
+ /* harmony export */ });
27
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
28
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
29
+
30
+
31
+ function toPropertyKey(t) {
32
+ var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
33
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
34
+ }
35
+
36
+ /***/ }),
37
+
38
+ /***/ 592:
39
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
40
+
41
+ var x = (y) => {
42
+ var x = {}; __webpack_require__.d(x, y); return x
43
+ }
44
+ var y = (x) => (() => (x))
45
+ module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
46
+
47
+ /***/ }),
48
+
49
+ /***/ 1043:
50
+ /***/ ((module) => {
51
+
52
+ /**
53
+ * Copyright (c) 2015, Facebook, Inc.
54
+ * All rights reserved.
55
+ *
56
+ * This source code is licensed under the BSD-style license found in the
57
+ * LICENSE file in the root directory of this source tree. An additional grant
58
+ * of patent rights can be found in the PATENTS file in the same directory.
59
+ *
60
+ * @providesModule ExecutionEnvironment
61
+ */
62
+
63
+ /*jslint evil: true */
64
+
65
+
66
+
67
+ var canUseDOM = !!(
68
+ typeof window !== 'undefined' &&
69
+ window.document &&
70
+ window.document.createElement
71
+ );
72
+
73
+ /**
74
+ * Simple, lightweight module assisting with the detection and context of
75
+ * Worker. Helps avoid circular dependencies and allows code to reason about
76
+ * whether or not they are in a Worker, even if they never include the main
77
+ * `ReactWorker` dependency.
78
+ */
79
+ var ExecutionEnvironment = {
80
+
81
+ canUseDOM: canUseDOM,
82
+
83
+ canUseWorkers: typeof Worker !== 'undefined',
84
+
85
+ canUseEventListeners:
86
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
87
+
88
+ canUseViewport: canUseDOM && !!window.screen,
89
+
90
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
91
+
92
+ };
93
+
94
+ module.exports = ExecutionEnvironment;
95
+
96
+
97
+ /***/ }),
98
+
99
+ /***/ 2586:
100
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
101
+
102
+ /**
103
+ * Copyright 2013-2015, Facebook, Inc.
104
+ * All rights reserved.
105
+ *
106
+ * This source code is licensed under the BSD-style license found in the
107
+ * LICENSE file in the root directory of this source tree. An additional grant
108
+ * of patent rights can be found in the PATENTS file in the same directory.
109
+ *
110
+ * @providesModule isEventSupported
111
+ */
112
+
113
+
114
+
115
+ var ExecutionEnvironment = __webpack_require__(1043);
116
+
117
+ var useHasFeature;
118
+ if (ExecutionEnvironment.canUseDOM) {
119
+ useHasFeature =
120
+ document.implementation &&
121
+ document.implementation.hasFeature &&
122
+ // always returns true in newer browsers as per the standard.
123
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
124
+ document.implementation.hasFeature('', '') !== true;
125
+ }
126
+
127
+ /**
128
+ * Checks if an event is supported in the current execution environment.
129
+ *
130
+ * NOTE: This will not work correctly for non-generic events such as `change`,
131
+ * `reset`, `load`, `error`, and `select`.
132
+ *
133
+ * Borrows from Modernizr.
134
+ *
135
+ * @param {string} eventNameSuffix Event name, e.g. "click".
136
+ * @param {?boolean} capture Check if the capture phase is supported.
137
+ * @return {boolean} True if the event is supported.
138
+ * @internal
139
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
140
+ */
141
+ function isEventSupported(eventNameSuffix, capture) {
142
+ if (!ExecutionEnvironment.canUseDOM ||
143
+ capture && !('addEventListener' in document)) {
144
+ return false;
145
+ }
146
+
147
+ var eventName = 'on' + eventNameSuffix;
148
+ var isSupported = eventName in document;
149
+
150
+ if (!isSupported) {
151
+ var element = document.createElement('div');
152
+ element.setAttribute(eventName, 'return;');
153
+ isSupported = typeof element[eventName] === 'function';
154
+ }
155
+
156
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
157
+ // This is the only way to test support for the `wheel` event in IE9+.
158
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
159
+ }
160
+
161
+ return isSupported;
162
+ }
163
+
164
+ module.exports = isEventSupported;
165
+
166
+
167
+ /***/ }),
168
+
169
+ /***/ 2880:
170
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
171
+
172
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
173
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
174
+ /* harmony export */ });
175
+ function _nonIterableSpread() {
176
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
177
+ }
178
+
179
+ /***/ }),
180
+
181
+ /***/ 3492:
182
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
183
+
184
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
185
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
186
+ /* harmony export */ });
187
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
188
+
189
+ function _arrayWithoutHoles(arr) {
190
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
191
+ }
192
+
193
+ /***/ }),
194
+
195
+ /***/ 4193:
23
196
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
24
197
 
25
198
 
@@ -30,7 +203,7 @@ __webpack_require__.d(__webpack_exports__, {
30
203
 
31
204
  // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
32
205
 
33
- ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
206
+ ;// ../../packages/directives/src/clickoutside.ts
34
207
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _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; } } }; }
35
208
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _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 _arrayLikeToArray(o, minLen); }
36
209
  function _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; }
@@ -157,12 +330,10 @@ ClickOutside.install = function (app) {
157
330
  };
158
331
  /* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
159
332
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
160
- var esm_typeof = __webpack_require__(6522);
161
- ;// CONCATENATED MODULE: external "../plugin-popover"
162
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
163
- var y = x => () => x
164
- const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
165
- ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
333
+ var esm_typeof = __webpack_require__(7545);
334
+ // EXTERNAL MODULE: external "../popover"
335
+ var popover_ = __webpack_require__(592);
336
+ ;// ../../packages/directives/src/ellipsis.ts
166
337
 
167
338
  /*
168
339
  * Tencent is pleased to support the open source community by making
@@ -239,7 +410,7 @@ var createInstance = function createInstance(el, binding) {
239
410
  onContentMouseenter: handleContentEnter,
240
411
  onContentMouseleave: handleContentLeave
241
412
  });
242
- instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
413
+ instance = (0,popover_.$bkPopover)(targetOptions);
243
414
  }, 300);
244
415
  };
245
416
  var handleMouseLeave = function handleMouseLeave() {
@@ -273,9 +444,9 @@ var ellipsis = {
273
444
  };
274
445
  /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
275
446
  // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
276
- var normalize_wheel = __webpack_require__(2439);
447
+ var normalize_wheel = __webpack_require__(8283);
277
448
  var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
278
- ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
449
+ ;// ../../packages/directives/src/mousewheel.ts
279
450
  /*
280
451
  * Tencent is pleased to support the open source community by making
281
452
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -318,18 +489,20 @@ var mousewheel = {
318
489
  };
319
490
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
320
491
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
321
- var defineProperty = __webpack_require__(6666);
492
+ var defineProperty = __webpack_require__(4586);
322
493
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
323
- var toConsumableArray = __webpack_require__(7930);
494
+ var toConsumableArray = __webpack_require__(5153);
324
495
  // EXTERNAL MODULE: external "vue"
325
- var external_vue_ = __webpack_require__(6609);
496
+ var external_vue_ = __webpack_require__(5286);
326
497
  // EXTERNAL MODULE: external "../shared"
327
- var shared_ = __webpack_require__(9253);
328
- ;// CONCATENATED MODULE: external "@popperjs/core"
329
- var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
330
- var core_y = x => () => x
331
- const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
332
- ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
498
+ var shared_ = __webpack_require__(5166);
499
+ ;// external "@popperjs/core"
500
+ var x = (y) => {
501
+ var x = {}; __webpack_require__.d(x, y); return x
502
+ }
503
+ var y = (x) => (() => (x))
504
+ const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
505
+ ;// ../../packages/directives/src/tooltips.ts
333
506
 
334
507
 
335
508
 
@@ -394,9 +567,6 @@ var tooltips = {
394
567
  hide(el);
395
568
  }, 100);
396
569
  });
397
- el.addEventListener('click', function () {
398
- hide(el);
399
- });
400
570
  popper.addEventListener('mouseleave', function () {
401
571
  clearTimeout(delayTimeout);
402
572
  hideTimeout = setTimeout(function () {
@@ -410,7 +580,7 @@ var tooltips = {
410
580
  show(el);
411
581
  clearTimeout(delayTimeout);
412
582
  }, opts.delay);
413
- } else if (popper.hasAttribute('data-show')) {
583
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
414
584
  hide(el);
415
585
  }
416
586
  });
@@ -621,15 +791,19 @@ function hide(el) {
621
791
  }
622
792
  }
623
793
  /* harmony default export */ const src_tooltips = (tooltips);
624
- ;// CONCATENATED MODULE: external "../loading"
625
- var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
626
- var external_loading_y = x => () => x
794
+ ;// external "../loading"
795
+ var external_loading_x = (y) => {
796
+ var x = {}; __webpack_require__.d(x, y); return x
797
+ }
798
+ var external_loading_y = (x) => (() => (x))
627
799
  const external_loading_namespaceObject = external_loading_x({ });
628
- ;// CONCATENATED MODULE: external "../overflow-title"
629
- var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
630
- var external_overflow_title_y = x => () => x
800
+ ;// external "../overflow-title"
801
+ var external_overflow_title_x = (y) => {
802
+ var x = {}; __webpack_require__.d(x, y); return x
803
+ }
804
+ var external_overflow_title_y = (x) => (() => (x))
631
805
  const external_overflow_title_namespaceObject = external_overflow_title_x({ });
632
- ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
806
+ ;// ../../packages/directives/src/index.ts
633
807
  /*
634
808
  * Tencent is pleased to support the open source community by making
635
809
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -665,16 +839,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
665
839
 
666
840
  /***/ }),
667
841
 
668
- /***/ 2439:
669
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
842
+ /***/ 4430:
843
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
844
+
845
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
846
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
847
+ /* harmony export */ });
848
+ function _iterableToArray(iter) {
849
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
850
+ }
851
+
852
+ /***/ }),
853
+
854
+ /***/ 4586:
855
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
670
856
 
671
- module.exports = __webpack_require__(2527);
857
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
858
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
859
+ /* harmony export */ });
860
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
672
861
 
862
+ function _defineProperty(obj, key, value) {
863
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
864
+ if (key in obj) {
865
+ Object.defineProperty(obj, key, {
866
+ value: value,
867
+ enumerable: true,
868
+ configurable: true,
869
+ writable: true
870
+ });
871
+ } else {
872
+ obj[key] = value;
873
+ }
874
+ return obj;
875
+ }
673
876
 
674
877
  /***/ }),
675
878
 
676
- /***/ 7430:
677
- /***/ ((module) => {
879
+ /***/ 5022:
880
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
678
881
 
679
882
  /**
680
883
  * Copyright (c) 2015, Facebook, Inc.
@@ -684,445 +887,36 @@ module.exports = __webpack_require__(2527);
684
887
  * LICENSE file in the root directory of this source tree. An additional grant
685
888
  * of patent rights can be found in the PATENTS file in the same directory.
686
889
  *
687
- * @providesModule ExecutionEnvironment
688
- */
689
-
690
- /*jslint evil: true */
691
-
692
-
693
-
694
- var canUseDOM = !!(
695
- typeof window !== 'undefined' &&
696
- window.document &&
697
- window.document.createElement
698
- );
699
-
700
- /**
701
- * Simple, lightweight module assisting with the detection and context of
702
- * Worker. Helps avoid circular dependencies and allows code to reason about
703
- * whether or not they are in a Worker, even if they never include the main
704
- * `ReactWorker` dependency.
890
+ * @providesModule normalizeWheel
891
+ * @typechecks
705
892
  */
706
- var ExecutionEnvironment = {
707
-
708
- canUseDOM: canUseDOM,
709
-
710
- canUseWorkers: typeof Worker !== 'undefined',
711
-
712
- canUseEventListeners:
713
- canUseDOM && !!(window.addEventListener || window.attachEvent),
714
-
715
- canUseViewport: canUseDOM && !!window.screen,
716
893
 
717
- isInWorker: !canUseDOM // For now, this is true - might change in the future.
718
894
 
719
- };
720
895
 
721
- module.exports = ExecutionEnvironment;
896
+ var UserAgent_DEPRECATED = __webpack_require__(7416);
722
897
 
898
+ var isEventSupported = __webpack_require__(2586);
723
899
 
724
- /***/ }),
725
900
 
726
- /***/ 6377:
727
- /***/ ((module) => {
901
+ // Reasonable defaults
902
+ var PIXEL_STEP = 10;
903
+ var LINE_HEIGHT = 40;
904
+ var PAGE_HEIGHT = 800;
728
905
 
729
906
  /**
730
- * Copyright 2004-present Facebook. All Rights Reserved.
907
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
908
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
909
+ * your questions.
731
910
  *
732
- * @providesModule UserAgent_DEPRECATED
733
- */
734
-
735
- /**
736
- * Provides entirely client-side User Agent and OS detection. You should prefer
737
- * the non-deprecated UserAgent module when possible, which exposes our
738
- * authoritative server-side PHP-based detection to the client.
911
+ * If you need to react to the mouse wheel in a predictable way, this code is
912
+ * like your bestest friend. * hugs *
739
913
  *
740
- * Usage is straightforward:
914
+ * As of today, there are 4 DOM event types you can listen to:
741
915
  *
742
- * if (UserAgent_DEPRECATED.ie()) {
743
- * // IE
744
- * }
745
- *
746
- * You can also do version checks:
747
- *
748
- * if (UserAgent_DEPRECATED.ie() >= 7) {
749
- * // IE7 or better
750
- * }
751
- *
752
- * The browser functions will return NaN if the browser does not match, so
753
- * you can also do version compares the other way:
754
- *
755
- * if (UserAgent_DEPRECATED.ie() < 7) {
756
- * // IE6 or worse
757
- * }
758
- *
759
- * Note that the version is a float and may include a minor version number,
760
- * so you should always use range operators to perform comparisons, not
761
- * strict equality.
762
- *
763
- * **Note:** You should **strongly** prefer capability detection to browser
764
- * version detection where it's reasonable:
765
- *
766
- * http://www.quirksmode.org/js/support.html
767
- *
768
- * Further, we have a large number of mature wrapper functions and classes
769
- * which abstract away many browser irregularities. Check the documentation,
770
- * grep for things, or ask on javascript@lists.facebook.com before writing yet
771
- * another copy of "event || window.event".
772
- *
773
- */
774
-
775
- var _populated = false;
776
-
777
- // Browsers
778
- var _ie, _firefox, _opera, _webkit, _chrome;
779
-
780
- // Actual IE browser for compatibility mode
781
- var _ie_real_version;
782
-
783
- // Platforms
784
- var _osx, _windows, _linux, _android;
785
-
786
- // Architectures
787
- var _win64;
788
-
789
- // Devices
790
- var _iphone, _ipad, _native;
791
-
792
- var _mobile;
793
-
794
- function _populate() {
795
- if (_populated) {
796
- return;
797
- }
798
-
799
- _populated = true;
800
-
801
- // To work around buggy JS libraries that can't handle multi-digit
802
- // version numbers, Opera 10's user agent string claims it's Opera
803
- // 9, then later includes a Version/X.Y field:
804
- //
805
- // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
806
- var uas = navigator.userAgent;
807
- 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);
808
- var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
809
-
810
- _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
811
- _ipad = /\b(iP[ao]d)/.exec(uas);
812
- _android = /Android/i.exec(uas);
813
- _native = /FBAN\/\w+;/i.exec(uas);
814
- _mobile = /Mobile/i.exec(uas);
815
-
816
- // Note that the IE team blog would have you believe you should be checking
817
- // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
818
- // from either x64 or ia64; so ultimately, you should just check for Win64
819
- // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
820
- // Windows will send 'WOW64' instead.
821
- _win64 = !!(/Win64/.exec(uas));
822
-
823
- if (agent) {
824
- _ie = agent[1] ? parseFloat(agent[1]) : (
825
- agent[5] ? parseFloat(agent[5]) : NaN);
826
- // IE compatibility mode
827
- if (_ie && document && document.documentMode) {
828
- _ie = document.documentMode;
829
- }
830
- // grab the "true" ie version from the trident token if available
831
- var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
832
- _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
833
-
834
- _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
835
- _opera = agent[3] ? parseFloat(agent[3]) : NaN;
836
- _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
837
- if (_webkit) {
838
- // We do not add the regexp to the above test, because it will always
839
- // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
840
- // the userAgent string.
841
- agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
842
- _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
843
- } else {
844
- _chrome = NaN;
845
- }
846
- } else {
847
- _ie = _firefox = _opera = _chrome = _webkit = NaN;
848
- }
849
-
850
- if (os) {
851
- if (os[1]) {
852
- // Detect OS X version. If no version number matches, set _osx to true.
853
- // Version examples: 10, 10_6_1, 10.7
854
- // Parses version number as a float, taking only first two sets of
855
- // digits. If only one set of digits is found, returns just the major
856
- // version number.
857
- var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
858
-
859
- _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
860
- } else {
861
- _osx = false;
862
- }
863
- _windows = !!os[2];
864
- _linux = !!os[3];
865
- } else {
866
- _osx = _windows = _linux = false;
867
- }
868
- }
869
-
870
- var UserAgent_DEPRECATED = {
871
-
872
- /**
873
- * Check if the UA is Internet Explorer.
874
- *
875
- *
876
- * @return float|NaN Version number (if match) or NaN.
877
- */
878
- ie: function() {
879
- return _populate() || _ie;
880
- },
881
-
882
- /**
883
- * Check if we're in Internet Explorer compatibility mode.
884
- *
885
- * @return bool true if in compatibility mode, false if
886
- * not compatibility mode or not ie
887
- */
888
- ieCompatibilityMode: function() {
889
- return _populate() || (_ie_real_version > _ie);
890
- },
891
-
892
-
893
- /**
894
- * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
895
- * only need this because Skype can't handle 64-bit IE yet. We need to remove
896
- * this when we don't need it -- tracked by #601957.
897
- */
898
- ie64: function() {
899
- return UserAgent_DEPRECATED.ie() && _win64;
900
- },
901
-
902
- /**
903
- * Check if the UA is Firefox.
904
- *
905
- *
906
- * @return float|NaN Version number (if match) or NaN.
907
- */
908
- firefox: function() {
909
- return _populate() || _firefox;
910
- },
911
-
912
-
913
- /**
914
- * Check if the UA is Opera.
915
- *
916
- *
917
- * @return float|NaN Version number (if match) or NaN.
918
- */
919
- opera: function() {
920
- return _populate() || _opera;
921
- },
922
-
923
-
924
- /**
925
- * Check if the UA is WebKit.
926
- *
927
- *
928
- * @return float|NaN Version number (if match) or NaN.
929
- */
930
- webkit: function() {
931
- return _populate() || _webkit;
932
- },
933
-
934
- /**
935
- * For Push
936
- * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
937
- */
938
- safari: function() {
939
- return UserAgent_DEPRECATED.webkit();
940
- },
941
-
942
- /**
943
- * Check if the UA is a Chrome browser.
944
- *
945
- *
946
- * @return float|NaN Version number (if match) or NaN.
947
- */
948
- chrome : function() {
949
- return _populate() || _chrome;
950
- },
951
-
952
-
953
- /**
954
- * Check if the user is running Windows.
955
- *
956
- * @return bool `true' if the user's OS is Windows.
957
- */
958
- windows: function() {
959
- return _populate() || _windows;
960
- },
961
-
962
-
963
- /**
964
- * Check if the user is running Mac OS X.
965
- *
966
- * @return float|bool Returns a float if a version number is detected,
967
- * otherwise true/false.
968
- */
969
- osx: function() {
970
- return _populate() || _osx;
971
- },
972
-
973
- /**
974
- * Check if the user is running Linux.
975
- *
976
- * @return bool `true' if the user's OS is some flavor of Linux.
977
- */
978
- linux: function() {
979
- return _populate() || _linux;
980
- },
981
-
982
- /**
983
- * Check if the user is running on an iPhone or iPod platform.
984
- *
985
- * @return bool `true' if the user is running some flavor of the
986
- * iPhone OS.
987
- */
988
- iphone: function() {
989
- return _populate() || _iphone;
990
- },
991
-
992
- mobile: function() {
993
- return _populate() || (_iphone || _ipad || _android || _mobile);
994
- },
995
-
996
- nativeApp: function() {
997
- // webviews inside of the native apps
998
- return _populate() || _native;
999
- },
1000
-
1001
- android: function() {
1002
- return _populate() || _android;
1003
- },
1004
-
1005
- ipad: function() {
1006
- return _populate() || _ipad;
1007
- }
1008
- };
1009
-
1010
- module.exports = UserAgent_DEPRECATED;
1011
-
1012
-
1013
- /***/ }),
1014
-
1015
- /***/ 3541:
1016
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1017
-
1018
- /**
1019
- * Copyright 2013-2015, Facebook, Inc.
1020
- * All rights reserved.
1021
- *
1022
- * This source code is licensed under the BSD-style license found in the
1023
- * LICENSE file in the root directory of this source tree. An additional grant
1024
- * of patent rights can be found in the PATENTS file in the same directory.
1025
- *
1026
- * @providesModule isEventSupported
1027
- */
1028
-
1029
-
1030
-
1031
- var ExecutionEnvironment = __webpack_require__(7430);
1032
-
1033
- var useHasFeature;
1034
- if (ExecutionEnvironment.canUseDOM) {
1035
- useHasFeature =
1036
- document.implementation &&
1037
- document.implementation.hasFeature &&
1038
- // always returns true in newer browsers as per the standard.
1039
- // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
1040
- document.implementation.hasFeature('', '') !== true;
1041
- }
1042
-
1043
- /**
1044
- * Checks if an event is supported in the current execution environment.
1045
- *
1046
- * NOTE: This will not work correctly for non-generic events such as `change`,
1047
- * `reset`, `load`, `error`, and `select`.
1048
- *
1049
- * Borrows from Modernizr.
1050
- *
1051
- * @param {string} eventNameSuffix Event name, e.g. "click".
1052
- * @param {?boolean} capture Check if the capture phase is supported.
1053
- * @return {boolean} True if the event is supported.
1054
- * @internal
1055
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
1056
- */
1057
- function isEventSupported(eventNameSuffix, capture) {
1058
- if (!ExecutionEnvironment.canUseDOM ||
1059
- capture && !('addEventListener' in document)) {
1060
- return false;
1061
- }
1062
-
1063
- var eventName = 'on' + eventNameSuffix;
1064
- var isSupported = eventName in document;
1065
-
1066
- if (!isSupported) {
1067
- var element = document.createElement('div');
1068
- element.setAttribute(eventName, 'return;');
1069
- isSupported = typeof element[eventName] === 'function';
1070
- }
1071
-
1072
- if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
1073
- // This is the only way to test support for the `wheel` event in IE9+.
1074
- isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
1075
- }
1076
-
1077
- return isSupported;
1078
- }
1079
-
1080
- module.exports = isEventSupported;
1081
-
1082
-
1083
- /***/ }),
1084
-
1085
- /***/ 2527:
1086
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1087
-
1088
- /**
1089
- * Copyright (c) 2015, Facebook, Inc.
1090
- * All rights reserved.
1091
- *
1092
- * This source code is licensed under the BSD-style license found in the
1093
- * LICENSE file in the root directory of this source tree. An additional grant
1094
- * of patent rights can be found in the PATENTS file in the same directory.
1095
- *
1096
- * @providesModule normalizeWheel
1097
- * @typechecks
1098
- */
1099
-
1100
-
1101
-
1102
- var UserAgent_DEPRECATED = __webpack_require__(6377);
1103
-
1104
- var isEventSupported = __webpack_require__(3541);
1105
-
1106
-
1107
- // Reasonable defaults
1108
- var PIXEL_STEP = 10;
1109
- var LINE_HEIGHT = 40;
1110
- var PAGE_HEIGHT = 800;
1111
-
1112
- /**
1113
- * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
1114
- * complicated, thus this doc is long and (hopefully) detailed enough to answer
1115
- * your questions.
1116
- *
1117
- * If you need to react to the mouse wheel in a predictable way, this code is
1118
- * like your bestest friend. * hugs *
1119
- *
1120
- * As of today, there are 4 DOM event types you can listen to:
1121
- *
1122
- * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
1123
- * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
1124
- * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
1125
- * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
916
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
917
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
918
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
919
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
1126
920
  *
1127
921
  * So what to do? The is the best:
1128
922
  *
@@ -1270,25 +1064,49 @@ module.exports = normalizeWheel;
1270
1064
 
1271
1065
  /***/ }),
1272
1066
 
1273
- /***/ 9253:
1067
+ /***/ 5153:
1068
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1069
+
1070
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1071
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1072
+ /* harmony export */ });
1073
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
1074
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
1075
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
1076
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
1077
+
1078
+
1079
+
1080
+
1081
+ function _toConsumableArray(arr) {
1082
+ return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
1083
+ }
1084
+
1085
+ /***/ }),
1086
+
1087
+ /***/ 5166:
1274
1088
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1275
1089
 
1276
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1277
- var y = x => () => x
1278
- module.exports = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["arrayEqual"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.arrayEqual, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["capitalize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize, ["debounce"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
1090
+ var x = (y) => {
1091
+ var x = {}; __webpack_require__.d(x, y); return x
1092
+ }
1093
+ var y = (x) => (() => (x))
1094
+ module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["arrayEqual"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.arrayEqual), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["capitalize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize), ["debounce"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
1279
1095
 
1280
1096
  /***/ }),
1281
1097
 
1282
- /***/ 6609:
1098
+ /***/ 5286:
1283
1099
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1284
1100
 
1285
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1286
- var y = x => () => x
1287
- module.exports = x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
1101
+ var x = (y) => {
1102
+ var x = {}; __webpack_require__.d(x, y); return x
1103
+ }
1104
+ var y = (x) => (() => (x))
1105
+ module.exports = x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createTextVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
1288
1106
 
1289
1107
  /***/ }),
1290
1108
 
1291
- /***/ 926:
1109
+ /***/ 6284:
1292
1110
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1293
1111
 
1294
1112
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -1302,128 +1120,296 @@ function _arrayLikeToArray(arr, len) {
1302
1120
 
1303
1121
  /***/ }),
1304
1122
 
1305
- /***/ 74:
1306
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1123
+ /***/ 7416:
1124
+ /***/ ((module) => {
1307
1125
 
1308
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1309
- /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
1310
- /* harmony export */ });
1311
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1126
+ /**
1127
+ * Copyright 2004-present Facebook. All Rights Reserved.
1128
+ *
1129
+ * @providesModule UserAgent_DEPRECATED
1130
+ */
1312
1131
 
1313
- function _arrayWithoutHoles(arr) {
1314
- if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
1315
- }
1132
+ /**
1133
+ * Provides entirely client-side User Agent and OS detection. You should prefer
1134
+ * the non-deprecated UserAgent module when possible, which exposes our
1135
+ * authoritative server-side PHP-based detection to the client.
1136
+ *
1137
+ * Usage is straightforward:
1138
+ *
1139
+ * if (UserAgent_DEPRECATED.ie()) {
1140
+ * // IE
1141
+ * }
1142
+ *
1143
+ * You can also do version checks:
1144
+ *
1145
+ * if (UserAgent_DEPRECATED.ie() >= 7) {
1146
+ * // IE7 or better
1147
+ * }
1148
+ *
1149
+ * The browser functions will return NaN if the browser does not match, so
1150
+ * you can also do version compares the other way:
1151
+ *
1152
+ * if (UserAgent_DEPRECATED.ie() < 7) {
1153
+ * // IE6 or worse
1154
+ * }
1155
+ *
1156
+ * Note that the version is a float and may include a minor version number,
1157
+ * so you should always use range operators to perform comparisons, not
1158
+ * strict equality.
1159
+ *
1160
+ * **Note:** You should **strongly** prefer capability detection to browser
1161
+ * version detection where it's reasonable:
1162
+ *
1163
+ * http://www.quirksmode.org/js/support.html
1164
+ *
1165
+ * Further, we have a large number of mature wrapper functions and classes
1166
+ * which abstract away many browser irregularities. Check the documentation,
1167
+ * grep for things, or ask on javascript@lists.facebook.com before writing yet
1168
+ * another copy of "event || window.event".
1169
+ *
1170
+ */
1171
+
1172
+ var _populated = false;
1173
+
1174
+ // Browsers
1175
+ var _ie, _firefox, _opera, _webkit, _chrome;
1176
+
1177
+ // Actual IE browser for compatibility mode
1178
+ var _ie_real_version;
1179
+
1180
+ // Platforms
1181
+ var _osx, _windows, _linux, _android;
1182
+
1183
+ // Architectures
1184
+ var _win64;
1185
+
1186
+ // Devices
1187
+ var _iphone, _ipad, _native;
1188
+
1189
+ var _mobile;
1190
+
1191
+ function _populate() {
1192
+ if (_populated) {
1193
+ return;
1194
+ }
1195
+
1196
+ _populated = true;
1197
+
1198
+ // To work around buggy JS libraries that can't handle multi-digit
1199
+ // version numbers, Opera 10's user agent string claims it's Opera
1200
+ // 9, then later includes a Version/X.Y field:
1201
+ //
1202
+ // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
1203
+ var uas = navigator.userAgent;
1204
+ 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);
1205
+ var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
1206
+
1207
+ _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
1208
+ _ipad = /\b(iP[ao]d)/.exec(uas);
1209
+ _android = /Android/i.exec(uas);
1210
+ _native = /FBAN\/\w+;/i.exec(uas);
1211
+ _mobile = /Mobile/i.exec(uas);
1212
+
1213
+ // Note that the IE team blog would have you believe you should be checking
1214
+ // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
1215
+ // from either x64 or ia64; so ultimately, you should just check for Win64
1216
+ // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
1217
+ // Windows will send 'WOW64' instead.
1218
+ _win64 = !!(/Win64/.exec(uas));
1316
1219
 
1317
- /***/ }),
1220
+ if (agent) {
1221
+ _ie = agent[1] ? parseFloat(agent[1]) : (
1222
+ agent[5] ? parseFloat(agent[5]) : NaN);
1223
+ // IE compatibility mode
1224
+ if (_ie && document && document.documentMode) {
1225
+ _ie = document.documentMode;
1226
+ }
1227
+ // grab the "true" ie version from the trident token if available
1228
+ var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
1229
+ _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
1318
1230
 
1319
- /***/ 6666:
1320
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1231
+ _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
1232
+ _opera = agent[3] ? parseFloat(agent[3]) : NaN;
1233
+ _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
1234
+ if (_webkit) {
1235
+ // We do not add the regexp to the above test, because it will always
1236
+ // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
1237
+ // the userAgent string.
1238
+ agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
1239
+ _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
1240
+ } else {
1241
+ _chrome = NaN;
1242
+ }
1243
+ } else {
1244
+ _ie = _firefox = _opera = _chrome = _webkit = NaN;
1245
+ }
1321
1246
 
1322
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1323
- /* harmony export */ "default": () => (/* binding */ _defineProperty)
1324
- /* harmony export */ });
1325
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
1247
+ if (os) {
1248
+ if (os[1]) {
1249
+ // Detect OS X version. If no version number matches, set _osx to true.
1250
+ // Version examples: 10, 10_6_1, 10.7
1251
+ // Parses version number as a float, taking only first two sets of
1252
+ // digits. If only one set of digits is found, returns just the major
1253
+ // version number.
1254
+ var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
1326
1255
 
1327
- function _defineProperty(obj, key, value) {
1328
- key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
1329
- if (key in obj) {
1330
- Object.defineProperty(obj, key, {
1331
- value: value,
1332
- enumerable: true,
1333
- configurable: true,
1334
- writable: true
1335
- });
1256
+ _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
1257
+ } else {
1258
+ _osx = false;
1259
+ }
1260
+ _windows = !!os[2];
1261
+ _linux = !!os[3];
1336
1262
  } else {
1337
- obj[key] = value;
1263
+ _osx = _windows = _linux = false;
1338
1264
  }
1339
- return obj;
1340
1265
  }
1341
1266
 
1342
- /***/ }),
1267
+ var UserAgent_DEPRECATED = {
1343
1268
 
1344
- /***/ 1079:
1345
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1269
+ /**
1270
+ * Check if the UA is Internet Explorer.
1271
+ *
1272
+ *
1273
+ * @return float|NaN Version number (if match) or NaN.
1274
+ */
1275
+ ie: function() {
1276
+ return _populate() || _ie;
1277
+ },
1346
1278
 
1347
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1348
- /* harmony export */ "default": () => (/* binding */ _iterableToArray)
1349
- /* harmony export */ });
1350
- function _iterableToArray(iter) {
1351
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1352
- }
1279
+ /**
1280
+ * Check if we're in Internet Explorer compatibility mode.
1281
+ *
1282
+ * @return bool true if in compatibility mode, false if
1283
+ * not compatibility mode or not ie
1284
+ */
1285
+ ieCompatibilityMode: function() {
1286
+ return _populate() || (_ie_real_version > _ie);
1287
+ },
1353
1288
 
1354
- /***/ }),
1355
1289
 
1356
- /***/ 6098:
1357
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1290
+ /**
1291
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
1292
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
1293
+ * this when we don't need it -- tracked by #601957.
1294
+ */
1295
+ ie64: function() {
1296
+ return UserAgent_DEPRECATED.ie() && _win64;
1297
+ },
1358
1298
 
1359
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1360
- /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
1361
- /* harmony export */ });
1362
- function _nonIterableSpread() {
1363
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1364
- }
1299
+ /**
1300
+ * Check if the UA is Firefox.
1301
+ *
1302
+ *
1303
+ * @return float|NaN Version number (if match) or NaN.
1304
+ */
1305
+ firefox: function() {
1306
+ return _populate() || _firefox;
1307
+ },
1365
1308
 
1366
- /***/ }),
1367
1309
 
1368
- /***/ 7930:
1369
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1310
+ /**
1311
+ * Check if the UA is Opera.
1312
+ *
1313
+ *
1314
+ * @return float|NaN Version number (if match) or NaN.
1315
+ */
1316
+ opera: function() {
1317
+ return _populate() || _opera;
1318
+ },
1370
1319
 
1371
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1372
- /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1373
- /* harmony export */ });
1374
- /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
1375
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
1376
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
1377
- /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
1378
1320
 
1321
+ /**
1322
+ * Check if the UA is WebKit.
1323
+ *
1324
+ *
1325
+ * @return float|NaN Version number (if match) or NaN.
1326
+ */
1327
+ webkit: function() {
1328
+ return _populate() || _webkit;
1329
+ },
1330
+
1331
+ /**
1332
+ * For Push
1333
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
1334
+ */
1335
+ safari: function() {
1336
+ return UserAgent_DEPRECATED.webkit();
1337
+ },
1379
1338
 
1339
+ /**
1340
+ * Check if the UA is a Chrome browser.
1341
+ *
1342
+ *
1343
+ * @return float|NaN Version number (if match) or NaN.
1344
+ */
1345
+ chrome : function() {
1346
+ return _populate() || _chrome;
1347
+ },
1380
1348
 
1381
1349
 
1382
- function _toConsumableArray(arr) {
1383
- return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
1384
- }
1350
+ /**
1351
+ * Check if the user is running Windows.
1352
+ *
1353
+ * @return bool `true' if the user's OS is Windows.
1354
+ */
1355
+ windows: function() {
1356
+ return _populate() || _windows;
1357
+ },
1385
1358
 
1386
- /***/ }),
1387
1359
 
1388
- /***/ 9745:
1389
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1360
+ /**
1361
+ * Check if the user is running Mac OS X.
1362
+ *
1363
+ * @return float|bool Returns a float if a version number is detected,
1364
+ * otherwise true/false.
1365
+ */
1366
+ osx: function() {
1367
+ return _populate() || _osx;
1368
+ },
1390
1369
 
1391
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1392
- /* harmony export */ "default": () => (/* binding */ toPrimitive)
1393
- /* harmony export */ });
1394
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
1370
+ /**
1371
+ * Check if the user is running Linux.
1372
+ *
1373
+ * @return bool `true' if the user's OS is some flavor of Linux.
1374
+ */
1375
+ linux: function() {
1376
+ return _populate() || _linux;
1377
+ },
1395
1378
 
1396
- function toPrimitive(t, r) {
1397
- if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
1398
- var e = t[Symbol.toPrimitive];
1399
- if (void 0 !== e) {
1400
- var i = e.call(t, r || "default");
1401
- if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
1402
- throw new TypeError("@@toPrimitive must return a primitive value.");
1403
- }
1404
- return ("string" === r ? String : Number)(t);
1405
- }
1379
+ /**
1380
+ * Check if the user is running on an iPhone or iPod platform.
1381
+ *
1382
+ * @return bool `true' if the user is running some flavor of the
1383
+ * iPhone OS.
1384
+ */
1385
+ iphone: function() {
1386
+ return _populate() || _iphone;
1387
+ },
1406
1388
 
1407
- /***/ }),
1389
+ mobile: function() {
1390
+ return _populate() || (_iphone || _ipad || _android || _mobile);
1391
+ },
1408
1392
 
1409
- /***/ 3795:
1410
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1393
+ nativeApp: function() {
1394
+ // webviews inside of the native apps
1395
+ return _populate() || _native;
1396
+ },
1411
1397
 
1412
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1413
- /* harmony export */ "default": () => (/* binding */ toPropertyKey)
1414
- /* harmony export */ });
1415
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
1416
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
1398
+ android: function() {
1399
+ return _populate() || _android;
1400
+ },
1417
1401
 
1402
+ ipad: function() {
1403
+ return _populate() || _ipad;
1404
+ }
1405
+ };
1406
+
1407
+ module.exports = UserAgent_DEPRECATED;
1418
1408
 
1419
- function toPropertyKey(t) {
1420
- var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
1421
- return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
1422
- }
1423
1409
 
1424
1410
  /***/ }),
1425
1411
 
1426
- /***/ 6522:
1412
+ /***/ 7545:
1427
1413
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1428
1414
 
1429
1415
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -1441,13 +1427,13 @@ function _typeof(o) {
1441
1427
 
1442
1428
  /***/ }),
1443
1429
 
1444
- /***/ 9147:
1430
+ /***/ 7985:
1445
1431
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1446
1432
 
1447
1433
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1448
1434
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1449
1435
  /* harmony export */ });
1450
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1436
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
1451
1437
 
1452
1438
  function _unsupportedIterableToArray(o, minLen) {
1453
1439
  if (!o) return;
@@ -1458,6 +1444,35 @@ function _unsupportedIterableToArray(o, minLen) {
1458
1444
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1459
1445
  }
1460
1446
 
1447
+ /***/ }),
1448
+
1449
+ /***/ 8283:
1450
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1451
+
1452
+ module.exports = __webpack_require__(5022);
1453
+
1454
+
1455
+ /***/ }),
1456
+
1457
+ /***/ 9824:
1458
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1459
+
1460
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1461
+ /* harmony export */ "default": () => (/* binding */ toPrimitive)
1462
+ /* harmony export */ });
1463
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
1464
+
1465
+ function toPrimitive(t, r) {
1466
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
1467
+ var e = t[Symbol.toPrimitive];
1468
+ if (void 0 !== e) {
1469
+ var i = e.call(t, r || "default");
1470
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
1471
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1472
+ }
1473
+ return ("string" === r ? String : Number)(t);
1474
+ }
1475
+
1461
1476
  /***/ })
1462
1477
 
1463
1478
  /******/ });
@@ -1518,8 +1533,6 @@ function _unsupportedIterableToArray(o, minLen) {
1518
1533
  /******/
1519
1534
  /************************************************************************/
1520
1535
  var __webpack_exports__ = {};
1521
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1522
- (() => {
1523
1536
 
1524
1537
  // EXPORTS
1525
1538
  __webpack_require__.d(__webpack_exports__, {
@@ -1529,56 +1542,74 @@ __webpack_require__.d(__webpack_exports__, {
1529
1542
  });
1530
1543
 
1531
1544
  // EXTERNAL MODULE: external "../shared"
1532
- var shared_ = __webpack_require__(9253);
1545
+ var shared_ = __webpack_require__(5166);
1533
1546
  // EXTERNAL MODULE: external "vue"
1534
- var external_vue_ = __webpack_require__(6609);
1535
- ;// CONCATENATED MODULE: external "vue-types"
1536
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1537
- var y = x => () => x
1538
- const external_vue_types_namespaceObject = x({ ["array"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.array, ["object"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.object });
1539
- ;// CONCATENATED MODULE: external "../config-provider"
1540
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1541
- var config_provider_y = x => () => x
1542
- const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
1543
- // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 8 modules
1544
- var src = __webpack_require__(5235);
1545
- ;// CONCATENATED MODULE: external "../icon"
1546
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1547
- var icon_y = x => () => x
1548
- const icon_namespaceObject = icon_x({ ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner });
1549
- ;// CONCATENATED MODULE: external "../popover"
1550
- var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1551
- var popover_y = x => () => x
1552
- const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
1553
- ;// CONCATENATED MODULE: external "../popover/popover.less"
1554
- var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1555
- var popover_less_y = x => () => x
1547
+ var external_vue_ = __webpack_require__(5286);
1548
+ ;// external "vue-types"
1549
+ var x = (y) => {
1550
+ var x = {}; __webpack_require__.d(x, y); return x
1551
+ }
1552
+ var y = (x) => (() => (x))
1553
+ const external_vue_types_namespaceObject = x({ ["array"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.array), ["object"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.object) });
1554
+ ;// external "../config-provider"
1555
+ var config_provider_x = (y) => {
1556
+ var x = {}; __webpack_require__.d(x, y); return x
1557
+ }
1558
+ var config_provider_y = (x) => (() => (x))
1559
+ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
1560
+ // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
1561
+ var src = __webpack_require__(4193);
1562
+ ;// external "../icon"
1563
+ var icon_x = (y) => {
1564
+ var x = {}; __webpack_require__.d(x, y); return x
1565
+ }
1566
+ var icon_y = (x) => (() => (x))
1567
+ const icon_namespaceObject = icon_x({ ["AngleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight), ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp), ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error), ["Spinner"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner) });
1568
+ // EXTERNAL MODULE: external "../popover"
1569
+ var popover_ = __webpack_require__(592);
1570
+ ;// external "../popover/popover.less"
1571
+ var popover_less_x = (y) => {
1572
+ var x = {}; __webpack_require__.d(x, y); return x
1573
+ }
1574
+ var popover_less_y = (x) => (() => (x))
1556
1575
  const popover_less_namespaceObject = popover_less_x({ });
1557
- ;// CONCATENATED MODULE: external "../select"
1558
- var select_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1559
- var select_y = x => () => x
1560
- const select_namespaceObject = select_x({ ["useHover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover });
1561
- ;// CONCATENATED MODULE: external "../tag"
1562
- var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1563
- var tag_y = x => () => x
1564
- const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"] });
1565
- ;// CONCATENATED MODULE: external "../tag/tag.less"
1566
- var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1567
- var tag_less_y = x => () => x
1576
+ ;// external "../select"
1577
+ var select_x = (y) => {
1578
+ var x = {}; __webpack_require__.d(x, y); return x
1579
+ }
1580
+ var select_y = (x) => (() => (x))
1581
+ const select_namespaceObject = select_x({ ["useHover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover) });
1582
+ ;// external "../tag"
1583
+ var tag_x = (y) => {
1584
+ var x = {}; __webpack_require__.d(x, y); return x
1585
+ }
1586
+ var tag_y = (x) => (() => (x))
1587
+ const tag_namespaceObject = tag_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"]) });
1588
+ ;// external "../tag/tag.less"
1589
+ var tag_less_x = (y) => {
1590
+ var x = {}; __webpack_require__.d(x, y); return x
1591
+ }
1592
+ var tag_less_y = (x) => (() => (x))
1568
1593
  const tag_less_namespaceObject = tag_less_x({ });
1569
- ;// CONCATENATED MODULE: external "../tag-input"
1570
- var tag_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1571
- var tag_input_y = x => () => x
1572
- const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow });
1573
- ;// CONCATENATED MODULE: external "../checkbox"
1574
- var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1575
- var checkbox_y = x => () => x
1576
- const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
1577
- ;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
1578
- var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1579
- var checkbox_less_y = x => () => x
1594
+ ;// external "../tag-input"
1595
+ var tag_input_x = (y) => {
1596
+ var x = {}; __webpack_require__.d(x, y); return x
1597
+ }
1598
+ var tag_input_y = (x) => (() => (x))
1599
+ const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow) });
1600
+ ;// external "../checkbox"
1601
+ var checkbox_x = (y) => {
1602
+ var x = {}; __webpack_require__.d(x, y); return x
1603
+ }
1604
+ var checkbox_y = (x) => (() => (x))
1605
+ const checkbox_namespaceObject = checkbox_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"]) });
1606
+ ;// external "../checkbox/checkbox.less"
1607
+ var checkbox_less_x = (y) => {
1608
+ var x = {}; __webpack_require__.d(x, y); return x
1609
+ }
1610
+ var checkbox_less_y = (x) => (() => (x))
1580
1611
  const checkbox_less_namespaceObject = checkbox_less_x({ });
1581
- ;// CONCATENATED MODULE: ../../packages/cascader/src/cascader-panel.tsx
1612
+ ;// ../../packages/cascader/src/cascader-panel.tsx
1582
1613
 
1583
1614
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _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; } } }; }
1584
1615
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _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 _arrayLikeToArray(o, minLen); }
@@ -1637,7 +1668,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1637
1668
  var t = (0,config_provider_namespaceObject.useLocale)('cascader');
1638
1669
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1639
1670
  resolveClassName = _usePrefix.resolveClassName;
1640
- var store = props.store;
1671
+ var _toRefs = (0,external_vue_.toRefs)(props),
1672
+ store = _toRefs.store;
1641
1673
  var menus = (0,external_vue_.reactive)({
1642
1674
  list: [props.store.getNodes()]
1643
1675
  });
@@ -1661,7 +1693,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1661
1693
  * @param value - 选中的值数组
1662
1694
  */
1663
1695
  var updateCheckValue = function updateCheckValue(value) {
1664
- if (value.length === 0) {
1696
+ if (!value || value.length === 0) {
1665
1697
  menus.list = menus.list.slice(0, 1);
1666
1698
  activePath.value = [];
1667
1699
  }
@@ -1673,31 +1705,63 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1673
1705
  * @param value - 节点ID数组
1674
1706
  */
1675
1707
  var expandByNodeList = function expandByNodeList(value) {
1676
- var targetList = [];
1677
- // 如果配置了多选,找出最长的序列,即其最远的路径,以展开所有面板
1678
- if (store.config.multiple) {
1679
- var _iterator = _createForOfIteratorHelper(value),
1680
- _step;
1681
- try {
1682
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
1683
- var subArray = _step.value;
1684
- if (subArray.length > targetList.length) {
1685
- targetList = subArray;
1708
+ // 判断是否为初始加载
1709
+ var isInitialLoad = checkValue.value.length === 0;
1710
+ // 如果是初始加载或单选情况,按原来的逻辑处理
1711
+ if (isInitialLoad || !store.value.config.multiple) {
1712
+ var targetList = [];
1713
+ // 处理多选情况
1714
+ if (store.value.config.multiple) {
1715
+ var _iterator = _createForOfIteratorHelper(value),
1716
+ _step;
1717
+ try {
1718
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
1719
+ var subArray = _step.value;
1720
+ if (subArray.length > targetList.length) {
1721
+ targetList = subArray;
1722
+ }
1686
1723
  }
1724
+ } catch (err) {
1725
+ _iterator.e(err);
1726
+ } finally {
1727
+ _iterator.f();
1687
1728
  }
1688
- } catch (err) {
1689
- _iterator.e(err);
1690
- } finally {
1691
- _iterator.f();
1729
+ } else {
1730
+ // 单选情况
1731
+ targetList = value;
1692
1732
  }
1693
- } else {
1694
- targetList = value;
1733
+ // 执行展开操作
1734
+ targetList.forEach(function (id) {
1735
+ var node = store.value.getNodeById(id);
1736
+ if (node) {
1737
+ // 只展开,不需要重复触发
1738
+ var expandNode = function expandNode(node) {
1739
+ var _node$children;
1740
+ if (!node || node !== null && node !== void 0 && node.isDisabled) return;
1741
+ var level = node.level;
1742
+ // 确保面板只更新到当前节点层级
1743
+ menus.list = menus.list.slice(0, level);
1744
+ activePath.value = activePath.value.slice(0, level - 1);
1745
+ // 如果节点有子节点,直接添加到面板
1746
+ if ((_node$children = node.children) !== null && _node$children !== void 0 && _node$children.length) {
1747
+ if (menus.list.length === level) {
1748
+ menus.list.push(node.children);
1749
+ activePath.value.push(node);
1750
+ }
1751
+ }
1752
+ };
1753
+ // 展开节点的所有父节点
1754
+ var expandParents = function expandParents(node) {
1755
+ if (node.parent) {
1756
+ expandParents(node.parent);
1757
+ }
1758
+ expandNode(node);
1759
+ };
1760
+ expandParents(node);
1761
+ }
1762
+ });
1695
1763
  }
1696
- // 遍历最长路径的节点,如果节点有children,展开子面板
1697
- targetList.forEach(function (id) {
1698
- var node = store.getNodeById(id);
1699
- nodeExpandHandler(node);
1700
- });
1764
+ // 用户交互过程中的选择由nodeExpandHandler单独处理,这里不干预
1701
1765
  };
1702
1766
  /** 节点选中回调
1703
1767
  * 根据单选、多选配置checkValue
@@ -1709,7 +1773,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1709
1773
  }
1710
1774
  if (node.config.multiple) {
1711
1775
  // 如果checkAnyLevel,返回所有check的节点; 否则只check 叶子节点
1712
- var targets = store.config.checkAnyLevel ? store.getCheckedNodes() : store.getCheckedLeafNodes();
1776
+ var targets = store.value.config.checkAnyLevel ? store.value.getCheckedNodes() : store.value.getCheckedLeafNodes();
1713
1777
  checkValue.value = targets.map(function (node) {
1714
1778
  return node.path;
1715
1779
  }); // 如果任意级别可选,当前节点即为所选内容
@@ -1720,27 +1784,27 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1720
1784
  };
1721
1785
  /** node点击展开回调 */
1722
1786
  var nodeExpandHandler = function nodeExpandHandler(node) {
1723
- var _node$children;
1787
+ var _node$children2;
1724
1788
  if (!node || node !== null && node !== void 0 && node.isDisabled) return;
1725
1789
  menus.list = menus.list.slice(0, node.level);
1726
1790
  activePath.value = activePath.value.slice(0, node.level - 1);
1727
1791
  /** 如果所点击的node具有children元素,则直接展开
1728
1792
  * 否则判断是否开启了远程加载,进行远程加载列表
1729
1793
  */
1730
- if ((_node$children = node.children) !== null && _node$children !== void 0 && _node$children.length) {
1794
+ if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length) {
1731
1795
  menus.list.push(node.children);
1732
1796
  activePath.value.push(node);
1733
1797
  return;
1734
1798
  }
1735
- if (store.config.isRemote && !node.isLeaf) {
1799
+ if (store.value.config.isRemote && !node.isLeaf) {
1736
1800
  node.loading = true;
1737
1801
  var updateNodes = function updateNodes(nodeData) {
1738
- store.appendNodes(nodeData, node || null);
1802
+ store.value.appendNodes(nodeData, node || null);
1739
1803
  menus.list.push(node.children);
1740
1804
  activePath.value.push(node);
1741
1805
  node.loading = false;
1742
1806
  };
1743
- store.config.remoteMethod(node, updateNodes);
1807
+ store.value.config.remoteMethod(node, updateNodes);
1744
1808
  }
1745
1809
  };
1746
1810
  /**
@@ -1945,15 +2009,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1945
2009
  })]);
1946
2010
  }
1947
2011
  }));
1948
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
2012
+ ;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
1949
2013
  function _classCallCheck(instance, Constructor) {
1950
2014
  if (!(instance instanceof Constructor)) {
1951
2015
  throw new TypeError("Cannot call a class as a function");
1952
2016
  }
1953
2017
  }
1954
2018
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
1955
- var toPropertyKey = __webpack_require__(3795);
1956
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
2019
+ var toPropertyKey = __webpack_require__(205);
2020
+ ;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
1957
2021
 
1958
2022
  function _defineProperties(target, props) {
1959
2023
  for (var i = 0; i < props.length; i++) {
@@ -1972,7 +2036,7 @@ function _createClass(Constructor, protoProps, staticProps) {
1972
2036
  });
1973
2037
  return Constructor;
1974
2038
  }
1975
- ;// CONCATENATED MODULE: ../../packages/cascader/src/node.ts
2039
+ ;// ../../packages/cascader/src/node.ts
1976
2040
 
1977
2041
 
1978
2042
  /*
@@ -2169,7 +2233,7 @@ var Node = /*#__PURE__*/function () {
2169
2233
  return Node;
2170
2234
  }();
2171
2235
  /* harmony default export */ const src_node = (Node);
2172
- ;// CONCATENATED MODULE: ../../packages/cascader/src/store.ts
2236
+ ;// ../../packages/cascader/src/store.ts
2173
2237
 
2174
2238
 
2175
2239
  /*
@@ -2323,7 +2387,7 @@ var Store = /*#__PURE__*/function () {
2323
2387
  return Store;
2324
2388
  }();
2325
2389
  /* harmony default export */ const src_store = (Store);
2326
- ;// CONCATENATED MODULE: ../../packages/cascader/src/cascader.tsx
2390
+ ;// ../../packages/cascader/src/cascader.tsx
2327
2391
 
2328
2392
  /*
2329
2393
  * Tencent is pleased to support the open source community by making
@@ -2421,6 +2485,8 @@ var Store = /*#__PURE__*/function () {
2421
2485
  setHover = _useHover.setHover,
2422
2486
  cancelHover = _useHover.cancelHover;
2423
2487
  var store = (0,external_vue_.ref)(new src_store(props));
2488
+ // 用于处理在 removeTag 时, popOver panel 触发 clickOutside 消失的问题
2489
+ var isAlways = (0,external_vue_.ref)(false);
2424
2490
  // 定义selectedText变量用于记录当前选择的值的文本
2425
2491
  var selectedText = (0,external_vue_.ref)('');
2426
2492
  // 定义selectedTags变量用于记录多选模式下已选的tag
@@ -2457,7 +2523,8 @@ var Store = /*#__PURE__*/function () {
2457
2523
  var inputRef = (0,external_vue_.ref)(null);
2458
2524
  // 用computed定义placeholder变量,用于处理props中的placeholder属性
2459
2525
  var placeholder = (0,external_vue_.computed)(function () {
2460
- return props.placeholder ? props.placeholder : t.value.pleaseSelect;
2526
+ var placeholder = props.placeholder ? props.placeholder : t.value.pleaseSelect;
2527
+ return modelValue.value.length === 0 ? placeholder : '';
2461
2528
  });
2462
2529
  var displayText = (0,external_vue_.computed)(function () {
2463
2530
  if (props.customTextFillback) {
@@ -2522,6 +2589,7 @@ var Store = /*#__PURE__*/function () {
2522
2589
  };
2523
2590
  // 移除tag
2524
2591
  var removeTag = function removeTag(value, index, e) {
2592
+ isAlways.value = true;
2525
2593
  e.stopPropagation();
2526
2594
  var current = JSON.parse(JSON.stringify(value));
2527
2595
  var tag = current.splice(index, 1)[0];
@@ -2534,6 +2602,7 @@ var Store = /*#__PURE__*/function () {
2534
2602
  // 计算过后,关闭编辑状态
2535
2603
  setTimeout(function () {
2536
2604
  isEdit.value = isFocus.value;
2605
+ isAlways.value = false;
2537
2606
  });
2538
2607
  };
2539
2608
  // modelValue的监听函数
@@ -2647,6 +2716,7 @@ var Store = /*#__PURE__*/function () {
2647
2716
  overflowTagIndex: overflowTagIndex,
2648
2717
  isCollapse: isCollapse,
2649
2718
  isFocus: isFocus,
2719
+ isAlways: isAlways,
2650
2720
  store: store,
2651
2721
  updateValue: updateValue,
2652
2722
  selectedText: selectedText,
@@ -2677,7 +2747,8 @@ var Store = /*#__PURE__*/function () {
2677
2747
  var _this = this;
2678
2748
  // 定义suffixIcon函数,用于根据不同情况渲染后缀图标
2679
2749
  var suffixIcon = function suffixIcon() {
2680
- if (_this.clearable && _this.isHover && !_this.disabled) {
2750
+ var _this$modelValue;
2751
+ if (_this.clearable && _this.isHover && !_this.disabled && ((_this$modelValue = _this.modelValue) === null || _this$modelValue === void 0 ? void 0 : _this$modelValue.length) > 0) {
2681
2752
  // 当可清空、鼠标悬浮且未禁用时,渲染清空图标
2682
2753
  return (0,external_vue_.createVNode)(icon_namespaceObject.Close, {
2683
2754
  "class": _this.resolveClassName('icon-clear-icon'),
@@ -2742,12 +2813,14 @@ var Store = /*#__PURE__*/function () {
2742
2813
  };
2743
2814
  // 定义popoverRender函数,用于渲染弹出框
2744
2815
  var popoverRender = function popoverRender() {
2745
- return (0,external_vue_.createVNode)(popover_namespaceObject["default"], {
2816
+ return (0,external_vue_.createVNode)(popover_["default"], {
2746
2817
  "ref": "popover",
2747
2818
  "class": _this.resolveClassName('cascader-popover-wrapper'),
2819
+ "always": _this.isAlways,
2748
2820
  "arrow": false,
2749
2821
  "boundary": "body",
2750
2822
  "disabled": _this.disabled,
2823
+ "hideIgnoreReference": true,
2751
2824
  "offset": 4,
2752
2825
  "placement": "bottom-start",
2753
2826
  "referenceCls": _this.resolveClassName('cascader-popover-reference'),
@@ -2806,7 +2879,7 @@ var Store = /*#__PURE__*/function () {
2806
2879
  }, [this.$slots.trigger ? popoverRender() : (0,external_vue_.createVNode)("div", {
2807
2880
  "ref": "bkCascaderRef",
2808
2881
  "class": [this.resolveClassName('cascader'), this.extCls, {
2809
- 'is-unselected': this.modelValue.length === 0,
2882
+ 'is-unselected': !this.modelValue || this.modelValue.length === 0,
2810
2883
  'is-hover': this.isHover,
2811
2884
  'is-filterable': this.filterable,
2812
2885
  'is-focus': this.isFocus,
@@ -2820,7 +2893,7 @@ var Store = /*#__PURE__*/function () {
2820
2893
  }, [suffixIcon(), popoverRender()])]);
2821
2894
  }
2822
2895
  }));
2823
- ;// CONCATENATED MODULE: ../../packages/cascader/src/index.ts
2896
+ ;// ../../packages/cascader/src/index.ts
2824
2897
  /*
2825
2898
  * Tencent is pleased to support the open source community by making
2826
2899
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2854,8 +2927,6 @@ var BkCascader = (0,shared_.withInstallProps)(cascader, {
2854
2927
  });
2855
2928
  /* harmony default export */ const cascader_src = (BkCascader);
2856
2929
 
2857
- })();
2858
-
2859
2930
  var __webpack_exports__BkCascader = __webpack_exports__.BkCascader;
2860
2931
  var __webpack_exports__BkCascaderPanel = __webpack_exports__.BkCascaderPanel;
2861
2932
  var __webpack_exports__default = __webpack_exports__["default"];