bkui-vue 2.0.2-beta.22 → 2.0.2-beta.23

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 (160) hide show
  1. package/dist/index.cjs.js +50 -76
  2. package/dist/index.esm.js +19536 -22010
  3. package/dist/index.umd.js +50 -76
  4. package/lib/affix/index.js +22 -30
  5. package/lib/alert/index.js +22 -30
  6. package/lib/animate-number/index.js +10 -14
  7. package/lib/backtop/index.js +22 -32
  8. package/lib/badge/index.js +18 -24
  9. package/lib/breadcrumb/index.js +23 -31
  10. package/lib/button/index.js +26 -36
  11. package/lib/card/index.js +33 -47
  12. package/lib/cascader/index.js +644 -672
  13. package/lib/checkbox/index.js +34 -44
  14. package/lib/code-diff/index.js +79 -83
  15. package/lib/collapse/index.js +33 -39
  16. package/lib/collapse-transition/index.js +14 -20
  17. package/lib/color-picker/index.js +624 -640
  18. package/lib/config-provider/index.js +26 -34
  19. package/lib/container/index.js +21 -27
  20. package/lib/date-picker/index.js +683 -714
  21. package/lib/date-picker/panel/time.d.ts +1 -1
  22. package/lib/date-picker/utils.d.ts +5 -17
  23. package/lib/dialog/index.js +87 -101
  24. package/lib/directives/index.js +512 -520
  25. package/lib/divider/index.js +15 -21
  26. package/lib/dropdown/index.js +31 -43
  27. package/lib/exception/index.js +49 -55
  28. package/lib/fixed-navbar/index.js +14 -20
  29. package/lib/form/index.js +638 -662
  30. package/lib/icon/angle-double-down-line.js +12 -14
  31. package/lib/icon/angle-double-left-line.js +12 -14
  32. package/lib/icon/angle-double-left.js +12 -14
  33. package/lib/icon/angle-double-right-line.js +12 -14
  34. package/lib/icon/angle-double-right.js +12 -14
  35. package/lib/icon/angle-double-up-line.js +12 -14
  36. package/lib/icon/angle-down-fill.js +12 -14
  37. package/lib/icon/angle-down-line.js +12 -14
  38. package/lib/icon/angle-down.js +12 -14
  39. package/lib/icon/angle-left.js +12 -14
  40. package/lib/icon/angle-right.js +12 -14
  41. package/lib/icon/angle-up-fill.js +12 -14
  42. package/lib/icon/angle-up.js +12 -14
  43. package/lib/icon/archive-fill.js +12 -14
  44. package/lib/icon/arrows-left.js +12 -14
  45. package/lib/icon/arrows-right.js +12 -14
  46. package/lib/icon/assistant.js +12 -14
  47. package/lib/icon/audio-fill.js +12 -14
  48. package/lib/icon/bk.js +12 -14
  49. package/lib/icon/circle.js +12 -14
  50. package/lib/icon/close-line.js +12 -14
  51. package/lib/icon/close.js +12 -14
  52. package/lib/icon/code.js +12 -14
  53. package/lib/icon/cog-shape.js +12 -14
  54. package/lib/icon/collapse-left.js +12 -14
  55. package/lib/icon/copy-shape.js +12 -14
  56. package/lib/icon/copy.js +12 -14
  57. package/lib/icon/data-shape.js +12 -14
  58. package/lib/icon/del.js +12 -14
  59. package/lib/icon/doc-fill.js +12 -14
  60. package/lib/icon/done.js +12 -14
  61. package/lib/icon/down-shape.js +12 -14
  62. package/lib/icon/down-small.js +12 -14
  63. package/lib/icon/edit-line.js +12 -14
  64. package/lib/icon/ellipsis.js +12 -14
  65. package/lib/icon/enlarge-line.js +12 -14
  66. package/lib/icon/error.js +12 -14
  67. package/lib/icon/excel-fill.js +12 -14
  68. package/lib/icon/exclamation-circle-shape.js +12 -14
  69. package/lib/icon/eye.js +12 -14
  70. package/lib/icon/filliscreen-line.js +12 -14
  71. package/lib/icon/fix-line.js +12 -14
  72. package/lib/icon/fix-shape.js +12 -14
  73. package/lib/icon/folder-open.js +12 -14
  74. package/lib/icon/folder-shape-open.js +12 -14
  75. package/lib/icon/folder-shape.js +12 -14
  76. package/lib/icon/folder.js +12 -14
  77. package/lib/icon/funnel.js +12 -14
  78. package/lib/icon/grag-fill.js +12 -14
  79. package/lib/icon/help-document-fill.js +12 -14
  80. package/lib/icon/help-fill.js +12 -14
  81. package/lib/icon/help.js +12 -14
  82. package/lib/icon/image-fill.js +12 -14
  83. package/lib/icon/img-error.js +12 -14
  84. package/lib/icon/img-placehoulder.js +12 -14
  85. package/lib/icon/info-line.js +12 -14
  86. package/lib/icon/info.js +12 -14
  87. package/lib/icon/left-shape.js +12 -14
  88. package/lib/icon/left-turn-line.js +12 -14
  89. package/lib/icon/loading.js +12 -14
  90. package/lib/icon/narrow-line.js +12 -14
  91. package/lib/icon/original.js +12 -14
  92. package/lib/icon/pdf-fill.js +12 -14
  93. package/lib/icon/play-shape.js +12 -14
  94. package/lib/icon/plus.js +12 -14
  95. package/lib/icon/ppt-fill.js +12 -14
  96. package/lib/icon/qq.js +12 -14
  97. package/lib/icon/right-shape.js +12 -14
  98. package/lib/icon/right-turn-line.js +12 -14
  99. package/lib/icon/search.js +12 -14
  100. package/lib/icon/share.js +12 -14
  101. package/lib/icon/spinner.js +12 -14
  102. package/lib/icon/success.js +12 -14
  103. package/lib/icon/switcher-loading.js +12 -14
  104. package/lib/icon/text-all.js +12 -14
  105. package/lib/icon/text-file.js +12 -14
  106. package/lib/icon/text-fill.js +12 -14
  107. package/lib/icon/transfer.js +12 -14
  108. package/lib/icon/tree-application-shape.js +12 -14
  109. package/lib/icon/unfull-screen.js +12 -14
  110. package/lib/icon/unvisible.js +12 -14
  111. package/lib/icon/up-shape.js +12 -14
  112. package/lib/icon/upload.js +12 -14
  113. package/lib/icon/video-fill.js +12 -14
  114. package/lib/icon/warn.js +12 -14
  115. package/lib/icon/weixin-pro.js +12 -14
  116. package/lib/icon/weixin.js +12 -14
  117. package/lib/image/index.js +324 -340
  118. package/lib/index.js +1 -1
  119. package/lib/info-box/index.js +87 -101
  120. package/lib/input/index.js +321 -333
  121. package/lib/link/index.js +18 -26
  122. package/lib/loading/index.js +19 -25
  123. package/lib/locale/index.js +3 -3
  124. package/lib/menu/index.js +32 -40
  125. package/lib/message/index.js +41 -47
  126. package/lib/modal/index.js +29 -39
  127. package/lib/navigation/index.js +19 -27
  128. package/lib/notify/index.js +27 -37
  129. package/lib/overflow-title/index.js +29 -41
  130. package/lib/pagination/index.js +46 -62
  131. package/lib/pop-confirm/index.js +33 -49
  132. package/lib/popover/index.js +346 -361
  133. package/lib/popover2/index.js +10 -14
  134. package/lib/process/index.js +74 -78
  135. package/lib/progress/index.js +20 -26
  136. package/lib/radio/index.js +31 -39
  137. package/lib/rate/index.js +19 -25
  138. package/lib/resize-layout/index.js +22 -30
  139. package/lib/scrollbar/index.js +25 -25
  140. package/lib/search-select/index.js +509 -531
  141. package/lib/select/index.js +543 -585
  142. package/lib/shared/index.js +49 -57
  143. package/lib/sideslider/index.js +82 -90
  144. package/lib/slider/index.js +75 -85
  145. package/lib/steps/index.js +72 -78
  146. package/lib/swiper/index.js +18 -24
  147. package/lib/switcher/index.js +22 -30
  148. package/lib/tab/index.js +321 -335
  149. package/lib/table/index.js +602 -660
  150. package/lib/table-column/index.js +9 -13
  151. package/lib/tag/index.js +26 -36
  152. package/lib/tag-input/index.js +348 -374
  153. package/lib/time-picker/index.js +9 -13
  154. package/lib/timeline/index.js +15 -21
  155. package/lib/transfer/index.js +40 -56
  156. package/lib/tree/index.js +84 -17363
  157. package/lib/upload/index.js +562 -574
  158. package/lib/virtual-render/index.js +43 -55
  159. package/package.json +1 -1
  160. /package/dist/{style.css → cli.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  import "../styles/reset.css";
2
2
  import "./cascader.less";
3
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
4
3
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
5
4
  import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
6
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
9
9
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
@@ -18,181 +18,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../
18
18
  import "../checkbox/checkbox.less";
19
19
  /******/ var __webpack_modules__ = ({
20
20
 
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:
21
+ /***/ 668:
196
22
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
197
23
 
198
24
 
@@ -203,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
203
29
 
204
30
  // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
205
31
 
206
- ;// ../../packages/directives/src/clickoutside.ts
32
+ ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
207
33
  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; } } }; }
