bkui-vue 2.0.2-beta.8 → 2.0.2-beta.80

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 (336) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +166 -138
  4. package/dist/index.esm.js +24292 -18450
  5. package/dist/index.umd.js +166 -138
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/ja-jp.esm.js +2 -0
  9. package/dist/locale/ja-jp.esm.js.map +1 -0
  10. package/dist/locale/ja-jp.umd.js +2 -0
  11. package/dist/locale/ja-jp.umd.js.map +1 -0
  12. package/dist/locale/zh-cn.esm.js.map +1 -1
  13. package/dist/locale/zh-cn.umd.js.map +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/affix.variable.css +2 -1
  16. package/lib/affix/index.js +24 -32
  17. package/lib/alert/alert.variable.css +2 -1
  18. package/lib/alert/index.js +38 -35
  19. package/lib/animate-number/index.js +12 -16
  20. package/lib/backtop/backtop.variable.css +2 -1
  21. package/lib/backtop/index.js +24 -34
  22. package/lib/badge/badge.variable.css +2 -1
  23. package/lib/badge/index.js +20 -26
  24. package/lib/breadcrumb/breadcrumb.variable.css +2 -1
  25. package/lib/breadcrumb/index.js +26 -34
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +2 -1
  28. package/lib/button/index.js +29 -39
  29. package/lib/card/card.variable.css +2 -1
  30. package/lib/card/index.js +35 -49
  31. package/lib/cascader/cascader.css +26 -24
  32. package/lib/cascader/cascader.d.ts +315 -0
  33. package/lib/cascader/cascader.less +78 -76
  34. package/lib/cascader/cascader.variable.css +28 -25
  35. package/lib/cascader/index.d.ts +618 -0
  36. package/lib/cascader/index.js +749 -717
  37. package/lib/checkbox/checkbox.variable.css +2 -1
  38. package/lib/checkbox/index.js +39 -49
  39. package/lib/code-diff/code-diff.variable.css +2 -1
  40. package/lib/code-diff/index.js +81 -85
  41. package/lib/collapse/collapse.variable.css +2 -1
  42. package/lib/collapse/index.js +36 -42
  43. package/lib/collapse-transition/collapse-transition.variable.css +2 -1
  44. package/lib/collapse-transition/index.js +16 -22
  45. package/lib/color-picker/color-picker.variable.css +2 -1
  46. package/lib/color-picker/index.js +682 -689
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +2 -1
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +32 -40
  51. package/lib/container/container.variable.css +2 -1
  52. package/lib/container/index.js +26 -32
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +2 -1
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +717 -736
  57. package/lib/date-picker/panel/date-range.d.ts +2 -1
  58. package/lib/date-picker/panel/time.d.ts +1 -1
  59. package/lib/date-picker/utils.d.ts +5 -17
  60. package/lib/dialog/dialog.css +20 -1
  61. package/lib/dialog/dialog.variable.css +22 -2
  62. package/lib/dialog/index.js +100 -137
  63. package/lib/directives/index.js +509 -518
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +2 -1
  66. package/lib/divider/index.js +18 -24
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +2 -1
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +45 -52
  71. package/lib/exception/exception.variable.css +2 -1
  72. package/lib/exception/index.js +51 -57
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
  74. package/lib/fixed-navbar/index.js +16 -22
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +16 -4
  77. package/lib/form/form.less +24 -6
  78. package/lib/form/form.variable.css +18 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +677 -708
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +13 -15
  83. package/lib/icon/angle-double-left-line.js +13 -15
  84. package/lib/icon/angle-double-left.js +13 -15
  85. package/lib/icon/angle-double-right-line.js +13 -15
  86. package/lib/icon/angle-double-right.js +13 -15
  87. package/lib/icon/angle-double-up-line.js +13 -15
  88. package/lib/icon/angle-down-fill.js +13 -15
  89. package/lib/icon/angle-down-line.js +13 -15
  90. package/lib/icon/angle-down.js +13 -15
  91. package/lib/icon/angle-left.js +13 -15
  92. package/lib/icon/angle-right.js +13 -15
  93. package/lib/icon/angle-up-fill.js +13 -15
  94. package/lib/icon/angle-up.js +13 -15
  95. package/lib/icon/archive-fill.js +13 -15
  96. package/lib/icon/arrows-left.js +13 -15
  97. package/lib/icon/arrows-right.js +13 -15
  98. package/lib/icon/assistant.js +13 -15
  99. package/lib/icon/audio-fill.js +13 -15
  100. package/lib/icon/bk.js +13 -15
  101. package/lib/icon/circle.js +13 -15
  102. package/lib/icon/close-line.js +13 -15
  103. package/lib/icon/close.js +13 -15
  104. package/lib/icon/code.js +13 -15
  105. package/lib/icon/cog-shape.js +13 -15
  106. package/lib/icon/collapse-left.js +13 -15
  107. package/lib/icon/copy-shape.js +13 -15
  108. package/lib/icon/copy.js +13 -15
  109. package/lib/icon/data-shape.js +13 -15
  110. package/lib/icon/del.js +13 -15
  111. package/lib/icon/doc-fill.js +13 -15
  112. package/lib/icon/done.js +13 -15
  113. package/lib/icon/down-shape.js +13 -15
  114. package/lib/icon/down-small.js +13 -15
  115. package/lib/icon/edit-line.js +13 -15
  116. package/lib/icon/ellipsis.js +13 -15
  117. package/lib/icon/enlarge-line.js +13 -15
  118. package/lib/icon/error.js +13 -15
  119. package/lib/icon/excel-fill.js +13 -15
  120. package/lib/icon/exclamation-circle-shape.js +13 -15
  121. package/lib/icon/eye.js +13 -15
  122. package/lib/icon/filliscreen-line.js +13 -15
  123. package/lib/icon/fix-line.js +13 -15
  124. package/lib/icon/fix-shape.js +13 -15
  125. package/lib/icon/folder-open.js +13 -15
  126. package/lib/icon/folder-shape-open.js +13 -15
  127. package/lib/icon/folder-shape.js +13 -15
  128. package/lib/icon/folder.js +13 -15
  129. package/lib/icon/funnel.js +13 -15
  130. package/lib/icon/grag-fill.js +13 -15
  131. package/lib/icon/help-document-fill.js +13 -15
  132. package/lib/icon/help-fill.js +13 -15
  133. package/lib/icon/help.js +13 -15
  134. package/lib/icon/image-fill.js +13 -15
  135. package/lib/icon/img-error.js +13 -15
  136. package/lib/icon/img-placehoulder.js +13 -15
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +13 -15
  139. package/lib/icon/info.js +13 -15
  140. package/lib/icon/left-shape.js +13 -15
  141. package/lib/icon/left-turn-line.js +13 -15
  142. package/lib/icon/loading.js +13 -15
  143. package/lib/icon/narrow-line.js +13 -15
  144. package/lib/icon/original.js +13 -15
  145. package/lib/icon/pdf-fill.js +13 -15
  146. package/lib/icon/play-shape.js +13 -15
  147. package/lib/icon/plus.js +13 -15
  148. package/lib/icon/ppt-fill.js +13 -15
  149. package/lib/icon/qq.js +13 -15
  150. package/lib/icon/right-shape.js +13 -15
  151. package/lib/icon/right-turn-line.js +13 -15
  152. package/lib/icon/search.js +13 -15
  153. package/lib/icon/share.js +13 -15
  154. package/lib/icon/spinner.js +13 -15
  155. package/lib/icon/success.js +13 -15
  156. package/lib/icon/switcher-loading.js +13 -15
  157. package/lib/icon/text-all.js +13 -15
  158. package/lib/icon/text-file.js +13 -15
  159. package/lib/icon/text-fill.js +13 -15
  160. package/lib/icon/transfer.js +13 -15
  161. package/lib/icon/tree-application-shape.js +13 -15
  162. package/lib/icon/unfull-screen.js +13 -15
  163. package/lib/icon/unvisible.js +13 -15
  164. package/lib/icon/up-shape.js +13 -15
  165. package/lib/icon/upload.js +13 -15
  166. package/lib/icon/video-fill.js +13 -15
  167. package/lib/icon/warn.js +13 -15
  168. package/lib/icon/weixin-pro.js +13 -15
  169. package/lib/icon/weixin.js +13 -15
  170. package/lib/image/image-viewer.variable.css +2 -1
  171. package/lib/image/image.variable.css +2 -1
  172. package/lib/image/index.js +335 -352
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +109 -108
  175. package/lib/info-box/info-box.css +20 -1
  176. package/lib/info-box/info-box.d.ts +1 -0
  177. package/lib/info-box/info-box.less +28 -2
  178. package/lib/info-box/info-box.variable.css +23 -3
  179. package/lib/input/index.d.ts +39 -20
  180. package/lib/input/index.js +448 -444
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +33 -19
  183. package/lib/input/input.less +7 -0
  184. package/lib/input/input.variable.css +8 -1
  185. package/lib/link/index.js +20 -28
  186. package/lib/link/link.variable.css +2 -1
  187. package/lib/loading/index.js +34 -32
  188. package/lib/loading/loading.variable.css +2 -1
  189. package/lib/locale/index.d.ts +1 -0
  190. package/lib/locale/index.js +175 -7
  191. package/lib/locale/lang/ja-jp.d.ts +3 -0
  192. package/lib/menu/index.js +44 -49
  193. package/lib/menu/menu.css +5 -4
  194. package/lib/menu/menu.less +1 -0
  195. package/lib/menu/menu.variable.css +7 -5
  196. package/lib/menu/submenu.variable.css +2 -1
  197. package/lib/message/index.js +102 -74
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/message/messageConstructor.d.ts +1 -1
  200. package/lib/modal/index.js +43 -45
  201. package/lib/modal/modal.css +20 -1
  202. package/lib/modal/modal.variable.css +22 -2
  203. package/lib/navigation/index.js +22 -30
  204. package/lib/navigation/navigation.css +29 -29
  205. package/lib/navigation/navigation.less +29 -29
  206. package/lib/navigation/navigation.variable.css +31 -30
  207. package/lib/notify/index.js +69 -60
  208. package/lib/notify/notify.variable.css +2 -1
  209. package/lib/overflow-title/components/overflow-title.d.ts +6 -2
  210. package/lib/overflow-title/index.d.ts +12 -4
  211. package/lib/overflow-title/index.js +32 -44
  212. package/lib/overflow-title/props.d.ts +3 -1
  213. package/lib/pagination/index.js +68 -76
  214. package/lib/pagination/pagination.css +1 -0
  215. package/lib/pagination/pagination.less +1 -0
  216. package/lib/pagination/pagination.variable.css +3 -1
  217. package/lib/pop-confirm/index.d.ts +592 -0
  218. package/lib/pop-confirm/index.js +43 -55
  219. package/lib/pop-confirm/pop-confirm.d.ts +296 -0
  220. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  221. package/lib/pop-confirm/props.d.ts +148 -0
  222. package/lib/popover/index.d.ts +18 -10
  223. package/lib/popover/index.js +582 -459
  224. package/lib/popover/popover.d.ts +8 -4
  225. package/lib/popover/popover.variable.css +2 -1
  226. package/lib/popover/props.d.ts +3 -1
  227. package/lib/popover/use-floating.d.ts +2 -2
  228. package/lib/popover/use-popover-init.d.ts +2 -2
  229. package/lib/popover/use-popper-id.d.ts +3 -1
  230. package/lib/popover2/index.js +12 -16
  231. package/lib/preset.js +1 -1
  232. package/lib/process/index.js +76 -80
  233. package/lib/process/process.d.ts +1 -1
  234. package/lib/process/process.variable.css +2 -1
  235. package/lib/progress/index.js +24 -30
  236. package/lib/progress/progress.variable.css +2 -1
  237. package/lib/radio/index.js +36 -44
  238. package/lib/radio/radio.variable.css +2 -1
  239. package/lib/rate/index.js +22 -28
  240. package/lib/rate/rate.variable.css +2 -1
  241. package/lib/resize-layout/index.js +24 -32
  242. package/lib/resize-layout/resize-layout.css +1 -0
  243. package/lib/resize-layout/resize-layout.less +1 -0
  244. package/lib/resize-layout/resize-layout.variable.css +3 -1
  245. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  246. package/lib/scrollbar/index.js +31 -31
  247. package/lib/search-select/index.d.ts +39 -11
  248. package/lib/search-select/index.js +576 -547
  249. package/lib/search-select/input.d.ts +5 -1
  250. package/lib/search-select/search-select.d.ts +13 -4
  251. package/lib/search-select/search-select.variable.css +2 -1
  252. package/lib/search-select/selected.d.ts +10 -2
  253. package/lib/search-select/utils.d.ts +1 -0
  254. package/lib/select/common.d.ts +0 -1
  255. package/lib/select/index.d.ts +55 -11
  256. package/lib/select/index.js +570 -619
  257. package/lib/select/optionGroup.d.ts +12 -1
  258. package/lib/select/select.d.ts +20 -4
  259. package/lib/select/select.variable.css +2 -1
  260. package/lib/select/type.d.ts +1 -0
  261. package/lib/shared/index.d.ts +1 -1
  262. package/lib/shared/index.js +59 -67
  263. package/lib/shared/z-index-manager.d.ts +1 -1
  264. package/lib/sideslider/index.js +86 -94
  265. package/lib/sideslider/sideslider.variable.css +2 -1
  266. package/lib/slider/index.d.ts +1 -1
  267. package/lib/slider/index.js +80 -89
  268. package/lib/slider/slider-button.d.ts +1 -1
  269. package/lib/slider/slider.d.ts +1 -1
  270. package/lib/slider/slider.variable.css +2 -1
  271. package/lib/steps/index.js +85 -92
  272. package/lib/steps/steps.css +24 -11
  273. package/lib/steps/steps.d.ts +1 -1
  274. package/lib/steps/steps.less +28 -10
  275. package/lib/steps/steps.variable.css +26 -12
  276. package/lib/styles/mixins/animate.variable.css +2 -1
  277. package/lib/styles/mixins/popper.variable.css +2 -1
  278. package/lib/styles/mixins/scroll.variable.css +2 -1
  279. package/lib/styles/reset.variable.css +2 -1
  280. package/lib/styles/themes/themes.less +4 -1
  281. package/lib/swiper/index.js +20 -26
  282. package/lib/swiper/swiper.variable.css +2 -1
  283. package/lib/switcher/index.js +24 -32
  284. package/lib/switcher/switcher.variable.css +2 -1
  285. package/lib/tab/index.d.ts +12 -0
  286. package/lib/tab/index.js +344 -353
  287. package/lib/tab/props.d.ts +3 -0
  288. package/lib/tab/tab.d.ts +6 -0
  289. package/lib/tab/tab.variable.css +2 -1
  290. package/lib/table/index.js +632 -691
  291. package/lib/table/plugins/head-filter.variable.css +2 -1
  292. package/lib/table/plugins/head-sort.variable.css +2 -1
  293. package/lib/table/plugins/settings.variable.css +2 -1
  294. package/lib/table/table.css +1 -0
  295. package/lib/table/table.variable.css +3 -1
  296. package/lib/table-column/index.js +10 -14
  297. package/lib/tag/index.js +28 -38
  298. package/lib/tag/tag.variable.css +2 -1
  299. package/lib/tag-input/index.d.ts +79 -6
  300. package/lib/tag-input/index.js +2341 -791
  301. package/lib/tag-input/tag-input.css +31 -0
  302. package/lib/tag-input/tag-input.d.ts +35 -3
  303. package/lib/tag-input/tag-input.less +36 -0
  304. package/lib/tag-input/tag-input.variable.css +33 -1
  305. package/lib/tag-input/tag-props.d.ts +13 -1
  306. package/lib/tag-input/tag-render.d.ts +24 -2
  307. package/lib/time-picker/index.js +10 -14
  308. package/lib/time-picker/time-picker.variable.css +2 -1
  309. package/lib/timeline/index.js +1368 -25
  310. package/lib/timeline/timeline.d.ts +1 -1
  311. package/lib/timeline/timeline.variable.css +2 -1
  312. package/lib/transfer/index.d.ts +1 -24
  313. package/lib/transfer/index.js +61 -67
  314. package/lib/transfer/props.d.ts +0 -5
  315. package/lib/transfer/transfer.css +26 -8
  316. package/lib/transfer/transfer.d.ts +1 -12
  317. package/lib/transfer/transfer.less +18 -8
  318. package/lib/transfer/transfer.variable.css +28 -9
  319. package/lib/tree/constant.d.ts +2 -0
  320. package/lib/tree/index.d.ts +71 -11
  321. package/lib/tree/index.js +17743 -209
  322. package/lib/tree/props.d.ts +38 -3
  323. package/lib/tree/tree.css +46 -0
  324. package/lib/tree/tree.d.ts +33 -5
  325. package/lib/tree/tree.less +57 -2
  326. package/lib/tree/tree.variable.css +48 -1
  327. package/lib/tree/use-array-move.d.ts +6 -0
  328. package/lib/tree/use-node-action.d.ts +2 -2
  329. package/lib/tree/use-node-attribute.d.ts +3 -0
  330. package/lib/upload/index.js +570 -582
  331. package/lib/upload/upload.variable.css +2 -1
  332. package/lib/virtual-render/index.js +50 -62
  333. package/lib/virtual-render/virtual-render.variable.css +2 -1
  334. package/lib/volar.components.d.ts +2 -1
  335. package/package.json +13 -2
  336. package/dist/style.css +0 -1
