bkui-vue 0.0.1-beta.17 → 0.0.1-beta.170

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 (570) hide show
  1. package/README.md +7 -3
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +35199 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4602
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +116 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +5 -3
  14. package/lib/alert/alert.less +7 -3
  15. package/lib/alert/alert.variable.css +29 -6
  16. package/lib/alert/index.js +1 -1
  17. package/lib/animate-number/index.js +1 -1
  18. package/lib/backtop/backtop.css +8 -0
  19. package/lib/backtop/backtop.d.ts +2 -2
  20. package/lib/backtop/backtop.less +8 -0
  21. package/lib/backtop/backtop.variable.css +32 -3
  22. package/lib/backtop/index.d.ts +7 -7
  23. package/lib/backtop/index.js +1 -1
  24. package/lib/badge/badge.css +5 -5
  25. package/lib/badge/badge.d.ts +29 -8
  26. package/lib/badge/badge.less +5 -6
  27. package/lib/badge/badge.variable.css +29 -8
  28. package/lib/badge/index.d.ts +71 -21
  29. package/lib/badge/index.js +1 -1
  30. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  31. package/lib/breadcrumb/breadcrumb.css +51 -0
  32. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  33. package/lib/breadcrumb/breadcrumb.variable.css +75 -3
  34. package/lib/breadcrumb/index.d.ts +5 -5
  35. package/lib/breadcrumb/index.js +1 -1
  36. package/lib/button/button.css +92 -45
  37. package/lib/button/button.d.ts +51 -6
  38. package/lib/button/button.less +88 -47
  39. package/lib/button/button.variable.css +116 -48
  40. package/lib/button/index.d.ts +85 -14
  41. package/lib/button/index.js +1 -1
  42. package/lib/card/card.css +96 -1
  43. package/lib/card/card.d.ts +47 -6
  44. package/lib/card/card.less +50 -2
  45. package/lib/card/card.variable.css +120 -4
  46. package/lib/card/index.d.ts +113 -17
  47. package/lib/card/index.js +1 -1
  48. package/lib/cascader/cascader-panel.d.ts +66 -0
  49. package/lib/cascader/cascader.css +150 -0
  50. package/lib/cascader/cascader.d.ts +289 -0
  51. package/lib/cascader/cascader.less +170 -0
  52. package/lib/cascader/cascader.variable.css +263 -0
  53. package/lib/cascader/index.d.ts +792 -0
  54. package/lib/cascader/index.js +1 -0
  55. package/lib/cascader/interface.d.ts +47 -0
  56. package/lib/cascader/node.d.ts +25 -0
  57. package/lib/cascader/store.d.ts +19 -0
  58. package/lib/checkbox/checkbox-group.d.ts +16 -0
  59. package/lib/checkbox/checkbox.css +38 -6
  60. package/lib/checkbox/checkbox.d.ts +16 -14
  61. package/lib/checkbox/checkbox.less +48 -6
  62. package/lib/checkbox/checkbox.variable.css +62 -9
  63. package/lib/checkbox/common.d.ts +3 -3
  64. package/lib/checkbox/index.d.ts +40 -23
  65. package/lib/checkbox/index.js +1 -1
  66. package/lib/checkbox/type.d.ts +3 -7
  67. package/lib/code-diff/code-diff.css +186 -0
  68. package/lib/code-diff/code-diff.d.ts +80 -0
  69. package/lib/code-diff/code-diff.less +238 -0
  70. package/lib/code-diff/code-diff.variable.css +299 -0
  71. package/lib/code-diff/index.d.ts +154 -0
  72. package/lib/code-diff/index.js +1 -0
  73. package/lib/collapse/collapse-panel.d.ts +75 -0
  74. package/lib/collapse/collapse.css +28 -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 +141 -12
  78. package/lib/collapse/index.d.ts +116 -16
  79. package/lib/collapse/index.js +1 -1
  80. package/lib/collapse/props.d.ts +123 -0
  81. package/lib/collapse/utils.d.ts +11 -0
  82. package/lib/color-picker/color-picker.css +275 -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 +388 -0
  86. package/lib/color-picker/index.d.ts +254 -0
  87. package/lib/color-picker/index.js +1 -0
  88. package/lib/color-picker/utils.d.ts +37 -0
  89. package/lib/components.d.ts +26 -6
  90. package/lib/components.js +1 -0
  91. package/lib/container/col.d.ts +51 -0
  92. package/lib/container/container.css +91 -0
  93. package/lib/container/container.d.ts +83 -0
  94. package/lib/container/container.less +20 -0
  95. package/lib/container/container.variable.css +204 -0
  96. package/lib/container/index.d.ts +223 -0
  97. package/lib/container/index.js +1 -0
  98. package/lib/container/row.d.ts +4 -0
  99. package/lib/date-picker/date-picker.css +18 -2
  100. package/lib/date-picker/date-picker.d.ts +54 -137
  101. package/lib/date-picker/date-picker.less +23 -2
  102. package/lib/date-picker/date-picker.variable.css +42 -5
  103. package/lib/date-picker/index.d.ts +93 -32
  104. package/lib/date-picker/index.js +1 -1
  105. package/lib/date-picker/interface.d.ts +10 -1
  106. package/lib/date-picker/props.d.ts +161 -0
  107. package/lib/date-picker/time-picker.d.ts +381 -0
  108. package/lib/date-picker/utils.d.ts +22 -1
  109. package/lib/dialog/dialog.css +78 -21
  110. package/lib/dialog/dialog.d.ts +264 -52
  111. package/lib/dialog/dialog.less +56 -22
  112. package/lib/dialog/dialog.variable.css +78 -21
  113. package/lib/dialog/index.d.ts +581 -115
  114. package/lib/dialog/index.js +1 -1
  115. package/lib/dialog/props.d.ts +132 -0
  116. package/lib/directives/clickoutside.d.ts +3 -23
  117. package/lib/directives/index.js +2 -15
  118. package/lib/directives/index.js.LICENSE.txt +14 -0
  119. package/lib/directives/tooltips.d.ts +1 -1
  120. package/lib/dist.index.js +1 -0
  121. package/lib/divider/divider.d.ts +1 -1
  122. package/lib/divider/divider.variable.css +24 -3
  123. package/lib/divider/index.d.ts +4 -4
  124. package/lib/divider/index.js +1 -1
  125. package/lib/divider/props.d.ts +21 -0
  126. package/lib/dropdown/const.d.ts +4 -0
  127. package/lib/dropdown/dropdown.css +12 -5
  128. package/lib/dropdown/dropdown.d.ts +35 -4
  129. package/lib/dropdown/dropdown.less +48 -34
  130. package/lib/dropdown/dropdown.variable.css +36 -8
  131. package/lib/dropdown/index.d.ts +75 -14
  132. package/lib/dropdown/index.js +1 -1
  133. package/lib/exception/exception.css +40 -14
  134. package/lib/exception/exception.d.ts +10 -3
  135. package/lib/exception/exception.less +59 -22
  136. package/lib/exception/exception.variable.css +64 -17
  137. package/lib/exception/index.d.ts +23 -8
  138. package/lib/exception/index.js +1 -1
  139. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  140. package/lib/fixed-navbar/fixed-navbar.variable.css +24 -3
  141. package/lib/fixed-navbar/index.d.ts +40 -5
  142. package/lib/fixed-navbar/index.js +1 -1
  143. package/lib/form/compose-form-item.d.ts +16 -0
  144. package/lib/form/form-item.d.ts +21 -24
  145. package/lib/form/form.css +102 -10
  146. package/lib/form/form.d.ts +38 -41
  147. package/lib/form/form.less +145 -34
  148. package/lib/form/form.variable.css +215 -10
  149. package/lib/form/index.d.ts +303 -3
  150. package/lib/form/index.js +1 -1
  151. package/lib/form/type.d.ts +8 -6
  152. package/lib/form/validator.d.ts +1 -0
  153. package/lib/icon/angle-double-down-line.d.ts +4 -0
  154. package/lib/icon/angle-double-down-line.js +1 -0
  155. package/lib/icon/angle-double-left-line.d.ts +4 -0
  156. package/lib/icon/angle-double-left-line.js +1 -0
  157. package/lib/icon/angle-double-left.js +1 -15
  158. package/lib/icon/angle-double-right-line.d.ts +4 -0
  159. package/lib/icon/angle-double-right-line.js +1 -0
  160. package/lib/icon/angle-double-right.js +1 -15
  161. package/lib/icon/angle-double-up-line.d.ts +4 -0
  162. package/lib/icon/angle-double-up-line.js +1 -0
  163. package/lib/icon/angle-down-fill.js +1 -15
  164. package/lib/icon/angle-down-line.js +1 -15
  165. package/lib/icon/angle-down.js +1 -15
  166. package/lib/icon/angle-left.js +1 -15
  167. package/lib/icon/angle-right.js +1 -15
  168. package/lib/icon/angle-up-fill.js +1 -15
  169. package/lib/icon/angle-up.js +1 -15
  170. package/lib/icon/archive-fill.d.ts +4 -0
  171. package/lib/icon/archive-fill.js +1 -0
  172. package/lib/icon/arrows-left.js +1 -15
  173. package/lib/icon/arrows-right.d.ts +4 -0
  174. package/lib/icon/arrows-right.js +1 -0
  175. package/lib/icon/audio-fill.d.ts +4 -0
  176. package/lib/icon/audio-fill.js +1 -0
  177. package/lib/icon/bk.d.ts +4 -0
  178. package/lib/icon/bk.js +1 -0
  179. package/lib/icon/circle.js +1 -15
  180. package/lib/icon/close-line.d.ts +4 -0
  181. package/lib/icon/close-line.js +1 -0
  182. package/lib/icon/close.js +1 -15
  183. package/lib/icon/code.js +1 -15
  184. package/lib/icon/cog-shape.js +1 -15
  185. package/lib/icon/collapse-left.js +1 -15
  186. package/lib/icon/copy.js +1 -15
  187. package/lib/icon/data-shape.d.ts +4 -0
  188. package/lib/icon/data-shape.js +1 -0
  189. package/lib/icon/del.d.ts +4 -0
  190. package/lib/icon/del.js +1 -0
  191. package/lib/icon/doc-fill.d.ts +4 -0
  192. package/lib/icon/doc-fill.js +1 -0
  193. package/lib/icon/done.js +1 -15
  194. package/lib/icon/down-shape.js +1 -15
  195. package/lib/icon/down-small.js +1 -15
  196. package/lib/icon/edit-line.d.ts +4 -0
  197. package/lib/icon/edit-line.js +1 -0
  198. package/lib/icon/ellipsis.d.ts +4 -0
  199. package/lib/icon/ellipsis.js +1 -0
  200. package/lib/icon/enlarge-line.d.ts +4 -0
  201. package/lib/icon/enlarge-line.js +1 -0
  202. package/lib/icon/error.js +1 -15
  203. package/lib/icon/excel-fill.d.ts +4 -0
  204. package/lib/icon/excel-fill.js +1 -0
  205. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  206. package/lib/icon/exclamation-circle-shape.js +1 -0
  207. package/lib/icon/eye.js +1 -15
  208. package/lib/icon/filliscreen-line.d.ts +4 -0
  209. package/lib/icon/filliscreen-line.js +1 -0
  210. package/lib/icon/folder-open.js +1 -15
  211. package/lib/icon/folder-shape-open.js +1 -15
  212. package/lib/icon/folder-shape.js +1 -15
  213. package/lib/icon/folder.js +1 -15
  214. package/lib/icon/funnel.d.ts +4 -0
  215. package/lib/icon/funnel.js +1 -0
  216. package/lib/icon/help-document-fill.js +1 -15
  217. package/lib/icon/help-fill.js +1 -15
  218. package/lib/icon/image-fill.d.ts +4 -0
  219. package/lib/icon/image-fill.js +1 -0
  220. package/lib/icon/img-error.d.ts +4 -0
  221. package/lib/icon/img-error.js +1 -0
  222. package/lib/icon/img-placehoulder.d.ts +4 -0
  223. package/lib/icon/img-placehoulder.js +1 -0
  224. package/lib/icon/index.d.ts +36 -0
  225. package/lib/icon/index.js +1 -15
  226. package/lib/icon/info-line.js +1 -15
  227. package/lib/icon/info.js +1 -15
  228. package/lib/icon/left-shape.d.ts +4 -0
  229. package/lib/icon/left-shape.js +1 -0
  230. package/lib/icon/left-turn-line.d.ts +4 -0
  231. package/lib/icon/left-turn-line.js +1 -0
  232. package/lib/icon/narrow-line.d.ts +4 -0
  233. package/lib/icon/narrow-line.js +1 -0
  234. package/lib/icon/original .d.ts +4 -0
  235. package/lib/icon/original .js +1 -0
  236. package/lib/icon/pdf-fill.d.ts +4 -0
  237. package/lib/icon/pdf-fill.js +1 -0
  238. package/lib/icon/play-shape.js +1 -15
  239. package/lib/icon/plus.js +1 -15
  240. package/lib/icon/ppt-fill.d.ts +4 -0
  241. package/lib/icon/ppt-fill.js +1 -0
  242. package/lib/icon/qq.d.ts +4 -0
  243. package/lib/icon/qq.js +1 -0
  244. package/lib/icon/right-shape.js +1 -15
  245. package/lib/icon/right-turn-line.d.ts +4 -0
  246. package/lib/icon/right-turn-line.js +1 -0
  247. package/lib/icon/search.js +1 -15
  248. package/lib/icon/share.js +1 -15
  249. package/lib/icon/spinner.js +1 -15
  250. package/lib/icon/success.js +1 -15
  251. package/lib/icon/switcher-loading.js +1 -15
  252. package/lib/icon/text-file.js +1 -15
  253. package/lib/icon/text-fill.d.ts +4 -0
  254. package/lib/icon/text-fill.js +1 -0
  255. package/lib/icon/tree-application-shape.js +1 -15
  256. package/lib/icon/unfull-screen.d.ts +4 -0
  257. package/lib/icon/unfull-screen.js +1 -0
  258. package/lib/icon/unvisible.js +1 -15
  259. package/lib/icon/up-shape.d.ts +4 -0
  260. package/lib/icon/up-shape.js +1 -0
  261. package/lib/icon/upload.d.ts +4 -0
  262. package/lib/icon/upload.js +1 -0
  263. package/lib/icon/video-fill.d.ts +4 -0
  264. package/lib/icon/video-fill.js +1 -0
  265. package/lib/icon/warn.js +1 -15
  266. package/lib/icon/weixin.d.ts +4 -0
  267. package/lib/icon/weixin.js +1 -0
  268. package/lib/image/image-viewer.css +142 -0
  269. package/lib/image/image-viewer.d.ts +73 -0
  270. package/lib/image/image-viewer.less +168 -0
  271. package/lib/image/image-viewer.variable.css +142 -0
  272. package/lib/image/image.css +37 -0
  273. package/lib/image/image.d.ts +93 -0
  274. package/lib/image/image.less +44 -0
  275. package/lib/image/image.variable.css +37 -0
  276. package/lib/image/index.d.ts +246 -0
  277. package/lib/image/index.js +1 -0
  278. package/lib/image/props.d.ts +71 -0
  279. package/lib/index.d.ts +0 -1
  280. package/lib/index.js +1 -0
  281. package/lib/info-box/index.d.ts +23 -0
  282. package/lib/info-box/index.js +1 -0
  283. package/lib/input/index.d.ts +212 -47
  284. package/lib/input/index.js +1 -15
  285. package/lib/input/input.css +232 -17
  286. package/lib/input/input.d.ts +143 -13
  287. package/lib/input/input.less +180 -18
  288. package/lib/input/input.variable.css +253 -16
  289. package/lib/link/index.d.ts +4 -4
  290. package/lib/link/index.js +1 -1
  291. package/lib/link/link.css +12 -12
  292. package/lib/link/link.d.ts +1 -1
  293. package/lib/link/link.less +16 -14
  294. package/lib/link/link.variable.css +36 -15
  295. package/lib/loading/index.d.ts +135 -19
  296. package/lib/loading/index.js +1 -1
  297. package/lib/loading/loading.css +177 -98
  298. package/lib/loading/loading.d.ts +96 -12
  299. package/lib/loading/loading.less +84 -73
  300. package/lib/loading/loading.variable.css +201 -101
  301. package/lib/menu/index.d.ts +12 -20
  302. package/lib/menu/index.js +1 -1
  303. package/lib/menu/menu.css +51 -0
  304. package/lib/menu/menu.d.ts +6 -15
  305. package/lib/menu/menu.variable.css +75 -3
  306. package/lib/menu/submenu.variable.css +24 -3
  307. package/lib/menu/utils.d.ts +1 -1
  308. package/lib/message/index.js +1 -1
  309. package/lib/message/message.css +24 -3
  310. package/lib/message/message.less +27 -2
  311. package/lib/message/message.variable.css +48 -6
  312. package/lib/message/messageConstructor.d.ts +43 -7
  313. package/lib/modal/index.d.ts +473 -60
  314. package/lib/modal/index.js +1 -1
  315. package/lib/modal/modal.css +25 -1
  316. package/lib/modal/modal.d.ts +181 -23
  317. package/lib/modal/modal.less +33 -1
  318. package/lib/modal/modal.variable.css +25 -1
  319. package/lib/modal/props.mixin.d.ts +77 -10
  320. package/lib/navigation/index.d.ts +310 -1
  321. package/lib/navigation/index.js +1 -1
  322. package/lib/navigation/navigation.css +1 -1
  323. package/lib/navigation/navigation.d.ts +10 -1
  324. package/lib/navigation/navigation.less +1 -1
  325. package/lib/navigation/navigation.variable.css +25 -4
  326. package/lib/notify/index.js +1 -1
  327. package/lib/notify/notify.css +24 -4
  328. package/lib/notify/notify.less +27 -4
  329. package/lib/notify/notify.variable.css +48 -7
  330. package/lib/notify/notifyConstructor.d.ts +50 -6
  331. package/lib/pagination/index.d.ts +410 -0
  332. package/lib/pagination/index.js +1 -0
  333. package/lib/pagination/pagination.css +205 -0
  334. package/lib/pagination/pagination.d.ts +230 -0
  335. package/lib/pagination/pagination.less +228 -0
  336. package/lib/pagination/pagination.variable.css +318 -0
  337. package/lib/pagination/type.d.ts +6 -0
  338. package/lib/pagination/use-limit.d.ts +8 -0
  339. package/lib/pagination/use-list.d.ts +8 -0
  340. package/lib/pagination/use-small-list.d.ts +5 -0
  341. package/lib/pagination/use-total.d.ts +5 -0
  342. package/lib/popover/index.d.ts +114 -14
  343. package/lib/popover/index.js +1 -1
  344. package/lib/popover/popover.css +4 -0
  345. package/lib/popover/popover.d.ts +53 -5
  346. package/lib/popover/popover.less +4 -0
  347. package/lib/popover/popover.variable.css +28 -3
  348. package/lib/popover/props.d.ts +28 -1
  349. package/lib/popover2/arrow.d.ts +2 -0
  350. package/lib/popover2/const.d.ts +10 -0
  351. package/lib/popover2/content.d.ts +24 -0
  352. package/lib/popover2/index.d.ts +505 -0
  353. package/lib/popover2/index.js +1 -0
  354. package/lib/popover2/plugin-popover.d.ts +7 -0
  355. package/lib/popover2/popover2.css +25 -0
  356. package/lib/popover2/popover2.d.ts +213 -0
  357. package/lib/popover2/popover2.less +35 -0
  358. package/lib/popover2/popover2.variable.css +138 -0
  359. package/lib/popover2/props.d.ts +112 -0
  360. package/lib/popover2/reference.d.ts +2 -0
  361. package/lib/popover2/root.d.ts +16 -0
  362. package/lib/popover2/use-floating.d.ts +20 -0
  363. package/lib/popover2/use-platform.d.ts +30 -0
  364. package/lib/popover2/use-popover-init.d.ts +13 -0
  365. package/lib/popover2/use-popper-id.d.ts +7 -0
  366. package/lib/preset.js +1 -0
  367. package/lib/process/index.d.ts +7 -7
  368. package/lib/process/index.js +1 -15
  369. package/lib/process/process.d.ts +2 -2
  370. package/lib/process/process.variable.css +24 -3
  371. package/lib/progress/index.d.ts +16 -16
  372. package/lib/progress/index.js +1 -1
  373. package/lib/progress/progress.css +51 -0
  374. package/lib/progress/progress.d.ts +5 -5
  375. package/lib/progress/progress.variable.css +75 -3
  376. package/lib/radio/common.d.ts +5 -5
  377. package/lib/radio/index.d.ts +30 -19
  378. package/lib/radio/index.js +1 -1
  379. package/lib/radio/radio-button.d.ts +7 -8
  380. package/lib/radio/radio-group.d.ts +16 -0
  381. package/lib/radio/radio.css +62 -57
  382. package/lib/radio/radio.d.ts +4 -4
  383. package/lib/radio/radio.less +181 -172
  384. package/lib/radio/radio.variable.css +88 -62
  385. package/lib/radio/type.d.ts +10 -5
  386. package/lib/rate/index.d.ts +24 -1
  387. package/lib/rate/index.js +1 -1
  388. package/lib/rate/rate.d.ts +11 -0
  389. package/lib/rate/star.d.ts +1 -1
  390. package/lib/resize-layout/index.d.ts +336 -0
  391. package/lib/resize-layout/index.js +1 -0
  392. package/lib/resize-layout/resize-layout.css +189 -0
  393. package/lib/resize-layout/resize-layout.d.ts +127 -0
  394. package/lib/resize-layout/resize-layout.less +233 -0
  395. package/lib/resize-layout/resize-layout.variable.css +302 -0
  396. package/lib/select/common.d.ts +20 -31
  397. package/lib/select/index.d.ts +1095 -458
  398. package/lib/select/index.js +1 -15
  399. package/lib/select/option.d.ts +16 -4
  400. package/lib/select/optionGroup.d.ts +1 -77
  401. package/lib/select/select.css +265 -81
  402. package/lib/select/select.d.ts +435 -126
  403. package/lib/select/select.less +364 -184
  404. package/lib/select/select.variable.css +290 -85
  405. package/lib/select/selectTagInput.d.ts +92 -0
  406. package/lib/select/type.d.ts +38 -0
  407. package/lib/shared/dom.d.ts +3 -0
  408. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -1
  409. package/lib/shared/index.d.ts +17 -4
  410. package/lib/shared/index.js +1 -1
  411. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  412. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  413. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +7 -3
  414. package/lib/shared/token.d.ts +4 -0
  415. package/lib/shared/utils.d.ts +12 -0
  416. package/lib/shared/vue-types.d.ts +11 -7
  417. package/lib/sideslider/index.d.ts +365 -61
  418. package/lib/sideslider/index.js +1 -1
  419. package/lib/sideslider/sideslider.css +54 -10
  420. package/lib/sideslider/sideslider.d.ts +169 -26
  421. package/lib/sideslider/sideslider.less +71 -13
  422. package/lib/sideslider/sideslider.variable.css +78 -13
  423. package/lib/slider/index.d.ts +414 -1
  424. package/lib/slider/index.js +1 -15
  425. package/lib/slider/slider-button.d.ts +5 -0
  426. package/lib/slider/slider.d.ts +14 -2
  427. package/lib/slider/slider.variable.css +24 -3
  428. package/lib/steps/index.d.ts +7 -7
  429. package/lib/steps/index.js +1 -15
  430. package/lib/steps/steps.css +14 -3
  431. package/lib/steps/steps.d.ts +2 -2
  432. package/lib/steps/steps.less +23 -3
  433. package/lib/steps/steps.variable.css +38 -6
  434. package/lib/styles/index.d.ts +13 -0
  435. package/lib/styles/mixins/clearfix.css +8 -0
  436. package/lib/styles/mixins/clearfix.less +10 -0
  437. package/lib/styles/mixins/clearfix.variable.css +8 -0
  438. package/lib/styles/mixins/mixins.css +51 -0
  439. package/lib/styles/mixins/mixins.less +2 -0
  440. package/lib/styles/mixins/mixins.variable.css +51 -0
  441. package/lib/styles/mixins/scroll.css +17 -0
  442. package/lib/styles/mixins/scroll.less +22 -0
  443. package/lib/styles/mixins/scroll.variable.css +130 -0
  444. package/lib/styles/reset.css +36 -0
  445. package/lib/styles/reset.less +26 -0
  446. package/lib/styles/reset.variable.css +36 -0
  447. package/lib/styles/themes/themes.less +30 -3
  448. package/lib/swiper/index.d.ts +181 -0
  449. package/lib/swiper/index.js +1 -0
  450. package/lib/swiper/swiper.css +91 -0
  451. package/lib/swiper/swiper.d.ts +65 -0
  452. package/lib/swiper/swiper.less +107 -0
  453. package/lib/swiper/swiper.variable.css +91 -0
  454. package/lib/switcher/index.d.ts +37 -14
  455. package/lib/switcher/index.js +1 -1
  456. package/lib/switcher/switcher.css +57 -6
  457. package/lib/switcher/switcher.d.ts +16 -5
  458. package/lib/switcher/switcher.less +5 -26
  459. package/lib/switcher/switcher.variable.css +81 -9
  460. package/lib/tab/index.d.ts +110 -222
  461. package/lib/tab/index.js +1 -1
  462. package/lib/tab/props.d.ts +194 -0
  463. package/lib/tab/tab-nav.d.ts +66 -87
  464. package/lib/tab/tab-panel.d.ts +40 -15
  465. package/lib/tab/tab.css +25 -1
  466. package/lib/tab/tab.d.ts +18 -42
  467. package/lib/tab/tab.less +31 -19
  468. package/lib/tab/tab.variable.css +49 -4
  469. package/lib/table/const.d.ts +66 -1
  470. package/lib/table/index.d.ts +347 -12
  471. package/lib/table/index.js +1 -1
  472. package/lib/table/plugins/head-filter.css +72 -0
  473. package/lib/table/plugins/head-filter.less +93 -0
  474. package/lib/table/plugins/head-filter.variable.css +185 -0
  475. package/lib/table/plugins/head-sort.css +22 -0
  476. package/lib/table/plugins/head-sort.less +28 -0
  477. package/lib/table/plugins/head-sort.variable.css +135 -0
  478. package/lib/table/plugins/settings.css +129 -0
  479. package/lib/table/plugins/settings.less +157 -0
  480. package/lib/table/plugins/settings.variable.css +242 -0
  481. package/lib/table/props.d.ts +156 -4
  482. package/lib/table/render.d.ts +61 -6
  483. package/lib/table/table.css +1124 -15
  484. package/lib/table/table.d.ts +158 -8
  485. package/lib/table/table.less +217 -24
  486. package/lib/table/table.variable.css +1159 -29
  487. package/lib/table/use-common.d.ts +72 -0
  488. package/lib/table/utils.d.ts +52 -3
  489. package/lib/tag/index.d.ts +189 -22
  490. package/lib/tag/index.js +1 -1
  491. package/lib/tag/tag.css +112 -0
  492. package/lib/tag/tag.d.ts +83 -7
  493. package/lib/tag/tag.less +127 -2
  494. package/lib/tag/tag.variable.css +136 -3
  495. package/lib/tag-input/common.d.ts +24 -0
  496. package/lib/tag-input/index.d.ts +913 -0
  497. package/lib/tag-input/index.js +1 -0
  498. package/lib/tag-input/list-tag-render.d.ts +47 -0
  499. package/lib/tag-input/tag-input.css +209 -0
  500. package/lib/tag-input/tag-input.d.ts +383 -0
  501. package/lib/tag-input/tag-input.less +251 -0
  502. package/lib/tag-input/tag-input.variable.css +322 -0
  503. package/lib/tag-input/tag-props.d.ts +135 -0
  504. package/lib/tag-input/tag-render.d.ts +38 -0
  505. package/lib/time-picker/index.d.ts +904 -0
  506. package/lib/time-picker/index.js +1 -0
  507. package/lib/time-picker/time-picker.css +215 -0
  508. package/lib/time-picker/time-picker.less +260 -0
  509. package/lib/time-picker/time-picker.variable.css +328 -0
  510. package/lib/timeline/index.d.ts +4 -4
  511. package/lib/timeline/index.js +1 -1
  512. package/lib/timeline/timeline.css +5 -5
  513. package/lib/timeline/timeline.d.ts +1 -1
  514. package/lib/timeline/timeline.less +6 -5
  515. package/lib/timeline/timeline.variable.css +29 -8
  516. package/lib/transfer/const.d.ts +5 -0
  517. package/lib/transfer/index.d.ts +365 -0
  518. package/lib/transfer/index.js +1 -0
  519. package/lib/transfer/props.d.ts +54 -0
  520. package/lib/transfer/transfer.css +139 -0
  521. package/lib/transfer/transfer.d.ts +160 -0
  522. package/lib/transfer/transfer.less +144 -0
  523. package/lib/transfer/transfer.variable.css +252 -0
  524. package/lib/tree/constant.d.ts +45 -0
  525. package/lib/tree/index.d.ts +340 -44
  526. package/lib/tree/index.js +1 -1
  527. package/lib/tree/props.d.ts +114 -0
  528. package/lib/tree/tree.css +175 -14
  529. package/lib/tree/tree.d.ts +157 -15
  530. package/lib/tree/tree.less +70 -26
  531. package/lib/tree/tree.variable.css +288 -14
  532. package/lib/tree/use-empty.d.ts +6 -0
  533. package/lib/tree/use-node-action.d.ts +12 -0
  534. package/lib/tree/use-node-async.d.ts +5 -0
  535. package/lib/tree/use-node-attribute.d.ts +33 -0
  536. package/lib/tree/use-node-drag.d.ts +3 -0
  537. package/lib/tree/use-search.d.ts +11 -0
  538. package/lib/tree/use-tree-init.d.ts +15 -0
  539. package/lib/tree/util.d.ts +31 -13
  540. package/lib/upload/index.d.ts +580 -0
  541. package/lib/upload/index.js +1 -0
  542. package/lib/upload/props.d.ts +113 -0
  543. package/lib/upload/upload-list.d.ts +47 -0
  544. package/lib/upload/upload-trigger.d.ts +54 -0
  545. package/lib/upload/upload.css +422 -0
  546. package/lib/upload/upload.d.ts +252 -0
  547. package/lib/upload/upload.less +461 -0
  548. package/lib/upload/upload.type.d.ts +78 -0
  549. package/lib/upload/upload.variable.css +535 -0
  550. package/lib/upload/use-ajax-upload.d.ts +3 -0
  551. package/lib/upload/use-file-handler.d.ts +44 -0
  552. package/lib/virtual-render/index.d.ts +30 -7
  553. package/lib/virtual-render/index.js +1 -1
  554. package/lib/virtual-render/props.d.ts +10 -0
  555. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  556. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  557. package/lib/virtual-render/virtual-render.css +17 -24
  558. package/lib/virtual-render/virtual-render.d.ts +15 -4
  559. package/lib/virtual-render/virtual-render.less +2 -31
  560. package/lib/virtual-render/virtual-render.variable.css +130 -24
  561. package/lib/volar.components.d.ts +100 -0
  562. package/package.json +104 -84
  563. package/README_EN.md +0 -89
  564. package/dist/bkui-vue.cjs.js +0 -12058
  565. package/dist/bkui-vue.esm.js +0 -12009
  566. package/dist/bkui-vue.umd.js +0 -12061
  567. package/lib/form/common.d.ts +0 -3
  568. package/lib/icon/help.js +0 -15
  569. package/lib/icon/icon.js +0 -15
  570. package/lib/styles/index.js +0 -1