208
34
  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); }
209
35
  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; }
@@ -330,10 +156,10 @@ ClickOutside.install = function (app) {
330
156
  };
331
157
  /* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
332
158
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
333
- var esm_typeof = __webpack_require__(7545);
159
+ var esm_typeof = __webpack_require__(6522);
334
160
  // EXTERNAL MODULE: external "../popover"
335
- var popover_ = __webpack_require__(592);
336
- ;// ../../packages/directives/src/ellipsis.ts
161
+ var popover_ = __webpack_require__(563);
162
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
337
163
 
338
164
  /*
339
165
  * Tencent is pleased to support the open source community by making
@@ -444,9 +270,9 @@ var ellipsis = {
444
270
  };
445
271
  /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
446
272
  // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
447
- var normalize_wheel = __webpack_require__(8283);
273
+ var normalize_wheel = __webpack_require__(2439);
448
274
  var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
449
- ;// ../../packages/directives/src/mousewheel.ts
275
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
450
276
  /*
451
277
  * Tencent is pleased to support the open source community by making
452
278
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -489,20 +315,18 @@ var mousewheel = {
489
315
  };
490
316
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
491
317
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
492
- var defineProperty = __webpack_require__(4586);
318
+ var defineProperty = __webpack_require__(6666);
493
319
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
494
- var toConsumableArray = __webpack_require__(5153);
320
+ var toConsumableArray = __webpack_require__(7930);
495
321
  // EXTERNAL MODULE: external "vue"
496
- var external_vue_ = __webpack_require__(5286);
322
+ var external_vue_ = __webpack_require__(6609);
497
323
  // EXTERNAL MODULE: external "../shared"
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
324
+ var shared_ = __webpack_require__(9253);
325
+ ;// CONCATENATED MODULE: external "@popperjs/core"
326
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
327
+ var y = x => () => x
328
+ const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
329
+ ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
506
330
 
507
331
 
508
332
 
@@ -791,19 +615,15 @@ function hide(el) {
791
615
  }
792
616
  }
793
617
  /* harmony default export */ const src_tooltips = (tooltips);
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))
618
+ ;// CONCATENATED MODULE: external "../loading"
619
+ var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
620
+ var external_loading_y = x => () => x
799
621
  const external_loading_namespaceObject = external_loading_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))