@@ -10,7 +10,15 @@ import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overfl
10
10
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
11
11
  /******/ var __webpack_modules__ = ({
12
12
 
13
- /***/ 1043:
13
+ /***/ 2439:
14
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15
+
16
+ module.exports = __webpack_require__(2527);
17
+
18
+
19
+ /***/ }),
20
+
21
+ /***/ 7430:
14
22
  /***/ ((module) => {
15
23
 
16
24
  /**
@@ -60,265 +68,7 @@ module.exports = ExecutionEnvironment;
60
68
 
61
69
  /***/ }),
62
70
 
63
- /***/ 2586:
64
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
65
-
66
- /**
67
- * Copyright 2013-2015, Facebook, Inc.
68
- * All rights reserved.
69
- *
70
- * This source code is licensed under the BSD-style license found in the
71
- * LICENSE file in the root directory of this source tree. An additional grant
72
- * of patent rights can be found in the PATENTS file in the same directory.
73
- *
74
- * @providesModule isEventSupported
75
- */
76
-
77
-
78
-
79
- var ExecutionEnvironment = __webpack_require__(1043);
80
-
81
- var useHasFeature;
82
- if (ExecutionEnvironment.canUseDOM) {
83
- useHasFeature =
84
- document.implementation &&
85
- document.implementation.hasFeature &&
86
- // always returns true in newer browsers as per the standard.
87
- // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
88
- document.implementation.hasFeature('', '') !== true;
89
- }
90
-
91
- /**
92
- * Checks if an event is supported in the current execution environment.
93
- *
94
- * NOTE: This will not work correctly for non-generic events such as `change`,
95
- * `reset`, `load`, `error`, and `select`.
96
- *
97
- * Borrows from Modernizr.
98
- *
99
- * @param {string} eventNameSuffix Event name, e.g. "click".
100
- * @param {?boolean} capture Check if the capture phase is supported.
101
- * @return {boolean} True if the event is supported.
102
- * @internal
103
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
104
- */
105
- function isEventSupported(eventNameSuffix, capture) {
106
- if (!ExecutionEnvironment.canUseDOM ||
107
- capture && !('addEventListener' in document)) {
108
- return false;
109
- }
110
-
111
- var eventName = 'on' + eventNameSuffix;
112
- var isSupported = eventName in document;
113
-
114
- if (!isSupported) {
115
- var element = document.createElement('div');
116
- element.setAttribute(eventName, 'return;');
117
- isSupported = typeof element[eventName] === 'function';
118
- }
119
-
120
- if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
121
- // This is the only way to test support for the `wheel` event in IE9+.
122
- isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
123
- }
124
-
125
- return isSupported;
126
- }
127
-
128
- module.exports = isEventSupported;
129
-
130
-
131
- /***/ }),
132
-
133
- /***/ 5022:
134
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
135
-
136
- /**
137
- * Copyright (c) 2015, Facebook, Inc.
138
- * All rights reserved.
139
- *
140
- * This source code is licensed under the BSD-style license found in the
141
- * LICENSE file in the root directory of this source tree. An additional grant
142
- * of patent rights can be found in the PATENTS file in the same directory.
143
- *
144
- * @providesModule normalizeWheel
145
- * @typechecks
146
- */
147
-
148
-
149
-
150
- var UserAgent_DEPRECATED = __webpack_require__(7416);
151
-
152
- var isEventSupported = __webpack_require__(2586);
153
-
154
-
155
- // Reasonable defaults
156
- var PIXEL_STEP = 10;
157
- var LINE_HEIGHT = 40;
158
- var PAGE_HEIGHT = 800;
159
-
160
- /**
161
- * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
162
- * complicated, thus this doc is long and (hopefully) detailed enough to answer
163
- * your questions.
164
- *
165
- * If you need to react to the mouse wheel in a predictable way, this code is
166
- * like your bestest friend. * hugs *
167
- *
168
- * As of today, there are 4 DOM event types you can listen to:
169
- *
170
- * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
171
- * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
172
- * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
173
- * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
174
- *
175
- * So what to do? The is the best:
176
- *
177
- * normalizeWheel.getEventType();
178
- *
179
- * In your event callback, use this code to get sane interpretation of the
180
- * deltas. This code will return an object with properties:
181
- *
182
- * spinX -- normalized spin speed (use for zoom) - x plane
183
- * spinY -- " - y plane
184
- * pixelX -- normalized distance (to pixels) - x plane
185
- * pixelY -- " - y plane
186
- *
187
- * Wheel values are provided by the browser assuming you are using the wheel to
188
- * scroll a web page by a number of lines or pixels (or pages). Values can vary
189
- * significantly on different platforms and browsers, forgetting that you can
190
- * scroll at different speeds. Some devices (like trackpads) emit more events
191
- * at smaller increments with fine granularity, and some emit massive jumps with
192
- * linear speed or acceleration.
193
- *
194
- * This code does its best to normalize the deltas for you:
195
- *
196
- * - spin is trying to normalize how far the wheel was spun (or trackpad
197
- * dragged). This is super useful for zoom support where you want to
198
- * throw away the chunky scroll steps on the PC and make those equal to
199
- * the slow and smooth tiny steps on the Mac. Key data: This code tries to
200
- * resolve a single slow step on a wheel to 1.
201
- *
202
- * - pixel is normalizing the desired scroll delta in pixel units. You'll
203
- * get the crazy differences between browsers, but at least it'll be in
204
- * pixels!
205
- *
206
- * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
207
- * should translate to positive value zooming IN, negative zooming OUT.
208
- * This matches the newer 'wheel' event.
209
- *
210
- * Why are there spinX, spinY (or pixels)?
211
- *
212
- * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
213
- * with a mouse. It results in side-scrolling in the browser by default.
214
- *
215
- * - spinY is what you expect -- it's the classic axis of a mouse wheel.
216
- *
217
- * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
218
- * probably is by browsers in conjunction with fancy 3D controllers .. but
219
- * you know.
220
- *
221
- * Implementation info:
222
- *
223
- * Examples of 'wheel' event if you scroll slowly (down) by one step with an
224
- * average mouse:
225
- *
226
- * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
227
- * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
228
- * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
229
- * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
230
- * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
231
- *
232
- * On the trackpad:
233
- *
234
- * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
235
- * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
236
- *
237
- * On other/older browsers.. it's more complicated as there can be multiple and
238
- * also missing delta values.
239
- *
240
- * The 'wheel' event is more standard:
241
- *
242
- * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
243
- *
244
- * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
245
- * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
246
- * backward compatibility with older events. Those other values help us
247
- * better normalize spin speed. Example of what the browsers provide:
248
- *
249
- * | event.wheelDelta | event.detail
250
- * ------------------+------------------+--------------
251
- * Safari v5/OS X | -120 | 0
252
- * Safari v5/Win7 | -120 | 0
253
- * Chrome v17/OS X | -120 | 0
254
- * Chrome v17/Win7 | -120 | 0
255
- * IE9/Win7 | -120 | undefined
256
- * Firefox v4/OS X | undefined | 1
257
- * Firefox v4/Win7 | undefined | 3
258
- *
259
- */
260
- function normalizeWheel(/*object*/ event) /*object*/ {
261
- var sX = 0, sY = 0, // spinX, spinY
262
- pX = 0, pY = 0; // pixelX, pixelY
263
-
264
- // Legacy
265
- if ('detail' in event) { sY = event.detail; }
266
- if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
267
- if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
268
- if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
269
-
270
- // side scrolling on FF with DOMMouseScroll
271
- if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
272
- sX = sY;
273
- sY = 0;
274
- }
275
-
276
- pX = sX * PIXEL_STEP;
277
- pY = sY * PIXEL_STEP;
278
-
279
- if ('deltaY' in event) { pY = event.deltaY; }
280
- if ('deltaX' in event) { pX = event.deltaX; }
281
-
282
- if ((pX || pY) && event.deltaMode) {
283
- if (event.deltaMode == 1) { // delta in LINE units
284
- pX *= LINE_HEIGHT;
285
- pY *= LINE_HEIGHT;
286
- } else { // delta in PAGE units
287
- pX *= PAGE_HEIGHT;
288
- pY *= PAGE_HEIGHT;
289
- }
290
- }
291
-
292
- // Fall-back if spin cannot be determined
293
- if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
294
- if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
295
-
296
- return { spinX : sX,
297
- spinY : sY,
298
- pixelX : pX,
299
- pixelY : pY };
300
- }
301
-
302
-
303
- /**
304
- * The best combination if you prefer spinX + spinY normalization. It favors
305
- * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
306
- * 'wheel' event, making spin speed determination impossible.
307
- */
308
- normalizeWheel.getEventType = function() /*string*/ {
309
- return (UserAgent_DEPRECATED.firefox())
310
- ? 'DOMMouseScroll'
311
- : (isEventSupported('wheel'))
312
- ? 'wheel'
313
- : 'mousewheel';
314
- };
315
-
316
- module.exports = normalizeWheel;
317
-
318
-
319
- /***/ }),
320
-
321
- /***/ 7416:
71
+ /***/ 6377:
322
72
  /***/ ((module) => {
323
73
 
324
74
  /**
@@ -516,101 +266,351 @@ var UserAgent_DEPRECATED = {
516
266
  },
517
267
 
518
268
 
519
- /**
520
- * Check if the UA is WebKit.
521
- *
522
- *
523
- * @return float|NaN Version number (if match) or NaN.
524
- */
525
- webkit: function() {
526
- return _populate() || _webkit;
527
- },
269
+ /**
270
+ * Check if the UA is WebKit.
271
+ *
272
+ *
273
+ * @return float|NaN Version number (if match) or NaN.
274
+ */
275
+ webkit: function() {
276
+ return _populate() || _webkit;
277
+ },
278
+
279
+ /**
280
+ * For Push
281
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
282
+ */
283
+ safari: function() {
284
+ return UserAgent_DEPRECATED.webkit();
285
+ },
286
+
287
+ /**
288
+ * Check if the UA is a Chrome browser.
289
+ *
290
+ *
291
+ * @return float|NaN Version number (if match) or NaN.
292
+ */
293
+ chrome : function() {
294
+ return _populate() || _chrome;
295
+ },
296
+
297
+
298
+ /**
299
+ * Check if the user is running Windows.
300
+ *
301
+ * @return bool `true' if the user's OS is Windows.
302
+ */
303
+ windows: function() {
304
+ return _populate() || _windows;
305
+ },
306
+
307
+
308
+ /**
309
+ * Check if the user is running Mac OS X.
310
+ *
311
+ * @return float|bool Returns a float if a version number is detected,
312
+ * otherwise true/false.
313
+ */
314
+ osx: function() {
315
+ return _populate() || _osx;
316
+ },
317
+
318
+ /**
319
+ * Check if the user is running Linux.
320
+ *
321
+ * @return bool `true' if the user's OS is some flavor of Linux.
322
+ */
323
+ linux: function() {
324
+ return _populate() || _linux;
325
+ },
326
+
327
+ /**
328
+ * Check if the user is running on an iPhone or iPod platform.
329
+ *
330
+ * @return bool `true' if the user is running some flavor of the
331
+ * iPhone OS.
332
+ */
333
+ iphone: function() {
334
+ return _populate() || _iphone;
335
+ },
336
+
337
+ mobile: function() {
338
+ return _populate() || (_iphone || _ipad || _android || _mobile);
339
+ },
340
+
341
+ nativeApp: function() {
342
+ // webviews inside of the native apps
343
+ return _populate() || _native;
344
+ },
345
+
346
+ android: function() {
347
+ return _populate() || _android;
348
+ },
349
+
350
+ ipad: function() {
351
+ return _populate() || _ipad;
352
+ }
353
+ };
354
+
355
+ module.exports = UserAgent_DEPRECATED;
356
+
357
+
358
+ /***/ }),
359
+
360
+ /***/ 3541:
361
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
362
+
363
+ /**
364
+ * Copyright 2013-2015, Facebook, Inc.
365
+ * All rights reserved.
366
+ *
367
+ * This source code is licensed under the BSD-style license found in the
368
+ * LICENSE file in the root directory of this source tree. An additional grant
369
+ * of patent rights can be found in the PATENTS file in the same directory.
370
+ *
371
+ * @providesModule isEventSupported
372
+ */
373
+
374
+
375
+
376
+ var ExecutionEnvironment = __webpack_require__(7430);
377
+
378
+ var useHasFeature;
379
+ if (ExecutionEnvironment.canUseDOM) {
380
+ useHasFeature =
381
+ document.implementation &&
382
+ document.implementation.hasFeature &&
383
+ // always returns true in newer browsers as per the standard.
384
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
385
+ document.implementation.hasFeature('', '') !== true;
386
+ }
387
+
388
+ /**
389
+ * Checks if an event is supported in the current execution environment.
390
+ *
391
+ * NOTE: This will not work correctly for non-generic events such as `change`,
392
+ * `reset`, `load`, `error`, and `select`.
393
+ *
394
+ * Borrows from Modernizr.
395
+ *
396
+ * @param {string} eventNameSuffix Event name, e.g. "click".
397
+ * @param {?boolean} capture Check if the capture phase is supported.
398
+ * @return {boolean} True if the event is supported.
399
+ * @internal
400
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
401
+ */
402
+ function isEventSupported(eventNameSuffix, capture) {
403
+ if (!ExecutionEnvironment.canUseDOM ||
404
+ capture && !('addEventListener' in document)) {
405
+ return false;
406
+ }
407
+
408
+ var eventName = 'on' + eventNameSuffix;
409
+ var isSupported = eventName in document;
410
+
411
+ if (!isSupported) {
412
+ var element = document.createElement('div');
413
+ element.setAttribute(eventName, 'return;');
414
+ isSupported = typeof element[eventName] === 'function';
415
+ }
416
+
417
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
418
+ // This is the only way to test support for the `wheel` event in IE9+.
419
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
420
+ }
421
+
422
+ return isSupported;
423
+ }
424
+
425
+ module.exports = isEventSupported;
426
+
528
427
 
