bkui-vue 2.0.2-beta.16 → 2.0.2-beta.18

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 (159) hide show
  1. package/dist/index.cjs.js +61 -61
  2. package/dist/index.esm.js +19388 -18179
  3. package/dist/index.umd.js +68 -68
  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 +647 -674
  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 +650 -672
  21. package/lib/dialog/index.js +87 -101
  22. package/lib/directives/index.js +512 -520
  23. package/lib/divider/index.js +15 -21
  24. package/lib/dropdown/index.js +31 -43
  25. package/lib/exception/index.js +49 -55
  26. package/lib/fixed-navbar/index.js +14 -20
  27. package/lib/form/index.js +638 -662
  28. package/lib/icon/angle-double-down-line.js +12 -14
  29. package/lib/icon/angle-double-left-line.js +12 -14
  30. package/lib/icon/angle-double-left.js +12 -14
  31. package/lib/icon/angle-double-right-line.js +12 -14
  32. package/lib/icon/angle-double-right.js +12 -14
  33. package/lib/icon/angle-double-up-line.js +12 -14
  34. package/lib/icon/angle-down-fill.js +12 -14
  35. package/lib/icon/angle-down-line.js +12 -14
  36. package/lib/icon/angle-down.js +12 -14
  37. package/lib/icon/angle-left.js +12 -14
  38. package/lib/icon/angle-right.js +12 -14
  39. package/lib/icon/angle-up-fill.js +12 -14
  40. package/lib/icon/angle-up.js +12 -14
  41. package/lib/icon/archive-fill.js +12 -14
  42. package/lib/icon/arrows-left.js +12 -14
  43. package/lib/icon/arrows-right.js +12 -14
  44. package/lib/icon/assistant.js +12 -14
  45. package/lib/icon/audio-fill.js +12 -14
  46. package/lib/icon/bk.js +12 -14
  47. package/lib/icon/circle.js +12 -14
  48. package/lib/icon/close-line.js +12 -14
  49. package/lib/icon/close.js +12 -14
  50. package/lib/icon/code.js +12 -14
  51. package/lib/icon/cog-shape.js +12 -14
  52. package/lib/icon/collapse-left.js +12 -14
  53. package/lib/icon/copy-shape.js +12 -14
  54. package/lib/icon/copy.js +12 -14
  55. package/lib/icon/data-shape.js +12 -14
  56. package/lib/icon/del.js +12 -14
  57. package/lib/icon/doc-fill.js +12 -14
  58. package/lib/icon/done.js +12 -14
  59. package/lib/icon/down-shape.js +12 -14
  60. package/lib/icon/down-small.js +12 -14
  61. package/lib/icon/edit-line.js +12 -14
  62. package/lib/icon/ellipsis.js +12 -14
  63. package/lib/icon/enlarge-line.js +12 -14
  64. package/lib/icon/error.js +12 -14
  65. package/lib/icon/excel-fill.js +12 -14
  66. package/lib/icon/exclamation-circle-shape.js +12 -14
  67. package/lib/icon/eye.js +12 -14
  68. package/lib/icon/filliscreen-line.js +12 -14
  69. package/lib/icon/fix-line.js +12 -14
  70. package/lib/icon/fix-shape.js +12 -14
  71. package/lib/icon/folder-open.js +12 -14
  72. package/lib/icon/folder-shape-open.js +12 -14
  73. package/lib/icon/folder-shape.js +12 -14
  74. package/lib/icon/folder.js +12 -14
  75. package/lib/icon/funnel.js +12 -14
  76. package/lib/icon/grag-fill.js +12 -14
  77. package/lib/icon/help-document-fill.js +12 -14
  78. package/lib/icon/help-fill.js +12 -14
  79. package/lib/icon/help.js +12 -14
  80. package/lib/icon/image-fill.js +12 -14
  81. package/lib/icon/img-error.js +12 -14
  82. package/lib/icon/img-placehoulder.js +12 -14
  83. package/lib/icon/info-line.js +12 -14
  84. package/lib/icon/info.js +12 -14
  85. package/lib/icon/left-shape.js +12 -14
  86. package/lib/icon/left-turn-line.js +12 -14
  87. package/lib/icon/loading.js +12 -14
  88. package/lib/icon/narrow-line.js +12 -14
  89. package/lib/icon/original.js +12 -14
  90. package/lib/icon/pdf-fill.js +12 -14
  91. package/lib/icon/play-shape.js +12 -14
  92. package/lib/icon/plus.js +12 -14
  93. package/lib/icon/ppt-fill.js +12 -14
  94. package/lib/icon/qq.js +12 -14
  95. package/lib/icon/right-shape.js +12 -14
  96. package/lib/icon/right-turn-line.js +12 -14
  97. package/lib/icon/search.js +12 -14
  98. package/lib/icon/share.js +12 -14
  99. package/lib/icon/spinner.js +12 -14
  100. package/lib/icon/success.js +12 -14
  101. package/lib/icon/switcher-loading.js +12 -14
  102. package/lib/icon/text-all.js +12 -14
  103. package/lib/icon/text-file.js +12 -14
  104. package/lib/icon/text-fill.js +12 -14
  105. package/lib/icon/transfer.js +12 -14
  106. package/lib/icon/tree-application-shape.js +12 -14
  107. package/lib/icon/unfull-screen.js +12 -14
  108. package/lib/icon/unvisible.js +12 -14
  109. package/lib/icon/up-shape.js +12 -14
  110. package/lib/icon/upload.js +12 -14
  111. package/lib/icon/video-fill.js +12 -14
  112. package/lib/icon/warn.js +12 -14
  113. package/lib/icon/weixin-pro.js +12 -14
  114. package/lib/icon/weixin.js +12 -14
  115. package/lib/image/index.js +324 -340
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +87 -101
  118. package/lib/input/index.js +321 -333
  119. package/lib/link/index.js +18 -26
  120. package/lib/loading/index.js +19 -25
  121. package/lib/locale/index.js +3 -3
  122. package/lib/menu/index.js +32 -40
  123. package/lib/message/index.js +41 -47
  124. package/lib/modal/index.js +30 -41
  125. package/lib/navigation/index.js +19 -27
  126. package/lib/notify/index.js +27 -37
  127. package/lib/overflow-title/index.js +29 -41
  128. package/lib/pagination/index.js +46 -62
  129. package/lib/pop-confirm/index.js +33 -49
  130. package/lib/popover/index.js +345 -361
  131. package/lib/popover2/index.js +10 -14
  132. package/lib/process/index.js +74 -78
  133. package/lib/progress/index.js +20 -26
  134. package/lib/radio/index.js +31 -39
  135. package/lib/rate/index.js +19 -25
  136. package/lib/resize-layout/index.js +22 -30
  137. package/lib/scrollbar/index.js +25 -25
  138. package/lib/search-select/index.js +509 -531
  139. package/lib/select/index.js +543 -585
  140. package/lib/shared/index.js +49 -57
  141. package/lib/sideslider/index.js +79 -89
  142. package/lib/slider/index.js +75 -85
  143. package/lib/steps/index.js +72 -78
  144. package/lib/swiper/index.js +18 -24
  145. package/lib/switcher/index.js +22 -30
  146. package/lib/tab/index.js +321 -335
  147. package/lib/table/index.js +602 -660
  148. package/lib/table-column/index.js +9 -13
  149. package/lib/tag/index.js +26 -36
  150. package/lib/tag-input/index.js +348 -374
  151. package/lib/time-picker/index.js +9 -13
  152. package/lib/timeline/index.js +15 -21
  153. package/lib/transfer/index.js +40 -56
  154. package/lib/tree/index.js +82 -102
  155. package/lib/tree/use-node-drag.d.ts +1 -1
  156. package/lib/upload/index.js +562 -574
  157. package/lib/virtual-render/index.js +43 -55
  158. package/package.json +1 -1
  159. /package/dist/{style.css → cli.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  import "../styles/reset.css";
2
2
  import "./color-picker.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";
@@ -12,181 +12,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__ from "
12
12
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 205:
16
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
17
-
18
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ "default": () => (/* binding */ toPropertyKey)
20
- /* harmony export */ });
21
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
22
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
23
-
24
-
25
- function toPropertyKey(t) {
26
- var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
27
- return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
28
- }
29
-
30
- /***/ }),
31
-
32
- /***/ 592:
33
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
34
-
35
- var x = (y) => {
36
- var x = {}; __webpack_require__.d(x, y); return x
37
- }
38
- var y = (x) => (() => (x))
39
- module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
40
-
41
- /***/ }),
42
-
43
- /***/ 1043:
44
- /***/ ((module) => {
45
-
46
- /**
47
- * Copyright (c) 2015, Facebook, Inc.
48
- * All rights reserved.
49
- *
50
- * This source code is licensed under the BSD-style license found in the
51
- * LICENSE file in the root directory of this source tree. An additional grant
52
- * of patent rights can be found in the PATENTS file in the same directory.
53
- *
54
- * @providesModule ExecutionEnvironment
55
- */
56
-
57
- /*jslint evil: true */
58
-
59
-
60
-
61
- var canUseDOM = !!(
62
- typeof window !== 'undefined' &&
63
- window.document &&
64
- window.document.createElement
65
- );
66
-
67
- /**
68
- * Simple, lightweight module assisting with the detection and context of
69
- * Worker. Helps avoid circular dependencies and allows code to reason about
70
- * whether or not they are in a Worker, even if they never include the main
71
- * `ReactWorker` dependency.
72
- */
73
- var ExecutionEnvironment = {
74
-
75
- canUseDOM: canUseDOM,
76
-
77
- canUseWorkers: typeof Worker !== 'undefined',
78
-
79
- canUseEventListeners:
80
- canUseDOM && !!(window.addEventListener || window.attachEvent),
81
-
82
- canUseViewport: canUseDOM && !!window.screen,
83
-
84
- isInWorker: !canUseDOM // For now, this is true - might change in the future.
85
-
86
- };
87
-
88
- module.exports = ExecutionEnvironment;
89
-
90
-
91
- /***/ }),
92
-
93
- /***/ 2586:
94
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
95
-
96
- /**
97
- * Copyright 2013-2015, Facebook, Inc.
98
- * All rights reserved.
99
- *
100
- * This source code is licensed under the BSD-style license found in the
101
- * LICENSE file in the root directory of this source tree. An additional grant
102
- * of patent rights can be found in the PATENTS file in the same directory.
103
- *
104
- * @providesModule isEventSupported
105
- */
106
-
107
-
108
-
109
- var ExecutionEnvironment = __webpack_require__(1043);
110
-
111
- var useHasFeature;
112
- if (ExecutionEnvironment.canUseDOM) {
113
- useHasFeature =
114
- document.implementation &&
115
- document.implementation.hasFeature &&
116
- // always returns true in newer browsers as per the standard.
117
- // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
118
- document.implementation.hasFeature('', '') !== true;
119
- }
120
-
121
- /**
122
- * Checks if an event is supported in the current execution environment.
123
- *
124
- * NOTE: This will not work correctly for non-generic events such as `change`,
125
- * `reset`, `load`, `error`, and `select`.
126
- *
127
- * Borrows from Modernizr.
128
- *
129
- * @param {string} eventNameSuffix Event name, e.g. "click".
130
- * @param {?boolean} capture Check if the capture phase is supported.
131
- * @return {boolean} True if the event is supported.
132
- * @internal
133
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
134
- */
135
- function isEventSupported(eventNameSuffix, capture) {
136
- if (!ExecutionEnvironment.canUseDOM ||
137
- capture && !('addEventListener' in document)) {
138
- return false;
139
- }
140
-
141
- var eventName = 'on' + eventNameSuffix;
142
- var isSupported = eventName in document;
143
-
144
- if (!isSupported) {
145
- var element = document.createElement('div');
146
- element.setAttribute(eventName, 'return;');
147
- isSupported = typeof element[eventName] === 'function';
148
- }
149
-
150
- if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
151
- // This is the only way to test support for the `wheel` event in IE9+.
152
- isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
153
- }
154
-
155
- return isSupported;
156
- }
157
-
158
- module.exports = isEventSupported;
159
-
160
-
161
- /***/ }),
162
-
163
- /***/ 2880:
164
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
165
-
166
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
167
- /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
168
- /* harmony export */ });
169
- function _nonIterableSpread() {
170
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
171
- }
172
-
173
- /***/ }),
174
-
175
- /***/ 3492:
176
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
177
-
178
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
179
- /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
180
- /* harmony export */ });
181
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
182
-
183
- function _arrayWithoutHoles(arr) {
184
- if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
185
- }
186
-
187
- /***/ }),
188
-
189
- /***/ 4193:
15
+ /***/ 668:
190
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
191
17
 