@@ -5,15 +5,40 @@ declare const BkSelect: {
5
5
  $: import("vue").ComponentInternalInstance;
6
6
  $data: {};
7
7
  $props: Partial<{
8
+ showOnInit: boolean;
9
+ disabled: boolean;
8
10
  placeholder: string;
11
+ list: unknown[];
9
12
  size: string;
10
13
  multiple: boolean;
11
- disabled: boolean;
12
14
  loading: boolean;
13
15
  clearable: boolean;
16
+ behavior: string;
17
+ withValidate: boolean;
18
+ showSelectedIcon: boolean;
19
+ tagTheme: string;
14
20
  filterable: boolean;
21
+ allowCreate: boolean;
22
+ collapseTags: boolean;
23
+ popoverMinWidth: number;
24
+ idKey: string;
15
25
  remoteMethod: (...args: any[]) => any;
16
26
  scrollHeight: number;
27
+ popoverOptions: {
28
+ [key: string]: any;
29
+ };
30
+ showSelectAll: boolean;
31
+ multipleMode: string;
32
+ noDataText: string;
33
+ noMatchText: string;
34
+ loadingText: string;
35
+ searchPlaceholder: string;
36
+ selectAllText: string;
37
+ scrollLoading: boolean;
38
+ customContent: boolean;
39
+ displayKey: string;
40
+ inputSearch: boolean;
41
+ enableVirtualRender: boolean;
17
42
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
18
43
  modelValue: import("vue-types").VueTypeValidableDef<any>;
19
44
  multiple: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -21,11 +46,6 @@ declare const BkSelect: {
21
46
  } & {
22
47
  default: boolean;
23
48
  };
24
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
25
- default: string;
26
- } & {
27
- default: string;
28
- };
29
49
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
30
50
  default: boolean;
31
51
  } & {
@@ -57,11 +77,135 @@ declare const BkSelect: {
57
77
  } & {
58
78
  default: number;
59
79
  };
80
+ showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
81
+ default: boolean;
82
+ } & {
83
+ default: boolean;
84
+ };
85
+ popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
86
+ default: number;
87
+ } & {
88
+ default: number;
89
+ };
90
+ showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
91
+ default: boolean;
92
+ } & {
93
+ default: boolean;
94
+ };
95
+ multipleMode: import("vue-types").VueTypeDef<string> & {
96
+ default: string;
97
+ };
98
+ tagTheme: import("vue-types").VueTypeDef<string> & {
99
+ default: string;
100
+ };
101
+ behavior: import("vue-types").VueTypeDef<string> & {
102
+ default: string;
103
+ };
104
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
105
+ default: boolean;
106
+ } & {
107
+ default: boolean;
108
+ };
109
+ noDataText: import("vue-types").VueTypeValidableDef<string> & {
110
+ default: string;
111
+ } & {
112
+ default: string;
113
+ };
114
+ noMatchText: import("vue-types").VueTypeValidableDef<string> & {
115
+ default: string;
116
+ } & {
117
+ default: string;
118
+ };
119
+ loadingText: import("vue-types").VueTypeValidableDef<string> & {
120
+ default: string;
121
+ } & {
122
+ default: string;
123
+ };
124
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
125
+ default: string;
126
+ } & {
127
+ default: string;
128
+ };
129
+ searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
130
+ default: string;
131
+ } & {
132
+ default: string;
133
+ };
134
+ selectAllText: import("vue-types").VueTypeValidableDef<string> & {
135
+ default: string;
136
+ } & {
137
+ default: string;
138
+ };
139
+ scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
140
+ default: boolean;
141
+ } & {
142
+ default: boolean;
143
+ };
144
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
145
+ default: boolean;
146
+ } & {
147
+ default: boolean;
148
+ };
149
+ popoverOptions: import("vue-types").VueTypeValidableDef<{
150
+ [key: string]: any;
151
+ }> & {
152
+ default: () => {
153
+ [key: string]: any;
154
+ };
155
+ } & {
156
+ default: () => {
157
+ [key: string]: any;
158
+ };
159
+ };
160
+ customContent: import("vue-types").VueTypeValidableDef<boolean> & {
161
+ default: boolean;
162
+ } & {
163
+ default: boolean;
164
+ };
165
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
166
+ default: () => unknown[];
167
+ } & {
168
+ default: () => unknown[];
169
+ };
170
+ idKey: import("vue-types").VueTypeValidableDef<string> & {
171
+ default: string;
172
+ } & {
173
+ default: string;
174
+ };
175
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
176
+ default: string;
177
+ } & {
178
+ default: string;
179
+ };
180
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
181
+ default: boolean;
182
+ } & {
183
+ default: boolean;
184
+ };
185
+ showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
186
+ default: boolean;
187
+ } & {
188
+ default: boolean;
189
+ };
190
+ inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
191
+ default: boolean;
192
+ } & {
193
+ default: boolean;
194
+ };
195
+ enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
196
+ default: boolean;
197
+ } & {
198
+ default: boolean;
199
+ };
60
200
  }>> & {
201
+ onFocus?: (...args: any[]) => any;
202
+ onBlur?: (...args: any[]) => any;
61
203
  onChange?: (...args: any[]) => any;
62
204
  "onUpdate:modelValue"?: (...args: any[]) => any;
205
+ onClear?: (...args: any[]) => any;
63
206
  onToggle?: (...args: any[]) => any;
64
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "multiple" | "disabled" | "loading" | "clearable" | "filterable" | "remoteMethod" | "scrollHeight">;
207
+ "onScroll-end"?: (...args: any[]) => any;
208
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "idKey" | "remoteMethod" | "scrollHeight" | "popoverOptions" | "showSelectAll" | "multipleMode" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch" | "enableVirtualRender">;
65
209
  $attrs: {
66
210
  [x: string]: unknown;
67
211
  };
@@ -73,7 +217,7 @@ declare const BkSelect: {
73
217
  }>;
74
218
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
75
219
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
76
- $emit: (event: "change" | "toggle" | "update:modelValue", ...args: any[]) => void;
220
+ $emit: (event: "focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", ...args: any[]) => void;
77
221
  $el: any;
78
222
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
79
223
  modelValue: import("vue-types").VueTypeValidableDef<any>;
@@ -82,11 +226,6 @@ declare const BkSelect: {
82
226
  } & {
83
227
  default: boolean;
84
228
  };
85
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
86
- default: string;
87
- } & {
88
- default: string;
89
- };
90
229
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
91
230
  default: boolean;
