bkui-vue 2.0.1-beta.99 → 2.0.2-beta.1

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 (346) hide show
  1. package/dist/index.cjs.js +133 -159
  2. package/dist/index.esm.js +26188 -29904
  3. package/dist/index.umd.js +133 -159
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.css +0 -130
  7. package/lib/affix/affix.variable.css +1 -261
  8. package/lib/affix/index.js +30 -22
  9. package/lib/alert/alert.css +3 -133
  10. package/lib/alert/alert.variable.css +1 -261
  11. package/lib/alert/index.js +30 -22
  12. package/lib/animate-number/index.js +14 -10
  13. package/lib/backtop/backtop.css +3 -133
  14. package/lib/backtop/backtop.variable.css +4 -394
  15. package/lib/backtop/index.js +32 -22
  16. package/lib/badge/badge.css +26 -156
  17. package/lib/badge/badge.variable.css +1 -261
  18. package/lib/badge/index.js +24 -18
  19. package/lib/breadcrumb/breadcrumb.css +5 -135
  20. package/lib/breadcrumb/breadcrumb.variable.css +6 -396
  21. package/lib/breadcrumb/index.js +31 -23
  22. package/lib/button/button.css +143 -273
  23. package/lib/button/button.variable.css +1 -261
  24. package/lib/button/index.d.ts +2 -1
  25. package/lib/button/index.js +36 -26
  26. package/lib/card/card.css +4 -134
  27. package/lib/card/card.variable.css +5 -395
  28. package/lib/card/index.js +47 -33
  29. package/lib/cascader/cascader.css +27 -153
  30. package/lib/cascader/cascader.d.ts +2 -2
  31. package/lib/cascader/cascader.less +5 -0
  32. package/lib/cascader/cascader.variable.css +28 -414
  33. package/lib/cascader/index.d.ts +6 -6
  34. package/lib/cascader/index.js +1609 -859
  35. package/lib/checkbox/checkbox.css +10 -140
  36. package/lib/checkbox/checkbox.variable.css +1 -261
  37. package/lib/checkbox/index.js +44 -34
  38. package/lib/code-diff/code-diff.css +0 -130
  39. package/lib/code-diff/code-diff.variable.css +1 -261
  40. package/lib/code-diff/index.js +83 -79
  41. package/lib/collapse/collapse.css +1 -131
  42. package/lib/collapse/collapse.variable.css +1 -261
  43. package/lib/collapse/index.js +39 -33
  44. package/lib/collapse-transition/collapse-transition.css +0 -130
  45. package/lib/collapse-transition/collapse-transition.variable.css +1 -261
  46. package/lib/collapse-transition/index.js +20 -14
  47. package/lib/color-picker/color-picker.css +0 -130
  48. package/lib/color-picker/color-picker.variable.css +1 -261
  49. package/lib/color-picker/index.js +1646 -440
  50. package/lib/config-provider/config-provider.css +0 -130
  51. package/lib/config-provider/config-provider.variable.css +1 -261
  52. package/lib/config-provider/index.js +34 -26
  53. package/lib/container/container.css +0 -130
  54. package/lib/container/container.variable.css +1 -391
  55. package/lib/container/index.js +27 -21
  56. package/lib/date-picker/date-picker.css +17 -147
  57. package/lib/date-picker/date-picker.variable.css +1 -261
  58. package/lib/date-picker/index.d.ts +2 -1
  59. package/lib/date-picker/index.js +1992 -554
  60. package/lib/dialog/dialog.css +8 -138
  61. package/lib/dialog/dialog.variable.css +9 -399
  62. package/lib/dialog/index.js +101 -87
  63. package/lib/directives/index.d.ts +1 -0
  64. package/lib/directives/index.js +495 -378
  65. package/lib/divider/divider.css +3 -133
  66. package/lib/divider/divider.variable.css +1 -261
  67. package/lib/divider/index.js +21 -15
  68. package/lib/dropdown/dropdown.css +0 -130
  69. package/lib/dropdown/dropdown.variable.css +1 -391
  70. package/lib/dropdown/index.js +43 -31
  71. package/lib/exception/exception.css +0 -130
  72. package/lib/exception/exception.variable.css +1 -261
  73. package/lib/exception/index.js +55 -49
  74. package/lib/fixed-navbar/fixed-navbar.css +4 -134
  75. package/lib/fixed-navbar/fixed-navbar.variable.css +1 -261
  76. package/lib/fixed-navbar/index.js +20 -14
  77. package/lib/form/form.css +0 -130
  78. package/lib/form/form.variable.css +1 -261
  79. package/lib/form/index.js +1623 -198
  80. package/lib/icon/angle-double-down-line.js +14 -12
  81. package/lib/icon/angle-double-left-line.js +14 -12
  82. package/lib/icon/angle-double-left.js +14 -12
  83. package/lib/icon/angle-double-right-line.js +14 -12
  84. package/lib/icon/angle-double-right.js +14 -12
  85. package/lib/icon/angle-double-up-line.js +14 -12
  86. package/lib/icon/angle-down-fill.js +14 -12
  87. package/lib/icon/angle-down-line.js +14 -12
  88. package/lib/icon/angle-down.js +14 -12
  89. package/lib/icon/angle-left.js +14 -12
  90. package/lib/icon/angle-right.js +14 -12
  91. package/lib/icon/angle-up-fill.js +14 -12
  92. package/lib/icon/angle-up.js +14 -12
  93. package/lib/icon/archive-fill.js +14 -12
  94. package/lib/icon/arrows-left.js +14 -12
  95. package/lib/icon/arrows-right.js +14 -12
  96. package/lib/icon/assistant.js +14 -12
  97. package/lib/icon/audio-fill.js +14 -12
  98. package/lib/icon/bk.js +14 -12
  99. package/lib/icon/circle.js +14 -12
  100. package/lib/icon/close-line.js +14 -12
  101. package/lib/icon/close.js +14 -12
  102. package/lib/icon/code.js +14 -12
  103. package/lib/icon/cog-shape.js +14 -12
  104. package/lib/icon/collapse-left.js +14 -12
  105. package/lib/icon/copy-shape.js +14 -12
  106. package/lib/icon/copy.js +14 -12
  107. package/lib/icon/data-shape.js +14 -12
  108. package/lib/icon/del.js +14 -12
  109. package/lib/icon/doc-fill.js +14 -12
  110. package/lib/icon/done.js +14 -12
  111. package/lib/icon/down-shape.js +14 -12
  112. package/lib/icon/down-small.js +14 -12
  113. package/lib/icon/edit-line.js +14 -12
  114. package/lib/icon/ellipsis.js +14 -12
  115. package/lib/icon/enlarge-line.js +14 -12
  116. package/lib/icon/error.js +14 -12
  117. package/lib/icon/excel-fill.js +14 -12
  118. package/lib/icon/exclamation-circle-shape.js +14 -12
  119. package/lib/icon/eye.js +14 -12
  120. package/lib/icon/filliscreen-line.js +14 -12
  121. package/lib/icon/fix-line.js +14 -12
  122. package/lib/icon/fix-shape.js +14 -12
  123. package/lib/icon/folder-open.js +14 -12
  124. package/lib/icon/folder-shape-open.js +14 -12
  125. package/lib/icon/folder-shape.js +14 -12
  126. package/lib/icon/folder.js +14 -12
  127. package/lib/icon/funnel.js +14 -12
  128. package/lib/icon/grag-fill.js +14 -12
  129. package/lib/icon/help-document-fill.js +14 -12
  130. package/lib/icon/help-fill.js +14 -12
  131. package/lib/icon/help.js +14 -12
  132. package/lib/icon/image-fill.js +14 -12
  133. package/lib/icon/img-error.js +14 -12
  134. package/lib/icon/img-placehoulder.js +14 -12
  135. package/lib/icon/info-line.js +14 -12
  136. package/lib/icon/info.js +14 -12
  137. package/lib/icon/left-shape.js +14 -12
  138. package/lib/icon/left-turn-line.js +14 -12
  139. package/lib/icon/loading.js +14 -12
  140. package/lib/icon/narrow-line.js +14 -12
  141. package/lib/icon/original.js +14 -12
  142. package/lib/icon/pdf-fill.js +14 -12
  143. package/lib/icon/play-shape.js +14 -12
  144. package/lib/icon/plus.js +14 -12
  145. package/lib/icon/ppt-fill.js +14 -12
  146. package/lib/icon/qq.js +14 -12
  147. package/lib/icon/right-shape.js +14 -12
  148. package/lib/icon/right-turn-line.js +14 -12
  149. package/lib/icon/search.js +14 -12
  150. package/lib/icon/share.js +14 -12
  151. package/lib/icon/spinner.js +14 -12
  152. package/lib/icon/success.js +14 -12
  153. package/lib/icon/switcher-loading.js +14 -12
  154. package/lib/icon/text-all.js +14 -12
  155. package/lib/icon/text-file.js +14 -12
  156. package/lib/icon/text-fill.js +14 -12
  157. package/lib/icon/transfer.js +14 -12
  158. package/lib/icon/tree-application-shape.js +14 -12
  159. package/lib/icon/unfull-screen.js +14 -12
  160. package/lib/icon/unvisible.js +14 -12
  161. package/lib/icon/up-shape.js +14 -12
  162. package/lib/icon/upload.js +14 -12
  163. package/lib/icon/video-fill.js +14 -12
  164. package/lib/icon/warn.js +14 -12
  165. package/lib/icon/weixin-pro.js +14 -12
  166. package/lib/icon/weixin.js +14 -12
  167. package/lib/image/image-viewer.css +0 -130
  168. package/lib/image/image-viewer.variable.css +1 -261
  169. package/lib/image/image.css +0 -130
  170. package/lib/image/image.variable.css +1 -391
  171. package/lib/image/index.js +1502 -182
  172. package/lib/index.js +1 -1
  173. package/lib/info-box/index.js +101 -87
  174. package/lib/info-box/info-box.css +4 -134
  175. package/lib/info-box/info-box.variable.css +1 -261
  176. package/lib/input/index.js +1342 -42
  177. package/lib/input/input.css +75 -205
  178. package/lib/input/input.variable.css +76 -466
  179. package/lib/link/index.js +26 -18
  180. package/lib/link/link.css +16 -146
  181. package/lib/link/link.variable.css +1 -261
  182. package/lib/loading/index.js +25 -19
  183. package/lib/loading/loading.css +16 -146
  184. package/lib/loading/loading.variable.css +17 -407
  185. package/lib/locale/index.js +3 -3
  186. package/lib/menu/index.js +40 -32
  187. package/lib/menu/menu.css +20 -150
  188. package/lib/menu/menu.variable.css +21 -411
  189. package/lib/menu/submenu.css +0 -130
  190. package/lib/menu/submenu.variable.css +1 -261
  191. package/lib/message/index.js +47 -41
  192. package/lib/message/message.css +21 -151
  193. package/lib/message/message.variable.css +1 -261
  194. package/lib/modal/index.js +42 -29
  195. package/lib/modal/modal.css +4 -134
  196. package/lib/modal/modal.variable.css +5 -395
  197. package/lib/navigation/index.js +27 -19
  198. package/lib/navigation/navigation.css +2 -132
  199. package/lib/navigation/navigation.variable.css +1 -261
  200. package/lib/notify/index.js +37 -27
  201. package/lib/notify/notify.css +7 -137
  202. package/lib/notify/notify.variable.css +1 -261
  203. package/lib/overflow-title/components/overflow-title.d.ts +20 -0
  204. package/lib/overflow-title/index.d.ts +40 -0
  205. package/lib/overflow-title/index.js +43 -30
  206. package/lib/overflow-title/overflow-title.css +3 -0
  207. package/lib/overflow-title/overflow-title.less +4 -0
  208. package/lib/overflow-title/overflow-title.variable.css +3 -0
  209. package/lib/overflow-title/props.d.ts +10 -0
  210. package/lib/pagination/index.d.ts +3 -3
  211. package/lib/pagination/index.js +62 -46
  212. package/lib/pagination/pagination.css +1 -131
  213. package/lib/pagination/pagination.d.ts +1 -1
  214. package/lib/pagination/pagination.variable.css +1 -261
  215. package/lib/plugin-popover/index.d.ts +1 -1
  216. package/lib/plugin-popover/index.js +35 -21266
  217. package/lib/plugins/index.js +7 -5
  218. package/lib/pop-confirm/index.d.ts +8 -0
  219. package/lib/pop-confirm/index.js +64 -40
  220. package/lib/pop-confirm/pop-confirm.css +0 -130
  221. package/lib/pop-confirm/pop-confirm.d.ts +4 -0
  222. package/lib/pop-confirm/pop-confirm.variable.css +1 -261
  223. package/lib/pop-confirm/props.d.ts +3 -0
  224. package/lib/popover/index.d.ts +49 -3
  225. package/lib/popover/index.js +1323 -17381
  226. package/lib/popover/popover.css +0 -130
  227. package/lib/popover/popover.d.ts +23 -1
  228. package/lib/popover/popover.variable.css +1 -261
  229. package/lib/popover/props.d.ts +16 -0
  230. package/lib/popover/use-popover-init.d.ts +1 -2
  231. package/lib/popover/utils.d.ts +1 -1
  232. package/lib/popover2/index.js +14 -10
  233. package/lib/process/index.js +78 -74
  234. package/lib/process/process.css +13 -143
  235. package/lib/process/process.variable.css +1 -261
  236. package/lib/progress/index.js +26 -20
  237. package/lib/progress/progress.css +4 -134
  238. package/lib/progress/progress.variable.css +5 -395
  239. package/lib/radio/index.js +39 -31
  240. package/lib/radio/radio.css +42 -172
  241. package/lib/radio/radio.variable.css +1 -261
  242. package/lib/rate/index.js +25 -19
  243. package/lib/rate/rate.css +0 -130
  244. package/lib/rate/rate.variable.css +1 -261
  245. package/lib/resize-layout/index.js +30 -22
  246. package/lib/resize-layout/resize-layout.css +0 -130
  247. package/lib/resize-layout/resize-layout.variable.css +1 -261
  248. package/lib/scrollbar/css/scrollbar.css +0 -130
  249. package/lib/scrollbar/css/scrollbar.variable.css +1 -261
  250. package/lib/scrollbar/index.js +25 -25
  251. package/lib/search-select/index.d.ts +6 -0
  252. package/lib/search-select/index.js +1514 -238
  253. package/lib/search-select/input.d.ts +1 -0
  254. package/lib/search-select/search-select.css +78 -208
  255. package/lib/search-select/search-select.d.ts +2 -0
  256. package/lib/search-select/search-select.less +39 -39
  257. package/lib/search-select/search-select.variable.css +79 -469
  258. package/lib/search-select/selected.d.ts +2 -0
  259. package/lib/select/index.d.ts +78 -7
  260. package/lib/select/index.js +1460 -181
  261. package/lib/select/select.css +42 -169
  262. package/lib/select/select.d.ts +32 -2
  263. package/lib/select/select.less +4 -0
  264. package/lib/select/select.variable.css +43 -430
  265. package/lib/shared/index.js +57 -49
  266. package/lib/sideslider/index.js +89 -79
  267. package/lib/sideslider/sideslider.css +1 -131
  268. package/lib/sideslider/sideslider.variable.css +1 -261
  269. package/lib/slider/index.js +85 -75
  270. package/lib/slider/slider.css +5 -135
  271. package/lib/slider/slider.variable.css +1 -261
  272. package/lib/steps/index.js +78 -72
  273. package/lib/steps/steps.css +38 -168
  274. package/lib/steps/steps.variable.css +1 -261
  275. package/lib/styles/mixins/animate.css +0 -130
  276. package/lib/styles/mixins/animate.variable.css +1 -261
  277. package/lib/styles/mixins/mixins.css +0 -130
  278. package/lib/styles/mixins/mixins.variable.css +0 -130
  279. package/lib/styles/mixins/popper.css +0 -130
  280. package/lib/styles/mixins/popper.variable.css +1 -261
  281. package/lib/styles/mixins/scroll.css +0 -130
  282. package/lib/styles/mixins/scroll.variable.css +1 -261
  283. package/lib/styles/reset.css +0 -130
  284. package/lib/styles/reset.variable.css +1 -261
  285. package/lib/styles/themes/themes.less +130 -299
  286. package/lib/swiper/index.js +24 -18
  287. package/lib/swiper/swiper.css +0 -130
  288. package/lib/swiper/swiper.variable.css +1 -261
  289. package/lib/switcher/index.js +30 -22
  290. package/lib/switcher/switcher.css +17 -147
  291. package/lib/switcher/switcher.variable.css +18 -408
  292. package/lib/tab/index.js +1324 -43
  293. package/lib/tab/tab.css +26 -156
  294. package/lib/tab/tab.variable.css +1 -261
  295. package/lib/table/components/table-column.d.ts +1 -1
  296. package/lib/table/index.d.ts +7 -7
  297. package/lib/table/index.js +1543 -17458
  298. package/lib/table/plugins/head-filter.css +0 -130
  299. package/lib/table/plugins/head-filter.variable.css +1 -261
  300. package/lib/table/plugins/head-sort.css +0 -130
  301. package/lib/table/plugins/head-sort.variable.css +1 -261
  302. package/lib/table/plugins/settings.css +0 -130
  303. package/lib/table/plugins/settings.variable.css +1 -261
  304. package/lib/table/table.css +189 -319
  305. package/lib/table/table.d.ts +2 -2
  306. package/lib/table/table.variable.css +190 -580
  307. package/lib/table-column/index.d.ts +3 -3
  308. package/lib/table-column/index.js +17 -17995
  309. package/lib/tag/index.js +36 -26
  310. package/lib/tag/tag.css +5 -135
  311. package/lib/tag/tag.variable.css +1 -261
  312. package/lib/tag-input/index.d.ts +52 -10
  313. package/lib/tag-input/index.js +1453 -17423
  314. package/lib/tag-input/tag-input.css +21 -148
  315. package/lib/tag-input/tag-input.d.ts +24 -4
  316. package/lib/tag-input/tag-input.less +4 -0
  317. package/lib/tag-input/tag-input.variable.css +4 -261
  318. package/lib/tag-input/tag-props.d.ts +11 -1
  319. package/lib/tag-input/tag-render.d.ts +2 -2
  320. package/lib/time-picker/index.js +13 -9
  321. package/lib/time-picker/time-picker.css +0 -130
  322. package/lib/time-picker/time-picker.variable.css +1 -261
  323. package/lib/timeline/index.js +21 -15
  324. package/lib/timeline/timeline.css +19 -149
  325. package/lib/timeline/timeline.variable.css +1 -261
  326. package/lib/transfer/index.d.ts +3 -3
  327. package/lib/transfer/index.js +56 -40
  328. package/lib/transfer/transfer.css +19 -149
  329. package/lib/transfer/transfer.d.ts +1 -1
  330. package/lib/transfer/transfer.variable.css +1 -261
  331. package/lib/tree/index.d.ts +3 -3
  332. package/lib/tree/index.js +107 -17342
  333. package/lib/tree/tree.css +10 -140
  334. package/lib/tree/tree.d.ts +1 -1
  335. package/lib/tree/tree.variable.css +11 -401
  336. package/lib/upload/index.js +584 -572
  337. package/lib/upload/upload.css +27 -157
  338. package/lib/upload/upload.variable.css +28 -418
  339. package/lib/virtual-render/index.d.ts +3 -3
  340. package/lib/virtual-render/index.js +59 -17306
  341. package/lib/virtual-render/virtual-render.css +0 -130
  342. package/lib/virtual-render/virtual-render.d.ts +1 -1
  343. package/lib/virtual-render/virtual-render.variable.css +1 -391
  344. package/package.json +1 -1
  345. package/lib/styles/themes/themes.css +0 -130
  346. package/lib/styles/themes/themes.variable.css +0 -130