622
+ ;// CONCATENATED MODULE: external "../overflow-title"
623
+ var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
624
+ var external_overflow_title_y = x => () => x
805
625
  const external_overflow_title_namespaceObject = external_overflow_title_x({ });
806
- ;// ../../packages/directives/src/index.ts
626
+ ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
807
627
  /*
808
628
  * Tencent is pleased to support the open source community by making
809
629
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -839,45 +659,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
839
659
 
840
660
  /***/ }),
841
661
 
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__) => {
662
+ /***/ 2439:
663
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
856
664
 
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);
665
+ module.exports = __webpack_require__(2527);
861
666
 
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
- }
876
667
 
877
668
  /***/ }),
878
669
 
879
- /***/ 5022:
880
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
670
+ /***/ 7430:
671
+ /***/ ((module) => {
881
672
 
882
673
  /**
883
674
  * Copyright (c) 2015, Facebook, Inc.
@@ -887,260 +678,66 @@ function _defineProperty(obj, key, value) {
887
678
  * LICENSE file in the root directory of this source tree. An additional grant
888
679
  * of patent rights can be found in the PATENTS file in the same directory.
889
680
  *
890
- * @providesModule normalizeWheel
891
- * @typechecks
681
+ * @providesModule ExecutionEnvironment
682
+ */
683
+
684
+ /*jslint evil: true */
685
+
686
+
687
+
688
+ var canUseDOM = !!(
689
+ typeof window !== 'undefined' &&
690
+ window.document &&
691
+ window.document.createElement
692
+ );
693
+
694
+ /**
695
+ * Simple, lightweight module assisting with the detection and context of
696
+ * Worker. Helps avoid circular dependencies and allows code to reason about
697
+ * whether or not they are in a Worker, even if they never include the main
698
+ * `ReactWorker` dependency.
892
699
  */
700
+ var ExecutionEnvironment = {
893
701
 
702
+ canUseDOM: canUseDOM,
894
703
 
704
+ canUseWorkers: typeof Worker !== 'undefined',
895
705
 
896
- var UserAgent_DEPRECATED = __webpack_require__(7416);
706
+ canUseEventListeners:
707
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
897
708
 
898
- var isEventSupported = __webpack_require__(2586);
709
+ canUseViewport: canUseDOM && !!window.screen,
899
710
 
711
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
900
712
 
901
- // Reasonable defaults
902
- var PIXEL_STEP = 10;
903
- var LINE_HEIGHT = 40;
904
- var PAGE_HEIGHT = 800;
713
+ };
714
+
715
+ module.exports = ExecutionEnvironment;
716
+
717
+
718
+ /***/ }),
719
+
720
+ /***/ 6377:
721
+ /***/ ((module) => {
905
722
 
906
723
  /**
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.
724
+ * Copyright 2004-present Facebook. All Rights Reserved.
910
725
  *
911
- * If you need to react to the mouse wheel in a predictable way, this code is
912
- * like your bestest friend. * hugs *
726
+ * @providesModule UserAgent_DEPRECATED
727
+ */
728
+
729
+ /**
730
+ * Provides entirely client-side User Agent and OS detection. You should prefer
731
+ * the non-deprecated UserAgent module when possible, which exposes our
732
+ * authoritative server-side PHP-based detection to the client.
913
733
  *
914
- * As of today, there are 4 DOM event types you can listen to:
734
+ * Usage is straightforward:
915
735
  *
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
736
+ * if (UserAgent_DEPRECATED.ie()) {
737
+ * // IE
738
+ * }
920
739
  *
921
- * So what to do? The is the best:
922
- *
923
- * normalizeWheel.getEventType();
924
- *
925
- * In your event callback, use this code to get sane interpretation of the
926
- * deltas. This code will return an object with properties:
927
- *
928
- * spinX -- normalized spin speed (use for zoom) - x plane
929
- * spinY -- " - y plane
930
- * pixelX -- normalized distance (to pixels) - x plane
931
- * pixelY -- " - y plane
932
- *
933
- * Wheel values are provided by the browser assuming you are using the wheel to
934
- * scroll a web page by a number of lines or pixels (or pages). Values can vary
935
- * significantly on different platforms and browsers, forgetting that you can
936
- * scroll at different speeds. Some devices (like trackpads) emit more events
937
- * at smaller increments with fine granularity, and some emit massive jumps with
938
- * linear speed or acceleration.
939
- *
940
- * This code does its best to normalize the deltas for you:
941
- *
942
- * - spin is trying to normalize how far the wheel was spun (or trackpad
943
- * dragged). This is super useful for zoom support where you want to
944
- * throw away the chunky scroll steps on the PC and make those equal to
945
- * the slow and smooth tiny steps on the Mac. Key data: This code tries to
946
- * resolve a single slow step on a wheel to 1.
947
- *
948
- * - pixel is normalizing the desired scroll delta in pixel units. You'll
949
- * get the crazy differences between browsers, but at least it'll be in
950
- * pixels!
951
- *
952
- * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
953
- * should translate to positive value zooming IN, negative zooming OUT.
954
- * This matches the newer 'wheel' event.
955
- *
956
- * Why are there spinX, spinY (or pixels)?
957
- *
958
- * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
959
- * with a mouse. It results in side-scrolling in the browser by default.
960
- *
961
- * - spinY is what you expect -- it's the classic axis of a mouse wheel.
962
- *
963
- * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
964
- * probably is by browsers in conjunction with fancy 3D controllers .. but
965
- * you know.
966
- *
967
- * Implementation info:
968
- *
969
- * Examples of 'wheel' event if you scroll slowly (down) by one step with an
970
- * average mouse:
971
- *
972
- * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
973
- * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
974
- * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
975
- * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
976
- * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
977
- *
978
- * On the trackpad:
979
- *
980
- * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
981
- * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
982
- *
983
- * On other/older browsers.. it's more complicated as there can be multiple and
984
- * also missing delta values.
985
- *
986
- * The 'wheel' event is more standard:
987
- *
988
- * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
989
- *
990
- * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
991
- * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
992
- * backward compatibility with older events. Those other values help us
993
- * better normalize spin speed. Example of what the browsers provide:
994
- *
995
- * | event.wheelDelta | event.detail
996
- * ------------------+------------------+--------------
997
- * Safari v5/OS X | -120 | 0
998
- * Safari v5/Win7 | -120 | 0
999
- * Chrome v17/OS X | -120 | 0
1000
- * Chrome v17/Win7 | -120 | 0
1001
- * IE9/Win7 | -120 | undefined
1002
- * Firefox v4/OS X | undefined | 1
1003
- * Firefox v4/Win7 | undefined | 3
1004
- *
1005
- */
1006
- function normalizeWheel(/*object*/ event) /*object*/ {
1007
- var sX = 0, sY = 0, // spinX, spinY
1008
- pX = 0, pY = 0; // pixelX, pixelY
1009
-
1010
- // Legacy
1011
- if ('detail' in event) { sY = event.detail; }
1012
- if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1013
- if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1014
- if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1015
-
1016
- // side scrolling on FF with DOMMouseScroll
1017
- if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1018
- sX = sY;
1019
- sY = 0;
1020
- }
1021
-
1022
- pX = sX * PIXEL_STEP;
1023
- pY = sY * PIXEL_STEP;
1024
-
1025
- if ('deltaY' in event) { pY = event.deltaY; }
1026
- if ('deltaX' in event) { pX = event.deltaX; }
1027
-
1028
- if ((pX || pY) && event.deltaMode) {
1029
- if (event.deltaMode == 1) { // delta in LINE units
1030
- pX *= LINE_HEIGHT;
1031
- pY *= LINE_HEIGHT;
1032
- } else { // delta in PAGE units
1033
- pX *= PAGE_HEIGHT;
1034
- pY *= PAGE_HEIGHT;
1035
- }
1036
- }
1037
-
1038
- // Fall-back if spin cannot be determined
1039
- if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1040
- if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1041
-
1042
- return { spinX : sX,
1043
- spinY : sY,
1044
- pixelX : pX,
1045
- pixelY : pY };
1046
- }
1047
-
1048
-
1049
- /**
1050
- * The best combination if you prefer spinX + spinY normalization. It favors
1051
- * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1052
- * 'wheel' event, making spin speed determination impossible.
1053
- */
1054
- normalizeWheel.getEventType = function() /*string*/ {
1055
- return (UserAgent_DEPRECATED.firefox())
1056
- ? 'DOMMouseScroll'
1057
- : (isEventSupported('wheel'))
1058
- ? 'wheel'
1059
- : 'mousewheel';
1060
- };
1061
-
1062
- module.exports = normalizeWheel;
1063
-
1064
-
1065
- /***/ }),
1066
-
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:
1088
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1089
-
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) });
1095
-
1096
- /***/ }),
1097
-
1098
- /***/ 5286:
1099
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1100
-
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) });
1106
-
1107
- /***/ }),
1108
-
1109
- /***/ 6284:
1110
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1111
-
1112
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1113
- /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1114
- /* harmony export */ });
1115
- function _arrayLikeToArray(arr, len) {
1116
- if (len == null || len > arr.length) len = arr.length;
1117
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1118
- return arr2;
1119
- }
1120
-
1121
- /***/ }),
1122
-
1123
- /***/ 7416:
1124
- /***/ ((module) => {
1125
-
1126
- /**
1127
- * Copyright 2004-present Facebook. All Rights Reserved.
1128
- *
1129
- * @providesModule UserAgent_DEPRECATED
1130
- */
1131
-
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:
740
+ * You can also do version checks:
1144
741
  *
1145
742
  * if (UserAgent_DEPRECATED.ie() >= 7) {
1146
743
  * // IE7 or better
@@ -1287,180 +884,517 @@ var UserAgent_DEPRECATED = {
1287
884
  },
1288
885
 
1289
886
 
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
- },
887
+ /**
888
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
889
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
890
+ * this when we don't need it -- tracked by #601957.
891
+ */
892
+ ie64: function() {
893
+ return UserAgent_DEPRECATED.ie() && _win64;
894
+ },
895
+
896
+ /**
897
+ * Check if the UA is Firefox.
898
+ *
899
+ *
900
+ * @return float|NaN Version number (if match) or NaN.
901
+ */
902
+ firefox: function() {
903
+ return _populate() || _firefox;
904
+ },
905
+
906
+
907
+ /**
908
+ * Check if the UA is Opera.
909
+ *
910
+ *
911
+ * @return float|NaN Version number (if match) or NaN.
912
+ */
913
+ opera: function() {
914
+ return _populate() || _opera;
915
+ },
916
+
917
+
918
+ /**
919
+ * Check if the UA is WebKit.
920
+ *
921
+ *
922
+ * @return float|NaN Version number (if match) or NaN.
923
+ */
924
+ webkit: function() {
925
+ return _populate() || _webkit;
926
+ },
927
+
928
+ /**
929
+ * For Push
930
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
931
+ */
932
+ safari: function() {
933
+ return UserAgent_DEPRECATED.webkit();
934
+ },
935
+
936
+ /**
937
+ * Check if the UA is a Chrome browser.
938
+ *
939
+ *
940
+ * @return float|NaN Version number (if match) or NaN.
941
+ */
942
+ chrome : function() {
943
+ return _populate() || _chrome;
944
+ },
945
+
946
+
947
+ /**
948
+ * Check if the user is running Windows.
949
+ *
950
+ * @return bool `true' if the user's OS is Windows.
951
+ */
952
+ windows: function() {
953
+ return _populate() || _windows;
954
+ },
955
+
956
+
957
+ /**
958
+ * Check if the user is running Mac OS X.
959
+ *
960
+ * @return float|bool Returns a float if a version number is detected,
961
+ * otherwise true/false.
962
+ */
963
+ osx: function() {
964
+ return _populate() || _osx;
965
+ },
966
+
967
+ /**
968
+ * Check if the user is running Linux.
969
+ *
970
+ * @return bool `true' if the user's OS is some flavor of Linux.
971
+ */
972
+ linux: function() {
973
+ return _populate() || _linux;
974
+ },
975
+
976
+ /**
977
+ * Check if the user is running on an iPhone or iPod platform.
978
+ *
979
+ * @return bool `true' if the user is running some flavor of the
980
+ * iPhone OS.
981
+ */
982
+ iphone: function() {
983
+ return _populate() || _iphone;
984
+ },
985
+
986
+ mobile: function() {
987
+ return _populate() || (_iphone || _ipad || _android || _mobile);
988
+ },
989
+
990
+ nativeApp: function() {
991
+ // webviews inside of the native apps
992
+ return _populate() || _native;
993
+ },
994
+
995
+ android: function() {
996
+ return _populate() || _android;
997
+ },
998
+
999
+ ipad: function() {
1000
+ return _populate() || _ipad;
1001
+ }
1002
+ };
1003
+
1004
+ module.exports = UserAgent_DEPRECATED;
1005
+
1006
+
1007
+ /***/ }),
1008
+
1009
+ /***/ 3541:
1010
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1011
+
1012
+ /**
1013
+ * Copyright 2013-2015, Facebook, Inc.
1014
+ * All rights reserved.
1015
+ *
1016
+ * This source code is licensed under the BSD-style license found in the
1017
+ * LICENSE file in the root directory of this source tree. An additional grant
1018
+ * of patent rights can be found in the PATENTS file in the same directory.
1019
+ *
1020
+ * @providesModule isEventSupported
1021
+ */
1022
+
1023
+
1024
+
1025
+ var ExecutionEnvironment = __webpack_require__(7430);
1026
+
1027
+ var useHasFeature;
1028
+ if (ExecutionEnvironment.canUseDOM) {
1029
+ useHasFeature =
1030
+ document.implementation &&
1031
+ document.implementation.hasFeature &&
1032
+ // always returns true in newer browsers as per the standard.
1033
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
1034
+ document.implementation.hasFeature('', '') !== true;
1035
+ }
1036
+
1037
+ /**
1038
+ * Checks if an event is supported in the current execution environment.
1039
+ *
1040
+ * NOTE: This will not work correctly for non-generic events such as `change`,
1041
+ * `reset`, `load`, `error`, and `select`.
1042
+ *
1043
+ * Borrows from Modernizr.
1044
+ *
1045
+ * @param {string} eventNameSuffix Event name, e.g. "click".
1046
+ * @param {?boolean} capture Check if the capture phase is supported.
1047
+ * @return {boolean} True if the event is supported.
1048
+ * @internal
1049
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
1050
+ */
1051
+ function isEventSupported(eventNameSuffix, capture) {
1052
+ if (!ExecutionEnvironment.canUseDOM ||
1053
+ capture && !('addEventListener' in document)) {
1054
+ return false;
1055
+ }
1056
+
1057
+ var eventName = 'on' + eventNameSuffix;
1058
+ var isSupported = eventName in document;
1059
+
1060
+ if (!isSupported) {
1061
+ var element = document.createElement('div');
1062
+ element.setAttribute(eventName, 'return;');
1063
+ isSupported = typeof element[eventName] === 'function';
1064
+ }
1065
+
1066
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
1067
+ // This is the only way to test support for the `wheel` event in IE9+.
1068
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
1069
+ }
1070
+
1071
+ return isSupported;
1072
+ }
1073
+
1074
+ module.exports = isEventSupported;
1075
+
1076
+
1077
+ /***/ }),
1078
+
1079
+ /***/ 2527:
1080
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1081
+
1082
+ /**
1083
+ * Copyright (c) 2015, Facebook, Inc.
1084
+ * All rights reserved.
1085
+ *
1086
+ * This source code is licensed under the BSD-style license found in the
1087
+ * LICENSE file in the root directory of this source tree. An additional grant
1088
+ * of patent rights can be found in the PATENTS file in the same directory.
1089
+ *
1090
+ * @providesModule normalizeWheel
1091
+ * @typechecks
1092
+ */
1093
+
1094
+
1095
+
1096
+ var UserAgent_DEPRECATED = __webpack_require__(6377);
1097
+
1098
+ var isEventSupported = __webpack_require__(3541);
1099
+
1100
+
1101
+ // Reasonable defaults
1102
+ var PIXEL_STEP = 10;
1103
+ var LINE_HEIGHT = 40;
1104
+ var PAGE_HEIGHT = 800;
1105
+
1106
+ /**
1107
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
1108
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
1109
+ * your questions.
1110
+ *
1111
+ * If you need to react to the mouse wheel in a predictable way, this code is
1112
+ * like your bestest friend. * hugs *
1113
+ *
1114
+ * As of today, there are 4 DOM event types you can listen to:
1115
+ *
1116
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
1117
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
1118
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
1119
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
1120
+ *
1121
+ * So what to do? The is the best:
1122
+ *
1123
+ * normalizeWheel.getEventType();
1124
+ *
1125
+ * In your event callback, use this code to get sane interpretation of the
1126
+ * deltas. This code will return an object with properties:
1127
+ *
1128
+ * spinX -- normalized spin speed (use for zoom) - x plane
1129
+ * spinY -- " - y plane
1130
+ * pixelX -- normalized distance (to pixels) - x plane
1131
+ * pixelY -- " - y plane
1132
+ *
1133
+ * Wheel values are provided by the browser assuming you are using the wheel to
1134
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
1135
+ * significantly on different platforms and browsers, forgetting that you can
1136
+ * scroll at different speeds. Some devices (like trackpads) emit more events
1137
+ * at smaller increments with fine granularity, and some emit massive jumps with
1138
+ * linear speed or acceleration.
1139
+ *
1140
+ * This code does its best to normalize the deltas for you:
1141
+ *
1142
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
1143
+ * dragged). This is super useful for zoom support where you want to
1144
+ * throw away the chunky scroll steps on the PC and make those equal to
1145
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
1146
+ * resolve a single slow step on a wheel to 1.
1147
+ *
1148
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
1149
+ * get the crazy differences between browsers, but at least it'll be in
1150
+ * pixels!
1151
+ *
1152
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
1153
+ * should translate to positive value zooming IN, negative zooming OUT.
1154
+ * This matches the newer 'wheel' event.
1155
+ *
1156
+ * Why are there spinX, spinY (or pixels)?
1157
+ *
1158
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
1159
+ * with a mouse. It results in side-scrolling in the browser by default.
1160
+ *
1161
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
1162
+ *
1163
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
1164
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
1165
+ * you know.
1166
+ *
1167
+ * Implementation info:
1168
+ *
1169
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
1170
+ * average mouse:
1171
+ *
1172
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
1173
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
1174
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
1175
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
1176
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
1177
+ *
1178
+ * On the trackpad:
1179
+ *
1180
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
1181
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
1182
+ *
1183
+ * On other/older browsers.. it's more complicated as there can be multiple and
1184
+ * also missing delta values.
1185
+ *
1186
+ * The 'wheel' event is more standard:
1187
+ *
1188
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
1189
+ *
1190
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
1191
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
1192
+ * backward compatibility with older events. Those other values help us
1193
+ * better normalize spin speed. Example of what the browsers provide:
1194
+ *
1195
+ * | event.wheelDelta | event.detail
1196
+ * ------------------+------------------+--------------
1197
+ * Safari v5/OS X | -120 | 0
1198
+ * Safari v5/Win7 | -120 | 0
1199
+ * Chrome v17/OS X | -120 | 0
1200
+ * Chrome v17/Win7 | -120 | 0
1201
+ * IE9/Win7 | -120 | undefined
1202
+ * Firefox v4/OS X | undefined | 1
1203
+ * Firefox v4/Win7 | undefined | 3
1204
+ *
1205
+ */
1206
+ function normalizeWheel(/*object*/ event) /*object*/ {
1207
+ var sX = 0, sY = 0, // spinX, spinY
1208
+ pX = 0, pY = 0; // pixelX, pixelY
1209
+
1210
+ // Legacy
1211
+ if ('detail' in event) { sY = event.detail; }
1212
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1213
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1214
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1215
+
1216
+ // side scrolling on FF with DOMMouseScroll
1217
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1218
+ sX = sY;
1219
+ sY = 0;
1220
+ }
1221
+
1222
+ pX = sX * PIXEL_STEP;
1223
+ pY = sY * PIXEL_STEP;
1224
+
1225
+ if ('deltaY' in event) { pY = event.deltaY; }
1226
+ if ('deltaX' in event) { pX = event.deltaX; }
1227
+
1228
+ if ((pX || pY) && event.deltaMode) {
1229
+ if (event.deltaMode == 1) { // delta in LINE units
1230
+ pX *= LINE_HEIGHT;
1231
+ pY *= LINE_HEIGHT;
1232
+ } else { // delta in PAGE units
1233
+ pX *= PAGE_HEIGHT;
1234
+ pY *= PAGE_HEIGHT;
1235
+ }
1236
+ }
1237
+
1238
+ // Fall-back if spin cannot be determined
1239
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1240
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1241
+
1242
+ return { spinX : sX,
1243
+ spinY : sY,
1244
+ pixelX : pX,
1245
+ pixelY : pY };
1246
+ }
1298
1247
 
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
- },
1308
1248
 