92
231
  } & {
@@ -118,52 +257,200 @@ declare const BkSelect: {
118
257
  } & {
119
258
  default: number;
120
259
  };
260
+ showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
261
+ default: boolean;
262
+ } & {
263
+ default: boolean;
264
+ };
265
+ popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
266
+ default: number;
267
+ } & {
268
+ default: number;
269
+ };
270
+ showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
271
+ default: boolean;
272
+ } & {
273
+ default: boolean;
274
+ };
275
+ multipleMode: import("vue-types").VueTypeDef<string> & {
276
+ default: string;
277
+ };
278
+ tagTheme: import("vue-types").VueTypeDef<string> & {
279
+ default: string;
280
+ };
281
+ behavior: import("vue-types").VueTypeDef<string> & {
282
+ default: string;
283
+ };
284
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
285
+ default: boolean;
286
+ } & {
287
+ default: boolean;
288
+ };
289
+ noDataText: import("vue-types").VueTypeValidableDef<string> & {
290
+ default: string;
291
+ } & {
292
+ default: string;
293
+ };
294
+ noMatchText: import("vue-types").VueTypeValidableDef<string> & {
295
+ default: string;
296
+ } & {
297
+ default: string;
298
+ };
299
+ loadingText: import("vue-types").VueTypeValidableDef<string> & {
300
+ default: string;
301
+ } & {
302
+ default: string;
303
+ };
304
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
305
+ default: string;
306
+ } & {
307
+ default: string;
308
+ };
309
+ searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
310
+ default: string;
311
+ } & {
312
+ default: string;
313
+ };
314
+ selectAllText: import("vue-types").VueTypeValidableDef<string> & {
315
+ default: string;
316
+ } & {
317
+ default: string;
318
+ };
319
+ scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
320
+ default: boolean;
321
+ } & {
322
+ default: boolean;
323
+ };
324
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
325
+ default: boolean;
326
+ } & {
327
+ default: boolean;
328
+ };
329
+ popoverOptions: import("vue-types").VueTypeValidableDef<{
330
+ [key: string]: any;
331
+ }> & {
332
+ default: () => {
333
+ [key: string]: any;
334
+ };
335
+ } & {
336
+ default: () => {
337
+ [key: string]: any;
338
+ };
339
+ };
340
+ customContent: import("vue-types").VueTypeValidableDef<boolean> & {
341
+ default: boolean;
342
+ } & {
343
+ default: boolean;
344
+ };
345
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
346
+ default: () => unknown[];
347
+ } & {
348
+ default: () => unknown[];
349
+ };
350
+ idKey: import("vue-types").VueTypeValidableDef<string> & {
351
+ default: string;
352
+ } & {
353
+ default: string;
354
+ };
355
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
356
+ default: string;
357
+ } & {
358
+ default: string;
359
+ };
360
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
361
+ default: boolean;
362
+ } & {
363
+ default: boolean;
364
+ };
365
+ showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
366
+ default: boolean;
367
+ } & {
368
+ default: boolean;
369
+ };
370
+ inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
371
+ default: boolean;
372
+ } & {
373
+ default: boolean;
374
+ };
375
+ enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
376
+ default: boolean;
377
+ } & {
378
+ default: boolean;
379
+ };
121
380
  }>> & {
381
+ onFocus?: (...args: any[]) => any;
382
+ onBlur?: (...args: any[]) => any;
122
383
  onChange?: (...args: any[]) => any;
123
384
  "onUpdate:modelValue"?: (...args: any[]) => any;
385
+ onClear?: (...args: any[]) => any;
124
386
  onToggle?: (...args: any[]) => any;
387
+ "onScroll-end"?: (...args: any[]) => any;
125
388
  }, {
126
- selectedLabel: import("vue").ComputedRef<string>;
127
- selectClass: import("vue").ComputedRef<{
128
- [x: string]: boolean;
129
- 'bk-select': boolean;
130
- 'popover-show': boolean;
131
- 'is-disabled': boolean;
132
- 'is-focus': boolean;
133
- }>;
389
+ selected: import("vue").Ref<{
390
+ value: string;
391
+ label: string;
392
+ }[]>;
393
+ isInput: import("vue").ComputedRef<boolean>;
394
+ options: import("vue").ComputedRef<import("./type").OptionInstanceType[]>;
395
+ isDisabled: import("vue").ComputedRef<boolean>;
396
+ selectedLabel: import("vue").ComputedRef<string[]>;
134
397
  isPopoverShow: import("vue").Ref<boolean>;
135
398
  isHover: import("vue").Ref<boolean>;
136
399
  popperWidth: import("vue").Ref<string | number>;
137
- selectTriggerRef: import("vue").Ref<HTMLElement>;
138
400
  inputRef: import("vue").Ref<HTMLElement>;
139
- searchKey: import("vue").Ref<string>;
140
- searchLoading: import("vue").Ref<boolean>;
141
- isEmpty: import("vue").ComputedRef<boolean>;
142
- isFocus: import("vue").Ref<boolean>;
143
- setHover: () => void;
144
- cancelHover: () => void;
145
- handleFocus: () => void;
146
- handleInput: (e: any) => void;
147
- toggleMenu: () => void;
148
- handleClear: (e: Event) => void;
149
- onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
150
- hidePopover: () => void;
151
- showPopover: () => void;
152
- currentPlaceholder: import("vue").Ref<string>;
153
- options: import("vue").Ref<Set<{
401
+ triggerRef: import("vue").Ref<HTMLElement>;
402
+ contentRef: import("vue").Ref<HTMLElement>;
403
+ searchRef: import("vue").Ref<HTMLElement>;
404
+ selectTagInputRef: import("vue").Ref<{
154
405
  $: import("vue").ComponentInternalInstance;
155
406
  $data: {};
156
407
  $props: Partial<{
157
408
  disabled: boolean;
409
+ placeholder: string;
410
+ selected: import("./type").ISelected[];
411
+ tagTheme: string;
412
+ filterable: boolean;
413
+ allowCreate: boolean;
414
+ collapseTags: boolean;
158
415
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
159
- value: import("vue-types").VueTypeDef<string | number | boolean>;
160
- label: import("vue-types").VueTypeDef<string | number>;
416
+ selected: {
417
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
418
+ default: () => any[];
419
+ };
420
+ tagTheme: import("vue-types").VueTypeDef<string> & {
421
+ default: string;
422
+ };
423
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
424
+ default: string;
425
+ } & {
426
+ default: string;
427
+ };
428
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
429
+ default: boolean;
430
+ } & {
431
+ default: boolean;
432
+ };
433
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
434
+ default: boolean;
435
+ } & {
436
+ default: boolean;
437
+ };
161
438
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
162
439
  default: boolean;
163
440
  } & {
164
441
  default: boolean;
165
442
  };
