bkui-vue 0.0.2-beta.14 → 0.0.2-beta.141

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 (505) hide show
  1. package/dist/index.cjs.js +142 -160
  2. package/dist/index.esm.js +18004 -19937
  3. package/dist/index.umd.js +142 -160
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.d.ts +1 -1
  15. package/lib/affix/affix.variable.css +6 -2
  16. package/lib/affix/index.d.ts +4 -4
  17. package/lib/affix/index.js +322 -1
  18. package/lib/alert/alert.css +7 -0
  19. package/lib/alert/alert.d.ts +5 -5
  20. package/lib/alert/alert.less +16 -6
  21. package/lib/alert/alert.variable.css +13 -2
  22. package/lib/alert/index.d.ts +10 -10
  23. package/lib/alert/index.js +215 -1
  24. package/lib/animate-number/index.d.ts +1 -1
  25. package/lib/animate-number/index.js +155 -1
  26. package/lib/backtop/backtop.css +8 -8
  27. package/lib/backtop/backtop.less +3 -1
  28. package/lib/backtop/backtop.variable.css +17 -13
  29. package/lib/backtop/index.d.ts +1 -1
  30. package/lib/backtop/index.js +189 -1
  31. package/lib/badge/badge.css +8 -2
  32. package/lib/badge/badge.d.ts +2 -2
  33. package/lib/badge/badge.less +8 -4
  34. package/lib/badge/badge.variable.css +14 -4
  35. package/lib/badge/index.d.ts +7 -7
  36. package/lib/badge/index.js +236 -1
  37. package/lib/breadcrumb/breadcrumb.css +4 -4
  38. package/lib/breadcrumb/breadcrumb.variable.css +10 -6
  39. package/lib/breadcrumb/index.d.ts +2 -2
  40. package/lib/breadcrumb/index.js +310 -1
  41. package/lib/button/button-group.d.ts +2 -2
  42. package/lib/button/button.css +30 -7
  43. package/lib/button/button.d.ts +1 -1
  44. package/lib/button/button.less +29 -13
  45. package/lib/button/button.variable.css +44 -17
  46. package/lib/button/index.d.ts +7 -7
  47. package/lib/button/index.js +329 -1
  48. package/lib/card/card.css +11 -11
  49. package/lib/card/card.d.ts +1 -1
  50. package/lib/card/card.less +7 -7
  51. package/lib/card/card.variable.css +17 -13
  52. package/lib/card/index.d.ts +4 -4
  53. package/lib/card/index.js +292 -1
  54. package/lib/cascader/cascader-panel.d.ts +1 -0
  55. package/lib/cascader/cascader.css +7 -7
  56. package/lib/cascader/cascader.d.ts +1 -0
  57. package/lib/cascader/cascader.less +4 -6
  58. package/lib/cascader/cascader.variable.css +13 -9
  59. package/lib/cascader/index.d.ts +6 -2
  60. package/lib/cascader/index.js +2072 -2
  61. package/lib/cascader/interface.d.ts +1 -1
  62. package/lib/checkbox/checkbox-group.d.ts +6 -3
  63. package/lib/checkbox/checkbox.css +13 -1
  64. package/lib/checkbox/checkbox.d.ts +15 -12
  65. package/lib/checkbox/checkbox.less +15 -1
  66. package/lib/checkbox/checkbox.variable.css +19 -3
  67. package/lib/checkbox/common.d.ts +1 -0
  68. package/lib/checkbox/index.d.ts +43 -31
  69. package/lib/checkbox/index.js +570 -1
  70. package/lib/code-diff/code-diff.variable.css +6 -2
  71. package/lib/code-diff/index.d.ts +1 -1
  72. package/lib/code-diff/index.js +5502 -1
  73. package/lib/collapse/collapse.variable.css +6 -2
  74. package/lib/collapse/index.d.ts +2 -2
  75. package/lib/collapse/index.js +571 -1
  76. package/lib/collapse-transition/collapse-transition.variable.css +6 -2
  77. package/lib/collapse-transition/index.d.ts +128 -2
  78. package/lib/collapse-transition/index.js +177 -1
  79. package/lib/color-picker/color-picker.d.ts +16 -0
  80. package/lib/color-picker/color-picker.variable.css +6 -2
  81. package/lib/color-picker/components/recommend-colors.d.ts +16 -0
  82. package/lib/color-picker/index.d.ts +19 -1
  83. package/lib/color-picker/index.js +2666 -1
  84. package/lib/components.js +530 -1
  85. package/lib/config-provider/config-provider.d.ts +21 -0
  86. package/lib/config-provider/config-provider.variable.css +6 -2
  87. package/lib/config-provider/index.d.ts +29 -1
  88. package/lib/config-provider/index.js +365 -1
  89. package/lib/config-provider/token.d.ts +7 -0
  90. package/lib/config-provider/use-global-config.d.ts +2 -0
  91. package/lib/config-provider/use-prefix.d.ts +2 -0
  92. package/lib/container/container.css +4 -4
  93. package/lib/container/container.variable.css +10 -6
  94. package/lib/container/index.d.ts +2 -2
  95. package/lib/container/index.js +392 -1
  96. package/lib/date-picker/common.d.ts +2 -0
  97. package/lib/date-picker/date-picker.d.ts +6 -2
  98. package/lib/date-picker/date-picker.variable.css +6 -2
  99. package/lib/date-picker/index.d.ts +21 -8
  100. package/lib/date-picker/index.js +5636 -1
  101. package/lib/date-picker/panel/date-range.d.ts +2 -1
  102. package/lib/date-picker/panel/date.d.ts +2 -2
  103. package/lib/date-picker/panel/time-range.d.ts +17 -0
  104. package/lib/date-picker/panel/time.d.ts +17 -1
  105. package/lib/date-picker/time-picker.d.ts +3 -1
  106. package/lib/dialog/dialog.css +9 -6
  107. package/lib/dialog/dialog.less +7 -6
  108. package/lib/dialog/dialog.variable.css +15 -8
  109. package/lib/dialog/index.d.ts +1 -1
  110. package/lib/dialog/index.js +984 -2
  111. package/lib/directives/index.js +1387 -2
  112. package/lib/directives/tooltips.d.ts +2 -2
  113. package/lib/dist.index.js +87 -1
  114. package/lib/divider/divider.variable.css +6 -2
  115. package/lib/divider/index.d.ts +1 -1
  116. package/lib/divider/index.js +170 -1
  117. package/lib/dropdown/dropdown.css +2 -1
  118. package/lib/dropdown/dropdown.variable.css +8 -3
  119. package/lib/dropdown/index.d.ts +2 -2
  120. package/lib/dropdown/index.js +376 -1
  121. package/lib/exception/exception.variable.css +6 -2
  122. package/lib/exception/index.d.ts +2 -2
  123. package/lib/exception/index.js +386 -1
  124. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
  125. package/lib/fixed-navbar/index.d.ts +1 -1
  126. package/lib/fixed-navbar/index.js +155 -1
  127. package/lib/form/form.css +2 -1
  128. package/lib/form/form.less +3 -2
  129. package/lib/form/form.variable.css +8 -3
  130. package/lib/form/index.d.ts +3 -3
  131. package/lib/form/index.js +953 -1
  132. package/lib/hooks.d.ts +1 -1
  133. package/lib/hooks.js +73 -1
  134. package/lib/icon/angle-double-down-line.js +191 -1
  135. package/lib/icon/angle-double-left-line.js +191 -1
  136. package/lib/icon/angle-double-left.js +191 -1
  137. package/lib/icon/angle-double-right-line.js +191 -1
  138. package/lib/icon/angle-double-right.js +191 -1
  139. package/lib/icon/angle-double-up-line.js +191 -1
  140. package/lib/icon/angle-down-fill.js +191 -1
  141. package/lib/icon/angle-down-line.js +191 -1
  142. package/lib/icon/angle-down.js +191 -1
  143. package/lib/icon/angle-left.js +191 -1
  144. package/lib/icon/angle-right.js +191 -1
  145. package/lib/icon/angle-up-fill.js +191 -1
  146. package/lib/icon/angle-up.js +191 -1
  147. package/lib/icon/archive-fill.js +191 -1
  148. package/lib/icon/arrows-left.js +191 -1
  149. package/lib/icon/arrows-right.js +191 -1
  150. package/lib/icon/assistant.d.ts +4 -0
  151. package/lib/icon/assistant.js +191 -0
  152. package/lib/icon/audio-fill.js +191 -1
  153. package/lib/icon/bk.js +191 -1
  154. package/lib/icon/circle.js +191 -1
  155. package/lib/icon/close-line.js +191 -1
  156. package/lib/icon/close.js +191 -1
  157. package/lib/icon/code.js +191 -1
  158. package/lib/icon/cog-shape.js +191 -1
  159. package/lib/icon/collapse-left.js +191 -1
  160. package/lib/icon/copy-shape.js +191 -1
  161. package/lib/icon/copy.js +191 -1
  162. package/lib/icon/data-shape.js +191 -1
  163. package/lib/icon/del.js +191 -1
  164. package/lib/icon/doc-fill.js +191 -1
  165. package/lib/icon/done.js +191 -1
  166. package/lib/icon/down-shape.js +191 -1
  167. package/lib/icon/down-small.js +191 -1
  168. package/lib/icon/edit-line.js +191 -1
  169. package/lib/icon/ellipsis.js +191 -1
  170. package/lib/icon/enlarge-line.js +191 -1
  171. package/lib/icon/error.js +191 -1
  172. package/lib/icon/excel-fill.js +191 -1
  173. package/lib/icon/exclamation-circle-shape.js +191 -1
  174. package/lib/icon/eye.js +191 -1
  175. package/lib/icon/filliscreen-line.js +191 -1
  176. package/lib/icon/fix-line.js +191 -1
  177. package/lib/icon/fix-shape.js +191 -1
  178. package/lib/icon/folder-open.js +191 -1
  179. package/lib/icon/folder-shape-open.js +191 -1
  180. package/lib/icon/folder-shape.js +191 -1
  181. package/lib/icon/folder.js +191 -1
  182. package/lib/icon/funnel.js +191 -1
  183. package/lib/icon/help-document-fill.js +191 -1
  184. package/lib/icon/help-fill.js +191 -1
  185. package/lib/icon/help.js +191 -1
  186. package/lib/icon/image-fill.js +276 -1
  187. package/lib/icon/img-error.js +276 -1
  188. package/lib/icon/img-placehoulder.js +276 -1
  189. package/lib/icon/index.d.ts +2 -0
  190. package/lib/icon/index.js +2432 -1
  191. package/lib/icon/info-line.js +276 -1
  192. package/lib/icon/info.js +276 -1
  193. package/lib/icon/left-shape.js +276 -1
  194. package/lib/icon/left-turn-line.js +276 -1
  195. package/lib/icon/loading.d.ts +4 -0
  196. package/lib/icon/loading.js +276 -0
  197. package/lib/icon/narrow-line.js +276 -1
  198. package/lib/icon/original.js +276 -1
  199. package/lib/icon/pdf-fill.js +276 -1
  200. package/lib/icon/play-shape.js +276 -1
  201. package/lib/icon/plus.js +276 -1
  202. package/lib/icon/ppt-fill.js +276 -1
  203. package/lib/icon/qq.js +276 -1
  204. package/lib/icon/right-shape.js +276 -1
  205. package/lib/icon/right-turn-line.js +276 -1
  206. package/lib/icon/search.js +276 -1
  207. package/lib/icon/share.js +276 -1
  208. package/lib/icon/spinner.js +276 -1
  209. package/lib/icon/success.js +276 -1
  210. package/lib/icon/switcher-loading.js +276 -1
  211. package/lib/icon/text-file.js +276 -1
  212. package/lib/icon/text-fill.js +276 -1
  213. package/lib/icon/transfer.js +276 -1
  214. package/lib/icon/tree-application-shape.js +276 -1
  215. package/lib/icon/unfull-screen.js +276 -1
  216. package/lib/icon/unvisible.js +276 -1
  217. package/lib/icon/up-shape.js +276 -1
  218. package/lib/icon/upload.js +276 -1
  219. package/lib/icon/video-fill.js +276 -1
  220. package/lib/icon/warn.js +276 -1
  221. package/lib/icon/weixin-pro.js +276 -1
  222. package/lib/icon/weixin.js +276 -1
  223. package/lib/image/image-viewer.variable.css +6 -2
  224. package/lib/image/image.variable.css +6 -2
  225. package/lib/image/index.d.ts +1 -1
  226. package/lib/image/index.js +641 -1
  227. package/lib/index.js +97 -1
  228. package/lib/info-box/index.js +1174 -2
  229. package/lib/info-box/info-box.css +2 -0
  230. package/lib/info-box/info-box.d.ts +4 -0
  231. package/lib/info-box/info-box.less +2 -1
  232. package/lib/info-box/info-box.variable.css +8 -2
  233. package/lib/input/index.d.ts +90 -12
  234. package/lib/input/index.js +1234 -1
  235. package/lib/input/input.css +51 -19
  236. package/lib/input/input.d.ts +79 -6
  237. package/lib/input/input.less +50 -13
  238. package/lib/input/input.variable.css +57 -21
  239. package/lib/input/util.d.ts +6 -0
  240. package/lib/link/index.d.ts +4 -4
  241. package/lib/link/index.js +161 -1
  242. package/lib/link/link.d.ts +1 -1
  243. package/lib/link/link.variable.css +6 -2
  244. package/lib/loading/index.d.ts +5 -5
  245. package/lib/loading/index.js +382 -1
  246. package/lib/loading/loading.css +13 -13
  247. package/lib/loading/loading.d.ts +1 -1
  248. package/lib/loading/loading.less +14 -9
  249. package/lib/loading/loading.variable.css +19 -15
  250. package/lib/locale/index.js +477 -1
  251. package/lib/locale/lang/en.d.ts +7 -0
  252. package/lib/menu/index.d.ts +2 -2
  253. package/lib/menu/index.js +725 -1
  254. package/lib/menu/menu.css +4 -4
  255. package/lib/menu/menu.variable.css +10 -6
  256. package/lib/menu/submenu.variable.css +6 -2
  257. package/lib/message/index.js +1796 -2
  258. package/lib/message/message.css +18 -2
  259. package/lib/message/message.less +16 -2
  260. package/lib/message/message.variable.css +24 -4
  261. package/lib/message/messageConstructor.d.ts +23 -3
  262. package/lib/modal/index.d.ts +2 -2
  263. package/lib/modal/index.js +397 -1
  264. package/lib/modal/modal.css +2 -0
  265. package/lib/modal/modal.variable.css +8 -2
  266. package/lib/navigation/index.d.ts +4 -1
  267. package/lib/navigation/index.js +368 -1
  268. package/lib/navigation/navigation.d.ts +1 -0
  269. package/lib/navigation/navigation.variable.css +6 -2
  270. package/lib/notify/index.js +398 -1
  271. package/lib/notify/notify.css +6 -6
  272. package/lib/notify/notify.less +6 -6
  273. package/lib/notify/notify.variable.css +12 -8
  274. package/lib/notify/notifyConstructor.d.ts +1 -1
  275. package/lib/overflow-title/components/overflow-title.d.ts +257 -2
  276. package/lib/overflow-title/index.d.ts +387 -2
  277. package/lib/overflow-title/index.js +292 -1
  278. package/lib/overflow-title/props.d.ts +129 -0
  279. package/lib/pagination/index.d.ts +6 -6
  280. package/lib/pagination/index.js +894 -1
  281. package/lib/pagination/pagination.css +1 -0
  282. package/lib/pagination/pagination.d.ts +3 -3
  283. package/lib/pagination/pagination.less +1 -0
  284. package/lib/pagination/pagination.variable.css +7 -2
  285. package/lib/plugin-popover/index.js +3833 -1
  286. package/lib/plugins/index.js +63 -1
  287. package/lib/pop-confirm/index.d.ts +43 -4
  288. package/lib/pop-confirm/index.js +294 -1
  289. package/lib/pop-confirm/pop-confirm.css +4 -4
  290. package/lib/pop-confirm/pop-confirm.d.ts +14 -1
  291. package/lib/pop-confirm/pop-confirm.less +4 -4
  292. package/lib/pop-confirm/pop-confirm.variable.css +10 -6
  293. package/lib/popover/content.d.ts +33 -0
  294. package/lib/popover/index.d.ts +74 -16
  295. package/lib/popover/index.js +3842 -1
  296. package/lib/popover/popover.css +2 -1
  297. package/lib/popover/popover.d.ts +40 -7
  298. package/lib/popover/popover.less +4 -3
  299. package/lib/popover/popover.variable.css +8 -3
  300. package/lib/popover/props.d.ts +25 -2
  301. package/lib/popover/use-floating.d.ts +1 -1
  302. package/lib/popover/use-popover-init.d.ts +2 -1
  303. package/lib/popover2/index.d.ts +1 -1
  304. package/lib/popover2/index.js +107 -1
  305. package/lib/preset.d.ts +14 -0
  306. package/lib/preset.js +93 -1
  307. package/lib/process/index.d.ts +1 -1
  308. package/lib/process/index.js +759 -2
  309. package/lib/process/process.variable.css +6 -2
  310. package/lib/progress/index.d.ts +5 -5
  311. package/lib/progress/index.js +432 -1
  312. package/lib/progress/progress.css +11 -7
  313. package/lib/progress/progress.d.ts +3 -3
  314. package/lib/progress/progress.less +8 -3
  315. package/lib/progress/progress.variable.css +17 -9
  316. package/lib/radio/common.d.ts +1 -0
  317. package/lib/radio/index.d.ts +31 -25
  318. package/lib/radio/index.js +636 -1
  319. package/lib/radio/radio-button.d.ts +8 -7
  320. package/lib/radio/radio-group.d.ts +7 -4
  321. package/lib/radio/radio.css +26 -12
  322. package/lib/radio/radio.d.ts +5 -4
  323. package/lib/radio/radio.less +42 -8
  324. package/lib/radio/radio.variable.css +26 -8
  325. package/lib/rate/index.d.ts +12 -8
  326. package/lib/rate/index.js +355 -1
  327. package/lib/rate/rate.d.ts +4 -3
  328. package/lib/rate/rate.variable.css +6 -2
  329. package/lib/rate/star.css +3 -0
  330. package/lib/rate/star.less +3 -0
  331. package/lib/rate/star.variable.css +9 -2
  332. package/lib/resize-layout/index.d.ts +4 -4
  333. package/lib/resize-layout/index.js +430 -1
  334. package/lib/resize-layout/resize-layout.css +14 -2
  335. package/lib/resize-layout/resize-layout.d.ts +1 -1
  336. package/lib/resize-layout/resize-layout.less +14 -2
  337. package/lib/resize-layout/resize-layout.variable.css +20 -4
  338. package/lib/search-select/index.d.ts +62 -29
  339. package/lib/search-select/index.js +2747 -2
  340. package/lib/search-select/input.d.ts +5 -1
  341. package/lib/search-select/menu.d.ts +33 -2
  342. package/lib/search-select/search-select.css +39 -21
  343. package/lib/search-select/search-select.d.ts +23 -20
  344. package/lib/search-select/search-select.less +44 -23
  345. package/lib/search-select/search-select.variable.css +45 -23
  346. package/lib/search-select/selected.d.ts +5 -1
  347. package/lib/search-select/utils.d.ts +13 -5
  348. package/lib/select/common.d.ts +4 -1
  349. package/lib/select/index.d.ts +287 -90
  350. package/lib/select/index.js +2422 -2
  351. package/lib/select/option.d.ts +12 -0
  352. package/lib/select/select.css +16 -5
  353. package/lib/select/select.d.ts +120 -39
  354. package/lib/select/select.less +14 -1
  355. package/lib/select/select.variable.css +46 -31
  356. package/lib/select/selectTagInput.d.ts +10 -5
  357. package/lib/select/type.d.ts +3 -0
  358. package/lib/shared/helper.d.ts +1 -1
  359. package/lib/shared/index.js +2690 -1
  360. package/lib/shared/mask-manager.d.ts +3 -4
  361. package/lib/shared/pop-manager.d.ts +6 -2
  362. package/lib/shared/popover.d.ts +2 -2
  363. package/lib/shared/vue-types.d.ts +4 -3
  364. package/lib/sideslider/index.d.ts +1 -1
  365. package/lib/sideslider/index.js +711 -2
  366. package/lib/sideslider/sideslider.variable.css +6 -2
  367. package/lib/slider/index.d.ts +1 -1
  368. package/lib/slider/index.js +1310 -2
  369. package/lib/slider/slider.css +2 -0
  370. package/lib/slider/slider.less +2 -0
  371. package/lib/slider/slider.variable.css +8 -2
  372. package/lib/steps/index.d.ts +5 -5
  373. package/lib/steps/index.js +826 -2
  374. package/lib/steps/steps.css +18 -6
  375. package/lib/steps/steps.d.ts +3 -3
  376. package/lib/steps/steps.less +26 -5
  377. package/lib/steps/steps.variable.css +24 -8
  378. package/lib/styles/index.d.ts +1 -0
  379. package/lib/styles/mixins/animate.css +4 -4
  380. package/lib/styles/mixins/animate.less +10 -6
  381. package/lib/styles/mixins/animate.variable.css +130 -4
  382. package/lib/styles/mixins/mixins.css +4 -4
  383. package/lib/styles/mixins/mixins.variable.css +4 -4
  384. package/lib/styles/mixins/popper.variable.css +6 -2
  385. package/lib/styles/mixins/scroll.variable.css +6 -2
  386. package/lib/styles/reset.variable.css +6 -2
  387. package/lib/styles/themes/themes.less +7 -3
  388. package/lib/swiper/index.d.ts +1 -1
  389. package/lib/swiper/index.js +337 -1
  390. package/lib/swiper/swiper.css +0 -6
  391. package/lib/swiper/swiper.less +0 -8
  392. package/lib/swiper/swiper.variable.css +6 -8
  393. package/lib/switcher/index.d.ts +34 -20
  394. package/lib/switcher/index.js +278 -1
  395. package/lib/switcher/switcher.css +4 -4
  396. package/lib/switcher/switcher.d.ts +76 -7
  397. package/lib/switcher/switcher.variable.css +10 -6
  398. package/lib/tab/index.d.ts +3 -3
  399. package/lib/tab/index.js +915 -1
  400. package/lib/tab/tab-nav.d.ts +12 -2
  401. package/lib/tab/tab-panel.d.ts +1 -1
  402. package/lib/tab/tab.variable.css +6 -2
  403. package/lib/table/components/table-cell.d.ts +22 -24
  404. package/lib/table/components/table-column.d.ts +100 -71
  405. package/lib/table/const.d.ts +25 -3
  406. package/lib/table/events.d.ts +26 -26
  407. package/lib/table/index.d.ts +309 -191
  408. package/lib/table/index.js +6562 -1
  409. package/lib/table/plugins/body-empty.d.ts +1 -1
  410. package/lib/table/plugins/head-filter.css +4 -28
  411. package/lib/table/plugins/head-filter.d.ts +2 -7
  412. package/lib/table/plugins/head-filter.less +5 -34
  413. package/lib/table/plugins/head-filter.variable.css +10 -30
  414. package/lib/table/plugins/head-sort.d.ts +2 -7
  415. package/lib/table/plugins/head-sort.variable.css +6 -2
  416. package/lib/table/plugins/settings.d.ts +2 -19
  417. package/lib/table/plugins/settings.variable.css +6 -2
  418. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  419. package/lib/table/plugins/use-fixed-column.d.ts +9 -9
  420. package/lib/table/plugins/use-head-cell.d.ts +7 -0
  421. package/lib/table/plugins/use-pagination.d.ts +8 -4
  422. package/lib/table/props.d.ts +84 -52
  423. package/lib/table/table.css +117 -53
  424. package/lib/table/table.d.ts +91 -68
  425. package/lib/table/table.less +70 -26
  426. package/lib/table/table.variable.css +123 -55
  427. package/lib/table/use-attributes.d.ts +59 -0
  428. package/lib/table/use-column.d.ts +264 -53
  429. package/lib/table/use-common.d.ts +1607 -88
  430. package/lib/table/use-render.d.ts +11 -0
  431. package/lib/table/utils.d.ts +34 -31
  432. package/lib/table-column/index.d.ts +356 -113
  433. package/lib/table-column/index.js +775 -1
  434. package/lib/tag/index.d.ts +10 -10
  435. package/lib/tag/index.js +234 -1
  436. package/lib/tag/tag.d.ts +5 -5
  437. package/lib/tag/tag.variable.css +6 -2
  438. package/lib/tag-input/index.d.ts +49 -7
  439. package/lib/tag-input/index.js +1678 -1
  440. package/lib/tag-input/list-tag-render.d.ts +11 -0
  441. package/lib/tag-input/tag-input.css +8 -0
  442. package/lib/tag-input/tag-input.d.ts +46 -6
  443. package/lib/tag-input/tag-input.less +9 -0
  444. package/lib/tag-input/tag-input.variable.css +14 -2
  445. package/lib/tag-input/tag-props.d.ts +16 -2
  446. package/lib/time-picker/index.d.ts +10 -4
  447. package/lib/time-picker/index.js +72 -1
  448. package/lib/time-picker/time-picker.css +4 -3
  449. package/lib/time-picker/time-picker.less +5 -9
  450. package/lib/time-picker/time-picker.variable.css +10 -5
  451. package/lib/timeline/index.d.ts +1 -1
  452. package/lib/timeline/index.js +241 -1
  453. package/lib/timeline/timeline.variable.css +6 -2
  454. package/lib/transfer/index.d.ts +1 -1
  455. package/lib/transfer/index.js +687 -1
  456. package/lib/transfer/transfer.css +2 -2
  457. package/lib/transfer/transfer.less +2 -2
  458. package/lib/transfer/transfer.variable.css +8 -4
  459. package/lib/tree/constant.d.ts +2 -2
  460. package/lib/tree/index.d.ts +70 -40
  461. package/lib/tree/index.js +2603 -1
  462. package/lib/tree/props.d.ts +20 -10
  463. package/lib/tree/tree.css +13 -1
  464. package/lib/tree/tree.d.ts +42 -21
  465. package/lib/tree/tree.variable.css +19 -3
  466. package/lib/tree/use-empty.d.ts +1 -3
  467. package/lib/tree/use-node-action.d.ts +5 -3
  468. package/lib/tree/use-node-attribute.d.ts +17 -8
  469. package/lib/tree/use-search.d.ts +2 -2
  470. package/lib/tree/use-tree-init.d.ts +1 -2
  471. package/lib/tree/util.d.ts +9 -3
  472. package/lib/upload/index.d.ts +1 -1
  473. package/lib/upload/index.js +2888 -2
  474. package/lib/upload/upload.css +4 -4
  475. package/lib/upload/upload.type.d.ts +1 -1
  476. package/lib/upload/upload.variable.css +10 -6
  477. package/lib/upload/use-file-handler.d.ts +2 -2
  478. package/lib/virtual-render/index.d.ts +43 -1
  479. package/lib/virtual-render/index.js +902 -1
  480. package/lib/virtual-render/props.d.ts +15 -0
  481. package/lib/virtual-render/use-fix-top.d.ts +18 -0
  482. package/lib/virtual-render/v-virtual-render.d.ts +24 -1
  483. package/lib/virtual-render/virtual-render.d.ts +25 -0
  484. package/lib/virtual-render/virtual-render.variable.css +6 -2
  485. package/lib/volar.components.d.ts +24 -24
  486. package/package.json +34 -19
  487. package/dist/index.cjs.source.js +0 -45605
  488. package/dist/index.esm.source.js +0 -45605
  489. package/dist/index.umd.source.js +0 -45608
  490. package/lib/cascader/index.js.LICENSE.txt +0 -1
  491. package/lib/dialog/index.js.LICENSE.txt +0 -1
  492. package/lib/directives/index.js.LICENSE.txt +0 -14
  493. package/lib/info-box/index.js.LICENSE.txt +0 -1
  494. package/lib/message/index.js.LICENSE.txt +0 -6
  495. package/lib/process/index.js.LICENSE.txt +0 -1
  496. package/lib/search-select/index.js.LICENSE.txt +0 -1
  497. package/lib/select/index.js.LICENSE.txt +0 -1
  498. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  499. package/lib/slider/index.js.LICENSE.txt +0 -1
  500. package/lib/steps/index.js.LICENSE.txt +0 -1
  501. package/lib/table/render.d.ts +0 -140
  502. package/lib/upload/index.js.LICENSE.txt +0 -1
  503. /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
  504. /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
  505. /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