192
18
 
@@ -197,7 +23,7 @@ __webpack_require__.d(__webpack_exports__, {
197
23
 
198
24
  // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
199
25
 
200
- ;// ../../packages/directives/src/clickoutside.ts
26
+ ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
201
27
  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; } } }; }
202
28
  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); }
203
29
  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; }
@@ -324,10 +150,10 @@ ClickOutside.install = function (app) {
324
150
  };
325
151
  /* harmony default export */ const clickoutside = (ClickOutside);
326
152
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
327
- var esm_typeof = __webpack_require__(7545);
153
+ var esm_typeof = __webpack_require__(6522);
328
154
  // EXTERNAL MODULE: external "../popover"
329
- var popover_ = __webpack_require__(592);
330
- ;// ../../packages/directives/src/ellipsis.ts
155
+ var popover_ = __webpack_require__(563);
156
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
331
157
 
332
158
  /*
333
159
  * Tencent is pleased to support the open source community by making
@@ -438,9 +264,9 @@ var ellipsis = {
438
264
  };
439
265
  /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
440
266
  // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
441
- var normalize_wheel = __webpack_require__(8283);
267
+ var normalize_wheel = __webpack_require__(2439);
442
268
  var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
443
- ;// ../../packages/directives/src/mousewheel.ts
269
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
444
270
  /*
445
271
  * Tencent is pleased to support the open source community by making
446
272
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -483,20 +309,18 @@ var mousewheel = {
483
309
  };
484
310
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
485
311
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
486
- var defineProperty = __webpack_require__(4586);
312
+ var defineProperty = __webpack_require__(6666);
487
313
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
488
- var toConsumableArray = __webpack_require__(5153);
314
+ var toConsumableArray = __webpack_require__(7930);
489
315
  // EXTERNAL MODULE: external "vue"
490
- var external_vue_ = __webpack_require__(5286);
316
+ var external_vue_ = __webpack_require__(6609);
491
317
  // EXTERNAL MODULE: external "../shared"
492
- var shared_ = __webpack_require__(5166);
493
- ;// external "@popperjs/core"
494
- var x = (y) => {
495
- var x = {}; __webpack_require__.d(x, y); return x
496
- }
497
- var y = (x) => (() => (x))
498
- const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
499
- ;// ../../packages/directives/src/tooltips.ts
318
+ var shared_ = __webpack_require__(9253);
319
+ ;// CONCATENATED MODULE: external "@popperjs/core"
320
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
321
+ var y = x => () => x
322
+ const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
323
+ ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
500
324
 
501
325
 
502
326
 
@@ -785,19 +609,15 @@ function hide(el) {
785
609
  }
786
610
  }
787
611
  /* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
788
- ;// external "../loading"
789
- var external_loading_x = (y) => {
790
- var x = {}; __webpack_require__.d(x, y); return x
791
- }
792
- var external_loading_y = (x) => (() => (x))
612
+ ;// CONCATENATED MODULE: external "../loading"
613
+ var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
614
+ var external_loading_y = x => () => x
793
615
  const external_loading_namespaceObject = external_loading_x({ });
794
- ;// external "../overflow-title"
795
- var external_overflow_title_x = (y) => {
796
- var x = {}; __webpack_require__.d(x, y); return x
797
- }
798
- var external_overflow_title_y = (x) => (() => (x))
616
+ ;// CONCATENATED MODULE: external "../overflow-title"
617
+ var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
618
+ var external_overflow_title_y = x => () => x
799
619
  const external_overflow_title_namespaceObject = external_overflow_title_x({ });
800
- ;// ../../packages/directives/src/index.ts
620
+ ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
801
621
  /*
802
622
  * Tencent is pleased to support the open source community by making
803
623
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -833,45 +653,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
833
653
 
834
654
  /***/ }),