1249
+ /**
1250
+ * The best combination if you prefer spinX + spinY normalization. It favors
1251
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1252
+ * 'wheel' event, making spin speed determination impossible.
1253
+ */
1254
+ normalizeWheel.getEventType = function() /*string*/ {
1255
+ return (UserAgent_DEPRECATED.firefox())
1256
+ ? 'DOMMouseScroll'
1257
+ : (isEventSupported('wheel'))
1258
+ ? 'wheel'
1259
+ : 'mousewheel';
1260
+ };
1309
1261
 
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
- },
1262
+ module.exports = normalizeWheel;
1319
1263
 
1320
1264
 
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
- },
1265
+ /***/ }),
1330
1266
 
1331
- /**
1332
- * For Push
1333
- * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
1334
- */
1335
- safari: function() {
1336
- return UserAgent_DEPRECATED.webkit();
1337
- },
1267
+ /***/ 563:
1268
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1338
1269
 
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
- },
1270
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1271
+ var y = x => () => x
1272
+ module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
1348
1273
 
1274
+ /***/ }),
1349
1275
 
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
- },
1276
+ /***/ 9253:
1277
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1358
1278
 
1279
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1280
+ var y = x => () => x
1281
+ 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 });
1359
1282
 
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
- },
1283
+ /***/ }),
1369
1284
 
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
- },
1285
+ /***/ 6609:
1286
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1378
1287
 
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
- },
1288
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1289
+ var y = x => () => x
1290
+ 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 });
1388
1291
 