166
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
443
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
444
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
445
+ default: boolean;
446
+ } & {
447
+ default: boolean;
448
+ };
449
+ }>> & {
450
+ onEnter?: (...args: any[]) => any;
451
+ "onUpdate:modelValue"?: (...args: any[]) => any;
452
+ onRemove?: (...args: any[]) => any;
453
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
167
454
  $attrs: {
168
455
  [x: string]: unknown;
169
456
  };
@@ -175,23 +462,62 @@ declare const BkSelect: {
175
462
  }>;
176
463
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
177
464
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
178
- $emit: (event: string, ...args: any[]) => void;
465
+ $emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
179
466
  $el: any;
180
467
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
181
- value: import("vue-types").VueTypeDef<string | number | boolean>;
182
- label: import("vue-types").VueTypeDef<string | number>;
468
+ selected: {
469
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
470
+ default: () => any[];
471
+ };
472
+ tagTheme: import("vue-types").VueTypeDef<string> & {
473
+ default: string;
474
+ };
475
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
476
+ default: string;
477
+ } & {
478
+ default: string;
479
+ };
480
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
481
+ default: boolean;
482
+ } & {
483
+ default: boolean;
484
+ };
485
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
486
+ default: boolean;
487
+ } & {
488
+ default: boolean;
489
+ };
183
490
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
184
491
  default: boolean;
185
492
  } & {
186
493
  default: boolean;
187
494
  };
188
- }>>, {
189
- selected: import("vue").ComputedRef<boolean>;
190
- multiple: import("vue").ComputedRef<boolean>;
191
- handleOptionClick: () => void;
192
- visible: import("vue").Ref<boolean>;
193
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
495
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
496
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
497
+ default: boolean;
498
+ } & {
499
+ default: boolean;
500
+ };
501
+ }>> & {
502
+ onEnter?: (...args: any[]) => any;
503
+ "onUpdate:modelValue"?: (...args: any[]) => any;
504
+ onRemove?: (...args: any[]) => any;
505
+ }, {
506
+ overflowTagIndex: import("vue").Ref<number>;
507
+ value: any;
508
+ inputRef: import("vue").Ref<HTMLElement>;
509
+ handleRemoveTag: (val: string) => void;
510
+ focus: () => void;
511
+ handleInput: (e: any) => void;
512
+ handleKeydown: (e: any) => void;
513
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
194
514
  disabled: boolean;
515
+ placeholder: string;
516
+ selected: import("./type").ISelected[];
517
+ tagTheme: string;
518
+ filterable: boolean;
519
+ allowCreate: boolean;
520
+ collapseTags: boolean;
195
521
  }> & {
196
522
  beforeCreate?: (() => void) | (() => void)[];
197
523
  created?: (() => void) | (() => void)[];
@@ -213,106 +539,118 @@ declare const BkSelect: {
213
539
  $nextTick: typeof import("vue").nextTick;
214
540
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
215
541
  } & Readonly<import("vue").ExtractPropTypes<{
216
- value: import("vue-types").VueTypeDef<string | number | boolean>;
217
- label: import("vue-types").VueTypeDef<string | number>;
218
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
542
+ selected: {
543
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
544
+ default: () => any[];
545
+ };
546
+ tagTheme: import("vue-types").VueTypeDef<string> & {
547
+ default: string;
548
+ };
549
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
550
+ default: string;
551
+ } & {
552
+ default: string;
553
+ };
554
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
219
555
  default: boolean;
220
556
  } & {
221
557
  default: boolean;
222
558
  };