835
655
 
836
- /***/ 4430:
837
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
838
-
839
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
840
- /* harmony export */ "default": () => (/* binding */ _iterableToArray)
841
- /* harmony export */ });
842
- function _iterableToArray(iter) {
843
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
844
- }
845
-
846
- /***/ }),
847
-
848
- /***/ 4586:
849
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
656
+ /***/ 2439:
657
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
850
658
 
851
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
852
- /* harmony export */ "default": () => (/* binding */ _defineProperty)
853
- /* harmony export */ });
854
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
659
+ module.exports = __webpack_require__(2527);
855
660
 
856
- function _defineProperty(obj, key, value) {
857
- key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
858
- if (key in obj) {
859
- Object.defineProperty(obj, key, {
860
- value: value,
861
- enumerable: true,
862
- configurable: true,
863
- writable: true
864
- });
865
- } else {
866
- obj[key] = value;
867
- }
868
- return obj;
869
- }
870
661
 
871
662
  /***/ }),
872
663
 
873
- /***/ 5022:
874
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
664
+ /***/ 7430:
665
+ /***/ ((module) => {
875
666
 
876
667
  /**
877
668
  * Copyright (c) 2015, Facebook, Inc.
@@ -881,260 +672,66 @@ function _defineProperty(obj, key, value) {
881
672
  * LICENSE file in the root directory of this source tree. An additional grant
882
673
  * of patent rights can be found in the PATENTS file in the same directory.
883
674
  *
884
- * @providesModule normalizeWheel
885
- * @typechecks
675
+ * @providesModule ExecutionEnvironment
676
+ */
677
+
678
+ /*jslint evil: true */
679
+
680
+
681
+
682
+ var canUseDOM = !!(
683
+ typeof window !== 'undefined' &&
684
+ window.document &&
685
+ window.document.createElement
686
+ );
687
+
688
+ /**
689
+ * Simple, lightweight module assisting with the detection and context of
690
+ * Worker. Helps avoid circular dependencies and allows code to reason about
691
+ * whether or not they are in a Worker, even if they never include the main
692
+ * `ReactWorker` dependency.
886
693
  */
694
+ var ExecutionEnvironment = {
887
695
 
696
+ canUseDOM: canUseDOM,
888
697
 
698
+ canUseWorkers: typeof Worker !== 'undefined',
889
699
 
890
- var UserAgent_DEPRECATED = __webpack_require__(7416);
700
+ canUseEventListeners:
701
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
891
702
 
892
- var isEventSupported = __webpack_require__(2586);
703
+ canUseViewport: canUseDOM && !!window.screen,
893
704
 
705
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
894
706
 
895
- // Reasonable defaults
896
- var PIXEL_STEP = 10;
897
- var LINE_HEIGHT = 40;
898
- var PAGE_HEIGHT = 800;
707
+ };
708
+
709
+ module.exports = ExecutionEnvironment;
710
+
711
+
712
+ /***/ }),
713
+
714
+ /***/ 6377:
715
+ /***/ ((module) => {
899
716
 
900
717
  /**
901
- * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
902
- * complicated, thus this doc is long and (hopefully) detailed enough to answer
903
- * your questions.
718
+ * Copyright 2004-present Facebook. All Rights Reserved.
904
719
  *
905
- * If you need to react to the mouse wheel in a predictable way, this code is
906
- * like your bestest friend. * hugs *
720
+ * @providesModule UserAgent_DEPRECATED
721
+ */
722
+
723
+ /**
724
+ * Provides entirely client-side User Agent and OS detection. You should prefer
725
+ * the non-deprecated UserAgent module when possible, which exposes our
726
+ * authoritative server-side PHP-based detection to the client.
907
727
  *
908
- * As of today, there are 4 DOM event types you can listen to:
728
+ * Usage is straightforward:
909
729
  *
910
- * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
911
- * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
912
- * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
913
- * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
730
+ * if (UserAgent_DEPRECATED.ie()) {
731
+ * // IE
732
+ * }
914
733
  *
915
- * So what to do? The is the best:
916
- *
917
- * normalizeWheel.getEventType();
918
- *
919
- * In your event callback, use this code to get sane interpretation of the
920
- * deltas. This code will return an object with properties:
921
- *
922
- * spinX -- normalized spin speed (use for zoom) - x plane
923
- * spinY -- " - y plane
924
- * pixelX -- normalized distance (to pixels) - x plane
925
- * pixelY -- " - y plane
926
- *
927
- * Wheel values are provided by the browser assuming you are using the wheel to
928
- * scroll a web page by a number of lines or pixels (or pages). Values can vary
929
- * significantly on different platforms and browsers, forgetting that you can
930
- * scroll at different speeds. Some devices (like trackpads) emit more events
931
- * at smaller increments with fine granularity, and some emit massive jumps with
932
- * linear speed or acceleration.
933
- *
934
- * This code does its best to normalize the deltas for you:
935
- *
936
- * - spin is trying to normalize how far the wheel was spun (or trackpad
937
- * dragged). This is super useful for zoom support where you want to
938
- * throw away the chunky scroll steps on the PC and make those equal to
939
- * the slow and smooth tiny steps on the Mac. Key data: This code tries to
940
- * resolve a single slow step on a wheel to 1.
941
- *
942
- * - pixel is normalizing the desired scroll delta in pixel units. You'll
943
- * get the crazy differences between browsers, but at least it'll be in
944
- * pixels!
945
- *
946
- * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
947
- * should translate to positive value zooming IN, negative zooming OUT.
948
- * This matches the newer 'wheel' event.
949
- *
950
- * Why are there spinX, spinY (or pixels)?
951
- *
952
- * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
953
- * with a mouse. It results in side-scrolling in the browser by default.
954
- *
955
- * - spinY is what you expect -- it's the classic axis of a mouse wheel.
956
- *
957
- * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
958
- * probably is by browsers in conjunction with fancy 3D controllers .. but
959
- * you know.
960
- *
961
- * Implementation info:
962
- *
963
- * Examples of 'wheel' event if you scroll slowly (down) by one step with an
964
- * average mouse:
965
- *
966
- * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
967
- * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
968
- * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
969
- * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
970
- * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
971
- *
972
- * On the trackpad:
973
- *
974
- * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
975
- * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
976
- *
977
- * On other/older browsers.. it's more complicated as there can be multiple and
978
- * also missing delta values.
979
- *
980
- * The 'wheel' event is more standard:
981
- *
982
- * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
983
- *
984
- * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
985
- * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
986
- * backward compatibility with older events. Those other values help us
987
- * better normalize spin speed. Example of what the browsers provide:
988
- *
989
- * | event.wheelDelta | event.detail
990
- * ------------------+------------------+--------------
991
- * Safari v5/OS X | -120 | 0
992
- * Safari v5/Win7 | -120 | 0
993
- * Chrome v17/OS X | -120 | 0
994
- * Chrome v17/Win7 | -120 | 0
995
- * IE9/Win7 | -120 | undefined
996
- * Firefox v4/OS X | undefined | 1
997
- * Firefox v4/Win7 | undefined | 3
998
- *
999
- */
1000
- function normalizeWheel(/*object*/ event) /*object*/ {
1001
- var sX = 0, sY = 0, // spinX, spinY
1002
- pX = 0, pY = 0; // pixelX, pixelY
1003
-
1004
- // Legacy
1005
- if ('detail' in event) { sY = event.detail; }
1006
- if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1007
- if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1008
- if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1009
-
1010
- // side scrolling on FF with DOMMouseScroll
1011
- if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1012
- sX = sY;
1013
- sY = 0;
1014
- }
1015
-
1016
- pX = sX * PIXEL_STEP;
1017
- pY = sY * PIXEL_STEP;
1018
-
1019
- if ('deltaY' in event) { pY = event.deltaY; }
1020
- if ('deltaX' in event) { pX = event.deltaX; }
1021
-
1022
- if ((pX || pY) && event.deltaMode) {
1023
- if (event.deltaMode == 1) { // delta in LINE units
1024
- pX *= LINE_HEIGHT;
1025
- pY *= LINE_HEIGHT;
1026
- } else { // delta in PAGE units
1027
- pX *= PAGE_HEIGHT;
1028
- pY *= PAGE_HEIGHT;
1029
- }
1030
- }
1031
-
1032
- // Fall-back if spin cannot be determined
1033
- if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1034
- if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1035
-
1036
- return { spinX : sX,
1037
- spinY : sY,
1038
- pixelX : pX,
1039
- pixelY : pY };
1040
- }
1041
-
1042
-
1043
- /**
1044
- * The best combination if you prefer spinX + spinY normalization. It favors
1045
- * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1046
- * 'wheel' event, making spin speed determination impossible.
1047
- */
1048
- normalizeWheel.getEventType = function() /*string*/ {
1049
- return (UserAgent_DEPRECATED.firefox())
1050
- ? 'DOMMouseScroll'
1051
- : (isEventSupported('wheel'))
1052
- ? 'wheel'
1053
- : 'mousewheel';
1054
- };
1055
-
1056
- module.exports = normalizeWheel;
1057
-
1058
-
1059
- /***/ }),
1060
-
1061
- /***/ 5153:
1062
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1063
-
1064
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1065
- /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1066
- /* harmony export */ });
1067
- /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
1068
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
1069
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
1070
- /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
1071
-
1072
-
1073
-
1074
-
1075
- function _toConsumableArray(arr) {
1076
- 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"])();
1077
- }
1078
-
1079
- /***/ }),
1080
-
1081
- /***/ 5166:
1082
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1083
-
1084
- var x = (y) => {
1085
- var x = {}; __webpack_require__.d(x, y); return x
1086
- }
1087
- var y = (x) => (() => (x))
1088
- module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
1089
-
1090
- /***/ }),
1091
-
1092
- /***/ 5286:
1093
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1094
-
1095
- var x = (y) => {
1096
- var x = {}; __webpack_require__.d(x, y); return x
1097
- }
1098
- var y = (x) => (() => (x))
1099
- module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["Transition"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Transition), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeMount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
1100
-
1101
- /***/ }),
1102
-
1103
- /***/ 6284:
1104
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1105
-
1106
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1107
- /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1108
- /* harmony export */ });
1109
- function _arrayLikeToArray(arr, len) {
1110
- if (len == null || len > arr.length) len = arr.length;
1111
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1112
- return arr2;
1113
- }
1114
-
1115
- /***/ }),
1116
-
1117
- /***/ 7416:
1118
- /***/ ((module) => {
1119
-
1120
- /**
1121
- * Copyright 2004-present Facebook. All Rights Reserved.
1122
- *
1123
- * @providesModule UserAgent_DEPRECATED
1124
- */
1125
-
1126
- /**
1127
- * Provides entirely client-side User Agent and OS detection. You should prefer
1128
- * the non-deprecated UserAgent module when possible, which exposes our
1129
- * authoritative server-side PHP-based detection to the client.
1130
- *
1131
- * Usage is straightforward:
1132
- *
1133
- * if (UserAgent_DEPRECATED.ie()) {
1134
- * // IE
1135
- * }
1136
- *
1137
- * You can also do version checks:
734
+ * You can also do version checks:
1138
735
  *
1139
736
  * if (UserAgent_DEPRECATED.ie() >= 7) {
1140
737
  * // IE7 or better
@@ -1281,180 +878,517 @@ var UserAgent_DEPRECATED = {
1281
878
  },
1282
879
 
1283
880
 
1284
- /**
1285
- * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
1286
- * only need this because Skype can't handle 64-bit IE yet. We need to remove
1287
- * this when we don't need it -- tracked by #601957.
1288
- */
1289
- ie64: function() {
1290
- return UserAgent_DEPRECATED.ie() && _win64;
1291
- },
881
+ /**
882
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
883
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
884
+ * this when we don't need it -- tracked by #601957.
885
+ */
886
+ ie64: function() {
887
+ return UserAgent_DEPRECATED.ie() && _win64;
888
+ },
889
+
890
+ /**
891
+ * Check if the UA is Firefox.
892
+ *
893
+ *
894
+ * @return float|NaN Version number (if match) or NaN.
895
+ */
896
+ firefox: function() {
897
+ return _populate() || _firefox;
898
+ },
899
+
900
+
901
+ /**
902
+ * Check if the UA is Opera.
903
+ *
904
+ *
905
+ * @return float|NaN Version number (if match) or NaN.
906
+ */
907
+ opera: function() {
908
+ return _populate() || _opera;
909
+ },
910
+
911
+
912
+ /**
913
+ * Check if the UA is WebKit.
914
+ *
915
+ *
916
+ * @return float|NaN Version number (if match) or NaN.
917
+ */
918
+ webkit: function() {
919
+ return _populate() || _webkit;
920
+ },
921
+
922
+ /**
923
+ * For Push
924
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
925
+ */
926
+ safari: function() {
927
+ return UserAgent_DEPRECATED.webkit();
928
+ },
929
+
930
+ /**
931
+ * Check if the UA is a Chrome browser.
932
+ *
933
+ *
934
+ * @return float|NaN Version number (if match) or NaN.
935
+ */
936
+ chrome : function() {
937
+ return _populate() || _chrome;
938
+ },
939
+
940
+
941
+ /**
942
+ * Check if the user is running Windows.
943
+ *
944
+ * @return bool `true' if the user's OS is Windows.
945
+ */
946
+ windows: function() {
947
+ return _populate() || _windows;
948
+ },
949
+
950
+
951
+ /**
952
+ * Check if the user is running Mac OS X.
953
+ *
954
+ * @return float|bool Returns a float if a version number is detected,
955
+ * otherwise true/false.
956
+ */
957
+ osx: function() {
958
+ return _populate() || _osx;
959
+ },
960
+
961
+ /**
962
+ * Check if the user is running Linux.
963
+ *
964
+ * @return bool `true' if the user's OS is some flavor of Linux.
965
+ */
966
+ linux: function() {
967
+ return _populate() || _linux;
968
+ },
969
+
970
+ /**
971
+ * Check if the user is running on an iPhone or iPod platform.
972
+ *
973
+ * @return bool `true' if the user is running some flavor of the
974
+ * iPhone OS.
975
+ */
976
+ iphone: function() {
977
+ return _populate() || _iphone;
978
+ },
979
+
980
+ mobile: function() {
981
+ return _populate() || (_iphone || _ipad || _android || _mobile);
982
+ },
983
+
984
+ nativeApp: function() {
985
+ // webviews inside of the native apps
986
+ return _populate() || _native;
987
+ },
988
+
989
+ android: function() {
990
+ return _populate() || _android;
991
+ },
992
+
993
+ ipad: function() {
994
+ return _populate() || _ipad;
995
+ }
996
+ };
997
+
998
+ module.exports = UserAgent_DEPRECATED;
999
+
1000
+
1001
+ /***/ }),
1002
+
1003
+ /***/ 3541:
1004
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1005
+
1006
+ /**
1007
+ * Copyright 2013-2015, Facebook, Inc.
1008
+ * All rights reserved.
1009
+ *
1010
+ * This source code is licensed under the BSD-style license found in the
1011
+ * LICENSE file in the root directory of this source tree. An additional grant
1012
+ * of patent rights can be found in the PATENTS file in the same directory.
1013
+ *
1014
+ * @providesModule isEventSupported
1015
+ */
1016
+
1017
+
1018
+
1019
+ var ExecutionEnvironment = __webpack_require__(7430);
1020
+
1021
+ var useHasFeature;
1022
+ if (ExecutionEnvironment.canUseDOM) {
1023
+ useHasFeature =
1024
+ document.implementation &&
1025
+ document.implementation.hasFeature &&
1026
+ // always returns true in newer browsers as per the standard.
1027
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
1028
+ document.implementation.hasFeature('', '') !== true;
1029
+ }
1030
+
1031
+ /**
1032
+ * Checks if an event is supported in the current execution environment.
1033
+ *
1034
+ * NOTE: This will not work correctly for non-generic events such as `change`,
1035
+ * `reset`, `load`, `error`, and `select`.
1036
+ *
1037
+ * Borrows from Modernizr.
1038
+ *
1039
+ * @param {string} eventNameSuffix Event name, e.g. "click".
1040
+ * @param {?boolean} capture Check if the capture phase is supported.
1041
+ * @return {boolean} True if the event is supported.
1042
+ * @internal
1043
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
1044
+ */
1045
+ function isEventSupported(eventNameSuffix, capture) {
1046
+ if (!ExecutionEnvironment.canUseDOM ||
1047
+ capture && !('addEventListener' in document)) {
1048
+ return false;
1049
+ }
1050
+
1051
+ var eventName = 'on' + eventNameSuffix;
1052
+ var isSupported = eventName in document;
1053
+
1054
+ if (!isSupported) {
1055
+ var element = document.createElement('div');
1056
+ element.setAttribute(eventName, 'return;');
1057
+ isSupported = typeof element[eventName] === 'function';
1058
+ }
1059
+
1060
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
1061
+ // This is the only way to test support for the `wheel` event in IE9+.
1062
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
1063
+ }
1064
+
1065
+ return isSupported;
1066
+ }
1067
+
1068
+ module.exports = isEventSupported;
1069
+
1070
+
1071
+ /***/ }),
1072
+
1073
+ /***/ 2527:
1074
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1075
+
1076
+ /**
1077
+ * Copyright (c) 2015, Facebook, Inc.
1078
+ * All rights reserved.
1079
+ *
1080
+ * This source code is licensed under the BSD-style license found in the
1081
+ * LICENSE file in the root directory of this source tree. An additional grant
1082
+ * of patent rights can be found in the PATENTS file in the same directory.
1083
+ *
1084
+ * @providesModule normalizeWheel
1085
+ * @typechecks
1086
+ */
1087
+
1088
+
1089
+
1090
+ var UserAgent_DEPRECATED = __webpack_require__(6377);
1091
+
1092
+ var isEventSupported = __webpack_require__(3541);
1093
+
1094
+
1095
+ // Reasonable defaults
1096
+ var PIXEL_STEP = 10;
1097
+ var LINE_HEIGHT = 40;
1098
+ var PAGE_HEIGHT = 800;
1099
+
1100
+ /**
1101
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
1102
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
1103
+ * your questions.
1104
+ *
1105
+ * If you need to react to the mouse wheel in a predictable way, this code is
1106
+ * like your bestest friend. * hugs *
1107
+ *
1108
+ * As of today, there are 4 DOM event types you can listen to:
1109
+ *
1110
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
1111
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
1112
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
1113
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
1114
+ *
1115
+ * So what to do? The is the best:
1116
+ *
1117
+ * normalizeWheel.getEventType();
1118
+ *
1119
+ * In your event callback, use this code to get sane interpretation of the
1120
+ * deltas. This code will return an object with properties:
1121
+ *
1122
+ * spinX -- normalized spin speed (use for zoom) - x plane
1123
+ * spinY -- " - y plane
1124
+ * pixelX -- normalized distance (to pixels) - x plane
1125
+ * pixelY -- " - y plane
1126
+ *
1127
+ * Wheel values are provided by the browser assuming you are using the wheel to
1128
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
1129
+ * significantly on different platforms and browsers, forgetting that you can
1130
+ * scroll at different speeds. Some devices (like trackpads) emit more events
1131
+ * at smaller increments with fine granularity, and some emit massive jumps with
1132
+ * linear speed or acceleration.
1133
+ *
1134
+ * This code does its best to normalize the deltas for you:
1135
+ *
1136
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
1137
+ * dragged). This is super useful for zoom support where you want to
1138
+ * throw away the chunky scroll steps on the PC and make those equal to
1139
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
1140
+ * resolve a single slow step on a wheel to 1.
1141
+ *
1142
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
1143
+ * get the crazy differences between browsers, but at least it'll be in
1144
+ * pixels!
1145
+ *
1146
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
1147
+ * should translate to positive value zooming IN, negative zooming OUT.
1148
+ * This matches the newer 'wheel' event.
1149
+ *
1150
+ * Why are there spinX, spinY (or pixels)?
1151
+ *
1152
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
1153
+ * with a mouse. It results in side-scrolling in the browser by default.
1154
+ *
1155
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
1156
+ *
1157
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
1158
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
1159
+ * you know.
1160
+ *
1161
+ * Implementation info:
1162
+ *
1163
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
1164
+ * average mouse:
1165
+ *
1166
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
1167
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
1168
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
1169
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
1170
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
1171
+ *
1172
+ * On the trackpad:
1173
+ *
1174
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
1175
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
1176
+ *
1177
+ * On other/older browsers.. it's more complicated as there can be multiple and
1178
+ * also missing delta values.
1179
+ *
1180
+ * The 'wheel' event is more standard:
1181
+ *
1182
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
1183
+ *
1184
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
1185
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
1186
+ * backward compatibility with older events. Those other values help us
1187
+ * better normalize spin speed. Example of what the browsers provide:
1188
+ *
1189
+ * | event.wheelDelta | event.detail
1190
+ * ------------------+------------------+--------------
1191
+ * Safari v5/OS X | -120 | 0
1192
+ * Safari v5/Win7 | -120 | 0
1193
+ * Chrome v17/OS X | -120 | 0
1194
+ * Chrome v17/Win7 | -120 | 0
1195
+ * IE9/Win7 | -120 | undefined
1196
+ * Firefox v4/OS X | undefined | 1
1197
+ * Firefox v4/Win7 | undefined | 3
1198
+ *
1199
+ */
1200
+ function normalizeWheel(/*object*/ event) /*object*/ {
1201
+ var sX = 0, sY = 0, // spinX, spinY
1202
+ pX = 0, pY = 0; // pixelX, pixelY
1203
+
1204
+ // Legacy
1205
+ if ('detail' in event) { sY = event.detail; }
1206
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1207
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1208
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1209
+
1210
+ // side scrolling on FF with DOMMouseScroll
1211
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1212
+ sX = sY;
1213
+ sY = 0;
1214
+ }
1215
+
1216
+ pX = sX * PIXEL_STEP;
1217
+ pY = sY * PIXEL_STEP;
1218
+
1219
+ if ('deltaY' in event) { pY = event.deltaY; }
1220
+ if ('deltaX' in event) { pX = event.deltaX; }
1221
+
1222
+ if ((pX || pY) && event.deltaMode) {
1223
+ if (event.deltaMode == 1) { // delta in LINE units
1224
+ pX *= LINE_HEIGHT;
1225
+ pY *= LINE_HEIGHT;
1226
+ } else { // delta in PAGE units
1227
+ pX *= PAGE_HEIGHT;
1228
+ pY *= PAGE_HEIGHT;
1229
+ }
1230
+ }
1231
+
1232
+ // Fall-back if spin cannot be determined
1233
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1234
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1235
+
1236
+ return { spinX : sX,
1237
+ spinY : sY,
1238
+ pixelX : pX,
1239
+ pixelY : pY };
1240
+ }
1292
1241
 