1389
- mobile: function() {
1390
- return _populate() || (_iphone || _ipad || _android || _mobile);
1391
- },
1292
+ /***/ }),
1392
1293
 
1393
- nativeApp: function() {
1394
- // webviews inside of the native apps
1395
- return _populate() || _native;
1396
- },
1294
+ /***/ 926:
1295
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1397
1296
 
1398
- android: function() {
1399
- return _populate() || _android;
1400
- },
1297
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1298
+ /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1299
+ /* harmony export */ });
1300
+ function _arrayLikeToArray(arr, len) {
1301
+ if (len == null || len > arr.length) len = arr.length;
1302
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1303
+ return arr2;
1304
+ }
1401
1305
 
1402
- ipad: function() {
1403
- return _populate() || _ipad;
1404
- }
1405
- };
1306
+ /***/ }),
1406
1307
 
1407
- module.exports = UserAgent_DEPRECATED;
1308
+ /***/ 74:
1309
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1310
+
1311
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1312
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
1313
+ /* harmony export */ });
1314
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1408
1315
 
1316
+ function _arrayWithoutHoles(arr) {
1317
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
1318
+ }
1409
1319
 
1410
1320
  /***/ }),
1411
1321
 
1412
- /***/ 7545:
1322
+ /***/ 6666:
1413
1323
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1414
1324
 