223
- }>> & import("vue").ShallowUnwrapRef<{
224
- selected: import("vue").ComputedRef<boolean>;
225
- multiple: import("vue").ComputedRef<boolean>;
226
- handleOptionClick: () => void;
227
- visible: import("vue").Ref<boolean>;
228
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
229
- selectedOptions: import("vue").Ref<Set<{
230
- $: import("vue").ComponentInternalInstance;
231
- $data: {};
232
- $props: Partial<{
233
- disabled: boolean;
234
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
235
- value: import("vue-types").VueTypeDef<string | number | boolean>;
236
- label: import("vue-types").VueTypeDef<string | number>;
237
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
238
- default: boolean;
239
- } & {
240
- default: boolean;
241
- };
242
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
243
- $attrs: {
244
- [x: string]: unknown;
559
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
560
+ default: boolean;
561
+ } & {
562
+ default: boolean;
245
563
  };
246
- $refs: {
247
- [x: string]: unknown;
248
- };
249
- $slots: Readonly<{
250
- [name: string]: import("vue").Slot;
251
- }>;
252
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
253
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
254
- $emit: (event: string, ...args: any[]) => void;
255
- $el: any;
256
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
257
- value: import("vue-types").VueTypeDef<string | number | boolean>;
258
- label: import("vue-types").VueTypeDef<string | number>;
259
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
260
- default: boolean;
261
- } & {
262
- default: boolean;
263
- };
264
- }>>, {
265
- selected: import("vue").ComputedRef<boolean>;
266
- multiple: import("vue").ComputedRef<boolean>;
267
- handleOptionClick: () => void;
268
- visible: import("vue").Ref<boolean>;
269
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
270
- disabled: boolean;
271
- }> & {
272
- beforeCreate?: (() => void) | (() => void)[];
273
- created?: (() => void) | (() => void)[];
274
- beforeMount?: (() => void) | (() => void)[];
275
- mounted?: (() => void) | (() => void)[];
276
- beforeUpdate?: (() => void) | (() => void)[];
277
- updated?: (() => void) | (() => void)[];
278
- activated?: (() => void) | (() => void)[];
279
- deactivated?: (() => void) | (() => void)[];
280
- beforeDestroy?: (() => void) | (() => void)[];
281
- beforeUnmount?: (() => void) | (() => void)[];
282
- destroyed?: (() => void) | (() => void)[];
283
- unmounted?: (() => void) | (() => void)[];
284
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
285
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
286
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
287
- };
288
- $forceUpdate: () => void;
289
- $nextTick: typeof import("vue").nextTick;
290
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
291
- } & Readonly<import("vue").ExtractPropTypes<{
292
- value: import("vue-types").VueTypeDef<string | number | boolean>;
293
- label: import("vue-types").VueTypeDef<string | number>;
294
564
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
295
565
  default: boolean;
296
566
  } & {
297
567
  default: boolean;
298
568
  };
299
- }>> & import("vue").ShallowUnwrapRef<{
300
- selected: import("vue").ComputedRef<boolean>;
301
- multiple: import("vue").ComputedRef<boolean>;
302
- handleOptionClick: () => void;
303
- visible: import("vue").Ref<boolean>;
304
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
305
- currentSelectedLabel: import("vue").Ref<string>;
306
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], string, {
569
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
570
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
571
+ default: boolean;
572
+ } & {
573
+ default: boolean;
574
+ };
575
+ }>> & {
576
+ onEnter?: (...args: any[]) => any;
577
+ "onUpdate:modelValue"?: (...args: any[]) => any;
578
+ onRemove?: (...args: any[]) => any;
579
+ } & import("vue").ShallowUnwrapRef<{
580
+ overflowTagIndex: import("vue").Ref<number>;
581
+ value: any;
582
+ inputRef: import("vue").Ref<HTMLElement>;
583
+ handleRemoveTag: (val: string) => void;
584
+ focus: () => void;
585
+ handleInput: (e: any) => void;
586
+ handleKeydown: (e: any) => void;
587
+ }> & {} & {} & import("vue").ComponentCustomProperties>;
588
+ virtualRenderRef: import("vue").Ref<any>;
589
+ searchLoading: import("vue").Ref<boolean>;
590
+ isOptionsEmpty: import("vue").ComputedRef<boolean>;
591
+ isSearchEmpty: import("vue").ComputedRef<boolean>;
592
+ isFocus: import("vue").Ref<boolean>;
593
+ isShowSelectContent: import("vue").ComputedRef<boolean>;
594
+ curContentText: import("vue").ComputedRef<string>;
595
+ isGroup: import("vue").ComputedRef<boolean>;
596
+ searchKey: import("vue").Ref<string>;
597
+ isShowSelectAll: import("vue").ComputedRef<boolean>;
598
+ virtualHeight: import("vue").ComputedRef<number>;
599
+ filterList: import("vue").ComputedRef<unknown[]>;
600
+ setHover: () => void;
601
+ cancelHover: () => void;
602
+ handleFocus: () => void;
603
+ handleBlur: () => void;
604
+ handleTogglePopover: () => void;
605
+ handleClear: (e: Event) => void;
606
+ hidePopover: () => void;
607
+ showPopover: () => void;
608
+ handleToggleAll: () => void;
609
+ handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
610
+ handleClickOutside: ({ event }: {
611
+ event: any;
612
+ }) => void;
613
+ handleScroll: (e: any) => void;
614
+ handleDeleteTag: (val: string) => void;
615
+ handleInputChange: (value: any) => void;
616
+ handleInputEnter: (val: string | number, e: Event) => void;
617
+ handleKeydown: (e: any) => void;
618
+ handleSelectedAllOptionMouseEnter: () => void;
619
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], string, {
620
+ showOnInit: boolean;
621
+ disabled: boolean;
307
622
  placeholder: string;
623
+ list: unknown[];
308
624
  size: string;
309
625
  multiple: boolean;
310
- disabled: boolean;
311
626
  loading: boolean;
312
627
  clearable: boolean;
628
+ behavior: string;
629
+ withValidate: boolean;
630
+ showSelectedIcon: boolean;
631
+ tagTheme: string;
313
632
  filterable: boolean;
633
+ allowCreate: boolean;
634
+ collapseTags: boolean;
635
+ popoverMinWidth: number;
636
+ idKey: string;
314
637
  remoteMethod: (...args: any[]) => any;
315
638
  scrollHeight: number;
639
+ popoverOptions: {
640
+ [key: string]: any;
641
+ };
642
+ showSelectAll: boolean;
643
+ multipleMode: string;
644
+ noDataText: string;
645
+ noMatchText: string;
646
+ loadingText: string;
647
+ searchPlaceholder: string;
648
+ selectAllText: string;
649
+ scrollLoading: boolean;
650
+ customContent: boolean;
651
+ displayKey: string;
652
+ inputSearch: boolean;
653
+ enableVirtualRender: boolean;
316
654
  }> & {
317
655
  beforeCreate?: (() => void) | (() => void)[];
318
656
  created?: (() => void) | (() => void)[];
@@ -340,11 +678,6 @@ declare const BkSelect: {
340
678
  } & {
341
679
  default: boolean;
342
680
  };
343
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
344
- default: string;
345
- } & {
346
- default: string;
347
- };
348
681
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
349
682
  default: boolean;