529
- /**
530
- * For Push
531
- * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
532
- */
533
- safari: function() {
534
- return UserAgent_DEPRECATED.webkit();
535
- },
428
+ /***/ }),
536
429
 
537
- /**
538
- * Check if the UA is a Chrome browser.
539
- *
540
- *
541
- * @return float|NaN Version number (if match) or NaN.
542
- */
543
- chrome : function() {
544
- return _populate() || _chrome;
545
- },
430
+ /***/ 2527:
431
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
546
432
 
433
+ /**
434
+ * Copyright (c) 2015, Facebook, Inc.
435
+ * All rights reserved.
436
+ *
437
+ * This source code is licensed under the BSD-style license found in the
438
+ * LICENSE file in the root directory of this source tree. An additional grant
439
+ * of patent rights can be found in the PATENTS file in the same directory.
440
+ *
441
+ * @providesModule normalizeWheel
442
+ * @typechecks
443
+ */
547
444
 
548
- /**
549
- * Check if the user is running Windows.
550
- *
551
- * @return bool `true' if the user's OS is Windows.
552
- */
553
- windows: function() {
554
- return _populate() || _windows;
555
- },
556
445
 
557
446
 
558
- /**
559
- * Check if the user is running Mac OS X.
560
- *
561
- * @return float|bool Returns a float if a version number is detected,
562
- * otherwise true/false.
563
- */
564
- osx: function() {
565
- return _populate() || _osx;
566
- },
447
+ var UserAgent_DEPRECATED = __webpack_require__(6377);
567
448
 
