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
package/lib/form/index.js CHANGED
@@ -1,20 +1,1513 @@
1
1
  import "../styles/reset.css";
2
2
  import "./form.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_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
10
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__ from "lodash/isBoolean";
7
11
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__ from "lodash/isString";
8
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
9
12
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
10
13
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__ from "lodash/get";
11
14
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
12
15
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__ from "lodash/isDate";
13
16
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__ from "lodash/isEmpty";
14
- /******/ // The require scope
15
- /******/ var __webpack_require__ = {};
17
+ /******/ var __webpack_modules__ = ({
18
+
19
+ /***/ 205:
20
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
21
+
22
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
+ /* harmony export */ "default": () => (/* binding */ toPropertyKey)
24
+ /* harmony export */ });
25
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
26
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
27
+
28
+
29
+ function toPropertyKey(t) {
30
+ var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
31
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
32
+ }
33
+
34
+ /***/ }),
35
+
36
+ /***/ 1043:
37
+ /***/ ((module) => {
38
+
39
+ /**
40
+ * Copyright (c) 2015, Facebook, Inc.
41
+ * All rights reserved.
42
+ *
43
+ * This source code is licensed under the BSD-style license found in the
44
+ * LICENSE file in the root directory of this source tree. An additional grant
45
+ * of patent rights can be found in the PATENTS file in the same directory.
46
+ *
47
+ * @providesModule ExecutionEnvironment
48
+ */
49
+
50
+ /*jslint evil: true */
51
+
52
+
53
+
54
+ var canUseDOM = !!(
55
+ typeof window !== 'undefined' &&
56
+ window.document &&
57
+ window.document.createElement
58
+ );
59
+
60
+ /**
61
+ * Simple, lightweight module assisting with the detection and context of
62
+ * Worker. Helps avoid circular dependencies and allows code to reason about
63
+ * whether or not they are in a Worker, even if they never include the main
64
+ * `ReactWorker` dependency.
65
+ */
66
+ var ExecutionEnvironment = {
67
+
68
+ canUseDOM: canUseDOM,
69
+
70
+ canUseWorkers: typeof Worker !== 'undefined',
71
+
72
+ canUseEventListeners:
73
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
74
+
75
+ canUseViewport: canUseDOM && !!window.screen,
76
+
77
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
78
+
79
+ };
80
+
81
+ module.exports = ExecutionEnvironment;
82
+
83
+
84
+ /***/ }),
85
+
86
+ /***/ 2586:
87
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
88
+
89
+ /**
90
+ * Copyright 2013-2015, Facebook, Inc.
91
+ * All rights reserved.
92
+ *
93
+ * This source code is licensed under the BSD-style license found in the
94
+ * LICENSE file in the root directory of this source tree. An additional grant
95
+ * of patent rights can be found in the PATENTS file in the same directory.
96
+ *
97
+ * @providesModule isEventSupported
98
+ */
99
+
100
+
101
+
102
+ var ExecutionEnvironment = __webpack_require__(1043);
103
+
104
+ var useHasFeature;
105
+ if (ExecutionEnvironment.canUseDOM) {
106
+ useHasFeature =
107
+ document.implementation &&
108
+ document.implementation.hasFeature &&
109
+ // always returns true in newer browsers as per the standard.
110
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
111
+ document.implementation.hasFeature('', '') !== true;
112
+ }
113
+
114
+ /**
115
+ * Checks if an event is supported in the current execution environment.
116
+ *
117
+ * NOTE: This will not work correctly for non-generic events such as `change`,
118
+ * `reset`, `load`, `error`, and `select`.
119
+ *
120
+ * Borrows from Modernizr.
121
+ *
122
+ * @param {string} eventNameSuffix Event name, e.g. "click".
123
+ * @param {?boolean} capture Check if the capture phase is supported.
124
+ * @return {boolean} True if the event is supported.
125
+ * @internal
126
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
127
+ */
128
+ function isEventSupported(eventNameSuffix, capture) {
129
+ if (!ExecutionEnvironment.canUseDOM ||
130
+ capture && !('addEventListener' in document)) {
131
+ return false;
132
+ }
133
+
134
+ var eventName = 'on' + eventNameSuffix;
135
+ var isSupported = eventName in document;
136
+
137
+ if (!isSupported) {
138
+ var element = document.createElement('div');
139
+ element.setAttribute(eventName, 'return;');
140
+ isSupported = typeof element[eventName] === 'function';
141
+ }
142
+
143
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
144
+ // This is the only way to test support for the `wheel` event in IE9+.
145
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
146
+ }
147
+
148
+ return isSupported;
149
+ }
150
+
151
+ module.exports = isEventSupported;
152
+
153
+
154
+ /***/ }),
155
+
156
+ /***/ 2880:
157
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
158
+
159
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
160
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
161
+ /* harmony export */ });
162
+ function _nonIterableSpread() {
163
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
164
+ }
165
+
166
+ /***/ }),
167
+
168
+ /***/ 3492:
169
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
170
+
171
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
172
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
173
+ /* harmony export */ });
174
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
175
+
176
+ function _arrayWithoutHoles(arr) {
177
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
178
+ }
179
+
180
+ /***/ }),
181
+
182
+ /***/ 4430:
183
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
184
+
185
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
186
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
187
+ /* harmony export */ });
188
+ function _iterableToArray(iter) {
189
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
190
+ }
191
+
192
+ /***/ }),
193
+
194
+ /***/ 4586:
195
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
196
+
197
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
198
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
199
+ /* harmony export */ });
200
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
201
+
202
+ function _defineProperty(obj, key, value) {
203
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
204
+ if (key in obj) {
205
+ Object.defineProperty(obj, key, {
206
+ value: value,
207
+ enumerable: true,
208
+ configurable: true,
209
+ writable: true
210
+ });
211
+ } else {
212
+ obj[key] = value;
213
+ }
214
+ return obj;
215
+ }
216
+
217
+ /***/ }),
218
+
219
+ /***/ 4923:
220
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
221
+
222
+
223
+ // EXPORTS
224
+ __webpack_require__.d(__webpack_exports__, {
225
+ bkTooltips: () => (/* reexport */ src_tooltips)
226
+ });
227
+
228
+ // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
229
+
230
+ ;// ../../packages/directives/src/clickoutside.ts
231
+ 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; } } }; }
232
+ 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); }
233
+ 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; }
234
+ /*
235
+ * Tencent is pleased to support the open source community by making
236
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
237
+ *
238
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
239
+ *
240
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
241
+ *
242
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
243
+ *
244
+ * ---------------------------------------------------
245
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
246
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
247
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
248
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
249
+ *
250
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
251
+ * the Software.
252
+ *
253
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
254
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
255
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
256
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
257
+ * IN THE SOFTWARE.
258
+ */
259
+ var isElement = function isElement(e) {
260
+ if (typeof Element === 'undefined') return false;
261
+ return e instanceof Element;
262
+ };
263
+ var nodeList = new Map();
264
+ var startClick;
265
+ document.addEventListener('mousedown', function (e) {
266
+ return startClick = e;
267
+ });
268
+ document.addEventListener('mouseup', function (e) {
269
+ var _iterator = _createForOfIteratorHelper(nodeList.values()),
270
+ _step;
271
+ try {
272
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
273
+ var handlers = _step.value;
274
+ var _iterator2 = _createForOfIteratorHelper(handlers),
275
+ _step2;
276
+ try {
277
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
278
+ var documentHandler = _step2.value.documentHandler;
279
+ documentHandler(e, startClick);
280
+ }
281
+ } catch (err) {
282
+ _iterator2.e(err);
283
+ } finally {
284
+ _iterator2.f();
285
+ }
286
+ }
287
+ } catch (err) {
288
+ _iterator.e(err);
289
+ } finally {
290
+ _iterator.f();
291
+ }
292
+ });
293
+ function createDocumentHandler(el, binding) {
294
+ var excludes = [];
295
+ if (Array.isArray(binding.arg)) {
296
+ excludes = binding.arg;
297
+ } else if (isElement(binding.arg)) {
298
+ excludes.push(binding.arg);
299
+ }
300
+ return function (mouseup, mousedown) {
301
+ var popperRef = binding.instance.popperRef;
302
+ var mouseUpTarget = mouseup.target;
303
+ var mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
304
+ var isBound = !binding || !binding.instance;
305
+ var isTargetExists = !mouseUpTarget || !mouseDownTarget;
306
+ var isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
307
+ var isSelf = el === mouseUpTarget;
308
+ var isTargetExcluded = excludes.length && excludes.some(function (item) {
309
+ return item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget);
310
+ }) || excludes.length && excludes.includes(mouseDownTarget);
311
+ var isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
312
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
313
+ return;
314
+ }
315
+ binding.value(mouseup, mousedown);
316
+ };
317
+ }
318
+ var ClickOutside = {
319
+ beforeMount: function beforeMount(el, binding) {
320
+ if (!nodeList.has(el)) {
321
+ nodeList.set(el, []);
322
+ }
323
+ nodeList.get(el).push({
324
+ documentHandler: createDocumentHandler(el, binding),
325
+ bindingFn: binding.value
326
+ });
327
+ },
328
+ updated: function updated(el, binding) {
329
+ if (!nodeList.has(el)) {
330
+ nodeList.set(el, []);
331
+ }
332
+ var handlers = nodeList.get(el);
333
+ var oldHandlerIndex = handlers.findIndex(function (item) {
334
+ return item.bindingFn === binding.oldValue;
335
+ });
336
+ var newHandler = {
337
+ documentHandler: createDocumentHandler(el, binding),
338
+ bindingFn: binding.value
339
+ };
340
+ if (oldHandlerIndex >= 0) {
341
+ // replace the old handler to the new handler
342
+ handlers.splice(oldHandlerIndex, 1, newHandler);
343
+ } else {
344
+ handlers.push(newHandler);
345
+ }
346
+ },
347
+ unmounted: function unmounted(el) {
348
+ // remove all listeners when a component unmounted
349
+ nodeList["delete"](el);
350
+ }
351
+ };
352
+ ClickOutside.install = function (app) {
353
+ app.directive('bkTooltips', ClickOutside);
354
+ };
355
+ /* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
356
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
357
+ var esm_typeof = __webpack_require__(7545);
358
+ ;// external "../plugin-popover"
359
+ var x = (y) => {
360
+ var x = {}; __webpack_require__.d(x, y); return x
361
+ }
362
+ var y = (x) => (() => (x))
363
+ const plugin_popover_namespaceObject = x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"]) });
364
+ ;// ../../packages/directives/src/ellipsis.ts
365
+
366
+ /*
367
+ * Tencent is pleased to support the open source community by making
368
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
369
+ *
370
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
371
+ *
372
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
373
+ *
374
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
375
+ *
376
+ * ---------------------------------------------------
377
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
378
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
379
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
380
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
381
+ *
382
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
383
+ * the Software.
384
+ *
385
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
386
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
387
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
388
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
389
+ * IN THE SOFTWARE.
390
+ */
391
+
392
+ var resolveOptions = function resolveOptions(el, binding) {
393
+ var options = {
394
+ content: '',
395
+ target: el
396
+ };
397
+ if ((0,esm_typeof["default"])(binding) === 'object') {
398
+ Object.assign(options, binding);
399
+ if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
400
+ Object.assign(options, binding.popoverOption);
401
+ }
402
+ } else {
403
+ options.content = binding;
404
+ }
405
+ return options;
406
+ };
407
+ var createInstance = function createInstance(el, binding) {
408
+ var instance = null;
409
+ var createTimer = null;
410
+ var hidePopTimer = null;
411
+ var options = resolveOptions(el, binding);
412
+ var disabled = options.disabled;
413
+ if (disabled || instance) {
414
+ return;
415
+ }
416
+ var handleContentEnter = function handleContentEnter() {
417
+ hidePopTimer && clearTimeout(hidePopTimer);
418
+ hidePopTimer = null;
419
+ };
420
+ var handleContentLeave = function handleContentLeave() {
421
+ var _instance, _instance2;
422
+ if (createTimer) {
423
+ clearTimeout(createTimer);
424
+ }
425
+ (_instance = instance) === null || _instance === void 0 || _instance.hide();
426
+ (_instance2 = instance) === null || _instance2 === void 0 || _instance2.close();
427
+ instance = null;
428
+ };
429
+ var handleMouseEnter = function handleMouseEnter() {
430
+ handleContentLeave();
431
+ createTimer && clearTimeout(createTimer);
432
+ createTimer = setTimeout(function () {
433
+ var targetOptions = resolveOptions(el, binding);
434
+ targetOptions.isShow = true;
435
+ targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.innerText;
436
+ targetOptions.allowHtml = true;
437
+ Object.assign(targetOptions, {
438
+ onContentMouseenter: handleContentEnter,
439
+ onContentMouseleave: handleContentLeave
440
+ });
441
+ instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
442
+ }, 300);
443
+ };
444
+ var handleMouseLeave = function handleMouseLeave() {
445
+ hidePopTimer = setTimeout(function () {
446
+ var _instance3, _instance4;
447
+ if (createTimer) {
448
+ clearTimeout(createTimer);
449
+ }
450
+ (_instance3 = instance) === null || _instance3 === void 0 || _instance3.hide();
451
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.close();
452
+ instance = null;
453
+ }, 120);
454
+ };
455
+ el.addEventListener('mouseenter', handleMouseEnter);
456
+ el.addEventListener('mouseleave', handleMouseLeave);
457
+ var destroyInstance = function destroyInstance(element) {
458
+ var _ref, _ref2;
459
+ handleMouseLeave();
460
+ (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 || _ref.removeEventListener('mouseenter', handleMouseEnter);
461
+ (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 || _ref2.removeEventListener('mouseleave', handleMouseLeave);
462
+ };
463
+ return {
464
+ destroyInstance: destroyInstance,
465
+ instance: instance
466
+ };
467
+ };
468
+ var ellipsis = {
469
+ mounted: function mounted(el, binding) {
470
+ createInstance(el, binding);
471
+ }
472
+ };
473
+ /* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
474
+ // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
475
+ var normalize_wheel = __webpack_require__(8283);
476
+ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
477
+ ;// ../../packages/directives/src/mousewheel.ts
478
+ /*
479
+ * Tencent is pleased to support the open source community by making
480
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
481
+ *
482
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
483
+ *
484
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
485
+ *
486
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
487
+ *
488
+ * ---------------------------------------------------
489
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
490
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
491
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
492
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
493
+ *
494
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
495
+ * the Software.
496
+ *
497
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
498
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
499
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
500
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
501
+ * IN THE SOFTWARE.
502
+ */
503
+
504
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
505
+ var mousewheelHandler = function mousewheelHandler(element, callback) {
506
+ if (element !== null && element !== void 0 && element.addEventListener) {
507
+ element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
508
+ var normalized = normalize_wheel_default()(e);
509
+ callback === null || callback === void 0 || callback.apply(this, [e, normalized]);
510
+ });
511
+ }
512
+ };
513
+ var mousewheel = {
514
+ beforeMount: function beforeMount(el, binding) {
515
+ mousewheelHandler(el, binding.value);
516
+ }
517
+ };
518
+ /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
519
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
520
+ var defineProperty = __webpack_require__(4586);
521
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
522
+ var toConsumableArray = __webpack_require__(5153);
523
+ // EXTERNAL MODULE: external "vue"
524
+ var external_vue_ = __webpack_require__(5286);
525
+ // EXTERNAL MODULE: external "../shared"
526
+ var shared_ = __webpack_require__(5166);
527
+ ;// external "@popperjs/core"
528
+ var core_x = (y) => {
529
+ var x = {}; __webpack_require__.d(x, y); return x
530
+ }
531
+ var core_y = (x) => (() => (x))
532
+ const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
533
+ ;// ../../packages/directives/src/tooltips.ts
534
+
535
+
536
+
537
+ 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; }
538
+ 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; }
539
+ /*
540
+ * Tencent is pleased to support the open source community by making
541
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
542
+ *
543
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
544
+ *
545
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
546
+ *
547
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
548
+ *
549
+ * ---------------------------------------------------
550
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
551
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
552
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
553
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
554
+ *
555
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
556
+ * the Software.
557
+ *
558
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
559
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
560
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
561
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
562
+ * IN THE SOFTWARE.
563
+ */
564
+
565
+
566
+
567
+ var tooltips_nodeList = new WeakMap();
568
+ var tooltips = {
569
+ beforeMount: function beforeMount(el, binding) {
570
+ var opts = getOpts(binding);
571
+ var trigger = opts.trigger,
572
+ showOnInit = opts.showOnInit;
573
+ var popper = renderContent(opts);
574
+ var delayTimeout = null;
575
+ if (showOnInit) {
576
+ (0,external_vue_.nextTick)(function () {
577
+ show(el);
578
+ });
579
+ }
580
+ if (trigger === 'hover') {
581
+ var hideTimeout = null;
582
+ el.addEventListener('mouseenter', function () {
583
+ delayTimeout = setTimeout(function () {
584
+ show(el);
585
+ clearTimeout(hideTimeout);
586
+ clearTimeout(delayTimeout);
587
+ }, opts.delay);
588
+ });
589
+ popper.addEventListener('mouseenter', function () {
590
+ clearTimeout(hideTimeout);
591
+ });
592
+ el.addEventListener('mouseleave', function () {
593
+ clearTimeout(delayTimeout);
594
+ hideTimeout = setTimeout(function () {
595
+ hide(el);
596
+ }, 100);
597
+ });
598
+ el.addEventListener('click', function () {
599
+ hide(el);
600
+ });
601
+ popper.addEventListener('mouseleave', function () {
602
+ clearTimeout(delayTimeout);
603
+ hideTimeout = setTimeout(function () {
604
+ hide(el);
605
+ }, 100);
606
+ });
607
+ } else if (trigger === 'click') {
608
+ document.body.addEventListener('click', function (event) {
609
+ if (el.contains(event.target) && !popper.hasAttribute('data-show')) {
610
+ delayTimeout = setTimeout(function () {
611
+ show(el);
612
+ clearTimeout(delayTimeout);
613
+ }, opts.delay);
614
+ } else if (popper.hasAttribute('data-show')) {
615
+ hide(el);
616
+ }
617
+ });
618
+ }
619
+ tooltips_nodeList.set(el, {
620
+ opts: opts,
621
+ popper: popper,
622
+ popperInstance: null
623
+ });
624
+ },
625
+ updated: function updated(el, binding) {
626
+ if (tooltips_nodeList.get(el)) {
627
+ tooltips_nodeList.get(el).opts = getOpts(binding);
628
+ }
629
+ },
630
+ unmounted: function unmounted(el) {
631
+ hide(el);
632
+ tooltips_nodeList["delete"](el);
633
+ }
634
+ };
635
+ /**
636
+ * 初始化配置
637
+ * @returns tooltips配置
638
+ */
639
+ function initOptions() {
640
+ var defaultOpts = {
641
+ arrow: true,
642
+ disabled: false,
643
+ trigger: 'hover',
644
+ theme: 'dark',
645
+ content: '',
646
+ showOnInit: false,
647
+ placement: 'top',
648
+ distance: 8,
649
+ extCls: '',
650
+ sameWidth: false,
651
+ delay: 0,
652
+ onShow: function onShow() {},
653
+ onHide: function onHide() {}
654
+ };
655
+ return defaultOpts;
656
+ }
657
+ /**
658
+ * 获取配置
659
+ * @returns tooltips配置
660
+ */
661
+ function getOpts(binding) {
662
+ var opts = initOptions();
663
+ if ((0,esm_typeof["default"])(binding.value) === 'object') {
664
+ Object.assign(opts, binding.value);
665
+ } else {
666
+ opts.content = binding.value;
667
+ }
668
+ return opts;
669
+ }
670
+ /**
671
+ * 创建tooltips DOM
672
+ * @param opts
673
+ * @returns
674
+ */
675
+ function renderContext(value, content) {
676
+ if (typeof value === 'string') {
677
+ content.innerText = value;
678
+ } else {
679
+ // 如果 content 是 Vue 组件的实例,则挂载它
680
+ var container = document.createElement('div');
681
+ var vnode = (0,external_vue_.h)(value);
682
+ (0,external_vue_.render)(vnode, container);
683
+ content.innerHTML = container.innerHTML;
684
+ }
685
+ }
686
+ function renderContent(opts) {
687
+ var value = opts.content,
688
+ hasArrow = opts.arrow,
689
+ theme = opts.theme,
690
+ extCls = opts.extCls;
691
+ var isLight = theme === 'light';
692
+ var zIndex = shared_.bkZIndexManager.getPopperIndex();
693
+ var content = document.createElement('div');
694
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
695
+ content.className = "".concat((0,shared_.resolveClassName)('popper', prefix), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
696
+ content.innerText = value;
697
+ content.style.zIndex = String(zIndex);
698
+ renderContext(value, content);
699
+ if (hasArrow) {
700
+ var arrow = renderArrow();
701
+ content.appendChild(arrow);
702
+ }
703
+ return content;
704
+ }
705
+ /**
706
+ * 渲染箭头dom
707
+ * @returns arrow DOM
708
+ */
709
+ function renderArrow() {
710
+ var arrow = document.createElement('div');
711
+ var prefix = document.documentElement.style.getPropertyValue('--bk-prefix') || 'bk';
712
+ arrow.className = (0,shared_.resolveClassName)('popper-arrow', prefix);
713
+ arrow.setAttribute('data-popper-arrow', '');
714
+ return arrow;
715
+ }
716
+ /**
717
+ * 创建popper实例
718
+ * @param el
719
+ * @param popper
720
+ * @returns popper实例
721
+ */
722
+ function createPopperInstance(el, popper) {
723
+ var _nodeList$get = tooltips_nodeList.get(el),
724
+ opts = _nodeList$get.opts;
725
+ var placement = opts.placement,
726
+ distance = opts.distance,
727
+ sameWidth = opts.sameWidth;
728
+ var popperInstance = (0,core_namespaceObject.createPopper)(el, popper, {
729
+ placement: placement,
730
+ modifiers: [{
731
+ name: 'offset',
732
+ options: {
733
+ offset: [0, distance]
734
+ }
735
+ }, {
736
+ name: 'arrow',
737
+ options: {
738
+ padding: 5
739
+ }
740
+ }].concat((0,toConsumableArray["default"])(sameWidth ? [{
741
+ name: 'sameWidth',
742
+ enabled: true,
743
+ phase: 'beforeWrite',
744
+ requires: ['computeStyles'],
745
+ fn: function fn(_ref) {
746
+ var state = _ref.state;
747
+ state.styles.popper.width = "".concat(state.rects.reference.width, "px");
748
+ },
749
+ effect: function effect(_ref2) {
750
+ var state = _ref2.state;
751
+ state.elements.popper.style.overflowWrap = 'break-word';
752
+ state.elements.popper.style.width = "".concat(state.elements.reference.offsetWidth, "px");
753
+ }
754
+ }] : []))
755
+ });
756
+ return popperInstance;
757
+ }
758
+ /**
759
+ * 显示
760
+ * @param el
761
+ */
762
+ function show(el) {
763
+ var _nodeList$get2 = tooltips_nodeList.get(el),
764
+ popper = _nodeList$get2.popper,
765
+ opts = _nodeList$get2.opts;
766
+ var disabled = opts.disabled,
767
+ content = opts.content,
768
+ hasArrow = opts.arrow,
769
+ onShow = opts.onShow,
770
+ boundary = opts.boundary,
771
+ _opts$modifiers = opts.modifiers,
772
+ modifiers = _opts$modifiers === void 0 ? [] : _opts$modifiers;
773
+ if (disabled) return;
774
+ renderContext(content, popper);
775
+ if (hasArrow) {
776
+ var arrow = renderArrow();
777
+ popper.appendChild(arrow);
778
+ }
779
+ var container = document.body;
780
+ if (boundary) {
781
+ if (boundary === 'parent') {
782
+ container = el.parentElement;
783
+ } else if (boundary instanceof HTMLElement) {
784
+ container = boundary;
785
+ }
786
+ }
787
+ container.appendChild(popper);
788
+ var popperInstance = createPopperInstance(el, popper);
789
+ onShow();
790
+ // Make the tooltip visible
791
+ popper.setAttribute('data-show', '');
792
+ // Enable the event listeners
793
+ popperInstance.setOptions(function (options) {
794
+ return _objectSpread(_objectSpread({}, options), {}, {
795
+ modifiers: [].concat((0,toConsumableArray["default"])(options.modifiers), (0,toConsumableArray["default"])(modifiers), [{
796
+ name: 'eventListeners',
797
+ enabled: true
798
+ }])
799
+ });
800
+ });
801
+ // Update its position
802
+ popperInstance.forceUpdate();
803
+ tooltips_nodeList.get(el).popperInstance = popperInstance;
804
+ }
805
+ /**
806
+ * 隐藏
807
+ * @param el
808
+ */
809
+ function hide(el) {
810
+ if (!tooltips_nodeList.get(el)) return;
811
+ var _nodeList$get3 = tooltips_nodeList.get(el),
812
+ popper = _nodeList$get3.popper,
813
+ popperInstance = _nodeList$get3.popperInstance,
814
+ opts = _nodeList$get3.opts;
815
+ var onHide = opts.onHide;
816
+ if (popper && document.body.contains(popper)) {
817
+ var _popper$parentNode;
818
+ popper.removeAttribute('data-show');
819
+ popperInstance === null || popperInstance === void 0 || popperInstance.destroy();
820
+ popper === null || popper === void 0 || (_popper$parentNode = popper.parentNode) === null || _popper$parentNode === void 0 || _popper$parentNode.removeChild(popper);
821
+ onHide();
822
+ }
823
+ }
824
+ /* harmony default export */ const src_tooltips = (tooltips);
825
+ ;// external "../loading"
826
+ var external_loading_x = (y) => {
827
+ var x = {}; __webpack_require__.d(x, y); return x
828
+ }
829
+ var external_loading_y = (x) => (() => (x))
830
+ const external_loading_namespaceObject = external_loading_x({ });
831
+ ;// external "../overflow-title"
832
+ var external_overflow_title_x = (y) => {
833
+ var x = {}; __webpack_require__.d(x, y); return x
834
+ }
835
+ var external_overflow_title_y = (x) => (() => (x))
836
+ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
837
+ ;// ../../packages/directives/src/index.ts
838
+ /*
839
+ * Tencent is pleased to support the open source community by making
840
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
841
+ *
842
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
843
+ *
844
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
845
+ *
846
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
847
+ *
848
+ * ---------------------------------------------------
849
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
850
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
851
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
852
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
853
+ *
854
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
855
+ * the Software.
856
+ *
857
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
858
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
859
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
860
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
861
+ * IN THE SOFTWARE.
862
+ */
863
+
864
+
865
+
866
+
867
+
868
+
869
+ // export { createInstance as bkEllipsisInstance } from './ellipsis';
870
+
871
+ /***/ }),
872
+
873
+ /***/ 5022:
874
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
875
+
876
+ /**
877
+ * Copyright (c) 2015, Facebook, Inc.
878
+ * All rights reserved.
879
+ *
880
+ * This source code is licensed under the BSD-style license found in the
881
+ * LICENSE file in the root directory of this source tree. An additional grant
882
+ * of patent rights can be found in the PATENTS file in the same directory.
883
+ *
884
+ * @providesModule normalizeWheel
885
+ * @typechecks
886
+ */
887
+
888
+
889
+
890
+ var UserAgent_DEPRECATED = __webpack_require__(7416);
891
+
892
+ var isEventSupported = __webpack_require__(2586);
893
+
894
+
895
+ // Reasonable defaults
896
+ var PIXEL_STEP = 10;
897
+ var LINE_HEIGHT = 40;
898
+ var PAGE_HEIGHT = 800;
899
+
900
+ /**
901
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
902
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
903
+ * your questions.
904
+ *
905
+ * If you need to react to the mouse wheel in a predictable way, this code is
906
+ * like your bestest friend. * hugs *
907
+ *
908
+ * As of today, there are 4 DOM event types you can listen to:
909
+ *
910
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
911
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
912
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
913
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
914
+ *
915
+ * So what to do? The is the best:
916
+ *
917
+ * normalizeWheel.getEventType();
918
+ *
919
+ * In your event callback, use this code to get sane interpretation of the
920
+ * deltas. This code will return an object with properties:
921
+ *
922
+ * spinX -- normalized spin speed (use for zoom) - x plane
923
+ * spinY -- " - y plane
924
+ * pixelX -- normalized distance (to pixels) - x plane
925
+ * pixelY -- " - y plane
926
+ *
927
+ * Wheel values are provided by the browser assuming you are using the wheel to
928
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
929
+ * significantly on different platforms and browsers, forgetting that you can
930
+ * scroll at different speeds. Some devices (like trackpads) emit more events
931
+ * at smaller increments with fine granularity, and some emit massive jumps with
932
+ * linear speed or acceleration.
933
+ *
934
+ * This code does its best to normalize the deltas for you:
935
+ *
936
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
937
+ * dragged). This is super useful for zoom support where you want to
938
+ * throw away the chunky scroll steps on the PC and make those equal to
939
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
940
+ * resolve a single slow step on a wheel to 1.
941
+ *
942
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
943
+ * get the crazy differences between browsers, but at least it'll be in
944
+ * pixels!
945
+ *
946
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
947
+ * should translate to positive value zooming IN, negative zooming OUT.
948
+ * This matches the newer 'wheel' event.
949
+ *
950
+ * Why are there spinX, spinY (or pixels)?
951
+ *
952
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
953
+ * with a mouse. It results in side-scrolling in the browser by default.
954
+ *
955
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
956
+ *
957
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
958
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
959
+ * you know.
960
+ *
961
+ * Implementation info:
962
+ *
963
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
964
+ * average mouse:
965
+ *
966
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
967
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
968
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
969
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
970
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
971
+ *
972
+ * On the trackpad:
973
+ *
974
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
975
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
976
+ *
977
+ * On other/older browsers.. it's more complicated as there can be multiple and
978
+ * also missing delta values.
979
+ *
980
+ * The 'wheel' event is more standard:
981
+ *
982
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
983
+ *
984
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
985
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
986
+ * backward compatibility with older events. Those other values help us
987
+ * better normalize spin speed. Example of what the browsers provide:
988
+ *
989
+ * | event.wheelDelta | event.detail
990
+ * ------------------+------------------+--------------
991
+ * Safari v5/OS X | -120 | 0
992
+ * Safari v5/Win7 | -120 | 0
993
+ * Chrome v17/OS X | -120 | 0
994
+ * Chrome v17/Win7 | -120 | 0
995
+ * IE9/Win7 | -120 | undefined
996
+ * Firefox v4/OS X | undefined | 1
997
+ * Firefox v4/Win7 | undefined | 3
998
+ *
999
+ */
1000
+ function normalizeWheel(/*object*/ event) /*object*/ {
1001
+ var sX = 0, sY = 0, // spinX, spinY
1002
+ pX = 0, pY = 0; // pixelX, pixelY
1003
+
1004
+ // Legacy
1005
+ if ('detail' in event) { sY = event.detail; }
1006
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
1007
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
1008
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
1009
+
1010
+ // side scrolling on FF with DOMMouseScroll
1011
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
1012
+ sX = sY;
1013
+ sY = 0;
1014
+ }
1015
+
1016
+ pX = sX * PIXEL_STEP;
1017
+ pY = sY * PIXEL_STEP;
1018
+
1019
+ if ('deltaY' in event) { pY = event.deltaY; }
1020
+ if ('deltaX' in event) { pX = event.deltaX; }
1021
+
1022
+ if ((pX || pY) && event.deltaMode) {
1023
+ if (event.deltaMode == 1) { // delta in LINE units
1024
+ pX *= LINE_HEIGHT;
1025
+ pY *= LINE_HEIGHT;
1026
+ } else { // delta in PAGE units
1027
+ pX *= PAGE_HEIGHT;
1028
+ pY *= PAGE_HEIGHT;
1029
+ }
1030
+ }
1031
+
1032
+ // Fall-back if spin cannot be determined
1033
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
1034
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
1035
+
1036
+ return { spinX : sX,
1037
+ spinY : sY,
1038
+ pixelX : pX,
1039
+ pixelY : pY };
1040
+ }
1041
+
1042
+
1043
+ /**
1044
+ * The best combination if you prefer spinX + spinY normalization. It favors
1045
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
1046
+ * 'wheel' event, making spin speed determination impossible.
1047
+ */
1048
+ normalizeWheel.getEventType = function() /*string*/ {
1049
+ return (UserAgent_DEPRECATED.firefox())
1050
+ ? 'DOMMouseScroll'
1051
+ : (isEventSupported('wheel'))
1052
+ ? 'wheel'
1053
+ : 'mousewheel';
1054
+ };
1055
+
1056
+ module.exports = normalizeWheel;
1057
+
1058
+
1059
+ /***/ }),
1060
+
1061
+ /***/ 5153:
1062
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1063
+
1064
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1065
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
1066
+ /* harmony export */ });
1067
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
1068
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
1069
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
1070
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
1071
+
1072
+
1073
+
1074
+
1075
+ function _toConsumableArray(arr) {
1076
+ return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
1077
+ }
1078
+
1079
+ /***/ }),
1080
+
1081
+ /***/ 5166:
1082
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1083
+
1084
+ var x = (y) => {
1085
+ var x = {}; __webpack_require__.d(x, y); return x
1086
+ }
1087
+ var y = (x) => (() => (x))
1088
+ module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["formItemKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey), ["formKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useForm"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
1089
+
1090
+ /***/ }),
1091
+
1092
+ /***/ 5286:
1093
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1094
+
1095
+ var x = (y) => {
1096
+ var x = {}; __webpack_require__.d(x, y); return x
1097
+ }
1098
+ var y = (x) => (() => (x))
1099
+ module.exports = x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeUnmount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
1100
+
1101
+ /***/ }),
1102
+
1103
+ /***/ 6284:
1104
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1105
+
1106
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1107
+ /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1108
+ /* harmony export */ });
1109
+ function _arrayLikeToArray(arr, len) {
1110
+ if (len == null || len > arr.length) len = arr.length;
1111
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1112
+ return arr2;
1113
+ }
1114
+
1115
+ /***/ }),
1116
+
1117
+ /***/ 7416:
1118
+ /***/ ((module) => {
1119
+
1120
+ /**
1121
+ * Copyright 2004-present Facebook. All Rights Reserved.
1122
+ *
1123
+ * @providesModule UserAgent_DEPRECATED
1124
+ */
1125
+
1126
+ /**
1127
+ * Provides entirely client-side User Agent and OS detection. You should prefer
1128
+ * the non-deprecated UserAgent module when possible, which exposes our
1129
+ * authoritative server-side PHP-based detection to the client.
1130
+ *
1131
+ * Usage is straightforward:
1132
+ *
1133
+ * if (UserAgent_DEPRECATED.ie()) {
1134
+ * // IE
1135
+ * }
1136
+ *
1137
+ * You can also do version checks:
1138
+ *
1139
+ * if (UserAgent_DEPRECATED.ie() >= 7) {
1140
+ * // IE7 or better
1141
+ * }
1142
+ *
1143
+ * The browser functions will return NaN if the browser does not match, so
1144
+ * you can also do version compares the other way:
1145
+ *
1146
+ * if (UserAgent_DEPRECATED.ie() < 7) {
1147
+ * // IE6 or worse
1148
+ * }
1149
+ *
1150
+ * Note that the version is a float and may include a minor version number,
1151
+ * so you should always use range operators to perform comparisons, not
1152
+ * strict equality.
1153
+ *
1154
+ * **Note:** You should **strongly** prefer capability detection to browser
1155
+ * version detection where it's reasonable:
1156
+ *
1157
+ * http://www.quirksmode.org/js/support.html
1158
+ *
1159
+ * Further, we have a large number of mature wrapper functions and classes
1160
+ * which abstract away many browser irregularities. Check the documentation,
1161
+ * grep for things, or ask on javascript@lists.facebook.com before writing yet
1162
+ * another copy of "event || window.event".
1163
+ *
1164
+ */
1165
+
1166
+ var _populated = false;
1167
+
1168
+ // Browsers
1169
+ var _ie, _firefox, _opera, _webkit, _chrome;
1170
+
1171
+ // Actual IE browser for compatibility mode
1172
+ var _ie_real_version;
1173
+
1174
+ // Platforms
1175
+ var _osx, _windows, _linux, _android;
1176
+
1177
+ // Architectures
1178
+ var _win64;
1179
+
1180
+ // Devices
1181
+ var _iphone, _ipad, _native;
1182
+
1183
+ var _mobile;
1184
+
1185
+ function _populate() {
1186
+ if (_populated) {
1187
+ return;
1188
+ }
1189
+
1190
+ _populated = true;
1191
+
1192
+ // To work around buggy JS libraries that can't handle multi-digit
1193
+ // version numbers, Opera 10's user agent string claims it's Opera
1194
+ // 9, then later includes a Version/X.Y field:
1195
+ //
1196
+ // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
1197
+ var uas = navigator.userAgent;
1198
+ 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);
1199
+ var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
1200
+
1201
+ _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
1202
+ _ipad = /\b(iP[ao]d)/.exec(uas);
1203
+ _android = /Android/i.exec(uas);
1204
+ _native = /FBAN\/\w+;/i.exec(uas);
1205
+ _mobile = /Mobile/i.exec(uas);
1206
+
1207
+ // Note that the IE team blog would have you believe you should be checking
1208
+ // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
1209
+ // from either x64 or ia64; so ultimately, you should just check for Win64
1210
+ // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
1211
+ // Windows will send 'WOW64' instead.
1212
+ _win64 = !!(/Win64/.exec(uas));
1213
+
1214
+ if (agent) {
1215
+ _ie = agent[1] ? parseFloat(agent[1]) : (
1216
+ agent[5] ? parseFloat(agent[5]) : NaN);
1217
+ // IE compatibility mode
1218
+ if (_ie && document && document.documentMode) {
1219
+ _ie = document.documentMode;
1220
+ }
1221
+ // grab the "true" ie version from the trident token if available
1222
+ var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
1223
+ _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
1224
+
1225
+ _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
1226
+ _opera = agent[3] ? parseFloat(agent[3]) : NaN;
1227
+ _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
1228
+ if (_webkit) {
1229
+ // We do not add the regexp to the above test, because it will always
1230
+ // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
1231
+ // the userAgent string.
1232
+ agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
1233
+ _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
1234
+ } else {
1235
+ _chrome = NaN;
1236
+ }
1237
+ } else {
1238
+ _ie = _firefox = _opera = _chrome = _webkit = NaN;
1239
+ }
1240
+
1241
+ if (os) {
1242
+ if (os[1]) {
1243
+ // Detect OS X version. If no version number matches, set _osx to true.
1244
+ // Version examples: 10, 10_6_1, 10.7
1245
+ // Parses version number as a float, taking only first two sets of
1246
+ // digits. If only one set of digits is found, returns just the major
1247
+ // version number.
1248
+ var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
1249
+
1250
+ _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
1251
+ } else {
1252
+ _osx = false;
1253
+ }
1254
+ _windows = !!os[2];
1255
+ _linux = !!os[3];
1256
+ } else {
1257
+ _osx = _windows = _linux = false;
1258
+ }
1259
+ }
1260
+
1261
+ var UserAgent_DEPRECATED = {
1262
+
1263
+ /**
1264
+ * Check if the UA is Internet Explorer.
1265
+ *
1266
+ *
1267
+ * @return float|NaN Version number (if match) or NaN.
1268
+ */
1269
+ ie: function() {
1270
+ return _populate() || _ie;
1271
+ },
1272
+
1273
+ /**
1274
+ * Check if we're in Internet Explorer compatibility mode.
1275
+ *
1276
+ * @return bool true if in compatibility mode, false if
1277
+ * not compatibility mode or not ie
1278
+ */
1279
+ ieCompatibilityMode: function() {
1280
+ return _populate() || (_ie_real_version > _ie);
1281
+ },
1282
+
1283
+
1284
+ /**
1285
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
1286
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
1287
+ * this when we don't need it -- tracked by #601957.
1288
+ */
1289
+ ie64: function() {
1290
+ return UserAgent_DEPRECATED.ie() && _win64;
1291
+ },
1292
+
1293
+ /**
1294
+ * Check if the UA is Firefox.
1295
+ *
1296
+ *
1297
+ * @return float|NaN Version number (if match) or NaN.
1298
+ */
1299
+ firefox: function() {
1300
+ return _populate() || _firefox;
1301
+ },
1302
+
1303
+
1304
+ /**
1305
+ * Check if the UA is Opera.
1306
+ *
1307
+ *
1308
+ * @return float|NaN Version number (if match) or NaN.
1309
+ */
1310
+ opera: function() {
1311
+ return _populate() || _opera;
1312
+ },
1313
+
1314
+
1315
+ /**
1316
+ * Check if the UA is WebKit.
1317
+ *
1318
+ *
1319
+ * @return float|NaN Version number (if match) or NaN.
1320
+ */
1321
+ webkit: function() {
1322
+ return _populate() || _webkit;
1323
+ },
1324
+
1325
+ /**
1326
+ * For Push
1327
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
1328
+ */
1329
+ safari: function() {
1330
+ return UserAgent_DEPRECATED.webkit();
1331
+ },
1332
+
1333
+ /**
1334
+ * Check if the UA is a Chrome browser.
1335
+ *
1336
+ *
1337
+ * @return float|NaN Version number (if match) or NaN.
1338
+ */
1339
+ chrome : function() {
1340
+ return _populate() || _chrome;
1341
+ },
1342
+
1343
+
1344
+ /**
1345
+ * Check if the user is running Windows.
1346
+ *
1347
+ * @return bool `true' if the user's OS is Windows.
1348
+ */
1349
+ windows: function() {
1350
+ return _populate() || _windows;
1351
+ },
1352
+
1353
+
1354
+ /**
1355
+ * Check if the user is running Mac OS X.
1356
+ *
1357
+ * @return float|bool Returns a float if a version number is detected,
1358
+ * otherwise true/false.
1359
+ */
1360
+ osx: function() {
1361
+ return _populate() || _osx;
1362
+ },
1363
+
1364
+ /**
1365
+ * Check if the user is running Linux.
1366
+ *
1367
+ * @return bool `true' if the user's OS is some flavor of Linux.
1368
+ */
1369
+ linux: function() {
1370
+ return _populate() || _linux;
1371
+ },
1372
+
1373
+ /**
1374
+ * Check if the user is running on an iPhone or iPod platform.
1375
+ *
1376
+ * @return bool `true' if the user is running some flavor of the
1377
+ * iPhone OS.
1378
+ */
1379
+ iphone: function() {
1380
+ return _populate() || _iphone;
1381
+ },
1382
+
1383
+ mobile: function() {
1384
+ return _populate() || (_iphone || _ipad || _android || _mobile);
1385
+ },
1386
+
1387
+ nativeApp: function() {
1388
+ // webviews inside of the native apps
1389
+ return _populate() || _native;
1390
+ },
1391
+
1392
+ android: function() {
1393
+ return _populate() || _android;
1394
+ },
1395
+
1396
+ ipad: function() {
1397
+ return _populate() || _ipad;
1398
+ }
1399
+ };
1400
+
1401
+ module.exports = UserAgent_DEPRECATED;
1402
+
1403
+
1404
+ /***/ }),
1405
+
1406
+ /***/ 7545:
1407
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1408
+
1409
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1410
+ /* harmony export */ "default": () => (/* binding */ _typeof)
1411
+ /* harmony export */ });
1412
+ function _typeof(o) {
1413
+ "@babel/helpers - typeof";
1414
+
1415
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1416
+ return typeof o;
1417
+ } : function (o) {
1418
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1419
+ }, _typeof(o);
1420
+ }
1421
+
1422
+ /***/ }),
1423
+
1424
+ /***/ 7985:
1425
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1426
+
1427
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1428
+ /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
1429
+ /* harmony export */ });
1430
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
1431
+
1432
+ function _unsupportedIterableToArray(o, minLen) {
1433
+ if (!o) return;
1434
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1435
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1436
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1437
+ if (n === "Map" || n === "Set") return Array.from(o);
1438
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1439
+ }
1440
+
1441
+ /***/ }),
1442
+
1443
+ /***/ 8283:
1444
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1445
+
1446
+ module.exports = __webpack_require__(5022);
1447
+
1448
+
1449
+ /***/ }),
1450
+
1451
+ /***/ 9824:
1452
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1453
+
1454
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1455
+ /* harmony export */ "default": () => (/* binding */ toPrimitive)
1456
+ /* harmony export */ });
1457
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
1458
+
1459
+ function toPrimitive(t, r) {
1460
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
1461
+ var e = t[Symbol.toPrimitive];
1462
+ if (void 0 !== e) {
1463
+ var i = e.call(t, r || "default");
1464
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
1465
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1466
+ }
1467
+ return ("string" === r ? String : Number)(t);
1468
+ }
1469
+
1470
+ /***/ })
1471
+
1472
+ /******/ });
1473
+ /************************************************************************/
1474
+ /******/ // The module cache
1475
+ /******/ var __webpack_module_cache__ = {};
1476
+ /******/
1477
+ /******/ // The require function
1478
+ /******/ function __webpack_require__(moduleId) {
1479
+ /******/ // Check if module is in cache
1480
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1481
+ /******/ if (cachedModule !== undefined) {
1482
+ /******/ return cachedModule.exports;
1483
+ /******/ }
1484
+ /******/ // Create a new module (and put it into the cache)
1485
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1486
+ /******/ // no module.id needed
1487
+ /******/ // no module.loaded needed
1488
+ /******/ exports: {}
1489
+ /******/ };
1490
+ /******/
1491
+ /******/ // Execute the module function
1492
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1493
+ /******/
1494
+ /******/ // Return the exports of the module
1495
+ /******/ return module.exports;
1496
+ /******/ }
16
1497
  /******/
