bkui-vue 0.0.1-beta.35 → 0.0.1-beta.350

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 (652) hide show
  1. package/dist/index.cjs.js +179 -0
  2. package/dist/index.esm.js +38650 -0
  3. package/dist/index.umd.js +179 -0
  4. package/dist/style.css +1 -5865
  5. package/dist/style.variable.css +1 -0
  6. package/lib/affix/affix.css +360 -0
  7. package/lib/affix/affix.d.ts +47 -0
  8. package/lib/affix/affix.less +5 -0
  9. package/lib/affix/affix.variable.css +836 -0
  10. package/lib/affix/index.d.ts +143 -0
  11. package/lib/affix/index.js +1 -0
  12. package/lib/alert/alert.css +369 -6
  13. package/lib/alert/alert.d.ts +5 -5
  14. package/lib/alert/alert.less +29 -20
  15. package/lib/alert/alert.variable.css +753 -7
  16. package/lib/alert/index.d.ts +11 -11
  17. package/lib/alert/index.js +1 -0
  18. package/lib/animate-number/animate-number.d.ts +1 -1
  19. package/lib/animate-number/index.d.ts +4 -4
  20. package/lib/animate-number/{animate-number.js → index.js} +1 -1
  21. package/lib/backtop/backtop.css +367 -2
  22. package/lib/backtop/backtop.d.ts +1 -1
  23. package/lib/backtop/backtop.less +8 -0
  24. package/lib/backtop/backtop.variable.css +752 -4
  25. package/lib/backtop/index.d.ts +4 -4
  26. package/lib/backtop/index.js +1 -0
  27. package/lib/badge/badge.css +388 -31
  28. package/lib/badge/badge.d.ts +28 -7
  29. package/lib/badge/badge.less +5 -6
  30. package/lib/badge/badge.variable.css +749 -9
  31. package/lib/badge/index.d.ts +68 -18
  32. package/lib/badge/index.js +1 -0
  33. package/lib/breadcrumb/breadcrumb.css +413 -5
  34. package/lib/breadcrumb/breadcrumb.variable.css +795 -4
  35. package/lib/breadcrumb/index.js +1 -0
  36. package/lib/button/button-group.d.ts +2 -2
  37. package/lib/button/button.css +534 -139
  38. package/lib/button/button.d.ts +44 -24
  39. package/lib/button/button.less +74 -41
  40. package/lib/button/button.variable.css +831 -53
  41. package/lib/button/index.d.ts +70 -40
  42. package/lib/button/index.js +1 -0
  43. package/lib/card/card.css +457 -5
  44. package/lib/card/card.d.ts +47 -6
  45. package/lib/card/card.less +50 -2
  46. package/lib/card/card.variable.css +840 -5
  47. package/lib/card/index.d.ts +113 -17
  48. package/lib/card/index.js +1 -0
  49. package/lib/cascader/cascader-panel.d.ts +100 -0
  50. package/lib/cascader/cascader.css +530 -0
  51. package/lib/cascader/cascader.d.ts +303 -0
  52. package/lib/cascader/cascader.less +196 -0
  53. package/lib/cascader/cascader.variable.css +1006 -0
  54. package/lib/cascader/index.d.ts +868 -0
  55. package/lib/cascader/index.js +1 -0
  56. package/lib/cascader/interface.d.ts +51 -0
  57. package/lib/cascader/node.d.ts +31 -0
  58. package/lib/cascader/store.d.ts +23 -0
  59. package/lib/checkbox/checkbox-group.d.ts +16 -0
  60. package/lib/checkbox/checkbox.css +408 -15
  61. package/lib/checkbox/checkbox.d.ts +20 -24
  62. package/lib/checkbox/checkbox.less +79 -31
  63. package/lib/checkbox/checkbox.variable.css +790 -14
  64. package/lib/checkbox/common.d.ts +4 -3
  65. package/lib/checkbox/index.d.ts +47 -38
  66. package/lib/checkbox/index.js +1 -0
  67. package/lib/checkbox/type.d.ts +2 -6
  68. package/lib/code-diff/code-diff.css +384 -7
  69. package/lib/code-diff/code-diff.d.ts +1 -1
  70. package/lib/code-diff/code-diff.less +42 -7
  71. package/lib/code-diff/code-diff.variable.css +771 -11
  72. package/lib/code-diff/index.js +1 -0
  73. package/lib/collapse/collapse-panel.d.ts +67 -0
  74. package/lib/collapse/collapse.css +385 -12
  75. package/lib/collapse/collapse.d.ts +11 -52
  76. package/lib/collapse/collapse.less +54 -29
  77. package/lib/collapse/collapse.variable.css +861 -12
  78. package/lib/collapse/index.d.ts +108 -16
  79. package/lib/collapse/index.js +1 -0
  80. package/lib/collapse/props.d.ts +79 -0
  81. package/lib/collapse/utils.d.ts +11 -0
  82. package/lib/color-picker/color-picker.css +632 -0
  83. package/lib/color-picker/color-picker.d.ts +144 -0
  84. package/lib/color-picker/color-picker.less +325 -0
  85. package/lib/color-picker/color-picker.variable.css +1108 -0
  86. package/lib/color-picker/components/color-input.d.ts +42 -0
  87. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  88. package/lib/color-picker/components/input-container.d.ts +42 -0
  89. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  90. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  91. package/lib/color-picker/index.d.ts +254 -0
  92. package/lib/color-picker/index.js +1 -0
  93. package/lib/color-picker/utils.d.ts +37 -0
  94. package/lib/components.d.ts +25 -8
  95. package/lib/components.js +1 -0
  96. package/lib/container/col.d.ts +51 -0
  97. package/lib/container/container.css +448 -0
  98. package/lib/container/container.d.ts +83 -0
  99. package/lib/container/container.less +20 -0
  100. package/lib/container/container.variable.css +924 -0
  101. package/lib/container/index.d.ts +223 -0
  102. package/lib/container/index.js +1 -0
  103. package/lib/container/row.d.ts +4 -0
  104. package/lib/date-picker/base/confirm.d.ts +74 -0
  105. package/lib/date-picker/base/date-table.d.ts +102 -0
  106. package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
  107. package/lib/date-picker/base/time-spinner.d.ts +153 -0
  108. package/lib/date-picker/date-picker.css +402 -18
  109. package/lib/date-picker/date-picker.d.ts +49 -20
  110. package/lib/date-picker/date-picker.less +33 -1
  111. package/lib/date-picker/date-picker.variable.css +772 -5
  112. package/lib/date-picker/index.d.ts +121 -54
  113. package/lib/date-picker/index.js +1 -0
  114. package/lib/date-picker/interface.d.ts +11 -1
  115. package/lib/date-picker/panel/date-range.d.ts +309 -0
  116. package/lib/date-picker/panel/date.d.ts +206 -0
  117. package/lib/date-picker/panel/time-range.d.ts +489 -0
  118. package/lib/date-picker/panel/time.d.ts +448 -0
  119. package/lib/date-picker/props.d.ts +55 -5
  120. package/lib/date-picker/time-picker.d.ts +381 -0
  121. package/lib/date-picker/utils.d.ts +22 -2
  122. package/lib/dialog/dialog.css +144 -22
  123. package/lib/dialog/dialog.d.ts +256 -58
  124. package/lib/dialog/dialog.less +97 -23
  125. package/lib/dialog/dialog.variable.css +144 -22
  126. package/lib/dialog/index.d.ts +562 -126
  127. package/lib/dialog/index.js +1 -0
  128. package/lib/dialog/props.d.ts +130 -0
  129. package/lib/directives/ellipsis.d.ts +7 -0
  130. package/lib/directives/index.d.ts +1 -0
  131. package/lib/directives/index.js +2 -0
  132. package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
  133. package/lib/directives/tooltips.d.ts +1 -1
  134. package/lib/dist.index.js +1 -0
  135. package/lib/divider/divider.css +360 -3
  136. package/lib/divider/divider.d.ts +15 -15
  137. package/lib/divider/divider.variable.css +744 -4
  138. package/lib/divider/index.d.ts +34 -34
  139. package/lib/divider/index.js +1 -0
  140. package/lib/divider/props.d.ts +6 -6
  141. package/lib/dropdown/dropdown.css +370 -7
  142. package/lib/dropdown/dropdown.d.ts +44 -13
  143. package/lib/dropdown/dropdown.less +47 -34
  144. package/lib/dropdown/dropdown.variable.css +757 -11
  145. package/lib/dropdown/index.d.ts +93 -32
  146. package/lib/dropdown/index.js +1 -0
  147. package/lib/exception/exception.css +397 -14
  148. package/lib/exception/exception.d.ts +18 -11
  149. package/lib/exception/exception.less +59 -22
  150. package/lib/exception/exception.variable.css +784 -18
  151. package/lib/exception/index.d.ts +41 -26
  152. package/lib/exception/index.js +1 -0
  153. package/lib/exception/typings/index.d.ts +4 -0
  154. package/lib/fixed-navbar/fixed-navbar.css +361 -4
  155. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  156. package/lib/fixed-navbar/fixed-navbar.variable.css +744 -4
  157. package/lib/fixed-navbar/index.d.ts +40 -5
  158. package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
  159. package/lib/form/compose-form-item.d.ts +16 -0
  160. package/lib/form/form-item.d.ts +30 -8
  161. package/lib/form/form.css +461 -15
  162. package/lib/form/form.d.ts +28 -11
  163. package/lib/form/form.less +152 -45
  164. package/lib/form/form.variable.css +937 -15
  165. package/lib/form/index.d.ts +99 -32
  166. package/lib/form/index.js +1 -0
  167. package/lib/form/type.d.ts +8 -7
  168. package/lib/form/utils.d.ts +2 -0
  169. package/lib/form/validator.d.ts +1 -0
  170. package/lib/icon/angle-double-down-line.js +1 -1
  171. package/lib/icon/angle-double-left-line.js +1 -1
  172. package/lib/icon/angle-double-left.js +1 -1
  173. package/lib/icon/angle-double-right-line.js +1 -1
  174. package/lib/icon/angle-double-right.js +1 -1
  175. package/lib/icon/angle-double-up-line.js +1 -1
  176. package/lib/icon/angle-down-fill.js +1 -1
  177. package/lib/icon/angle-down-line.js +1 -1
  178. package/lib/icon/angle-down.js +1 -1
  179. package/lib/icon/angle-left.js +1 -1
  180. package/lib/icon/angle-right.js +1 -1
  181. package/lib/icon/angle-up-fill.js +1 -1
  182. package/lib/icon/angle-up.js +1 -1
  183. package/lib/icon/archive-fill.d.ts +4 -0
  184. package/lib/icon/archive-fill.js +1 -0
  185. package/lib/icon/arrows-left.js +1 -1
  186. package/lib/icon/arrows-right.js +1 -1
  187. package/lib/icon/audio-fill.d.ts +4 -0
  188. package/lib/icon/audio-fill.js +1 -0
  189. package/lib/icon/bk.js +1 -1
  190. package/lib/icon/circle.js +1 -1
  191. package/lib/icon/close-line.d.ts +4 -0
  192. package/lib/icon/close-line.js +1 -0
  193. package/lib/icon/close.js +1 -1
  194. package/lib/icon/code.js +1 -1
  195. package/lib/icon/cog-shape.js +1 -1
  196. package/lib/icon/collapse-left.js +1 -1
  197. package/lib/icon/copy.js +1 -1
  198. package/lib/icon/data-shape.d.ts +4 -0
  199. package/lib/icon/data-shape.js +1 -0
  200. package/lib/icon/del.d.ts +4 -0
  201. package/lib/icon/del.js +1 -0
  202. package/lib/icon/doc-fill.d.ts +4 -0
  203. package/lib/icon/doc-fill.js +1 -0
  204. package/lib/icon/done.js +1 -1
  205. package/lib/icon/down-shape.js +1 -1
  206. package/lib/icon/down-small.js +1 -1
  207. package/lib/icon/edit-line.d.ts +4 -0
  208. package/lib/icon/edit-line.js +1 -0
  209. package/lib/icon/ellipsis.js +1 -1
  210. package/lib/icon/enlarge-line.d.ts +4 -0
  211. package/lib/icon/enlarge-line.js +1 -0
  212. package/lib/icon/error.js +1 -1
  213. package/lib/icon/excel-fill.d.ts +4 -0
  214. package/lib/icon/excel-fill.js +1 -0
  215. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  216. package/lib/icon/exclamation-circle-shape.js +1 -0
  217. package/lib/icon/eye.js +1 -1
  218. package/lib/icon/filliscreen-line.d.ts +4 -0
  219. package/lib/icon/filliscreen-line.js +1 -0
  220. package/lib/icon/folder-open.js +1 -1
  221. package/lib/icon/folder-shape-open.js +1 -1
  222. package/lib/icon/folder-shape.js +1 -1
  223. package/lib/icon/folder.js +1 -1
  224. package/lib/icon/funnel.d.ts +4 -0
  225. package/lib/icon/funnel.js +1 -0
  226. package/lib/icon/help-document-fill.js +1 -1
  227. package/lib/icon/help-fill.js +1 -1
  228. package/lib/icon/help.js +1 -1
  229. package/lib/icon/image-fill.d.ts +4 -0
  230. package/lib/icon/img-error.d.ts +4 -0
  231. package/lib/icon/img-error.js +1 -0
  232. package/lib/icon/img-placehoulder.d.ts +4 -0
  233. package/lib/icon/img-placehoulder.js +1 -0
  234. package/lib/icon/index.d.ts +27 -1
  235. package/lib/icon/index.js +1 -0
  236. package/lib/icon/info-line.js +1 -1
  237. package/lib/icon/info.js +1 -1
  238. package/lib/icon/left-shape.js +1 -1
  239. package/lib/icon/left-turn-line.d.ts +4 -0
  240. package/lib/icon/left-turn-line.js +1 -0
  241. package/lib/icon/narrow-line.d.ts +4 -0
  242. package/lib/icon/narrow-line.js +1 -0
  243. package/lib/icon/original.d.ts +4 -0
  244. package/lib/icon/original.js +1 -0
  245. package/lib/icon/pdf-fill.d.ts +4 -0
  246. package/lib/icon/pdf-fill.js +1 -0
  247. package/lib/icon/play-shape.js +1 -1
  248. package/lib/icon/plus.js +1 -1
  249. package/lib/icon/ppt-fill.d.ts +4 -0
  250. package/lib/icon/ppt-fill.js +1 -0
  251. package/lib/icon/qq.js +1 -1
  252. package/lib/icon/right-shape.js +1 -1
  253. package/lib/icon/right-turn-line.d.ts +4 -0
  254. package/lib/icon/right-turn-line.js +1 -0
  255. package/lib/icon/search.js +1 -1
  256. package/lib/icon/share.js +1 -1
  257. package/lib/icon/spinner.js +1 -1
  258. package/lib/icon/success.js +1 -1
  259. package/lib/icon/switcher-loading.js +1 -1
  260. package/lib/icon/text-file.js +1 -1
  261. package/lib/icon/text-fill.d.ts +4 -0
  262. package/lib/icon/text-fill.js +1 -0
  263. package/lib/icon/transfer.d.ts +4 -0
  264. package/lib/icon/transfer.js +1 -0
  265. package/lib/icon/tree-application-shape.js +1 -1
  266. package/lib/icon/unfull-screen.d.ts +4 -0
  267. package/lib/icon/unfull-screen.js +1 -0
  268. package/lib/icon/unvisible.js +1 -1
  269. package/lib/icon/up-shape.js +1 -1
  270. package/lib/icon/upload.d.ts +4 -0
  271. package/lib/icon/upload.js +1 -0
  272. package/lib/icon/video-fill.d.ts +4 -0
  273. package/lib/icon/video-fill.js +1 -0
  274. package/lib/icon/warn.js +1 -1
  275. package/lib/icon/weixin.js +1 -1
  276. package/lib/image/image-viewer.css +142 -0
  277. package/lib/image/image-viewer.d.ts +73 -0
  278. package/lib/image/image-viewer.less +168 -0
  279. package/lib/image/image-viewer.variable.css +142 -0
  280. package/lib/image/image.css +37 -0
  281. package/lib/image/image.d.ts +93 -0
  282. package/lib/image/image.less +44 -0
  283. package/lib/image/image.variable.css +37 -0
  284. package/lib/image/index.d.ts +246 -0
  285. package/lib/image/index.js +1 -0
  286. package/lib/image/props.d.ts +71 -0
  287. package/lib/index.d.ts +1 -1
  288. package/lib/index.js +1 -0
  289. package/lib/info-box/index.d.ts +6 -0
  290. package/lib/info-box/index.js +1 -0
  291. package/lib/info-box/info-box.css +37 -0
  292. package/lib/info-box/info-box.d.ts +26 -0
  293. package/lib/info-box/info-box.less +50 -0
  294. package/lib/info-box/info-box.variable.css +37 -0
  295. package/lib/input/index.d.ts +183 -72
  296. package/lib/input/index.js +1 -0
  297. package/lib/input/input.css +600 -41
  298. package/lib/input/input.d.ts +125 -25
  299. package/lib/input/input.less +158 -17
  300. package/lib/input/input.variable.css +960 -18
  301. package/lib/link/index.d.ts +15 -15
  302. package/lib/link/index.js +1 -0
  303. package/lib/link/link.css +381 -24
  304. package/lib/link/link.d.ts +6 -6
  305. package/lib/link/link.less +16 -14
  306. package/lib/link/link.variable.css +756 -16
  307. package/lib/loading/index.d.ts +112 -19
  308. package/lib/loading/index.js +1 -0
  309. package/lib/loading/loading.css +450 -50
  310. package/lib/loading/loading.d.ts +78 -12
  311. package/lib/loading/loading.less +17 -22
  312. package/lib/loading/loading.variable.css +821 -38
  313. package/lib/menu/index.d.ts +16 -24
  314. package/lib/menu/index.js +1 -0
  315. package/lib/menu/menu.css +426 -18
  316. package/lib/menu/menu.d.ts +7 -16
  317. package/lib/menu/menu.variable.css +795 -4
  318. package/lib/menu/submenu.css +357 -0
  319. package/lib/menu/submenu.variable.css +744 -4
  320. package/lib/message/index.js +1 -0
  321. package/lib/message/message.css +397 -19
  322. package/lib/message/message.less +28 -3
  323. package/lib/message/message.variable.css +769 -8
  324. package/lib/message/messageConstructor.d.ts +47 -11
  325. package/lib/modal/index.d.ts +456 -78
  326. package/lib/modal/index.js +1 -0
  327. package/lib/modal/modal.css +63 -1
  328. package/lib/modal/modal.d.ts +174 -30
  329. package/lib/modal/modal.less +36 -1
  330. package/lib/modal/modal.variable.css +63 -1
  331. package/lib/modal/props.mixin.d.ts +74 -13
  332. package/lib/navigation/index.d.ts +310 -1
  333. package/lib/navigation/index.js +1 -0
  334. package/lib/navigation/navigation.css +360 -3
  335. package/lib/navigation/navigation.d.ts +10 -1
  336. package/lib/navigation/navigation.less +1 -1
  337. package/lib/navigation/navigation.variable.css +745 -5
  338. package/lib/notify/index.js +1 -0
  339. package/lib/notify/notify.css +386 -9
  340. package/lib/notify/notify.less +27 -4
  341. package/lib/notify/notify.variable.css +768 -8
  342. package/lib/notify/notifyConstructor.d.ts +56 -12
  343. package/lib/pagination/index.d.ts +35 -20
  344. package/lib/pagination/index.js +1 -0
  345. package/lib/pagination/pagination.css +412 -29
  346. package/lib/pagination/pagination.d.ts +18 -8
  347. package/lib/pagination/pagination.less +59 -30
  348. package/lib/pagination/pagination.variable.css +798 -32
  349. package/lib/plugin-popover/index.d.ts +27 -0
  350. package/lib/plugin-popover/index.js +1 -0
  351. package/lib/plugins/index.d.ts +1 -0
  352. package/lib/plugins/index.js +1 -0
  353. package/lib/popover/arrow.d.ts +2 -0
  354. package/lib/popover/const.d.ts +16 -0
  355. package/lib/popover/content.d.ts +24 -0
  356. package/lib/popover/index.d.ts +430 -97
  357. package/lib/popover/index.js +1 -0
  358. package/lib/popover/plugin-popover.d.ts +12 -0
  359. package/lib/popover/popover.css +364 -47
  360. package/lib/popover/popover.d.ts +188 -43
  361. package/lib/popover/popover.less +19 -66
  362. package/lib/popover/popover.variable.css +751 -51
  363. package/lib/popover/props.d.ts +91 -31
  364. package/lib/popover/reference.d.ts +2 -0
  365. package/lib/popover/root.d.ts +16 -0
  366. package/lib/popover/use-floating.d.ts +34 -0
  367. package/lib/popover/use-platform.d.ts +30 -0
  368. package/lib/popover/use-popover-init.d.ts +22 -0
  369. package/lib/popover/use-popper-id.d.ts +6 -0
  370. package/lib/popover/utils.d.ts +2 -0
  371. package/lib/popover2/index.d.ts +44 -0
  372. package/lib/popover2/index.js +1 -0
  373. package/lib/popover2/popover.d.ts +2 -0
  374. package/lib/preset.js +1 -0
  375. package/lib/process/index.d.ts +9 -9
  376. package/lib/process/index.js +1 -0
  377. package/lib/process/process.css +381 -11
  378. package/lib/process/process.d.ts +2 -2
  379. package/lib/process/process.less +17 -0
  380. package/lib/process/process.variable.css +757 -4
  381. package/lib/progress/index.d.ts +25 -25
  382. package/lib/progress/index.js +1 -0
  383. package/lib/progress/progress.css +412 -4
  384. package/lib/progress/progress.d.ts +10 -10
  385. package/lib/progress/progress.variable.css +795 -4
  386. package/lib/radio/common.d.ts +5 -5
  387. package/lib/radio/index.d.ts +29 -18
  388. package/lib/radio/index.js +1 -0
  389. package/lib/radio/radio-button.d.ts +7 -8
  390. package/lib/radio/radio-group.d.ts +16 -0
  391. package/lib/radio/radio.css +418 -60
  392. package/lib/radio/radio.d.ts +4 -4
  393. package/lib/radio/radio.less +177 -173
  394. package/lib/radio/radio.variable.css +795 -54
  395. package/lib/radio/type.d.ts +9 -4
  396. package/lib/rate/index.d.ts +28 -5
  397. package/lib/rate/index.js +1 -0
  398. package/lib/rate/rate.d.ts +13 -2
  399. package/lib/rate/star.d.ts +1 -1
  400. package/lib/resize-layout/index.d.ts +18 -18
  401. package/lib/resize-layout/index.js +1 -0
  402. package/lib/resize-layout/resize-layout.css +360 -15
  403. package/lib/resize-layout/resize-layout.d.ts +7 -7
  404. package/lib/resize-layout/resize-layout.less +3 -19
  405. package/lib/resize-layout/resize-layout.variable.css +747 -19
  406. package/lib/search-select/index.d.ts +794 -0
  407. package/lib/search-select/index.js +1 -0
  408. package/lib/search-select/input.d.ts +87 -0
  409. package/lib/search-select/menu.d.ts +83 -0
  410. package/lib/search-select/search-select.css +781 -0
  411. package/lib/search-select/search-select.d.ts +324 -0
  412. package/lib/search-select/search-select.less +380 -0
  413. package/lib/search-select/search-select.variable.css +1257 -0
  414. package/lib/search-select/selected.d.ts +139 -0
  415. package/lib/search-select/utils.d.ts +84 -0
  416. package/lib/select/common.d.ts +5 -12
  417. package/lib/select/index.d.ts +1243 -592
  418. package/lib/select/index.js +1 -0
  419. package/lib/select/option.d.ts +16 -4
  420. package/lib/select/optionGroup.d.ts +1 -1
  421. package/lib/select/select.css +553 -121
  422. package/lib/select/select.d.ts +470 -129
  423. package/lib/select/select.less +317 -197
  424. package/lib/select/select.variable.css +931 -116
  425. package/lib/select/selectTagInput.d.ts +93 -0
  426. package/lib/select/type.d.ts +21 -13
  427. package/lib/shared/dom.d.ts +3 -0
  428. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  429. package/lib/shared/hooks/use-form.d.ts +2 -0
  430. package/lib/shared/index.d.ts +23 -0
  431. package/lib/shared/index.js +1 -0
  432. package/lib/shared/mask-manager.d.ts +6 -2
  433. package/lib/shared/pop-manager.d.ts +16 -4
  434. package/lib/shared/popover.d.ts +6 -2
  435. package/lib/shared/token.d.ts +4 -0
  436. package/lib/shared/utils.d.ts +19 -0
  437. package/lib/shared/vue-types.d.ts +98 -8
  438. package/lib/sideslider/index.d.ts +343 -72
  439. package/lib/sideslider/index.js +1 -0
  440. package/lib/sideslider/sideslider.css +413 -11
  441. package/lib/sideslider/sideslider.d.ts +160 -32
  442. package/lib/sideslider/sideslider.less +72 -13
  443. package/lib/sideslider/sideslider.variable.css +799 -14
  444. package/lib/slider/index.d.ts +414 -1
  445. package/lib/slider/index.js +1 -0
  446. package/lib/slider/slider-button.d.ts +2 -1
  447. package/lib/slider/slider.css +361 -4
  448. package/lib/slider/slider.d.ts +4 -4
  449. package/lib/slider/slider.variable.css +744 -4
  450. package/lib/steps/index.d.ts +52 -52
  451. package/lib/steps/index.js +1 -0
  452. package/lib/steps/steps.css +405 -36
  453. package/lib/steps/steps.d.ts +32 -32
  454. package/lib/steps/steps.less +24 -3
  455. package/lib/steps/steps.variable.css +759 -7
  456. package/lib/styles/index.d.ts +7 -1
  457. package/lib/styles/mixins/clearfix.less +10 -0
  458. package/lib/styles/mixins/clearfix.variable.css +8 -0
  459. package/lib/styles/mixins/mixins.css +51 -0
  460. package/lib/styles/mixins/mixins.less +2 -0
  461. package/lib/styles/mixins/mixins.variable.css +51 -0
  462. package/lib/styles/mixins/scroll.css +374 -0
  463. package/lib/styles/mixins/scroll.less +22 -0
  464. package/lib/styles/mixins/scroll.variable.css +850 -0
  465. package/lib/styles/reset.css +36 -0
  466. package/lib/styles/reset.less +26 -0
  467. package/lib/styles/reset.variable.css +36 -0
  468. package/lib/styles/themes/themes.css +357 -0
  469. package/lib/styles/themes/themes.less +622 -90
  470. package/lib/styles/themes/themes.variable.css +357 -0
  471. package/lib/swiper/index.js +1 -0
  472. package/lib/switcher/index.d.ts +42 -30
  473. package/lib/switcher/index.js +1 -0
  474. package/lib/switcher/switcher.css +431 -23
  475. package/lib/switcher/switcher.d.ts +19 -13
  476. package/lib/switcher/switcher.less +5 -26
  477. package/lib/switcher/switcher.variable.css +801 -10
  478. package/lib/tab/index.d.ts +53 -61
  479. package/lib/tab/index.js +1 -0
  480. package/lib/tab/props.d.ts +12 -11
  481. package/lib/tab/tab-nav.d.ts +17 -13
  482. package/lib/tab/tab-panel.d.ts +5 -10
  483. package/lib/tab/tab.css +401 -21
  484. package/lib/tab/tab.d.ts +19 -20
  485. package/lib/tab/tab.less +55 -46
  486. package/lib/tab/tab.variable.css +768 -5
  487. package/lib/table/components/index.d.ts +3 -0
  488. package/lib/table/components/table-cell.d.ts +38 -0
  489. package/lib/table/components/table-column.d.ts +137 -0
  490. package/lib/table/components/table-row.d.ts +2 -0
  491. package/lib/table/const.d.ts +109 -1
  492. package/lib/table/index.d.ts +841 -41
  493. package/lib/table/index.js +1 -0
  494. package/lib/table/plugins/body-empty.d.ts +40 -0
  495. package/lib/table/plugins/col-group.d.ts +38 -0
  496. package/lib/table/plugins/common.d.ts +6 -0
  497. package/lib/table/plugins/head-filter.css +429 -0
  498. package/lib/table/plugins/head-filter.d.ts +26 -0
  499. package/lib/table/plugins/head-filter.less +93 -0
  500. package/lib/table/plugins/head-filter.variable.css +905 -0
  501. package/lib/table/plugins/head-sort.css +382 -0
  502. package/lib/table/plugins/head-sort.d.ts +22 -0
  503. package/lib/table/plugins/head-sort.less +31 -0
  504. package/lib/table/plugins/head-sort.variable.css +858 -0
  505. package/lib/table/plugins/index.d.ts +5 -0
  506. package/lib/table/plugins/settings.css +502 -0
  507. package/lib/table/plugins/settings.d.ts +37 -0
  508. package/lib/table/plugins/settings.less +179 -0
  509. package/lib/table/plugins/settings.variable.css +978 -0
  510. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  511. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  512. package/lib/table/plugins/use-fixed-column.d.ts +12 -0
  513. package/lib/table/plugins/use-pagination.d.ts +16 -0
  514. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  515. package/lib/table/props.d.ts +308 -8
  516. package/lib/table/render.d.ts +43 -3
  517. package/lib/table/table.css +1547 -29
  518. package/lib/table/table.d.ts +231 -17
  519. package/lib/table/table.less +259 -25
  520. package/lib/table/table.variable.css +2348 -90
  521. package/lib/table/use-column.d.ts +11 -0
  522. package/lib/table/use-common.d.ts +97 -0
  523. package/lib/table/utils.d.ts +65 -9
  524. package/lib/table-column/index.d.ts +325 -0
  525. package/lib/table-column/index.js +1 -0
  526. package/lib/tag/index.d.ts +29 -29
  527. package/lib/tag/index.js +1 -0
  528. package/lib/tag/tag.css +408 -18
  529. package/lib/tag/tag.d.ts +12 -12
  530. package/lib/tag/tag.less +46 -10
  531. package/lib/tag/tag.variable.css +790 -17
  532. package/lib/tag-input/common.d.ts +13 -1
  533. package/lib/tag-input/index.d.ts +1320 -1
  534. package/lib/tag-input/index.js +1 -0
  535. package/lib/tag-input/list-tag-render.d.ts +0 -3
  536. package/lib/tag-input/tag-input.css +398 -44
  537. package/lib/tag-input/tag-input.d.ts +259 -41
  538. package/lib/tag-input/tag-input.less +102 -104
  539. package/lib/tag-input/tag-input.variable.css +767 -30
  540. package/lib/tag-input/tag-props.d.ts +122 -7
  541. package/lib/tag-input/tag-render.d.ts +30 -4
  542. package/lib/time-picker/index.d.ts +904 -0
  543. package/lib/time-picker/index.js +1 -0
  544. package/lib/time-picker/time-picker.css +572 -0
  545. package/lib/time-picker/time-picker.less +260 -0
  546. package/lib/time-picker/time-picker.variable.css +1048 -0
  547. package/lib/timeline/index.d.ts +6 -6
  548. package/lib/timeline/index.js +1 -0
  549. package/lib/timeline/timeline.css +392 -28
  550. package/lib/timeline/timeline.d.ts +1 -1
  551. package/lib/timeline/timeline.less +22 -9
  552. package/lib/timeline/timeline.variable.css +760 -13
  553. package/lib/transfer/const.d.ts +5 -0
  554. package/lib/transfer/index.d.ts +164 -150
  555. package/lib/transfer/index.js +1 -0
  556. package/lib/transfer/props.d.ts +54 -0
  557. package/lib/transfer/transfer.css +451 -91
  558. package/lib/transfer/transfer.d.ts +70 -95
  559. package/lib/transfer/transfer.less +93 -113
  560. package/lib/transfer/transfer.variable.css +838 -95
  561. package/lib/tree/constant.d.ts +62 -0
  562. package/lib/tree/index.d.ts +417 -57
  563. package/lib/tree/index.js +1 -0
  564. package/lib/tree/props.d.ts +124 -0
  565. package/lib/tree/tree.css +534 -9
  566. package/lib/tree/tree.d.ts +190 -18
  567. package/lib/tree/tree.less +54 -3
  568. package/lib/tree/tree.variable.css +1278 -13
  569. package/lib/tree/use-empty.d.ts +6 -0
  570. package/lib/tree/use-node-action.d.ts +12 -0
  571. package/lib/tree/use-node-async.d.ts +5 -0
  572. package/lib/tree/use-node-attribute.d.ts +33 -0
  573. package/lib/tree/use-node-drag.d.ts +3 -0
  574. package/lib/tree/use-search.d.ts +11 -0
  575. package/lib/tree/use-tree-init.d.ts +15 -0
  576. package/lib/tree/util.d.ts +4 -6
  577. package/lib/upload/index.d.ts +566 -0
  578. package/lib/upload/index.js +1 -0
  579. package/lib/upload/props.d.ts +111 -0
  580. package/lib/upload/upload-list.d.ts +47 -0
  581. package/lib/upload/upload-trigger.d.ts +51 -0
  582. package/lib/upload/upload.css +782 -0
  583. package/lib/upload/upload.d.ts +246 -0
  584. package/lib/upload/upload.less +464 -0
  585. package/lib/upload/upload.type.d.ts +78 -0
  586. package/lib/upload/upload.variable.css +1258 -0
  587. package/lib/upload/use-ajax-upload.d.ts +3 -0
  588. package/lib/upload/use-file-handler.d.ts +44 -0
  589. package/lib/virtual-render/index.d.ts +27 -4
  590. package/lib/virtual-render/index.js +1 -0
  591. package/lib/virtual-render/props.d.ts +10 -0
  592. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  593. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  594. package/lib/virtual-render/virtual-render.css +374 -24
  595. package/lib/virtual-render/virtual-render.d.ts +12 -1
  596. package/lib/virtual-render/virtual-render.less +2 -31
  597. package/lib/virtual-render/virtual-render.variable.css +1207 -24
  598. package/lib/volar.components.d.ts +101 -0
  599. package/package.json +61 -42
  600. package/README_EN.md +0 -93
  601. package/dist/bkui-vue.cjs.js +0 -20339
  602. package/dist/bkui-vue.esm.js +0 -20282
  603. package/dist/bkui-vue.umd.js +0 -20342
  604. package/lib/alert/alert.js +0 -1
  605. package/lib/backtop/backtop.js +0 -1
  606. package/lib/badge/badge.js +0 -1
  607. package/lib/breadcrumb/breadcrumb.js +0 -1
  608. package/lib/button/button.js +0 -1
  609. package/lib/card/card.js +0 -1
  610. package/lib/checkbox/checkbox.js +0 -1
  611. package/lib/code-diff/code-diff.js +0 -1
  612. package/lib/collapse/collapse.js +0 -1
  613. package/lib/date-picker/date-picker.js +0 -1
  614. package/lib/dialog/dialog.js +0 -1
  615. package/lib/directives/directives.js +0 -2
  616. package/lib/divider/divider.js +0 -1
  617. package/lib/dropdown/dropdown.js +0 -1
  618. package/lib/exception/exception.js +0 -1
  619. package/lib/form/common.d.ts +0 -3
  620. package/lib/form/form.js +0 -1
  621. package/lib/icon/icon.js +0 -1
  622. package/lib/input/input.js +0 -1
  623. package/lib/link/link.js +0 -1
  624. package/lib/loading/loading.js +0 -1
  625. package/lib/menu/menu.js +0 -1
  626. package/lib/message/message.js +0 -1
  627. package/lib/modal/modal.js +0 -1
  628. package/lib/navigation/navigation.js +0 -1
  629. package/lib/notify/notify.js +0 -1
  630. package/lib/pagination/pagination.js +0 -1
  631. package/lib/popover/popover.js +0 -1
  632. package/lib/process/process.js +0 -1
  633. package/lib/progress/progress.js +0 -1
  634. package/lib/radio/radio.js +0 -1
  635. package/lib/rate/rate.js +0 -1
  636. package/lib/resize-layout/resize-layout.js +0 -1
  637. package/lib/select/select.js +0 -1
  638. package/lib/shared/shared.js +0 -1
  639. package/lib/sideslider/sideslider.js +0 -1
  640. package/lib/slider/slider.js +0 -1
  641. package/lib/steps/steps.js +0 -1
  642. package/lib/swiper/swiper.js +0 -1
  643. package/lib/switcher/switcher.js +0 -1
  644. package/lib/tab/tab.js +0 -1
  645. package/lib/table/table.js +0 -1
  646. package/lib/tag/tag.js +0 -1
  647. package/lib/tag-input/tag-input.js +0 -1
  648. package/lib/timeline/timeline.js +0 -1
  649. package/lib/transfer/transfer.js +0 -1
  650. package/lib/tree/tree.js +0 -1
  651. package/lib/use-form.d.ts +0 -3
  652. package/lib/virtual-render/virtual-render.js +0 -1
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"),require("lodash"),require("../directives"),require("../input"),require("../loading"),require("../popover"),require("../virtual-render"),require("../tag"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon","lodash","../directives","../input","../loading","../popover","../virtual-render","../tag"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon"),require("lodash"),require("../directives"),require("../input"),require("../loading"),require("../popover"),require("../virtual-render"),require("../tag")):t(e["../shared"],e.vue,e["../icon"],e.lodash,e["../directives"],e["../input"],e["../loading"],e["../popover"],e["../virtual-render"],e["../tag"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,((e,t,r,n,o,l,a,i,u,s)=>(()=>{var c={7162:(e,t,r)=>{e.exports=r(5047)},5047:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",i=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,l=Object.create(o.prototype),a=new C(n||[]);return l._invoke=function(e,t,r){var n=d;return function(o,l){if(n===p)throw new Error("Generator is already running");if(n===f){if("throw"===o)throw l;return I()}for(r.method=o,r.arg=l;;){var a=r.delegate;if(a){var i=V(a,r);if(i){if(i===h)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=c(e,t,r);if("normal"===u.type){if(n=r.done?f:v,u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=f,r.method="throw",r.arg=u.arg)}}}(e,r,a),l}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",v="suspendedYield",p="executing",f="completed",h={};function g(){}function y(){}function b(){}var m={};u(m,l,(function(){return this}));var w=Object.getPrototypeOf,T=w&&w(w(N([])));T&&T!==r&&n.call(T,l)&&(m=T);var x=b.prototype=g.prototype=Object.create(m);function P(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,l,a,i){var u=c(e[o],e,l);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,i)}),(function(e){r("throw",e,a,i)})):t.resolve(d).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,i)}))}i(u.arg)}var o;this._invoke=function(e,n){function l(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(l,l):l()}}function V(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,V(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var l=o.arg;return l?l.done?(r[e.resultName]=l.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function k(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function N(e){if(e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:I}}function I(){return{value:t,done:!0}}return y.prototype=b,u(x,"constructor",b),u(b,"constructor",y),y.displayName=u(b,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,i,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},P(S.prototype),u(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,l){void 0===l&&(l=Promise);var a=new S(s(t,r,n,o),l);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},P(x),u(x,i,"Generator"),u(x,l,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},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 r=this;function o(n,o){return i.type="throw",i.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var l=this.tryEntries.length-1;l>=0;--l){var a=this.tryEntries[l],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.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&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var l=o;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var a=l?l.completion:{};return a.type=e,a.arg=t,l?(this.method="next",this.next=l.finallyLoc,h):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),h},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),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},4061:e=>{"use strict";e.exports=o},6870:e=>{"use strict";e.exports=r},8133:e=>{"use strict";e.exports=l},4870:e=>{"use strict";e.exports=a},5537:e=>{"use strict";e.exports=i},4212:t=>{"use strict";t.exports=e},7739:e=>{"use strict";e.exports=s},3511:e=>{"use strict";e.exports=u},467:e=>{"use strict";e.exports=n},748:e=>{"use strict";e.exports=t}},d={};function v(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return c[e](r,r.exports,v),r.exports}v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},v.d=(e,t)=>{for(var r in t)v.o(t,r)&&!v.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),v.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{"use strict";v.r(p),v.d(p,{BkOption:()=>c,BkOptionGroup:()=>h,BkSelect:()=>L,default:()=>E});var e=v(4212),t=v(748),r=v(6870),n=v(7162),o=v.n(n);Object.create,Object.create;var l=Symbol("BkSelect"),a=Symbol("BkOptionGroup");function i(e){return{register:function(t,r){if(r){if(!e.value.has(t))return e.value.set(t,r);console.warn("repeat ".concat(t),r)}},unregister:function(t){e.value.delete(t)}}}function u(e,r){var n=this,l=function(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=e;return(0,t.customRef)((function(e,t){return{get:function(){return e(),o},set:function(e){clearTimeout(r),void 0===e||""===e?(o=e,t()):r=setTimeout((function(){o=e,t()}),n)}}}))}(""),a=(0,t.ref)(!1);return(0,t.watch)(l,(function(){return t=n,i=void 0,u=void 0,s=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a.value=!0,t.next=4,e(l.value);case 4:a.value=!1,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:return t.prev=10,null==r||r(),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,7,10,13]])})),new(u||(u=Promise))((function(e,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function o(e){try{l(s.throw(e))}catch(e){r(e)}}function l(t){var r;t.done?e(t.value):(r=t.value,r instanceof u?r:new u((function(e){e(r)}))).then(n,o)}l((s=s.apply(t,i||[])).next())}));var t,i,u,s})),{searchKey:l,searchLoading:a}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?String(e).trim().toLowerCase():e}const c=(0,t.defineComponent)({name:"Option",props:{value:e.PropTypes.any,label:e.PropTypes.string.def(""),disabled:e.PropTypes.bool.def(!1)},setup:function(e){var r=(0,t.getCurrentInstance)().proxy,n=(0,t.reactive)({visible:!0}),o=(0,t.toRefs)(e),i=o.disabled,u=o.value,s=(0,t.inject)(l,null),c=(0,t.inject)(a,null),d=(0,t.computed)((function(){var e;return null===(e=null==s?void 0:s.selected)||void 0===e?void 0:e.some((function(e){return e.value===u.value}))})),v=(0,t.computed)((function(){return null==s?void 0:s.multiple})),p=(0,t.computed)((function(){return(null==s?void 0:s.activeOptionValue)===u.value})),f=(0,t.computed)((function(){return null==s?void 0:s.showSelectedIcon}));return(0,t.onBeforeMount)((function(){null==s||s.register(u.value,r),null==c||c.register(u.value,r)})),(0,t.onBeforeUnmount)((function(){null==s||s.unregister(u.value),null==c||c.unregister(u.value)})),Object.assign(Object.assign({},(0,t.toRefs)(n)),{selected:d,multiple:v,isHover:p,showSelectedIcon:f,handleOptionClick:function(){i.value||null==s||s.handleOptionSelected(r)},handleMouseEnter:function(){s.activeOptionValue=u.value}})},render:function(){var n,o,l,a=(0,e.classes)({"is-selected":this.selected,"is-disabled":this.disabled,"is-multiple":this.multiple,"is-hover":this.isHover,"bk-select-option":!0});return(0,t.withDirectives)((0,t.createVNode)("li",{class:a,onClick:this.handleOptionClick,onMouseenter:this.handleMouseEnter},[null!==(l=null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n))&&void 0!==l?l:(0,t.createVNode)("span",{class:"bk-select-option-item",title:this.label},[this.label]),this.multiple&&this.selected&&this.showSelectedIcon&&(0,t.createVNode)(r.Done,{class:"bk-select-selected-icon",width:22,height:22},null)]),[[t.vShow,this.visible]])}});function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const h=(0,t.defineComponent)({name:"Group",props:{label:e.PropTypes.string.def(""),disabled:e.PropTypes.bool.def(!1),collapsible:e.PropTypes.bool.def(!1),collapse:e.PropTypes.bool.def(!1)},setup:function(e,r){var n=r.emit,o=(0,t.getCurrentInstance)(),u=o.proxy,s=(0,t.inject)(l,null),c=(0,t.reactive)({groupCollapse:e.collapse,visible:!0}),d=(0,t.ref)(new Map),v=i(d),p=v.register,h=v.unregister,g=(0,t.computed)((function(){return"".concat(e.label," (").concat(f(d.value.values()).filter((function(e){return e.visible})).length,")")}));return(0,t.provide)(a,(0,t.reactive)(Object.assign(Object.assign({},(0,t.toRefs)(e)),{register:p,unregister:h,groupCollapse:(0,t.toRef)(c,"groupCollapse")}))),(0,t.onBeforeMount)((function(){null==s||s.registerGroup(o.uid,u)})),(0,t.onBeforeUnmount)((function(){null==s||s.unregisterGroup(o.uid)})),Object.assign(Object.assign({},(0,t.toRefs)(c)),{groupLabel:g,handleToggleCollapse:function(){e.collapsible&&!e.disabled&&(c.groupCollapse=!c.groupCollapse,n("update:collapse",c.groupCollapse))}})},render:function(){var n,o,l=(0,e.classes)({"bk-option-group":!0,collapsible:this.collapsible,disabled:this.disabled}),a=(0,e.classes)({"bk-option-group-label":!0,collapsible:this.collapsible}),i=(0,e.classes)({"default-group-label-icon":!0,collapse:this.groupCollapse});return(0,t.withDirectives)((0,t.createVNode)("ul",{class:l},[(0,t.createVNode)("li",{class:a,onClick:this.handleToggleCollapse},[this.$slots.label?this.$slots.label():(0,t.createVNode)("span",{class:"default-group-label"},[this.collapsible&&(0,t.createVNode)(r.AngleUpFill,{class:i},null),(0,t.createVNode)("span",{class:"default-group-label-title"},[this.groupLabel])])]),(0,t.withDirectives)((0,t.createVNode)("ul",{class:"bk-option-group-content"},[null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n)]),[[t.vShow,!this.groupCollapse]])]),[[t.vShow,this.visible]])}});function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=v(467),b=v(4061),m=v(8133),w=v.n(m),T=v(4870),x=v.n(T),P=v(5537),S=v.n(P),V=v(3511),k=v.n(V),O=v(7739),C=v.n(O);const N=(0,t.defineComponent)({name:"SelectTagInput",props:{selected:{type:Array,default:function(){return[]}},tagTheme:(0,e.TagThemeType)(),placeholder:e.PropTypes.string.def(""),filterable:e.PropTypes.bool.def(!1),allowCreate:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),modelValue:e.PropTypes.any,collapseTags:e.PropTypes.bool.def(!1)},emits:["update:modelValue","remove","enter"],setup:function(e,r){var n=r.emit,o=(0,t.getCurrentInstance)().proxy,a=(0,t.inject)(l,null),i=(0,t.toRefs)(e),u=i.modelValue,s=i.collapseTags,c=i.selected,d=(0,t.ref)(u.value),v=(0,t.ref)(),p=(0,t.ref)(null);(0,t.watch)(u,(function(){d.value=u.value})),(0,t.watch)([c,s],(function(){h()}),{flush:"post"});var h=function(){s.value&&(p.value=null,setTimeout((function(){var e=function(e){var t=f(o.$el.querySelectorAll(".bk-tag"));return t}(),t=e.findIndex((function(t,r){return!!r&&e[r-1].offsetTop!==t.offsetTop}));p.value=t>0?t:null})))};return{select:a,overflowTagIndex:p,value:d,inputRef:v,handleRemoveTag:function(e){n("remove",e)},focus:function(){var e;null===(e=v.value)||void 0===e||e.focus()},handleInput:function(e){n("update:modelValue",e.target.value)},handleKeydown:function(e){"Enter"===e.code&&n("enter",e.target.value,e)}}},render:function(){var r,n,o,l,a,i,u,s=this,c=(0,e.classes)({"bk-select-tag":!0,"bk-select-tag--default":!0,"is-disabled":this.disabled,"collapse-tag":this.collapseTags}),d=(0,e.classes)({"bk-select-tag-wrapper":!0}),v={display:this.selected.length&&!this.filterable?"none":""};return(0,t.createVNode)("div",{class:c},[null===(n=null===(r=this.$slots)||void 0===r?void 0:r.prefix)||void 0===n?void 0:n.call(r),(0,t.createVNode)("span",{class:d},[null!==(a=null===(l=(o=this.$slots).default)||void 0===l?void 0:l.call(o))&&void 0!==a?a:this.selected.map((function(e,r){var n;return(0,t.createVNode)(C(),{closable:!0,theme:s.tagTheme,style:{display:s.collapseTags&&s.overflowTagIndex&&r>=s.overflowTagIndex?"none":""},onClose:function(){return s.handleRemoveTag(e.value)}},{default:function(){return[null===(n=s.select)||void 0===n?void 0:n.handleGetLabelByValue(e.value)]}})})),!!this.overflowTagIndex&&this.collapseTags&&(0,t.createVNode)(C(),{class:"bk-select-overflow-tag"},{default:function(){return[(0,t.createTextVNode)("+"),s.selected.length-s.overflowTagIndex]}})]),(0,t.createVNode)("input",{class:"bk-select-tag-input",ref:"inputRef",type:"text",style:v,placeholder:this.selected.length?"":this.placeholder,readonly:!this.filterable,disabled:this.disabled,value:this.filterable?this.value:"",onInput:this.handleInput,onKeydown:this.handleKeydown},null),null===(u=null===(i=this.$slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i)])}}),I=(0,t.defineComponent)({name:"Select",directives:{clickoutside:b.clickoutside},props:{modelValue:e.PropTypes.any,multiple:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),size:e.PropTypes.size().def(e.SizeEnum.DEFAULT),clearable:e.PropTypes.bool.def(!0),loading:e.PropTypes.bool.def(!1),filterable:e.PropTypes.bool.def(!1),remoteMethod:e.PropTypes.func,scrollHeight:e.PropTypes.number.def(200),showSelectAll:e.PropTypes.bool.def(!1),popoverMinWidth:e.PropTypes.number.def(0),showOnInit:e.PropTypes.bool.def(!1),multipleMode:e.PropTypes.oneOf(["default","tag"]).def("default"),tagTheme:(0,e.TagThemeType)(),behavior:(0,e.InputBehaviorType)(),collapseTags:e.PropTypes.bool.def(!1),autoHeight:e.PropTypes.bool.def(!0),noDataText:e.PropTypes.string.def("无数据"),noMatchText:e.PropTypes.string.def("无匹配数据"),loadingText:e.PropTypes.string.def("加载中..."),placeholder:e.PropTypes.string.def("请选择"),searchPlaceholder:e.PropTypes.string.def("请输入关键字"),selectAllText:e.PropTypes.string.def("全部"),scrollLoading:e.PropTypes.bool.def(!1),allowCreate:e.PropTypes.bool.def(!1),popoverOptions:e.PropTypes.object.def({}),customContent:e.PropTypes.bool.def(!1),list:e.PropTypes.array.def([]),idKey:e.PropTypes.string.def("value"),displayKey:e.PropTypes.string.def("label"),withValidate:e.PropTypes.bool.def(!0),showSelectedIcon:e.PropTypes.bool.def(!0),inputSearch:e.PropTypes.bool.def(!0),enableVirtualRender:e.PropTypes.bool.def(!1),allowEmptyValues:e.PropTypes.array.def([]),autoFocus:e.PropTypes.bool.def(!1)},emits:["update:modelValue","change","toggle","clear","scroll-end","focus","blur"],setup:function(r,n){var o=n.emit,a=(0,t.toRefs)(r),c=a.modelValue,d=a.disabled,v=a.filterable,p=a.multiple,h=a.remoteMethod,g=a.loading,b=a.loadingText,m=a.noDataText,w=a.noMatchText,T=a.popoverMinWidth,x=a.showOnInit,P=a.multipleMode,S=a.allowCreate,V=a.customContent,k=a.showSelectedIcon,O=a.inputSearch,C=a.enableVirtualRender,N=a.showSelectAll,I=a.scrollHeight,L=a.list,E=a.displayKey,j=a.collapseTags,R=a.autoHeight,M=a.popoverOptions,A=a.allowEmptyValues,H=a.autoFocus,q=(0,e.useFormItem)(),D=(0,t.ref)(),K=(0,t.ref)(),G=(0,t.ref)(),_=(0,t.ref)(),B=(0,t.ref)(),$=(0,t.ref)(),F=(0,t.ref)(),z=(0,t.ref)(new Map),U=(0,t.computed)((function(){return f(z.value.values())})),W=(0,t.ref)(new Map),Y=(0,t.ref)([]),J=(0,t.computed)((function(){return Y.value.reduce((function(e,t){return e[t.value]=t.label,e}),{})})),Q=(0,t.ref)();(0,t.watch)(c,(function(){var e;Ke(),r.withValidate&&(null===(e=null==q?void 0:q.validate)||void 0===e||e.call(q,"blur"))}),{deep:!0}),(0,t.watch)(Y,(function(){var e;null===(e=F.value)||void 0===e||e.updatePopover(null,de.value)}));var X=(0,t.computed)((function(){return le.value?L.value:L.value.filter((function(e){var t;return null===(t=s(String(e[E.value])))||void 0===t?void 0:t.includes(s(Re.value))}))})),Z=(0,t.computed)((function(){return d.value||g.value})),ee=(0,t.computed)((function(){return Y.value.map((function(e){var t,r;return(null===(r=null===(t=z.value)||void 0===t?void 0:t.get(e.value))||void 0===r?void 0:r.label)||e.label}))})),te=(0,t.computed)((function(){var e=U.value.reduce((function(e,t){return t.disabled||e.push(t.value),e}),[]);return e.length<=Y.value.length&&e.every((function(e){return Y.value.some((function(t){return t.value===e}))}))})),re=(0,t.computed)((function(){return!!W.value.size})),ne=(0,t.computed)((function(){return!U.value.length})),oe=(0,t.computed)((function(){return U.value.length&&U.value.every((function(e){return!e.visible}))})),le=(0,t.computed)((function(){return v.value&&"function"==typeof h.value})),ae=(0,t.computed)((function(){return!(Me.value||ne.value||oe.value)||V.value})),ie=(0,t.computed)((function(){return p.value&&N.value&&(!Re.value||!v.value)})),ue=(0,t.computed)((function(){return I.value-12-(ie.value?32:0)})),se=(0,t.computed)((function(){return Me.value?b.value:ne.value?m.value:oe.value?w.value:""})),ce=(0,t.computed)((function(){return R.value?j.value&&!Oe.value:j.value})),de=(0,t.computed)((function(){return(0,y.merge)({theme:"light bk-select-popover",trigger:"manual",width:ke.value,arrow:!1,placement:"bottom-start",isShow:Oe.value,reference:B.value,offset:6,popoverDelay:0},M.value)})),ve=i(z),pe=ve.register,fe=ve.unregister,he=i(W),ge=he.register,ye=he.unregister,be=function(){var e=(0,t.ref)(!1);return{isHover:e,setHover:function(){e.value=!0},cancelHover:function(){e.value=!1}}}(),me=be.isHover,we=be.setHover,Te=be.cancelHover,xe=(0,t.ref)(!1),Pe=function(){xe.value||(xe.value=!0,o("focus"))},Se=function(){xe.value&&(xe.value=!1,o("blur"))},Ve=function(r,n){var o=r.popoverMinWidth,l=null,a=(0,t.ref)("auto"),i=(0,t.ref)(!1),u=function(){var e;a.value=Math.max(null===(e=n.value)||void 0===e?void 0:e.offsetWidth,o)};return(0,t.onMounted)((function(){n.value&&(l=(0,e.observerResize)(n.value,u,60,!0)).start()})),(0,t.onBeforeUnmount)((function(){null==l||l.stop(),l=null})),{isPopoverShow:i,popperWidth:a,togglePopover:function(){i.value=!i.value},hidePopover:function(){i.value=!1},showPopover:function(){i.value=!0}}}({popoverMinWidth:T.value},K),ke=Ve.popperWidth,Oe=Ve.isPopoverShow,Ce=Ve.hidePopover,Ne=Ve.showPopover,Ie=Ve.togglePopover;(0,t.watch)(Oe,(function(){o("toggle",Oe.value)}));var Le=(0,t.computed)((function(){return(v.value&&O.value||S.value)&&Oe.value}));(0,t.watch)(Oe,(function(e){e?setTimeout((function(){qe(),Ee()}),0):Re.value=""}));var Ee=function(){var e,t=Y.value[0],r=z.value.get(null==t?void 0:t.value);r&&!r.disabled&&r.visible?Q.value=null==t?void 0:t.value:Q.value=null===(e=U.value.find((function(e){return!e.disabled&&e.visible})))||void 0===e?void 0:e.value},je=u(le.value?h.value:function(e){v.value&&U.value.forEach((function(t){var r;t.visible=null===(r=s(String(t.label)))||void 0===r?void 0:r.includes(s(e))}))},Ee),Re=je.searchKey,Me=je.searchLoading,Ae=function(e){e!==c.value&&(o("update:modelValue",e,c.value),o("change",e,c.value))},He=function(e){if(!Z.value&&e){if(p.value){var t=Y.value.findIndex((function(t){return t.value===e.value}));t>-1?Y.value.splice(t,1):Y.value.push({value:e.value,label:e.label||e.value}),Ae(Y.value.map((function(e){return e.value})))}else Y.value=[{label:e.label||e.value,value:e.value}],Ae(e.value),Ce();qe()}},qe=function(){setTimeout((function(){var e,t,r;O.value||S.value?"tag"===P.value?null===(t=B.value)||void 0===t||t.focus():null===(r=D.value)||void 0===r||r.focus():null===(e=_.value)||void 0===e||e.focus()}),0)},De=function(e){var t,r;return(null===(r=null===(t=z.value)||void 0===t?void 0:t.get(e))||void 0===r?void 0:r.label)||J.value[e]||e},Ke=function(){Array.isArray(c.value)?Y.value=f(c.value.map((function(e){return{value:e,label:De(e)}}))):c.value||A.value.includes(c.value)?Y.value=[{value:c.value,label:De(c.value)}]:Y.value=[]},Ge=function(e){var t,r,n,o;if((null===(t=K.value)||void 0===t?void 0:t.contains(e.target))||(null===(r=G.value)||void 0===r?void 0:r.contains(e.target))||V.value){var l=U.value.filter((function(e){return!e.disabled&&e.visible})),a=l.findIndex((function(e){return e.value===Q.value}));if(l.length&&-1!==a)switch(e.code){case"ArrowDown":e.preventDefault();var i=a>=l.length-1?0:a+1;Q.value=null===(n=l[i])||void 0===n?void 0:n.value;break;case"ArrowUp":e.preventDefault();var u=0===a?l.length-1:a-1;Q.value=null===(o=l[u])||void 0===o?void 0:o.value;break;case"Backspace":if(!p.value||!Y.value.length||Re.value.length||e.target===_.value)return;Y.value.pop(),Ae(Y.value.map((function(e){return e.value})));break;case"Enter":if(Oe.value){var s=z.value.get(Q.value);He(s)}else Oe.value=!0}}};return(0,t.provide)(l,(0,t.reactive)({multiple:p,selected:Y,activeOptionValue:Q,showSelectedIcon:k,register:pe,unregister:fe,registerGroup:ge,unregisterGroup:ye,handleOptionSelected:He,handleGetLabelByValue:De})),(0,t.onMounted)((function(){Ke(),setTimeout((function(){x.value&&Ne(),H.value&&qe()})),(0,e.on)(document,"keydown",Ge)})),(0,t.onBeforeMount)((function(){(0,e.off)(document,"keydown",Ge)})),{selected:Y,isInput:Le,options:U,isDisabled:Z,selectedLabel:ee,isPopoverShow:Oe,isHover:me,popperWidth:ke,inputRef:D,triggerRef:K,contentRef:G,searchRef:_,selectTagInputRef:B,virtualRenderRef:$,popoverRef:F,searchLoading:Me,isOptionsEmpty:ne,isSearchEmpty:oe,isFocus:xe,isShowSelectContent:ae,curContentText:se,isGroup:re,searchKey:Re,isShowSelectAll:ie,virtualHeight:ue,filterList:X,isCollapseTags:ce,popoverConfig:de,focusInput:qe,setHover:we,cancelHover:Te,handleFocus:Pe,handleBlur:Se,handleTogglePopover:function(){Z.value||(Pe(),Ie())},handleClear:function(e){e.stopPropagation(),Y.value=[],Ae(p.value?[]:""),o("clear",p.value?[]:""),Ce()},hidePopover:Ce,showPopover:Ne,handleToggleAll:function(){te.value?Y.value=[]:U.value.forEach((function(e){e.disabled||Y.value.find((function(t){return t.value===e.value}))||Y.value.push({value:e.value,label:e.label||e.value})})),Ae(Y.value.map((function(e){return e.value}))),qe()},handleOptionSelected:He,handleClickOutside:function(e){var t,r=e.event.target;(null===(t=K.value)||void 0===t?void 0:t.contains(r))||K.value===r||(Ce(),Se())},handleScroll:function(e){var t=e.target;t.scrollTop+t.clientHeight===t.scrollHeight&&o("scroll-end")},handleDeleteTag:function(e){if(!Z.value){var t=Y.value.findIndex((function(t){return t.value===e}));t>-1&&(Y.value.splice(t,1),Ae(Y.value.map((function(e){return e.value}))))}},handleInputChange:function(e){v.value&&(Re.value=e)},handleInputEnter:function(e,t){var r=String(e);!S.value||!r||v.value&&U.value.find((function(e){return s(String(e.label))===s(r)}))||z.value.get(r)||(t.stopPropagation(),p.value?(Y.value.push({value:r,label:r}),Ae(Y.value.map((function(e){return e.value})))):(Y.value=[{value:r,label:r}],Ae(r),Ce()),Re.value="")},handleKeydown:Ge,handleSelectedAllOptionMouseEnter:function(){Q.value=""},handlePopoverShow:function(){setTimeout((function(){var e,t;C.value&&(null===(t=null===(e=$.value)||void 0===e?void 0:e.reset)||void 0===t||t.call(e))}))}}},render:function(){var n,o=this,l=(0,e.classes)((g(n={"bk-select":!0,"popover-show":this.isPopoverShow,"is-disabled":this.isDisabled,"is-focus":this.isFocus,"is-filterable":this.filterable},this.size,!0),g(n,this.behavior,!0),n)),a=function(){return o.loading?(0,t.createVNode)(x(),{loading:!0,theme:"primary",class:"spinner",mode:"spin",size:"mini"},null):o.clearable&&o.isHover&&o.selected.length&&!o.isDisabled?(0,t.createVNode)(r.Close,{class:"clear-icon",onClick:o.handleClear},null):(0,t.createVNode)(r.AngleUp,{class:"angle-up"},null)};return(0,t.createVNode)("div",{class:l},[(0,t.createVNode)(S(),(0,t.mergeProps)(this.popoverConfig,{onClickoutside:this.handleClickOutside,onAfterShow:this.handlePopoverShow,ref:"popoverRef"}),{default:function(){return(0,t.createVNode)("div",{class:"bk-select-trigger",style:{height:o.autoHeight&&o.collapseTags?"32px":""},ref:"triggerRef",onClick:o.handleTogglePopover,onMouseenter:o.setHover,onMouseleave:o.cancelHover},["tag"===o.multipleMode?(0,t.createVNode)(N,{ref:"selectTagInputRef",modelValue:o.searchKey,"onUpdate:modelValue":function(e){return o.searchKey=e},selected:o.selected,tagTheme:o.tagTheme,placeholder:o.placeholder,filterable:o.isInput,disabled:o.isDisabled,onRemove:o.handleDeleteTag,collapseTags:o.isCollapseTags,onEnter:o.handleInputEnter},{prefix:function(){var e,t;return null===(t=(e=o.$slots).prefix)||void 0===t?void 0:t.call(e)},default:o.$slots.tag&&function(){return o.$slots.tag({selected:o.selected})},suffix:function(){return a()}}):(0,t.createVNode)(w(),{ref:"inputRef",type:"text",modelValue:o.isInput?o.searchKey:o.selectedLabel.join(","),placeholder:o.isInput&&o.selectedLabel.join(",")||o.placeholder,readonly:!o.isInput,selectReadonly:!0,disabled:o.isDisabled,behavior:o.behavior,size:o.size,withValidate:!1,onInput:o.handleInputChange,onEnter:o.handleInputEnter},{prefix:function(){var e,t;return null===(t=(e=o.$slots).prefix)||void 0===t?void 0:t.call(e)},suffix:function(){return a()}})])},content:function(){return(0,t.createVNode)("div",{class:"bk-select-content-wrapper",ref:"contentRef"},[o.filterable&&!o.inputSearch&&(0,t.createVNode)("div",{class:"bk-select-search-wrapper"},[(0,t.createVNode)(r.Search,{class:"icon-search",width:16,height:16},null),(0,t.withDirectives)((0,t.createVNode)("input",{ref:"searchRef",class:"bk-select-search-input",placeholder:o.searchPlaceholder,"onUpdate:modelValue":function(e){return o.searchKey=e}},null),[[t.vModelText,o.searchKey]])]),!o.isShowSelectContent&&(0,t.createVNode)("div",{class:"bk-select-empty"},[o.searchLoading&&(0,t.createVNode)(x(),{class:"mr5",theme:"primary",loading:!0,mode:"spin",size:"mini"},null),(0,t.createVNode)("span",null,[o.curContentText])]),(0,t.createVNode)("div",{class:"bk-select-content"},[(0,t.createVNode)("div",{class:"bk-select-dropdown",style:{maxHeight:"".concat(o.scrollHeight,"px")},onScroll:o.handleScroll},[(0,t.withDirectives)((0,t.createVNode)("ul",{class:"bk-select-options"},[o.isShowSelectAll&&(0,t.createVNode)("li",{class:"bk-select-option",onMouseenter:o.handleSelectedAllOptionMouseEnter,onClick:o.handleToggleAll},[o.selectAllText]),o.enableVirtualRender?(0,t.createVNode)(k(),{list:o.filterList,height:o.virtualHeight,lineHeight:32,ref:"virtualRenderRef"},{default:function(e){return e.data.map((function(e){return(0,t.createVNode)(c,{key:e[o.idKey],value:e[o.idKey],label:e[o.displayKey]},null)}))}}):o.filterList.map((function(e){return(0,t.createVNode)(c,{value:e[o.idKey],label:e[o.displayKey]},null)})),null===(n=(e=o.$slots).default)||void 0===n?void 0:n.call(e),o.scrollLoading&&(0,t.createVNode)("li",{class:"bk-select-options-loading"},[(0,t.createVNode)(x(),{class:"spinner mr5",theme:"primary",loading:!0,mode:"spin",size:"mini"},null),(0,t.createVNode)("span",null,[o.loadingText])])]),[[t.vShow,o.isShowSelectContent]])]),o.$slots.extension&&(0,t.createVNode)("div",{class:"bk-select-extension"},[o.$slots.extension()])])]);var e,n}})])}});var L=(0,e.withInstallProps)(I,{Option:c,Group:h});const E=L})(),p})()));
@@ -1,6 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- value: import("vue-types").VueTypeDef<string | number | boolean>;
3
- label: import("vue-types").VueTypeDef<string | number>;
2
+ value: import("vue-types").VueTypeValidableDef<any>;
3
+ label: import("vue-types").VueTypeValidableDef<string> & {
4
+ default: string;
5
+ } & {
6
+ default: string;
7
+ };
4
8
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
5
9
  default: boolean;
6
10
  } & {
@@ -9,17 +13,25 @@ declare const _default: import("vue").DefineComponent<{
9
13
  }, {
10
14
  selected: import("vue").ComputedRef<boolean>;
11
15
  multiple: import("vue").ComputedRef<boolean>;
16
+ isHover: import("vue").ComputedRef<boolean>;
17
+ showSelectedIcon: import("vue").ComputedRef<boolean>;
12
18
  handleOptionClick: () => void;
19
+ handleMouseEnter: () => void;
13
20
  visible: import("vue").Ref<boolean>;
14
21
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- value: import("vue-types").VueTypeDef<string | number | boolean>;
16
- label: import("vue-types").VueTypeDef<string | number>;
22
+ value: import("vue-types").VueTypeValidableDef<any>;
23
+ label: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ } & {
26
+ default: string;
27
+ };
17
28
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
18
29
  default: boolean;
19
30
  } & {
20
31
  default: boolean;
21
32
  };
22
33
  }>>, {
34
+ label: string;
23
35
  disabled: boolean;
24
36
  }>;
25
37
  export default _default;
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
47
47
  };
48
48
  }>>, {
49
49
  label: string;
50
- collapse: boolean;
51
50
  disabled: boolean;
51
+ collapse: boolean;
52
52
  collapsible: boolean;
53
53
  }>;
54
54
  export default _default;