568
- /**
569
- * Check if the user is running Linux.
570
- *
571
- * @return bool `true' if the user's OS is some flavor of Linux.
572
- */
573
- linux: function() {
574
- return _populate() || _linux;
575
- },
449
+ var isEventSupported = __webpack_require__(3541);
576
450
 
577
- /**
578
- * Check if the user is running on an iPhone or iPod platform.
579
- *
580
- * @return bool `true' if the user is running some flavor of the
581
- * iPhone OS.
582
- */
583
- iphone: function() {
584
- return _populate() || _iphone;
585
- },
586
451
 
587
- mobile: function() {
588
- return _populate() || (_iphone || _ipad || _android || _mobile);
589
- },
452
+ // Reasonable defaults
453
+ var PIXEL_STEP = 10;
454
+ var LINE_HEIGHT = 40;
455
+ var PAGE_HEIGHT = 800;
590
456
 
591
- nativeApp: function() {
592
- // webviews inside of the native apps
593
- return _populate() || _native;
594
- },
457
+ /**
458
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
459
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
460
+ * your questions.
461
+ *
462
+ * If you need to react to the mouse wheel in a predictable way, this code is
463
+ * like your bestest friend. * hugs *
464
+ *
465
+ * As of today, there are 4 DOM event types you can listen to:
466
+ *
467
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
468
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
469
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
470
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
471
+ *
472
+ * So what to do? The is the best:
473
+ *
474
+ * normalizeWheel.getEventType();
475
+ *
476
+ * In your event callback, use this code to get sane interpretation of the
477
+ * deltas. This code will return an object with properties:
478
+ *
479
+ * spinX -- normalized spin speed (use for zoom) - x plane
480
+ * spinY -- " - y plane
481
+ * pixelX -- normalized distance (to pixels) - x plane
482
+ * pixelY -- " - y plane
483
+ *
484
+ * Wheel values are provided by the browser assuming you are using the wheel to
485
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
486
+ * significantly on different platforms and browsers, forgetting that you can
487
+ * scroll at different speeds. Some devices (like trackpads) emit more events
488
+ * at smaller increments with fine granularity, and some emit massive jumps with
489
+ * linear speed or acceleration.
490
+ *
491
+ * This code does its best to normalize the deltas for you:
492
+ *
493
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
494
+ * dragged). This is super useful for zoom support where you want to
495
+ * throw away the chunky scroll steps on the PC and make those equal to
496
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
497
+ * resolve a single slow step on a wheel to 1.
498
+ *
499
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
500
+ * get the crazy differences between browsers, but at least it'll be in
501
+ * pixels!
502
+ *
503
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
504
+ * should translate to positive value zooming IN, negative zooming OUT.
505
+ * This matches the newer 'wheel' event.
506
+ *
507
+ * Why are there spinX, spinY (or pixels)?
508
+ *
509
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
510
+ * with a mouse. It results in side-scrolling in the browser by default.
511
+ *
512
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
513
+ *
514
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
515
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
516
+ * you know.
517
+ *
518
+ * Implementation info:
519
+ *
520
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
521
+ * average mouse:
522
+ *
523
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
524
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
525
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
526
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
527
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
528
+ *
529
+ * On the trackpad:
530
+ *
531
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
532
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
533
+ *
534
+ * On other/older browsers.. it's more complicated as there can be multiple and
535
+ * also missing delta values.
536
+ *
537
+ * The 'wheel' event is more standard:
538
+ *
539
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
540
+ *
541
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
542
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
543
+ * backward compatibility with older events. Those other values help us
544
+ * better normalize spin speed. Example of what the browsers provide:
545
+ *
546
+ * | event.wheelDelta | event.detail
547
+ * ------------------+------------------+--------------
548
+ * Safari v5/OS X | -120 | 0
549
+ * Safari v5/Win7 | -120 | 0
550
+ * Chrome v17/OS X | -120 | 0
551
+ * Chrome v17/Win7 | -120 | 0
552
+ * IE9/Win7 | -120 | undefined
553
+ * Firefox v4/OS X | undefined | 1
554
+ * Firefox v4/Win7 | undefined | 3
555
+ *
556
+ */
557
+ function normalizeWheel(/*object*/ event) /*object*/ {
558
+ var sX = 0, sY = 0, // spinX, spinY
559
+ pX = 0, pY = 0; // pixelX, pixelY
595
560
 
596
- android: function() {
597
- return _populate() || _android;
598
- },
561
+ // Legacy
562
+ if ('detail' in event) { sY = event.detail; }
563
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
564
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
565
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
599
566
 
600
- ipad: function() {
601
- return _populate() || _ipad;
567
+ // side scrolling on FF with DOMMouseScroll
568
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
569
+ sX = sY;
570
+ sY = 0;
602
571
  }
603
- };
604
572
 