1293
- /**
1294
- * Check if the UA is Firefox.
1295
- *
1296
- *
1297
- * @return float|NaN Version number (if match) or NaN.
1298
- */
1299
- firefox: function() {
1300
- return _populate() || _firefox;
1301
- },
1302
1242
 
1243
+ /**
1244
+ * The best combination if you prefer spinX + spinY normalization. It favors
1245
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1246
+ * 'wheel' event, making spin speed determination impossible.
1247
+ */
1248
+ normalizeWheel.getEventType = function() /*string*/ {
1249
+ return (UserAgent_DEPRECATED.firefox())
1250
+ ? 'DOMMouseScroll'
1251
+ : (isEventSupported('wheel'))
1252
+ ? 'wheel'
1253
+ : 'mousewheel';
1254
+ };
1303
1255
 
1304
- /**
1305
- * Check if the UA is Opera.
1306
- *
1307
- *
1308
- * @return float|NaN Version number (if match) or NaN.
1309
- */
1310
- opera: function() {
1311
- return _populate() || _opera;
1312
- },
1256
+ module.exports = normalizeWheel;
1313
1257
 
1314
1258
 
1315
- /**
1316
- * Check if the UA is WebKit.
1317
- *
1318
- *
1319
- * @return float|NaN Version number (if match) or NaN.
1320
- */
1321
- webkit: function() {
1322
- return _populate() || _webkit;
1323
- },
1259
+ /***/ }),
1324
1260
 