@@ -1,15 +1,1509 @@
1
1
  import "../styles/reset.css";
2
2
  import "./color-picker.less";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
3
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
4
8
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
9
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
6
10
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
7
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
11
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__ from "../date-picker";
8
12
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
9
- /******/ // The require scope
10
- /******/ var __webpack_require__ = {};
13
+ /******/ var __webpack_modules__ = ({
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
+ /***/ 1043:
33
+ /***/ ((module) => {
34
+
35
+ /**
36
+ * Copyright (c) 2015, Facebook, Inc.
37
+ * All rights reserved.
38
+ *
39
+ * This source code is licensed under the BSD-style license found in the
40
+ * LICENSE file in the root directory of this source tree. An additional grant
41
+ * of patent rights can be found in the PATENTS file in the same directory.
42
+ *
43
+ * @providesModule ExecutionEnvironment
44
+ */
45
+
46
+ /*jslint evil: true */
47
+
48
+
49
+
50
+ var canUseDOM = !!(
51
+ typeof window !== 'undefined' &&
52
+ window.document &&
53
+ window.document.createElement
54
+ );
55
+
56
+ /**
57
+ * Simple, lightweight module assisting with the detection and context of
58
+ * Worker. Helps avoid circular dependencies and allows code to reason about
59
+ * whether or not they are in a Worker, even if they never include the main
60
+ * `ReactWorker` dependency.
61
+ */
62
+ var ExecutionEnvironment = {
63
+
64
+ canUseDOM: canUseDOM,
65
+
66
+ canUseWorkers: typeof Worker !== 'undefined',
67
+
68
+ canUseEventListeners:
69
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
70
+
71
+ canUseViewport: canUseDOM && !!window.screen,
72
+
73
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
74
+
75
+ };
76
+
77
+ module.exports = ExecutionEnvironment;
78
+
79
+
80
+ /***/ }),
81
+
82
+ /***/ 2586:
83
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
84
+
85
+ /**
86
+ * Copyright 2013-2015, Facebook, Inc.
87
+ * All rights reserved.
88
+ *
89
+ * This source code is licensed under the BSD-style license found in the
90
+ * LICENSE file in the root directory of this source tree. An additional grant
91
+ * of patent rights can be found in the PATENTS file in the same directory.
92
+ *
93
+ * @providesModule isEventSupported
94
+ */
95
+
96
+
97
+
98
+ var ExecutionEnvironment = __webpack_require__(1043);
99
+
100
+ var useHasFeature;
101
+ if (ExecutionEnvironment.canUseDOM) {
102
+ useHasFeature =
103
+ document.implementation &&
104
+ document.implementation.hasFeature &&
105
+ // always returns true in newer browsers as per the standard.
106
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
107
+ document.implementation.hasFeature('', '') !== true;
108
+ }
109
+
110
+ /**
111
+ * Checks if an event is supported in the current execution environment.
112
+ *
113
+ * NOTE: This will not work correctly for non-generic events such as `change`,
114
+ * `reset`, `load`, `error`, and `select`.
115
+ *
116
+ * Borrows from Modernizr.
117
+ *
118
+ * @param {string} eventNameSuffix Event name, e.g. "click".
119
+ * @param {?boolean} capture Check if the capture phase is supported.
120
+ * @return {boolean} True if the event is supported.
121
+ * @internal
122
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
123
+ */
124
+ function isEventSupported(eventNameSuffix, capture) {
125
+ if (!ExecutionEnvironment.canUseDOM ||
126
+ capture && !('addEventListener' in document)) {
127
+ return false;
128
+ }
129
+
130
+ var eventName = 'on' + eventNameSuffix;
131
+ var isSupported = eventName in document;
132
+
133
+ if (!isSupported) {
134
+ var element = document.createElement('div');
135
+ element.setAttribute(eventName, 'return;');
136
+ isSupported = typeof element[eventName] === 'function';
137
+ }
138
+
139
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
140
+ // This is the only way to test support for the `wheel` event in IE9+.
141
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
142
+ }
143
+
144
+ return isSupported;
145
+ }
146
+
147
+ module.exports = isEventSupported;
148
+
149
+
150
+ /***/ }),
151
+
152
+ /***/ 2880:
153
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
154
+
155
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
156
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
157
+ /* harmony export */ });
158
+ function _nonIterableSpread() {
159
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
160
+ }
161
+
162
+ /***/ }),
163
+
164
+ /***/ 3492:
165
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
166
+
167
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
168
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
169
+ /* harmony export */ });
170
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
171
+
172
+ function _arrayWithoutHoles(arr) {
173
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
174
+ }
175
+
176
+ /***/ }),
177
+
178
+ /***/ 4430:
179
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
180
+
181
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
182
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
183
+ /* harmony export */ });
184
+ function _iterableToArray(iter) {
185
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
186
+ }
187
+
188
+ /***/ }),
189
+
190
+ /***/ 4586:
191
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
192
+
193
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
194
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
195
+ /* harmony export */ });
196
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
197
+
198
+ function _defineProperty(obj, key, value) {
199
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
200
+ if (key in obj) {
201
+ Object.defineProperty(obj, key, {
202
+ value: value,
203
+ enumerable: true,
204
+ configurable: true,
205
+ writable: true
206
+ });
207
+ } else {
208
+ obj[key] = value;
209
+ }
210
+ return obj;
211
+ }
212
+
213
+ /***/ }),
214
+
215
+ /***/ 4923:
216
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
217
+
218
+
219
+ // EXPORTS
220
+ __webpack_require__.d(__webpack_exports__, {
221
+ clickoutside: () => (/* reexport */ clickoutside)
222
+ });
223
+
224
+ // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
225
+
226
+ ;// ../../packages/directives/src/clickoutside.ts
227
+ 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; } } }; }
228
+ 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); }
229
+ 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; }
230
+ /*
231
+ * Tencent is pleased to support the open source community by making
232
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
233
+ *
234
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
235
+ *
236
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
237
+ *
238
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
239
+ *
240
+ * ---------------------------------------------------
241
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
242
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
243
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
244
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
245
+ *
246
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
247
+ * the Software.
248
+ *
249
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
250
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
251
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
252
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
253
+ * IN THE SOFTWARE.
254
+ */
255
+ var isElement = function isElement(e) {
256
+ if (typeof Element === 'undefined') return false;
257
+ return e instanceof Element;
258
+ };
259
+ var nodeList = new Map();
260
+ var startClick;
261
+ document.addEventListener('mousedown', function (e) {
262
+ return startClick = e;
263
+ });
264
+ document.addEventListener('mouseup', function (e) {
265
+ var _iterator = _createForOfIteratorHelper(nodeList.values()),
266
+ _step;
267
+ try {
268
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
269
+ var handlers = _step.value;
270
+ var _iterator2 = _createForOfIteratorHelper(handlers),
271
+ _step2;
272
+ try {
273
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
274
+ var documentHandler = _step2.value.documentHandler;
275
+ documentHandler(e, startClick);
276
+ }
277
+ } catch (err) {
278
+ _iterator2.e(err);
279
+ } finally {
280
+ _iterator2.f();
281
+ }
282
+ }
283
+ } catch (err) {
284
+ _iterator.e(err);
285
+ } finally {
286
+ _iterator.f();
287
+ }
288
+ });
289
+ function createDocumentHandler(el, binding) {
290
+ var excludes = [];
291
+ if (Array.isArray(binding.arg)) {
292
+ excludes = binding.arg;
293
+ } else if (isElement(binding.arg)) {
294
+ excludes.push(binding.arg);
295
+ }
296
+ return function (mouseup, mousedown) {
297
+ var popperRef = binding.instance.popperRef;
298
+ var mouseUpTarget = mouseup.target;
299
+ var mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
300
+ var isBound = !binding || !binding.instance;
301
+ var isTargetExists = !mouseUpTarget || !mouseDownTarget;
302
+ var isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
303
+ var isSelf = el === mouseUpTarget;
304
+ var isTargetExcluded = excludes.length && excludes.some(function (item) {
305
+ return item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget);
306
+ }) || excludes.length && excludes.includes(mouseDownTarget);
307
+ var isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
308
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
309
+ return;
310
+ }
311
+ binding.value(mouseup, mousedown);
312
+ };
313
+ }
314
+ var ClickOutside = {
315
+ beforeMount: function beforeMount(el, binding) {
316
+ if (!nodeList.has(el)) {
317
+ nodeList.set(el, []);
318
+ }
319
+ nodeList.get(el).push({
320
+ documentHandler: createDocumentHandler(el, binding),
321
+ bindingFn: binding.value
322
+ });
323
+ },
324
+ updated: function updated(el, binding) {
325
+ if (!nodeList.has(el)) {
326
+ nodeList.set(el, []);
327
+ }
328
+ var handlers = nodeList.get(el);
329
+ var oldHandlerIndex = handlers.findIndex(function (item) {
330
+ return item.bindingFn === binding.oldValue;
331
+ });
332
+ var newHandler = {
333
+ documentHandler: createDocumentHandler(el, binding),
334
+ bindingFn: binding.value
335
+ };
336
+ if (oldHandlerIndex >= 0) {
337
+ // replace the old handler to the new handler
338
+ handlers.splice(oldHandlerIndex, 1, newHandler);
339
+ } else {
340
+ handlers.push(newHandler);
341
+ }
342
+ },
343
+ unmounted: function unmounted(el) {
344
+ // remove all listeners when a component unmounted
345
+ nodeList["delete"](el);
346
+ }
347
+ };
348
+ ClickOutside.install = function (app) {
349
+ app.directive('bkTooltips', ClickOutside);
350
+ };
351
+ /* harmony default export */ const clickoutside = (ClickOutside);
352
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
353
+ var esm_typeof = __webpack_require__(7545);
354
+ ;// external "../plugin-popover"
355
+ var x = (y) => {
356
+ var x = {}; __webpack_require__.d(x, y); return x
357
+ }
358
+ var y = (x) => (() => (x))
359
+ const plugin_popover_namespaceObject = x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"]) });
360
+ ;// ../../packages/directives/src/ellipsis.ts
361
+
362
+ /*
363
+ * Tencent is pleased to support the open source community by making
364
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
365
+ *
366
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
367
+ *
368
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
369
+ *
370
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
371
+ *
372
+ * ---------------------------------------------------
373
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
374
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
375
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
376
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
377
+ *
378
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
379
+ * the Software.
380
+ *
381
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
382
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
383
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
384
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
385
+ * IN THE SOFTWARE.
386
+ */
387
+
388
+ var resolveOptions = function resolveOptions(el, binding) {
389
+ var options = {
390
+ content: '',
391
+ target: el
392
+ };
393
+ if ((0,esm_typeof["default"])(binding) === 'object') {
394
+ Object.assign(options, binding);
395
+ if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
396
+ Object.assign(options, binding.popoverOption);
397
+ }
398
+ } else {
399
+ options.content = binding;
400
+ }
401
+ return options;
402
+ };
403
+ var createInstance = function createInstance(el, binding) {
404
+ var instance = null;
405
+ var createTimer = null;
406
+ var hidePopTimer = null;
407
+ var options = resolveOptions(el, binding);
408
+ var disabled = options.disabled;
409
+ if (disabled || instance) {
410
+ return;
411
+ }
412
+ var handleContentEnter = function handleContentEnter() {
413
+ hidePopTimer && clearTimeout(hidePopTimer);
414
+ hidePopTimer = null;
415
+ };
416
+ var handleContentLeave = function handleContentLeave() {
417
+ var _instance, _instance2;
418
+ if (createTimer) {
419
+ clearTimeout(createTimer);
420
+ }
421
+ (_instance = instance) === null || _instance === void 0 || _instance.hide();
422
+ (_instance2 = instance) === null || _instance2 === void 0 || _instance2.close();
423
+ instance = null;
424
+ };
425
+ var handleMouseEnter = function handleMouseEnter() {
426
+ handleContentLeave();
427
+ createTimer && clearTimeout(createTimer);
428
+ createTimer = setTimeout(function () {
429
+ var targetOptions = resolveOptions(el, binding);
430
+ targetOptions.isShow = true;
431
+ targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.innerText;
432
+ targetOptions.allowHtml = true;
433
+ Object.assign(targetOptions, {
434
+ onContentMouseenter: handleContentEnter,
435
+ onContentMouseleave: handleContentLeave
436
+ });
437
+ instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
438
+ }, 300);
439
+ };
440
+ var handleMouseLeave = function handleMouseLeave() {
441
+ hidePopTimer = setTimeout(function () {
442
+ var _instance3, _instance4;
443
+ if (createTimer) {
444
+ clearTimeout(createTimer);
445
+ }
446
+ (_instance3 = instance) === null || _instance3 === void 0 || _instance3.hide();
447
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.close();
448
+ instance = null;
449
+ }, 120);
450
+ };
451
+ el.addEventListener('mouseenter', handleMouseEnter);
452
+ el.addEventListener('mouseleave', handleMouseLeave);
453
+ var destroyInstance = function destroyInstance(element) {
454
+ var _ref, _ref2;
455
+ handleMouseLeave();
456
+ (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 || _ref.removeEventListener('mouseenter', handleMouseEnter);
457
+ (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 || _ref2.removeEventListener('mouseleave', handleMouseLeave);
458
+ };
459
+ return {
460
+ destroyInstance: destroyInstance,
461
+ instance: instance
462
+ };
463
+ };
464
+ var ellipsis = {
465
+ mounted: function mounted(el, binding) {
466
+ createInstance(el, binding);
467
+ }
468
+ };
469
+ /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
470
+ // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
471
+ var normalize_wheel = __webpack_require__(8283);
472
+ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
473
+ ;// ../../packages/directives/src/mousewheel.ts
474
+ /*
475
+ * Tencent is pleased to support the open source community by making
476
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
477
+ *
478
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
479
+ *
480
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
481
+ *
482
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
483
+ *
484
+ * ---------------------------------------------------
485
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
486
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
487
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
488
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
489
+ *
490
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
491
+ * the Software.
492
+ *
493
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
494
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
495
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
496
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
497
+ * IN THE SOFTWARE.
498
+ */
499
+
500
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
501
+ var mousewheelHandler = function mousewheelHandler(element, callback) {
502
+ if (element !== null && element !== void 0 && element.addEventListener) {
503
+ element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
504
+ var normalized = normalize_wheel_default()(e);
505
+ callback === null || callback === void 0 || callback.apply(this, [e, normalized]);
506
+ });
507
+ }
508
+ };
509
+ var mousewheel = {
510
+ beforeMount: function beforeMount(el, binding) {
511
+ mousewheelHandler(el, binding.value);
512
+ }
513
+ };
514
+ /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
515
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
516
+ var defineProperty = __webpack_require__(4586);
517
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
518
+ var toConsumableArray = __webpack_require__(5153);
519
+ // EXTERNAL MODULE: external "vue"
520
+ var external_vue_ = __webpack_require__(5286);
521
+ // EXTERNAL MODULE: external "../shared"
522
+ var shared_ = __webpack_require__(5166);
523
+ ;// external "@popperjs/core"
524
+ var core_x = (y) => {
525
+ var x = {}; __webpack_require__.d(x, y); return x
526
+ }
527
+ var core_y = (x) => (() => (x))
528
+ const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
529
+ ;// ../../packages/directives/src/tooltips.ts
530
+
531
+
532
+
533
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
534
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
535
+ /*
536
+ * Tencent is pleased to support the open source community by making
537
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
538
+ *
539
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
540
+ *
541
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
542
+ *
543
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
544
+ *
545
+ * ---------------------------------------------------
546
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
547
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
548
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
549
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
550
+ *
551
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
552
+ * the Software.
553
+ *
554
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
555
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
556
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
557
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
558
+ * IN THE SOFTWARE.
559
+ */
560
+
561
+
562
+
563
+ var tooltips_nodeList = new WeakMap();
564
+ var tooltips = {
565
+ beforeMount: function beforeMount(el, binding) {
566
+ var opts = getOpts(binding);
567
+ var trigger = opts.trigger,
568
+ showOnInit = opts.showOnInit;
569
+ var popper = renderContent(opts);
570
+ var delayTimeout = null;
571
+ if (showOnInit) {
572
+ (0,external_vue_.nextTick)(function () {
573
+ show(el);
574
+ });
575
+ }
576
+ if (trigger === 'hover') {
577
+ var hideTimeout = null;
578
+ el.addEventListener('mouseenter', function () {
579
+ delayTimeout = setTimeout(function () {
580
+ show(el);
581
+ clearTimeout(hideTimeout);
582
+ clearTimeout(delayTimeout);
583
+ }, opts.delay);
584
+ });
585
+ popper.addEventListener('mouseenter', function () {
586
+ clearTimeout(hideTimeout);
587
+ });
588
+ el.addEventListener('mouseleave', function () {
589
+ clearTimeout(delayTimeout);
590
+ hideTimeout = setTimeout(function () {
591
+ hide(el);
592
+ }, 100);
593
+ });
594
+ el.addEventListener('click', function () {
595
+ hide(el);
596
+ });
597
+ popper.addEventListener('mouseleave', function () {
598
+ clearTimeout(delayTimeout);
599
+ hideTimeout = setTimeout(function () {
600
+ hide(el);
601
+ }, 100);
602
+ });
603
+ } else if (trigger === 'click') {
604
+ document.body.addEventListener('click', function (event) {
605
+ if (el.contains(event.target) && !popper.hasAttribute('data-show')) {
606
+ delayTimeout = setTimeout(function () {
607
+ show(el);
608
+ clearTimeout(delayTimeout);
609
+ }, opts.delay);
610
+ } else if (popper.hasAttribute('data-show')) {
611
+ hide(el);
612
+ }
613
+ });
614
+ }
615
+ tooltips_nodeList.set(el, {
616
+ opts: opts,
617
+ popper: popper,
618
+ popperInstance: null
619
+ });
620
+ },
621
+ updated: function updated(el, binding) {
622
+ if (tooltips_nodeList.get(el)) {
623
+ tooltips_nodeList.get(el).opts = getOpts(binding);
624
+ }
625
+ },
626
+ unmounted: function unmounted(el) {
627
+ hide(el);
628
+ tooltips_nodeList["delete"](el);
629
+ }
630
+ };
631
+ /**
632
+ * 初始化配置
633
+ * @returns tooltips配置
634
+ */
635
+ function initOptions() {
636
+ var defaultOpts = {
637
+ arrow: true,
638
+ disabled: false,
639
+ trigger: 'hover',
640
+ theme: 'dark',
641
+ content: '',
642
+ showOnInit: false,
643
+ placement: 'top',
644
+ distance: 8,
645
+ extCls: '',
646
+ sameWidth: false,
647
+ delay: 0,
648
+ onShow: function onShow() {},
649
+ onHide: function onHide() {}
650
+ };
651
+ return defaultOpts;
652
+ }
653
+ /**
654
+ * 获取配置
655
+ * @returns tooltips配置
656
+ */
657
+ function getOpts(binding) {
658
+ var opts = initOptions();
659
+ if ((0,esm_typeof["default"])(binding.value) === 'object') {
660
+ Object.assign(opts, binding.value);
661
+ } else {
662
+ opts.content = binding.value;
663
+ }
664
+ return opts;
665
+ }
666
+ /**
667
+ * 创建tooltips DOM
668
+ * @param opts
669
+ * @returns
670
+ */
671
+ function renderContext(value, content) {
672
+ if (typeof value === 'string') {
673
+ content.innerText = value;
674
+ } else {
675
+ // 如果 content 是 Vue 组件的实例,则挂载它
676
+ var container = document.createElement('div');
677
+ var vnode = (0,external_vue_.h)(value);
678
+ (0,external_vue_.render)(vnode, container);
679
+ content.innerHTML = container.innerHTML;
680
+ }
681
+ }
682
+ function renderContent(opts) {
683
+ var value = opts.content,
684
+ hasArrow = opts.arrow,
685
+ theme = opts.theme,
686
+ extCls = opts.extCls;
687
+ var isLight = theme === 'light';
688
+ var zIndex = shared_.bkZIndexManager.getPopperIndex();
689
+ var content = document.createElement('div');
690
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
691
+ content.className = "".concat((0,shared_.resolveClassName)('popper', prefix), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
692
+ content.innerText = value;
693
+ content.style.zIndex = String(zIndex);
694
+ renderContext(value, content);
695
+ if (hasArrow) {
696
+ var arrow = renderArrow();
697
+ content.appendChild(arrow);
698
+ }
699
+ return content;
700
+ }
701
+ /**
702
+ * 渲染箭头dom
703
+ * @returns arrow DOM
704
+ */
705
+ function renderArrow() {
706
+ var arrow = document.createElement('div');
707
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
708
+ arrow.className = (0,shared_.resolveClassName)('popper-arrow', prefix);
709
+ arrow.setAttribute('data-popper-arrow', '');
710
+ return arrow;
711
+ }
712
+ /**
713
+ * 创建popper实例
714
+ * @param el
715
+ * @param popper
716
+ * @returns popper实例
717
+ */
718
+ function createPopperInstance(el, popper) {
719
+ var _nodeList$get = tooltips_nodeList.get(el),
720
+ opts = _nodeList$get.opts;
721
+ var placement = opts.placement,
722
+ distance = opts.distance,
723
+ sameWidth = opts.sameWidth;
724
+ var popperInstance = (0,core_namespaceObject.createPopper)(el, popper, {
725
+ placement: placement,
726
+ modifiers: [{
727
+ name: 'offset',
728
+ options: {
729
+ offset: [0, distance]
730
+ }
731
+ }, {
732
+ name: 'arrow',
733
+ options: {
734
+ padding: 5
735
+ }
736
+ }].concat((0,toConsumableArray["default"])(sameWidth ? [{
737
+ name: 'sameWidth',
738
+ enabled: true,
739
+ phase: 'beforeWrite',
740
+ requires: ['computeStyles'],
741
+ fn: function fn(_ref) {
742
+ var state = _ref.state;
743
+ state.styles.popper.width = "".concat(state.rects.reference.width, "px");
744
+ },
745
+ effect: function effect(_ref2) {
746
+ var state = _ref2.state;
747
+ state.elements.popper.style.overflowWrap = 'break-word';
748
+ state.elements.popper.style.width = "".concat(state.elements.reference.offsetWidth, "px");
749
+ }
750
+ }] : []))
751
+ });
752
+ return popperInstance;
753
+ }
754
+ /**
755
+ * 显示
756
+ * @param el
757
+ */
758
+ function show(el) {
759
+ var _nodeList$get2 = tooltips_nodeList.get(el),
760
+ popper = _nodeList$get2.popper,
761
+ opts = _nodeList$get2.opts;
762
+ var disabled = opts.disabled,
763
+ content = opts.content,
764
+ hasArrow = opts.arrow,
765
+ onShow = opts.onShow,
766
+ boundary = opts.boundary,
767
+ _opts$modifiers = opts.modifiers,
768
+ modifiers = _opts$modifiers === void 0 ? [] : _opts$modifiers;
769
+ if (disabled) return;
770
+ renderContext(content, popper);
771
+ if (hasArrow) {
772
+ var arrow = renderArrow();
773
+ popper.appendChild(arrow);
774
+ }
775
+ var container = document.body;
776
+ if (boundary) {
777
+ if (boundary === 'parent') {
778
+ container = el.parentElement;
779
+ } else if (boundary instanceof HTMLElement) {
780
+ container = boundary;
781
+ }
782
+ }
783
+ container.appendChild(popper);
784
+ var popperInstance = createPopperInstance(el, popper);
785
+ onShow();
786
+ // Make the tooltip visible
787
+ popper.setAttribute('data-show', '');
788
+ // Enable the event listeners
789
+ popperInstance.setOptions(function (options) {
790
+ return _objectSpread(_objectSpread({}, options), {}, {
791
+ modifiers: [].concat((0,toConsumableArray["default"])(options.modifiers), (0,toConsumableArray["default"])(modifiers), [{
792
+ name: 'eventListeners',
793
+ enabled: true
794
+ }])
795
+ });
796
+ });
797
+ // Update its position
798
+ popperInstance.forceUpdate();
799
+ tooltips_nodeList.get(el).popperInstance = popperInstance;
800
+ }
801
+ /**
802
+ * 隐藏
803
+ * @param el
804
+ */
805
+ function hide(el) {
806
+ if (!tooltips_nodeList.get(el)) return;
807
+ var _nodeList$get3 = tooltips_nodeList.get(el),
808
+ popper = _nodeList$get3.popper,
809
+ popperInstance = _nodeList$get3.popperInstance,
810
+ opts = _nodeList$get3.opts;
811
+ var onHide = opts.onHide;
812
+ if (popper && document.body.contains(popper)) {
813
+ var _popper$parentNode;
814
+ popper.removeAttribute('data-show');
815
+ popperInstance === null || popperInstance === void 0 || popperInstance.destroy();
816
+ popper === null || popper === void 0 || (_popper$parentNode = popper.parentNode) === null || _popper$parentNode === void 0 || _popper$parentNode.removeChild(popper);
817
+ onHide();
818
+ }
819
+ }
820
+ /* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
821
+ ;// external "../loading"
822
+ var external_loading_x = (y) => {
823
+ var x = {}; __webpack_require__.d(x, y); return x
824
+ }
825
+ var external_loading_y = (x) => (() => (x))
826
+ const external_loading_namespaceObject = external_loading_x({ });
827
+ ;// external "../overflow-title"
828
+ var external_overflow_title_x = (y) => {
829
+ var x = {}; __webpack_require__.d(x, y); return x
830
+ }
831
+ var external_overflow_title_y = (x) => (() => (x))
832
+ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
833
+ ;// ../../packages/directives/src/index.ts
834
+ /*
835
+ * Tencent is pleased to support the open source community by making
836
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
837
+ *
838
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
839
+ *
840
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
841
+ *
842
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
843
+ *
844
+ * ---------------------------------------------------
845
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
846
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
847
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
848
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
849
+ *
850
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
851
+ * the Software.
852
+ *
853
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
854
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
855
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
856
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
857
+ * IN THE SOFTWARE.
858
+ */
859
+
860
+
861
+
862
+
863
+
864
+
865
+ // export { createInstance as bkEllipsisInstance } from './ellipsis';
866
+
867
+ /***/ }),
868
+
869
+ /***/ 5022:
870
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
871
+
872
+ /**
873
+ * Copyright (c) 2015, Facebook, Inc.
874
+ * All rights reserved.
875
+ *
876
+ * This source code is licensed under the BSD-style license found in the
877
+ * LICENSE file in the root directory of this source tree. An additional grant
878
+ * of patent rights can be found in the PATENTS file in the same directory.
879
+ *
880
+ * @providesModule normalizeWheel
881
+ * @typechecks
882
+ */
883
+
884
+
885
+
886
+ var UserAgent_DEPRECATED = __webpack_require__(7416);
887
+
888
+ var isEventSupported = __webpack_require__(2586);
889
+
890
+
891
+ // Reasonable defaults
892
+ var PIXEL_STEP = 10;
893
+ var LINE_HEIGHT = 40;
894
+ var PAGE_HEIGHT = 800;
895
+
896
+ /**
897
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
898
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
899
+ * your questions.
900
+ *
901
+ * If you need to react to the mouse wheel in a predictable way, this code is
902
+ * like your bestest friend. * hugs *
903
+ *
904
+ * As of today, there are 4 DOM event types you can listen to:
905
+ *
906
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
907
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
908
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
909
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
910
+ *
911
+ * So what to do? The is the best:
912
+ *
913
+ * normalizeWheel.getEventType();
914
+ *
915
+ * In your event callback, use this code to get sane interpretation of the
916
+ * deltas. This code will return an object with properties:
917
+ *
918
+ * spinX -- normalized spin speed (use for zoom) - x plane
919
+ * spinY -- " - y plane
920
+ * pixelX -- normalized distance (to pixels) - x plane
921
+ * pixelY -- " - y plane
922
+ *
923
+ * Wheel values are provided by the browser assuming you are using the wheel to
924
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
925
+ * significantly on different platforms and browsers, forgetting that you can
926
+ * scroll at different speeds. Some devices (like trackpads) emit more events
927
+ * at smaller increments with fine granularity, and some emit massive jumps with
928
+ * linear speed or acceleration.
929
+ *
930
+ * This code does its best to normalize the deltas for you:
931
+ *
932
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
933
+ * dragged). This is super useful for zoom support where you want to
934
+ * throw away the chunky scroll steps on the PC and make those equal to
935
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
936
+ * resolve a single slow step on a wheel to 1.
937
+ *
938
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
939
+ * get the crazy differences between browsers, but at least it'll be in
940
+ * pixels!
941
+ *
942
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
943
+ * should translate to positive value zooming IN, negative zooming OUT.
944
+ * This matches the newer 'wheel' event.
945
+ *
946
+ * Why are there spinX, spinY (or pixels)?
947
+ *
948
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
949
+ * with a mouse. It results in side-scrolling in the browser by default.
950
+ *
951
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
952
+ *
953
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
954
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
955
+ * you know.
956
+ *
957
+ * Implementation info:
958
+ *
959
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
960
+ * average mouse:
961
+ *
962
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
963
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
964
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
965
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
966
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
967
+ *
968
+ * On the trackpad:
969
+ *
970
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
971
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
972
+ *
973
+ * On other/older browsers.. it's more complicated as there can be multiple and
974
+ * also missing delta values.
975
+ *
976
+ * The 'wheel' event is more standard:
977
+ *
978
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
979
+ *
980
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
981
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
982
+ * backward compatibility with older events. Those other values help us
983
+ * better normalize spin speed. Example of what the browsers provide:
984
+ *
985
+ * | event.wheelDelta | event.detail
986
+ * ------------------+------------------+--------------
987
+ * Safari v5/OS X | -120 | 0
988
+ * Safari v5/Win7 | -120 | 0
989
+ * Chrome v17/OS X | -120 | 0
990
+ * Chrome v17/Win7 | -120 | 0
991
+ * IE9/Win7 | -120 | undefined
992
+ * Firefox v4/OS X | undefined | 1
993
+ * Firefox v4/Win7 | undefined | 3
994
+ *
995
+ */
996
+ function normalizeWheel(/*object*/ event) /*object*/ {
997
+ var sX = 0, sY = 0, // spinX, spinY
998
+ pX = 0, pY = 0; // pixelX, pixelY
999
+
1000
+ // Legacy
1001
+ if ('detail' in event) { sY = event.detail; }
1002
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1003
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1004
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1005
+
1006
+ // side scrolling on FF with DOMMouseScroll
1007
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1008
+ sX = sY;
1009
+ sY = 0;
1010
+ }
1011
+
1012
+ pX = sX * PIXEL_STEP;
1013
+ pY = sY * PIXEL_STEP;
1014
+
1015
+ if ('deltaY' in event) { pY = event.deltaY; }
1016
+ if ('deltaX' in event) { pX = event.deltaX; }
1017
+
1018
+ if ((pX || pY) && event.deltaMode) {
1019
+ if (event.deltaMode == 1) { // delta in LINE units
1020
+ pX *= LINE_HEIGHT;
1021
+ pY *= LINE_HEIGHT;
1022
+ } else { // delta in PAGE units
1023
+ pX *= PAGE_HEIGHT;
1024
+ pY *= PAGE_HEIGHT;
1025
+ }
1026
+ }
1027
+
1028
+ // Fall-back if spin cannot be determined
1029
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1030
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1031
+
1032
+ return { spinX : sX,
1033
+ spinY : sY,
1034
+ pixelX : pX,
1035
+ pixelY : pY };
1036
+ }
1037
+
1038
+
1039
+ /**
1040
+ * The best combination if you prefer spinX + spinY normalization. It favors
1041
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1042
+ * 'wheel' event, making spin speed determination impossible.
1043
+ */
1044
+ normalizeWheel.getEventType = function() /*string*/ {
1045
+ return (UserAgent_DEPRECATED.firefox())
1046
+ ? 'DOMMouseScroll'
1047
+ : (isEventSupported('wheel'))
1048
+ ? 'wheel'
1049
+ : 'mousewheel';
1050
+ };
1051
+
1052
+ module.exports = normalizeWheel;
1053
+
1054
+
1055
+ /***/ }),
1056
+
1057
+ /***/ 5153:
1058
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1059
+
1060
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1061
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1062
+ /* harmony export */ });
1063
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
1064
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
1065
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
1066
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
1067
+
1068
+
1069
+
1070
+
1071
+ function _toConsumableArray(arr) {
1072
+ 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"])();
1073
+ }
1074
+
1075
+ /***/ }),
1076
+
1077
+ /***/ 5166:
1078
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1079
+
1080
+ var x = (y) => {
1081
+ var x = {}; __webpack_require__.d(x, y); return x
1082
+ }
1083
+ var y = (x) => (() => (x))
1084
+ 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) });
1085
+
1086
+ /***/ }),
1087
+
1088
+ /***/ 5286:
1089
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1090
+
1091
+ var x = (y) => {
1092
+ var x = {}; __webpack_require__.d(x, y); return x
1093
+ }
1094
+ var y = (x) => (() => (x))
1095
+ 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) });
1096
+
1097
+ /***/ }),
1098
+
1099
+ /***/ 6284:
1100
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1101
+
1102
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1103
+ /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1104
+ /* harmony export */ });
1105
+ function _arrayLikeToArray(arr, len) {
1106
+ if (len == null || len > arr.length) len = arr.length;
1107
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1108
+ return arr2;
1109
+ }
1110
+
1111
+ /***/ }),
1112
+
1113
+ /***/ 7416:
1114
+ /***/ ((module) => {
1115
+
1116
+ /**
1117
+ * Copyright 2004-present Facebook. All Rights Reserved.
1118
+ *
1119
+ * @providesModule UserAgent_DEPRECATED
1120
+ */
1121
+
1122
+ /**
1123
+ * Provides entirely client-side User Agent and OS detection. You should prefer
1124
+ * the non-deprecated UserAgent module when possible, which exposes our
1125
+ * authoritative server-side PHP-based detection to the client.
1126
+ *
1127
+ * Usage is straightforward:
1128
+ *
1129
+ * if (UserAgent_DEPRECATED.ie()) {
1130
+ * // IE
1131
+ * }
1132
+ *
1133
+ * You can also do version checks:
1134
+ *
1135
+ * if (UserAgent_DEPRECATED.ie() >= 7) {
1136
+ * // IE7 or better
1137
+ * }
1138
+ *
1139
+ * The browser functions will return NaN if the browser does not match, so
1140
+ * you can also do version compares the other way:
1141
+ *
1142
+ * if (UserAgent_DEPRECATED.ie() < 7) {
1143
+ * // IE6 or worse
1144
+ * }
1145
+ *
1146
+ * Note that the version is a float and may include a minor version number,
1147
+ * so you should always use range operators to perform comparisons, not
1148
+ * strict equality.
1149
+ *
1150
+ * **Note:** You should **strongly** prefer capability detection to browser
1151
+ * version detection where it's reasonable:
1152
+ *
1153
+ * http://www.quirksmode.org/js/support.html
1154
+ *
1155
+ * Further, we have a large number of mature wrapper functions and classes
1156
+ * which abstract away many browser irregularities. Check the documentation,
1157
+ * grep for things, or ask on javascript@lists.facebook.com before writing yet
1158
+ * another copy of "event || window.event".
1159
+ *
1160
+ */
1161
+
1162
+ var _populated = false;
1163
+
1164
+ // Browsers
1165
+ var _ie, _firefox, _opera, _webkit, _chrome;
1166
+
1167
+ // Actual IE browser for compatibility mode
1168
+ var _ie_real_version;
1169
+
1170
+ // Platforms
1171
+ var _osx, _windows, _linux, _android;
1172
+
1173
+ // Architectures
1174
+ var _win64;
1175
+
1176
+ // Devices
1177
+ var _iphone, _ipad, _native;
1178
+
1179
+ var _mobile;
1180
+
1181
+ function _populate() {
1182
+ if (_populated) {
1183
+ return;
1184
+ }
1185
+
1186
+ _populated = true;
1187
+
1188
+ // To work around buggy JS libraries that can't handle multi-digit
1189
+ // version numbers, Opera 10's user agent string claims it's Opera
1190
+ // 9, then later includes a Version/X.Y field:
1191
+ //
1192
+ // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
1193
+ var uas = navigator.userAgent;
1194
+ var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
1195
+ var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
1196
+
1197
+ _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
1198
+ _ipad = /\b(iP[ao]d)/.exec(uas);
1199
+ _android = /Android/i.exec(uas);
1200
+ _native = /FBAN\/\w+;/i.exec(uas);
1201
+ _mobile = /Mobile/i.exec(uas);
1202
+
1203
+ // Note that the IE team blog would have you believe you should be checking
1204
+ // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
1205
+ // from either x64 or ia64; so ultimately, you should just check for Win64
1206
+ // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
1207
+ // Windows will send 'WOW64' instead.
1208
+ _win64 = !!(/Win64/.exec(uas));
1209
+
1210
+ if (agent) {
1211
+ _ie = agent[1] ? parseFloat(agent[1]) : (
1212
+ agent[5] ? parseFloat(agent[5]) : NaN);
1213
+ // IE compatibility mode
1214
+ if (_ie && document && document.documentMode) {
1215
+ _ie = document.documentMode;
1216
+ }
1217
+ // grab the "true" ie version from the trident token if available
1218
+ var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
1219
+ _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
1220
+
1221
+ _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
1222
+ _opera = agent[3] ? parseFloat(agent[3]) : NaN;
1223
+ _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
1224
+ if (_webkit) {
1225
+ // We do not add the regexp to the above test, because it will always
1226
+ // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
1227
+ // the userAgent string.
1228
+ agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
1229
+ _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
1230
+ } else {
1231
+ _chrome = NaN;
1232
+ }
1233
+ } else {
1234
+ _ie = _firefox = _opera = _chrome = _webkit = NaN;
1235
+ }
1236
+
1237
+ if (os) {
1238
+ if (os[1]) {
1239
+ // Detect OS X version. If no version number matches, set _osx to true.
1240
+ // Version examples: 10, 10_6_1, 10.7
1241
+ // Parses version number as a float, taking only first two sets of
1242
+ // digits. If only one set of digits is found, returns just the major
1243
+ // version number.
1244
+ var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
1245
+
1246
+ _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
1247
+ } else {
1248
+ _osx = false;
1249
+ }
1250
+ _windows = !!os[2];
1251
+ _linux = !!os[3];
1252
+ } else {
1253
+ _osx = _windows = _linux = false;
1254
+ }
1255
+ }
1256
+
1257
+ var UserAgent_DEPRECATED = {
1258
+
1259
+ /**
1260
+ * Check if the UA is Internet Explorer.
1261
+ *
1262
+ *
1263
+ * @return float|NaN Version number (if match) or NaN.
1264
+ */
1265
+ ie: function() {
1266
+ return _populate() || _ie;
1267
+ },
1268
+
1269
+ /**
1270
+ * Check if we're in Internet Explorer compatibility mode.
1271
+ *
1272
+ * @return bool true if in compatibility mode, false if
1273
+ * not compatibility mode or not ie
1274
+ */
1275
+ ieCompatibilityMode: function() {
1276
+ return _populate() || (_ie_real_version > _ie);
1277
+ },
1278
+
1279
+
1280
+ /**
1281
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
1282
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
1283
+ * this when we don't need it -- tracked by #601957.
1284
+ */
1285
+ ie64: function() {
1286
+ return UserAgent_DEPRECATED.ie() && _win64;
1287
+ },
1288
+
1289
+ /**
1290
+ * Check if the UA is Firefox.
1291
+ *
1292
+ *
1293
+ * @return float|NaN Version number (if match) or NaN.
1294
+ */
1295
+ firefox: function() {
1296
+ return _populate() || _firefox;
1297
+ },
1298
+
1299
+
1300
+ /**
1301
+ * Check if the UA is Opera.
1302
+ *
1303
+ *
1304
+ * @return float|NaN Version number (if match) or NaN.
1305
+ */
1306
+ opera: function() {
1307
+ return _populate() || _opera;
1308
+ },
1309
+
1310
+
1311
+ /**
1312
+ * Check if the UA is WebKit.
1313
+ *
1314
+ *
1315
+ * @return float|NaN Version number (if match) or NaN.
1316
+ */
1317
+ webkit: function() {
1318
+ return _populate() || _webkit;
1319
+ },
1320
+
1321
+ /**
1322
+ * For Push
1323
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
1324
+ */
1325
+ safari: function() {
1326
+ return UserAgent_DEPRECATED.webkit();
1327
+ },
1328
+
1329
+ /**
1330
+ * Check if the UA is a Chrome browser.
1331
+ *
1332
+ *
1333
+ * @return float|NaN Version number (if match) or NaN.
1334
+ */
1335
+ chrome : function() {
1336
+ return _populate() || _chrome;
1337
+ },
1338
+
1339
+
1340
+ /**
1341
+ * Check if the user is running Windows.
1342
+ *
1343
+ * @return bool `true' if the user's OS is Windows.
1344
+ */
1345
+ windows: function() {
1346
+ return _populate() || _windows;
1347
+ },
1348
+
1349
+
1350
+ /**
1351
+ * Check if the user is running Mac OS X.
1352
+ *
1353
+ * @return float|bool Returns a float if a version number is detected,
1354
+ * otherwise true/false.
1355
+ */
1356
+ osx: function() {
1357
+ return _populate() || _osx;
1358
+ },
1359
+
1360
+ /**
1361
+ * Check if the user is running Linux.
1362
+ *
1363
+ * @return bool `true' if the user's OS is some flavor of Linux.
1364
+ */
1365
+ linux: function() {
1366
+ return _populate() || _linux;
1367
+ },
1368
+
1369
+ /**
1370
+ * Check if the user is running on an iPhone or iPod platform.
1371
+ *
1372
+ * @return bool `true' if the user is running some flavor of the
1373
+ * iPhone OS.
1374
+ */
1375
+ iphone: function() {
1376
+ return _populate() || _iphone;
1377
+ },
1378
+
1379
+ mobile: function() {
1380
+ return _populate() || (_iphone || _ipad || _android || _mobile);
1381
+ },
1382
+
1383
+ nativeApp: function() {
1384
+ // webviews inside of the native apps
1385
+ return _populate() || _native;
1386
+ },
1387
+
1388
+ android: function() {
1389
+ return _populate() || _android;
1390
+ },
1391
+
1392
+ ipad: function() {
1393
+ return _populate() || _ipad;
1394
+ }
1395
+ };
1396
+
1397
+ module.exports = UserAgent_DEPRECATED;
1398
+
1399
+
1400
+ /***/ }),
1401
+
1402
+ /***/ 7545:
1403
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1404
+
1405
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1406
+ /* harmony export */ "default": () => (/* binding */ _typeof)
1407
+ /* harmony export */ });
1408
+ function _typeof(o) {
1409
+ "@babel/helpers - typeof";
1410
+
1411
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1412
+ return typeof o;
1413
+ } : function (o) {
1414
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1415
+ }, _typeof(o);
1416
+ }
1417
+
1418
+ /***/ }),
1419
+
1420
+ /***/ 7985:
1421
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1422
+
1423
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1424
+ /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1425
+ /* harmony export */ });
1426
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
1427
+
1428
+ function _unsupportedIterableToArray(o, minLen) {
1429
+ if (!o) return;
1430
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1431
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1432
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1433
+ if (n === "Map" || n === "Set") return Array.from(o);
1434
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1435
+ }
1436
+
1437
+ /***/ }),
1438
+
1439
+ /***/ 8283:
1440
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1441
+
1442
+ module.exports = __webpack_require__(5022);
1443
+
1444
+
1445
+ /***/ }),
1446
+
1447
+ /***/ 9824:
1448
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1449
+
1450
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1451
+ /* harmony export */ "default": () => (/* binding */ toPrimitive)
1452
+ /* harmony export */ });
1453
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
1454
+
1455
+ function toPrimitive(t, r) {
1456
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
1457
+ var e = t[Symbol.toPrimitive];
1458
+ if (void 0 !== e) {
1459
+ var i = e.call(t, r || "default");
1460
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
1461
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1462
+ }
1463
+ return ("string" === r ? String : Number)(t);
1464
+ }
1465
+
1466
+ /***/ })
1467
+
1468
+ /******/ });
1469
+ /************************************************************************/
1470
+ /******/ // The module cache
1471
+ /******/ var __webpack_module_cache__ = {};
1472
+ /******/
1473
+ /******/ // The require function
1474
+ /******/ function __webpack_require__(moduleId) {
1475
+ /******/ // Check if module is in cache
1476
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1477
+ /******/ if (cachedModule !== undefined) {
1478
+ /******/ return cachedModule.exports;
1479
+ /******/ }
1480
+ /******/ // Create a new module (and put it into the cache)
1481
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1482
+ /******/ // no module.id needed
1483
+ /******/ // no module.loaded needed
1484
+ /******/ exports: {}
1485
+ /******/ };
1486
+ /******/
1487
+ /******/ // Execute the module function
1488
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1489
+ /******/
1490
+ /******/ // Return the exports of the module
1491
+ /******/ return module.exports;
1492
+ /******/ }
11
1493
  /******/