605
- module.exports = UserAgent_DEPRECATED;
573
+ pX = sX * PIXEL_STEP;
574
+ pY = sY * PIXEL_STEP;
575
+
576
+ if ('deltaY' in event) { pY = event.deltaY; }
577
+ if ('deltaX' in event) { pX = event.deltaX; }
606
578
 
579
+ if ((pX || pY) && event.deltaMode) {
580
+ if (event.deltaMode == 1) { // delta in LINE units
581
+ pX *= LINE_HEIGHT;
582
+ pY *= LINE_HEIGHT;
583
+ } else { // delta in PAGE units
584
+ pX *= PAGE_HEIGHT;
585
+ pY *= PAGE_HEIGHT;
586
+ }
587
+ }
607
588
 
608
- /***/ }),
589
+ // Fall-back if spin cannot be determined
590
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
591
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
609
592
 
610
- /***/ 8283:
611
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
593
+ return { spinX : sX,
594
+ spinY : sY,
595
+ pixelX : pX,
596
+ pixelY : pY };
597
+ }
598
+
599
+
600
+ /**
601
+ * The best combination if you prefer spinX + spinY normalization. It favors
602
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
603
+ * 'wheel' event, making spin speed determination impossible.
604
+ */
605
+ normalizeWheel.getEventType = function() /*string*/ {
606
+ return (UserAgent_DEPRECATED.firefox())
607
+ ? 'DOMMouseScroll'
608
+ : (isEventSupported('wheel'))
609
+ ? 'wheel'
610
+ : 'mousewheel';
611
+ };
612
612
 