1415
1325
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1416
- /* harmony export */ "default": () => (/* binding */ _typeof)
1326
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
1417
1327
  /* harmony export */ });
1418
- function _typeof(o) {
1419
- "@babel/helpers - typeof";
1328
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
1420
1329
 
1421
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1422
- return typeof o;
1423
- } : function (o) {
1424
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1425
- }, _typeof(o);
1330
+ function _defineProperty(obj, key, value) {
1331
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
1332
+ if (key in obj) {
1333
+ Object.defineProperty(obj, key, {
1334
+ value: value,
1335
+ enumerable: true,
1336
+ configurable: true,
1337
+ writable: true
1338
+ });
1339
+ } else {
1340
+ obj[key] = value;
1341
+ }
1342
+ return obj;
1426
1343
  }
1427
1344
 
1428
1345
  /***/ }),
1429
1346
 
1430
- /***/ 7985:
1347
+ /***/ 1079:
1431
1348
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1432
1349
 
1433
1350
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1434
- /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1351
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
1435
1352
  /* harmony export */ });
1436
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
1353
+ function _iterableToArray(iter) {
1354
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1355
+ }
1437
1356
 
1438
- function _unsupportedIterableToArray(o, minLen) {
1439
- if (!o) return;
1440
- if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1441
- var n = Object.prototype.toString.call(o).slice(8, -1);
1442
- if (n === "Object" && o.constructor) n = o.constructor.name;
1443
- if (n === "Map" || n === "Set") return Array.from(o);
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);
1357
+ /***/ }),
1358
+
1359
+ /***/ 6098:
1360
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1361
+
1362
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1363
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
1364
+ /* harmony export */ });
1365
+ function _nonIterableSpread() {
1366
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1445
1367
  }