12
1494
  /************************************************************************/
1495
+ /******/ /* webpack/runtime/compat get default export */
1496
+ /******/ (() => {
1497
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1498
+ /******/ __webpack_require__.n = (module) => {
1499
+ /******/ var getter = module && module.__esModule ?
1500
+ /******/ () => (module['default']) :
1501
+ /******/ () => (module);
1502
+ /******/ __webpack_require__.d(getter, { a: getter });
1503
+ /******/ return getter;
1504
+ /******/ };
1505
+ /******/ })();
1506
+ /******/
13
1507
  /******/ /* webpack/runtime/define property getters */
14
1508
  /******/ (() => {
15
1509
  /******/ // define getter functions for harmony exports
@@ -32,88 +1526,51 @@ var __webpack_exports__ = {};
32
1526
 
33
1527
  // EXPORTS
34
1528
  __webpack_require__.d(__webpack_exports__, {
35
- "default": () => (/* binding */ src)
1529
+ "default": () => (/* binding */ color_picker_src)
36
1530
  });
37
1531
 
38
- ;// CONCATENATED MODULE: external "../shared"
39
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
40
- var y = x => () => x
41
- const shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover, ["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, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
42
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
43
- function _typeof(o) {
44
- "@babel/helpers - typeof";
45
-
46
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
47
- return typeof o;
48
- } : function (o) {
49
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
50
- }, _typeof(o);
51
- }
52
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
53
-
54
- function toPrimitive(t, r) {
55
- if ("object" != _typeof(t) || !t) return t;
56
- var e = t[Symbol.toPrimitive];
57
- if (void 0 !== e) {
58
- var i = e.call(t, r || "default");
59
- if ("object" != _typeof(i)) return i;
60
- throw new TypeError("@@toPrimitive must return a primitive value.");
61
- }
62
- return ("string" === r ? String : Number)(t);
63
- }
64
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
65
-
66
-
67
- function toPropertyKey(t) {
68
- var i = toPrimitive(t, "string");
69
- return "symbol" == _typeof(i) ? i : String(i);
70
- }
71
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
72
-
73
- function _defineProperty(obj, key, value) {
74
- key = toPropertyKey(key);
75
- if (key in obj) {
76
- Object.defineProperty(obj, key, {
77
- value: value,
78
- enumerable: true,
79
- configurable: true,
80
- writable: true
81
- });
82
- } else {
83
- obj[key] = value;
84
- }
85
- return obj;
86
- }
87
- ;// CONCATENATED MODULE: external "vue"
88
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
89
- var external_vue_y = x => () => x
90
- const external_vue_namespaceObject = external_vue_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, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
91
- ;// CONCATENATED MODULE: external "vue-types"
92
- var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
93
- var external_vue_types_y = x => () => x
94
- const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
95
- ;// CONCATENATED MODULE: external "../config-provider"
96
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
97
- var config_provider_y = x => () => x
98
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
99
- ;// CONCATENATED MODULE: external "../directives"
100
- var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
101
- var directives_y = x => () => x
102
- const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
103
- ;// CONCATENATED MODULE: external "../icon"
104
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
105
- var icon_y = x => () => x
106
- const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp });
107
- ;// CONCATENATED MODULE: ../../node_modules/tinycolor2/esm/tinycolor.js
1532
+ // EXTERNAL MODULE: external "../shared"
1533
+ var shared_ = __webpack_require__(5166);
1534
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1535
+ var defineProperty = __webpack_require__(4586);
1536
+ // EXTERNAL MODULE: external "vue"
1537
+ var external_vue_ = __webpack_require__(5286);
1538
+ ;// external "vue-types"
1539
+ var x = (y) => {
1540
+ var x = {}; __webpack_require__.d(x, y); return x
1541
+ }
1542
+ var y = (x) => (() => (x))
1543
+ const external_vue_types_namespaceObject = x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
1544
+ ;// external "../config-provider"
1545
+ var config_provider_x = (y) => {
1546
+ var x = {}; __webpack_require__.d(x, y); return x
1547
+ }
1548
+ var config_provider_y = (x) => (() => (x))
1549
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
1550
+ ;// external "../date-picker"
1551
+ var date_picker_x = (y) => {
1552
+ var x = {}; __webpack_require__.d(x, y); return x
1553
+ }
1554
+ var date_picker_y = (x) => (() => (x))
1555
+ const date_picker_namespaceObject = date_picker_x({ ["PickerDropdown"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__.PickerDropdown) });
1556
+ // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 8 modules
1557
+ var src = __webpack_require__(4923);
1558
+ ;// external "../icon"
1559
+ var icon_x = (y) => {
1560
+ var x = {}; __webpack_require__.d(x, y); return x
1561
+ }
1562
+ var icon_y = (x) => (() => (x))
1563
+ const icon_namespaceObject = icon_x({ ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp) });
1564
+ ;// ../../node_modules/tinycolor2/esm/tinycolor.js
108
1565
  // This file is autogenerated. It's used to publish ESM to npm.