613
- module.exports = __webpack_require__(5022);
613
+ module.exports = normalizeWheel;
614
614
 
615
615
 
616
616
  /***/ })
@@ -673,23 +673,23 @@ module.exports = __webpack_require__(5022);
673
673
  /******/
674
674
  /************************************************************************/
675
675
  var __webpack_exports__ = {};
676
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
677
+ (() => {
676
678
 
677
679
  // EXPORTS
678
680
  __webpack_require__.d(__webpack_exports__, {
679
681
  "default": () => (/* binding */ src)
680
682
  });
681
683
 
682
- ;// external "../shared"
683
- var x = (y) => {
684
- var x = {}; __webpack_require__.d(x, y); return x
685
- }
686
- var y = (x) => (() => (x))
687
- const shared_namespaceObject = x({ ["InputBehaviorType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType), ["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) });
688
- ;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
684
+ ;// CONCATENATED MODULE: external "../shared"
685
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
686
+ var y = x => () => x
687
+ const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["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 });
688
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
689
689
  function _arrayWithHoles(arr) {
690
690
  if (Array.isArray(arr)) return arr;
691
691
  }
692
- ;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
692
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
693
693
  function _iterableToArrayLimit(r, l) {
694
694
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
695
695
  if (null != t) {
@@ -717,13 +717,13 @@ function _iterableToArrayLimit(r, l) {
717
717
  return a;
718
718
  }
719
719
  }
720
- ;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
720
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
721
721
  function _arrayLikeToArray(arr, len) {
722
722
  if (len == null || len > arr.length) len = arr.length;
723
723
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
724
724
  return arr2;
725
725
  }
726
- ;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
726
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
727
727
 
728
728
  function _unsupportedIterableToArray(o, minLen) {
729
729
  if (!o) return;
@@ -733,11 +733,11 @@ function _unsupportedIterableToArray(o, minLen) {
733
733
  if (n === "Map" || n === "Set") return Array.from(o);
734
734
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
735
735
  }
736
- ;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
736
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
737
737
  function _nonIterableRest() {
738
738
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
739
739
  }
740
- ;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
740
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
741
741
 
742
742
 
743
743
 
@@ -745,7 +745,7 @@ function _nonIterableRest() {
745
745
  function _slicedToArray(arr, i) {
746
746
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
747
747
  }
748
- ;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
748
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
749
749
  function _objectWithoutPropertiesLoose(source, excluded) {
750
750
  if (source == null) return {};
751
751
  var target = {};
@@ -758,7 +758,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
758
758
  }
759
759
  return target;
760
760
  }
761
- ;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
761
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
762
762
 
763
763
  function _objectWithoutProperties(source, excluded) {
764
764
  if (source == null) return {};
@@ -775,7 +775,7 @@ function _objectWithoutProperties(source, excluded) {
775
775
  }
776
776
  return target;
777
777
  }
778
- ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
778
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
779
779
  function _typeof(o) {
780
780
  "@babel/helpers - typeof";
781
781
 
@@ -785,7 +785,7 @@ function _typeof(o) {
785
785
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
786
786
  }, _typeof(o);
787
787
  }
788
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
788
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
789
789
 
790
790
  function toPrimitive(t, r) {
791
791
  if ("object" != _typeof(t) || !t) return t;
@@ -797,14 +797,14 @@ function toPrimitive(t, r) {
797
797
  }
798
798
  return ("string" === r ? String : Number)(t);
799
799
  }
800
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
800
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
801
801
 
802
802
 
803
803
  function toPropertyKey(t) {
804
804
  var i = toPrimitive(t, "string");
805
805
  return "symbol" == _typeof(i) ? i : String(i);
806
806
  }
807
- ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
807
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
808
808
 
809
809
  function _defineProperty(obj, key, value) {
810
810
  key = toPropertyKey(key);
@@ -820,19 +820,15 @@ function _defineProperty(obj, key, value) {
820
820
  }
821
821
  return obj;
822
822
  }
823
- ;// external "vue"
824
- var external_vue_x = (y) => {
825
- var x = {}; __webpack_require__.d(x, y); return x
826
- }
827
- var external_vue_y = (x) => (() => (x))
828
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["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), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
829
- ;// external "../config-provider"
830
- var config_provider_x = (y) => {
831
- var x = {}; __webpack_require__.d(x, y); return x
832
- }
833
- var config_provider_y = (x) => (() => (x))
834
- 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) });
835
- ;// ../../packages/directives/src/clickoutside.ts
823
+ ;// CONCATENATED MODULE: external "vue"
824
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
825
+ var external_vue_y = x => () => x
826
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["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, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
827
+ ;// CONCATENATED MODULE: external "../config-provider"
828
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
829
+ var config_provider_y = x => () => x
830
+ 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 });
831
+ ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
836
832
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
837
833
  function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return clickoutside_arrayLikeToArray(o, minLen); }
838
834
  function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
@@ -840,7 +836,7 @@ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.
840
836
  * Tencent is pleased to support the open source community by making
841
837
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
842
838
  *
843
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
839
+ * Copyright (C) 2025 Tencent. All rights reserved.
844
840
  *
845
841
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
846
842
  *
@@ -958,19 +954,17 @@ ClickOutside.install = function (app) {
958
954
  app.directive('bkTooltips', ClickOutside);
959
955
  };
960
956
  /* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
961
- ;// external "../popover"
962
- var popover_x = (y) => {
963
- var x = {}; __webpack_require__.d(x, y); return x
964
- }
965
- var popover_y = (x) => (() => (x))
966
- const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
967
- ;// ../../packages/directives/src/ellipsis.ts
957
+ ;// CONCATENATED MODULE: external "../popover"
958
+ var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
959
+ var popover_y = x => () => x
960
+ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
961
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
968
962
 
969
963
  /*
970
964
  * Tencent is pleased to support the open source community by making
971
965
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
972
966
  *
973
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
967
+ * Copyright (C) 2025 Tencent. All rights reserved.
974
968
  *
975
969
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
976
970
  *
@@ -1075,14 +1069,14 @@ var ellipsis = {
1075
1069
  };
1076
1070
  /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
1077
1071
  // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
1078
- var normalize_wheel = __webpack_require__(8283);
1072
+ var normalize_wheel = __webpack_require__(2439);
1079
1073
  var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
1080
- ;// ../../packages/directives/src/mousewheel.ts
1074
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
1081
1075
  /*
1082
1076
  * Tencent is pleased to support the open source community by making
1083
1077
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1084
1078
  *
1085
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1079
+ * Copyright (C) 2025 Tencent. All rights reserved.
1086
1080
  *
1087
1081
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1088
1082
  *
@@ -1119,20 +1113,20 @@ var mousewheel = {
1119
1113
  }
1120
1114
  };
1121
1115
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1122
- ;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1116
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1123
1117
 
1124
1118
  function _arrayWithoutHoles(arr) {
1125
1119
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1126
1120
  }
1127
- ;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1121
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1128
1122
  function _iterableToArray(iter) {
1129
1123
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1130
1124
  }
1131
- ;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1125
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1132
1126
  function _nonIterableSpread() {
1133
1127
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1134
1128
  }
1135
- ;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1129
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1136
1130
 
1137
1131
 
1138
1132
 
@@ -1140,13 +1134,11 @@ function _nonIterableSpread() {
1140
1134
  function _toConsumableArray(arr) {
1141
1135
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1142
1136
  }
1143
- ;// external "@popperjs/core"
1144
- var core_x = (y) => {
1145
- var x = {}; __webpack_require__.d(x, y); return x
1146
- }
1147
- var core_y = (x) => (() => (x))
1148
- const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
1149
- ;// ../../packages/directives/src/tooltips.ts
1137
+ ;// CONCATENATED MODULE: external "@popperjs/core"
1138
+ var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1139
+ var core_y = x => () => x
1140
+ const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
1141
+ ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
1150
1142
 
1151
1143
 
1152
1144
 
@@ -1156,7 +1148,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1156
1148
  * Tencent is pleased to support the open source community by making
1157
1149
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1158
1150
  *
1159
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1151
+ * Copyright (C) 2025 Tencent. All rights reserved.
1160
1152
  *
1161
1153
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1162
1154
  *
@@ -1211,9 +1203,6 @@ var tooltips = {
1211
1203
  hide(el);
1212
1204
  }, 100);
1213
1205
  });
1214
- el.addEventListener('click', function () {
1215
- hide(el);
1216
- });
1217
1206
  popper.addEventListener('mouseleave', function () {
1218
1207
  clearTimeout(delayTimeout);
1219
1208
  hideTimeout = setTimeout(function () {
@@ -1227,7 +1216,7 @@ var tooltips = {
1227
1216
  show(el);
1228
1217
  clearTimeout(delayTimeout);
1229
1218
  }, opts.delay);
1230
- } else if (popper.hasAttribute('data-show')) {
1219
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
1231
1220
  hide(el);
1232
1221
  }
1233
1222
  });
@@ -1336,6 +1325,7 @@ function renderArrow() {
1336
1325
  * @returns popper实例
1337
1326
  */
1338
1327
  function createPopperInstance(el, popper) {
1328
+ if (!tooltips_nodeList.get(el)) return;
1339
1329
  var _nodeList$get = tooltips_nodeList.get(el),
1340
1330
  opts = _nodeList$get.opts;
1341
1331
  var placement = opts.placement,
@@ -1376,6 +1366,7 @@ function createPopperInstance(el, popper) {
1376
1366
  * @param el
1377
1367
  */
1378
1368
  function show(el) {
1369
+ if (!tooltips_nodeList.get(el)) return;
1379
1370
  var _nodeList$get2 = tooltips_nodeList.get(el),
1380
1371
  popper = _nodeList$get2.popper,
1381
1372
  opts = _nodeList$get2.opts;
@@ -1438,24 +1429,20 @@ function hide(el) {
1438
1429
  }
1439
1430
  }
1440
1431
  /* harmony default export */ const src_tooltips = (tooltips);
1441
- ;// external "../loading"
1442
- var external_loading_x = (y) => {
1443
- var x = {}; __webpack_require__.d(x, y); return x
1444
- }
1445
- var external_loading_y = (x) => (() => (x))
1432
+ ;// CONCATENATED MODULE: external "../loading"
1433
+ var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1434
+ var external_loading_y = x => () => x
1446
1435
  const external_loading_namespaceObject = external_loading_x({ });
1447
- ;// external "../overflow-title"
1448
- var external_overflow_title_x = (y) => {
1449
- var x = {}; __webpack_require__.d(x, y); return x
1450
- }
1451
- var external_overflow_title_y = (x) => (() => (x))
1436
+ ;// CONCATENATED MODULE: external "../overflow-title"
1437
+ var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1438
+ var external_overflow_title_y = x => () => x
1452
1439
  const external_overflow_title_namespaceObject = external_overflow_title_x({ });
1453
- ;// ../../packages/directives/src/index.ts
1440
+ ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
1454
1441
  /*
1455
1442
  * Tencent is pleased to support the open source community by making
1456
1443
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1457
1444
  *
1458
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1445
+ * Copyright (C) 2025 Tencent. All rights reserved.
1459
1446
  *
1460
1447
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1461
1448
  *
@@ -1483,18 +1470,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
1483
1470
 
1484
1471
 
1485
1472
  // export { createInstance as bkEllipsisInstance } from './ellipsis';
1486
- ;// external "../icon"
1487
- var icon_x = (y) => {
1488
- var x = {}; __webpack_require__.d(x, y); return x
1489
- }
1490
- var icon_y = (x) => (() => (x))
1491
- const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["DownSmall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.DownSmall), ["Eye"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Eye), ["Search"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search), ["Unvisible"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Unvisible) });
1492
- ;// ../../packages/input/src/util.ts
1473
+ ;// CONCATENATED MODULE: external "../icon"
1474
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1475
+ var icon_y = x => () => x
1476
+ const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["DownSmall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.DownSmall, ["Eye"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Eye, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["Unvisible"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Unvisible });
1477
+ ;// CONCATENATED MODULE: ../../packages/input/src/util.ts
1493
1478
  /*
1494
1479
  * Tencent is pleased to support the open source community by making
1495
1480
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1496
1481
  *
1497
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1482
+ * Copyright (C) 2025 Tencent. All rights reserved.
1498
1483
  *
1499
1484
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1500
1485
  *
@@ -1535,7 +1520,7 @@ function calculateNodeStyling(targetElement) {
1535
1520
  };
1536
1521
  }
1537
1522
  function calcTextareaHeight(targetElement) {
1538
- var _hiddenTextarea$paren;
1523
+ var _targetElement$value, _hiddenTextarea$paren;
1539
1524
  var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
1540
1525
  var maxRows = arguments.length > 2 ? arguments[2] : undefined;
1541
1526
  if (!hiddenTextarea) {
@@ -1548,7 +1533,7 @@ function calcTextareaHeight(targetElement) {
1548
1533
  boxSizing = _calculateNodeStyling.boxSizing,
1549
1534
  contextStyle = _calculateNodeStyling.contextStyle;
1550
1535
  hiddenTextarea.setAttribute('style', "".concat(contextStyle, ";").concat(HIDDEN_STYLE));
1551
- hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';
1536
+ hiddenTextarea.value = (_targetElement$value = targetElement.value) !== null && _targetElement$value !== void 0 ? _targetElement$value : '';
1552
1537
  var height = hiddenTextarea.scrollHeight;
1553
1538
  var result = {};
1554
1539
  if (boxSizing === 'border-box') {
@@ -1578,7 +1563,7 @@ function calcTextareaHeight(targetElement) {
1578
1563
  hiddenTextarea = undefined;
1579
1564
  return result;
1580
1565
  }
1581
- ;// ../../packages/input/src/input.tsx
1566
+ ;// CONCATENATED MODULE: ../../packages/input/src/input.tsx
1582
1567
 
1583
1568
 
1584
1569
 
@@ -1591,7 +1576,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
1591
1576
  * Tencent is pleased to support the open source community by making
1592
1577
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1593
1578
  *
1594
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1579
+ * Copyright (C) 2025 Tencent. All rights reserved.
1595
1580
  *
1596
1581
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1597
1582
  *
@@ -1628,11 +1613,11 @@ var inputType = {
1628
1613
  suffixIcon: shared_namespaceObject.PropTypes.string,
1629
1614
  suffix: shared_namespaceObject.PropTypes.string,
1630
1615
  prefix: shared_namespaceObject.PropTypes.string,
1631
- step: shared_namespaceObject.PropTypes.integer,
1632
- max: shared_namespaceObject.PropTypes.integer,
1633
- min: shared_namespaceObject.PropTypes.integer,
1634
- maxlength: shared_namespaceObject.PropTypes.integer,
1635
- maxcharacter: shared_namespaceObject.PropTypes.integer,
1616
+ step: shared_namespaceObject.PropTypes.number,
1617
+ max: shared_namespaceObject.PropTypes.number,
1618
+ min: shared_namespaceObject.PropTypes.number,
1619
+ maxlength: shared_namespaceObject.PropTypes.number,
1620
+ maxcharacter: shared_namespaceObject.PropTypes.number,
1636
1621
  behavior: (0,shared_namespaceObject.InputBehaviorType)(),
1637
1622
  showWordLimit: shared_namespaceObject.PropTypes.bool,
1638
1623
  showControl: shared_namespaceObject.PropTypes.bool.def(true),
@@ -1647,6 +1632,12 @@ var inputType = {
1647
1632
  withValidate: shared_namespaceObject.PropTypes.bool.def(true),
1648
1633
  overMaxLengthLimit: shared_namespaceObject.PropTypes.bool.def(false),
1649
1634
  showOverflowTooltips: shared_namespaceObject.PropTypes.bool.def(true),
1635
+ tooltipsOptions: {
1636
+ type: Object,
1637
+ "default": function _default() {
1638
+ return {};
1639
+ }
1640
+ },
1650
1641
  resize: shared_namespaceObject.PropTypes.bool.def(true),
1651
1642
  autosize: shared_namespaceObject.PropTypes.oneOfType([Boolean, Object]).def(false),
1652
1643
  stopPropagation: shared_namespaceObject.PropTypes.bool.def(true)
@@ -1686,7 +1677,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
1686
1677
  }), EVENTS.CHANGE, EventFunction), EVENTS.CLEAR, function () {
1687
1678
  return true;
1688
1679
  }), EVENTS.INPUT, EventFunction), EVENTS.KEYPRESS, EventFunction), EVENTS.KEYDOWN, EventFunction), EVENTS.KEYUP, EventFunction), EVENTS.ENTER, EventFunction), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.PASTE, PastEventFunction), EVENTS.COMPOSITIONSTART, CompositionEventFunction), EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), EVENTS.COMPOSITIONEND, CompositionEventFunction));
1689
- var Input = (0,external_vue_namespaceObject.defineComponent)({
1680
+ /* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
1690
1681
  name: 'Input',
1691
1682
  directives: {
1692
1683
  bkTooltips: src_tooltips
@@ -1796,16 +1787,16 @@ var Input = (0,external_vue_namespaceObject.defineComponent)({
1796
1787
  var tooltips = (0,external_vue_namespaceObject.computed)(function () {
1797
1788
  var _props$modelValue2;
1798
1789
  if (showMaxLimit.value && ceilMaxLength.value - modelValueLength.value === 0) {
1799
- return {
1790
+ return input_objectSpread({
1800
1791
  content: t.value.maxlengthLimitTips
1801
- };
1792
+ }, props.tooltipsOptions || {});
1802
1793
  }
1803
- return props.showOverflowTooltips && isOverflow.value && props.modelValue ? {
1794
+ return props.showOverflowTooltips && isOverflow.value && props.modelValue ? input_objectSpread({
1804
1795
  content: (_props$modelValue2 = props.modelValue) === null || _props$modelValue2 === void 0 ? void 0 : _props$modelValue2.toString(),
1805
1796
  sameWidth: true
1806
- } : {
1797
+ }, props.tooltipsOptions || {}) : input_objectSpread({
1807
1798
  disabled: true
1808
- };
1799
+ }, props.tooltipsOptions || {});
1809
1800
  });
1810
1801
  var showMaxLimit = (0,external_vue_namespaceObject.computed)(function () {
1811
1802
  return typeof props.maxlength === 'number' || typeof props.maxcharacter === 'number';
@@ -1835,11 +1826,10 @@ var Input = (0,external_vue_namespaceObject.defineComponent)({
1835
1826
  (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || (_inputRef$value$focus = _inputRef$value.focus) === null || _inputRef$value$focus === void 0 || _inputRef$value$focus.call(_inputRef$value);
1836
1827
  }
1837
1828
  });
1838
- function focus() {
1839
- inputRef.value.focus();
1840
- }
1841
1829
  ctx.expose({
1842
- focus: focus,
1830
+ focus: function focus() {
1831
+ inputRef.value.focus();
1832
+ },
1843
1833
  blur: function blur() {
1844
1834
  inputRef.value.blur();
1845
1835
  isFocused.value = false;
@@ -1922,14 +1912,28 @@ var Input = (0,external_vue_namespaceObject.defineComponent)({
1922
1912
  return eventName === e;
1923
1913
  })) return;
1924
1914
  if (eventName === EVENTS.INPUT) {
1925
- ctx.emit(EVENTS.UPDATE, e.target.value, e);
1926
- } else if (eventName === EVENTS.CHANGE && isNumberInput.value && e.target.value !== '') {
1915
+ // ctx.emit(EVENTS.UPDATE, isNumberInput.value ? handleNumber(e.target.value, 0) : e.target.value, e);
1916
+ ctx.emit(EVENTS.UPDATE, isNumberInput.value ?
1917
+ // 这里不直接使用 handleNumber,是因为 handleNumber 里有 min 和 max 的判断
1918
+ // https://github.com/TencentBlueKing/bkui-vue3/issues/2426
1919
+ function () {
1920
+ var precision = Number.isInteger(props.precision) ? props.precision : 0;
1921
+ var val = e.target.value;
1922
+ if (Number.isNaN(val)) {
1923
+ return isNum(props.min) ? props.min : 0;
1924
+ }
1925
+ if (val === '' || val === null || val === undefined) {
1926
+ return '';
1927
+ }
1928
+ return (+val).toFixed(precision);
1929
+ }() : e.target.value, e);
1930
+ } else if (eventName === EVENTS.CHANGE && isNumberInput.value) {
1927
1931
  var _val = handleNumber(e.target.value, 0);
1928
1932
  ctx.emit(EVENTS.UPDATE, _val, e);
1929
1933
  ctx.emit(eventName, _val, e);
1930
1934
  return;
1931
1935
  }
1932
- ctx.emit(eventName, e.target.value, e);
1936
+ ctx.emit(eventName, isNumberInput.value ? handleNumber(e.target.value, 0) : e.target.value, e);
1933
1937
  };
1934
1938
  }
1935
1939
  var _map = [EVENTS.KEYUP, EVENTS.KEYDOWN, EVENTS.KEYPRESS, EVENTS.PASTE, EVENTS.CHANGE, EVENTS.INPUT].map(eventHandler),
@@ -2051,16 +2055,14 @@ var Input = (0,external_vue_namespaceObject.defineComponent)({
2051
2055
  "class": getCls('suffix-area--text')
2052
2056
  }, [props.suffix])])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), tooltips.value]]);
2053
2057
  };
2054
- },
2055
- expose: ['focus', 'blur', 'clear']
2056
- });
2057
- /* harmony default export */ const input = (Input);
2058
- ;// ../../packages/input/src/index.ts
2058
+ }
2059
+ }));
2060
+ ;// CONCATENATED MODULE: ../../packages/input/src/index.ts
2059
2061
  /*
2060
2062
  * Tencent is pleased to support the open source community by making
2061
2063
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2062
2064
  *
2063
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2065
+ * Copyright (C) 2025 Tencent. All rights reserved.
2064
2066
  *
2065
2067
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2066
2068
  *
@@ -2085,5 +2087,7 @@ var Input = (0,external_vue_namespaceObject.defineComponent)({
2085
2087
 
2086
2088
  var BkInput = (0,shared_namespaceObject.withInstall)(input);
2087
2089
  /* harmony default export */ const src = (BkInput);
2090
+ })();
2091
+
2088
2092
  var __webpack_exports__default = __webpack_exports__["default"];
2089
2093
  export { __webpack_exports__default as default };