1325
- /**
1326
- * For Push
1327
- * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
1328
- */
1329
- safari: function() {
1330
- return UserAgent_DEPRECATED.webkit();
1331
- },
1261
+ /***/ 563:
1262
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1332
1263
 
1333
- /**
1334
- * Check if the UA is a Chrome browser.
1335
- *
1336
- *
1337
- * @return float|NaN Version number (if match) or NaN.
1338
- */
1339
- chrome : function() {
1340
- return _populate() || _chrome;
1341
- },
1264
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1265
+ var y = x => () => x
1266
+ module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
1342
1267
 
1268
+ /***/ }),
1343
1269
 
1344
- /**
1345
- * Check if the user is running Windows.
1346
- *
1347
- * @return bool `true' if the user's OS is Windows.
1348
- */
1349
- windows: function() {
1350
- return _populate() || _windows;
1351
- },
1270
+ /***/ 9253:
1271
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1352
1272
 
1273
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1274
+ var y = x => () => x
1275
+ module.exports = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
1353
1276
 
1354
- /**
1355
- * Check if the user is running Mac OS X.
1356
- *
1357
- * @return float|bool Returns a float if a version number is detected,
1358
- * otherwise true/false.
1359
- */
1360
- osx: function() {
1361
- return _populate() || _osx;
1362
- },
1277
+ /***/ }),
1363
1278
 