1446
1368
 
1447
1369
  /***/ }),
1448
1370
 
1449
- /***/ 8283:
1450
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1371
+ /***/ 7930:
1372
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1373
+
1374
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1375
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1376
+ /* harmony export */ });
1377
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
1378
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
1379
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
1380
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
1381
+
1382
+
1451
1383
 
1452
- module.exports = __webpack_require__(5022);
1453
1384
 
1385
+ function _toConsumableArray(arr) {
1386
+ 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"])();
1387
+ }
1454
1388
 
1455
1389
  /***/ }),
1456
1390
 
1457
- /***/ 9824:
1391
+ /***/ 9745:
1458
1392
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1459
1393
 
1460
1394
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1461
1395
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
1462
1396
  /* harmony export */ });
1463
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
1397
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
1464
1398
 
1465
1399
  function toPrimitive(t, r) {
1466
1400
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -1473,6 +1407,60 @@ function toPrimitive(t, r) {
1473
1407
  return ("string" === r ? String : Number)(t);
1474
1408
  }
1475
1409
 
1410
+ /***/ }),
1411
+
1412
+ /***/ 3795:
1413
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1414
+
1415
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1416
+ /* harmony export */ "default": () => (/* binding */ toPropertyKey)
1417
+ /* harmony export */ });
1418
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
1419
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
1420
+
1421
+
1422
+ function toPropertyKey(t) {
1423
+ var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
1424
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
1425
+ }
1426
+
1427
+ /***/ }),
1428
+
1429
+ /***/ 6522:
1430
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1431
+
1432
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1433
+ /* harmony export */ "default": () => (/* binding */ _typeof)
1434
+ /* harmony export */ });
1435
+ function _typeof(o) {
1436
+ "@babel/helpers - typeof";
1437
+
1438
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1439
+ return typeof o;
1440
+ } : function (o) {
1441
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1442
+ }, _typeof(o);
1443
+ }
1444
+
1445
+ /***/ }),
1446
+
1447
+ /***/ 9147:
1448
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1449
+
1450
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1451
+ /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1452
+ /* harmony export */ });
1453
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1454
+
1455
+ function _unsupportedIterableToArray(o, minLen) {
1456
+ if (!o) return;
1457
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1458
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1459
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1460
+ if (n === "Map" || n === "Set") return Array.from(o);
1461
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1462
+ }
1463
+
1476
1464
  /***/ })
1477
1465
 
1478
1466
  /******/ });