17
1498
  /************************************************************************/
1499
+ /******/ /* webpack/runtime/compat get default export */
1500
+ /******/ (() => {
1501
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1502
+ /******/ __webpack_require__.n = (module) => {
1503
+ /******/ var getter = module && module.__esModule ?
1504
+ /******/ () => (module['default']) :
1505
+ /******/ () => (module);
1506
+ /******/ __webpack_require__.d(getter, { a: getter });
1507
+ /******/ return getter;
1508
+ /******/ };
1509
+ /******/ })();
1510
+ /******/
18
1511
  /******/ /* webpack/runtime/define property getters */
19
1512
  /******/ (() => {
20
1513
  /******/ // define getter functions for harmony exports
@@ -40,25 +1533,23 @@ __webpack_require__.d(__webpack_exports__, {
40
1533
  BkComposeFormItem: () => (/* reexport */ compose_form_item),
41
1534
  BkForm: () => (/* binding */ BkForm),
42
1535
  BkFormItem: () => (/* reexport */ form_item),
43
- "default": () => (/* binding */ src),
44
- formItemKey: () => (/* reexport */ shared_namespaceObject.formItemKey),
45
- formKey: () => (/* reexport */ shared_namespaceObject.formKey),
46
- useFormItem: () => (/* reexport */ shared_namespaceObject.useFormItem)
1536
+ "default": () => (/* binding */ form_src),
1537
+ formItemKey: () => (/* reexport */ shared_.formItemKey),
1538
+ formKey: () => (/* reexport */ shared_.formKey),
1539
+ useFormItem: () => (/* reexport */ shared_.useFormItem)
47
1540
  });
48
1541
 
49
- ;// CONCATENATED MODULE: external "../shared"
50
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
51
- var y = x => () => x
52
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["formItemKey"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey, ["formKey"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey, ["useForm"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
53
- ;// CONCATENATED MODULE: external "vue"
54
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
55
- var external_vue_y = x => () => x
56
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
57
- ;// CONCATENATED MODULE: external "../config-provider"
58
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
59
- var config_provider_y = x => () => x
60
- const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
61
- ;// CONCATENATED MODULE: ../../packages/form/src/compose-form-item.tsx
1542
+ // EXTERNAL MODULE: external "../shared"
1543
+ var shared_ = __webpack_require__(5166);
1544
+ // EXTERNAL MODULE: external "vue"
1545
+ var external_vue_ = __webpack_require__(5286);
1546
+ ;// external "../config-provider"
1547
+ var x = (y) => {
1548
+ var x = {}; __webpack_require__.d(x, y); return x
1549
+ }
1550
+ var y = (x) => (() => (x))
1551
+ const config_provider_namespaceObject = x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
1552
+ ;// ../../packages/form/src/compose-form-item.tsx
62
1553
  /*
63
1554
  * Tencent is pleased to support the open source community by making
64
1555
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -89,7 +1580,7 @@ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () =>
89
1580
  var isCustomComponent = function isCustomComponent(node) {
90
1581
  return node.__v_isVNode;
91
1582
  };
92
- /* harmony default export */ const compose_form_item = ((0,external_vue_namespaceObject.defineComponent)({
1583
+ /* harmony default export */ const compose_form_item = ((0,external_vue_.defineComponent)({
93
1584
  name: 'ComposeFormItem',
94
1585
  props: {
95
1586
  headBackgroundColor: {
@@ -159,69 +1650,30 @@ var isCustomComponent = function isCustomComponent(node) {
159
1650
  tailChildren.props["class"] = tailChildStaticClass;
160
1651
  }
161
1652
  }
162
- return (0,external_vue_namespaceObject.h)('div', {
1653
+ return (0,external_vue_.h)('div', {
163
1654
  "class": "".concat(this.resolveClassName('compose-form-item'))
164
1655
  }, childrenArr);
165
1656
  }
166
1657
  }));
167
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
168
- function _typeof(o) {
169
- "@babel/helpers - typeof";
170
-
171
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
172
- return typeof o;
173
- } : function (o) {
174
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
175
- }, _typeof(o);
176
- }
177
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
178
-
179
- function toPrimitive(t, r) {
180
- if ("object" != _typeof(t) || !t) return t;
181
- var e = t[Symbol.toPrimitive];
182
- if (void 0 !== e) {
183
- var i = e.call(t, r || "default");
184
- if ("object" != _typeof(i)) return i;
185
- throw new TypeError("@@toPrimitive must return a primitive value.");
186
- }
187
- return ("string" === r ? String : Number)(t);
188
- }
189
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
190
-
191
-
192
- function toPropertyKey(t) {
193
- var i = toPrimitive(t, "string");
194
- return "symbol" == _typeof(i) ? i : String(i);
195
- }
196
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
197
-
198
- function _defineProperty(obj, key, value) {
199
- key = toPropertyKey(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
- ;// CONCATENATED MODULE: external "lodash/isBoolean"
213
- var isBoolean_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
214
- var isBoolean_y = x => () => x
215
- const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"] });
216
- ;// CONCATENATED MODULE: external "lodash/isString"
217
- var isString_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
218
- var isString_y = x => () => x
219
- const isString_namespaceObject = isString_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"] });
220
- ;// CONCATENATED MODULE: ../../packages/form/src/form.tsx
1658
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1659
+ var defineProperty = __webpack_require__(4586);
1660
+ ;// external "lodash/isBoolean"
1661
+ var isBoolean_x = (y) => {
1662
+ var x = {}; __webpack_require__.d(x, y); return x
1663
+ }
1664
+ var isBoolean_y = (x) => (() => (x))
1665
+ const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"]) });
1666
+ ;// external "lodash/isString"
1667
+ var isString_x = (y) => {
1668
+ var x = {}; __webpack_require__.d(x, y); return x
1669
+ }
1670
+ var isString_y = (x) => (() => (x))
1671
+ const isString_namespaceObject = isString_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"]) });
1672
+ ;// ../../packages/form/src/form.tsx
221
1673
 
222
1674
 
223
1675
  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; }
224
- 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; }
1676
+ 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; }
225
1677
  /*
226
1678
  * Tencent is pleased to support the open source community by making
227
1679
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -253,11 +1705,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
253
1705
 
254
1706
 
255
1707
  var formProps = {
256
- formType: shared_namespaceObject.PropTypes.oneOf(['default', 'vertical']).def('default'),
257
- labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]).def(150),
258
- labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
259
- model: shared_namespaceObject.PropTypes.object,
260
- rules: shared_namespaceObject.PropTypes.object
1708
+ formType: shared_.PropTypes.oneOf(['default', 'vertical']).def('default'),
1709
+ labelWidth: shared_.PropTypes.oneOfType([Number, String]).def(150),
1710
+ labelPosition: shared_.PropTypes.oneOf(['left', 'center', 'right']),
1711
+ model: shared_.PropTypes.object,
1712
+ rules: shared_.PropTypes.object
261
1713
  };
262
1714
  var formEvents = {
263
1715
  submit: null,
@@ -265,7 +1717,7 @@ var formEvents = {
265
1717
  return (0,isString_namespaceObject["default"])(property) && (0,isBoolean_namespaceObject["default"])(result) && (0,isString_namespaceObject["default"])(message);
266
1718
  }
267
1719
  };
268
- /* harmony default export */ const src_form = ((0,external_vue_namespaceObject.defineComponent)({
1720
+ /* harmony default export */ const src_form = ((0,external_vue_.defineComponent)({
269
1721
  name: 'Form',
270
1722
  props: formProps,
271
1723
  emits: formEvents,
@@ -291,7 +1743,7 @@ var formEvents = {
291
1743
  return result;
292
1744
  }, []);
293
1745
  };
294
- (0,external_vue_namespaceObject.provide)(shared_namespaceObject.formKey, {
1746
+ (0,external_vue_.provide)(shared_.formKey, {
295
1747
  props: props,
296
1748
  emit: context.emit,
297
1749
  register: register,
@@ -311,12 +1763,12 @@ var formEvents = {
311
1763
  if (fields) {
312
1764
  var fieldList = typeof fields === 'string' ? [fields] : fields;
313
1765
  fieldMap = fieldList.reduce(function (result, item) {
314
- return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item, true));
1766
+ return _objectSpread(_objectSpread({}, result), {}, (0,defineProperty["default"])({}, item, true));
315
1767
  }, {});
316
1768
  } else {
317
1769
  fieldMap = formItemInstanceList.reduce(function (result, item) {
318
1770
  if (item.property) {
319
- return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item.property, true));
1771
+ return _objectSpread(_objectSpread({}, result), {}, (0,defineProperty["default"])({}, item.property, true));
320
1772
  }
321
1773
  return result;
322
1774
  }, {});
@@ -352,11 +1804,11 @@ var formEvents = {
352
1804
  if (fields) {
353
1805
  var fieldList = typeof fields === 'string' ? [fields] : fields;
354
1806
  fieldMap = fieldList.reduce(function (result, item) {
355
- return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item, true));
1807
+ return _objectSpread(_objectSpread({}, result), {}, (0,defineProperty["default"])({}, item, true));
356
1808
  }, {});
357
1809
  } else {
358
1810
  fieldMap = formItemInstanceList.reduce(function (result, item) {
359
- return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item.property, true));
1811
+ return _objectSpread(_objectSpread({}, result), {}, (0,defineProperty["default"])({}, item.property, true));
360
1812
  }, {});
361
1813
  }
362
1814
  formItemInstanceList.forEach(function (formItem) {
@@ -375,67 +1827,36 @@ var formEvents = {
375
1827
  },
376
1828
  render: function render() {
377
1829
  var _this$$slots$default, _this$$slots;
378
- var formClasses = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form')), true), "".concat(this.resolveClassName("form--".concat(this.formType))), true));
379
- return (0,external_vue_namespaceObject.createVNode)("form", {
1830
+ var formClasses = (0,shared_.classes)((0,defineProperty["default"])((0,defineProperty["default"])({}, "".concat(this.resolveClassName('form')), true), "".concat(this.resolveClassName("form--".concat(this.formType))), true));
1831
+ return (0,external_vue_.createVNode)("form", {
380
1832
  "class": formClasses,
381
1833
  "onSubmit": this.handleSubmit
382
1834
  }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
383
1835
  }
384
1836
  }));
385
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
386
- function _arrayLikeToArray(arr, len) {
387
- if (len == null || len > arr.length) len = arr.length;
388
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
389
- return arr2;
390
- }
391
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
392
-
393
- function _arrayWithoutHoles(arr) {
394
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
395
- }
396
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
397
- function _iterableToArray(iter) {
398
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
399
- }
400
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
401
-
402
- function _unsupportedIterableToArray(o, minLen) {
403
- if (!o) return;
404
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
405
- var n = Object.prototype.toString.call(o).slice(8, -1);
406
- if (n === "Object" && o.constructor) n = o.constructor.name;
407
- if (n === "Map" || n === "Set") return Array.from(o);
408
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
409
- }
410
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
411
- function _nonIterableSpread() {
412
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
413
- }
414
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
415
-
416
-
417
-
418
-
419
- function _toConsumableArray(arr) {
420
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
421
- }
422
- ;// CONCATENATED MODULE: external "../directives"
423
- var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
424
- var directives_y = x => () => x
425
- const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
426
- ;// CONCATENATED MODULE: external "../icon"
427
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
428
- var icon_y = x => () => x
429
- const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
430
- ;// CONCATENATED MODULE: external "lodash/get"
431
- var get_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
432
- var get_y = x => () => x
433
- const get_namespaceObject = get_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"] });
434
- ;// CONCATENATED MODULE: external "lodash/isFunction"
435
- var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
436
- var isFunction_y = x => () => x
437
- const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
438
- ;// CONCATENATED MODULE: ../../packages/form/src/utils.ts
1837
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1838
+ var toConsumableArray = __webpack_require__(5153);
1839
+ // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 8 modules
1840
+ var src = __webpack_require__(4923);
1841
+ ;// external "../icon"
1842
+ var icon_x = (y) => {
1843
+ var x = {}; __webpack_require__.d(x, y); return x
1844
+ }
1845
+ var icon_y = (x) => (() => (x))
1846
+ const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape) });
1847
+ ;// external "lodash/get"
1848
+ var get_x = (y) => {
1849
+ var x = {}; __webpack_require__.d(x, y); return x
1850
+ }
1851
+ var get_y = (x) => (() => (x))
1852
+ const get_namespaceObject = get_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"]) });
1853
+ ;// external "lodash/isFunction"
1854
+ var isFunction_x = (y) => {
1855
+ var x = {}; __webpack_require__.d(x, y); return x
1856
+ }
1857
+ var isFunction_y = (x) => (() => (x))
1858
+ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
1859
+ ;// ../../packages/form/src/utils.ts
439
1860
  /*
440
1861
  * Tencent is pleased to support the open source community by making
441
1862
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -467,15 +1888,19 @@ var getRuleMessage = function getRuleMessage(rule) {
467
1888
  }
468
1889
  return rule.message;
469
1890
  };
470
- ;// CONCATENATED MODULE: external "lodash/isDate"
471
- var isDate_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
472
- var isDate_y = x => () => x
473
- const isDate_namespaceObject = isDate_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"] });
474
- ;// CONCATENATED MODULE: external "lodash/isEmpty"
475
- var isEmpty_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
476
- var isEmpty_y = x => () => x
477
- const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"] });
478
- ;// CONCATENATED MODULE: ../../packages/form/src/validator.ts
1891
+ ;// external "lodash/isDate"
1892
+ var isDate_x = (y) => {
1893
+ var x = {}; __webpack_require__.d(x, y); return x
1894
+ }
1895
+ var isDate_y = (x) => (() => (x))
1896
+ const isDate_namespaceObject = isDate_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"]) });
1897
+ ;// external "lodash/isEmpty"
1898
+ var isEmpty_x = (y) => {
1899
+ var x = {}; __webpack_require__.d(x, y); return x
1900
+ }
1901
+ var isEmpty_y = (x) => (() => (x))
1902
+ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"]) });
1903
+ ;// ../../packages/form/src/validator.ts
479
1904
  /*
480
1905
  * Tencent is pleased to support the open source community by making
481
1906
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -528,12 +1953,12 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
528
1953
  return result;
529
1954
  }
530
1955
  });
531
- ;// CONCATENATED MODULE: ../../packages/form/src/form-item.tsx
1956
+ ;// ../../packages/form/src/form-item.tsx
532
1957
 
533
1958
 
534
1959
 
535
1960
  function form_item_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; }
536
- function form_item_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? form_item_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : form_item_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1961
+ function form_item_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? form_item_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : form_item_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
537
1962
  /*
538
1963
  * Tencent is pleased to support the open source community by making
539
1964
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -569,18 +1994,18 @@ function form_item_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
569
1994
 
570
1995
 
571
1996
  var formItemProps = {
572
- label: shared_namespaceObject.PropTypes.string,
573
- labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]),
574
- labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
575
- property: shared_namespaceObject.PropTypes.string.def(''),
576
- required: shared_namespaceObject.PropTypes.bool.def(false),
577
- email: shared_namespaceObject.PropTypes.bool.def(false),
578
- max: shared_namespaceObject.PropTypes.number,
579
- min: shared_namespaceObject.PropTypes.number,
580
- maxlength: shared_namespaceObject.PropTypes.number,
581
- rules: shared_namespaceObject.PropTypes.array,
582
- description: shared_namespaceObject.PropTypes.string,
583
- errorDisplayType: shared_namespaceObject.PropTypes.oneOf(['tooltips', 'normal']).def('normal')
1997
+ label: shared_.PropTypes.string,
1998
+ labelWidth: shared_.PropTypes.oneOfType([Number, String]),
1999
+ labelPosition: shared_.PropTypes.oneOf(['left', 'center', 'right']),
2000
+ property: shared_.PropTypes.string.def(''),
2001
+ required: shared_.PropTypes.bool.def(false),
2002
+ email: shared_.PropTypes.bool.def(false),
2003
+ max: shared_.PropTypes.number,
2004
+ min: shared_.PropTypes.number,
2005
+ maxlength: shared_.PropTypes.number,
2006
+ rules: shared_.PropTypes.array,
2007
+ description: shared_.PropTypes.string,
2008
+ errorDisplayType: shared_.PropTypes.oneOf(['tooltips', 'normal']).def('normal')
584
2009
  };
585
2010
  var hasOwn = function hasOwn(obj, key) {
586
2011
  return Object.prototype.hasOwnProperty.call(obj, key);
@@ -684,7 +2109,7 @@ var mergeRules = function mergeRules(configRules, propRules, t) {
684
2109
  result.push(ruleItem);
685
2110
  return result;
686
2111
  }, []);
687
- return [].concat(_toConsumableArray(filterPropRules), _toConsumableArray(formatConfigRules));
2112
+ return [].concat((0,toConsumableArray["default"])(filterPropRules), (0,toConsumableArray["default"])(formatConfigRules));
688
2113
  };
689
2114
  var getTriggerRules = function getTriggerRules(trigger, rules) {
690
2115
  return rules.reduce(function (result, rule) {
@@ -702,36 +2127,36 @@ var getTriggerRules = function getTriggerRules(trigger, rules) {
702
2127
  var isValid = function isValid(value) {
703
2128
  return value !== undefined;
704
2129
  };
705
- /* harmony default export */ const form_item = ((0,external_vue_namespaceObject.defineComponent)({
2130
+ /* harmony default export */ const form_item = ((0,external_vue_.defineComponent)({
706
2131
  name: 'FormItem',
707
2132
  directives: {
708
- bkTooltips: directives_namespaceObject.bkTooltips
2133
+ bkTooltips: src.bkTooltips
709
2134
  },
710
2135
  props: formItemProps,
711
2136
  setup: function setup(props, context) {
712
2137
  var t = (0,config_provider_namespaceObject.useLocale)('form');
713
- var form = (0,shared_namespaceObject.useForm)();
2138
+ var form = (0,shared_.useForm)();
714
2139
  var isForm = Boolean(form);
715
- var parentFormItem = (0,shared_namespaceObject.useFormItem)();
2140
+ var parentFormItem = (0,shared_.useFormItem)();
716
2141
  var isNested = Boolean(parentFormItem);
717
- var currentInstance = (0,external_vue_namespaceObject.getCurrentInstance)();
718
- var state = (0,external_vue_namespaceObject.reactive)({
2142
+ var currentInstance = (0,external_vue_.getCurrentInstance)();
2143
+ var state = (0,external_vue_.reactive)({
719
2144
  isError: false,
720
2145
  errorMessage: ''
721
2146
  });
722
- var isFormTypeVertical = (0,external_vue_namespaceObject.computed)(function () {
2147
+ var isFormTypeVertical = (0,external_vue_.computed)(function () {
723
2148
  if (!isForm) {
724
2149
  return false;
725
2150
  }
726
2151
  return form.props.formType === 'vertical';
727
2152
  });
728
- var isShowLabel = (0,external_vue_namespaceObject.computed)(function () {
2153
+ var isShowLabel = (0,external_vue_.computed)(function () {
729
2154
  if (props.label || context.slots.label) {
730
2155
  return true;
731
2156
  }
732
2157
  return false;
733
2158
  });
734
- var labelStyles = (0,external_vue_namespaceObject.computed)(function () {
2159
+ var labelStyles = (0,external_vue_.computed)(function () {
735
2160
  var styles = {
736
2161
  width: '',
737
2162
  paddingRight: '',
@@ -751,8 +2176,8 @@ var isValid = function isValid(value) {
751
2176
  }
752
2177
  return styles;
753
2178
  });
754
- var contentStyles = (0,external_vue_namespaceObject.computed)(function () {
755
- return _defineProperty({}, 'margin-left', labelStyles.value.width);
2179
+ var contentStyles = (0,external_vue_.computed)(function () {
2180
+ return (0,defineProperty["default"])({}, 'margin-left', labelStyles.value.width);
756
2181
  });
757
2182
  /**
758
2183
  * @desc 验证字段
@@ -841,23 +2266,23 @@ var isValid = function isValid(value) {
841
2266
  state.isError = false;
842
2267
  state.errorMessage = '';
843
2268
  };
844
- (0,external_vue_namespaceObject.provide)(shared_namespaceObject.formItemKey, form_item_objectSpread(form_item_objectSpread({}, props), {}, {
2269
+ (0,external_vue_.provide)(shared_.formItemKey, form_item_objectSpread(form_item_objectSpread({}, props), {}, {
845
2270
  validate: validate,
846
2271
  clearValidate: clearValidate
847
2272
  }));
848
- (0,external_vue_namespaceObject.onMounted)(function () {
2273
+ (0,external_vue_.onMounted)(function () {
849
2274
  if (isForm) {
850
2275
  form.register(currentInstance.proxy);
851
2276
  }
852
2277
  });
853
- (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
2278
+ (0,external_vue_.onBeforeUnmount)(function () {
854
2279
  if (isForm) {
855
2280
  form.unregister(currentInstance.proxy);
856
2281
  }
857
2282
  });
858
2283
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
859
2284
  resolveClassName = _usePrefix.resolveClassName;
860
- return form_item_objectSpread(form_item_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
2285
+ return form_item_objectSpread(form_item_objectSpread({}, (0,external_vue_.toRefs)(state)), {}, {
861
2286
  isShowLabel: isShowLabel,
862
2287
  labelStyles: labelStyles,
863
2288
  contentStyles: contentStyles,
@@ -873,46 +2298,46 @@ var isValid = function isValid(value) {
873
2298
  _this$$slots,
874
2299
  _this$$slots$default,
875
2300
  _this$$slots2;
876
- var itemClassees = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form-item')), true), 'is-error', this.isError), 'is-required', this.required));
2301
+ var itemClassees = (0,shared_.classes)((0,defineProperty["default"])((0,defineProperty["default"])((0,defineProperty["default"])({}, "".concat(this.resolveClassName('form-item')), true), 'is-error', this.isError), 'is-required', this.required));
877
2302
  var renderLabel = function renderLabel() {
878
2303
  if (_this.$slots.label) {
879
- return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.$slots.label()]);
2304
+ return (0,external_vue_.createVNode)("span", null, [_this.$slots.label()]);
880
2305
  }
881
2306
  if (_this.description) {
882
- return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("span", {
883
- "class": _defineProperty({}, "".concat(_this.resolveClassName('form-label-description')), Boolean(_this.description))
884
- }, [_this.label]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), {
2307
+ return (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("span", {
2308
+ "class": (0,defineProperty["default"])({}, "".concat(_this.resolveClassName('form-label-description')), Boolean(_this.description))
2309
+ }, [_this.label]), [[(0,external_vue_.resolveDirective)("bk-tooltips"), {
885
2310
  content: _this.description,
886
2311
  extCls: _this.resolveClassName('form-label-description-popper')
887
2312
  }]]);
888
2313
  }
889
- return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.label]);
2314
+ return (0,external_vue_.createVNode)("span", null, [_this.label]);
890
2315
  };
891
2316
  var renderError = function renderError() {
892
2317
  if (!_this.isError) {
893
2318
  return null;
894
2319
  }
895
2320
  if (_this.errorDisplayType === 'tooltips') {
896
- return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
2321
+ return (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("div", {
897
2322
  "class": "".concat(_this.resolveClassName('form-error-tips'))
898
- }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.errorMessage]]);
2323
+ }, [(0,external_vue_.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_.resolveDirective)("bk-tooltips"), _this.errorMessage]]);
899
2324
  }
900
- return (0,external_vue_namespaceObject.createVNode)("div", {
2325
+ return (0,external_vue_.createVNode)("div", {
901
2326
  "class": "".concat(_this.resolveClassName('form-error'))
902
2327
  }, [_this.$slots.error ? _this.$slots.error(_this.errorMessage) : _this.errorMessage]);
903
2328
  };
904
- return (0,external_vue_namespaceObject.createVNode)("div", {
2329
+ return (0,external_vue_.createVNode)("div", {
905
2330
  "class": itemClassees
906
- }, [this.isShowLabel && (0,external_vue_namespaceObject.createVNode)("div", {
2331
+ }, [this.isShowLabel && (0,external_vue_.createVNode)("div", {
907
2332
  "style": this.labelStyles,
908
2333
  "class": "".concat(this.resolveClassName('form-label'))
909
- }, [renderLabel(), this.isFormTypeVertical && ((_this$$slots$labelApp = (_this$$slots = this.$slots).labelAppend) === null || _this$$slots$labelApp === void 0 ? void 0 : _this$$slots$labelApp.call(_this$$slots))]), (0,external_vue_namespaceObject.createVNode)("div", {
2334
+ }, [renderLabel(), this.isFormTypeVertical && ((_this$$slots$labelApp = (_this$$slots = this.$slots).labelAppend) === null || _this$$slots$labelApp === void 0 ? void 0 : _this$$slots$labelApp.call(_this$$slots))]), (0,external_vue_.createVNode)("div", {
910
2335
  "style": this.contentStyles,
911
2336
  "class": "".concat(this.resolveClassName('form-content'))
912
2337
  }, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
913
2338
  }
914
2339
  }));
915
- ;// CONCATENATED MODULE: ../../packages/form/src/index.ts
2340
+ ;// ../../packages/form/src/index.ts
916
2341
  /*
917
2342
  * Tencent is pleased to support the open source community by making
918
2343
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -943,11 +2368,11 @@ var isValid = function isValid(value) {
943
2368
 
944
2369
 
945
2370
 
946
- var BkForm = (0,shared_namespaceObject.withInstallProps)(src_form, {
2371
+ var BkForm = (0,shared_.withInstallProps)(src_form, {
947
2372
  FormItem: form_item,
948
2373
  ComposeFormItem: compose_form_item
949
2374
  });
950
- /* harmony default export */ const src = (BkForm);
2375
+ /* harmony default export */ const form_src = (BkForm);
951
2376
 
952
2377
  var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
953
2378
  var __webpack_exports__BkForm = __webpack_exports__.BkForm;