1364
- /**
1365
- * Check if the user is running Linux.
1366
- *
1367
- * @return bool `true' if the user's OS is some flavor of Linux.
1368
- */
1369
- linux: function() {
1370
- return _populate() || _linux;
1371
- },
1279
+ /***/ 6609:
1280
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1372
1281
 
1373
- /**
1374
- * Check if the user is running on an iPhone or iPod platform.
1375
- *
1376
- * @return bool `true' if the user is running some flavor of the
1377
- * iPhone OS.
1378
- */
1379
- iphone: function() {
1380
- return _populate() || _iphone;
1381
- },
1282
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1283
+ var y = x => () => x
1284
+ module.exports = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
1382
1285
 
1383
- mobile: function() {
1384
- return _populate() || (_iphone || _ipad || _android || _mobile);
1385
- },
1286
+ /***/ }),
1386
1287
 
1387
- nativeApp: function() {
1388
- // webviews inside of the native apps
1389
- return _populate() || _native;
1390
- },
1288
+ /***/ 926:
1289
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1391
1290
 
1392
- android: function() {
1393
- return _populate() || _android;
1394
- },
1291
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1292
+ /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1293
+ /* harmony export */ });
1294
+ function _arrayLikeToArray(arr, len) {
1295
+ if (len == null || len > arr.length) len = arr.length;
1296
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1297
+ return arr2;
1298
+ }
1395
1299
 