350
683
  } & {
@@ -376,128 +709,200 @@ declare const BkSelect: {
376
709
  } & {
377
710
  default: number;
378
711
  };
712
+ showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
713
+ default: boolean;
714
+ } & {
715
+ default: boolean;
716
+ };
717
+ popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
718
+ default: number;
719
+ } & {
720
+ default: number;
721
+ };
722
+ showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
723
+ default: boolean;
724
+ } & {
725
+ default: boolean;
726
+ };
727
+ multipleMode: import("vue-types").VueTypeDef<string> & {
728
+ default: string;
729
+ };
730
+ tagTheme: import("vue-types").VueTypeDef<string> & {
731
+ default: string;
732
+ };
733
+ behavior: import("vue-types").VueTypeDef<string> & {
734
+ default: string;
735
+ };
736
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
737
+ default: boolean;
738
+ } & {
739
+ default: boolean;
740
+ };
741
+ noDataText: import("vue-types").VueTypeValidableDef<string> & {
742
+ default: string;
743
+ } & {
744
+ default: string;
745
+ };
746
+ noMatchText: import("vue-types").VueTypeValidableDef<string> & {
747
+ default: string;
748
+ } & {
749
+ default: string;
750
+ };
751
+ loadingText: import("vue-types").VueTypeValidableDef<string> & {
752
+ default: string;
753
+ } & {
754
+ default: string;
755
+ };
756
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
757
+ default: string;
758
+ } & {
759
+ default: string;
760
+ };
761
+ searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
762
+ default: string;
763
+ } & {
764
+ default: string;
765
+ };
766
+ selectAllText: import("vue-types").VueTypeValidableDef<string> & {
767
+ default: string;
768
+ } & {
769
+ default: string;
770
+ };
771
+ scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
772
+ default: boolean;
773
+ } & {
774
+ default: boolean;
775
+ };
776
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
777
+ default: boolean;
778
+ } & {
779
+ default: boolean;
780
+ };
781
+ popoverOptions: import("vue-types").VueTypeValidableDef<{
782
+ [key: string]: any;
783
+ }> & {
784
+ default: () => {
785
+ [key: string]: any;
786
+ };
787
+ } & {
788
+ default: () => {
789
+ [key: string]: any;
790
+ };
791
+ };
792
+ customContent: import("vue-types").VueTypeValidableDef<boolean> & {
793
+ default: boolean;
794
+ } & {
795
+ default: boolean;
796
+ };
797
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
798
+ default: () => unknown[];
799
+ } & {
800
+ default: () => unknown[];
801
+ };
802
+ idKey: import("vue-types").VueTypeValidableDef<string> & {
803
+ default: string;
804
+ } & {
805
+ default: string;
806
+ };
807
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
808
+ default: string;
809
+ } & {
810
+ default: string;
811
+ };
812
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
813
+ default: boolean;
814
+ } & {
815
+ default: boolean;
816
+ };
817
+ showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
818
+ default: boolean;
819
+ } & {
820
+ default: boolean;
821
+ };
822
+ inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
823
+ default: boolean;
824
+ } & {
825
+ default: boolean;
826
+ };
827
+ enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
828
+ default: boolean;
829
+ } & {
830
+ default: boolean;
831
+ };
379
832
  }>> & {
833
+ onFocus?: (...args: any[]) => any;
834
+ onBlur?: (...args: any[]) => any;
380
835
  onChange?: (...args: any[]) => any;
381
836
  "onUpdate:modelValue"?: (...args: any[]) => any;
837
+ onClear?: (...args: any[]) => any;
382
838
  onToggle?: (...args: any[]) => any;
839
+ "onScroll-end"?: (...args: any[]) => any;
383
840
  } & import("vue").ShallowUnwrapRef<{
384
- selectedLabel: import("vue").ComputedRef<string>;
385
- selectClass: import("vue").ComputedRef<{
386
- [x: string]: boolean;
387
- 'bk-select': boolean;
388
- 'popover-show': boolean;
389
- 'is-disabled': boolean;
390
- 'is-focus': boolean;
391
- }>;
841
+ selected: import("vue").Ref<{
842
+ value: string;
843
+ label: string;
844
+ }[]>;
845
+ isInput: import("vue").ComputedRef<boolean>;
846
+ options: import("vue").ComputedRef<import("./type").OptionInstanceType[]>;
847
+ isDisabled: import("vue").ComputedRef<boolean>;
848
+ selectedLabel: import("vue").ComputedRef<string[]>;
392
849
  isPopoverShow: import("vue").Ref<boolean>;
393
850
  isHover: import("vue").Ref<boolean>;
394
851
  popperWidth: import("vue").Ref<string | number>;
395
- selectTriggerRef: import("vue").Ref<HTMLElement>;
396
852
  inputRef: import("vue").Ref<HTMLElement>;
397
- searchKey: import("vue").Ref<string>;
398
- searchLoading: import("vue").Ref<boolean>;
399
- isEmpty: import("vue").ComputedRef<boolean>;
400
- isFocus: import("vue").Ref<boolean>;
401
- setHover: () => void;
402
- cancelHover: () => void;
403
- handleFocus: () => void;
404
- handleInput: (e: any) => void;
405
- toggleMenu: () => void;
406
- handleClear: (e: Event) => void;
407
- onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
408
- hidePopover: () => void;
409
- showPopover: () => void;
410
- currentPlaceholder: import("vue").Ref<string>;
411
- options: import("vue").Ref<Set<{
853
+ triggerRef: import("vue").Ref<HTMLElement>;
854
+ contentRef: import("vue").Ref<HTMLElement>;
855
+ searchRef: import("vue").Ref<HTMLElement>;
856
+ selectTagInputRef: import("vue").Ref<{
412
857
  $: import("vue").ComponentInternalInstance;
413
858
  $data: {};
414
859
  $props: Partial<{
415
860
  disabled: boolean;
861
+ placeholder: string;
862
+ selected: import("./type").ISelected[];
863
+ tagTheme: string;
864
+ filterable: boolean;
865
+ allowCreate: boolean;
866
+ collapseTags: boolean;
416
867
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
417
- value: import("vue-types").VueTypeDef<string | number | boolean>;
418
- label: import("vue-types").VueTypeDef<string | number>;
419
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
868
+ selected: {
869
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
870
+ default: () => any[];
871
+ };
872
+ tagTheme: import("vue-types").VueTypeDef<string> & {
873
+ default: string;
874
+ };
875
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
876
+ default: string;
877
+ } & {
878
+ default: string;
879
+ };
880
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
420
881
  default: boolean;
421
882
  } & {
422
883
  default: boolean;
423
884
  };
424
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
425
- $attrs: {
426
- [x: string]: unknown;
427
- };
428
- $refs: {
429
- [x: string]: unknown;
430
- };
431
- $slots: Readonly<{
432
- [name: string]: import("vue").Slot;
433
- }>;
434
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
435
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
436
- $emit: (event: string, ...args: any[]) => void;
437
- $el: any;
438
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
439
- value: import("vue-types").VueTypeDef<string | number | boolean>;
440
- label: import("vue-types").VueTypeDef<string | number>;
441
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
885
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
442
886
  default: boolean;
443
887
  } & {
444
888
  default: boolean;
445
889
  };
446
- }>>, {
447
- selected: import("vue").ComputedRef<boolean>;
448
- multiple: import("vue").ComputedRef<boolean>;
449
- handleOptionClick: () => void;
450
- visible: import("vue").Ref<boolean>;
451
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
452
- disabled: boolean;
453
- }> & {
454
- beforeCreate?: (() => void) | (() => void)[];
455
- created?: (() => void) | (() => void)[];
456
- beforeMount?: (() => void) | (() => void)[];
457
- mounted?: (() => void) | (() => void)[];
458
- beforeUpdate?: (() => void) | (() => void)[];
459
- updated?: (() => void) | (() => void)[];
460
- activated?: (() => void) | (() => void)[];
461
- deactivated?: (() => void) | (() => void)[];
462
- beforeDestroy?: (() => void) | (() => void)[];
463
- beforeUnmount?: (() => void) | (() => void)[];
464
- destroyed?: (() => void) | (() => void)[];
465
- unmounted?: (() => void) | (() => void)[];
466
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
467
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
468
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
469
- };
470
- $forceUpdate: () => void;
471
- $nextTick: typeof import("vue").nextTick;
472
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
473
- } & Readonly<import("vue").ExtractPropTypes<{
474
- value: import("vue-types").VueTypeDef<string | number | boolean>;
475
- label: import("vue-types").VueTypeDef<string | number>;
476
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
477
- default: boolean;
478
- } & {
479
- default: boolean;
480
- };
481
- }>> & import("vue").ShallowUnwrapRef<{
482
- selected: import("vue").ComputedRef<boolean>;
483
- multiple: import("vue").ComputedRef<boolean>;
484
- handleOptionClick: () => void;
485
- visible: import("vue").Ref<boolean>;
486
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
487
- selectedOptions: import("vue").Ref<Set<{
488
- $: import("vue").ComponentInternalInstance;
489
- $data: {};
490
- $props: Partial<{
491
- disabled: boolean;
492
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
493
- value: import("vue-types").VueTypeDef<string | number | boolean>;
494
- label: import("vue-types").VueTypeDef<string | number>;
495
890
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
496
891
  default: boolean;
497
892
  } & {
498
893
  default: boolean;
499
894
  };
500
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
895
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
896
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
897
+ default: boolean;
898
+ } & {
899
+ default: boolean;
900
+ };
901
+ }>> & {
902
+ onEnter?: (...args: any[]) => any;
903
+ "onUpdate:modelValue"?: (...args: any[]) => any;
904
+ onRemove?: (...args: any[]) => any;
905
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
501
906
  $attrs: {
502
907
  [x: string]: unknown;
503
908
  };
@@ -509,23 +914,62 @@ declare const BkSelect: {
509
914
  }>;
510
915
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
511
916
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
512
- $emit: (event: string, ...args: any[]) => void;
917
+ $emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
513
918
  $el: any;
514
919
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
515
- value: import("vue-types").VueTypeDef<string | number | boolean>;
516
- label: import("vue-types").VueTypeDef<string | number>;
920
+ selected: {
921
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
922
+ default: () => any[];
923
+ };
924
+ tagTheme: import("vue-types").VueTypeDef<string> & {
925
+ default: string;
926
+ };
927
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
928
+ default: string;
929
+ } & {
930
+ default: string;
931
+ };
932
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
933
+ default: boolean;
934
+ } & {
935
+ default: boolean;
936
+ };
937
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
938
+ default: boolean;
939
+ } & {
940
+ default: boolean;
941
+ };
517
942
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
518
943
  default: boolean;
519
944
  } & {
520
945
  default: boolean;
521
946
  };
522
- }>>, {
523
- selected: import("vue").ComputedRef<boolean>;
524
- multiple: import("vue").ComputedRef<boolean>;
525
- handleOptionClick: () => void;
526
- visible: import("vue").Ref<boolean>;
527
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
947
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
948
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
949
+ default: boolean;
950
+ } & {
951
+ default: boolean;
952
+ };
953
+ }>> & {
954
+ onEnter?: (...args: any[]) => any;
955
+ "onUpdate:modelValue"?: (...args: any[]) => any;
956
+ onRemove?: (...args: any[]) => any;
957
+ }, {
958
+ overflowTagIndex: import("vue").Ref<number>;
959
+ value: any;
960
+ inputRef: import("vue").Ref<HTMLElement>;
961
+ handleRemoveTag: (val: string) => void;
962
+ focus: () => void;
963
+ handleInput: (e: any) => void;
964
+ handleKeydown: (e: any) => void;
965
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
528
966
  disabled: boolean;
967
+ placeholder: string;
968
+ selected: import("./type").ISelected[];
969
+ tagTheme: string;
970
+ filterable: boolean;
971
+ allowCreate: boolean;
972
+ collapseTags: boolean;
529
973
  }> & {
530
974
  beforeCreate?: (() => void) | (() => void)[];
531
975
  created?: (() => void) | (() => void)[];
@@ -547,20 +991,83 @@ declare const BkSelect: {
547
991
  $nextTick: typeof import("vue").nextTick;
548
992
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
549
993
  } & Readonly<import("vue").ExtractPropTypes<{
550
- value: import("vue-types").VueTypeDef<string | number | boolean>;
551
- label: import("vue-types").VueTypeDef<string | number>;
994
+ selected: {
995
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
996
+ default: () => any[];
997
+ };
998
+ tagTheme: import("vue-types").VueTypeDef<string> & {
999
+ default: string;
1000
+ };
1001
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
1002
+ default: string;
1003
+ } & {
1004
+ default: string;
1005
+ };
1006
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1007
+ default: boolean;
1008
+ } & {
1009
+ default: boolean;
1010
+ };
1011
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1012
+ default: boolean;
1013
+ } & {
1014
+ default: boolean;
1015
+ };
552
1016
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
553
1017
  default: boolean;
554
1018
  } & {
555
1019
  default: boolean;
556
1020
  };
557
- }>> & import("vue").ShallowUnwrapRef<{
558
- selected: import("vue").ComputedRef<boolean>;
559
- multiple: import("vue").ComputedRef<boolean>;
560
- handleOptionClick: () => void;
561
- visible: import("vue").Ref<boolean>;
562
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
563
- currentSelectedLabel: import("vue").Ref<string>;
1021
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
1022
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1023
+ default: boolean;
1024
+ } & {
1025
+ default: boolean;
1026
+ };
1027
+ }>> & {
1028
+ onEnter?: (...args: any[]) => any;
1029
+ "onUpdate:modelValue"?: (...args: any[]) => any;
1030
+ onRemove?: (...args: any[]) => any;
1031
+ } & import("vue").ShallowUnwrapRef<{
1032
+ overflowTagIndex: import("vue").Ref<number>;
1033
+ value: any;
1034
+ inputRef: import("vue").Ref<HTMLElement>;
1035
+ handleRemoveTag: (val: string) => void;
1036
+ focus: () => void;
1037
+ handleInput: (e: any) => void;
1038
+ handleKeydown: (e: any) => void;
1039
+ }> & {} & {} & import("vue").ComponentCustomProperties>;
1040
+ virtualRenderRef: import("vue").Ref<any>;
1041
+ searchLoading: import("vue").Ref<boolean>;
1042
+ isOptionsEmpty: import("vue").ComputedRef<boolean>;
1043
+ isSearchEmpty: import("vue").ComputedRef<boolean>;
1044
+ isFocus: import("vue").Ref<boolean>;
1045
+ isShowSelectContent: import("vue").ComputedRef<boolean>;
1046
+ curContentText: import("vue").ComputedRef<string>;
1047
+ isGroup: import("vue").ComputedRef<boolean>;
1048
+ searchKey: import("vue").Ref<string>;
1049
+ isShowSelectAll: import("vue").ComputedRef<boolean>;
1050
+ virtualHeight: import("vue").ComputedRef<number>;
1051
+ filterList: import("vue").ComputedRef<unknown[]>;
1052
+ setHover: () => void;
1053
+ cancelHover: () => void;
1054
+ handleFocus: () => void;
1055
+ handleBlur: () => void;
1056
+ handleTogglePopover: () => void;
1057
+ handleClear: (e: Event) => void;
1058
+ hidePopover: () => void;
1059
+ showPopover: () => void;
1060
+ handleToggleAll: () => void;
1061
+ handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
1062
+ handleClickOutside: ({ event }: {
1063
+ event: any;
1064
+ }) => void;
1065
+ handleScroll: (e: any) => void;
1066
+ handleDeleteTag: (val: string) => void;
1067
+ handleInputChange: (value: any) => void;
1068
+ handleInputEnter: (val: string | number, e: Event) => void;
1069
+ handleKeydown: (e: any) => void;
1070
+ handleSelectedAllOptionMouseEnter: () => void;
564
1071
  }> & {} & {} & import("vue").ComponentCustomProperties;
565
1072
  __isFragment?: never;
566
1073
  __isTeleport?: never;