package/lib/form/index.js CHANGED
@@ -1 +1,953 @@
1
- !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../config-provider"),require("lodash"),require("../directives"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider","lodash","../directives","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../config-provider"),require("lodash"),require("../directives"),require("../icon")):r(e["../shared"],e.vue,e["../config-provider"],e.lodash,e["../directives"],e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o,n,i)=>(()=>{"use strict";var s={2717:e=>{e.exports=t},4061:e=>{e.exports=n},6870:e=>{e.exports=i},4212:r=>{r.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=r}},a={};function l(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={exports:{}};return s[e](t,t.exports,l),t.exports}l.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return l.d(r,{a:r}),r},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{l.r(u),l.d(u,{BkComposeFormItem:()=>n,BkForm:()=>j,BkFormItem:()=>P,default:()=>S,formItemKey:()=>e.formItemKey,formKey:()=>e.formKey,useFormItem:()=>e.useFormItem});var e=l(4212),r=l(748),t=l(2717),o=function(e){return e.__v_isVNode};const n=(0,r.defineComponent)({name:"ComposeFormItem",props:{headBackgroundColor:{type:String,default:"#FAFBFD"},tailBackgroundColor:String},setup:function(){return{resolveClassName:(0,t.usePrefix)().resolveClassName}},render:function(){if(!this.$slots.default)return null;var e=this.$slots.default();if(e.length>1){for(var t=e.length,n=0,i=null;n<t;){if(o(e[n])){i=e[n];break}n+=1}for(var s=t-1,a=null;s>=0&&s>n;){if(o(e[s])){a=e[s];break}s-=1}if(i&&a){i.props||(i.props={});var l="".concat(this.resolveClassName("compose-form-item-head"));i.props.class&&(l+=" ".concat(i.props.class)),this.headBackgroundColor&&(i.props.style=Object.assign(i.props.style||{},{"background-color":this.headBackgroundColor})),i.props.class=l,a.props||(a.props={});var u="".concat(this.resolveClassName("compose-form-item-tail"));a.props.class&&(u+=" ".concat(a.props.class)),this.tailBackgroundColor&&(a.props.style=Object.assign(a.props.style||{},{"background-color":this.tailBackgroundColor})),a.props.class=u}}return(0,r.h)("div",{class:"".concat(this.resolveClassName("compose-form-item"))},e)}});function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,r,t){return(r=function(e){var r=function(e,r){if("object"!==i(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var a=l(467),c=l.n(a),p={formType:e.PropTypes.oneOf(["default","vertical"]).def("default"),labelWidth:e.PropTypes.oneOfType([Number,String]).def(150),labelPosition:e.PropTypes.oneOf(["left","center","right"]),model:e.PropTypes.object,rules:e.PropTypes.object},m={submit:null,validate:function(e,r,t){return(0,a.isString)(e)&&(0,a.isBoolean)(r)&&(0,a.isString)(t)}};const f=(0,r.defineComponent)({name:"Form",props:p,emits:m,setup:function(o,n){var i=[];return(0,r.provide)(e.formKey,{props:o,emit:n.emit,register:function(e){i.push(e)},unregister:function(e){i=i.reduce((function(r,t){return t!==e&&r.push(t),r}),[])}}),{handleSubmit:function(e){e.preventDefault(),n.emit("submit")},validate:function(e){var r={};return r=e?("string"==typeof e?[e]:e).reduce((function(e,r){return Object.assign(Object.assign({},e),s({},r,!0))}),{}):i.reduce((function(e,r){return r.property?Object.assign(Object.assign({},e),s({},r.property,!0)):e}),{}),Promise.all(i.reduce((function(e,t){return r[t.property]&&e.push(t.validate()),e}),[])).then((function(){return Promise.resolve(o.model)}))},getValidateResult:function(){return Promise.all(i.map((function(e){return e.validate(void 0,!1)}))).then((function(){return!0})).catch((function(){return!1}))},clearValidate:function(e){var r={};r=e?("string"==typeof e?[e]:e).reduce((function(e,r){return Object.assign(Object.assign({},e),s({},r,!0))}),{}):i.reduce((function(e,r){return Object.assign(Object.assign({},e),s({},r.property,!0))}),{}),i.forEach((function(e){return r[e.property]&&e.clearValidate()}))},resolveClassName:(0,t.usePrefix)().resolveClassName}},render:function(){var t,o,n,i=(0,e.classes)((s(t={},"".concat(this.resolveClassName("form")),!0),s(t,"".concat(this.resolveClassName("form--".concat(this.formType))),!0),t));return(0,r.createVNode)("form",{class:i,onSubmit:this.handleSubmit},[null===(n=(o=this.$slots).default)||void 0===n?void 0:n.call(o)])}});function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function v(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return d(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var g=l(4061),y=l(6870);const b={required:function(e){return!("number"!=typeof e&&"boolean"!=typeof e&&!c().isDate(e)&&c().isEmpty(e))},min:function(e,r){return e>=r},max:function(e,r){return r>=e},email:function(e){return/^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/.test(e)},maxlength:function(e,r){return e.length<=r},pattern:function(e,r){return r.test(e)}};var h={label:e.PropTypes.string,labelWidth:e.PropTypes.oneOfType([Number,String]),labelPosition:e.PropTypes.oneOf(["left","center","right"]),property:e.PropTypes.string.def(""),required:e.PropTypes.bool.def(!1),email:e.PropTypes.bool.def(!1),max:e.PropTypes.number,min:e.PropTypes.number,maxlength:e.PropTypes.number,rules:e.PropTypes.array,autoCheck:e.PropTypes.bool.def(!1),description:e.PropTypes.string,errorDisplayType:e.PropTypes.oneOf(["tooltips","normal"]).def("normal")},x=function(e){return void 0!==e};const P=(0,r.defineComponent)({name:"FormItem",directives:{bkTooltips:g.bkTooltips},props:h,setup:function(o,n){var i=(0,t.useLocale)("form"),l=(0,e.useForm)(),u=Boolean(l),c=(0,e.useFormItem)(),p=Boolean(c),m=(0,r.getCurrentInstance)(),f=(0,r.reactive)({isError:!1,errorMessage:""}),d=(0,r.computed)((function(){return!!u&&"vertical"===l.props.formType})),g=(0,r.computed)((function(){return!(!o.label&&!n.slots.label)})),y=(0,r.computed)((function(){var e={width:"",paddingRight:"",textAlign:""},r=o.labelPosition||u&&l.props.labelPosition;if(r&&(e["text-align"]=r),"vertical"===l.props.formType||!o.label&&p)return e;var t=x(o.labelWidth)?o.labelWidth:u&&l.props.labelWidth;return x(t)&&(e.width="".concat(t,"px"),e.paddingRight=t?"":"0px"),e})),h=(0,r.computed)((function(){return s({},"margin-left",y.value.width)})),P=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!o.property||u&&!l.props.model)return Promise.resolve(!0);var t,n,s=[];u&&l.props.rules&&(t=l.props.rules,n=o.property,Object.prototype.hasOwnProperty.call(t,n))&&(s=l.props.rules[o.property]),o.rules&&(s=o.rules),s=function(e,r){return r.reduce((function(r,t){return t.trigger&&e?((Array.isArray(t.trigger)?t.trigger:[t.trigger]).includes(e)&&r.push(t),r):(r.push(t),r)}),[])}(e,function(e,r,t){var o=!1,n=!1,i=e.reduce((function(e,r){var i;if(r.required)i=(0,a.isFunction)(r.validator)?r.validator:b.required,o=!0;else if(r.email)i=(0,a.isFunction)(r.validator)?r.validator:b.email,n=!0;else if(Number(r.max)>-1)i=function(e){return b.max(e,r.max)};else if(Number(r.min)>-1)i=function(e){return b.min(e,r.max)};else if(Number(r.maxlength)>-1)i=function(e){return b.min(e,r.max)};else if("[object RegExp]"===Object.prototype.toString.call(r.pattern))i=function(e){return b.pattern(e,r.pattern)};else{if(!(0,a.isFunction)(r.validator))return e;i=r.validator}return e.push({validator:i,message:r.message||t.value.verifyError,trigger:r.trigger||"blur"}),e}),[]),s=r.reduce((function(e,r){return r.required&&o||r.email&&n||e.push(r),e}),[]);return[].concat(v(s),v(i))}(s,function(e,r){var t=[],o=e.label||"";return e.required&&t.push({required:!0,validator:b.required,message:"".concat(o).concat(r.value.notBeEmpty),trigger:"change"}),e.email&&t.push({email:!0,validator:b.email,message:"".concat(o).concat(r.value.incorrectFormat),trigger:"change"}),Number(e.max)>-1&&t.push({validator:function(r){return b.max(r,e.max)},message:"".concat(o).concat(r.value.max," ").concat(e.max),trigger:"change"}),Number(e.min)>-1&&t.push({validator:function(r){return b.min(r,e.min)},message:"".concat(o).concat(r.value.min," ").concat(e.min),trigger:"change"}),Number(e.maxlength)>-1&&t.push({validator:function(r){return b.maxlength(r,e.maxlength)},message:"".concat(o).concat(r.value.maxLen," ").concat(e.maxlength),trigger:"change"}),t}(o,i),i)),s.length>0&&r&&(f.isError=!1,f.errorMessage="");var c,p=(0,a.get)(l.props.model,o.property),m=(c=-1,function(){if((c+=1)>=s.length)return l.emit("validate",o.property,!0,""),Promise.resolve(!0);var e=s[c];return Promise.resolve().then((function(){var t=e.validator(p),n=function(e){return"function"==typeof e.message?e.message():e.message}(e);return"boolean"!=typeof t&&"function"==typeof t.then?t.then((function(e){if(!1===e)return Promise.reject(n)})).then((function(){return m()}),(function(){return r&&(f.isError=!0,f.errorMessage=n),l.emit("validate",o.property,!1,n),Promise.reject(f.errorMessage)})):t?m():(r&&(f.isError=!0,f.errorMessage="string"==typeof t?t:n),l.emit("validate",o.property,!1,n),Promise.reject(f.errorMessage))}))});return m()},j=function(){f.isError=!1,f.errorMessage=""};(0,r.provide)(e.formItemKey,Object.assign(Object.assign({},o),{validate:P,clearValidate:j})),(0,r.onMounted)((function(){u&&l.register(m.proxy)})),(0,r.onBeforeUnmount)((function(){u&&l.unregister(m.proxy)}));var S=(0,t.usePrefix)().resolveClassName;return Object.assign(Object.assign({},(0,r.toRefs)(f)),{isShowLabel:g,labelStyles:y,contentStyles:h,isFormTypeVertical:d,validate:P,clearValidate:j,resolveClassName:S})},render:function(){var t,o,n,i,a,l=this,u=(0,e.classes)((s(t={},"".concat(this.resolveClassName("form-item")),!0),s(t,"is-error",this.isError),s(t,"is-required",this.required),t));return(0,r.createVNode)("div",{class:u},[this.isShowLabel&&(0,r.createVNode)("div",{class:"".concat(this.resolveClassName("form-label")),style:this.labelStyles},[l.$slots.label?l.$slots.label():l.description?(0,r.withDirectives)((0,r.createVNode)("span",{class:s({},"".concat(l.resolveClassName("form-label-description")),Boolean(l.description))},[l.label]),[[(0,r.resolveDirective)("bk-tooltips"),l.description]]):l.label,this.isFormTypeVertical&&(null===(n=(o=this.$slots).labelAppend)||void 0===n?void 0:n.call(o))]),(0,r.createVNode)("div",{class:"".concat(this.resolveClassName("form-content")),style:this.contentStyles},[null===(a=(i=this.$slots).default)||void 0===a?void 0:a.call(i),l.isError?"tooltips"===l.errorDisplayType?(0,r.withDirectives)((0,r.createVNode)("div",{class:"".concat(l.resolveClassName("form-error-tips"))},[(0,r.createVNode)(y.ExclamationCircleShape,null,null)]),[[(0,r.resolveDirective)("bk-tooltips"),l.errorMessage]]):(0,r.createVNode)("div",{class:"".concat(l.resolveClassName("form-error"))},[l.$slots.error?l.$slots.error(l.errorMessage):l.errorMessage]):null])])}});var j=(0,e.withInstallProps)(f,{FormItem:P,ComposeFormItem:n});const S=j})(),u})()));
1
+ import "./form.less";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
4
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
5
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__ from "lodash/isBoolean";
6
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__ from "lodash/isString";
7
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__ from "lodash/get";
8
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
9
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
10
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
11
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__ from "lodash/isDate";
12
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__ from "lodash/isEmpty";
13
+ /******/ // The require scope
14
+ /******/ var __webpack_require__ = {};
15
+ /******/
16
+ /************************************************************************/
17
+ /******/ /* webpack/runtime/define property getters */
18
+ /******/ (() => {
19
+ /******/ // define getter functions for harmony exports
20
+ /******/ __webpack_require__.d = (exports, definition) => {
21
+ /******/ for(var key in definition) {
22
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
23
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
24
+ /******/ }
25
+ /******/ }
26
+ /******/ };
27
+ /******/ })();
28
+ /******/
29
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
30
+ /******/ (() => {
31
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
32
+ /******/ })();
33
+ /******/
34
+ /************************************************************************/
35
+ var __webpack_exports__ = {};
36
+
37
+ // EXPORTS
38
+ __webpack_require__.d(__webpack_exports__, {
39
+ kq: () => (/* reexport */ compose_form_item),
40
+ ZD: () => (/* binding */ BkForm),
41
+ a_: () => (/* reexport */ form_item),
42
+ ZP: () => (/* binding */ src),
43
+ xE: () => (/* reexport */ shared_namespaceObject.formItemKey),
44
+ vh: () => (/* reexport */ shared_namespaceObject.formKey),
45
+ A9: () => (/* reexport */ shared_namespaceObject.useFormItem)
46
+ });
47
+
48
+ ;// CONCATENATED MODULE: external "../shared"
49
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
50
+ var y = x => () => x
51
+ 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 });
52
+ ;// CONCATENATED MODULE: external "vue"
53
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
54
+ var external_vue_y = x => () => x
55
+ 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 });
56
+ ;// CONCATENATED MODULE: external "../config-provider"
57
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
58
+ var config_provider_y = x => () => x
59
+ 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 });
60
+ ;// CONCATENATED MODULE: ../../packages/form/src/compose-form-item.tsx
61
+ /*
62
+ * Tencent is pleased to support the open source community by making
63
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
64
+ *
65
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
66
+ *
67
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
68
+ *
69
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
70
+ *
71
+ * ---------------------------------------------------
72
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
73
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
74
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
75
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
76
+ *
77
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
78
+ * the Software.
79
+ *
80
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
81
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
82
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
83
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
84
+ * IN THE SOFTWARE.
85
+ */
86
+
87
+
88
+ var isCustomComponent = function isCustomComponent(node) {
89
+ return node.__v_isVNode;
90
+ };
91
+ /* harmony default export */ const compose_form_item = ((0,external_vue_namespaceObject.defineComponent)({
92
+ name: 'ComposeFormItem',
93
+ props: {
94
+ headBackgroundColor: {
95
+ type: String,
96
+ "default": '#FAFBFD'
97
+ },
98
+ tailBackgroundColor: String
99
+ },
100
+ setup: function setup() {
101
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
102
+ resolveClassName = _usePrefix.resolveClassName;
103
+ return {
104
+ resolveClassName: resolveClassName
105
+ };
106
+ },
107
+ render: function render() {
108
+ if (!this.$slots["default"]) {
109
+ return null;
110
+ }
111
+ var childrenArr = this.$slots["default"]();
112
+ if (childrenArr.length > 1) {
113
+ var childrenLength = childrenArr.length;
114
+ var startIndex = 0;
115
+ var headChildren = null;
116
+ while (startIndex < childrenLength) {
117
+ if (isCustomComponent(childrenArr[startIndex])) {
118
+ headChildren = childrenArr[startIndex];
119
+ break;
120
+ }
121
+ startIndex = startIndex + 1;
122
+ }
123
+ var tailIndex = childrenLength - 1;
124
+ var tailChildren = null;
125
+ while (tailIndex >= 0 && tailIndex > startIndex) {
126
+ if (isCustomComponent(childrenArr[tailIndex])) {
127
+ tailChildren = childrenArr[tailIndex];
128
+ break;
129
+ }
130
+ tailIndex = tailIndex - 1;
131
+ }
132
+ if (headChildren && tailChildren) {
133
+ if (!headChildren.props) {
134
+ headChildren.props = {};
135
+ }
136
+ var headChildClass = "".concat(this.resolveClassName('compose-form-item-head'));
137
+ if (headChildren.props["class"]) {
138
+ headChildClass += " ".concat(headChildren.props["class"]);
139
+ }
140
+ if (this.headBackgroundColor) {
141
+ headChildren.props.style = Object.assign(headChildren.props.style || {}, {
142
+ 'background-color': this.headBackgroundColor
143
+ });
144
+ }
145
+ headChildren.props["class"] = headChildClass;
146
+ if (!tailChildren.props) {
147
+ tailChildren.props = {};
148
+ }
149
+ var tailChildStaticClass = "".concat(this.resolveClassName('compose-form-item-tail'));
150
+ if (tailChildren.props["class"]) {
151
+ tailChildStaticClass += " ".concat(tailChildren.props["class"]);
152
+ }
153
+ if (this.tailBackgroundColor) {
154
+ tailChildren.props.style = Object.assign(tailChildren.props.style || {}, {
155
+ 'background-color': this.tailBackgroundColor
156
+ });
157
+ }
158
+ tailChildren.props["class"] = tailChildStaticClass;
159
+ }
160
+ }
161
+ return (0,external_vue_namespaceObject.h)('div', {
162
+ "class": "".concat(this.resolveClassName('compose-form-item'))
163
+ }, childrenArr);
164
+ }
165
+ }));
166
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
167
+ function _typeof(obj) {
168
+ "@babel/helpers - typeof";
169
+
170
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
171
+ return typeof obj;
172
+ } : function (obj) {
173
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
174
+ }, _typeof(obj);
175
+ }
176
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
177
+
178
+ function _toPrimitive(input, hint) {
179
+ if (_typeof(input) !== "object" || input === null) return input;
180
+ var prim = input[Symbol.toPrimitive];
181
+ if (prim !== undefined) {
182
+ var res = prim.call(input, hint || "default");
183
+ if (_typeof(res) !== "object") return res;
184
+ throw new TypeError("@@toPrimitive must return a primitive value.");
185
+ }
186
+ return (hint === "string" ? String : Number)(input);
187
+ }
188
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
189
+
190
+
191
+ function _toPropertyKey(arg) {
192
+ var key = _toPrimitive(arg, "string");
193
+ return _typeof(key) === "symbol" ? key : String(key);
194
+ }
195
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
196
+
197
+ function _defineProperty(obj, key, value) {
198
+ key = _toPropertyKey(key);
199
+ if (key in obj) {
200
+ Object.defineProperty(obj, key, {
201
+ value: value,
202
+ enumerable: true,
203
+ configurable: true,
204
+ writable: true
205
+ });
206
+ } else {
207
+ obj[key] = value;
208
+ }
209
+ return obj;
210
+ }
211
+ ;// CONCATENATED MODULE: external "lodash/isBoolean"
212
+ var isBoolean_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
213
+ var isBoolean_y = x => () => x
214
+ const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"] });
215
+ ;// CONCATENATED MODULE: external "lodash/isString"
216
+ var isString_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
217
+ var isString_y = x => () => x
218
+ const isString_namespaceObject = isString_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"] });
219
+ ;// CONCATENATED MODULE: ../../packages/form/src/form.tsx
220
+
221
+
222
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
223
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
224
+ /*
225
+ * Tencent is pleased to support the open source community by making
226
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
227
+ *
228
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
229
+ *
230
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
231
+ *
232
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
233
+ *
234
+ * ---------------------------------------------------
235
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
236
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
237
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
238
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
239
+ *
240
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
241
+ * the Software.
242
+ *
243
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
244
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
245
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
246
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
247
+ * IN THE SOFTWARE.
248
+ */
249
+
250
+
251
+
252
+
253
+
254
+ var formProps = {
255
+ formType: shared_namespaceObject.PropTypes.oneOf(['default', 'vertical']).def('default'),
256
+ labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]).def(150),
257
+ labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
258
+ model: shared_namespaceObject.PropTypes.object,
259
+ rules: shared_namespaceObject.PropTypes.object
260
+ };
261
+ var formEvents = {
262
+ submit: null,
263
+ validate: function validate(property, result, message) {
264
+ return (0,isString_namespaceObject["default"])(property) && (0,isBoolean_namespaceObject["default"])(result) && (0,isString_namespaceObject["default"])(message);
265
+ }
266
+ };
267
+ /* harmony default export */ const src_form = ((0,external_vue_namespaceObject.defineComponent)({
268
+ // eslint-disable-next-line vue/no-reserved-component-names
269
+ name: 'Form',
270
+ props: formProps,
271
+ emits: formEvents,
272
+ setup: function setup(props, context) {
273
+ // form-item 列表
274
+ var formItemInstanceList = [];
275
+ /**
276
+ * @desc 注册 form-item
277
+ * @param { IFormItemContext } formItemInstance
278
+ */
279
+ var register = function register(formItemInstance) {
280
+ formItemInstanceList.push(formItemInstance);
281
+ };
282
+ /**
283
+ * @desc 卸载 form-item
284
+ * @param { IFormItemContext } formItemInstance
285
+ */
286
+ var unregister = function unregister(formItemInstance) {
287
+ formItemInstanceList = formItemInstanceList.reduce(function (result, item) {
288
+ if (item !== formItemInstance) {
289
+ result.push(item);
290
+ }
291
+ return result;
292
+ }, []);
293
+ };
294
+ (0,external_vue_namespaceObject.provide)(shared_namespaceObject.formKey, {
295
+ props: props,
296
+ emit: context.emit,
297
+ register: register,
298
+ unregister: unregister
299
+ });
300
+ var handleSubmit = function handleSubmit(event) {
301
+ event.preventDefault();
302
+ context.emit('submit');
303
+ };
304
+ /**
305
+ * @desc 验证表单
306
+ * @param { string | Array<string> } fields 指定表单字段
307
+ * @returns { Promise<[]> }
308
+ */
309
+ var validate = function validate(fields) {
310
+ var fieldMap = {};
311
+ if (fields) {
312
+ var fieldList = typeof fields === 'string' ? [fields] : fields;
313
+ fieldMap = fieldList.reduce(function (result, item) {
314
+ return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item, true));
315
+ }, {});
316
+ } else {
317
+ fieldMap = formItemInstanceList.reduce(function (result, item) {
318
+ if (item.property) {
319
+ return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item.property, true));
320
+ }
321
+ return result;
322
+ }, {});
323
+ }
324
+ return Promise.all(formItemInstanceList.reduce(function (result, formItem) {
325
+ if (fieldMap[formItem.property]) {
326
+ result.push(formItem.validate());
327
+ }
328
+ return result;
329
+ }, [])).then(function () {
330
+ return Promise.resolve(props.model);
331
+ });
332
+ };
333
+ /**
334
+ * @desc 获取表单的验证的结果(所有表单项验证成功返回 true)
335
+ * @returns { Promise<Boolean> }
336
+ */
337
+ var getValidateResult = function getValidateResult() {
338
+ return Promise.all(formItemInstanceList.map(function (formItem) {
339
+ return formItem.validate(undefined, false);
340
+ })).then(function () {
341
+ return true;
342
+ })["catch"](function () {
343
+ return false;
344
+ });
345
+ };
346
+ /**
347
+ * @desc 清除表单验证错误信息
348
+ * @param { string | Array<string> } fields 指定表单字段
349
+ */
350
+ var clearValidate = function clearValidate(fields) {
351
+ var fieldMap = {};
352
+ if (fields) {
353
+ var fieldList = typeof fields === 'string' ? [fields] : fields;
354
+ fieldMap = fieldList.reduce(function (result, item) {
355
+ return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item, true));
356
+ }, {});
357
+ } else {
358
+ fieldMap = formItemInstanceList.reduce(function (result, item) {
359
+ return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, item.property, true));
360
+ }, {});
361
+ }
362
+ formItemInstanceList.forEach(function (formItem) {
363
+ return fieldMap[formItem.property] && formItem.clearValidate();
364
+ });
365
+ };
366
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
367
+ resolveClassName = _usePrefix.resolveClassName;
368
+ return {
369
+ handleSubmit: handleSubmit,
370
+ validate: validate,
371
+ getValidateResult: getValidateResult,
372
+ clearValidate: clearValidate,
373
+ resolveClassName: resolveClassName
374
+ };
375
+ },
376
+ render: function render() {
377
+ var _classes, _this$$slots$default, _this$$slots;
378
+ var formClasses = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('form')), true), _defineProperty(_classes, "".concat(this.resolveClassName("form--".concat(this.formType))), true), _classes));
379
+ return (0,external_vue_namespaceObject.createVNode)("form", {
380
+ "class": formClasses,
381
+ "onSubmit": this.handleSubmit
382
+ }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
383
+ }
384
+ }));
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 "lodash/get"
423
+ var get_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
424
+ var get_y = x => () => x
425
+ const get_namespaceObject = get_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"] });
426
+ ;// CONCATENATED MODULE: external "lodash/isFunction"
427
+ var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
428
+ var isFunction_y = x => () => x
429
+ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
430
+ ;// CONCATENATED MODULE: external "../directives"
431
+ var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
432
+ var directives_y = x => () => x
433
+ const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
434
+ ;// CONCATENATED MODULE: external "../icon"
435
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
436
+ var icon_y = x => () => x
437
+ const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
438
+ ;// CONCATENATED MODULE: ../../packages/form/src/utils.ts
439
+ /*
440
+ * Tencent is pleased to support the open source community by making
441
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
442
+ *
443
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
444
+ *
445
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
446
+ *
447
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
448
+ *
449
+ * ---------------------------------------------------
450
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
451
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
452
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
453
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
454
+ *
455
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
456
+ * the Software.
457
+ *
458
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
459
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
460
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
461
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
462
+ * IN THE SOFTWARE.
463
+ */
464
+ var getRuleMessage = function getRuleMessage(rule) {
465
+ if (typeof rule.message === 'function') {
466
+ return rule.message();
467
+ }
468
+ return rule.message;
469
+ };
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
479
+ /*
480
+ * Tencent is pleased to support the open source community by making
481
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
482
+ *
483
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
484
+ *
485
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
486
+ *
487
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
488
+ *
489
+ * ---------------------------------------------------
490
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
491
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
492
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
493
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
494
+ *
495
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
496
+ * the Software.
497
+ *
498
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
499
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
500
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
501
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
502
+ * IN THE SOFTWARE.
503
+ */
504
+
505
+
506
+ /* harmony default export */ const src_validator = ({
507
+ required: function required(value) {
508
+ if (typeof value === 'number' || typeof value === 'boolean' || (0,isDate_namespaceObject["default"])(value)) {
509
+ return true;
510
+ }
511
+ return !(0,isEmpty_namespaceObject["default"])(value);
512
+ },
513
+ min: function min(value, _min) {
514
+ return value >= _min;
515
+ },
516
+ max: function max(value, _max) {
517
+ return _max >= value;
518
+ },
519
+ email: function email(value) {
520
+ return /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/.test(value);
521
+ },
522
+ maxlength: function maxlength(value, _maxlength) {
523
+ return value.length <= _maxlength;
524
+ },
525
+ pattern: function pattern(value, _pattern) {
526
+ return _pattern.test(value);
527
+ }
528
+ });
529
+ ;// CONCATENATED MODULE: ../../packages/form/src/form-item.tsx
530
+
531
+
532
+
533
+ function form_item_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
534
+ function form_item_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? form_item_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : form_item_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
535
+ /*
536
+ * Tencent is pleased to support the open source community by making
537
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
538
+ *
539
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
540
+ *
541
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
542
+ *
543
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
544
+ *
545
+ * ---------------------------------------------------
546
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
547
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
548
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
549
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
550
+ *
551
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
552
+ * the Software.
553
+ *
554
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
555
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
556
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
557
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
558
+ * IN THE SOFTWARE.
559
+ */
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+ var formItemProps = {
570
+ label: shared_namespaceObject.PropTypes.string,
571
+ labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]),
572
+ labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
573
+ property: shared_namespaceObject.PropTypes.string.def(''),
574
+ required: shared_namespaceObject.PropTypes.bool.def(false),
575
+ email: shared_namespaceObject.PropTypes.bool.def(false),
576
+ max: shared_namespaceObject.PropTypes.number,
577
+ min: shared_namespaceObject.PropTypes.number,
578
+ maxlength: shared_namespaceObject.PropTypes.number,
579
+ rules: shared_namespaceObject.PropTypes.array,
580
+ autoCheck: shared_namespaceObject.PropTypes.bool.def(false),
581
+ description: shared_namespaceObject.PropTypes.string,
582
+ errorDisplayType: shared_namespaceObject.PropTypes.oneOf(['tooltips', 'normal']).def('normal')
583
+ };
584
+ var hasOwn = function hasOwn(obj, key) {
585
+ return Object.prototype.hasOwnProperty.call(obj, key);
586
+ };
587
+ var getRulesFromProps = function getRulesFromProps(props, t) {
588
+ var rules = [];
589
+ var label = props.label || '';
590
+ if (props.required) {
591
+ rules.push({
592
+ required: true,
593
+ validator: src_validator.required,
594
+ message: "".concat(label).concat(t.value.notBeEmpty),
595
+ trigger: 'change'
596
+ });
597
+ }
598
+ if (props.email) {
599
+ rules.push({
600
+ email: true,
601
+ validator: src_validator.email,
602
+ message: "".concat(label).concat(t.value.incorrectFormat),
603
+ trigger: 'change'
604
+ });
605
+ }
606
+ if (Number(props.max) > -1) {
607
+ rules.push({
608
+ validator: function validator(value) {
609
+ return src_validator.max(value, props.max);
610
+ },
611
+ message: "".concat(label).concat(t.value.max, " ").concat(props.max),
612
+ trigger: 'change'
613
+ });
614
+ }
615
+ if (Number(props.min) > -1) {
616
+ rules.push({
617
+ validator: function validator(value) {
618
+ return src_validator.min(value, props.min);
619
+ },
620
+ message: "".concat(label).concat(t.value.min, " ").concat(props.min),
621
+ trigger: 'change'
622
+ });
623
+ }
624
+ if (Number(props.maxlength) > -1) {
625
+ rules.push({
626
+ validator: function validator(value) {
627
+ return src_validator.maxlength(value, props.maxlength);
628
+ },
629
+ message: "".concat(label).concat(t.value.maxLen, " ").concat(props.maxlength),
630
+ trigger: 'change'
631
+ });
632
+ }
633
+ return rules;
634
+ };
635
+ var mergeRules = function mergeRules(configRules, propRules, t) {
636
+ var customRequired = false;
637
+ var customEmail = false;
638
+ var formatConfigRules = configRules.reduce(function (result, rule) {
639
+ var rulevalidator;
640
+ if (rule.required) {
641
+ rulevalidator = (0,isFunction_namespaceObject["default"])(rule.validator) ? rule.validator : src_validator.required;
642
+ customRequired = true;
643
+ } else if (rule.email) {
644
+ rulevalidator = (0,isFunction_namespaceObject["default"])(rule.validator) ? rule.validator : src_validator.email;
645
+ customEmail = true;
646
+ } else if (Number(rule.max) > -1) {
647
+ rulevalidator = function rulevalidator(value) {
648
+ return src_validator.max(value, rule.max);
649
+ };
650
+ } else if (Number(rule.min) > -1) {
651
+ rulevalidator = function rulevalidator(value) {
652
+ return src_validator.min(value, rule.max);
653
+ };
654
+ } else if (Number(rule.maxlength) > -1) {
655
+ rulevalidator = function rulevalidator(value) {
656
+ return src_validator.min(value, rule.max);
657
+ };
658
+ } else if (Object.prototype.toString.call(rule.pattern) === '[object RegExp]') {
659
+ rulevalidator = function rulevalidator(value) {
660
+ return src_validator.pattern(value, rule.pattern);
661
+ };
662
+ } else if ((0,isFunction_namespaceObject["default"])(rule.validator)) {
663
+ rulevalidator = rule.validator;
664
+ } else {
665
+ // 不支持的配置规则
666
+ return result;
667
+ }
668
+ result.push({
669
+ validator: rulevalidator,
670
+ message: rule.message || t.value.verifyError,
671
+ trigger: rule.trigger || 'blur'
672
+ });
673
+ return result;
674
+ }, []);
675
+ // 自定义配置验证规则覆盖内置验证规则
676
+ var filterPropRules = propRules.reduce(function (result, ruleItem) {
677
+ if (ruleItem.required && customRequired) {
678
+ return result;
679
+ }
680
+ if (ruleItem.email && customEmail) {
681
+ return result;
682
+ }
683
+ result.push(ruleItem);
684
+ return result;
685
+ }, []);
686
+ return [].concat(_toConsumableArray(filterPropRules), _toConsumableArray(formatConfigRules));
687
+ };
688
+ var getTriggerRules = function getTriggerRules(trigger, rules) {
689
+ return rules.reduce(function (result, rule) {
690
+ if (!rule.trigger || !trigger) {
691
+ result.push(rule);
692
+ return result;
693
+ }
694
+ var ruleTriggerList = Array.isArray(rule.trigger) ? rule.trigger : [rule.trigger];
695
+ if (ruleTriggerList.includes(trigger)) {
696
+ result.push(rule);
697
+ }
698
+ return result;
699
+ }, []);
700
+ };
701
+ var isValid = function isValid(value) {
702
+ return value !== undefined;
703
+ };
704
+ /* harmony default export */ const form_item = ((0,external_vue_namespaceObject.defineComponent)({
705
+ name: 'FormItem',
706
+ directives: {
707
+ bkTooltips: directives_namespaceObject.bkTooltips
708
+ },
709
+ props: formItemProps,
710
+ setup: function setup(props, context) {
711
+ var t = (0,config_provider_namespaceObject.useLocale)('form');
712
+ var form = (0,shared_namespaceObject.useForm)();
713
+ var isForm = Boolean(form);
714
+ var parentFormItem = (0,shared_namespaceObject.useFormItem)();
715
+ var isNested = Boolean(parentFormItem);
716
+ var currentInstance = (0,external_vue_namespaceObject.getCurrentInstance)();
717
+ var state = (0,external_vue_namespaceObject.reactive)({
718
+ isError: false,
719
+ errorMessage: ''
720
+ });
721
+ var isFormTypeVertical = (0,external_vue_namespaceObject.computed)(function () {
722
+ if (!isForm) {
723
+ return false;
724
+ }
725
+ return form.props.formType === 'vertical';
726
+ });
727
+ var isShowLabel = (0,external_vue_namespaceObject.computed)(function () {
728
+ if (props.label || context.slots.label) {
729
+ return true;
730
+ }
731
+ return false;
732
+ });
733
+ var labelStyles = (0,external_vue_namespaceObject.computed)(function () {
734
+ var styles = {
735
+ width: '',
736
+ paddingRight: '',
737
+ textAlign: ''
738
+ };
739
+ var labelPosition = props.labelPosition || isForm && form.props.labelPosition;
740
+ if (labelPosition) {
741
+ styles['text-align'] = labelPosition;
742
+ }
743
+ if (form.props.formType === 'vertical' || !props.label && isNested) {
744
+ return styles;
745
+ }
746
+ var labelWidth = isValid(props.labelWidth) ? props.labelWidth : isForm && form.props.labelWidth;
747
+ if (isValid(labelWidth)) {
748
+ styles.width = "".concat(labelWidth, "px");
749
+ styles.paddingRight = labelWidth ? '' : '0px';
750
+ }
751
+ return styles;
752
+ });
753
+ var contentStyles = (0,external_vue_namespaceObject.computed)(function () {
754
+ return _defineProperty({}, 'margin-left', labelStyles.value.width);
755
+ });
756
+ /**
757
+ * @desc 验证字段
758
+ *
759
+ * @param { undefined | string } trigger 验证触发方式
760
+ * @param { boolean } showError 是否展示错误信息
761
+ */
762
+ var validate = function validate(trigger) {
763
+ var showError = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
764
+ // 没有设置 property 不进行验证
765
+ if (!props.property || isForm && !form.props.model) {
766
+ return Promise.resolve(true);
767
+ }
768
+ var rules = [];
769
+ // 继承 form 的验证规则
770
+ if (isForm && form.props.rules && hasOwn(form.props.rules, props.property)) {
771
+ rules = form.props.rules[props.property];
772
+ }
773
+ // form-item 自己的 rules 规则优先级更高
774
+ if (props.rules) {
775
+ rules = props.rules;
776
+ }
777
+ // 合并规则属性配置
778
+ rules = getTriggerRules(trigger, mergeRules(rules, getRulesFromProps(props, t), t));
779
+ // 重新触发验证重置上次的验证状态
780
+ if (rules.length > 0 && showError) {
781
+ state.isError = false;
782
+ state.errorMessage = '';
783
+ }
784
+ var value = (0,get_namespaceObject["default"])(form.props.model, props.property);
785
+ var doValidate = function () {
786
+ var stepIndex = -1;
787
+ return function () {
788
+ stepIndex = stepIndex + 1;
789
+ // form-item 验证通过
790
+ if (stepIndex >= rules.length) {
791
+ form.emit('validate', props.property, true, '');
792
+ return Promise.resolve(true);
793
+ }
794
+ var rule = rules[stepIndex];
795
+ return Promise.resolve().then(function () {
796
+ var result = rule.validator(value);
797
+ var errorMessage = getRuleMessage(rule);
798
+ // 异步验证(validator 返回一个 Promise)
799
+ if (typeof result !== 'boolean' && typeof result.then === 'function') {
800
+ return result.then(function (data) {
801
+ // 异步验证结果为 false
802
+ if (data === false) {
803
+ return Promise.reject(errorMessage);
804
+ }
805
+ }).then(function () {
806
+ return doValidate();
807
+ }, function () {
808
+ if (showError) {
809
+ state.isError = true;
810
+ state.errorMessage = errorMessage;
811
+ }
812
+ form.emit('validate', props.property, false, errorMessage);
813
+ return Promise.reject(state.errorMessage);
814
+ });
815
+ }
816
+ // 同步验证失败
817
+ if (!result) {
818
+ if (showError) {
819
+ state.isError = true;
820
+ // 验证结果返回的是 String 表示验证失败,返回结果作为错误信息
821
+ state.errorMessage = typeof result === 'string' ? result : errorMessage;
822
+ }
823
+ form.emit('validate', props.property, false, errorMessage);
824
+ return Promise.reject(state.errorMessage);
825
+ }
826
+ // 下一步
827
+ return doValidate();
828
+ });
829
+ };
830
+ }();
831
+ return doValidate();
832
+ };
833
+ /**
834
+ * @desc 清除验证状态
835
+ */
836
+ var clearValidate = function clearValidate() {
837
+ state.isError = false;
838
+ state.errorMessage = '';
839
+ };
840
+ (0,external_vue_namespaceObject.provide)(shared_namespaceObject.formItemKey, form_item_objectSpread(form_item_objectSpread({}, props), {}, {
841
+ validate: validate,
842
+ clearValidate: clearValidate
843
+ }));
844
+ (0,external_vue_namespaceObject.onMounted)(function () {
845
+ if (isForm) {
846
+ form.register(currentInstance.proxy);
847
+ }
848
+ });
849
+ (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
850
+ if (isForm) {
851
+ form.unregister(currentInstance.proxy);
852
+ }
853
+ });
854
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
855
+ resolveClassName = _usePrefix.resolveClassName;
856
+ return form_item_objectSpread(form_item_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
857
+ isShowLabel: isShowLabel,
858
+ labelStyles: labelStyles,
859
+ contentStyles: contentStyles,
860
+ isFormTypeVertical: isFormTypeVertical,
861
+ validate: validate,
862
+ clearValidate: clearValidate,
863
+ resolveClassName: resolveClassName
864
+ });
865
+ },
866
+ render: function render() {
867
+ var _classes,
868
+ _this = this,
869
+ _this$$slots$labelApp,
870
+ _this$$slots,
871
+ _this$$slots$default,
872
+ _this$$slots2;
873
+ var itemClassees = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('form-item')), true), _defineProperty(_classes, 'is-error', this.isError), _defineProperty(_classes, 'is-required', this.required), _classes));
874
+ var renderLabel = function renderLabel() {
875
+ if (_this.$slots.label) {
876
+ return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.$slots.label()]);
877
+ }
878
+ if (_this.description) {
879
+ return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("span", {
880
+ "class": _defineProperty({}, "".concat(_this.resolveClassName('form-label-description')), Boolean(_this.description))
881
+ }, [_this.label]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.description]]);
882
+ }
883
+ return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.label]);
884
+ };
885
+ var renderError = function renderError() {
886
+ if (!_this.isError) {
887
+ return null;
888
+ }
889
+ if (_this.errorDisplayType === 'tooltips') {
890
+ return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
891
+ "class": "".concat(_this.resolveClassName('form-error-tips'))
892
+ }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.errorMessage]]);
893
+ }
894
+ return (0,external_vue_namespaceObject.createVNode)("div", {
895
+ "class": "".concat(_this.resolveClassName('form-error'))
896
+ }, [_this.$slots.error ? _this.$slots.error(_this.errorMessage) : _this.errorMessage]);
897
+ };
898
+ return (0,external_vue_namespaceObject.createVNode)("div", {
899
+ "class": itemClassees
900
+ }, [this.isShowLabel && (0,external_vue_namespaceObject.createVNode)("div", {
901
+ "class": "".concat(this.resolveClassName('form-label')),
902
+ "style": this.labelStyles
903
+ }, [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", {
904
+ "class": "".concat(this.resolveClassName('form-content')),
905
+ "style": this.contentStyles
906
+ }, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
907
+ }
908
+ }));
909
+ ;// CONCATENATED MODULE: ../../packages/form/src/index.ts
910
+ /*
911
+ * Tencent is pleased to support the open source community by making
912
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
913
+ *
914
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
915
+ *
916
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
917
+ *
918
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
919
+ *
920
+ * ---------------------------------------------------
921
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
922
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
923
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
924
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
925
+ *
926
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
927
+ * the Software.
928
+ *
929
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
930
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
931
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
932
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
933
+ * IN THE SOFTWARE.
934
+ */
935
+
936
+
937
+
938
+
939
+
940
+ var BkForm = (0,shared_namespaceObject.withInstallProps)(src_form, {
941
+ FormItem: form_item,
942
+ ComposeFormItem: compose_form_item
943
+ });
944
+ /* harmony default export */ const src = (BkForm);
945
+
946
+ var __webpack_exports__BkComposeFormItem = __webpack_exports__.kq;
947
+ var __webpack_exports__BkForm = __webpack_exports__.ZD;
948
+ var __webpack_exports__BkFormItem = __webpack_exports__.a_;
949
+ var __webpack_exports__default = __webpack_exports__.ZP;
950
+ var __webpack_exports__formItemKey = __webpack_exports__.xE;
951
+ var __webpack_exports__formKey = __webpack_exports__.vh;
952
+ var __webpack_exports__useFormItem = __webpack_exports__.A9;
953
+ export { __webpack_exports__BkComposeFormItem as BkComposeFormItem, __webpack_exports__BkForm as BkForm, __webpack_exports__BkFormItem as BkFormItem, __webpack_exports__default as default, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__useFormItem as useFormItem };