bkui-vue 0.0.2-table-refactor.8 → 0.0.3-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 (394) hide show
  1. package/dist/index.cjs.js +135 -161
  2. package/dist/index.esm.js +17059 -19431
  3. package/dist/index.umd.js +135 -161
  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.variable.css +6 -2
  15. package/lib/affix/index.js +321 -1
  16. package/lib/alert/alert.variable.css +6 -2
  17. package/lib/alert/index.js +214 -1
  18. package/lib/animate-number/index.js +155 -1
  19. package/lib/backtop/backtop.variable.css +6 -2
  20. package/lib/backtop/index.js +188 -1
  21. package/lib/badge/badge.css +8 -2
  22. package/lib/badge/badge.less +8 -4
  23. package/lib/badge/badge.variable.css +14 -4
  24. package/lib/badge/index.js +235 -1
  25. package/lib/breadcrumb/breadcrumb.variable.css +6 -2
  26. package/lib/breadcrumb/index.js +309 -1
  27. package/lib/button/button-group.d.ts +2 -2
  28. package/lib/button/button.css +10 -7
  29. package/lib/button/button.d.ts +1 -1
  30. package/lib/button/button.less +98 -93
  31. package/lib/button/button.variable.css +24 -17
  32. package/lib/button/index.d.ts +5 -5
  33. package/lib/button/index.js +321 -1
  34. package/lib/card/card.css +7 -7
  35. package/lib/card/card.less +7 -7
  36. package/lib/card/card.variable.css +13 -9
  37. package/lib/card/index.js +285 -1
  38. package/lib/cascader/cascader-panel.d.ts +1 -0
  39. package/lib/cascader/cascader.css +3 -3
  40. package/lib/cascader/cascader.d.ts +1 -0
  41. package/lib/cascader/cascader.less +4 -6
  42. package/lib/cascader/cascader.variable.css +9 -5
  43. package/lib/cascader/index.d.ts +4 -0
  44. package/lib/cascader/index.js +2053 -2
  45. package/lib/checkbox/checkbox.css +13 -1
  46. package/lib/checkbox/checkbox.d.ts +13 -10
  47. package/lib/checkbox/checkbox.less +15 -1
  48. package/lib/checkbox/checkbox.variable.css +19 -3
  49. package/lib/checkbox/common.d.ts +1 -0
  50. package/lib/checkbox/index.d.ts +28 -19
  51. package/lib/checkbox/index.js +569 -1
  52. package/lib/code-diff/code-diff.variable.css +6 -2
  53. package/lib/code-diff/index.js +5501 -1
  54. package/lib/collapse/collapse.variable.css +6 -2
  55. package/lib/collapse/index.js +570 -1
  56. package/lib/collapse-transition/collapse-transition.variable.css +6 -2
  57. package/lib/collapse-transition/index.js +177 -1
  58. package/lib/color-picker/color-picker.variable.css +6 -2
  59. package/lib/color-picker/index.js +2665 -1
  60. package/lib/components.js +530 -1
  61. package/lib/config-provider/config-provider.d.ts +18 -0
  62. package/lib/config-provider/config-provider.variable.css +6 -2
  63. package/lib/config-provider/index.d.ts +24 -0
  64. package/lib/config-provider/index.js +365 -1
  65. package/lib/config-provider/token.d.ts +6 -0
  66. package/lib/container/container.variable.css +6 -2
  67. package/lib/container/index.js +391 -1
  68. package/lib/date-picker/common.d.ts +2 -0
  69. package/lib/date-picker/date-picker.d.ts +3 -1
  70. package/lib/date-picker/date-picker.variable.css +6 -2
  71. package/lib/date-picker/index.d.ts +9 -3
  72. package/lib/date-picker/index.js +5629 -1
  73. package/lib/date-picker/panel/date.d.ts +2 -2
  74. package/lib/date-picker/panel/time-range.d.ts +17 -0
  75. package/lib/date-picker/panel/time.d.ts +17 -1
  76. package/lib/date-picker/time-picker.d.ts +3 -1
  77. package/lib/dialog/dialog.css +7 -6
  78. package/lib/dialog/dialog.less +7 -6
  79. package/lib/dialog/dialog.variable.css +13 -8
  80. package/lib/dialog/index.js +971 -2
  81. package/lib/directives/index.js +1387 -2
  82. package/lib/dist.index.js +87 -1
  83. package/lib/divider/divider.variable.css +6 -2
  84. package/lib/divider/index.js +169 -1
  85. package/lib/dropdown/dropdown.css +1 -1
  86. package/lib/dropdown/dropdown.variable.css +7 -3
  87. package/lib/dropdown/index.js +369 -1
  88. package/lib/exception/exception.variable.css +6 -2
  89. package/lib/exception/index.js +385 -1
  90. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
  91. package/lib/fixed-navbar/index.js +154 -1
  92. package/lib/form/form.css +2 -1
  93. package/lib/form/form.less +3 -2
  94. package/lib/form/form.variable.css +8 -3
  95. package/lib/form/index.js +952 -1
  96. package/lib/hooks.js +73 -1
  97. package/lib/icon/angle-double-down-line.js +191 -1
  98. package/lib/icon/angle-double-left-line.js +191 -1
  99. package/lib/icon/angle-double-left.js +191 -1
  100. package/lib/icon/angle-double-right-line.js +191 -1
  101. package/lib/icon/angle-double-right.js +191 -1
  102. package/lib/icon/angle-double-up-line.js +191 -1
  103. package/lib/icon/angle-down-fill.js +191 -1
  104. package/lib/icon/angle-down-line.js +191 -1
  105. package/lib/icon/angle-down.js +191 -1
  106. package/lib/icon/angle-left.js +191 -1
  107. package/lib/icon/angle-right.js +191 -1
  108. package/lib/icon/angle-up-fill.js +191 -1
  109. package/lib/icon/angle-up.js +191 -1
  110. package/lib/icon/archive-fill.js +191 -1
  111. package/lib/icon/arrows-left.js +191 -1
  112. package/lib/icon/arrows-right.js +191 -1
  113. package/lib/icon/assistant.js +191 -1
  114. package/lib/icon/audio-fill.js +191 -1
  115. package/lib/icon/bk.js +191 -1
  116. package/lib/icon/circle.js +191 -1
  117. package/lib/icon/close-line.js +191 -1
  118. package/lib/icon/close.js +191 -1
  119. package/lib/icon/code.js +191 -1
  120. package/lib/icon/cog-shape.js +191 -1
  121. package/lib/icon/collapse-left.js +191 -1
  122. package/lib/icon/copy-shape.js +191 -1
  123. package/lib/icon/copy.js +191 -1
  124. package/lib/icon/data-shape.js +191 -1
  125. package/lib/icon/del.js +191 -1
  126. package/lib/icon/doc-fill.js +191 -1
  127. package/lib/icon/done.js +191 -1
  128. package/lib/icon/down-shape.js +191 -1
  129. package/lib/icon/down-small.js +191 -1
  130. package/lib/icon/edit-line.js +191 -1
  131. package/lib/icon/ellipsis.js +191 -1
  132. package/lib/icon/enlarge-line.js +191 -1
  133. package/lib/icon/error.js +191 -1
  134. package/lib/icon/excel-fill.js +191 -1
  135. package/lib/icon/exclamation-circle-shape.js +191 -1
  136. package/lib/icon/eye.js +191 -1
  137. package/lib/icon/filliscreen-line.js +191 -1
  138. package/lib/icon/fix-line.js +191 -1
  139. package/lib/icon/fix-shape.js +191 -1
  140. package/lib/icon/folder-open.js +191 -1
  141. package/lib/icon/folder-shape-open.js +191 -1
  142. package/lib/icon/folder-shape.js +191 -1
  143. package/lib/icon/folder.js +191 -1
  144. package/lib/icon/funnel.js +191 -1
  145. package/lib/icon/help-document-fill.js +191 -1
  146. package/lib/icon/help-fill.js +191 -1
  147. package/lib/icon/help.js +191 -1
  148. package/lib/icon/image-fill.js +276 -1
  149. package/lib/icon/img-error.js +276 -1
  150. package/lib/icon/img-placehoulder.js +276 -1
  151. package/lib/icon/index.d.ts +1 -0
  152. package/lib/icon/index.js +2432 -1
  153. package/lib/icon/info-line.js +276 -1
  154. package/lib/icon/info.js +276 -1
  155. package/lib/icon/left-shape.js +276 -1
  156. package/lib/icon/left-turn-line.js +276 -1
  157. package/lib/icon/loading.d.ts +4 -0
  158. package/lib/icon/loading.js +276 -0
  159. package/lib/icon/narrow-line.js +276 -1
  160. package/lib/icon/original.js +276 -1
  161. package/lib/icon/pdf-fill.js +276 -1
  162. package/lib/icon/play-shape.js +276 -1
  163. package/lib/icon/plus.js +276 -1
  164. package/lib/icon/ppt-fill.js +276 -1
  165. package/lib/icon/qq.js +276 -1
  166. package/lib/icon/right-shape.js +276 -1
  167. package/lib/icon/right-turn-line.js +276 -1
  168. package/lib/icon/search.js +276 -1
  169. package/lib/icon/share.js +276 -1
  170. package/lib/icon/spinner.js +276 -1
  171. package/lib/icon/success.js +276 -1
  172. package/lib/icon/switcher-loading.js +276 -1
  173. package/lib/icon/text-file.js +276 -1
  174. package/lib/icon/text-fill.js +276 -1
  175. package/lib/icon/transfer.js +276 -1
  176. package/lib/icon/tree-application-shape.js +276 -1
  177. package/lib/icon/unfull-screen.js +276 -1
  178. package/lib/icon/unvisible.js +276 -1
  179. package/lib/icon/up-shape.js +276 -1
  180. package/lib/icon/upload.js +276 -1
  181. package/lib/icon/video-fill.js +276 -1
  182. package/lib/icon/warn.js +276 -1
  183. package/lib/icon/weixin-pro.js +276 -1
  184. package/lib/icon/weixin.js +276 -1
  185. package/lib/image/image-viewer.variable.css +6 -2
  186. package/lib/image/image.variable.css +6 -2
  187. package/lib/image/index.js +641 -1
  188. package/lib/index.js +97 -1
  189. package/lib/info-box/index.js +1161 -2
  190. package/lib/info-box/info-box.d.ts +4 -0
  191. package/lib/info-box/info-box.variable.css +6 -2
  192. package/lib/input/index.d.ts +4 -4
  193. package/lib/input/index.js +1233 -2
  194. package/lib/input/input.css +21 -5
  195. package/lib/input/input.d.ts +3 -3
  196. package/lib/input/input.less +19 -0
  197. package/lib/input/input.variable.css +27 -7
  198. package/lib/link/index.js +160 -1
  199. package/lib/link/link.variable.css +6 -2
  200. package/lib/loading/index.d.ts +3 -3
  201. package/lib/loading/index.js +381 -1
  202. package/lib/loading/loading.css +9 -9
  203. package/lib/loading/loading.d.ts +1 -1
  204. package/lib/loading/loading.less +14 -9
  205. package/lib/loading/loading.variable.css +15 -11
  206. package/lib/locale/index.js +477 -1
  207. package/lib/locale/lang/en.d.ts +6 -0
  208. package/lib/menu/index.js +724 -1
  209. package/lib/menu/menu.variable.css +6 -2
  210. package/lib/menu/submenu.variable.css +6 -2
  211. package/lib/message/index.js +1795 -2
  212. package/lib/message/message.variable.css +6 -2
  213. package/lib/modal/index.js +396 -1
  214. package/lib/modal/modal.variable.css +6 -2
  215. package/lib/navigation/index.js +367 -1
  216. package/lib/navigation/navigation.variable.css +6 -2
  217. package/lib/notify/index.js +397 -1
  218. package/lib/notify/notify.css +6 -6
  219. package/lib/notify/notify.less +6 -6
  220. package/lib/notify/notify.variable.css +12 -8
  221. package/lib/overflow-title/components/overflow-title.d.ts +0 -1
  222. package/lib/overflow-title/index.js +285 -1
  223. package/lib/pagination/index.d.ts +4 -4
  224. package/lib/pagination/index.js +880 -1
  225. package/lib/pagination/pagination.css +1 -0
  226. package/lib/pagination/pagination.d.ts +3 -3
  227. package/lib/pagination/pagination.less +1 -0
  228. package/lib/pagination/pagination.variable.css +7 -2
  229. package/lib/plugin-popover/index.js +3833 -1
  230. package/lib/plugins/index.js +63 -1
  231. package/lib/pop-confirm/index.d.ts +42 -3
  232. package/lib/pop-confirm/index.js +281 -1
  233. package/lib/pop-confirm/pop-confirm.css +4 -4
  234. package/lib/pop-confirm/pop-confirm.d.ts +14 -1
  235. package/lib/pop-confirm/pop-confirm.less +4 -4
  236. package/lib/pop-confirm/pop-confirm.variable.css +10 -6
  237. package/lib/popover/index.js +3841 -1
  238. package/lib/popover/popover.css +1 -1
  239. package/lib/popover/popover.less +1 -1
  240. package/lib/popover/popover.variable.css +7 -3
  241. package/lib/popover2/index.js +107 -1
  242. package/lib/preset.d.ts +12 -0
  243. package/lib/preset.js +93 -1
  244. package/lib/process/index.js +759 -2
  245. package/lib/process/process.variable.css +6 -2
  246. package/lib/progress/index.d.ts +4 -4
  247. package/lib/progress/index.js +431 -1
  248. package/lib/progress/progress.css +7 -3
  249. package/lib/progress/progress.d.ts +3 -3
  250. package/lib/progress/progress.less +8 -3
  251. package/lib/progress/progress.variable.css +13 -5
  252. package/lib/radio/common.d.ts +1 -0
  253. package/lib/radio/index.d.ts +8 -2
  254. package/lib/radio/index.js +635 -1
  255. package/lib/radio/radio-button.d.ts +4 -3
  256. package/lib/radio/radio-group.d.ts +3 -0
  257. package/lib/radio/radio.css +26 -12
  258. package/lib/radio/radio.d.ts +1 -0
  259. package/lib/radio/radio.less +42 -8
  260. package/lib/radio/radio.variable.css +26 -8
  261. package/lib/rate/index.d.ts +4 -4
  262. package/lib/rate/index.js +354 -1
  263. package/lib/rate/rate.d.ts +2 -2
  264. package/lib/rate/rate.variable.css +6 -2
  265. package/lib/rate/star.css +3 -0
  266. package/lib/rate/star.less +3 -0
  267. package/lib/rate/star.variable.css +9 -2
  268. package/lib/resize-layout/index.js +429 -1
  269. package/lib/resize-layout/resize-layout.css +2 -2
  270. package/lib/resize-layout/resize-layout.less +2 -2
  271. package/lib/resize-layout/resize-layout.variable.css +8 -4
  272. package/lib/search-select/index.js +2729 -2
  273. package/lib/search-select/search-select.css +2 -4
  274. package/lib/search-select/search-select.less +10 -12
  275. package/lib/search-select/search-select.variable.css +8 -6
  276. package/lib/select/common.d.ts +3 -1
  277. package/lib/select/index.d.ts +96 -30
  278. package/lib/select/index.js +2384 -2
  279. package/lib/select/option.d.ts +1 -0
  280. package/lib/select/select.css +3 -0
  281. package/lib/select/select.d.ts +40 -14
  282. package/lib/select/select.less +3 -0
  283. package/lib/select/select.variable.css +9 -2
  284. package/lib/select/selectTagInput.d.ts +2 -0
  285. package/lib/select/type.d.ts +3 -0
  286. package/lib/shared/index.js +2690 -1
  287. package/lib/shared/vue-types.d.ts +1 -1
  288. package/lib/sideslider/index.js +704 -2
  289. package/lib/sideslider/sideslider.variable.css +6 -2
  290. package/lib/slider/index.js +1297 -2
  291. package/lib/slider/slider.css +2 -0
  292. package/lib/slider/slider.less +2 -0
  293. package/lib/slider/slider.variable.css +8 -2
  294. package/lib/steps/index.d.ts +4 -4
  295. package/lib/steps/index.js +825 -2
  296. package/lib/steps/steps.css +18 -6
  297. package/lib/steps/steps.d.ts +3 -3
  298. package/lib/steps/steps.less +26 -5
  299. package/lib/steps/steps.variable.css +24 -8
  300. package/lib/styles/index.d.ts +1 -0
  301. package/lib/styles/mixins/animate.variable.css +6 -2
  302. package/lib/styles/mixins/popper.variable.css +6 -2
  303. package/lib/styles/mixins/scroll.variable.css +6 -2
  304. package/lib/styles/reset.variable.css +6 -2
  305. package/lib/styles/themes/themes.less +7 -3
  306. package/lib/swiper/index.js +336 -1
  307. package/lib/swiper/swiper.variable.css +6 -2
  308. package/lib/switcher/index.d.ts +4 -4
  309. package/lib/switcher/index.js +277 -1
  310. package/lib/switcher/switcher.d.ts +3 -3
  311. package/lib/switcher/switcher.variable.css +6 -2
  312. package/lib/tab/index.js +914 -1
  313. package/lib/tab/tab.variable.css +6 -2
  314. package/lib/table/components/table-column.d.ts +6 -5
  315. package/lib/table/index.d.ts +57 -7
  316. package/lib/table/index.js +6510 -1
  317. package/lib/table/plugins/body-empty.d.ts +1 -1
  318. package/lib/table/plugins/head-filter.css +1 -28
  319. package/lib/table/plugins/head-filter.less +2 -34
  320. package/lib/table/plugins/head-filter.variable.css +7 -30
  321. package/lib/table/plugins/head-sort.variable.css +6 -2
  322. package/lib/table/plugins/settings.d.ts +0 -7
  323. package/lib/table/plugins/settings.variable.css +6 -2
  324. package/lib/table/plugins/use-column-resize.d.ts +1 -1
  325. package/lib/table/plugins/use-head-cell.d.ts +7 -0
  326. package/lib/table/plugins/use-pagination.d.ts +2 -1
  327. package/lib/table/props.d.ts +2 -1
  328. package/lib/table/table.css +51 -59
  329. package/lib/table/table.d.ts +1 -1
  330. package/lib/table/table.less +28 -22
  331. package/lib/table/table.variable.css +57 -61
  332. package/lib/table/use-attributes.d.ts +5 -1
  333. package/lib/table/use-column.d.ts +87 -0
  334. package/lib/table/use-common.d.ts +0 -1
  335. package/lib/table/use-render.d.ts +1 -1
  336. package/lib/table/utils.d.ts +6 -4
  337. package/lib/table-column/index.d.ts +160 -10
  338. package/lib/table-column/index.js +775 -1
  339. package/lib/tag/index.d.ts +4 -21
  340. package/lib/tag/index.js +229 -1
  341. package/lib/tag/tag.css +14 -10
  342. package/lib/tag/tag.d.ts +2 -12
  343. package/lib/tag/tag.less +31 -27
  344. package/lib/tag/tag.variable.css +20 -12
  345. package/lib/tag-input/index.d.ts +3 -0
  346. package/lib/tag-input/index.js +1674 -1
  347. package/lib/tag-input/list-tag-render.d.ts +11 -0
  348. package/lib/tag-input/tag-input.d.ts +1 -0
  349. package/lib/tag-input/tag-input.variable.css +6 -2
  350. package/lib/time-picker/index.d.ts +9 -3
  351. package/lib/time-picker/index.js +71 -1
  352. package/lib/time-picker/time-picker.css +4 -3
  353. package/lib/time-picker/time-picker.less +5 -9
  354. package/lib/time-picker/time-picker.variable.css +10 -5
  355. package/lib/timeline/index.js +241 -1
  356. package/lib/timeline/timeline.variable.css +6 -2
  357. package/lib/transfer/index.js +673 -1
  358. package/lib/transfer/transfer.css +2 -2
  359. package/lib/transfer/transfer.less +2 -2
  360. package/lib/transfer/transfer.variable.css +8 -4
  361. package/lib/tree/index.d.ts +21 -33
  362. package/lib/tree/index.js +2584 -1
  363. package/lib/tree/props.d.ts +4 -8
  364. package/lib/tree/tree.css +13 -1
  365. package/lib/tree/tree.d.ts +15 -19
  366. package/lib/tree/tree.variable.css +19 -3
  367. package/lib/tree/use-empty.d.ts +1 -3
  368. package/lib/tree/util.d.ts +1 -0
  369. package/lib/upload/index.js +2874 -2
  370. package/lib/upload/upload.type.d.ts +1 -1
  371. package/lib/upload/upload.variable.css +6 -2
  372. package/lib/upload/use-file-handler.d.ts +2 -2
  373. package/lib/virtual-render/index.js +901 -1
  374. package/lib/virtual-render/use-fix-top.d.ts +18 -0
  375. package/lib/virtual-render/v-virtual-render.d.ts +6 -1
  376. package/lib/virtual-render/virtual-render.variable.css +6 -2
  377. package/package.json +17 -4
  378. package/lib/cascader/index.js.LICENSE.txt +0 -1
  379. package/lib/dialog/index.js.LICENSE.txt +0 -1
  380. package/lib/directives/index.js.LICENSE.txt +0 -14
  381. package/lib/info-box/index.js.LICENSE.txt +0 -1
  382. package/lib/input/index.js.LICENSE.txt +0 -1
  383. package/lib/message/index.js.LICENSE.txt +0 -6
  384. package/lib/process/index.js.LICENSE.txt +0 -1
  385. package/lib/search-select/index.js.LICENSE.txt +0 -1
  386. package/lib/select/index.js.LICENSE.txt +0 -1
  387. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  388. package/lib/slider/index.js.LICENSE.txt +0 -1
  389. package/lib/steps/index.js.LICENSE.txt +0 -1
  390. package/lib/table/render.d.ts +0 -130
  391. package/lib/upload/index.js.LICENSE.txt +0 -1
  392. /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
  393. /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
  394. /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