@@ -570,166 +1077,233 @@ declare const BkSelect: {
570
1077
  multiple: import("vue-types").VueTypeValidableDef<boolean> & {
571
1078
  default: boolean;
572
1079
  } & {
573
- default: boolean;
1080
+ default: boolean;
1081
+ };
1082
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1083
+ default: boolean;
1084
+ } & {
1085
+ default: boolean;
1086
+ };
1087
+ size: import("vue-types").VueTypeDef<string> & {
1088
+ default: string;
1089
+ };
1090
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
1091
+ default: boolean;
1092
+ } & {
1093
+ default: boolean;
1094
+ };
1095
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
1096
+ default: boolean;
1097
+ } & {
1098
+ default: boolean;
1099
+ };
1100
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1101
+ default: boolean;
1102
+ } & {
1103
+ default: boolean;
1104
+ };
1105
+ remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
1106
+ default: (...args: any[]) => any;
1107
+ };
1108
+ scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
1109
+ default: number;
1110
+ } & {
1111
+ default: number;
1112
+ };
1113
+ showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
1114
+ default: boolean;
1115
+ } & {
1116
+ default: boolean;
1117
+ };
1118
+ popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
1119
+ default: number;
1120
+ } & {
1121
+ default: number;
1122
+ };
1123
+ showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
1124
+ default: boolean;
1125
+ } & {
1126
+ default: boolean;
1127
+ };
1128
+ multipleMode: import("vue-types").VueTypeDef<string> & {
1129
+ default: string;
1130
+ };
1131
+ tagTheme: import("vue-types").VueTypeDef<string> & {
1132
+ default: string;
1133
+ };
1134
+ behavior: import("vue-types").VueTypeDef<string> & {
1135
+ default: string;
1136
+ };
1137
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1138
+ default: boolean;
1139
+ } & {
1140
+ default: boolean;
1141
+ };
1142
+ noDataText: import("vue-types").VueTypeValidableDef<string> & {
1143
+ default: string;
1144
+ } & {
1145
+ default: string;
1146
+ };
1147
+ noMatchText: import("vue-types").VueTypeValidableDef<string> & {
1148
+ default: string;
1149
+ } & {
1150
+ default: string;
1151
+ };
1152
+ loadingText: import("vue-types").VueTypeValidableDef<string> & {
1153
+ default: string;
1154
+ } & {
1155
+ default: string;
1156
+ };
1157
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
1158
+ default: string;
1159
+ } & {
1160
+ default: string;
1161
+ };
1162
+ searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
1163
+ default: string;
1164
+ } & {
1165
+ default: string;
574
1166
  };
575
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1167
+ selectAllText: import("vue-types").VueTypeValidableDef<string> & {
576
1168
  default: string;
577
1169
  } & {
578
1170
  default: string;
579
1171
  };
580
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1172
+ scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
581
1173
  default: boolean;
582
1174
  } & {
583
1175
  default: boolean;
584
1176
  };
585
- size: import("vue-types").VueTypeDef<string> & {
586
- default: string;
1177
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1178
+ default: boolean;
1179
+ } & {
1180
+ default: boolean;
587
1181
  };
588
- clearable: import("vue-types").VueTypeValidableDef<boolean> & {
1182
+ popoverOptions: import("vue-types").VueTypeValidableDef<{
1183
+ [key: string]: any;
1184
+ }> & {
1185
+ default: () => {
1186
+ [key: string]: any;
1187
+ };
1188
+ } & {
1189
+ default: () => {
1190
+ [key: string]: any;
1191
+ };
1192
+ };
1193
+ customContent: import("vue-types").VueTypeValidableDef<boolean> & {
589
1194
  default: boolean;
590
1195
  } & {
591
1196
  default: boolean;
592
1197
  };
593
- loading: import("vue-types").VueTypeValidableDef<boolean> & {
1198
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
1199
+ default: () => unknown[];
1200
+ } & {
1201
+ default: () => unknown[];
1202
+ };
1203
+ idKey: import("vue-types").VueTypeValidableDef<string> & {
1204
+ default: string;
1205
+ } & {
1206
+ default: string;
1207
+ };
1208
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
1209
+ default: string;
1210
+ } & {
1211
+ default: string;
1212
+ };
1213
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
594
1214
  default: boolean;
595
1215
  } & {
596
1216
  default: boolean;
597
1217
  };
598
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1218
+ showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
599
1219
  default: boolean;
600
1220
  } & {
601
1221
  default: boolean;
602
1222
  };
603
- remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
604
- default: (...args: any[]) => any;
1223
+ inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
1224
+ default: boolean;
1225
+ } & {
1226
+ default: boolean;
605
1227
  };
606
- scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
607
- default: number;
1228
+ enableVirtualRender: import("vue-types").VueTypeValidableDef<boolean> & {
1229
+ default: boolean;
608
1230
  } & {
609
- default: number;
1231
+ default: boolean;
610
1232
  };
611
1233
  }>> & {
1234
+ onFocus?: (...args: any[]) => any;
1235
+ onBlur?: (...args: any[]) => any;
612
1236
  onChange?: (...args: any[]) => any;
613
1237
  "onUpdate:modelValue"?: (...args: any[]) => any;
1238
+ onClear?: (...args: any[]) => any;
614
1239
  onToggle?: (...args: any[]) => any;
1240
+ "onScroll-end"?: (...args: any[]) => any;
615
1241
  }, {
616
- selectedLabel: import("vue").ComputedRef<string>;
617
- selectClass: import("vue").ComputedRef<{
618
- [x: string]: boolean;
619
- 'bk-select': boolean;
620
- 'popover-show': boolean;
621
- 'is-disabled': boolean;
622
- 'is-focus': boolean;
623
- }>;
1242
+ selected: import("vue").Ref<{
1243
+ value: string;
1244
+ label: string;
1245
+ }[]>;
1246
+ isInput: import("vue").ComputedRef<boolean>;
1247
+ options: import("vue").ComputedRef<import("./type").OptionInstanceType[]>;
1248
+ isDisabled: import("vue").ComputedRef<boolean>;
1249
+ selectedLabel: import("vue").ComputedRef<string[]>;
624
1250
  isPopoverShow: import("vue").Ref<boolean>;
625
1251
  isHover: import("vue").Ref<boolean>;
626
1252
  popperWidth: import("vue").Ref<string | number>;
627
- selectTriggerRef: import("vue").Ref<HTMLElement>;
628
1253
  inputRef: import("vue").Ref<HTMLElement>;
629
- searchKey: import("vue").Ref<string>;
630
- searchLoading: import("vue").Ref<boolean>;
631
- isEmpty: import("vue").ComputedRef<boolean>;
632
- isFocus: import("vue").Ref<boolean>;
633
- setHover: () => void;
634
- cancelHover: () => void;
635
- handleFocus: () => void;
636
- handleInput: (e: any) => void;
637
- toggleMenu: () => void;
638
- handleClear: (e: Event) => void;
639
- onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
640
- hidePopover: () => void;
641
- showPopover: () => void;
642
- currentPlaceholder: import("vue").Ref<string>;
643
- options: import("vue").Ref<Set<{
1254
+ triggerRef: import("vue").Ref<HTMLElement>;
1255
+ contentRef: import("vue").Ref<HTMLElement>;
1256
+ searchRef: import("vue").Ref<HTMLElement>;
1257
+ selectTagInputRef: import("vue").Ref<{
644
1258
  $: import("vue").ComponentInternalInstance;
645
1259
  $data: {};
646
1260
  $props: Partial<{
647
1261
  disabled: boolean;
1262
+ placeholder: string;
1263
+ selected: import("./type").ISelected[];
1264
+ tagTheme: string;
1265
+ filterable: boolean;
1266
+ allowCreate: boolean;
1267
+ collapseTags: boolean;
648
1268
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
649
- value: import("vue-types").VueTypeDef<string | number | boolean>;
650
- label: import("vue-types").VueTypeDef<string | number>;
651
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1269
+ selected: {
1270
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1271
+ default: () => any[];
1272
+ };
1273
+ tagTheme: import("vue-types").VueTypeDef<string> & {
1274
+ default: string;
1275
+ };
1276
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
1277
+ default: string;
1278
+ } & {
1279
+ default: string;
1280
+ };
1281
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
652
1282
  default: boolean;
653
1283
  } & {
654
1284
  default: boolean;
655
1285
  };
656
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
657
- $attrs: {
658
- [x: string]: unknown;
659
- };
660
- $refs: {
661
- [x: string]: unknown;
662
- };
663
- $slots: Readonly<{
664
- [name: string]: import("vue").Slot;
665
- }>;
666
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
667
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
668
- $emit: (event: string, ...args: any[]) => void;
669
- $el: any;
670
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
671
- value: import("vue-types").VueTypeDef<string | number | boolean>;
672
- label: import("vue-types").VueTypeDef<string | number>;
673
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1286
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
674
1287
  default: boolean;
675
1288
  } & {
676
1289
  default: boolean;
677
1290
  };
678
- }>>, {
679
- selected: import("vue").ComputedRef<boolean>;
680
- multiple: import("vue").ComputedRef<boolean>;
681
- handleOptionClick: () => void;
682
- visible: import("vue").Ref<boolean>;
683
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
684
- disabled: boolean;
685
- }> & {
686
- beforeCreate?: (() => void) | (() => void)[];
687
- created?: (() => void) | (() => void)[];
688
- beforeMount?: (() => void) | (() => void)[];
689
- mounted?: (() => void) | (() => void)[];
690
- beforeUpdate?: (() => void) | (() => void)[];
691
- updated?: (() => void) | (() => void)[];
692
- activated?: (() => void) | (() => void)[];
693
- deactivated?: (() => void) | (() => void)[];
694
- beforeDestroy?: (() => void) | (() => void)[];
695
- beforeUnmount?: (() => void) | (() => void)[];
696
- destroyed?: (() => void) | (() => void)[];
697
- unmounted?: (() => void) | (() => void)[];
698
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
699
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
700
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
701
- };
702
- $forceUpdate: () => void;
703
- $nextTick: typeof import("vue").nextTick;
704
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
705
- } & Readonly<import("vue").ExtractPropTypes<{
706
- value: import("vue-types").VueTypeDef<string | number | boolean>;
707
- label: import("vue-types").VueTypeDef<string | number>;
708
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
709
- default: boolean;
710
- } & {
711
- default: boolean;
712
- };
713
- }>> & import("vue").ShallowUnwrapRef<{
714
- selected: import("vue").ComputedRef<boolean>;
715
- multiple: import("vue").ComputedRef<boolean>;
716
- handleOptionClick: () => void;
717
- visible: import("vue").Ref<boolean>;
718
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
719
- selectedOptions: import("vue").Ref<Set<{
720
- $: import("vue").ComponentInternalInstance;
721
- $data: {};
722
- $props: Partial<{
723
- disabled: boolean;
724
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
725
- value: import("vue-types").VueTypeDef<string | number | boolean>;
726
- label: import("vue-types").VueTypeDef<string | number>;
727
1291
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
728
1292
  default: boolean;
729
1293
  } & {
730
1294
  default: boolean;
731
1295
  };
732
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
1296
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
1297
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1298
+ default: boolean;
1299
+ } & {
1300
+ default: boolean;
1301
+ };
1302
+ }>> & {
1303
+ onEnter?: (...args: any[]) => any;
1304
+ "onUpdate:modelValue"?: (...args: any[]) => any;
1305
+ onRemove?: (...args: any[]) => any;
1306
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags">;
733
1307
  $attrs: {
734
1308
  [x: string]: unknown;
735
1309
  };
@@ -741,23 +1315,62 @@ declare const BkSelect: {
741
1315
  }>;
742
1316
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
743
1317
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
744
- $emit: (event: string, ...args: any[]) => void;
1318
+ $emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
745
1319
  $el: any;
746
1320
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
747
- value: import("vue-types").VueTypeDef<string | number | boolean>;
748
- label: import("vue-types").VueTypeDef<string | number>;
1321
+ selected: {
1322
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1323
+ default: () => any[];
1324
+ };
1325
+ tagTheme: import("vue-types").VueTypeDef<string> & {
1326
+ default: string;
1327
+ };
1328
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
1329
+ default: string;
1330
+ } & {
1331
+ default: string;
1332
+ };
1333
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1334
+ default: boolean;
1335
+ } & {
1336
+ default: boolean;
1337
+ };
1338
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1339
+ default: boolean;
1340
+ } & {
1341
+ default: boolean;
1342
+ };
749
1343
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
750
1344
  default: boolean;