109
- function tinycolor_typeof(obj) {
1566
+ function _typeof(obj) {
110
1567
  "@babel/helpers - typeof";
111
1568
 
112
- return tinycolor_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1569
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
113
1570
  return typeof obj;
114
1571
  } : function (obj) {
115
1572
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
116
- }, tinycolor_typeof(obj);
1573
+ }, _typeof(obj);
117
1574
  }
118
1575
 
119
1576
  // https://github.com/bgrins/TinyColor
@@ -377,7 +1834,7 @@ tinycolor.prototype = {
377
1834
  // If input is an object, force 1 into "1.0" to handle ratios properly
378
1835
  // String input requires "1.0" as input, so 1 will be treated as 1
379
1836
  tinycolor.fromRatio = function (color, opts) {
380
- if (tinycolor_typeof(color) == "object") {
1837
+ if (_typeof(color) == "object") {
381
1838
  var newColor = {};
382
1839
  for (var i in color) {
383
1840
  if (color.hasOwnProperty(i)) {
@@ -423,7 +1880,7 @@ function inputToRGB(color) {
423
1880
  if (typeof color == "string") {
424
1881
  color = stringInputToObject(color);
425
1882
  }
426
- if (tinycolor_typeof(color) == "object") {
1883
+ if (_typeof(color) == "object") {
427
1884
  if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
428
1885
  rgb = rgbToRgb(color.r, color.g, color.b);
429
1886
  ok = true;
@@ -1286,258 +2743,7 @@ function validateWCAG2Parms(parms) {
1286
2743
 
1287
2744
 
1288
2745
 
1289
- ;// CONCATENATED MODULE: ../../packages/date-picker/src/base/picker-dropdown.tsx
1290
-
1291
-
1292
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1293
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1294
- /*
1295
- * Tencent is pleased to support the open source community by making
1296
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1297
- *
1298
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1299
- *
1300
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1301
- *
1302
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1303
- *
1304
- * ---------------------------------------------------
1305
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1306
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1307
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1308
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1309
- *
1310
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1311
- * the Software.
1312
- *
1313
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1314
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1315
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1316
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1317
- * IN THE SOFTWARE.
1318
- */
1319
-
1320
-
1321
-
1322
- var pickerDropdownProps = {
1323
- placement: {
1324
- type: String,
1325
- "default": 'bottom-start',
1326
- validator: function validator(value) {
1327
- var validList = ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end'];
1328
- if (validList.indexOf(value) < 0) {
1329
- console.error("placement property is not valid: '".concat(value, "'"));
1330
- return false;
1331
- }
1332
- return true;
1333
- }
1334
- },
1335
- className: {
1336
- type: String
1337
- },
1338
- extPopoverCls: {
1339
- type: String
1340
- },
1341
- appendToBody: {
1342
- type: Boolean
1343
- },
1344
- triggerRef: {
1345
- type: Object
1346
- },
1347
- onClick: Function
1348
- };
1349
- /* harmony default export */ const picker_dropdown = ((0,external_vue_namespaceObject.defineComponent)({
1350
- props: pickerDropdownProps,
1351
- emits: ['changeVisible'],
1352
- setup: function setup(props, _ref) {
1353
- var emit = _ref.emit;
1354
- var popoverInstance = Object.create(null);
1355
- var refContentRef = (0,external_vue_namespaceObject.ref)(null);
1356
- (0,external_vue_namespaceObject.onMounted)(function () {
1357
- updateDropdown();
1358
- });
1359
- (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
1360
- destoryDropdown();
1361
- });
1362
- // const resetTransformOrigin = (state) => {
1363
- // if (popoverInstance && Object.keys(popoverInstance).length !== 0) {
1364
- // const dataPopperPlacement = state.attributes.popper['data-popper-placement'] as string;
1365
- // const arr = dataPopperPlacement.split('-');
1366
- // const placementStart = arr[0];
1367
- // const placementEnd = arr[1];
1368
- // const leftOrRight = dataPopperPlacement === 'left' || dataPopperPlacement === 'right';
1369
- // if (!leftOrRight) {
1370
- // state.styles.popper.transformOrigin = placementStart === 'bottom'
1371
- // || (placementStart !== 'top' && placementEnd === 'start')
1372
- // ? 'center top'
1373
- // : 'center bottom';
1374
- // }
1375
- // }
1376
- // };
1377
- var forceUpdate = function forceUpdate() {
1378
- if (popoverInstance) {
1379
- var _popoverInstance, _popoverInstance$forc;
1380
- (_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 || _popoverInstance$forc.call(_popoverInstance);
1381
- }
1382
- };
1383
- var destoryDropdown = function destoryDropdown() {
1384
- if (popoverInstance && Object.keys(popoverInstance).length !== 0) {
1385
- var instance = popoverInstance;
1386
- instance.isShow && instance.hide();
1387
- instance.destroy();
1388
- popoverInstance = null;
1389
- emit('changeVisible', false);
1390
- }
1391
- };
1392
- // const transforms = {
1393
- // top: 'bottom center',
1394
- // 'top-start': 'bottom left',
1395
- // 'top-end': 'bottom right',
1396
- // bottom: 'top center',
1397
- // 'bottom-start': 'top left',
1398
- // 'bottom-end': 'top right',
1399
- // left: 'right center',
1400
- // 'left-start': 'right top',
1401
- // 'left-end': 'right bottom',
1402
- // right: 'left center',
1403
- // 'right-start': 'left top',
1404
- // 'right-end': 'left bottom',
1405
- // };
1406
- // const toTransformOrigin = (placement: Placement) => transforms[placement];
1407
- // const toVar = (value: string, fallback?: string) => ({
1408
- // var: value,
1409
- // varRef: fallback ? `var(${value}, ${fallback})` : `var(${value})`,
1410
- // });
1411
- // const cssVars = {
1412
- // arrowShadowColor: toVar('--popper-arrow-shadow-color'),
1413
- // arrowSize: toVar('--popper-arrow-size', '8px'),
1414
- // arrowSizeHalf: toVar('--popper-arrow-size-half'),
1415
- // arrowBg: toVar('--popper-arrow-bg'),
1416
- // transformOrigin: toVar('--popper-transform-origin'),
1417
- // arrowOffset: toVar('--popper-arrow-offset'),
1418
- // } as const;
1419
- // const setTransformOrigin = (state: State) => {
1420
- // state.elements.popper.style.setProperty(
1421
- // cssVars.transformOrigin.var,
1422
- // toTransformOrigin(state.placement),
1423
- // );
1424
- // };
1425
- // const transformOrigin: Modifier<'transformOrigin', any> = {
1426
- // name: 'transformOrigin',
1427
- // enabled: true,
1428
- // phase: 'write',
1429
- // fn: ({ state }) => {
1430
- // setTransformOrigin(state);
1431
- // },
1432
- // effect: ({ state }) => () => {
1433
- // setTransformOrigin(state);
1434
- // },
1435
- // };
1436
- // const matchWidth: Modifier<'matchWidth', any> = {
1437
- // name: 'matchWidth',
1438
- // enabled: true,
1439
- // phase: 'beforeWrite',
1440
- // requires: ['computeStyles'],
1441
- // fn: ({ state }) => {
1442
- // state.styles.popper.width = `${state.rects.reference.width + 1}px`;
1443
- // },
1444
- // effect: ({ state }) => () => {
1445
- // const reference = state.elements.reference as HTMLElement;
1446
- // state.elements.popper.style.width = `${reference.offsetWidth}px`;
1447
- // },
1448
- // };
1449
- var updateDropdown = function updateDropdown() {
1450
- if (popoverInstance && Object.keys(popoverInstance).length !== 0) {
1451
- (0,external_vue_namespaceObject.nextTick)(function () {
1452
- popoverInstance.update();
1453
- });
1454
- } else {
1455
- (0,external_vue_namespaceObject.nextTick)(function () {
1456
- popoverInstance = new shared_namespaceObject.BKPopover(props.triggerRef, refContentRef.value, {
1457
- placement: props.placement,
1458
- trigger: 'manual',
1459
- modifiers: [
1460
- // matchWidth,
1461
- // transformOrigin,
1462
- {
1463
- name: 'computeStyles',
1464
- options: {
1465
- adaptive: false,
1466
- gpuAcceleration: false
1467
- }
1468
- }, {
1469
- name: 'offset',
1470
- options: {
1471
- offset: [0, 4]
1472
- }
1473
- }
1474
- // {
1475
- // name: 'preventOverflow',
1476
- // options: {
1477
- // // boundariesElement: 'window',
1478
- // padding: {
1479
- // top: 2,
1480
- // bottom: 2,
1481
- // left: 5,
1482
- // right: 5,
1483
- // },
1484
- // },
1485
- // },
1486
- // {
1487
- // name: 'flip',
1488
- // options: {
1489
- // padding: 5,
1490
- // rootBoundary: 'document',
1491
- // },
1492
- // },
1493
- // {
1494
- // name: 'onUpdate',
1495
- // enabled: true,
1496
- // phase: 'afterWrite',
1497
- // fn({ state }) {
1498
- // resetTransformOrigin(state);
1499
- // },
1500
- // },
1501
- ]
1502
- // onFirstUpdate: () => {
1503
- // resetTransformOrigin(popoverInstance.instance.state);
1504
- // },
1505
- });
1506
- // popoverInstance.update();
1507
- });
1508
- }
1509
- };
1510
- var styles = (0,external_vue_namespaceObject.computed)(function () {
1511
- var style = {};
1512
- if (props.appendToBody) {
1513
- style['z-index'] = 1060 + shared_namespaceObject.bkZIndexManager.getModalNextIndex();
1514
- }
1515
- return style;
1516
- });
1517
- var state = (0,external_vue_namespaceObject.reactive)({
1518
- styles: styles
1519
- });
1520
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1521
- resolveClassName = _usePrefix.resolveClassName;
1522
- return _objectSpread(_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
1523
- refContentRef: refContentRef,
1524
- forceUpdate: forceUpdate,
1525
- updateDropdown: updateDropdown,
1526
- destoryDropdown: destoryDropdown,
1527
- resolveClassName: resolveClassName
1528
- });
1529
- },
1530
- render: function render() {
1531
- var _this$$slots$default, _this$$slots$default2, _this$$slots;
1532
- return (0,external_vue_namespaceObject.createVNode)("div", {
1533
- "ref": "refContentRef",
1534
- "style": this.styles,
1535
- "class": [this.resolveClassName('date-picker-dropdown'), this.className, this.extPopoverCls],
1536
- "onClick": this.onClick
1537
- }, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '']);
1538
- }
1539
- }));
1540
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/input-container.tsx
2746
+ ;// ../../packages/color-picker/src/components/input-container.tsx
1541
2747
 
1542
2748
  /*
1543
2749
  * Tencent is pleased to support the open source community by making
@@ -1568,9 +2774,9 @@ var pickerDropdownProps = {
1568
2774
 
1569
2775
 
1570
2776
  var inputContainerProps = {
1571
- info: shared_namespaceObject.PropTypes.object.isRequired
2777
+ info: shared_.PropTypes.object.isRequired
1572
2778
  };
1573
- /* harmony default export */ const input_container = ((0,external_vue_namespaceObject.defineComponent)({
2779
+ /* harmony default export */ const input_container = ((0,external_vue_.defineComponent)({
1574
2780
  props: inputContainerProps,
1575
2781
  emits: ['tab', 'input'],
1576
2782
  setup: function setup(props, _ref) {
@@ -1587,27 +2793,27 @@ var inputContainerProps = {
1587
2793
  };
1588
2794
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1589
2795
  resolveClassName = _usePrefix.resolveClassName;
1590
- var colorPickerCls = (0,external_vue_namespaceObject.computed)(function () {
1591
- return (0,shared_namespaceObject.classes)({
2796
+ var colorPickerCls = (0,external_vue_.computed)(function () {
2797
+ return (0,shared_.classes)({
1592
2798
  error: props.info.error
1593
2799
  }, "".concat(resolveClassName('color-picker-input-value')));
1594
2800
  });
1595
2801
  return function () {
1596
- return (0,external_vue_namespaceObject.createVNode)("div", {
2802
+ return (0,external_vue_.createVNode)("div", {
1597
2803
  "class": "".concat(resolveClassName('color-picker-input-part'))
1598
- }, [(0,external_vue_namespaceObject.createVNode)("input", {
2804
+ }, [(0,external_vue_.createVNode)("input", {
1599
2805
  "class": colorPickerCls.value,
1600
2806
  "type": props.info.name === 'HEX' ? 'text' : 'number',
1601
2807
  "value": props.info.value,
1602
2808
  "onInput": handleInput,
1603
2809
  "onKeydown": handleTab
1604
- }, null), (0,external_vue_namespaceObject.createVNode)("span", {
2810
+ }, null), (0,external_vue_.createVNode)("span", {
1605
2811
  "class": "".concat(resolveClassName('color-picker-input-text'))
1606
2812
  }, [props.info.name])]);
1607
2813
  };
1608
2814
  }
1609
2815
  }));
1610
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/color-input.tsx
2816
+ ;// ../../packages/color-picker/src/components/color-input.tsx
1611
2817
 
1612
2818
  /*
1613
2819
  * Tencent is pleased to support the open source community by making
@@ -1640,45 +2846,45 @@ var inputContainerProps = {
1640
2846
 
1641
2847
 
1642
2848
  var colorPickerProps = {
1643
- colorObj: shared_namespaceObject.PropTypes.object.isRequired
2849
+ colorObj: shared_.PropTypes.object.isRequired
1644
2850
  };
1645
- /* harmony default export */ const color_input = ((0,external_vue_namespaceObject.defineComponent)({
2851
+ /* harmony default export */ const color_input = ((0,external_vue_.defineComponent)({
1646
2852
  name: 'ColorPicker',
1647
2853
  props: colorPickerProps,
1648
2854
  emits: ['change', 'tab'],
1649
2855
  setup: function setup(props, _ref) {
1650
2856
  var emit = _ref.emit;
1651
- var hex = (0,external_vue_namespaceObject.reactive)({
2857
+ var hex = (0,external_vue_.reactive)({
1652
2858
  key: 'hex',
1653
2859
  name: 'HEX',
1654
2860
  value: props.colorObj.hex,
1655
2861
  error: false
1656
2862
  });
1657
- var r = (0,external_vue_namespaceObject.reactive)({
2863
+ var r = (0,external_vue_.reactive)({
1658
2864
  key: 'r',
1659
2865
  name: 'R',
1660
2866
  value: props.colorObj.rgba.r.toString(),
1661
2867
  error: false
1662
2868
  });
1663
- var g = (0,external_vue_namespaceObject.reactive)({
2869
+ var g = (0,external_vue_.reactive)({
1664
2870
  key: 'g',
1665
2871
  name: 'G',
1666
2872
  value: props.colorObj.rgba.g.toString(),
1667
2873
  error: false
1668
2874
  });
1669
- var b = (0,external_vue_namespaceObject.reactive)({
2875
+ var b = (0,external_vue_.reactive)({
1670
2876
  key: 'b',
1671
2877
  name: 'B',
1672
2878
  value: props.colorObj.rgba.b.toString(),
1673
2879
  error: false
1674
2880
  });
1675
- var a = (0,external_vue_namespaceObject.reactive)({
2881
+ var a = (0,external_vue_.reactive)({
1676
2882
  key: 'a',
1677
2883
  name: 'Alpha',
1678
2884
  value: props.colorObj.rgba.a.toString(),
1679
2885
  error: false
1680
2886
  });
1681
- (0,external_vue_namespaceObject.watch)(function () {
2887
+ (0,external_vue_.watch)(function () {
1682
2888
  return props.colorObj;
1683
2889
  }, function (val) {
1684
2890
  if (tinycolor(val.hex).toString() !== tinycolor(hex.value).toString()) {
@@ -1750,25 +2956,25 @@ var colorPickerProps = {
1750
2956
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1751
2957
  resolveClassName = _usePrefix.resolveClassName;
1752
2958
  return function () {
1753
- return (0,external_vue_namespaceObject.createVNode)("div", {
2959
+ return (0,external_vue_.createVNode)("div", {
1754
2960
  "class": "".concat(resolveClassName('color-picker-input'))
1755
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
2961
+ }, [(0,external_vue_.createVNode)("div", {
1756
2962
  "class": "".concat(resolveClassName('color-picker-input-hex'))
1757
- }, [(0,external_vue_namespaceObject.createVNode)(input_container, {
2963
+ }, [(0,external_vue_.createVNode)(input_container, {
1758
2964
  "info": hex,
1759
2965
  "onInput": handleInput
1760
- }, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
2966
+ }, null)]), (0,external_vue_.createVNode)("div", {
1761
2967
  "class": "".concat(resolveClassName('color-picker-input-rgba'))
1762
- }, [(0,external_vue_namespaceObject.createVNode)(input_container, {
2968
+ }, [(0,external_vue_.createVNode)(input_container, {
1763
2969
  "info": r,
1764
2970
  "onInput": handleInput
1765
- }, null), (0,external_vue_namespaceObject.createVNode)(input_container, {
2971
+ }, null), (0,external_vue_.createVNode)(input_container, {
1766
2972
  "info": g,
1767
2973
  "onInput": handleInput
1768
- }, null), (0,external_vue_namespaceObject.createVNode)(input_container, {
2974
+ }, null), (0,external_vue_.createVNode)(input_container, {
1769
2975
  "info": b,
1770
2976
  "onInput": handleInput
1771
- }, null), (0,external_vue_namespaceObject.createVNode)(input_container, {
2977
+ }, null), (0,external_vue_.createVNode)(input_container, {
1772
2978
  "info": a,
1773
2979
  "onInput": handleInput,
1774
2980
  "onTab": handleAlphaTab
@@ -1776,7 +2982,7 @@ var colorPickerProps = {
1776
2982
  };
1777
2983
  }
1778
2984
  }));
1779
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/utils.ts
2985
+ ;// ../../packages/color-picker/src/utils.ts
1780
2986
  /*
1781
2987
  * Tencent is pleased to support the open source community by making
1782
2988
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1882,7 +3088,7 @@ var toRGBAString = function toRGBAString(rgba) {
1882
3088
  a = rgba.a;
1883
3089
  return "rgba(".concat([r, g, b, a].join(','), ")");
1884
3090
  };
1885
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/hue-slider.tsx
3091
+ ;// ../../packages/color-picker/src/components/hue-slider.tsx
1886
3092
 
1887
3093
  /*
1888
3094
  * Tencent is pleased to support the open source community by making
@@ -1914,16 +3120,16 @@ var toRGBAString = function toRGBAString(rgba) {
1914
3120
 
1915
3121
 
1916
3122
  var hue_slider_colorPickerProps = {
1917
- colorObj: shared_namespaceObject.PropTypes.object.isRequired
3123
+ colorObj: shared_.PropTypes.object.isRequired
1918
3124
  };
1919
- /* harmony default export */ const hue_slider = ((0,external_vue_namespaceObject.defineComponent)({
3125
+ /* harmony default export */ const hue_slider = ((0,external_vue_.defineComponent)({
1920
3126
  name: 'ColorPicker',
1921
3127
  props: hue_slider_colorPickerProps,
1922
3128
  emits: ['change'],
1923
3129
  setup: function setup(props, _ref) {
1924
3130
  var emit = _ref.emit;
1925
- var containerRef = (0,external_vue_namespaceObject.ref)(null);
1926
- var pointerStyle = (0,external_vue_namespaceObject.computed)(function () {
3131
+ var containerRef = (0,external_vue_.ref)(null);
3132
+ var pointerStyle = (0,external_vue_.computed)(function () {
1927
3133
  return {
1928
3134
  left: "".concat(props.colorObj.hsv.h / 360 * 100, "%")
1929
3135
  };
@@ -2001,7 +3207,7 @@ var hue_slider_colorPickerProps = {
2001
3207
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2002
3208
  resolveClassName = _usePrefix.resolveClassName;
2003
3209
  return function () {
2004
- return (0,external_vue_namespaceObject.createVNode)("div", {
3210
+ return (0,external_vue_.createVNode)("div", {
2005
3211
  "ref": containerRef,
2006
3212
  "class": "".concat(resolveClassName('color-picker-hue')),
2007
3213
  "tabindex": "0",
@@ -2011,16 +3217,16 @@ var hue_slider_colorPickerProps = {
2011
3217
  e.preventDefault();
2012
3218
  handleMouseDown(e);
2013
3219
  }
2014
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3220
+ }, [(0,external_vue_.createVNode)("div", {
2015
3221
  "style": pointerStyle.value,
2016
3222
  "class": "".concat(resolveClassName('color-picker-hue-pointer'))
2017
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3223
+ }, [(0,external_vue_.createVNode)("div", {
2018
3224
  "class": "".concat(resolveClassName('color-picker-hue-rectangle'))
2019
3225
  }, null)])]);
2020
3226
  };
2021
3227
  }
2022
3228
  }));
2023
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/recommend-colors.tsx
3229
+ ;// ../../packages/color-picker/src/components/recommend-colors.tsx
2024
3230
 
2025
3231
 
2026
3232
  /*
@@ -2054,21 +3260,21 @@ var hue_slider_colorPickerProps = {
2054
3260
 
2055
3261
 
2056
3262
  var recommend_colors_colorPickerProps = {
2057
- colorObj: shared_namespaceObject.PropTypes.object.isRequired,
2058
- recommend: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.array.def(function () {
3263
+ colorObj: shared_.PropTypes.object.isRequired,
3264
+ recommend: shared_.PropTypes.oneOfType([shared_.PropTypes.array.def(function () {
2059
3265
  return [];
2060
- }), shared_namespaceObject.PropTypes.bool.def(true)]).isRequired,
2061
- recommendEmpty: shared_namespaceObject.PropTypes.bool.def(true)
3266
+ }), shared_.PropTypes.bool.def(true)]).isRequired,
3267
+ recommendEmpty: shared_.PropTypes.bool.def(true)
2062
3268
  };
2063
- /* harmony default export */ const recommend_colors = ((0,external_vue_namespaceObject.defineComponent)({
3269
+ /* harmony default export */ const recommend_colors = ((0,external_vue_.defineComponent)({
2064
3270
  props: recommend_colors_colorPickerProps,
2065
3271
  emits: ['change', 'tab'],
2066
3272
  setup: function setup(props, _ref) {
2067
3273
  var emit = _ref.emit;
2068
- var isFocused = (0,external_vue_namespaceObject.ref)(false);
2069
- var selectedIndex = (0,external_vue_namespaceObject.ref)(-1);
2070
- var selectedColor = (0,external_vue_namespaceObject.ref)(null);
2071
- (0,external_vue_namespaceObject.watch)(function () {
3274
+ var isFocused = (0,external_vue_.ref)(false);
3275
+ var selectedIndex = (0,external_vue_.ref)(-1);
3276
+ var selectedColor = (0,external_vue_.ref)(null);
3277
+ (0,external_vue_.watch)(function () {
2072
3278
  return props.colorObj;
2073
3279
  }, function () {
2074
3280
  // 每次在外部修改颜色后预设面板都会取消预设选择的样式,即便预设和当前色一样
@@ -2078,13 +3284,13 @@ var recommend_colors_colorPickerProps = {
2078
3284
  }, {
2079
3285
  deep: true
2080
3286
  });
2081
- var colors = (0,external_vue_namespaceObject.computed)(function () {
3287
+ var colors = (0,external_vue_.computed)(function () {
2082
3288
  return getColorsFromRecommend(props.recommend);
2083
3289
  });
2084
3290
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2085
3291
  resolveClassName = _usePrefix.resolveClassName;
2086
3292
  var getColorClass = function getColorClass(color, index) {
2087
- return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName('color-picker-empty')), color === ''), "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), "".concat(resolveClassName('color-picker-recommend-color')));
3293
+ return (0,shared_.classes)((0,defineProperty["default"])((0,defineProperty["default"])({}, "".concat(resolveClassName('color-picker-empty')), color === ''), "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), "".concat(resolveClassName('color-picker-recommend-color')));
2088
3294
  };
2089
3295
  var handleKeydown = function handleKeydown(e) {
2090
3296
  if (e.code === 'Tab') {
@@ -2120,7 +3326,7 @@ var recommend_colors_colorPickerProps = {
2120
3326
  var color = colors.value[index];
2121
3327
  emit('change', color);
2122
3328
  // 预设里面修改颜色不重置状态(恢复状态)
2123
- (0,external_vue_namespaceObject.nextTick)(function () {
3329
+ (0,external_vue_.nextTick)(function () {
2124
3330
  selectedIndex.value = index;
2125
3331
  selectedColor.value = color;
2126
3332
  });
@@ -2146,7 +3352,7 @@ var recommend_colors_colorPickerProps = {
2146
3352
  }
2147
3353
  };
2148
3354
  return function () {
2149
- return (0,external_vue_namespaceObject.createVNode)("div", {
3355
+ return (0,external_vue_.createVNode)("div", {
2150
3356
  "class": "".concat(resolveClassName('color-picker-recommend'), " "),
2151
3357
  "tabindex": "0",
2152
3358
  "onBlur": function onBlur() {
@@ -2157,22 +3363,22 @@ var recommend_colors_colorPickerProps = {
2157
3363
  },
2158
3364
  "onKeydown": handleKeydown
2159
3365
  }, [colors.value.map(function (color, index) {
2160
- return (0,external_vue_namespaceObject.createVNode)("div", {
3366
+ return (0,external_vue_.createVNode)("div", {
2161
3367
  "style": "background: ".concat(color || '#fff'),
2162
3368
  "class": getColorClass(color, index),
2163
3369
  "onClick": function onClick() {
2164
3370
  return selectColor(index);
2165
3371
  }
2166
- }, [selectedIndex.value === index ? (0,external_vue_namespaceObject.createVNode)("div", {
3372
+ }, [selectedIndex.value === index ? (0,external_vue_.createVNode)("div", {
2167
3373
  "class": "".concat(resolveClassName('color-picker-pointer'))
2168
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3374
+ }, [(0,external_vue_.createVNode)("div", {
2169
3375
  "class": "".concat(resolveClassName('color-picker-circle'))
2170
3376
  }, null)]) : undefined]);
2171
3377
  })]);
2172
3378
  };
2173
3379
  }
2174
3380
  }));
2175
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/components/saturation-panel.tsx
3381
+ ;// ../../packages/color-picker/src/components/saturation-panel.tsx
2176
3382
 
2177
3383
  /*
2178
3384
  * Tencent is pleased to support the open source community by making
@@ -2204,20 +3410,20 @@ var recommend_colors_colorPickerProps = {
2204
3410
 
2205
3411
 
2206
3412
  var saturation_panel_colorPickerProps = {
2207
- colorObj: shared_namespaceObject.PropTypes.object.isRequired
3413
+ colorObj: shared_.PropTypes.object.isRequired
2208
3414
  };
2209
- /* harmony default export */ const saturation_panel = ((0,external_vue_namespaceObject.defineComponent)({
3415
+ /* harmony default export */ const saturation_panel = ((0,external_vue_.defineComponent)({
2210
3416
  props: saturation_panel_colorPickerProps,
2211
3417
  emits: ['change'],
2212
3418
  setup: function setup(props, _ref) {
2213
3419
  var emit = _ref.emit;
2214
- var containerRef = (0,external_vue_namespaceObject.ref)(null);
2215
- var backgroundStyle = (0,external_vue_namespaceObject.computed)(function () {
3420
+ var containerRef = (0,external_vue_.ref)(null);
3421
+ var backgroundStyle = (0,external_vue_.computed)(function () {
2216
3422
  return {
2217
3423
  background: "hsl(".concat(props.colorObj.hsv.h, ", 100%, 50%)")
2218
3424
  };
2219
3425
  });
2220
- var pointerStyle = (0,external_vue_namespaceObject.computed)(function () {
3426
+ var pointerStyle = (0,external_vue_.computed)(function () {
2221
3427
  return {
2222
3428
  top: "".concat((1 - props.colorObj.hsv.v) * 100, "%"),
2223
3429
  left: "".concat(props.colorObj.hsv.s * 100, "%")
@@ -2301,7 +3507,7 @@ var saturation_panel_colorPickerProps = {
2301
3507
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2302
3508
  resolveClassName = _usePrefix.resolveClassName;
2303
3509
  return function () {
2304
- return (0,external_vue_namespaceObject.createVNode)("div", {
3510
+ return (0,external_vue_.createVNode)("div", {
2305
3511
  "ref": containerRef,
2306
3512
  "style": backgroundStyle.value,
2307
3513
  "class": "".concat(resolveClassName('color-picker-saturation')),
@@ -2311,20 +3517,20 @@ var saturation_panel_colorPickerProps = {
2311
3517
  e.stopPropagation();
2312
3518
  handleMouseDown(e);
2313
3519
  }
2314
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3520
+ }, [(0,external_vue_.createVNode)("div", {
2315
3521
  "class": "".concat(resolveClassName('color-picker-saturation-white'))
2316
- }, null), (0,external_vue_namespaceObject.createVNode)("div", {
3522
+ }, null), (0,external_vue_.createVNode)("div", {
2317
3523
  "class": "".concat(resolveClassName('color-picker-saturation-black'))
2318
- }, null), (0,external_vue_namespaceObject.createVNode)("div", {
3524
+ }, null), (0,external_vue_.createVNode)("div", {
2319
3525
  "style": pointerStyle.value,
2320
3526
  "class": "".concat(resolveClassName('color-picker-pointer'))
2321
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3527
+ }, [(0,external_vue_.createVNode)("div", {
2322
3528
  "class": "".concat(resolveClassName('color-picker-circle'))
2323
3529
  }, null)])]);
2324
3530
  };
2325
3531
  }
2326
3532
  }));
2327
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/color-picker.tsx
3533
+ ;// ../../packages/color-picker/src/color-picker.tsx
2328
3534
 
2329
3535
 
2330
3536
  /*
@@ -2372,65 +3578,65 @@ var ColorPickSizeEnum;
2372
3578
  ColorPickSizeEnum["UNKNOWN"] = "";
2373
3579
  })(ColorPickSizeEnum || (ColorPickSizeEnum = {}));
2374
3580
  var color_picker_colorPickerProps = {
2375
- modelValue: shared_namespaceObject.PropTypes.string.def(''),
2376
- disabled: shared_namespaceObject.PropTypes.bool.def(false),
2377
- readonly: shared_namespaceObject.PropTypes.bool.def(false),
2378
- transfer: shared_namespaceObject.PropTypes.bool.def(false),
3581
+ modelValue: shared_.PropTypes.string.def(''),
3582
+ disabled: shared_.PropTypes.bool.def(false),
3583
+ readonly: shared_.PropTypes.bool.def(false),
3584
+ transfer: shared_.PropTypes.bool.def(false),
2379
3585
  size: (0,external_vue_types_namespaceObject.toType)('colorPickSize', {}).def(ColorPickSizeEnum.UNKNOWN),
2380
- showValue: shared_namespaceObject.PropTypes.bool.def(true),
3586
+ showValue: shared_.PropTypes.bool.def(true),
2381
3587
  // true 展示组件内置预设值
2382
3588
  // false 不展示预设值
2383
3589
  // 数组 自定义预设值
2384
- recommend: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.array.def(function () {
3590
+ recommend: shared_.PropTypes.oneOfType([shared_.PropTypes.array.def(function () {
2385
3591
  return [];
2386
- }), shared_namespaceObject.PropTypes.bool.def(true)]).def(true),
2387
- extCls: shared_namespaceObject.PropTypes.string.def(''),
2388
- withValidate: shared_namespaceObject.PropTypes.bool.def(true),
2389
- recommendEmpty: shared_namespaceObject.PropTypes.bool.def(true),
3592
+ }), shared_.PropTypes.bool.def(true)]).def(true),
3593
+ extCls: shared_.PropTypes.string.def(''),
3594
+ withValidate: shared_.PropTypes.bool.def(true),
3595
+ recommendEmpty: shared_.PropTypes.bool.def(true),
2390
3596
  // 初始化默认展开
2391
- showOnInit: shared_namespaceObject.PropTypes.bool.def(false)
3597
+ showOnInit: shared_.PropTypes.bool.def(false)
2392
3598
  };
2393
3599
  var whiteColorObj = formatColor('#FFFFFF');
2394
- /* harmony default export */ const color_picker = ((0,external_vue_namespaceObject.defineComponent)({
3600
+ /* harmony default export */ const color_picker = ((0,external_vue_.defineComponent)({
2395
3601
  name: 'ColorPicker',
2396
3602
  directives: {
2397
- clickoutside: directives_namespaceObject.clickoutside
3603
+ clickoutside: src.clickoutside
2398
3604
  },
2399
3605
  props: color_picker_colorPickerProps,
2400
3606
  emits: ['update:modelValue', 'change'],
2401
3607
  setup: function setup(props, _ref) {
2402
3608
  var emit = _ref.emit,
2403
3609
  slots = _ref.slots;
2404
- var formItem = (0,shared_namespaceObject.useFormItem)();
2405
- var showDropdown = (0,external_vue_namespaceObject.ref)(false);
3610
+ var formItem = (0,shared_.useFormItem)();
3611
+ var showDropdown = (0,external_vue_.ref)(false);
2406
3612
  // 当前颜色的色值,如果为空字符串显示:默认白色背景 + 中间一个叉
2407
- var colorStr = (0,external_vue_namespaceObject.ref)('');
3613
+ var colorStr = (0,external_vue_.ref)('');
2408
3614
  // 储存当前颜色的相关信息
2409
- var colorObj = (0,external_vue_namespaceObject.reactive)(JSON.parse(JSON.stringify(whiteColorObj)));
2410
- var dropRef = (0,external_vue_namespaceObject.ref)(null);
2411
- var saturationPanelRef = (0,external_vue_namespaceObject.ref)(null);
2412
- var referenceRef = (0,external_vue_namespaceObject.ref)(null);
3615
+ var colorObj = (0,external_vue_.reactive)(JSON.parse(JSON.stringify(whiteColorObj)));
3616
+ var dropRef = (0,external_vue_.ref)(null);
3617
+ var saturationPanelRef = (0,external_vue_.ref)(null);
3618
+ var referenceRef = (0,external_vue_.ref)(null);
2413
3619
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2414
3620
  resolveClassName = _usePrefix.resolveClassName;
2415
- var colorPickerCls = (0,external_vue_namespaceObject.computed)(function () {
2416
- return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), "".concat(resolveClassName('color-picker-show-value')), props.showValue), "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
3621
+ var colorPickerCls = (0,external_vue_.computed)(function () {
3622
+ return (0,shared_.classes)((0,defineProperty["default"])((0,defineProperty["default"])((0,defineProperty["default"])((0,defineProperty["default"])({}, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), "".concat(resolveClassName('color-picker-show-value')), props.showValue), "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
2417
3623
  });
2418
3624
  // 是否渲染预设值
2419
- var isRenderRecommend = (0,external_vue_namespaceObject.computed)(function () {
3625
+ var isRenderRecommend = (0,external_vue_.computed)(function () {
2420
3626
  return Boolean(props.recommend === true || Array.isArray(props.recommend) && props.recommend.length);
2421
3627
  });
2422
- (0,external_vue_namespaceObject.onBeforeMount)(function () {
3628
+ (0,external_vue_.onBeforeMount)(function () {
2423
3629
  // 1. 组件初始化时,如果计算的色值和传入的值不一样,显示计算的色值
2424
3630
  changeColorFromProps({
2425
3631
  isCreated: true
2426
3632
  });
2427
3633
  if (props.showOnInit) {
2428
- (0,external_vue_namespaceObject.nextTick)(function () {
3634
+ (0,external_vue_.nextTick)(function () {
2429
3635
  openDropdown();
2430
3636
  });
2431
3637
  }
2432
3638
  });
2433
- (0,external_vue_namespaceObject.watch)(function () {
3639
+ (0,external_vue_.watch)(function () {
2434
3640
  return props.modelValue;
2435
3641
  }, function () {
2436
3642
  // 2. 如果组件绑定值被外部修改,自动根据绑定至更新组件色值
@@ -2483,7 +3689,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2483
3689
  var closeDropdown = function closeDropdown() {
2484
3690
  if (showDropdown.value) {
2485
3691
  var _dropRef$value2;
2486
- (0,external_vue_namespaceObject.nextTick)(function () {
3692
+ (0,external_vue_.nextTick)(function () {
2487
3693
  return referenceRef.value.focus();
2488
3694
  });
2489
3695
  showDropdown.value = false;
@@ -2570,7 +3776,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2570
3776
  showDropdown.value = false;
2571
3777
  };
2572
3778
  return function () {
2573
- return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
3779
+ return (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("div", {
2574
3780
  "ref": referenceRef,
2575
3781
  "class": colorPickerCls.value,
2576
3782
  "tabindex": "0",
@@ -2579,29 +3785,29 @@ var whiteColorObj = formatColor('#FFFFFF');
2579
3785
  }, [typeof slots.trigger === 'function' ? slots.trigger({
2580
3786
  value: colorStr.value,
2581
3787
  isShowDropdown: showDropdown.value
2582
- }) : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("div", {
3788
+ }) : (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,external_vue_.createVNode)("div", {
2583
3789
  "class": "".concat(resolveClassName('color-picker-color'))
2584
- }, [(0,external_vue_namespaceObject.createVNode)("span", {
3790
+ }, [(0,external_vue_.createVNode)("span", {
2585
3791
  "style": "background: ".concat(colorStr.value || '#FFF'),
2586
3792
  "class": "".concat(resolveClassName('color-picker-color-square'), " ").concat(!colorStr.value && "".concat(resolveClassName('color-picker-empty')))
2587
- }, null)]), props.showValue ? (0,external_vue_namespaceObject.createVNode)("div", {
3793
+ }, null)]), props.showValue ? (0,external_vue_.createVNode)("div", {
2588
3794
  "class": "".concat(resolveClassName('color-picker-text'))
2589
- }, [(0,external_vue_namespaceObject.createVNode)("span", null, [colorStr.value])]) : undefined, (0,external_vue_namespaceObject.createVNode)("div", {
3795
+ }, [(0,external_vue_.createVNode)("span", null, [colorStr.value])]) : undefined, (0,external_vue_.createVNode)("div", {
2590
3796
  "class": "".concat(resolveClassName('color-picker-icon'))
2591
- }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleUp, {
3797
+ }, [(0,external_vue_.createVNode)(icon_namespaceObject.AngleUp, {
2592
3798
  "class": resolveClassName('icon-angle-down')
2593
- }, null)])]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, {
3799
+ }, null)])]), (0,external_vue_.createVNode)(external_vue_.Transition, {
2594
3800
  "name": "bk-fade-down-transition"
2595
3801
  }, {
2596
3802
  "default": function _default() {
2597
- return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(picker_dropdown, {
3803
+ return [(0,external_vue_.withDirectives)((0,external_vue_.createVNode)(date_picker_namespaceObject.PickerDropdown, {
2598
3804
  "ref": dropRef,
2599
3805
  "triggerRef": referenceRef.value
2600
3806
  }, {
2601
3807
  "default": function _default() {
2602
- return [(0,external_vue_namespaceObject.createVNode)("div", {
3808
+ return [(0,external_vue_.createVNode)("div", {
2603
3809
  "class": "".concat(resolveClassName('color-dropdown-container'))
2604
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
3810
+ }, [(0,external_vue_.createVNode)("div", {
2605
3811
  "class": "".concat(resolveClassName('color-picker-dropdown')),
2606
3812
  "onClick": function onClick(e) {
2607
3813
  e.stopPropagation();
@@ -2610,20 +3816,20 @@ var whiteColorObj = formatColor('#FFFFFF');
2610
3816
  "onMousedown": function onMousedown(e) {
2611
3817
  e.stopPropagation();
2612
3818
  }
2613
- }, [(0,external_vue_namespaceObject.createVNode)(saturation_panel, {
3819
+ }, [(0,external_vue_.createVNode)(saturation_panel, {
2614
3820
  "ref": saturationPanelRef,
2615
3821
  "colorObj": colorObj,
2616
3822
  "onChange": handleColorChange
2617
- }, null), (0,external_vue_namespaceObject.createVNode)(hue_slider, {
3823
+ }, null), (0,external_vue_.createVNode)(hue_slider, {
2618
3824
  "colorObj": colorObj,
2619
3825
  "onChange": handleColorChange
2620
- }, null), (0,external_vue_namespaceObject.createVNode)(color_input, {
3826
+ }, null), (0,external_vue_.createVNode)(color_input, {
2621
3827
  "colorObj": colorObj,
2622
3828
  "onChange": handleColorChange,
2623
3829
  "onTab": handleTabInput
2624
- }, null), isRenderRecommend.value ? (0,external_vue_namespaceObject.createVNode)("div", {
3830
+ }, null), isRenderRecommend.value ? (0,external_vue_.createVNode)("div", {
2625
3831
  "class": "".concat(resolveClassName('color-picker-recommend-container'))
2626
- }, [(0,external_vue_namespaceObject.createVNode)(recommend_colors, {
3832
+ }, [(0,external_vue_.createVNode)(recommend_colors, {
2627
3833
  "colorObj": colorObj,
2628
3834
  "recommend": props.recommend,
2629
3835
  "recommendEmpty": props.recommendEmpty,
@@ -2631,13 +3837,13 @@ var whiteColorObj = formatColor('#FFFFFF');
2631
3837
  "onTab": handleTabRecommend
2632
3838
  }, null)]) : undefined])])];
2633
3839
  }
2634
- }), [[external_vue_namespaceObject.vShow, showDropdown.value]])];
3840
+ }), [[external_vue_.vShow, showDropdown.value]])];
2635
3841
  }
2636
- })]), [[(0,external_vue_namespaceObject.resolveDirective)("clickoutside"), hideDropDown]]);
3842
+ })]), [[(0,external_vue_.resolveDirective)("clickoutside"), hideDropDown]]);
2637
3843
  };
2638
3844
  }
2639
3845
  }));
2640
- ;// CONCATENATED MODULE: ../../packages/color-picker/src/index.ts
3846
+ ;// ../../packages/color-picker/src/index.ts
2641
3847
  /*
2642
3848
  * Tencent is pleased to support the open source community by making
2643
3849
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2665,7 +3871,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2665
3871
  */
2666
3872
 
2667
3873
 
2668
- var BkColorPicker = (0,shared_namespaceObject.withInstall)(color_picker);
2669
- /* harmony default export */ const src = (BkColorPicker);
3874
+ var BkColorPicker = (0,shared_.withInstall)(color_picker);
3875
+ /* harmony default export */ const color_picker_src = (BkColorPicker);
2670
3876
  var __webpack_exports__default = __webpack_exports__["default"];
2671
3877
  export { __webpack_exports__default as default };