1396
- ipad: function() {
1397
- return _populate() || _ipad;
1398
- }
1399
- };
1300
+ /***/ }),
1400
1301
 
1401
- module.exports = UserAgent_DEPRECATED;
1302
+ /***/ 74:
1303
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1304
+
1305
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1306
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
1307
+ /* harmony export */ });
1308
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1402
1309
 
1310
+ function _arrayWithoutHoles(arr) {
1311
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
1312
+ }
1403
1313
 
1404
1314
  /***/ }),
1405
1315
 
1406
- /***/ 7545:
1316
+ /***/ 6666:
1407
1317
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1408
1318
 
1409
1319
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1410
- /* harmony export */ "default": () => (/* binding */ _typeof)
1320
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
1411
1321
  /* harmony export */ });
1412
- function _typeof(o) {
1413
- "@babel/helpers - typeof";
1322
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
1414
1323
 
1415
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1416
- return typeof o;
1417
- } : function (o) {
1418
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1419
- }, _typeof(o);
1324
+ function _defineProperty(obj, key, value) {
1325
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
1326
+ if (key in obj) {
1327
+ Object.defineProperty(obj, key, {
1328
+ value: value,
1329
+ enumerable: true,
1330
+ configurable: true,
1331
+ writable: true
1332
+ });
1333
+ } else {
1334
+ obj[key] = value;
1335
+ }
1336
+ return obj;
1420
1337
  }
1421
1338
 
1422
1339
  /***/ }),
1423
1340
 
1424
- /***/ 7985:
1341
+ /***/ 1079:
1425
1342
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1426
1343
 
1427
1344
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1428
- /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1345
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
1429
1346
  /* harmony export */ });
1430
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
1347
+ function _iterableToArray(iter) {
1348
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1349
+ }
1431
1350
 
1432
- function _unsupportedIterableToArray(o, minLen) {
1433
- if (!o) return;
1434
- if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1435
- var n = Object.prototype.toString.call(o).slice(8, -1);
1436
- if (n === "Object" && o.constructor) n = o.constructor.name;
1437
- if (n === "Map" || n === "Set") return Array.from(o);
1438
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1351
+ /***/ }),
1352
+
1353
+ /***/ 6098:
1354
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1355
+
1356
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1357
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
1358
+ /* harmony export */ });
1359
+ function _nonIterableSpread() {
1360
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1439
1361
  }
1440
1362
 
1441
1363
  /***/ }),
1442
1364
 
1443
- /***/ 8283:
1444
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1365
+ /***/ 7930:
1366
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1367
+
1368
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1369
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1370
+ /* harmony export */ });
1371
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
1372
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
1373
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
1374
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
1375
+
1376
+
1445
1377
 
1446
- module.exports = __webpack_require__(5022);
1447
1378
 
1379
+ function _toConsumableArray(arr) {
1380
+ 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"])();
1381
+ }
1448
1382
 
1449
1383
  /***/ }),
1450
1384
 
1451
- /***/ 9824:
1385
+ /***/ 9745:
1452
1386
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1453
1387
 
1454
1388
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1455
1389
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
1456
1390
  /* harmony export */ });
1457
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
1391
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
1458
1392
 
1459
1393
  function toPrimitive(t, r) {
1460
1394
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -1467,6 +1401,60 @@ function toPrimitive(t, r) {
1467
1401
  return ("string" === r ? String : Number)(t);
1468
1402
  }
1469
1403
 
1404
+ /***/ }),
1405
+
1406
+ /***/ 3795:
1407
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1408
+
1409
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1410
+ /* harmony export */ "default": () => (/* binding */ toPropertyKey)
1411
+ /* harmony export */ });
1412
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
1413
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
1414
+
1415
+
1416
+ function toPropertyKey(t) {
1417
+ var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
1418
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
1419
+ }
1420
+
1421
+ /***/ }),
1422
+
1423
+ /***/ 6522:
1424
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1425
+
1426
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1427
+ /* harmony export */ "default": () => (/* binding */ _typeof)
1428
+ /* harmony export */ });
1429
+ function _typeof(o) {
1430
+ "@babel/helpers - typeof";
1431
+
1432
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1433
+ return typeof o;
1434
+ } : function (o) {
1435
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1436
+ }, _typeof(o);
1437
+ }
1438
+
1439
+ /***/ }),
1440
+
1441
+ /***/ 9147:
1442
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1443
+
1444
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1445
+ /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1446
+ /* harmony export */ });
1447
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1448
+
1449
+ function _unsupportedIterableToArray(o, minLen) {
1450
+ if (!o) return;
1451
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1452
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1453
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1454
+ if (n === "Map" || n === "Set") return Array.from(o);
1455
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1456
+ }
1457
+
1470
1458
  /***/ })