751
1345
  } & {
752
1346
  default: boolean;
753
1347
  };
754
- }>>, {
755
- selected: import("vue").ComputedRef<boolean>;
756
- multiple: import("vue").ComputedRef<boolean>;
757
- handleOptionClick: () => void;
758
- visible: import("vue").Ref<boolean>;
759
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1348
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
1349
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1350
+ default: boolean;
1351
+ } & {
1352
+ default: boolean;
1353
+ };
1354
+ }>> & {
1355
+ onEnter?: (...args: any[]) => any;
1356
+ "onUpdate:modelValue"?: (...args: any[]) => any;
1357
+ onRemove?: (...args: any[]) => any;
1358
+ }, {
1359
+ overflowTagIndex: import("vue").Ref<number>;
1360
+ value: any;
1361
+ inputRef: import("vue").Ref<HTMLElement>;
1362
+ handleRemoveTag: (val: string) => void;
1363
+ focus: () => void;
1364
+ handleInput: (e: any) => void;
1365
+ handleKeydown: (e: any) => void;
1366
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
760
1367
  disabled: boolean;
1368
+ placeholder: string;
1369
+ selected: import("./type").ISelected[];
1370
+ tagTheme: string;
1371
+ filterable: boolean;
1372
+ allowCreate: boolean;
1373
+ collapseTags: boolean;
761
1374
  }> & {
762
1375
  beforeCreate?: (() => void) | (() => void)[];
763
1376
  created?: (() => void) | (() => void)[];
@@ -779,34 +1392,126 @@ declare const BkSelect: {
779
1392
  $nextTick: typeof import("vue").nextTick;
780
1393
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
781
1394
  } & Readonly<import("vue").ExtractPropTypes<{
782
- value: import("vue-types").VueTypeDef<string | number | boolean>;
783
- label: import("vue-types").VueTypeDef<string | number>;
1395
+ selected: {
1396
+ type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1397
+ default: () => any[];
1398
+ };
1399
+ tagTheme: import("vue-types").VueTypeDef<string> & {
1400
+ default: string;
1401
+ };
1402
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
1403
+ default: string;
1404
+ } & {
1405
+ default: string;
1406
+ };
1407
+ filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1408
+ default: boolean;
1409
+ } & {
1410
+ default: boolean;
1411
+ };
1412
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1413
+ default: boolean;
1414
+ } & {
1415
+ default: boolean;
1416
+ };
784
1417
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
785
1418
  default: boolean;
786
1419
  } & {
787
1420
  default: boolean;
788
1421
  };
789
- }>> & import("vue").ShallowUnwrapRef<{
790
- selected: import("vue").ComputedRef<boolean>;
791
- multiple: import("vue").ComputedRef<boolean>;
792
- handleOptionClick: () => void;
793
- visible: import("vue").Ref<boolean>;
794
- }> & {} & {} & import("vue").ComponentCustomProperties>>;
795
- currentSelectedLabel: import("vue").Ref<string>;
796
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], "change" | "toggle" | "update:modelValue", {
1422
+ modelValue: import("vue-types").VueTypeValidableDef<any>;
1423
+ collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1424
+ default: boolean;
1425
+ } & {
1426
+ default: boolean;
1427
+ };
1428
+ }>> & {
1429
+ onEnter?: (...args: any[]) => any;
1430
+ "onUpdate:modelValue"?: (...args: any[]) => any;
1431
+ onRemove?: (...args: any[]) => any;
1432
+ } & import("vue").ShallowUnwrapRef<{
1433
+ overflowTagIndex: import("vue").Ref<number>;
1434
+ value: any;
1435
+ inputRef: import("vue").Ref<HTMLElement>;
1436
+ handleRemoveTag: (val: string) => void;
1437
+ focus: () => void;
1438
+ handleInput: (e: any) => void;
1439
+ handleKeydown: (e: any) => void;
1440
+ }> & {} & {} & import("vue").ComponentCustomProperties>;
1441
+ virtualRenderRef: import("vue").Ref<any>;
1442
+ searchLoading: import("vue").Ref<boolean>;
1443
+ isOptionsEmpty: import("vue").ComputedRef<boolean>;
1444
+ isSearchEmpty: import("vue").ComputedRef<boolean>;
1445
+ isFocus: import("vue").Ref<boolean>;
1446
+ isShowSelectContent: import("vue").ComputedRef<boolean>;
1447
+ curContentText: import("vue").ComputedRef<string>;
1448
+ isGroup: import("vue").ComputedRef<boolean>;
1449
+ searchKey: import("vue").Ref<string>;
1450
+ isShowSelectAll: import("vue").ComputedRef<boolean>;
1451
+ virtualHeight: import("vue").ComputedRef<number>;
1452
+ filterList: import("vue").ComputedRef<unknown[]>;
1453
+ setHover: () => void;
1454
+ cancelHover: () => void;
1455
+ handleFocus: () => void;
1456
+ handleBlur: () => void;
1457
+ handleTogglePopover: () => void;
1458
+ handleClear: (e: Event) => void;
1459
+ hidePopover: () => void;
1460
+ showPopover: () => void;
1461
+ handleToggleAll: () => void;
1462
+ handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
1463
+ handleClickOutside: ({ event }: {
1464
+ event: any;
1465
+ }) => void;
1466
+ handleScroll: (e: any) => void;
1467
+ handleDeleteTag: (val: string) => void;
1468
+ handleInputChange: (value: any) => void;
1469
+ handleInputEnter: (val: string | number, e: Event) => void;
1470
+ handleKeydown: (e: any) => void;
1471
+ handleSelectedAllOptionMouseEnter: () => void;
1472
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", {
1473
+ showOnInit: boolean;
1474
+ disabled: boolean;
797
1475
  placeholder: string;
1476
+ list: unknown[];
798
1477
  size: string;
799
1478
  multiple: boolean;
800
- disabled: boolean;
801
1479
  loading: boolean;
802
1480
  clearable: boolean;
1481
+ behavior: string;
1482
+ withValidate: boolean;
1483
+ showSelectedIcon: boolean;
1484
+ tagTheme: string;
803
1485
  filterable: boolean;
1486
+ allowCreate: boolean;
1487
+ collapseTags: boolean;
1488
+ popoverMinWidth: number;
1489
+ idKey: string;
804
1490
  remoteMethod: (...args: any[]) => any;
805
1491
  scrollHeight: number;
1492
+ popoverOptions: {
1493
+ [key: string]: any;
1494
+ };
1495
+ showSelectAll: boolean;
1496
+ multipleMode: string;
1497
+ noDataText: string;
1498
+ noMatchText: string;
1499
+ loadingText: string;
1500
+ searchPlaceholder: string;
1501
+ selectAllText: string;
1502
+ scrollLoading: boolean;
1503
+ customContent: boolean;
1504
+ displayKey: string;
1505
+ inputSearch: boolean;
1506
+ enableVirtualRender: boolean;
806
1507
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
807
1508
  Option: import("vue").DefineComponent<{
808
- value: import("vue-types").VueTypeDef<string | number | boolean>;
809
- label: import("vue-types").VueTypeDef<string | number>;
1509
+ value: import("vue-types").VueTypeValidableDef<any>;
1510
+ label: import("vue-types").VueTypeValidableDef<string> & {
1511
+ default: string;
1512
+ } & {
1513
+ default: string;
1514
+ };
810
1515
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
811
1516
  default: boolean;
812
1517
  } & {
@@ -815,17 +1520,25 @@ declare const BkSelect: {
815
1520
  }, {
816
1521
  selected: import("vue").ComputedRef<boolean>;
817
1522
  multiple: import("vue").ComputedRef<boolean>;
1523
+ isHover: import("vue").ComputedRef<boolean>;
1524
+ showSelectedIcon: import("vue").ComputedRef<boolean>;
818
1525
  handleOptionClick: () => void;
1526
+ handleMouseEnter: () => void;
819
1527
  visible: import("vue").Ref<boolean>;
820
1528
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
821
- value: import("vue-types").VueTypeDef<string | number | boolean>;
822
- label: import("vue-types").VueTypeDef<string | number>;
1529
+ value: import("vue-types").VueTypeValidableDef<any>;
1530
+ label: import("vue-types").VueTypeValidableDef<string> & {
1531
+ default: string;
1532
+ } & {
1533
+ default: string;
1534
+ };
823
1535
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
824
1536
  default: boolean;
825
1537
  } & {
826
1538
  default: boolean;
827
1539
  };
828
1540
  }>>, {
1541
+ label: string;
829
1542
  disabled: boolean;
830
1543
  }>;
831
1544
  Group: import("vue").DefineComponent<{
@@ -850,82 +1563,6 @@ declare const BkSelect: {
850
1563
  default: boolean;
851
1564
  };
852
1565
  }, {
853
- children: import("vue").Ref<({
854
- $: import("vue").ComponentInternalInstance;
855
- $data: {};
856
- $props: Partial<{
857
- disabled: boolean;
858
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
859
- value: import("vue-types").VueTypeDef<string | number | boolean>;
860
- label: import("vue-types").VueTypeDef<string | number>;
861
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
862
- default: boolean;
863
- } & {
864
- default: boolean;
865
- };
866
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
867
- $attrs: {
868
- [x: string]: unknown;
869
- };
870
- $refs: {
871
- [x: string]: unknown;
872
- };
873
- $slots: Readonly<{
874
- [name: string]: import("vue").Slot;
875
- }>;
876
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
877
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
878
- $emit: (event: string, ...args: any[]) => void;
879
- $el: any;
880
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
881
- value: import("vue-types").VueTypeDef<string | number | boolean>;
882
- label: import("vue-types").VueTypeDef<string | number>;
883
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
884
- default: boolean;
885
- } & {
886
- default: boolean;
887
- };
888
- }>>, {
889
- selected: import("vue").ComputedRef<boolean>;
890
- multiple: import("vue").ComputedRef<boolean>;
891
- handleOptionClick: () => void;
892
- visible: import("vue").Ref<boolean>;
893
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
894
- disabled: boolean;
895
- }> & {
896
- beforeCreate?: (() => void) | (() => void)[];
897
- created?: (() => void) | (() => void)[];
898
- beforeMount?: (() => void) | (() => void)[];
899
- mounted?: (() => void) | (() => void)[];
900
- beforeUpdate?: (() => void) | (() => void)[];
901
- updated?: (() => void) | (() => void)[];
902
- activated?: (() => void) | (() => void)[];
903
- deactivated?: (() => void) | (() => void)[];
904
- beforeDestroy?: (() => void) | (() => void)[];
905
- beforeUnmount?: (() => void) | (() => void)[];
906
- destroyed?: (() => void) | (() => void)[];
907
- unmounted?: (() => void) | (() => void)[];
908
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
909
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
910
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
911
- };
912
- $forceUpdate: () => void;
913
- $nextTick: typeof import("vue").nextTick;
914
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
915
- } & Readonly<import("vue").ExtractPropTypes<{
916
- value: import("vue-types").VueTypeDef<string | number | boolean>;
917
- label: import("vue-types").VueTypeDef<string | number>;
918
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
919
- default: boolean;
920
- } & {
921
- default: boolean;
922
- };
923
- }>> & import("vue").ShallowUnwrapRef<{
924
- selected: import("vue").ComputedRef<boolean>;
925
- multiple: import("vue").ComputedRef<boolean>;
926
- handleOptionClick: () => void;
927
- visible: import("vue").Ref<boolean>;
928
- }> & {} & {} & import("vue").ComponentCustomProperties)[]>;
929
1566
  groupLabel: import("vue").ComputedRef<string>;
930
1567
  handleToggleCollapse: () => void;
931
1568
  groupCollapse: import("vue").Ref<boolean>;
@@ -953,8 +1590,8 @@ declare const BkSelect: {
953
1590
  };
954
1591
  }>>, {
955
1592
  label: string;
956
- collapse: boolean;
957
1593
  disabled: boolean;
1594
+ collapse: boolean;
958
1595
  collapsible: boolean;
959
1596
  }>;
960
1597
  }>;