@@ -1533,6 +1521,8 @@ function toPrimitive(t, r) {
1533
1521
  /******/
1534
1522
  /************************************************************************/
1535
1523
  var __webpack_exports__ = {};
1524
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1525
+ (() => {
1536
1526
 
1537
1527
  // EXPORTS
1538
1528
  __webpack_require__.d(__webpack_exports__, {
@@ -1542,74 +1532,54 @@ __webpack_require__.d(__webpack_exports__, {
1542
1532
  });
1543
1533
 
1544
1534
  // EXTERNAL MODULE: external "../shared"
1545
- var shared_ = __webpack_require__(5166);
1535
+ var shared_ = __webpack_require__(9253);
1546
1536
  // EXTERNAL MODULE: external "vue"
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) });
1537
+ var external_vue_ = __webpack_require__(6609);
1538
+ ;// CONCATENATED MODULE: external "vue-types"
1539
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1540
+ var y = x => () => x
1541
+ const external_vue_types_namespaceObject = x({ ["array"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.array, ["object"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.object });
1542
+ ;// CONCATENATED MODULE: external "../config-provider"
1543
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1544
+ var config_provider_y = x => () => x
1545
+ 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
1546
  // 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) });
1547
+ var src = __webpack_require__(668);
1548
+ ;// CONCATENATED MODULE: external "../icon"
1549
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1550
+ var icon_y = x => () => x
1551
+ 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
1552
  // 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))
1553
+ var popover_ = __webpack_require__(563);
1554
+ ;// CONCATENATED MODULE: external "../popover/popover.less"
1555
+ var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1556
+ var popover_less_y = x => () => x
1575
1557
  const popover_less_namespaceObject = popover_less_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))
1558
+ ;// CONCATENATED MODULE: external "../select"
1559
+ var select_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1560
+ var select_y = x => () => x
1561
+ const select_namespaceObject = select_x({ ["useHover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover });
1562
+ ;// CONCATENATED MODULE: external "../tag"
1563
+ var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1564
+ var tag_y = x => () => x
1565
+ const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"] });
1566
+ ;// CONCATENATED MODULE: external "../tag/tag.less"
1567
+ var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1568
+ var tag_less_y = x => () => x
1593
1569
  const tag_less_namespaceObject = tag_less_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))
1570
+ ;// CONCATENATED MODULE: external "../tag-input"
1571
+ var tag_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1572
+ var tag_input_y = x => () => x
1573
+ const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow });
1574
+ ;// CONCATENATED MODULE: external "../checkbox"
1575
+ var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1576
+ var checkbox_y = x => () => x
1577
+ const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
1578
+ ;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
1579
+ var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1580
+ var checkbox_less_y = x => () => x
1611
1581
  const checkbox_less_namespaceObject = checkbox_less_x({ });
1612
- ;// ../../packages/cascader/src/cascader-panel.tsx
1582
+ ;// CONCATENATED MODULE: ../../packages/cascader/src/cascader-panel.tsx
1613
1583
 
1614
1584
  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; } } }; }
1615
1585
  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); }
@@ -2009,15 +1979,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
2009
1979
  })]);
2010
1980
  }
2011
1981
  }));
2012
- ;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
1982
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
2013
1983
  function _classCallCheck(instance, Constructor) {
2014
1984
  if (!(instance instanceof Constructor)) {
2015
1985
  throw new TypeError("Cannot call a class as a function");
2016
1986
  }
2017
1987
  }
2018
1988
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2019
- var toPropertyKey = __webpack_require__(205);
2020
- ;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
1989
+ var toPropertyKey = __webpack_require__(3795);
1990
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
2021
1991
 
2022
1992
  function _defineProperties(target, props) {
2023
1993
  for (var i = 0; i < props.length; i++) {
@@ -2036,7 +2006,7 @@ function _createClass(Constructor, protoProps, staticProps) {
2036
2006
  });
2037
2007
  return Constructor;
2038
2008
  }
2039
- ;// ../../packages/cascader/src/node.ts
2009
+ ;// CONCATENATED MODULE: ../../packages/cascader/src/node.ts
2040
2010
 
2041
2011
 
2042
2012
  /*
@@ -2233,7 +2203,7 @@ var Node = /*#__PURE__*/function () {
2233
2203
  return Node;
2234
2204
  }();
2235
2205
  /* harmony default export */ const src_node = (Node);
2236
- ;// ../../packages/cascader/src/store.ts
2206
+ ;// CONCATENATED MODULE: ../../packages/cascader/src/store.ts
2237
2207
 
2238
2208
 
2239
2209
  /*
@@ -2387,7 +2357,7 @@ var Store = /*#__PURE__*/function () {
2387
2357
  return Store;
2388
2358
  }();
2389
2359
  /* harmony default export */ const src_store = (Store);
2390
- ;// ../../packages/cascader/src/cascader.tsx
2360
+ ;// CONCATENATED MODULE: ../../packages/cascader/src/cascader.tsx
2391
2361
 
2392
2362
  /*
2393
2363
  * Tencent is pleased to support the open source community by making
@@ -2893,7 +2863,7 @@ var Store = /*#__PURE__*/function () {
2893
2863
  }, [suffixIcon(), popoverRender()])]);
2894
2864
  }
2895
2865
  }));
2896
- ;// ../../packages/cascader/src/index.ts
2866
+ ;// CONCATENATED MODULE: ../../packages/cascader/src/index.ts
2897
2867
  /*
2898
2868
  * Tencent is pleased to support the open source community by making
2899
2869
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2927,6 +2897,8 @@ var BkCascader = (0,shared_.withInstallProps)(cascader, {
2927
2897
  });
2928
2898
  /* harmony default export */ const cascader_src = (BkCascader);
2929
2899
 
2900
+ })();
2901
+
2930
2902
  var __webpack_exports__BkCascader = __webpack_exports__.BkCascader;
2931
2903
  var __webpack_exports__BkCascaderPanel = __webpack_exports__.BkCascaderPanel;
2932
2904
  var __webpack_exports__default = __webpack_exports__["default"];