@@ -1,2 +1,1233 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- import*as e from"../shared";import*as t from"vue";import*as r from"../config-provider";import*as o from"../directives";import*as n from"../icon";var i={7609:(e,t,r)=>{var o=r(7425).default;function n(){e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,o){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),l=new L(o||[]);return a(i,"_invoke",{value:E(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var v={};function m(){}function h(){}function y(){}var g={};p(g,u,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(V([])));x&&x!==r&&i.call(x,u)&&(g=x);var w=y.prototype=m.prototype=Object.create(g);function P(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,l,u){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,p=s.value;return p&&"object"==o(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,l,u)}),(function(e){r("throw",e,l,u)})):t.resolve(p).then((function(e){s.value=e,l(s)}),(function(e){return r("throw",e,l,u)}))}u(c.arg)}var n;a(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(i,i):i()}})}function E(e,t,r){var o="suspendedStart";return function(n,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var a=r.delegate;if(a){var l=N(a,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var u=d(e,t,r);if("normal"===u.type){if(o=r.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o="completed",r.method="throw",r.arg=u.arg)}}}function N(e,t){var r=t.method,o=e.iterator[r];if(void 0===o)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,N(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var n=d(o,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,v;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function V(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:h,configurable:!0}),h.displayName=p(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,p(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},P(T.prototype),p(T.prototype,c,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,o,n,i){void 0===i&&(i=Promise);var a=new T(f(e,r,o,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},P(w),p(w,s,"Generator"),p(w,u,(function(){return this})),p(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var o in t)r.push(o);return r.reverse(),function e(){for(;r.length;){var o=r.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=V,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return a.type="throw",a.arg=e,t.next=r,o&&(t.method="next",t.arg=void 0),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],a=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var l=i.call(n,"catchLoc"),u=i.call(n,"finallyLoc");if(l&&u){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(l){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=e,a.arg=t,n?(this.method="next",this.next=n.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;S(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:V(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),v}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},7425:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2841:(e,t,r)=>{var o=r(7609)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return i[e](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var u={};(()=>{l.d(u,{Z:()=>V});const i=(a={InputBehaviorType:()=>e.InputBehaviorType,PropTypes:()=>e.PropTypes,classes:()=>e.classes,useFormItem:()=>e.useFormItem,withInstall:()=>e.withInstall},c={},l.d(c,a),c);var a,c;function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function p(e){return p="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},p(e)}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(e=>{var t={};return l.d(t,e),t})({Fragment:()=>t.Fragment,computed:()=>t.computed,createTextVNode:()=>t.createTextVNode,createVNode:()=>t.createVNode,defineComponent:()=>t.defineComponent,mergeProps:()=>t.mergeProps,nextTick:()=>t.nextTick,onBeforeUnmount:()=>t.onBeforeUnmount,onMounted:()=>t.onMounted,ref:()=>t.ref,resolveDirective:()=>t.resolveDirective,watch:()=>t.watch,withDirectives:()=>t.withDirectives});var v=l(2841),m=l.n(v);Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const h=(e=>{var t={};return l.d(t,e),t})({useLocale:()=>r.useLocale,usePrefix:()=>r.usePrefix}),y=(e=>{var t={};return l.d(t,e),t})({bkTooltips:()=>o.bkTooltips}),g=(e=>{var t={};return l.d(t,e),t})({Close:()=>n.Close,DownSmall:()=>n.DownSmall,Eye:()=>n.Eye,Search:()=>n.Search,Unvisible:()=>n.Unvisible});var b,x=void 0,w=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function P(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;x||(x=document.createElement("textarea"),document.body.appendChild(x));var n=function(e){var t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),n=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:w.map((function(e){return"".concat(e,":").concat(t.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:n,boxSizing:r}}(e),i=n.paddingSize,a=n.borderSize,l=n.boxSizing,u=n.contextStyle;x.setAttribute("style","".concat(u,";").concat("\n height:0 !important;\n visibility:hidden !important;\n \n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n")),x.value=e.value||e.placeholder||"";var c=x.scrollHeight,s={};"border-box"===l?c+=a:"content-box"===l&&(c-=i),x.value="";var p=x.scrollHeight-i;if(Number.isInteger(r)){var f=p*r;"border-box"===l&&(f=f+i+a),c=Math.max(f,c),s.minHeight="".concat(f,"px")}if(Number.isInteger(o)){var d=p*o;"border-box"===l&&(d=d+i+a),c=Math.min(d,c)}return s.height="".concat(c,"px"),null===(t=x.parentNode)||void 0===t||t.removeChild(x),x=void 0,s}var T,E={type:i.PropTypes.string.def("text"),clearable:i.PropTypes.bool,disabled:i.PropTypes.bool,readonly:i.PropTypes.bool,placeholder:i.PropTypes.string.def(""),prefixIcon:i.PropTypes.string,suffixIcon:i.PropTypes.string,suffix:i.PropTypes.string,prefix:i.PropTypes.string,step:i.PropTypes.integer,max:i.PropTypes.integer,min:i.PropTypes.integer,maxlength:i.PropTypes.integer,maxcharacter:i.PropTypes.integer,behavior:(0,i.InputBehaviorType)(),showWordLimit:i.PropTypes.bool,showControl:i.PropTypes.bool.def(!0),showClearOnlyHover:i.PropTypes.bool.def(!0),precision:i.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number]),size:i.PropTypes.size(),rows:i.PropTypes.number,selectReadonly:i.PropTypes.bool.def(!1),withValidate:i.PropTypes.bool.def(!0),overMaxLengthLimit:i.PropTypes.bool.def(!1),showOverflowTooltips:i.PropTypes.bool.def(!0),resize:i.PropTypes.bool.def(!0),autosize:i.PropTypes.oneOfType([Boolean,Object]).def(!1),stopPropagation:i.PropTypes.bool.def(!0)};function N(e,t){return!0}function O(e){return e}!function(e){e.UPDATE="update:modelValue",e.FOCUS="focus",e.BLUR="blur",e.CHANGE="change",e.CLEAR="clear",e.INPUT="input",e.KEYPRESS="keypress",e.KEYDOWN="keydown",e.KEYUP="keyup",e.ENTER="enter",e.PASTE="paste",e.COMPOSITIONSTART="compositionstart",e.COMPOSITIONUPDATE="compositionupdate",e.COMPOSITIONEND="compositionend"}(T||(T={}));var S=(f(b={},T.UPDATE,N),f(b,T.FOCUS,(function(e){return e})),f(b,T.BLUR,(function(e){return e})),f(b,T.CHANGE,N),f(b,T.CLEAR,(function(){return!0})),f(b,T.INPUT,N),f(b,T.KEYPRESS,N),f(b,T.KEYDOWN,N),f(b,T.KEYUP,N),f(b,T.ENTER,N),f(b,T.PASTE,(function(e,t){return!0})),f(b,T.COMPOSITIONSTART,O),f(b,T.COMPOSITIONUPDATE,O),f(b,T.COMPOSITIONEND,O),b);const L=(0,d.defineComponent)({name:"Input",directives:{bkTooltips:y.bkTooltips},inheritAttrs:!1,props:E,emits:S,setup:function(e,t){var r=this,o=(0,h.usePrefix)().resolveClassName,n=(0,i.useFormItem)(),a=(0,h.useLocale)("input"),l=(0,d.ref)(!1),u=(0,d.ref)(!1),c=(0,d.computed)((function(){return"textarea"===e.type})),p=(0,d.computed)((function(){return c.value?o("textarea"):o("input")})),v=t.attrs,y=(v.class,v.style),b=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(v,["class","style"]),x=(0,d.ref)(),w=(0,d.ref)(void 0===e.modelValue||null===e.modelValue?{}:{value:e.modelValue}),E=(0,d.computed)((function(){var r;return(0,i.classes)((f(r={},"".concat(p.value,"--").concat(e.size),!!e.size),f(r,"resizable",e.resize),f(r,"is-focused",l.value),f(r,"is-readonly",e.readonly&&!e.selectReadonly),f(r,"is-disabled",e.disabled),f(r,"is-simplicity","simplicity"===e.behavior),f(r,"".concat(t.attrs.class),!!t.attrs.class),r),p.value)})),N=(0,d.ref)(!1),O=(0,d.ref)({}),S=function(){var t,r;if(c.value)if(e.autosize){var o=null===(t=e.autosize)||void 0===t?void 0:t.minRows,n=null===(r=e.autosize)||void 0===r?void 0:r.maxRows,i=P(x.value,o,n);O.value=Object.assign({overflowY:"hidden"},i),(0,d.nextTick)((function(){O.value=i}))}else O.value={minHeight:P(x.value).minHeight}},L=function(t){var r=!1;return function(){var o;!r&&e.autosize&&(null===(null===(o=x.value)||void 0===o?void 0:o.offsetParent)||(t(),r=!0))}}(S),V=ne("suffix-icon"),C={search:function(){return(0,d.createVNode)(g.Search,null,null)},password:function(){return(0,d.createVNode)(g.Unvisible,{onClick:ie,class:V},null)}},I=(0,d.computed)((function(){var t=C[e.type];return U.value?(0,d.createVNode)(g.Eye,{class:V,onClick:ie},null):t?(0,d.createVNode)(t,{class:V},null):null})),A=(0,d.computed)((function(){return"number"===e.type})),j=(0,d.computed)((function(){var t,r;return Math.floor(null!==(r=null!==(t=e.maxlength)&&void 0!==t?t:e.maxcharacter)&&void 0!==r?r:0)})),U=(0,d.ref)(!1),k=(0,d.computed)((function(){return(0,i.classes)(f({"show-clear-only-hover":e.showClearOnlyHover},"".concat(p.value,"--clear-icon"),!0),V)})),D=(0,d.computed)((function(){var e;return(0,i.classes)((f(e={},ne("max-length"),!0),f(e,"is-over-limit",j.value-M.value<0),e))})),_=function(t){return"number"==typeof e.maxcharacter?t.split("").reduce((function(t,r,o){return t.len+=r.charCodeAt(0)>255?2:1,t.len>e.maxcharacter&&-1===t.pos&&(t.pos=o),t}),{len:0,pos:-1}):{len:t.length,pos:-1}},M=(0,d.computed)((function(){var t,r=null!==(t=e.modelValue)&&void 0!==t?t:"";return _(r).len})),z=(0,d.computed)((function(){return(0,i.classes)({"is-disabled":e.disabled||e.modelValue>=e.max})})),R=(0,d.computed)((function(){return(0,i.classes)({"is-disabled":e.disabled||e.modelValue<=e.min})})),F=(0,d.computed)((function(){return e.showOverflowTooltips&&N.value&&e.modelValue?{content:e.modelValue,sameWidth:!0}:{disabled:!0}})),G=(0,d.computed)((function(){return"number"==typeof e.maxlength||"number"==typeof e.maxcharacter})),H=new ResizeObserver((function(){L()}));function K(){var e,t;return(null===(e=x.value)||void 0===e?void 0:e.scrollWidth)>(null===(t=x.value)||void 0===t?void 0:t.clientWidth)+2}function Y(){if(!e.disabled){var r=A.value?e.min:"";t.emit(T.UPDATE,r,null),t.emit(T.CHANGE,r,null),t.emit(T.CLEAR)}}(0,d.watch)((function(){return e.type}),(function(){return e=r,t=void 0,o=void 0,n=m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.nextTick)();case 2:S();case 3:case"end":return e.stop()}}),e)})),new(o||(o=Promise))((function(r,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function l(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,l)}u((n=n.apply(e,t||[])).next())}));var e,t,o,n})),(0,d.watch)((function(){return e.modelValue}),(function(t){var r;e.withValidate&&(null===(r=null==n?void 0:n.validate)||void 0===r||r.call(n,"change")),w.value={value:t},(0,d.nextTick)((function(){return S()}))})),(0,d.onMounted)((function(){N.value=K(),H.observe(x.value),(0,d.nextTick)((function(){return S()}))})),(0,d.onBeforeUnmount)((function(){H.disconnect()})),t.expose({focus:function(){x.value.focus()},clear:Y});var B,W,Z=(B=[T.KEYUP,T.KEYDOWN,T.KEYPRESS,T.PASTE,T.CHANGE,T.INPUT].map((function(r){return function(o){if(e.stopPropagation&&o.stopPropagation(),G.value&&!e.overMaxLengthLimit){var n=_(o.target.value);if(n.len>=j.value&&(r===T.KEYDOWN||r===T.INPUT)&&!u.value){var i=n.pos>0?o.target.value.slice(0,n.pos):o.target.value;return w.value={value:i},t.emit(T.UPDATE,i,o),void t.emit(T.INPUT,i,o)}}if(r!==T.KEYDOWN||"Enter"!==o.code&&"Enter"!==o.key&&13!==o.keyCode||t.emit(T.ENTER,o.target.value,o),!u.value||![T.INPUT,T.CHANGE,T.KEYDOWN].some((function(e){return r===e}))){if(r===T.INPUT)t.emit(T.UPDATE,o.target.value,o);else if(r===T.CHANGE&&A.value&&""!==o.target.value){var a=te(o.target.value,0);return t.emit(T.UPDATE,a,o),void t.emit(r,a,o)}t.emit(r,o.target.value,o)}}})),W=6,function(e){if(Array.isArray(e))return e}(B)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);u=!0);}catch(e){c=!0,n=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return l}}(B,W)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(B,W)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),$=Z[0],q=Z[1],J=Z[2],Q=Z[3],X=Z[4],ee=Z[5];function te(t,r){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=Number(r),i=Number.isInteger(e.precision)?e.precision:0,a=Number(t),l=Number.isInteger(n)?n:1,u=a+(o?l:-1*l);return Number.isInteger(e.max)&&(u=Math.min(u,e.max)),Number.isInteger(e.min)&&(u=Math.max(u,e.min)),+u.toFixed(i)}function re(r){if(!e.disabled){var o=te(e.modelValue,e.step);t.emit(T.UPDATE,o,r),t.emit(T.CHANGE,o,r)}}function oe(r){if(!e.disabled){var o=te(e.modelValue,e.step,!1);t.emit(T.UPDATE,o,r),t.emit(T.CHANGE,o,r)}}function ne(e){return"".concat(p.value,"--").concat(e)}function ie(){U.value=!U.value}var ae=(0,d.computed)((function(){return{maxlength:!e.overMaxLengthLimit&&e.maxlength,placeholder:e.placeholder||a.value.placeholder,readonly:e.readonly,disabled:e.disabled}})),le={onInput:ee,onFocus:function(e){l.value=!0,t.emit(T.FOCUS,e)},onBlur:function(r){var o;l.value=!1,N.value=K(),t.emit(T.BLUR,r),e.withValidate&&(null===(o=null==n?void 0:n.validate)||void 0===o||o.call(n,"blur"))},onPaste:Q,onChange:X,onKeypress:J,onKeydown:q,onKeyup:$,onCompositionstart:function(){u.value=!0},onCompositionend:function(e){u.value=!1,ee(e)}};return function(){var r,o,n,i,a,l;return(0,d.withDirectives)((0,d.createVNode)("div",{class:E.value,style:y},[null!==(n=null===(o=null===(r=t.slots)||void 0===r?void 0:r.prefix)||void 0===o?void 0:o.call(r))&&void 0!==n?n:e.prefix&&(0,d.createVNode)("div",{class:ne("prefix-area")},[(0,d.createVNode)("span",{class:ne("prefix-area--text")},[e.prefix])]),c.value?(0,d.createVNode)("textarea",(0,d.mergeProps)({ref:x,spellcheck:!1},b,le,ae.value,{rows:e.rows,style:O.value},w.value),null):(0,d.createVNode)("input",(0,d.mergeProps)({spellcheck:!1},b,{ref:x,class:"".concat(p.value,"--text"),type:U.value&&"password"===e.type?"text":e.type,step:e.step,max:e.max,min:e.min},le,ae.value,w.value),null),!c.value&&e.clearable&&!!e.modelValue&&(0,d.createVNode)("span",{class:k.value,onClick:Y},[(0,d.createVNode)(g.Close,null,null)]),I.value,G.value&&(e.showWordLimit||c.value)&&(0,d.createVNode)("p",{class:D.value},[e.overMaxLengthLimit?j.value-M.value:(0,d.createVNode)(d.Fragment,null,[M.value,(0,d.createTextVNode)(" / "),(0,d.createVNode)("span",null,[j.value])])]),A.value&&e.showControl&&(0,d.createVNode)("div",{class:ne("number-control")},[(0,d.createVNode)(g.DownSmall,{class:z.value,onClick:re},null),(0,d.createVNode)(g.DownSmall,{class:R.value,onClick:oe},null)]),null!==(l=null===(a=null===(i=t.slots)||void 0===i?void 0:i.suffix)||void 0===a?void 0:a.call(i))&&void 0!==l?l:e.suffix&&(0,d.createVNode)("div",{class:ne("suffix-area")},[(0,d.createVNode)("span",{class:ne("suffix-area--text")},[e.suffix])])]),[[(0,d.resolveDirective)("bk-tooltips"),F.value]])}}}),V=(0,i.withInstall)(L)})();var c=u.Z;export{c as default};
1
+ import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__directives_9cc9ba10__ from "../directives";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
6
+ /******/ var __webpack_modules__ = ({
7
+
8
+ /***/ 7609:
9
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10
+
11
+ var _typeof = (__webpack_require__(7425)["default"]);
12
+ function _regeneratorRuntime() {
13
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
14
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
15
+ return exports;
16
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
17
+ var exports = {},
18
+ Op = Object.prototype,
19
+ hasOwn = Op.hasOwnProperty,
20
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
21
+ obj[key] = desc.value;
22
+ },
23
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
24
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
25
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
26
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
27
+ function define(obj, key, value) {
28
+ return Object.defineProperty(obj, key, {
29
+ value: value,
30
+ enumerable: !0,
31
+ configurable: !0,
32
+ writable: !0
33
+ }), obj[key];
34
+ }
35
+ try {
36
+ define({}, "");
37
+ } catch (err) {
38
+ define = function define(obj, key, value) {
39
+ return obj[key] = value;
40
+ };
41
+ }
42
+ function wrap(innerFn, outerFn, self, tryLocsList) {
43
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
44
+ generator = Object.create(protoGenerator.prototype),
45
+ context = new Context(tryLocsList || []);
46
+ return defineProperty(generator, "_invoke", {
47
+ value: makeInvokeMethod(innerFn, self, context)
48
+ }), generator;
49
+ }
50
+ function tryCatch(fn, obj, arg) {
51
+ try {
52
+ return {
53
+ type: "normal",
54
+ arg: fn.call(obj, arg)
55
+ };
56
+ } catch (err) {
57
+ return {
58
+ type: "throw",
59
+ arg: err
60
+ };
61
+ }
62
+ }
63
+ exports.wrap = wrap;
64
+ var ContinueSentinel = {};
65
+ function Generator() {}
66
+ function GeneratorFunction() {}
67
+ function GeneratorFunctionPrototype() {}
68
+ var IteratorPrototype = {};
69
+ define(IteratorPrototype, iteratorSymbol, function () {
70
+ return this;
71
+ });
72
+ var getProto = Object.getPrototypeOf,
73
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
74
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
75
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
76
+ function defineIteratorMethods(prototype) {
77
+ ["next", "throw", "return"].forEach(function (method) {
78
+ define(prototype, method, function (arg) {
79
+ return this._invoke(method, arg);
80
+ });
81
+ });
82
+ }
83
+ function AsyncIterator(generator, PromiseImpl) {
84
+ function invoke(method, arg, resolve, reject) {
85
+ var record = tryCatch(generator[method], generator, arg);
86
+ if ("throw" !== record.type) {
87
+ var result = record.arg,
88
+ value = result.value;
89
+ return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
90
+ invoke("next", value, resolve, reject);
91
+ }, function (err) {
92
+ invoke("throw", err, resolve, reject);
93
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
94
+ result.value = unwrapped, resolve(result);
95
+ }, function (error) {
96
+ return invoke("throw", error, resolve, reject);
97
+ });
98
+ }
99
+ reject(record.arg);
100
+ }
101
+ var previousPromise;
102
+ defineProperty(this, "_invoke", {
103
+ value: function value(method, arg) {
104
+ function callInvokeWithMethodAndArg() {
105
+ return new PromiseImpl(function (resolve, reject) {
106
+ invoke(method, arg, resolve, reject);
107
+ });
108
+ }
109
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
110
+ }
111
+ });
112
+ }
113
+ function makeInvokeMethod(innerFn, self, context) {
114
+ var state = "suspendedStart";
115
+ return function (method, arg) {
116
+ if ("executing" === state) throw new Error("Generator is already running");
117
+ if ("completed" === state) {
118
+ if ("throw" === method) throw arg;
119
+ return doneResult();
120
+ }
121
+ for (context.method = method, context.arg = arg;;) {
122
+ var delegate = context.delegate;
123
+ if (delegate) {
124
+ var delegateResult = maybeInvokeDelegate(delegate, context);
125
+ if (delegateResult) {
126
+ if (delegateResult === ContinueSentinel) continue;
127
+ return delegateResult;
128
+ }
129
+ }
130
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
131
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
132
+ context.dispatchException(context.arg);
133
+ } else "return" === context.method && context.abrupt("return", context.arg);
134
+ state = "executing";
135
+ var record = tryCatch(innerFn, self, context);
136
+ if ("normal" === record.type) {
137
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
138
+ return {
139
+ value: record.arg,
140
+ done: context.done
141
+ };
142
+ }
143
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
144
+ }
145
+ };
146
+ }
147
+ function maybeInvokeDelegate(delegate, context) {
148
+ var methodName = context.method,
149
+ method = delegate.iterator[methodName];
150
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
151
+ var record = tryCatch(method, delegate.iterator, context.arg);
152
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
153
+ var info = record.arg;
154
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
155
+ }
156
+ function pushTryEntry(locs) {
157
+ var entry = {
158
+ tryLoc: locs[0]
159
+ };
160
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
161
+ }
162
+ function resetTryEntry(entry) {
163
+ var record = entry.completion || {};
164
+ record.type = "normal", delete record.arg, entry.completion = record;
165
+ }
166
+ function Context(tryLocsList) {
167
+ this.tryEntries = [{
168
+ tryLoc: "root"
169
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
170
+ }
171
+ function values(iterable) {
172
+ if (iterable) {
173
+ var iteratorMethod = iterable[iteratorSymbol];
174
+ if (iteratorMethod) return iteratorMethod.call(iterable);
175
+ if ("function" == typeof iterable.next) return iterable;
176
+ if (!isNaN(iterable.length)) {
177
+ var i = -1,
178
+ next = function next() {
179
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
180
+ return next.value = undefined, next.done = !0, next;
181
+ };
182
+ return next.next = next;
183
+ }
184
+ }
185
+ return {
186
+ next: doneResult
187
+ };
188
+ }
189
+ function doneResult() {
190
+ return {
191
+ value: undefined,
192
+ done: !0
193
+ };
194
+ }
195
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
196
+ value: GeneratorFunctionPrototype,
197
+ configurable: !0
198
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
199
+ value: GeneratorFunction,
200
+ configurable: !0
201
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
202
+ var ctor = "function" == typeof genFun && genFun.constructor;
203
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
204
+ }, exports.mark = function (genFun) {
205
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
206
+ }, exports.awrap = function (arg) {
207
+ return {
208
+ __await: arg
209
+ };
210
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
211
+ return this;
212
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
213
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
214
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
215
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
216
+ return result.done ? result.value : iter.next();
217
+ });
218
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
219
+ return this;
220
+ }), define(Gp, "toString", function () {
221
+ return "[object Generator]";
222
+ }), exports.keys = function (val) {
223
+ var object = Object(val),
224
+ keys = [];
225
+ for (var key in object) keys.push(key);
226
+ return keys.reverse(), function next() {
227
+ for (; keys.length;) {
228
+ var key = keys.pop();
229
+ if (key in object) return next.value = key, next.done = !1, next;
230
+ }
231
+ return next.done = !0, next;
232
+ };
233
+ }, exports.values = values, Context.prototype = {
234
+ constructor: Context,
235
+ reset: function reset(skipTempReset) {
236
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
237
+ },
238
+ stop: function stop() {
239
+ this.done = !0;
240
+ var rootRecord = this.tryEntries[0].completion;
241
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
242
+ return this.rval;
243
+ },
244
+ dispatchException: function dispatchException(exception) {
245
+ if (this.done) throw exception;
246
+ var context = this;
247
+ function handle(loc, caught) {
248
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
249
+ }
250
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
251
+ var entry = this.tryEntries[i],
252
+ record = entry.completion;
253
+ if ("root" === entry.tryLoc) return handle("end");
254
+ if (entry.tryLoc <= this.prev) {
255
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
256
+ hasFinally = hasOwn.call(entry, "finallyLoc");
257
+ if (hasCatch && hasFinally) {
258
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
259
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
260
+ } else if (hasCatch) {
261
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
262
+ } else {
263
+ if (!hasFinally) throw new Error("try statement without catch or finally");
264
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
265
+ }
266
+ }
267
+ }
268
+ },
269
+ abrupt: function abrupt(type, arg) {
270
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
271
+ var entry = this.tryEntries[i];
272
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
273
+ var finallyEntry = entry;
274
+ break;
275
+ }
276
+ }
277
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
278
+ var record = finallyEntry ? finallyEntry.completion : {};
279
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
280
+ },
281
+ complete: function complete(record, afterLoc) {
282
+ if ("throw" === record.type) throw record.arg;
283
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
284
+ },
285
+ finish: function finish(finallyLoc) {
286
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
287
+ var entry = this.tryEntries[i];
288
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
289
+ }
290
+ },
291
+ "catch": function _catch(tryLoc) {
292
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
293
+ var entry = this.tryEntries[i];
294
+ if (entry.tryLoc === tryLoc) {
295
+ var record = entry.completion;
296
+ if ("throw" === record.type) {
297
+ var thrown = record.arg;
298
+ resetTryEntry(entry);
299
+ }
300
+ return thrown;
301
+ }
302
+ }
303
+ throw new Error("illegal catch attempt");
304
+ },
305
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
306
+ return this.delegate = {
307
+ iterator: values(iterable),
308
+ resultName: resultName,
309
+ nextLoc: nextLoc
310
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
311
+ }
312
+ }, exports;
313
+ }
314
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
315
+
316
+ /***/ }),
317
+
318
+ /***/ 7425:
319
+ /***/ ((module) => {
320
+
321
+ function _typeof(obj) {
322
+ "@babel/helpers - typeof";
323
+
324
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
325
+ return typeof obj;
326
+ } : function (obj) {
327
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
328
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
329
+ }
330
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
331
+
332
+ /***/ }),
333
+
334
+ /***/ 2841:
335
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
336
+
337
+ // TODO(Babel 8): Remove this file.
338
+
339
+ var runtime = __webpack_require__(7609)();
340
+ module.exports = runtime;
341
+
342
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
343
+ try {
344
+ regeneratorRuntime = runtime;
345
+ } catch (accidentalStrictMode) {
346
+ if (typeof globalThis === "object") {
347
+ globalThis.regeneratorRuntime = runtime;
348
+ } else {
349
+ Function("r", "regeneratorRuntime = r")(runtime);
350
+ }
351
+ }
352
+
353
+
354
+ /***/ })
355
+
356
+ /******/ });
357
+ /************************************************************************/
358
+ /******/ // The module cache
359
+ /******/ var __webpack_module_cache__ = {};
360
+ /******/
361
+ /******/ // The require function
362
+ /******/ function __webpack_require__(moduleId) {
363
+ /******/ // Check if module is in cache
364
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
365
+ /******/ if (cachedModule !== undefined) {
366
+ /******/ return cachedModule.exports;
367
+ /******/ }
368
+ /******/ // Create a new module (and put it into the cache)
369
+ /******/ var module = __webpack_module_cache__[moduleId] = {
370
+ /******/ // no module.id needed
371
+ /******/ // no module.loaded needed
372
+ /******/ exports: {}
373
+ /******/ };
374
+ /******/
375
+ /******/ // Execute the module function
376
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
377
+ /******/
378
+ /******/ // Return the exports of the module
379
+ /******/ return module.exports;
380
+ /******/ }
381
+ /******/
382
+ /************************************************************************/
383
+ /******/ /* webpack/runtime/compat get default export */
384
+ /******/ (() => {
385
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
386
+ /******/ __webpack_require__.n = (module) => {
387
+ /******/ var getter = module && module.__esModule ?
388
+ /******/ () => (module['default']) :
389
+ /******/ () => (module);
390
+ /******/ __webpack_require__.d(getter, { a: getter });
391
+ /******/ return getter;
392
+ /******/ };
393
+ /******/ })();
394
+ /******/
395
+ /******/ /* webpack/runtime/define property getters */
396
+ /******/ (() => {
397
+ /******/ // define getter functions for harmony exports
398
+ /******/ __webpack_require__.d = (exports, definition) => {
399
+ /******/ for(var key in definition) {
400
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
401
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
402
+ /******/ }
403
+ /******/ }
404
+ /******/ };
405
+ /******/ })();
406
+ /******/
407
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
408
+ /******/ (() => {
409
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
410
+ /******/ })();
411
+ /******/
412
+ /************************************************************************/
413
+ var __webpack_exports__ = {};
414
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
415
+ (() => {
416
+
417
+ // EXPORTS
418
+ __webpack_require__.d(__webpack_exports__, {
419
+ Z: () => (/* binding */ src)
420
+ });
421
+
422
+ ;// CONCATENATED MODULE: external "../shared"
423
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
424
+ var y = x => () => x
425
+ const external_shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
426
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
427
+ function _arrayWithHoles(arr) {
428
+ if (Array.isArray(arr)) return arr;
429
+ }
430
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
431
+ function _iterableToArrayLimit(arr, i) {
432
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
433
+ if (null != _i) {
434
+ var _s,
435
+ _e,
436
+ _x,
437
+ _r,
438
+ _arr = [],
439
+ _n = !0,
440
+ _d = !1;
441
+ try {
442
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
443
+ if (Object(_i) !== _i) return;
444
+ _n = !1;
445
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
446
+ } catch (err) {
447
+ _d = !0, _e = err;
448
+ } finally {
449
+ try {
450
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
451
+ } finally {
452
+ if (_d) throw _e;
453
+ }
454
+ }
455
+ return _arr;
456
+ }
457
+ }
458
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
459
+ function _arrayLikeToArray(arr, len) {
460
+ if (len == null || len > arr.length) len = arr.length;
461
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
462
+ return arr2;
463
+ }
464
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
465
+
466
+ function _unsupportedIterableToArray(o, minLen) {
467
+ if (!o) return;
468
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
469
+ var n = Object.prototype.toString.call(o).slice(8, -1);
470
+ if (n === "Object" && o.constructor) n = o.constructor.name;
471
+ if (n === "Map" || n === "Set") return Array.from(o);
472
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
473
+ }
474
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
475
+ function _nonIterableRest() {
476
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
477
+ }
478
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
479
+
480
+
481
+
482
+
483
+ function _slicedToArray(arr, i) {
484
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
485
+ }
486
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
487
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
488
+ try {
489
+ var info = gen[key](arg);
490
+ var value = info.value;
491
+ } catch (error) {
492
+ reject(error);
493
+ return;
494
+ }
495
+ if (info.done) {
496
+ resolve(value);
497
+ } else {
498
+ Promise.resolve(value).then(_next, _throw);
499
+ }
500
+ }
501
+ function _asyncToGenerator(fn) {
502
+ return function () {
503
+ var self = this,
504
+ args = arguments;
505
+ return new Promise(function (resolve, reject) {
506
+ var gen = fn.apply(self, args);
507
+ function _next(value) {
508
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
509
+ }
510
+ function _throw(err) {
511
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
512
+ }
513
+ _next(undefined);
514
+ });
515
+ };
516
+ }
517
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
518
+ function _objectWithoutPropertiesLoose(source, excluded) {
519
+ if (source == null) return {};
520
+ var target = {};
521
+ var sourceKeys = Object.keys(source);
522
+ var key, i;
523
+ for (i = 0; i < sourceKeys.length; i++) {
524
+ key = sourceKeys[i];
525
+ if (excluded.indexOf(key) >= 0) continue;
526
+ target[key] = source[key];
527
+ }
528
+ return target;
529
+ }
530
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
531
+
532
+ function _objectWithoutProperties(source, excluded) {
533
+ if (source == null) return {};
534
+ var target = _objectWithoutPropertiesLoose(source, excluded);
535
+ var key, i;
536
+ if (Object.getOwnPropertySymbols) {
537
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
538
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
539
+ key = sourceSymbolKeys[i];
540
+ if (excluded.indexOf(key) >= 0) continue;
541
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
542
+ target[key] = source[key];
543
+ }
544
+ }
545
+ return target;
546
+ }
547
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
548
+ function _typeof(obj) {
549
+ "@babel/helpers - typeof";
550
+
551
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
552
+ return typeof obj;
553
+ } : function (obj) {
554
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
555
+ }, _typeof(obj);
556
+ }
557
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
558
+
559
+ function _toPrimitive(input, hint) {
560
+ if (_typeof(input) !== "object" || input === null) return input;
561
+ var prim = input[Symbol.toPrimitive];
562
+ if (prim !== undefined) {
563
+ var res = prim.call(input, hint || "default");
564
+ if (_typeof(res) !== "object") return res;
565
+ throw new TypeError("@@toPrimitive must return a primitive value.");
566
+ }
567
+ return (hint === "string" ? String : Number)(input);
568
+ }
569
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
570
+
571
+
572
+ function _toPropertyKey(arg) {
573
+ var key = _toPrimitive(arg, "string");
574
+ return _typeof(key) === "symbol" ? key : String(key);
575
+ }
576
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
577
+
578
+ function _defineProperty(obj, key, value) {
579
+ key = _toPropertyKey(key);
580
+ if (key in obj) {
581
+ Object.defineProperty(obj, key, {
582
+ value: value,
583
+ enumerable: true,
584
+ configurable: true,
585
+ writable: true
586
+ });
587
+ } else {
588
+ obj[key] = value;
589
+ }
590
+ return obj;
591
+ }
592
+ ;// CONCATENATED MODULE: external "vue"
593
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
594
+ var external_vue_y = x => () => x
595
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
596
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
597
+ var regenerator = __webpack_require__(2841);
598
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
599
+ ;// CONCATENATED MODULE: external "../config-provider"
600
+ var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
601
+ var external_config_provider_y = x => () => x
602
+ const external_config_provider_namespaceObject = external_config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
603
+ ;// CONCATENATED MODULE: external "../directives"
604
+ var external_directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
605
+ var external_directives_y = x => () => x
606
+ const external_directives_namespaceObject = external_directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE__directives_9cc9ba10__.bkTooltips });
607
+ ;// CONCATENATED MODULE: external "../icon"
608
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
609
+ var external_icon_y = x => () => x
610
+ const external_icon_namespaceObject = external_icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Close, ["DownSmall"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.DownSmall, ["Eye"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Eye, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Search, ["Unvisible"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Unvisible });
611
+ ;// CONCATENATED MODULE: ../../packages/input/src/util.ts
612
+ /*
613
+ * Tencent is pleased to support the open source community by making
614
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
615
+ *
616
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
617
+ *
618
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
619
+ *
620
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
621
+ *
622
+ * ---------------------------------------------------
623
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
624
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
625
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
626
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
627
+ *
628
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
629
+ * the Software.
630
+ *
631
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
632
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
633
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
634
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
635
+ * IN THE SOFTWARE.
636
+ */
637
+ var hiddenTextarea = undefined;
638
+ // ${isFirefox() ? '' : 'overflow:hidden !important;'}
639
+ var HIDDEN_STYLE = "\n height:0 !important;\n visibility:hidden !important;\n \n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n";
640
+ var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];
641
+ function calculateNodeStyling(targetElement) {
642
+ var style = window.getComputedStyle(targetElement);
643
+ var boxSizing = style.getPropertyValue('box-sizing');
644
+ var paddingSize = Number.parseFloat(style.getPropertyValue('padding-bottom')) + Number.parseFloat(style.getPropertyValue('padding-top'));
645
+ var borderSize = Number.parseFloat(style.getPropertyValue('border-bottom-width')) + Number.parseFloat(style.getPropertyValue('border-top-width'));
646
+ var contextStyle = CONTEXT_STYLE.map(function (name) {
647
+ return "".concat(name, ":").concat(style.getPropertyValue(name));
648
+ }).join(';');
649
+ return {
650
+ contextStyle: contextStyle,
651
+ paddingSize: paddingSize,
652
+ borderSize: borderSize,
653
+ boxSizing: boxSizing
654
+ };
655
+ }
656
+ function calcTextareaHeight(targetElement) {
657
+ var _hiddenTextarea$paren;
658
+ var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
659
+ var maxRows = arguments.length > 2 ? arguments[2] : undefined;
660
+ if (!hiddenTextarea) {
661
+ hiddenTextarea = document.createElement('textarea');
662
+ document.body.appendChild(hiddenTextarea);
663
+ }
664
+ var _calculateNodeStyling = calculateNodeStyling(targetElement),
665
+ paddingSize = _calculateNodeStyling.paddingSize,
666
+ borderSize = _calculateNodeStyling.borderSize,
667
+ boxSizing = _calculateNodeStyling.boxSizing,
668
+ contextStyle = _calculateNodeStyling.contextStyle;
669
+ hiddenTextarea.setAttribute('style', "".concat(contextStyle, ";").concat(HIDDEN_STYLE));
670
+ hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';
671
+ var height = hiddenTextarea.scrollHeight;
672
+ var result = {};
673
+ if (boxSizing === 'border-box') {
674
+ height = height + borderSize;
675
+ } else if (boxSizing === 'content-box') {
676
+ height = height - paddingSize;
677
+ }
678
+ hiddenTextarea.value = '';
679
+ var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;
680
+ if (Number.isInteger(minRows)) {
681
+ var minHeight = singleRowHeight * minRows;
682
+ if (boxSizing === 'border-box') {
683
+ minHeight = minHeight + paddingSize + borderSize;
684
+ }
685
+ height = Math.max(minHeight, height);
686
+ result.minHeight = "".concat(minHeight, "px");
687
+ }
688
+ if (Number.isInteger(maxRows)) {
689
+ var maxHeight = singleRowHeight * maxRows;
690
+ if (boxSizing === 'border-box') {
691
+ maxHeight = maxHeight + paddingSize + borderSize;
692
+ }
693
+ height = Math.min(maxHeight, height);
694
+ }
695
+ result.height = "".concat(height, "px");
696
+ (_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0 ? void 0 : _hiddenTextarea$paren.removeChild(hiddenTextarea);
697
+ hiddenTextarea = undefined;
698
+ return result;
699
+ }
700
+ ;// CONCATENATED MODULE: ../../packages/input/src/input.tsx
701
+
702
+
703
+
704
+
705
+ var _excluded = ["class", "style"];
706
+ var _inputEmitEventsType;
707
+
708
+
709
+ 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; }
710
+ 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; }
711
+ /*
712
+ * Tencent is pleased to support the open source community by making
713
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
714
+ *
715
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
716
+ *
717
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
718
+ *
719
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
720
+ *
721
+ * ---------------------------------------------------
722
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
723
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
724
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
725
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
726
+ *
727
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
728
+ * the Software.
729
+ *
730
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
731
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
732
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
733
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
734
+ * IN THE SOFTWARE.
735
+ */
736
+
737
+
738
+
739
+
740
+
741
+
742
+ var inputType = {
743
+ type: external_shared_namespaceObject.PropTypes.string.def('text'),
744
+ clearable: external_shared_namespaceObject.PropTypes.bool,
745
+ disabled: external_shared_namespaceObject.PropTypes.bool,
746
+ readonly: external_shared_namespaceObject.PropTypes.bool,
747
+ placeholder: external_shared_namespaceObject.PropTypes.string.def(''),
748
+ prefixIcon: external_shared_namespaceObject.PropTypes.string,
749
+ suffixIcon: external_shared_namespaceObject.PropTypes.string,
750
+ suffix: external_shared_namespaceObject.PropTypes.string,
751
+ prefix: external_shared_namespaceObject.PropTypes.string,
752
+ step: external_shared_namespaceObject.PropTypes.integer,
753
+ max: external_shared_namespaceObject.PropTypes.integer,
754
+ min: external_shared_namespaceObject.PropTypes.integer,
755
+ maxlength: external_shared_namespaceObject.PropTypes.integer,
756
+ maxcharacter: external_shared_namespaceObject.PropTypes.integer,
757
+ behavior: (0,external_shared_namespaceObject.InputBehaviorType)(),
758
+ showWordLimit: external_shared_namespaceObject.PropTypes.bool,
759
+ showControl: external_shared_namespaceObject.PropTypes.bool.def(true),
760
+ showClearOnlyHover: external_shared_namespaceObject.PropTypes.bool.def(true),
761
+ precision: external_shared_namespaceObject.PropTypes.number.def(0).validate(function (val) {
762
+ return val >= 0 && val < 20;
763
+ }),
764
+ modelValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]),
765
+ size: external_shared_namespaceObject.PropTypes.size(),
766
+ rows: external_shared_namespaceObject.PropTypes.number,
767
+ selectReadonly: external_shared_namespaceObject.PropTypes.bool.def(false),
768
+ withValidate: external_shared_namespaceObject.PropTypes.bool.def(true),
769
+ overMaxLengthLimit: external_shared_namespaceObject.PropTypes.bool.def(false),
770
+ showOverflowTooltips: external_shared_namespaceObject.PropTypes.bool.def(true),
771
+ resize: external_shared_namespaceObject.PropTypes.bool.def(true),
772
+ autosize: external_shared_namespaceObject.PropTypes.oneOfType([Boolean, Object]).def(false),
773
+ stopPropagation: external_shared_namespaceObject.PropTypes.bool.def(true)
774
+ };
775
+ var EVENTS;
776
+ (function (EVENTS) {
777
+ EVENTS["UPDATE"] = "update:modelValue";
778
+ EVENTS["FOCUS"] = "focus";
779
+ EVENTS["BLUR"] = "blur";
780
+ EVENTS["CHANGE"] = "change";
781
+ EVENTS["CLEAR"] = "clear";
782
+ EVENTS["INPUT"] = "input";
783
+ EVENTS["KEYPRESS"] = "keypress";
784
+ EVENTS["KEYDOWN"] = "keydown";
785
+ EVENTS["KEYUP"] = "keyup";
786
+ EVENTS["ENTER"] = "enter";
787
+ EVENTS["PASTE"] = "paste";
788
+ EVENTS["COMPOSITIONSTART"] = "compositionstart";
789
+ EVENTS["COMPOSITIONUPDATE"] = "compositionupdate";
790
+ EVENTS["COMPOSITIONEND"] = "compositionend";
791
+ })(EVENTS || (EVENTS = {}));
792
+ function EventFunction(_value, _evt) {
793
+ return true;
794
+ }
795
+ function PastEventFunction(_value, _e) {
796
+ return true;
797
+ }
798
+ function CompositionEventFunction(evt) {
799
+ return evt;
800
+ }
801
+ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmitEventsType, EVENTS.UPDATE, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.FOCUS, function (evt) {
802
+ return evt;
803
+ }), _defineProperty(_inputEmitEventsType, EVENTS.BLUR, function (evt) {
804
+ return evt;
805
+ }), _defineProperty(_inputEmitEventsType, EVENTS.CHANGE, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.CLEAR, function () {
806
+ return true;
807
+ }), _defineProperty(_inputEmitEventsType, EVENTS.INPUT, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYPRESS, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYDOWN, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYUP, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.ENTER, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.PASTE, PastEventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONSTART, CompositionEventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONEND, CompositionEventFunction), _inputEmitEventsType);
808
+ /* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
809
+ // eslint-disable-next-line vue/no-reserved-component-names
810
+ name: 'Input',
811
+ directives: {
812
+ bkTooltips: external_directives_namespaceObject.bkTooltips
813
+ },
814
+ inheritAttrs: false,
815
+ props: inputType,
816
+ emits: inputEmitEventsType,
817
+ setup: function setup(props, ctx) {
818
+ var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
819
+ resolveClassName = _usePrefix.resolveClassName;
820
+ var formItem = (0,external_shared_namespaceObject.useFormItem)();
821
+ var t = (0,external_config_provider_namespaceObject.useLocale)('input');
822
+ var isFocused = (0,external_vue_namespaceObject.ref)(false);
823
+ var isCNInput = (0,external_vue_namespaceObject.ref)(false);
824
+ var isTextArea = (0,external_vue_namespaceObject.computed)(function () {
825
+ return props.type === 'textarea';
826
+ });
827
+ var inputClsPrefix = (0,external_vue_namespaceObject.computed)(function () {
828
+ return isTextArea.value ? resolveClassName('textarea') : resolveClassName('input');
829
+ });
830
+ var _ctx$attrs = ctx.attrs,
831
+ cls = _ctx$attrs["class"],
832
+ style = _ctx$attrs.style,
833
+ inputAttrs = _objectWithoutProperties(_ctx$attrs, _excluded);
834
+ var inputRef = (0,external_vue_namespaceObject.ref)();
835
+ var innerInputValue = (0,external_vue_namespaceObject.ref)(typeof props.modelValue === 'undefined' || props.modelValue === null ? {} : {
836
+ value: props.modelValue
837
+ });
838
+ var inputCls = (0,external_vue_namespaceObject.computed)(function () {
839
+ var _classes;
840
+ return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(inputClsPrefix.value, "--").concat(props.size), !!props.size), _defineProperty(_classes, "resizable", props.resize), _defineProperty(_classes, 'is-focused', isFocused.value), _defineProperty(_classes, 'is-readonly', props.readonly && !props.selectReadonly), _defineProperty(_classes, 'is-disabled', props.disabled), _defineProperty(_classes, 'is-simplicity', props.behavior === 'simplicity'), _defineProperty(_classes, "".concat(ctx.attrs["class"]), !!ctx.attrs["class"]), _classes), inputClsPrefix.value);
841
+ });
842
+ var isOverflow = (0,external_vue_namespaceObject.ref)(false);
843
+ var textareaCalcStyle = (0,external_vue_namespaceObject.ref)({});
844
+ var resizeTextarea = function resizeTextarea() {
845
+ if (!isTextArea.value) return;
846
+ if (props.autosize) {
847
+ var _props$autosize, _props$autosize2;
848
+ var minRows = (_props$autosize = props.autosize) === null || _props$autosize === void 0 ? void 0 : _props$autosize.minRows;
849
+ var maxRows = (_props$autosize2 = props.autosize) === null || _props$autosize2 === void 0 ? void 0 : _props$autosize2.maxRows;
850
+ var textareaStyle = calcTextareaHeight(inputRef.value, minRows, maxRows);
851
+ textareaCalcStyle.value = _objectSpread({
852
+ overflowY: 'hidden'
853
+ }, textareaStyle);
854
+ (0,external_vue_namespaceObject.nextTick)(function () {
855
+ textareaCalcStyle.value = textareaStyle;
856
+ });
857
+ } else {
858
+ textareaCalcStyle.value = {
859
+ minHeight: calcTextareaHeight(inputRef.value).minHeight
860
+ };
861
+ }
862
+ };
863
+ var createOnceInitResize = function createOnceInitResize(resizeTextarea) {
864
+ var isInit = false;
865
+ return function () {
866
+ var _inputRef$value;
867
+ if (isInit || !props.autosize) return;
868
+ var isElHidden = ((_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 ? void 0 : _inputRef$value.offsetParent) === null;
869
+ if (!isElHidden) {
870
+ resizeTextarea();
871
+ isInit = true;
872
+ }
873
+ };
874
+ };
875
+ var onceInitSizeTextarea = createOnceInitResize(resizeTextarea);
876
+ var suffixCls = getCls('suffix-icon');
877
+ var suffixIconMap = {
878
+ search: function search() {
879
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Search, null, null);
880
+ },
881
+ password: function password() {
882
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Unvisible, {
883
+ "onClick": handleVisibleChange,
884
+ "class": suffixCls
885
+ }, null);
886
+ }
887
+ };
888
+ var suffixIcon = (0,external_vue_namespaceObject.computed)(function () {
889
+ var icon = suffixIconMap[props.type];
890
+ if (pwdVisible.value) {
891
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Eye, {
892
+ "class": suffixCls,
893
+ "onClick": handleVisibleChange
894
+ }, null);
895
+ }
896
+ return icon ? (0,external_vue_namespaceObject.createVNode)(icon, {
897
+ "class": suffixCls
898
+ }, null) : null;
899
+ });
900
+ var isNumberInput = (0,external_vue_namespaceObject.computed)(function () {
901
+ return props.type === 'number';
902
+ });
903
+ var ceilMaxLength = (0,external_vue_namespaceObject.computed)(function () {
904
+ var _ref, _props$maxlength;
905
+ return Math.floor((_ref = (_props$maxlength = props.maxlength) !== null && _props$maxlength !== void 0 ? _props$maxlength : props.maxcharacter) !== null && _ref !== void 0 ? _ref : 0);
906
+ });
907
+ var pwdVisible = (0,external_vue_namespaceObject.ref)(false);
908
+ var clearCls = (0,external_vue_namespaceObject.computed)(function () {
909
+ return (0,external_shared_namespaceObject.classes)(_defineProperty({
910
+ 'show-clear-only-hover': props.showClearOnlyHover
911
+ }, "".concat(inputClsPrefix.value, "--clear-icon"), true), suffixCls);
912
+ });
913
+ var maxLengthCls = (0,external_vue_namespaceObject.computed)(function () {
914
+ var _classes3;
915
+ return (0,external_shared_namespaceObject.classes)((_classes3 = {}, _defineProperty(_classes3, getCls('max-length'), true), _defineProperty(_classes3, 'is-over-limit', ceilMaxLength.value - modelValueLength.value < 0), _classes3));
916
+ });
917
+ var getValueLimits = function getValueLimits(val) {
918
+ if (typeof props.maxcharacter === 'number') {
919
+ return val.split('').reduce(function (limit, _char, index) {
920
+ limit.len += _char.charCodeAt(0) > 255 ? 2 : 1;
921
+ if (limit.len > props.maxcharacter && limit.pos === -1) {
922
+ limit.pos = index;
923
+ }
924
+ return limit;
925
+ }, {
926
+ len: 0,
927
+ pos: -1
928
+ });
929
+ }
930
+ return {
931
+ len: val.length,
932
+ pos: -1
933
+ };
934
+ };
935
+ var modelValueLength = (0,external_vue_namespaceObject.computed)(function () {
936
+ var _props$modelValue;
937
+ var modelValue = (_props$modelValue = props.modelValue) !== null && _props$modelValue !== void 0 ? _props$modelValue : '';
938
+ return getValueLimits(modelValue).len;
939
+ });
940
+ var incControlCls = (0,external_vue_namespaceObject.computed)(function () {
941
+ return (0,external_shared_namespaceObject.classes)({
942
+ 'is-disabled': props.disabled || props.modelValue >= props.max
943
+ });
944
+ });
945
+ var decControlCls = (0,external_vue_namespaceObject.computed)(function () {
946
+ return (0,external_shared_namespaceObject.classes)({
947
+ 'is-disabled': props.disabled || props.modelValue <= props.min
948
+ });
949
+ });
950
+ var tooltips = (0,external_vue_namespaceObject.computed)(function () {
951
+ return props.showOverflowTooltips && isOverflow.value && props.modelValue ? {
952
+ content: props.modelValue,
953
+ sameWidth: true
954
+ } : {
955
+ disabled: true
956
+ };
957
+ });
958
+ var showMaxLimit = (0,external_vue_namespaceObject.computed)(function () {
959
+ return typeof props.maxlength === 'number' || typeof props.maxcharacter === 'number';
960
+ });
961
+ var resizeObserver = new ResizeObserver(function () {
962
+ onceInitSizeTextarea();
963
+ setOverflow();
964
+ });
965
+ (0,external_vue_namespaceObject.watch)(function () {
966
+ return props.type;
967
+ }, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
968
+ return regenerator_default().wrap(function _callee$(_context) {
969
+ while (1) switch (_context.prev = _context.next) {
970
+ case 0:
971
+ _context.next = 2;
972
+ return (0,external_vue_namespaceObject.nextTick)();
973
+ case 2:
974
+ resizeTextarea();
975
+ case 3:
976
+ case "end":
977
+ return _context.stop();
978
+ }
979
+ }, _callee);
980
+ })));
981
+ (0,external_vue_namespaceObject.watch)(function () {
982
+ return props.modelValue;
983
+ }, function (val) {
984
+ if (props.withValidate) {
985
+ var _formItem$validate;
986
+ formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
987
+ }
988
+ innerInputValue.value = {
989
+ value: val
990
+ };
991
+ (0,external_vue_namespaceObject.nextTick)(function () {
992
+ return resizeTextarea();
993
+ });
994
+ setOverflow();
995
+ });
996
+ (0,external_vue_namespaceObject.onMounted)(function () {
997
+ setOverflow();
998
+ resizeObserver.observe(inputRef.value);
999
+ (0,external_vue_namespaceObject.nextTick)(function () {
1000
+ return resizeTextarea();
1001
+ });
1002
+ // Hack: 修复autofocus属性失效问题 原生autofocus属性只在页面加载时生效
1003
+ if (Object.prototype.hasOwnProperty.call(ctx.attrs, 'autofocus')) {
1004
+ var _inputRef$value2, _inputRef$value2$focu;
1005
+ (_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || (_inputRef$value2$focu = _inputRef$value2.focus) === null || _inputRef$value2$focu === void 0 ? void 0 : _inputRef$value2$focu.call(_inputRef$value2);
1006
+ }
1007
+ });
1008
+ (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
1009
+ resizeObserver.disconnect();
1010
+ });
1011
+ ctx.expose({
1012
+ focus: function focus() {
1013
+ inputRef.value.focus();
1014
+ },
1015
+ blur: function blur() {
1016
+ inputRef.value.blur();
1017
+ isFocused.value = false;
1018
+ },
1019
+ clear: clear
1020
+ });
1021
+ function detectOverflow() {
1022
+ var _inputRef$value3, _inputRef$value4;
1023
+ return ((_inputRef$value3 = inputRef.value) === null || _inputRef$value3 === void 0 ? void 0 : _inputRef$value3.scrollWidth) > ((_inputRef$value4 = inputRef.value) === null || _inputRef$value4 === void 0 ? void 0 : _inputRef$value4.clientWidth) + 2;
1024
+ }
1025
+ function setOverflow() {
1026
+ setTimeout(function () {
1027
+ isOverflow.value = detectOverflow();
1028
+ });
1029
+ }
1030
+ function clear() {
1031
+ if (props.disabled) return;
1032
+ var resetVal = isNumberInput.value ? props.min : '';
1033
+ ctx.emit(EVENTS.UPDATE, resetVal, null);
1034
+ ctx.emit(EVENTS.CHANGE, resetVal, null);
1035
+ ctx.emit(EVENTS.CLEAR);
1036
+ }
1037
+ function handleFocus(e) {
1038
+ isFocused.value = true;
1039
+ ctx.emit(EVENTS.FOCUS, e);
1040
+ }
1041
+ function handleBlur(e) {
1042
+ isFocused.value = false;
1043
+ ctx.emit(EVENTS.BLUR, e);
1044
+ if (props.withValidate) {
1045
+ var _formItem$validate2;
1046
+ formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 ? void 0 : _formItem$validate2.call(formItem, 'blur');
1047
+ }
1048
+ }
1049
+ // 事件句柄生成器
1050
+ function eventHandler(eventName) {
1051
+ return function (e) {
1052
+ props.stopPropagation && e.stopPropagation();
1053
+ if (showMaxLimit.value && !props.overMaxLengthLimit) {
1054
+ var limit = getValueLimits(e.target.value);
1055
+ if (limit.len >= ceilMaxLength.value && (eventName === EVENTS.KEYDOWN || eventName === EVENTS.INPUT) && !isCNInput.value) {
1056
+ var val = limit.pos > 0 ? e.target.value.slice(0, limit.pos) : e.target.value;
1057
+ innerInputValue.value = {
1058
+ value: val
1059
+ };
1060
+ ctx.emit(EVENTS.UPDATE, val, e);
1061
+ ctx.emit(EVENTS.INPUT, val, e);
1062
+ return;
1063
+ }
1064
+ }
1065
+ if (eventName === EVENTS.KEYDOWN && (e.code === 'Enter' || e.key === 'Enter' || e.keyCode === 13)) {
1066
+ ctx.emit(EVENTS.ENTER, isNumberInput.value ? handleNumber(e.target.value, 0) : e.target.value, e);
1067
+ }
1068
+ if (isCNInput.value && [EVENTS.INPUT, EVENTS.CHANGE, EVENTS.KEYDOWN].some(function (e) {
1069
+ return eventName === e;
1070
+ })) return;
1071
+ if (eventName === EVENTS.INPUT) {
1072
+ ctx.emit(EVENTS.UPDATE, e.target.value, e);
1073
+ } else if (eventName === EVENTS.CHANGE && isNumberInput.value && e.target.value !== '') {
1074
+ var _val = handleNumber(e.target.value, 0);
1075
+ ctx.emit(EVENTS.UPDATE, _val, e);
1076
+ ctx.emit(eventName, _val, e);
1077
+ return;
1078
+ }
1079
+ ctx.emit(eventName, e.target.value, e);
1080
+ };
1081
+ }
1082
+ var _map = [EVENTS.KEYUP, EVENTS.KEYDOWN, EVENTS.KEYPRESS, EVENTS.PASTE, EVENTS.CHANGE, EVENTS.INPUT].map(eventHandler),
1083
+ _map2 = _slicedToArray(_map, 6),
1084
+ handleKeyup = _map2[0],
1085
+ handleKeydown = _map2[1],
1086
+ handleKeyPress = _map2[2],
1087
+ handlePaste = _map2[3],
1088
+ handleChange = _map2[4],
1089
+ handleInput = _map2[5];
1090
+ // 输入法启用时
1091
+ function handleCompositionStart() {
1092
+ isCNInput.value = true;
1093
+ }
1094
+ // 输入法输入结束时
1095
+ function handleCompositionEnd(e) {
1096
+ isCNInput.value = false;
1097
+ handleInput(e);
1098
+ }
1099
+ function handleNumber(modelValue, step) {
1100
+ var INC = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
1101
+ var numStep = Number(step);
1102
+ var precision = Number.isInteger(props.precision) ? props.precision : 0;
1103
+ var val = Number(modelValue);
1104
+ var factor = Number.isInteger(numStep) ? numStep : 1;
1105
+ if (Number.isNaN(val)) {
1106
+ return Number.isInteger(props.min) ? props.min : 0;
1107
+ }
1108
+ var newVal = val + (INC ? factor : -1 * factor);
1109
+ if (Number.isInteger(props.max)) {
1110
+ newVal = Math.min(newVal, props.max);
1111
+ }
1112
+ if (Number.isInteger(props.min)) {
1113
+ newVal = Math.max(newVal, props.min);
1114
+ }
1115
+ return +newVal.toFixed(precision);
1116
+ }
1117
+ function handleInc(e) {
1118
+ if (props.disabled) return;
1119
+ var newVal = handleNumber(props.modelValue, props.step);
1120
+ ctx.emit(EVENTS.UPDATE, newVal, e);
1121
+ ctx.emit(EVENTS.CHANGE, newVal, e);
1122
+ }
1123
+ function handleDec(e) {
1124
+ if (props.disabled) return;
1125
+ var newVal = handleNumber(props.modelValue, props.step, false);
1126
+ ctx.emit(EVENTS.UPDATE, newVal, e);
1127
+ ctx.emit(EVENTS.CHANGE, newVal, e);
1128
+ }
1129
+ function getCls(name) {
1130
+ return "".concat(inputClsPrefix.value, "--").concat(name);
1131
+ }
1132
+ function handleVisibleChange() {
1133
+ pwdVisible.value = !pwdVisible.value;
1134
+ }
1135
+ var bindProps = (0,external_vue_namespaceObject.computed)(function () {
1136
+ return {
1137
+ maxlength: !props.overMaxLengthLimit && props.maxlength,
1138
+ placeholder: props.placeholder || t.value.placeholder,
1139
+ readonly: props.readonly,
1140
+ disabled: props.disabled
1141
+ };
1142
+ });
1143
+ var eventListener = {
1144
+ onInput: handleInput,
1145
+ onFocus: handleFocus,
1146
+ onBlur: handleBlur,
1147
+ onPaste: handlePaste,
1148
+ onChange: handleChange,
1149
+ onKeypress: handleKeyPress,
1150
+ onKeydown: handleKeydown,
1151
+ onKeyup: handleKeyup,
1152
+ onCompositionstart: handleCompositionStart,
1153
+ onCompositionend: handleCompositionEnd
1154
+ };
1155
+ return function () {
1156
+ var _ctx$slots$prefix, _ctx$slots, _ctx$slots$prefix2, _ctx$slots$suffix, _ctx$slots2, _ctx$slots2$suffix;
1157
+ return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
1158
+ "class": inputCls.value,
1159
+ "style": style
1160
+ }, [(_ctx$slots$prefix = (_ctx$slots = ctx.slots) === null || _ctx$slots === void 0 || (_ctx$slots$prefix2 = _ctx$slots.prefix) === null || _ctx$slots$prefix2 === void 0 ? void 0 : _ctx$slots$prefix2.call(_ctx$slots)) !== null && _ctx$slots$prefix !== void 0 ? _ctx$slots$prefix : props.prefix && (0,external_vue_namespaceObject.createVNode)("div", {
1161
+ "class": getCls('prefix-area')
1162
+ }, [(0,external_vue_namespaceObject.createVNode)("span", {
1163
+ "class": getCls('prefix-area--text')
1164
+ }, [props.prefix])]), isTextArea.value ? (0,external_vue_namespaceObject.createVNode)("textarea", (0,external_vue_namespaceObject.mergeProps)({
1165
+ "ref": inputRef,
1166
+ "spellcheck": false
1167
+ }, inputAttrs, eventListener, bindProps.value, {
1168
+ "rows": props.rows,
1169
+ "style": textareaCalcStyle.value
1170
+ }, innerInputValue.value), null) : (0,external_vue_namespaceObject.createVNode)("input", (0,external_vue_namespaceObject.mergeProps)({
1171
+ "spellcheck": false
1172
+ }, inputAttrs, {
1173
+ "ref": inputRef,
1174
+ "class": "".concat(inputClsPrefix.value, "--text"),
1175
+ "type": pwdVisible.value && props.type === 'password' ? 'text' : props.type,
1176
+ "step": props.step,
1177
+ "max": props.max,
1178
+ "min": props.min
1179
+ }, eventListener, bindProps.value, innerInputValue.value), null), !isTextArea.value && props.clearable && !!props.modelValue && (0,external_vue_namespaceObject.createVNode)("span", {
1180
+ "class": clearCls.value,
1181
+ "onClick": clear
1182
+ }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, null, null)]), suffixIcon.value, showMaxLimit.value && (props.showWordLimit || isTextArea.value) && (0,external_vue_namespaceObject.createVNode)("p", {
1183
+ "class": maxLengthCls.value
1184
+ }, [props.overMaxLengthLimit ? ceilMaxLength.value - modelValueLength.value : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [modelValueLength.value, (0,external_vue_namespaceObject.createTextVNode)(" / "), (0,external_vue_namespaceObject.createVNode)("span", null, [ceilMaxLength.value])])]), isNumberInput.value && props.showControl && (0,external_vue_namespaceObject.createVNode)("div", {
1185
+ "class": getCls('number-control')
1186
+ }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.DownSmall, {
1187
+ "class": incControlCls.value,
1188
+ "onClick": handleInc
1189
+ }, null), (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.DownSmall, {
1190
+ "class": decControlCls.value,
1191
+ "onClick": handleDec
1192
+ }, null)]), (_ctx$slots$suffix = (_ctx$slots2 = ctx.slots) === null || _ctx$slots2 === void 0 || (_ctx$slots2$suffix = _ctx$slots2.suffix) === null || _ctx$slots2$suffix === void 0 ? void 0 : _ctx$slots2$suffix.call(_ctx$slots2)) !== null && _ctx$slots$suffix !== void 0 ? _ctx$slots$suffix : props.suffix && (0,external_vue_namespaceObject.createVNode)("div", {
1193
+ "class": getCls('suffix-area')
1194
+ }, [(0,external_vue_namespaceObject.createVNode)("span", {
1195
+ "class": getCls('suffix-area--text')
1196
+ }, [props.suffix])])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), tooltips.value]]);
1197
+ };
1198
+ }
1199
+ }));
1200
+ ;// CONCATENATED MODULE: ../../packages/input/src/index.ts
1201
+ /*
1202
+ * Tencent is pleased to support the open source community by making
1203
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1204
+ *
1205
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1206
+ *
1207
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1208
+ *
1209
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1210
+ *
1211
+ * ---------------------------------------------------
1212
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1213
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1214
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1215
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1216
+ *
1217
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1218
+ * the Software.
1219
+ *
1220
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1221
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1222
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1223
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1224
+ * IN THE SOFTWARE.
1225
+ */
1226
+
1227
+
1228
+ var BkInput = (0,external_shared_namespaceObject.withInstall)(input);
1229
+ /* harmony default export */ const src = (BkInput);
1230
+ })();
1231
+
1232
+ var __webpack_exports__default = __webpack_exports__.Z;
1233
+ export { __webpack_exports__default as default };