1471
1459
 
1472
1460
  /******/ });
@@ -1527,6 +1515,8 @@ function toPrimitive(t, r) {
1527
1515
  /******/
1528
1516
  /************************************************************************/
1529
1517
  var __webpack_exports__ = {};
1518
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1519
+ (() => {
1530
1520
 
1531
1521
  // EXPORTS
1532
1522
  __webpack_require__.d(__webpack_exports__, {
@@ -1534,38 +1524,30 @@ __webpack_require__.d(__webpack_exports__, {
1534
1524
  });
1535
1525
 
1536
1526
  // EXTERNAL MODULE: external "../shared"
1537
- var shared_ = __webpack_require__(5166);
1527
+ var shared_ = __webpack_require__(9253);
1538
1528
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1539
- var defineProperty = __webpack_require__(4586);
1529
+ var defineProperty = __webpack_require__(6666);
1540
1530
  // EXTERNAL MODULE: external "vue"
1541
- var external_vue_ = __webpack_require__(5286);
1542
- ;// external "vue-types"
1543
- var x = (y) => {
1544
- var x = {}; __webpack_require__.d(x, y); return x
1545
- }
1546
- var y = (x) => (() => (x))
1547
- const external_vue_types_namespaceObject = x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
1548
- ;// external "../config-provider"
1549
- var config_provider_x = (y) => {
1550
- var x = {}; __webpack_require__.d(x, y); return x
1551
- }
1552
- var config_provider_y = (x) => (() => (x))
1553
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
1554
- ;// external "../date-picker"
1555
- var date_picker_x = (y) => {
1556
- var x = {}; __webpack_require__.d(x, y); return x
1557
- }
1558
- var date_picker_y = (x) => (() => (x))
1559
- const date_picker_namespaceObject = date_picker_x({ ["PickerDropdown"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__.PickerDropdown) });
1531
+ var external_vue_ = __webpack_require__(6609);
1532
+ ;// CONCATENATED MODULE: external "vue-types"
1533
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1534
+ var y = x => () => x
1535
+ const external_vue_types_namespaceObject = x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
1536
+ ;// CONCATENATED MODULE: external "../config-provider"
1537
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1538
+ var config_provider_y = x => () => x
1539
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
1540
+ ;// CONCATENATED MODULE: external "../date-picker"
1541
+ var date_picker_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1542
+ var date_picker_y = x => () => x
1543
+ const date_picker_namespaceObject = date_picker_x({ ["PickerDropdown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__.PickerDropdown });
1560
1544
  // 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({ ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp) });
1568
- ;// ../../node_modules/tinycolor2/esm/tinycolor.js
1545
+ var src = __webpack_require__(668);
1546
+ ;// CONCATENATED MODULE: external "../icon"
1547
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1548
+ var icon_y = x => () => x
1549
+ const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp });
1550
+ ;// CONCATENATED MODULE: ../../node_modules/tinycolor2/esm/tinycolor.js
1569
1551
  // This file is autogenerated. It's used to publish ESM to npm.
1570
1552
  function _typeof(obj) {
1571
1553
  "@babel/helpers - typeof";
@@ -2747,7 +2729,7 @@ function validateWCAG2Parms(parms) {
2747
2729
 
2748
2730
 
2749
2731
 
2750
- ;// ../../packages/color-picker/src/components/input-container.tsx
2732
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/input-container.tsx
2751
2733
 
2752
2734
  /*
2753
2735
  * Tencent is pleased to support the open source community by making
@@ -2817,7 +2799,7 @@ var inputContainerProps = {
2817
2799
  };
2818
2800
  }
2819
2801
  }));
2820
- ;// ../../packages/color-picker/src/components/color-input.tsx
2802
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/color-input.tsx
2821
2803
 
2822
2804
  /*
2823
2805
  * Tencent is pleased to support the open source community by making
@@ -2986,7 +2968,7 @@ var colorPickerProps = {
2986
2968
  };
2987
2969
  }
2988
2970
  }));
2989
- ;// ../../packages/color-picker/src/utils.ts
2971
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/utils.ts
2990
2972
  /*
2991
2973
  * Tencent is pleased to support the open source community by making
2992
2974
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3092,7 +3074,7 @@ var toRGBAString = function toRGBAString(rgba) {
3092
3074
  a = rgba.a;
3093
3075
  return "rgba(".concat([r, g, b, a].join(','), ")");
3094
3076
  };
3095
- ;// ../../packages/color-picker/src/components/hue-slider.tsx
3077
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/hue-slider.tsx
3096
3078
 
3097
3079
  /*
3098
3080
  * Tencent is pleased to support the open source community by making
@@ -3230,7 +3212,7 @@ var hue_slider_colorPickerProps = {
3230
3212
  };
3231
3213
  }
3232
3214
  }));
3233
- ;// ../../packages/color-picker/src/components/recommend-colors.tsx
3215
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/recommend-colors.tsx
3234
3216
 
3235
3217
 
3236
3218
  /*
@@ -3382,7 +3364,7 @@ var recommend_colors_colorPickerProps = {
3382
3364
  };
3383
3365
  }
3384
3366
  }));
3385
- ;// ../../packages/color-picker/src/components/saturation-panel.tsx
3367
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/saturation-panel.tsx
3386
3368
 
3387
3369
  /*
3388
3370
  * Tencent is pleased to support the open source community by making
@@ -3534,7 +3516,7 @@ var saturation_panel_colorPickerProps = {
3534
3516
  };
3535
3517
  }
3536
3518
  }));
3537
- ;// ../../packages/color-picker/src/color-picker.tsx
3519
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/color-picker.tsx
3538
3520
 
3539
3521
 
3540
3522
  /*
@@ -3847,7 +3829,7 @@ var whiteColorObj = formatColor('#FFFFFF');
3847
3829
  };
3848
3830
  }
3849
3831
  }));
3850
- ;// ../../packages/color-picker/src/index.ts
3832
+ ;// CONCATENATED MODULE: ../../packages/color-picker/src/index.ts
3851
3833
  /*
3852
3834
  * Tencent is pleased to support the open source community by making
3853
3835
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3877,5 +3859,7 @@ var whiteColorObj = formatColor('#FFFFFF');
3877
3859
 
3878
3860
  var BkColorPicker = (0,shared_.withInstall)(color_picker);
3879
3861
  /* harmony default export */ const color_picker_src = (BkColorPicker);
3862
+ })();
3863
+
3880
3864
  var __webpack_exports__default = __webpack_exports__["default"];
3881
3865
  export { __webpack_exports__default as default };