bkui-vue 0.0.1-beta.99 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (665) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +360 -36
  3. package/dist/index.esm.js +30153 -24448
  4. package/dist/index.umd.js +360 -36
  5. package/dist/locale/en.esm.js +2 -0
  6. package/dist/locale/en.esm.js.map +1 -0
  7. package/dist/locale/en.umd.js +2 -0
  8. package/dist/locale/en.umd.js.map +1 -0
  9. package/dist/locale/zh-cn.esm.js +2 -0
  10. package/dist/locale/zh-cn.esm.js.map +1 -0
  11. package/dist/locale/zh-cn.umd.js +2 -0
  12. package/dist/locale/zh-cn.umd.js.map +1 -0
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -0
  15. package/lib/affix/affix.d.ts +2 -2
  16. package/lib/affix/affix.variable.css +29 -6
  17. package/lib/affix/index.d.ts +60 -36
  18. package/lib/alert/alert.css +4 -0
  19. package/lib/alert/alert.d.ts +11 -9
  20. package/lib/alert/alert.less +24 -19
  21. package/lib/alert/alert.variable.css +33 -6
  22. package/lib/alert/index.d.ts +82 -58
  23. package/lib/alert/index.js +1 -1
  24. package/lib/animate-number/animate-number.d.ts +2 -2
  25. package/lib/animate-number/index.d.ts +58 -25
  26. package/lib/backtop/backtop.css +8 -0
  27. package/lib/backtop/backtop.d.ts +4 -4
  28. package/lib/backtop/backtop.less +8 -0
  29. package/lib/backtop/backtop.variable.css +37 -6
  30. package/lib/backtop/index.d.ts +65 -47
  31. package/lib/backtop/index.js +1 -1
  32. package/lib/badge/badge.css +2 -5
  33. package/lib/badge/badge.d.ts +3 -3
  34. package/lib/badge/badge.less +4 -5
  35. package/lib/badge/badge.variable.css +31 -11
  36. package/lib/badge/index.d.ts +67 -64
  37. package/lib/badge/index.js +1 -1
  38. package/lib/breadcrumb/breadcrumb-item.d.ts +5 -3
  39. package/lib/breadcrumb/breadcrumb.css +43 -0
  40. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  41. package/lib/breadcrumb/breadcrumb.variable.css +77 -11
  42. package/lib/breadcrumb/index.d.ts +65 -41
  43. package/lib/breadcrumb/index.js +1 -1
  44. package/lib/button/button-group.d.ts +4 -4
  45. package/lib/button/button.css +21 -3
  46. package/lib/button/button.d.ts +46 -33
  47. package/lib/button/button.less +25 -5
  48. package/lib/button/button.variable.css +50 -9
  49. package/lib/button/index.d.ts +121 -96
  50. package/lib/button/index.js +1 -1
  51. package/lib/card/card.css +45 -2
  52. package/lib/card/card.d.ts +2 -1
  53. package/lib/card/card.less +2 -2
  54. package/lib/card/card.variable.css +78 -12
  55. package/lib/card/index.d.ts +66 -64
  56. package/lib/card/index.js +1 -1
  57. package/lib/cascader/cascader-panel.d.ts +60 -6
  58. package/lib/cascader/cascader.css +197 -11
  59. package/lib/cascader/cascader.d.ts +108 -25
  60. package/lib/cascader/cascader.less +148 -11
  61. package/lib/cascader/cascader.variable.css +234 -25
  62. package/lib/cascader/index.d.ts +378 -176
  63. package/lib/cascader/index.js +2 -1
  64. package/lib/cascader/index.js.LICENSE.txt +1 -0
  65. package/lib/cascader/interface.d.ts +8 -1
  66. package/lib/cascader/node.d.ts +9 -2
  67. package/lib/cascader/store.d.ts +13 -1
  68. package/lib/checkbox/checkbox-group.d.ts +18 -2
  69. package/lib/checkbox/checkbox.css +38 -11
  70. package/lib/checkbox/checkbox.d.ts +40 -18
  71. package/lib/checkbox/checkbox.less +68 -33
  72. package/lib/checkbox/checkbox.variable.css +67 -17
  73. package/lib/checkbox/common.d.ts +1 -0
  74. package/lib/checkbox/index.d.ts +133 -72
  75. package/lib/checkbox/index.js +1 -1
  76. package/lib/checkbox/type.d.ts +1 -1
  77. package/lib/code-diff/code-diff.css +27 -7
  78. package/lib/code-diff/code-diff.d.ts +7 -7
  79. package/lib/code-diff/code-diff.less +42 -7
  80. package/lib/code-diff/code-diff.variable.css +56 -13
  81. package/lib/code-diff/index.d.ts +30 -43
  82. package/lib/code-diff/index.js +1 -1
  83. package/lib/collapse/collapse-panel.d.ts +104 -0
  84. package/lib/collapse/collapse.css +58 -19
  85. package/lib/collapse/collapse.d.ts +59 -42
  86. package/lib/collapse/collapse.less +106 -46
  87. package/lib/collapse/collapse.variable.css +87 -25
  88. package/lib/collapse/index.d.ts +271 -46
  89. package/lib/collapse/index.js +1 -1
  90. package/lib/collapse/props.d.ts +131 -0
  91. package/lib/collapse-transition/collapse-transition.css +93 -0
  92. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  93. package/lib/collapse-transition/collapse-transition.less +111 -0
  94. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  95. package/lib/collapse-transition/index.d.ts +2 -0
  96. package/lib/collapse-transition/index.js +1 -0
  97. package/lib/color-picker/color-picker.css +275 -0
  98. package/lib/color-picker/color-picker.d.ts +144 -0
  99. package/lib/color-picker/color-picker.less +325 -0
  100. package/lib/color-picker/color-picker.variable.css +397 -0
  101. package/lib/color-picker/components/color-input.d.ts +42 -0
  102. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  103. package/lib/color-picker/components/input-container.d.ts +42 -0
  104. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  105. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  106. package/lib/color-picker/index.d.ts +255 -0
  107. package/lib/color-picker/index.js +1 -0
  108. package/lib/color-picker/utils.d.ts +37 -0
  109. package/lib/components.d.ts +13 -0
  110. package/lib/components.js +1 -1
  111. package/lib/config-provider/config-provider.css +0 -0
  112. package/lib/config-provider/config-provider.d.ts +402 -0
  113. package/lib/config-provider/config-provider.less +1 -0
  114. package/lib/{popover2/popover2.variable.css → config-provider/config-provider.variable.css} +29 -31
  115. package/lib/config-provider/index.d.ts +646 -0
  116. package/lib/config-provider/index.js +1 -0
  117. package/lib/config-provider/token.d.ts +128 -0
  118. package/lib/config-provider/use-global-config.d.ts +5 -0
  119. package/lib/config-provider/use-locale.d.ts +3 -0
  120. package/lib/config-provider/use-prefix.d.ts +9 -0
  121. package/lib/container/col.d.ts +3 -3
  122. package/lib/container/container.css +43 -0
  123. package/lib/container/container.d.ts +2 -2
  124. package/lib/container/container.less +4 -4
  125. package/lib/container/container.variable.css +72 -6
  126. package/lib/container/index.d.ts +30 -49
  127. package/lib/container/index.js +1 -1
  128. package/lib/container/interface.d.ts +7 -0
  129. package/lib/container/row.d.ts +2 -2
  130. package/lib/date-picker/base/confirm.d.ts +74 -0
  131. package/lib/date-picker/base/date-table.d.ts +96 -0
  132. package/lib/date-picker/base/month-table.d.ts +117 -0
  133. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  134. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  135. package/lib/date-picker/base/year-table.d.ts +117 -0
  136. package/lib/date-picker/date-picker.css +30 -1
  137. package/lib/date-picker/date-picker.d.ts +55 -35
  138. package/lib/date-picker/date-picker.less +109 -74
  139. package/lib/date-picker/date-picker.variable.css +59 -7
  140. package/lib/date-picker/index.d.ts +198 -218
  141. package/lib/date-picker/index.js +1 -1
  142. package/lib/date-picker/interface.d.ts +20 -10
  143. package/lib/date-picker/panel/date-range.d.ts +345 -0
  144. package/lib/date-picker/panel/date.d.ts +206 -0
  145. package/lib/date-picker/panel/time-range.d.ts +495 -0
  146. package/lib/date-picker/panel/time.d.ts +451 -0
  147. package/lib/date-picker/props.d.ts +48 -5
  148. package/lib/date-picker/time-picker.d.ts +390 -0
  149. package/lib/date-picker/utils.d.ts +22 -2
  150. package/lib/dialog/dialog.css +94 -34
  151. package/lib/dialog/dialog.d.ts +57 -93
  152. package/lib/dialog/dialog.less +85 -43
  153. package/lib/dialog/dialog.variable.css +216 -34
  154. package/lib/dialog/index.d.ts +194 -334
  155. package/lib/dialog/index.js +2 -1
  156. package/lib/dialog/index.js.LICENSE.txt +1 -0
  157. package/lib/dialog/props.d.ts +122 -0
  158. package/lib/directives/ellipsis.d.ts +7 -0
  159. package/lib/directives/index.d.ts +2 -0
  160. package/lib/directives/index.js +1 -1
  161. package/lib/directives/tooltips.d.ts +2 -1
  162. package/lib/dist.index.js +1 -1
  163. package/lib/divider/divider.d.ts +17 -17
  164. package/lib/divider/divider.variable.css +29 -6
  165. package/lib/divider/index.d.ts +85 -61
  166. package/lib/divider/index.js +1 -1
  167. package/lib/divider/props.d.ts +6 -6
  168. package/lib/dropdown/dropdown-item.d.ts +1 -1
  169. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  170. package/lib/dropdown/dropdown.css +34 -7
  171. package/lib/dropdown/dropdown.d.ts +46 -15
  172. package/lib/dropdown/dropdown.less +42 -36
  173. package/lib/dropdown/dropdown.variable.css +63 -13
  174. package/lib/dropdown/index.d.ts +136 -65
  175. package/lib/dropdown/index.js +1 -1
  176. package/lib/exception/exception.css +40 -14
  177. package/lib/exception/exception.d.ts +33 -13
  178. package/lib/exception/exception.less +59 -22
  179. package/lib/exception/exception.variable.css +69 -20
  180. package/lib/exception/index.d.ts +91 -43
  181. package/lib/exception/index.js +1 -1
  182. package/lib/exception/typings/index.d.ts +4 -0
  183. package/lib/fixed-navbar/fixed-navbar.d.ts +2 -2
  184. package/lib/fixed-navbar/fixed-navbar.variable.css +29 -6
  185. package/lib/fixed-navbar/index.d.ts +60 -36
  186. package/lib/form/compose-form-item.d.ts +4 -2
  187. package/lib/form/form-item.d.ts +15 -9
  188. package/lib/form/form.css +32 -8
  189. package/lib/form/form.d.ts +25 -7
  190. package/lib/form/form.less +85 -53
  191. package/lib/form/form.variable.css +61 -14
  192. package/lib/form/index.d.ts +109 -51
  193. package/lib/form/index.js +1 -1
  194. package/lib/form/type.d.ts +5 -4
  195. package/lib/form/utils.d.ts +2 -0
  196. package/lib/hooks.d.ts +1 -0
  197. package/lib/hooks.js +1 -0
  198. package/lib/icon/angle-double-down-line.js +1 -1
  199. package/lib/icon/angle-double-left-line.js +1 -1
  200. package/lib/icon/angle-double-left.js +1 -1
  201. package/lib/icon/angle-double-right-line.js +1 -1
  202. package/lib/icon/angle-double-right.js +1 -1
  203. package/lib/icon/angle-double-up-line.js +1 -1
  204. package/lib/icon/angle-down-fill.js +1 -1
  205. package/lib/icon/angle-down-line.js +1 -1
  206. package/lib/icon/angle-down.js +1 -1
  207. package/lib/icon/angle-left.js +1 -1
  208. package/lib/icon/angle-right.js +1 -1
  209. package/lib/icon/angle-up-fill.js +1 -1
  210. package/lib/icon/angle-up.js +1 -1
  211. package/lib/icon/archive-fill.js +1 -1
  212. package/lib/icon/arrows-left.js +1 -1
  213. package/lib/icon/arrows-right.js +1 -1
  214. package/lib/icon/audio-fill.js +1 -1
  215. package/lib/icon/bk.js +1 -1
  216. package/lib/icon/circle.js +1 -1
  217. package/lib/icon/close-line.js +1 -1
  218. package/lib/icon/close.js +1 -1
  219. package/lib/icon/code.js +1 -1
  220. package/lib/icon/cog-shape.js +1 -1
  221. package/lib/icon/collapse-left.js +1 -1
  222. package/lib/icon/copy-shape.d.ts +4 -0
  223. package/lib/icon/copy-shape.js +1 -0
  224. package/lib/icon/copy.js +1 -1
  225. package/lib/icon/data-shape.js +1 -1
  226. package/lib/icon/del.js +1 -1
  227. package/lib/icon/doc-fill.js +1 -1
  228. package/lib/icon/done.js +1 -1
  229. package/lib/icon/down-shape.js +1 -1
  230. package/lib/icon/down-small.js +1 -1
  231. package/lib/icon/edit-line.js +1 -1
  232. package/lib/icon/ellipsis.js +1 -1
  233. package/lib/icon/enlarge-line.d.ts +4 -0
  234. package/lib/icon/enlarge-line.js +1 -0
  235. package/lib/icon/error.js +1 -1
  236. package/lib/icon/excel-fill.js +1 -1
  237. package/lib/icon/exclamation-circle-shape.js +1 -1
  238. package/lib/icon/eye.js +1 -1
  239. package/lib/icon/filliscreen-line.d.ts +4 -0
  240. package/lib/icon/filliscreen-line.js +1 -0
  241. package/lib/icon/fix-line.d.ts +4 -0
  242. package/lib/icon/fix-line.js +1 -0
  243. package/lib/icon/fix-shape.d.ts +4 -0
  244. package/lib/icon/fix-shape.js +1 -0
  245. package/lib/icon/folder-open.js +1 -1
  246. package/lib/icon/folder-shape-open.js +1 -1
  247. package/lib/icon/folder-shape.js +1 -1
  248. package/lib/icon/folder.js +1 -1
  249. package/lib/icon/funnel.js +1 -0
  250. package/lib/icon/help-document-fill.js +1 -1
  251. package/lib/icon/help-fill.js +1 -1
  252. package/lib/icon/help.js +1 -1
  253. package/lib/icon/image-fill.js +1 -1
  254. package/lib/icon/img-error.d.ts +4 -0
  255. package/lib/icon/img-error.js +1 -0
  256. package/lib/icon/img-placehoulder.d.ts +4 -0
  257. package/lib/icon/img-placehoulder.js +1 -0
  258. package/lib/icon/index.d.ts +83 -69
  259. package/lib/icon/index.js +1 -1
  260. package/lib/icon/info-line.js +1 -1
  261. package/lib/icon/info.js +1 -1
  262. package/lib/icon/left-shape.js +1 -1
  263. package/lib/icon/left-turn-line.d.ts +4 -0
  264. package/lib/icon/left-turn-line.js +1 -0
  265. package/lib/icon/narrow-line.d.ts +4 -0
  266. package/lib/icon/narrow-line.js +1 -0
  267. package/lib/icon/original.d.ts +4 -0
  268. package/lib/icon/original.js +1 -0
  269. package/lib/icon/pdf-fill.js +1 -1
  270. package/lib/icon/play-shape.js +1 -1
  271. package/lib/icon/plus.js +1 -1
  272. package/lib/icon/ppt-fill.js +1 -1
  273. package/lib/icon/qq.js +1 -1
  274. package/lib/icon/right-shape.js +1 -1
  275. package/lib/icon/right-turn-line.d.ts +4 -0
  276. package/lib/icon/right-turn-line.js +1 -0
  277. package/lib/icon/search.js +1 -1
  278. package/lib/icon/share.js +1 -1
  279. package/lib/icon/spinner.js +1 -1
  280. package/lib/icon/success.js +1 -1
  281. package/lib/icon/switcher-loading.js +1 -1
  282. package/lib/icon/text-file.js +1 -1
  283. package/lib/icon/text-fill.js +1 -1
  284. package/lib/icon/transfer.d.ts +4 -0
  285. package/lib/icon/transfer.js +1 -0
  286. package/lib/icon/tree-application-shape.js +1 -1
  287. package/lib/icon/unfull-screen.d.ts +4 -0
  288. package/lib/icon/unfull-screen.js +1 -0
  289. package/lib/icon/unvisible.js +1 -1
  290. package/lib/icon/up-shape.js +1 -1
  291. package/lib/icon/upload.js +1 -1
  292. package/lib/icon/video-fill.js +1 -1
  293. package/lib/icon/warn.js +1 -1
  294. package/lib/icon/weixin-pro.d.ts +4 -0
  295. package/lib/icon/weixin-pro.js +1 -0
  296. package/lib/icon/weixin.js +1 -1
  297. package/lib/image/image-viewer.css +142 -0
  298. package/lib/image/image-viewer.d.ts +73 -0
  299. package/lib/image/image-viewer.less +168 -0
  300. package/lib/image/image-viewer.variable.css +142 -0
  301. package/lib/image/image.css +37 -0
  302. package/lib/image/image.d.ts +93 -0
  303. package/lib/image/image.less +44 -0
  304. package/lib/image/image.variable.css +37 -0
  305. package/lib/image/index.d.ts +252 -0
  306. package/lib/image/index.js +1 -0
  307. package/lib/image/props.d.ts +71 -0
  308. package/lib/index.d.ts +3 -0
  309. package/lib/index.js +1 -1
  310. package/lib/info-box/index.d.ts +7 -0
  311. package/lib/info-box/index.js +2 -0
  312. package/lib/info-box/index.js.LICENSE.txt +1 -0
  313. package/lib/info-box/info-box.css +37 -0
  314. package/lib/info-box/info-box.d.ts +29 -0
  315. package/lib/info-box/info-box.less +51 -0
  316. package/lib/info-box/info-box.variable.css +159 -0
  317. package/lib/input/index.d.ts +178 -228
  318. package/lib/input/index.js +1 -1
  319. package/lib/input/input.css +168 -23
  320. package/lib/input/input.d.ts +59 -37
  321. package/lib/input/input.less +104 -22
  322. package/lib/input/input.variable.css +228 -61
  323. package/lib/link/index.d.ts +80 -53
  324. package/lib/link/index.js +1 -1
  325. package/lib/link/link.css +12 -12
  326. package/lib/link/link.d.ts +10 -8
  327. package/lib/link/link.less +16 -14
  328. package/lib/link/link.variable.css +41 -18
  329. package/lib/loading/directive.d.ts +14 -0
  330. package/lib/loading/index.d.ts +160 -56
  331. package/lib/loading/index.js +1 -1
  332. package/lib/loading/loading.css +72 -29
  333. package/lib/loading/loading.d.ts +91 -15
  334. package/lib/loading/loading.less +21 -19
  335. package/lib/loading/loading.variable.css +117 -51
  336. package/lib/locale/index.d.ts +3 -0
  337. package/lib/locale/index.js +1 -0
  338. package/lib/locale/lang/en.d.ts +126 -0
  339. package/lib/locale/lang/zh-cn.d.ts +3 -0
  340. package/lib/menu/index.d.ts +75 -34
  341. package/lib/menu/index.js +1 -1
  342. package/lib/menu/menu-group.d.ts +2 -2
  343. package/lib/menu/menu-item.d.ts +5 -1
  344. package/lib/menu/menu.css +43 -0
  345. package/lib/menu/menu.d.ts +2 -2
  346. package/lib/menu/menu.variable.css +90 -24
  347. package/lib/menu/submenu.d.ts +5 -1
  348. package/lib/menu/submenu.variable.css +29 -6
  349. package/lib/menu/utils.d.ts +1 -1
  350. package/lib/message/index.js +2 -1
  351. package/lib/message/index.js.LICENSE.txt +6 -0
  352. package/lib/message/message.css +166 -2
  353. package/lib/message/message.less +222 -7
  354. package/lib/message/message.variable.css +195 -8
  355. package/lib/message/messageConstructor.d.ts +136 -27
  356. package/lib/modal/index.d.ts +201 -246
  357. package/lib/modal/index.js +1 -1
  358. package/lib/modal/modal.css +39 -6
  359. package/lib/modal/modal.d.ts +54 -61
  360. package/lib/modal/modal.less +8 -10
  361. package/lib/modal/modal.variable.css +161 -6
  362. package/lib/modal/props.mixin.d.ts +16 -23
  363. package/lib/navigation/index.d.ts +90 -68
  364. package/lib/navigation/index.js +1 -1
  365. package/lib/navigation/navigation-title.d.ts +6 -3
  366. package/lib/navigation/navigation.d.ts +12 -4
  367. package/lib/navigation/navigation.variable.css +29 -6
  368. package/lib/notify/index.js +1 -1
  369. package/lib/notify/notify.css +8 -4
  370. package/lib/notify/notify.less +18 -13
  371. package/lib/notify/notify.variable.css +37 -10
  372. package/lib/notify/notifyConstructor.d.ts +19 -21
  373. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  374. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  375. package/lib/overflow-title/index.d.ts +195 -0
  376. package/lib/overflow-title/index.js +1 -0
  377. package/lib/overflow-title/overflow.css +11 -0
  378. package/lib/overflow-title/overflow.less +13 -0
  379. package/lib/overflow-title/overflow.variable.css +11 -0
  380. package/lib/overflow-title/props.d.ts +43 -0
  381. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  382. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  383. package/lib/pagination/index.d.ts +89 -90
  384. package/lib/pagination/index.js +1 -1
  385. package/lib/pagination/pagination.css +54 -28
  386. package/lib/pagination/pagination.d.ts +17 -6
  387. package/lib/pagination/pagination.less +59 -30
  388. package/lib/pagination/pagination.variable.css +83 -34
  389. package/lib/pagination/type.d.ts +1 -1
  390. package/lib/pagination/use-limit.d.ts +3 -1
  391. package/lib/pagination/use-total.d.ts +3 -1
  392. package/lib/plugin-popover/index.d.ts +27 -0
  393. package/lib/plugin-popover/index.js +1 -0
  394. package/lib/plugins/index.d.ts +1 -0
  395. package/lib/plugins/index.js +1 -0
  396. package/lib/pop-confirm/index.d.ts +249 -0
  397. package/lib/pop-confirm/index.js +1 -0
  398. package/lib/pop-confirm/pop-confirm.css +28 -0
  399. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  400. package/lib/pop-confirm/pop-confirm.less +34 -0
  401. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  402. package/lib/pop-confirm/props.d.ts +67 -0
  403. package/lib/popover/arrow.d.ts +2 -0
  404. package/lib/popover/const.d.ts +16 -0
  405. package/lib/popover/content.d.ts +43 -0
  406. package/lib/popover/index.d.ts +409 -173
  407. package/lib/popover/index.js +1 -1
  408. package/lib/popover/plugin-popover.d.ts +12 -0
  409. package/lib/popover/popover.css +10 -53
  410. package/lib/popover/popover.d.ts +189 -58
  411. package/lib/popover/popover.less +19 -68
  412. package/lib/popover/popover.variable.css +40 -60
  413. package/lib/popover/props.d.ts +90 -37
  414. package/lib/popover/reference.d.ts +2 -0
  415. package/lib/popover/root.d.ts +27 -0
  416. package/lib/popover/use-floating.d.ts +34 -0
  417. package/lib/popover/use-platform.d.ts +30 -0
  418. package/lib/popover/use-popover-init.d.ts +23 -0
  419. package/lib/popover/use-popper-id.d.ts +6 -0
  420. package/lib/popover/utils.d.ts +8 -0
  421. package/lib/popover2/index.d.ts +54 -393
  422. package/lib/popover2/index.js +1 -1
  423. package/lib/popover2/popover.d.ts +2 -0
  424. package/lib/preset.d.ts +264 -2
  425. package/lib/preset.js +1 -1
  426. package/lib/process/index.d.ts +69 -52
  427. package/lib/process/index.js +2 -1
  428. package/lib/process/index.js.LICENSE.txt +1 -0
  429. package/lib/process/process.css +22 -0
  430. package/lib/process/process.d.ts +5 -4
  431. package/lib/process/process.less +36 -8
  432. package/lib/process/process.variable.css +51 -6
  433. package/lib/progress/index.d.ts +100 -121
  434. package/lib/progress/index.js +1 -1
  435. package/lib/progress/progress.css +43 -0
  436. package/lib/progress/progress.d.ts +17 -15
  437. package/lib/progress/progress.less +8 -8
  438. package/lib/progress/progress.variable.css +76 -10
  439. package/lib/radio/index.d.ts +116 -58
  440. package/lib/radio/index.js +1 -1
  441. package/lib/radio/radio-button.d.ts +12 -9
  442. package/lib/radio/radio-group.d.ts +36 -5
  443. package/lib/radio/radio.css +133 -62
  444. package/lib/radio/radio.d.ts +9 -5
  445. package/lib/radio/radio.less +262 -173
  446. package/lib/radio/radio.variable.css +166 -72
  447. package/lib/radio/type.d.ts +1 -1
  448. package/lib/rate/index.d.ts +78 -28
  449. package/lib/rate/index.js +1 -1
  450. package/lib/rate/rate.d.ts +14 -3
  451. package/lib/rate/star.d.ts +1 -1
  452. package/lib/resize-layout/index.d.ts +82 -80
  453. package/lib/resize-layout/index.js +1 -1
  454. package/lib/resize-layout/resize-layout.css +6 -15
  455. package/lib/resize-layout/resize-layout.d.ts +10 -9
  456. package/lib/resize-layout/resize-layout.less +32 -41
  457. package/lib/resize-layout/resize-layout.variable.css +35 -21
  458. package/lib/search-select/index.d.ts +892 -0
  459. package/lib/search-select/index.js +2 -0
  460. package/lib/search-select/index.js.LICENSE.txt +1 -0
  461. package/lib/search-select/input.d.ts +101 -0
  462. package/lib/search-select/menu.d.ts +77 -0
  463. package/lib/search-select/search-select.css +427 -0
  464. package/lib/search-select/search-select.d.ts +361 -0
  465. package/lib/search-select/search-select.less +384 -0
  466. package/lib/search-select/search-select.variable.css +549 -0
  467. package/lib/search-select/selected.d.ts +155 -0
  468. package/lib/search-select/utils.d.ts +88 -0
  469. package/lib/select/common.d.ts +4 -11
  470. package/lib/select/index.d.ts +1471 -918
  471. package/lib/select/index.js +2 -1
  472. package/lib/select/index.js.LICENSE.txt +1 -0
  473. package/lib/select/option.d.ts +17 -6
  474. package/lib/select/optionGroup.d.ts +2 -2
  475. package/lib/select/select.css +211 -140
  476. package/lib/select/select.d.ts +654 -205
  477. package/lib/select/select.less +331 -189
  478. package/lib/select/select.variable.css +240 -146
  479. package/lib/select/selectTagInput.d.ts +38 -15
  480. package/lib/select/type.d.ts +20 -14
  481. package/lib/shared/dom.d.ts +3 -0
  482. package/lib/shared/helper.d.ts +9 -0
  483. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  484. package/lib/shared/hooks/use-form.d.ts +2 -0
  485. package/lib/shared/index.d.ts +16 -12
  486. package/lib/shared/index.js +1 -1
  487. package/lib/shared/mask-manager.d.ts +18 -5
  488. package/lib/shared/pop-manager.d.ts +13 -3
  489. package/lib/shared/popover.d.ts +1 -1
  490. package/lib/shared/token.d.ts +1 -1
  491. package/lib/shared/utils.d.ts +19 -0
  492. package/lib/shared/vue-types.d.ts +116 -13
  493. package/lib/sideslider/index.d.ts +158 -252
  494. package/lib/sideslider/index.js +2 -1
  495. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  496. package/lib/sideslider/sideslider.css +10 -8
  497. package/lib/sideslider/sideslider.d.ts +46 -71
  498. package/lib/sideslider/sideslider.less +19 -17
  499. package/lib/sideslider/sideslider.variable.css +39 -14
  500. package/lib/slider/index.d.ts +82 -112
  501. package/lib/slider/index.js +2 -1
  502. package/lib/slider/index.js.LICENSE.txt +1 -0
  503. package/lib/slider/slider-button.d.ts +3 -2
  504. package/lib/slider/slider.d.ts +6 -6
  505. package/lib/slider/slider.variable.css +29 -6
  506. package/lib/steps/index.d.ts +105 -96
  507. package/lib/steps/index.js +2 -1
  508. package/lib/steps/index.js.LICENSE.txt +1 -0
  509. package/lib/steps/steps.css +1 -0
  510. package/lib/steps/steps.d.ts +35 -34
  511. package/lib/steps/steps.less +63 -62
  512. package/lib/steps/steps.variable.css +30 -6
  513. package/lib/styles/index.d.ts +6 -2
  514. package/lib/styles/mixins/mixins.css +43 -0
  515. package/lib/styles/mixins/mixins.less +1 -0
  516. package/lib/styles/mixins/mixins.variable.css +43 -0
  517. package/lib/styles/mixins/popper.css +1 -1
  518. package/lib/styles/mixins/popper.less +12 -11
  519. package/lib/styles/mixins/popper.variable.css +123 -1
  520. package/lib/styles/mixins/scroll.css +17 -0
  521. package/lib/styles/mixins/scroll.less +22 -0
  522. package/lib/styles/mixins/scroll.variable.css +139 -0
  523. package/lib/styles/reset.css +36 -0
  524. package/lib/styles/reset.less +26 -2
  525. package/lib/styles/reset.variable.css +36 -0
  526. package/lib/styles/themes/themes.less +37 -6
  527. package/lib/swiper/index.d.ts +60 -44
  528. package/lib/swiper/index.js +1 -1
  529. package/lib/swiper/swiper.d.ts +1 -1
  530. package/lib/swiper/swiper.less +15 -13
  531. package/lib/swiper/swiper.variable.css +122 -0
  532. package/lib/switcher/index.d.ts +94 -87
  533. package/lib/switcher/index.js +1 -1
  534. package/lib/switcher/switcher.css +44 -1
  535. package/lib/switcher/switcher.d.ts +17 -11
  536. package/lib/switcher/switcher.less +29 -52
  537. package/lib/switcher/switcher.variable.css +90 -24
  538. package/lib/tab/index.d.ts +163 -124
  539. package/lib/tab/index.js +1 -1
  540. package/lib/tab/props.d.ts +92 -43
  541. package/lib/tab/tab-nav.d.ts +46 -14
  542. package/lib/tab/tab-panel.d.ts +16 -9
  543. package/lib/tab/tab.css +135 -58
  544. package/lib/tab/tab.d.ts +42 -20
  545. package/lib/tab/tab.less +164 -77
  546. package/lib/tab/tab.variable.css +164 -64
  547. package/lib/table/cache.d.ts +6 -0
  548. package/lib/table/components/index.d.ts +3 -0
  549. package/lib/table/components/table-cell.d.ts +51 -0
  550. package/lib/table/components/table-column.d.ts +305 -0
  551. package/lib/table/components/table-row.d.ts +2 -0
  552. package/lib/table/const.d.ts +94 -6
  553. package/lib/table/index.d.ts +697 -169
  554. package/lib/table/index.js +1 -1
  555. package/lib/table/plugins/body-empty.d.ts +36 -0
  556. package/lib/table/plugins/col-group.d.ts +38 -0
  557. package/lib/table/plugins/common.d.ts +6 -0
  558. package/lib/table/plugins/head-filter.css +30 -14
  559. package/lib/table/plugins/head-filter.d.ts +26 -0
  560. package/lib/table/plugins/head-filter.less +79 -52
  561. package/lib/table/plugins/head-filter.variable.css +59 -20
  562. package/lib/table/plugins/head-sort.css +7 -3
  563. package/lib/table/plugins/head-sort.d.ts +29 -0
  564. package/lib/table/plugins/head-sort.less +8 -4
  565. package/lib/table/plugins/head-sort.variable.css +36 -9
  566. package/lib/table/plugins/index.d.ts +5 -0
  567. package/lib/table/plugins/settings.css +43 -6
  568. package/lib/table/plugins/settings.d.ts +37 -0
  569. package/lib/table/plugins/settings.less +52 -7
  570. package/lib/table/plugins/settings.variable.css +72 -12
  571. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  572. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  573. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  574. package/lib/table/plugins/use-pagination.d.ts +16 -0
  575. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  576. package/lib/table/props.d.ts +271 -23
  577. package/lib/table/render.d.ts +32 -12
  578. package/lib/table/table.css +961 -69
  579. package/lib/table/table.d.ts +170 -27
  580. package/lib/table/table.less +195 -69
  581. package/lib/table/table.variable.css +990 -75
  582. package/lib/table/use-column.d.ts +12 -0
  583. package/lib/table/use-common.d.ts +71 -11
  584. package/lib/table/utils.d.ts +33 -7
  585. package/lib/table-column/index.d.ts +797 -0
  586. package/lib/table-column/index.js +1 -0
  587. package/lib/tag/index.d.ts +89 -68
  588. package/lib/tag/index.js +1 -1
  589. package/lib/tag/tag.css +46 -13
  590. package/lib/tag/tag.d.ts +17 -12
  591. package/lib/tag/tag.less +58 -21
  592. package/lib/tag/tag.variable.css +75 -19
  593. package/lib/tag-input/common.d.ts +13 -1
  594. package/lib/tag-input/index.d.ts +570 -269
  595. package/lib/tag-input/index.js +1 -1
  596. package/lib/tag-input/list-tag-render.d.ts +2 -5
  597. package/lib/tag-input/tag-input.css +23 -27
  598. package/lib/tag-input/tag-input.d.ts +304 -45
  599. package/lib/tag-input/tag-input.less +103 -106
  600. package/lib/tag-input/tag-input.variable.css +52 -33
  601. package/lib/tag-input/tag-props.d.ts +142 -8
  602. package/lib/tag-input/tag-render.d.ts +31 -5
  603. package/lib/time-picker/index.d.ts +833 -0
  604. package/lib/time-picker/index.js +1 -0
  605. package/lib/time-picker/time-picker.css +215 -0
  606. package/lib/time-picker/time-picker.less +260 -0
  607. package/lib/time-picker/time-picker.variable.css +337 -0
  608. package/lib/timeline/index.d.ts +64 -32
  609. package/lib/timeline/index.js +1 -1
  610. package/lib/timeline/timeline.css +11 -4
  611. package/lib/timeline/timeline.d.ts +4 -3
  612. package/lib/timeline/timeline.less +48 -36
  613. package/lib/timeline/timeline.variable.css +40 -10
  614. package/lib/transfer/index.d.ts +152 -81
  615. package/lib/transfer/index.js +1 -1
  616. package/lib/transfer/props.d.ts +5 -0
  617. package/lib/transfer/transfer.css +121 -41
  618. package/lib/transfer/transfer.d.ts +35 -3
  619. package/lib/transfer/transfer.less +103 -46
  620. package/lib/transfer/transfer.variable.css +155 -52
  621. package/lib/tree/constant.d.ts +22 -2
  622. package/lib/tree/index.d.ts +236 -141
  623. package/lib/tree/index.js +1 -1
  624. package/lib/tree/props.d.ts +68 -12
  625. package/lib/tree/tree.css +176 -7
  626. package/lib/tree/tree.d.ts +91 -20
  627. package/lib/tree/tree.less +49 -1
  628. package/lib/tree/tree.variable.css +205 -13
  629. package/lib/tree/use-empty.d.ts +1 -1
  630. package/lib/tree/use-node-action.d.ts +3 -2
  631. package/lib/tree/use-node-attribute.d.ts +11 -0
  632. package/lib/tree/use-node-drag.d.ts +1 -1
  633. package/lib/tree/use-search.d.ts +1 -1
  634. package/lib/tree/util.d.ts +2 -0
  635. package/lib/upload/index.d.ts +508 -1
  636. package/lib/upload/index.js +2 -1
  637. package/lib/upload/index.js.LICENSE.txt +1 -0
  638. package/lib/upload/props.d.ts +0 -2
  639. package/lib/upload/upload-list.d.ts +3 -2
  640. package/lib/upload/upload-trigger.d.ts +1 -4
  641. package/lib/upload/upload.css +58 -5
  642. package/lib/upload/upload.d.ts +10 -16
  643. package/lib/upload/upload.less +19 -8
  644. package/lib/upload/upload.type.d.ts +12 -12
  645. package/lib/upload/upload.variable.css +113 -37
  646. package/lib/upload/use-file-handler.d.ts +2 -25
  647. package/lib/virtual-render/index.d.ts +100 -150
  648. package/lib/virtual-render/index.js +1 -1
  649. package/lib/virtual-render/props.d.ts +15 -1
  650. package/lib/virtual-render/virtual-render.css +17 -17
  651. package/lib/virtual-render/virtual-render.d.ts +39 -4
  652. package/lib/virtual-render/virtual-render.less +2 -23
  653. package/lib/virtual-render/virtual-render.variable.css +139 -17
  654. package/lib/volar.components.d.ts +102 -0
  655. package/package.json +47 -41
  656. package/LICENSE.txt +0 -22
  657. package/lib/popover2/arrow.d.ts +0 -2
  658. package/lib/popover2/content.d.ts +0 -24
  659. package/lib/popover2/popover2.css +0 -25
  660. package/lib/popover2/popover2.d.ts +0 -180
  661. package/lib/popover2/popover2.less +0 -35
  662. package/lib/popover2/props.d.ts +0 -92
  663. package/lib/popover2/reference.d.ts +0 -2
  664. package/lib/popover2/use-floating.d.ts +0 -15
  665. package/lib/popover2/use-popper-id.d.ts +0 -5
@@ -2,187 +2,102 @@ declare const TagInput: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{
6
- trigger: string;
7
- disabled: boolean;
8
- placeholder: string;
9
- list: {
5
+ $props: {
6
+ disabled?: boolean;
7
+ trigger?: "search" | "focus";
8
+ separator?: string;
9
+ placeholder?: string;
10
+ list?: {
10
11
  [key: string]: any;
11
12
  }[];
12
- separator: string;
13
- clearable: boolean;
14
- showClearOnlyHover: boolean;
15
- modelValue: string[];
16
- allowCreate: boolean;
17
- searchKey: string | string[];
18
- displayKey: string;
19
- tooltipKey: string;
20
- saveKey: string;
21
- hasDeleteIcon: boolean;
22
- useGroup: boolean;
23
- maxData: number;
24
- maxResult: number;
25
- contentMaxHeight: number;
26
- contentWidth: number;
27
- allowNextFocus: boolean;
28
- allowAutoMatch: boolean;
29
- leftSpace: number;
30
- createTagValidator: (tag: any) => boolean;
31
- filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
32
- tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ clearable?: boolean;
14
+ showClearOnlyHover?: boolean;
15
+ modelValue?: string[];
16
+ withValidate?: boolean;
17
+ searchKey?: string | string[];
18
+ allowCreate?: boolean;
19
+ collapseTags?: boolean;
20
+ tooltipKey?: string;
21
+ saveKey?: string;
22
+ displayKey?: string;
23
+ hasDeleteIcon?: boolean;
24
+ useGroup?: boolean;
25
+ maxData?: number;
26
+ maxResult?: number;
27
+ contentMaxHeight?: number;
28
+ contentWidth?: number;
29
+ allowNextFocus?: boolean;
30
+ allowAutoMatch?: boolean;
31
+ isAsyncList?: boolean;
32
+ leftSpace?: number;
33
+ popoverProps?: {};
34
+ tagOverflowTips?: {};
35
+ class?: unknown;
36
+ style?: unknown;
37
+ onFocus?: (...args: any[]) => any;
38
+ onBlur?: (...args: any[]) => any;
39
+ onChange?: (...args: any[]) => any;
40
+ onInput?: (...args: any[]) => any;
41
+ onSelect?: (...args: any[]) => any;
42
+ key?: string | number | symbol;
43
+ ref?: import("vue").VNodeRef;
44
+ ref_for?: boolean;
45
+ ref_key?: string;
46
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void)[];
51
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
+ [key: string]: any;
55
+ }>) => void)[];
56
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
+ [key: string]: any;
58
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
+ [key: string]: any;
60
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
+ [key: string]: any;
62
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
+ [key: string]: any;
64
+ }>) => void)[];
65
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
66
+ [key: string]: any;
67
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
68
+ [key: string]: any;
69
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
70
+ [key: string]: any;
71
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
72
+ [key: string]: any;
73
+ }>) => void)[];
74
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
75
+ [key: string]: any;
76
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
77
+ [key: string]: any;
78
+ }>) => void)[];
79
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
80
+ [key: string]: any;
81
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
82
+ [key: string]: any;
83
+ }>) => void)[];
84
+ "onUpdate:modelValue"?: (...args: any[]) => any;
85
+ onRemove?: (...args: any[]) => any;
86
+ readonly createTagValidator?: (tag: any) => boolean;
87
+ readonly filterCallback?: (value: string, searchKey: string | string[], list: any[]) => any[];
88
+ readonly tagTpl?: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
89
  [key: string]: any;
34
90
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
91
  [key: string]: any;
36
92
  }>;
37
- tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
+ readonly tpl?: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
94
  [key: string]: any;
39
95
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
96
  [key: string]: any;
41
97
  }>;
42
- pasteFn: (value: string) => any[];
43
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
44
- modelValue: import("vue-types").VueTypeDef<string[]> & {
45
- default: () => string[];
46
- };
47
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
48
- default: string;
49
- } & {
50
- default: string;
51
- };
52
- list: import("vue-types").VueTypeDef<{
53
- [key: string]: any;
54
- }[]> & {
55
- default: () => {
56
- [key: string]: any;
57
- }[];
58
- };
59
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
60
- default: boolean;
61
- } & {
62
- default: boolean;
63
- };
64
- tooltipKey: import("vue-types").VueTypeValidableDef<string> & {
65
- default: string;
66
- } & {
67
- default: string;
68
- };
69
- saveKey: import("vue-types").VueTypeValidableDef<string> & {
70
- default: string;
71
- } & {
72
- default: string;
73
- };
74
- displayKey: import("vue-types").VueTypeValidableDef<string> & {
75
- default: string;
76
- } & {
77
- default: string;
78
- };
79
- hasDeleteIcon: import("vue-types").VueTypeValidableDef<boolean> & {
80
- default: boolean;
81
- } & {
82
- default: boolean;
83
- };
84
- clearable: import("vue-types").VueTypeValidableDef<boolean> & {
85
- default: boolean;
86
- } & {
87
- default: boolean;
88
- };
89
- trigger: import("vue-types").VueTypeDef<string> & {
90
- default: string;
91
- };
92
- searchKey: import("vue-types").VueTypeDef<string | string[]> & {
93
- default: string | (() => string[]);
94
- };
95
- useGroup: import("vue-types").VueTypeValidableDef<boolean> & {
96
- default: boolean;
97
- } & {
98
- default: boolean;
99
- };
100
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
101
- default: boolean;
102
- } & {
103
- default: boolean;
104
- };
105
- maxData: import("vue-types").VueTypeValidableDef<number> & {
106
- default: number;
107
- } & {
108
- default: number;
109
- };
110
- maxResult: import("vue-types").VueTypeValidableDef<number> & {
111
- default: number;
112
- } & {
113
- default: number;
114
- };
115
- contentMaxHeight: import("vue-types").VueTypeValidableDef<number> & {
116
- default: number;
117
- } & {
118
- default: number;
119
- };
120
- contentWidth: import("vue-types").VueTypeValidableDef<number> & {
121
- default: number;
122
- } & {
123
- default: number;
124
- };
125
- separator: import("vue-types").VueTypeValidableDef<string> & {
126
- default: string;
127
- } & {
128
- default: string;
129
- };
130
- allowNextFocus: import("vue-types").VueTypeValidableDef<boolean> & {
131
- default: boolean;
132
- } & {
133
- default: boolean;
134
- };
135
- allowAutoMatch: import("vue-types").VueTypeValidableDef<boolean> & {
136
- default: boolean;
137
- } & {
138
- default: boolean;
139
- };
140
- showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
141
- default: boolean;
142
- } & {
143
- default: boolean;
144
- };
145
- leftSpace: import("vue-types").VueTypeValidableDef<number> & {
146
- default: number;
147
- } & {
148
- default: number;
149
- };
150
- createTagValidator: {
151
- type: import("vue").PropType<(tag: any) => boolean>;
152
- default: any;
153
- };
154
- filterCallback: {
155
- type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
156
- default: any;
157
- };
158
- tagTpl: {
159
- type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
160
- [key: string]: any;
161
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
162
- [key: string]: any;
163
- }>>;
164
- default: any;
165
- };
166
- tpl: {
167
- type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
168
- [key: string]: any;
169
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
170
- [key: string]: any;
171
- }>>;
172
- default: any;
173
- };
174
- pasteFn: {
175
- type: import("vue").PropType<(value: string) => any[]>;
176
- default: any;
177
- };
178
- }>> & {
179
- onBlur?: (...args: any[]) => any;
180
- onChange?: (...args: any[]) => any;
181
- onSelect?: (...args: any[]) => any;
182
- "onUpdate:modelValue"?: (...args: any[]) => any;
183
- onRemove?: (...args: any[]) => any;
98
+ readonly pasteFn?: (value: string) => any[];
184
99
  onRemoveAll?: (...args: any[]) => any;
185
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "trigger" | "disabled" | "placeholder" | "list" | "separator" | "clearable" | "showClearOnlyHover" | "modelValue" | "allowCreate" | "searchKey" | "displayKey" | "tooltipKey" | "saveKey" | "hasDeleteIcon" | "useGroup" | "maxData" | "maxResult" | "contentMaxHeight" | "contentWidth" | "allowNextFocus" | "allowAutoMatch" | "leftSpace" | "createTagValidator" | "filterCallback" | "tagTpl" | "tpl" | "pasteFn">;
100
+ };
186
101
  $attrs: {
187
102
  [x: string]: unknown;
188
103
  };
@@ -190,11 +105,11 @@ declare const TagInput: {
190
105
  [x: string]: unknown;
191
106
  };
192
107
  $slots: Readonly<{
193
- [name: string]: import("vue").Slot;
108
+ [name: string]: import("vue").Slot<any>;
194
109
  }>;
195
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
196
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
197
- $emit: (event: "select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll", ...args: any[]) => void;
110
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
111
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
112
+ $emit: (event: "select" | "input" | "blur" | "change" | "focus" | "update:modelValue" | "remove" | "removeAll", ...args: any[]) => void;
198
113
  $el: any;
199
114
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
200
115
  modelValue: import("vue-types").VueTypeDef<string[]> & {
@@ -242,8 +157,8 @@ declare const TagInput: {
242
157
  } & {
243
158
  default: boolean;
244
159
  };
245
- trigger: import("vue-types").VueTypeDef<string> & {
246
- default: string;
160
+ trigger: import("vue-types").VueTypeDef<"search" | "focus"> & {
161
+ default: "search" | "focus";
247
162
  };
248
163
  searchKey: import("vue-types").VueTypeDef<string | string[]> & {
249
164
  default: string | (() => string[]);
@@ -298,6 +213,11 @@ declare const TagInput: {
298
213
  } & {
299
214
  default: boolean;
300
215
  };
216
+ isAsyncList: import("vue-types").VueTypeValidableDef<boolean> & {
217
+ default: boolean;
218
+ } & {
219
+ default: boolean;
220
+ };
301
221
  leftSpace: import("vue-types").VueTypeValidableDef<number> & {
302
222
  default: number;
303
223
  } & {
@@ -305,11 +225,9 @@ declare const TagInput: {
305
225
  };
306
226
  createTagValidator: {
307
227
  type: import("vue").PropType<(tag: any) => boolean>;
308
- default: any;
309
228
  };
310
229
  filterCallback: {
311
230
  type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
312
- default: any;
313
231
  };
314
232
  tagTpl: {
315
233
  type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -317,7 +235,6 @@ declare const TagInput: {
317
235
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
318
236
  [key: string]: any;
319
237
  }>>;
320
- default: any;
321
238
  };
322
239
  tpl: {
323
240
  type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -325,15 +242,148 @@ declare const TagInput: {
325
242
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
326
243
  [key: string]: any;
327
244
  }>>;
328
- default: any;
329
245
  };
330
246
  pasteFn: {
331
247
  type: import("vue").PropType<(value: string) => any[]>;
332
- default: any;
248
+ };
249
+ withValidate: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ popoverProps: {
254
+ type: import("vue").PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
255
+ onAfterHidden: FunctionConstructor;
256
+ onAfterShow: FunctionConstructor;
257
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
258
+ default: boolean;
259
+ } & {
260
+ default: boolean;
261
+ };
262
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
263
+ default: boolean;
264
+ } & {
265
+ default: boolean;
266
+ };
267
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
268
+ default: boolean;
269
+ } & {
270
+ default: boolean;
271
+ };
272
+ width: import("vue-types").VueTypeDef<string | number> & {
273
+ default: string | number;
274
+ };
275
+ height: import("vue-types").VueTypeDef<string | number> & {
276
+ default: string | number;
277
+ };
278
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
279
+ default: string | number;
280
+ };
281
+ content: import("vue-types").VueTypeDef<string | number> & {
282
+ default: string | number;
283
+ };
284
+ allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
285
+ default: boolean;
286
+ } & {
287
+ default: boolean;
288
+ };
289
+ placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
290
+ default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
291
+ };
292
+ theme: import("vue-types").VueTypeValidableDef<string> & {
293
+ default: string;
294
+ } & {
295
+ default: string;
296
+ };
297
+ trigger: import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
298
+ default: "click" | "hover" | "manual";
299
+ };
300
+ renderType: import("vue-types").VueTypeDef<"auto" | "shown"> & {
301
+ default: "auto" | "shown";
302
+ };
303
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
304
+ default: boolean;
305
+ } & {
306
+ default: boolean;
307
+ };
308
+ padding: import("vue-types").VueTypeValidableDef<number> & {
309
+ default: number;
310
+ } & {
311
+ default: number;
312
+ };
313
+ offset: import("vue-types").VueTypeDef<number | {
314
+ mainAxis?: number;
315
+ crossAxis?: number;
316
+ alignmentAxis?: number;
317
+ }> & {
318
+ default: number | (() => {
319
+ mainAxis?: number;
320
+ crossAxis?: number;
321
+ alignmentAxis?: number;
322
+ });
323
+ };
324
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
325
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
326
+ default: number;
327
+ } & {
328
+ default: number;
329
+ };
330
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
331
+ default: boolean;
332
+ } & {
333
+ default: boolean;
334
+ };
335
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
336
+ default: boolean;
337
+ } & {
338
+ default: boolean;
339
+ };
340
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
341
+ default: boolean;
342
+ } & {
343
+ default: boolean;
344
+ };
345
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
346
+ default: boolean;
347
+ } & {
348
+ default: boolean;
349
+ };
350
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
351
+ default: boolean;
352
+ } & {
353
+ default: boolean;
354
+ };
355
+ reference: import("vue-types").VueTypeValidableDef<any> & {
356
+ default: any;
357
+ };
358
+ modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
359
+ default: () => unknown[];
360
+ } & {
361
+ default: () => unknown[];
362
+ };
363
+ popoverDelay: import("vue-types").VueTypeDef<number | number[]> & {
364
+ default: number | (() => number[]);
365
+ };
366
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
367
+ default: string;
368
+ } & {
369
+ default: string;
370
+ };
371
+ }>>>>;
372
+ default: () => {};
373
+ };
374
+ collapseTags: {
375
+ type: BooleanConstructor;
376
+ default: boolean;
377
+ };
378
+ tagOverflowTips: {
379
+ type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
380
+ default: () => {};
333
381
  };
334
382
  }>> & {
383
+ onFocus?: (...args: any[]) => any;
335
384
  onBlur?: (...args: any[]) => any;
336
385
  onChange?: (...args: any[]) => any;
386
+ onInput?: (...args: any[]) => any;
337
387
  onSelect?: (...args: any[]) => any;
338
388
  "onUpdate:modelValue"?: (...args: any[]) => any;
339
389
  onRemove?: (...args: any[]) => any;
@@ -341,8 +391,8 @@ declare const TagInput: {
341
391
  }, {
342
392
  isShowPlaceholder: import("vue").ComputedRef<boolean>;
343
393
  isShowClear: import("vue").ComputedRef<boolean>;
394
+ placeholderText: import("vue").ComputedRef<string>;
344
395
  curInputValue: import("vue").Ref<string>;
345
- formatList: any[];
346
396
  renderList: import("vue").ComputedRef<any[]>;
347
397
  showTagClose: import("vue").ComputedRef<boolean>;
348
398
  tagInputRef: any;
@@ -350,16 +400,16 @@ declare const TagInput: {
350
400
  tagListRef: any;
351
401
  tagInputItemRef: any;
352
402
  selectorListRef: any;
353
- popoverRef: any;
354
403
  triggerClass: import("vue").ComputedRef<{
355
- 'bk-tag-input-trigger': boolean;
404
+ [x: string]: boolean;
356
405
  active: boolean;
357
406
  disabled: boolean;
358
407
  }>;
408
+ overflowTagIndex: import("vue").Ref<number>;
409
+ localCollapseTags: import("vue").ComputedRef<boolean>;
359
410
  focusInputTrigger: (e?: MouseEvent) => void;
360
411
  activeClass: (data: any, index: number) => {
361
- 'bk-selector-actived': boolean;
362
- 'bk-selector-selected': boolean;
412
+ [x: string]: boolean;
363
413
  };
364
414
  handleInput: (e?: Event) => void;
365
415
  handleFocus: () => void;
@@ -370,6 +420,7 @@ declare const TagInput: {
370
420
  tagFocus: (e: MouseEvent) => void;
371
421
  handleKeydown: (e: KeyboardEvent) => void;
372
422
  handlePaste: (e: ClipboardEvent) => boolean;
423
+ resolveClassName: (cls: string) => string;
373
424
  curPage: import("vue").Ref<number>;
374
425
  totalSize: import("vue").Ref<number>;
375
426
  totalPage: import("vue").Ref<number>;
@@ -387,29 +438,29 @@ declare const TagInput: {
387
438
  popoverProps: {
388
439
  isShow: boolean;
389
440
  width: number;
390
- modifiers: {
391
- name: string;
392
- options: {
393
- offset: number[];
394
- };
395
- }[];
441
+ offset: {
442
+ mainAxis: number;
443
+ crossAxis: number;
444
+ };
396
445
  };
397
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll")[], string, {
398
- trigger: string;
446
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "input" | "blur" | "change" | "focus" | "update:modelValue" | "remove" | "removeAll")[], string, {
399
447
  disabled: boolean;
448
+ trigger: "search" | "focus";
449
+ separator: string;
400
450
  placeholder: string;
401
451
  list: {
402
452
  [key: string]: any;
403
453
  }[];
404
- separator: string;
405
454
  clearable: boolean;
406
455
  showClearOnlyHover: boolean;
407
456
  modelValue: string[];
408
- allowCreate: boolean;
457
+ withValidate: boolean;
409
458
  searchKey: string | string[];
410
- displayKey: string;
459
+ allowCreate: boolean;
460
+ collapseTags: boolean;
411
461
  tooltipKey: string;
412
462
  saveKey: string;
463
+ displayKey: string;
413
464
  hasDeleteIcon: boolean;
414
465
  useGroup: boolean;
415
466
  maxData: number;
@@ -418,21 +469,11 @@ declare const TagInput: {
418
469
  contentWidth: number;
419
470
  allowNextFocus: boolean;
420
471
  allowAutoMatch: boolean;
472
+ isAsyncList: boolean;
421
473
  leftSpace: number;
422
- createTagValidator: (tag: any) => boolean;
423
- filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
424
- tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
425
- [key: string]: any;
426
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
427
- [key: string]: any;
428
- }>;
429
- tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
430
- [key: string]: any;
431
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
432
- [key: string]: any;
433
- }>;
434
- pasteFn: (value: string) => any[];
435
- }> & {
474
+ popoverProps: {};
475
+ tagOverflowTips: {};
476
+ }, {}, string, {}> & {
436
477
  beforeCreate?: (() => void) | (() => void)[];
437
478
  created?: (() => void) | (() => void)[];
438
479
  beforeMount?: (() => void) | (() => void)[];
@@ -447,11 +488,11 @@ declare const TagInput: {
447
488
  unmounted?: (() => void) | (() => void)[];
448
489
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
449
490
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
450
- 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)[];
491
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
451
492
  };
452
493
  $forceUpdate: () => void;
453
494
  $nextTick: typeof import("vue").nextTick;
454
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
495
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
455
496
  } & Readonly<import("vue").ExtractPropTypes<{
456
497
  modelValue: import("vue-types").VueTypeDef<string[]> & {
457
498
  default: () => string[];
@@ -498,8 +539,8 @@ declare const TagInput: {
498
539
  } & {
499
540
  default: boolean;
500
541
  };
501
- trigger: import("vue-types").VueTypeDef<string> & {
502
- default: string;
542
+ trigger: import("vue-types").VueTypeDef<"search" | "focus"> & {
543
+ default: "search" | "focus";
503
544
  };
504
545
  searchKey: import("vue-types").VueTypeDef<string | string[]> & {
505
546
  default: string | (() => string[]);
@@ -554,6 +595,11 @@ declare const TagInput: {
554
595
  } & {
555
596
  default: boolean;
556
597
  };
598
+ isAsyncList: import("vue-types").VueTypeValidableDef<boolean> & {
599
+ default: boolean;
600
+ } & {
601
+ default: boolean;
602
+ };
557
603
  leftSpace: import("vue-types").VueTypeValidableDef<number> & {
558
604
  default: number;
559
605
  } & {
@@ -561,11 +607,9 @@ declare const TagInput: {
561
607
  };
562
608
  createTagValidator: {
563
609
  type: import("vue").PropType<(tag: any) => boolean>;
564
- default: any;
565
610
  };
566
611
  filterCallback: {
567
612
  type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
568
- default: any;
569
613
  };
570
614
  tagTpl: {
571
615
  type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -573,7 +617,6 @@ declare const TagInput: {
573
617
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
574
618
  [key: string]: any;
575
619
  }>>;
576
- default: any;
577
620
  };
578
621
  tpl: {
579
622
  type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -581,15 +624,148 @@ declare const TagInput: {
581
624
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
582
625
  [key: string]: any;
583
626
  }>>;
584
- default: any;
585
627
  };
586
628
  pasteFn: {
587
629
  type: import("vue").PropType<(value: string) => any[]>;
588
- default: any;
630
+ };
631
+ withValidate: {
632
+ type: BooleanConstructor;
633
+ default: boolean;
634
+ };
635
+ popoverProps: {
636
+ type: import("vue").PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
637
+ onAfterHidden: FunctionConstructor;
638
+ onAfterShow: FunctionConstructor;
639
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
640
+ default: boolean;
641
+ } & {
642
+ default: boolean;
643
+ };
644
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
645
+ default: boolean;
646
+ } & {
647
+ default: boolean;
648
+ };
649
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
650
+ default: boolean;
651
+ } & {
652
+ default: boolean;
653
+ };
654
+ width: import("vue-types").VueTypeDef<string | number> & {
655
+ default: string | number;
656
+ };
657
+ height: import("vue-types").VueTypeDef<string | number> & {
658
+ default: string | number;
659
+ };
660
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
661
+ default: string | number;
662
+ };
663
+ content: import("vue-types").VueTypeDef<string | number> & {
664
+ default: string | number;
665
+ };
666
+ allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
667
+ default: boolean;
668
+ } & {
669
+ default: boolean;
670
+ };
671
+ placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
672
+ default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
673
+ };
674
+ theme: import("vue-types").VueTypeValidableDef<string> & {
675
+ default: string;
676
+ } & {
677
+ default: string;
678
+ };
679
+ trigger: import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
680
+ default: "click" | "hover" | "manual";
681
+ };
682
+ renderType: import("vue-types").VueTypeDef<"auto" | "shown"> & {
683
+ default: "auto" | "shown";
684
+ };
685
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
686
+ default: boolean;
687
+ } & {
688
+ default: boolean;
689
+ };
690
+ padding: import("vue-types").VueTypeValidableDef<number> & {
691
+ default: number;
692
+ } & {
693
+ default: number;
694
+ };
695
+ offset: import("vue-types").VueTypeDef<number | {
696
+ mainAxis?: number;
697
+ crossAxis?: number;
698
+ alignmentAxis?: number;
699
+ }> & {
700
+ default: number | (() => {
701
+ mainAxis?: number;
702
+ crossAxis?: number;
703
+ alignmentAxis?: number;
704
+ });
705
+ };
706
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
707
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
708
+ default: number;
709
+ } & {
710
+ default: number;
711
+ };
712
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
713
+ default: boolean;
714
+ } & {
715
+ default: boolean;
716
+ };
717
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
718
+ default: boolean;
719
+ } & {
720
+ default: boolean;
721
+ };
722
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
723
+ default: boolean;
724
+ } & {
725
+ default: boolean;
726
+ };
727
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
728
+ default: boolean;
729
+ } & {
730
+ default: boolean;
731
+ };
732
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
733
+ default: boolean;
734
+ } & {
735
+ default: boolean;
736
+ };
737
+ reference: import("vue-types").VueTypeValidableDef<any> & {
738
+ default: any;
739
+ };
740
+ modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
741
+ default: () => unknown[];
742
+ } & {
743
+ default: () => unknown[];
744
+ };
745
+ popoverDelay: import("vue-types").VueTypeDef<number | number[]> & {
746
+ default: number | (() => number[]);
747
+ };
748
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
749
+ default: string;
750
+ } & {
751
+ default: string;
752
+ };
753
+ }>>>>;
754
+ default: () => {};
755
+ };
756
+ collapseTags: {
757
+ type: BooleanConstructor;
758
+ default: boolean;
759
+ };
760
+ tagOverflowTips: {
761
+ type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
762
+ default: () => {};
589
763
  };
590
764
  }>> & {
765
+ onFocus?: (...args: any[]) => any;
591
766
  onBlur?: (...args: any[]) => any;
592
767
  onChange?: (...args: any[]) => any;
768
+ onInput?: (...args: any[]) => any;
593
769
  onSelect?: (...args: any[]) => any;
594
770
  "onUpdate:modelValue"?: (...args: any[]) => any;
595
771
  onRemove?: (...args: any[]) => any;
@@ -597,8 +773,8 @@ declare const TagInput: {
597
773
  } & import("vue").ShallowUnwrapRef<{
598
774
  isShowPlaceholder: import("vue").ComputedRef<boolean>;
599
775
  isShowClear: import("vue").ComputedRef<boolean>;
776
+ placeholderText: import("vue").ComputedRef<string>;
600
777
  curInputValue: import("vue").Ref<string>;
601
- formatList: any[];
602
778
  renderList: import("vue").ComputedRef<any[]>;
603
779
  showTagClose: import("vue").ComputedRef<boolean>;
604
780
  tagInputRef: any;
@@ -606,16 +782,16 @@ declare const TagInput: {
606
782
  tagListRef: any;
607
783
  tagInputItemRef: any;
608
784
  selectorListRef: any;
609
- popoverRef: any;
610
785
  triggerClass: import("vue").ComputedRef<{
611
- 'bk-tag-input-trigger': boolean;
786
+ [x: string]: boolean;
612
787
  active: boolean;
613
788
  disabled: boolean;
614
789
  }>;
790
+ overflowTagIndex: import("vue").Ref<number>;
791
+ localCollapseTags: import("vue").ComputedRef<boolean>;
615
792
  focusInputTrigger: (e?: MouseEvent) => void;
616
793
  activeClass: (data: any, index: number) => {
617
- 'bk-selector-actived': boolean;
618
- 'bk-selector-selected': boolean;
794
+ [x: string]: boolean;
619
795
  };
620
796
  handleInput: (e?: Event) => void;
621
797
  handleFocus: () => void;
@@ -626,6 +802,7 @@ declare const TagInput: {
626
802
  tagFocus: (e: MouseEvent) => void;
627
803
  handleKeydown: (e: KeyboardEvent) => void;
628
804
  handlePaste: (e: ClipboardEvent) => boolean;
805
+ resolveClassName: (cls: string) => string;
629
806
  curPage: import("vue").Ref<number>;
630
807
  totalSize: import("vue").Ref<number>;
631
808
  totalPage: import("vue").Ref<number>;
@@ -643,14 +820,12 @@ declare const TagInput: {
643
820
  popoverProps: {
644
821
  isShow: boolean;
645
822
  width: number;
646
- modifiers: {
647
- name: string;
648
- options: {
649
- offset: number[];
650
- };
651
- }[];
823
+ offset: {
824
+ mainAxis: number;
825
+ crossAxis: number;
826
+ };
652
827
  };
653
- }> & {} & {} & import("vue").ComponentCustomProperties;
828
+ }> & {} & import("vue").ComponentCustomProperties & {};
654
829
  __isFragment?: never;
655
830
  __isTeleport?: never;
656
831
  __isSuspense?: never;
@@ -700,8 +875,8 @@ declare const TagInput: {
700
875
  } & {
701
876
  default: boolean;
702
877
  };
703
- trigger: import("vue-types").VueTypeDef<string> & {
704
- default: string;
878
+ trigger: import("vue-types").VueTypeDef<"search" | "focus"> & {
879
+ default: "search" | "focus";
705
880
  };
706
881
  searchKey: import("vue-types").VueTypeDef<string | string[]> & {
707
882
  default: string | (() => string[]);
@@ -756,6 +931,11 @@ declare const TagInput: {
756
931
  } & {
757
932
  default: boolean;
758
933
  };
934
+ isAsyncList: import("vue-types").VueTypeValidableDef<boolean> & {
935
+ default: boolean;
936
+ } & {
937
+ default: boolean;
938
+ };
759
939
  leftSpace: import("vue-types").VueTypeValidableDef<number> & {
760
940
  default: number;
761
941
  } & {
@@ -763,11 +943,9 @@ declare const TagInput: {
763
943
  };
764
944
  createTagValidator: {
765
945
  type: import("vue").PropType<(tag: any) => boolean>;
766
- default: any;
767
946
  };
768
947
  filterCallback: {
769
948
  type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
770
- default: any;
771
949
  };
772
950
  tagTpl: {
773
951
  type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -775,7 +953,6 @@ declare const TagInput: {
775
953
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
776
954
  [key: string]: any;
777
955
  }>>;
778
- default: any;
779
956
  };
780
957
  tpl: {
781
958
  type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -783,15 +960,148 @@ declare const TagInput: {
783
960
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
784
961
  [key: string]: any;
785
962
  }>>;
786
- default: any;
787
963
  };
788
964
  pasteFn: {
789
965
  type: import("vue").PropType<(value: string) => any[]>;
790
- default: any;
966
+ };
967
+ withValidate: {
968
+ type: BooleanConstructor;
969
+ default: boolean;
970
+ };
971
+ popoverProps: {
972
+ type: import("vue").PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
973
+ onAfterHidden: FunctionConstructor;
974
+ onAfterShow: FunctionConstructor;
975
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
976
+ default: boolean;
977
+ } & {
978
+ default: boolean;
979
+ };
980
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
981
+ default: boolean;
982
+ } & {
983
+ default: boolean;
984
+ };
985
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
986
+ default: boolean;
987
+ } & {
988
+ default: boolean;
989
+ };
990
+ width: import("vue-types").VueTypeDef<string | number> & {
991
+ default: string | number;
992
+ };
993
+ height: import("vue-types").VueTypeDef<string | number> & {
994
+ default: string | number;
995
+ };
996
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
997
+ default: string | number;
998
+ };
999
+ content: import("vue-types").VueTypeDef<string | number> & {
1000
+ default: string | number;
1001
+ };
1002
+ allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
1003
+ default: boolean;
1004
+ } & {
1005
+ default: boolean;
1006
+ };
1007
+ placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
1008
+ default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
1009
+ };
1010
+ theme: import("vue-types").VueTypeValidableDef<string> & {
1011
+ default: string;
1012
+ } & {
1013
+ default: string;
1014
+ };
1015
+ trigger: import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
1016
+ default: "click" | "hover" | "manual";
1017
+ };
1018
+ renderType: import("vue-types").VueTypeDef<"auto" | "shown"> & {
1019
+ default: "auto" | "shown";
1020
+ };
1021
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
1022
+ default: boolean;
1023
+ } & {
1024
+ default: boolean;
1025
+ };
1026
+ padding: import("vue-types").VueTypeValidableDef<number> & {
1027
+ default: number;
1028
+ } & {
1029
+ default: number;
1030
+ };
1031
+ offset: import("vue-types").VueTypeDef<number | {
1032
+ mainAxis?: number;
1033
+ crossAxis?: number;
1034
+ alignmentAxis?: number;
1035
+ }> & {
1036
+ default: number | (() => {
1037
+ mainAxis?: number;
1038
+ crossAxis?: number;
1039
+ alignmentAxis?: number;
1040
+ });
1041
+ };
1042
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
1043
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
1044
+ default: number;
1045
+ } & {
1046
+ default: number;
1047
+ };
1048
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
1049
+ default: boolean;
1050
+ } & {
1051
+ default: boolean;
1052
+ };
1053
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
1054
+ default: boolean;
1055
+ } & {
1056
+ default: boolean;
1057
+ };
1058
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
1059
+ default: boolean;
1060
+ } & {
1061
+ default: boolean;
1062
+ };
1063
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
1064
+ default: boolean;
1065
+ } & {
1066
+ default: boolean;
1067
+ };
1068
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
1069
+ default: boolean;
1070
+ } & {
1071
+ default: boolean;
1072
+ };
1073
+ reference: import("vue-types").VueTypeValidableDef<any> & {
1074
+ default: any;
1075
+ };
1076
+ modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
1077
+ default: () => unknown[];
1078
+ } & {
1079
+ default: () => unknown[];
1080
+ };
1081
+ popoverDelay: import("vue-types").VueTypeDef<number | number[]> & {
1082
+ default: number | (() => number[]);
1083
+ };
1084
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
1085
+ default: string;
1086
+ } & {
1087
+ default: string;
1088
+ };
1089
+ }>>>>;
1090
+ default: () => {};
1091
+ };
1092
+ collapseTags: {
1093
+ type: BooleanConstructor;
1094
+ default: boolean;
1095
+ };
1096
+ tagOverflowTips: {
1097
+ type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
1098
+ default: () => {};
791
1099
  };
792
1100
  }>> & {
1101
+ onFocus?: (...args: any[]) => any;
793
1102
  onBlur?: (...args: any[]) => any;
794
1103
  onChange?: (...args: any[]) => any;
1104
+ onInput?: (...args: any[]) => any;
795
1105
  onSelect?: (...args: any[]) => any;
796
1106
  "onUpdate:modelValue"?: (...args: any[]) => any;
797
1107
  onRemove?: (...args: any[]) => any;
@@ -799,8 +1109,8 @@ declare const TagInput: {
799
1109
  }, {
800
1110
  isShowPlaceholder: import("vue").ComputedRef<boolean>;
801
1111
  isShowClear: import("vue").ComputedRef<boolean>;
1112
+ placeholderText: import("vue").ComputedRef<string>;
802
1113
  curInputValue: import("vue").Ref<string>;
803
- formatList: any[];
804
1114
  renderList: import("vue").ComputedRef<any[]>;
805
1115
  showTagClose: import("vue").ComputedRef<boolean>;
806
1116
  tagInputRef: any;
@@ -808,16 +1118,16 @@ declare const TagInput: {
808
1118
  tagListRef: any;
809
1119
  tagInputItemRef: any;
810
1120
  selectorListRef: any;
811
- popoverRef: any;
812
1121
  triggerClass: import("vue").ComputedRef<{
813
- 'bk-tag-input-trigger': boolean;
1122
+ [x: string]: boolean;
814
1123
  active: boolean;
815
1124
  disabled: boolean;
816
1125
  }>;
1126
+ overflowTagIndex: import("vue").Ref<number>;
1127
+ localCollapseTags: import("vue").ComputedRef<boolean>;
817
1128
  focusInputTrigger: (e?: MouseEvent) => void;
818
1129
  activeClass: (data: any, index: number) => {
819
- 'bk-selector-actived': boolean;
820
- 'bk-selector-selected': boolean;
1130
+ [x: string]: boolean;
821
1131
  };
822
1132
  handleInput: (e?: Event) => void;
823
1133
  handleFocus: () => void;
@@ -828,6 +1138,7 @@ declare const TagInput: {
828
1138
  tagFocus: (e: MouseEvent) => void;
829
1139
  handleKeydown: (e: KeyboardEvent) => void;
830
1140
  handlePaste: (e: ClipboardEvent) => boolean;
1141
+ resolveClassName: (cls: string) => string;
831
1142
  curPage: import("vue").Ref<number>;
832
1143
  totalSize: import("vue").Ref<number>;
833
1144
  totalPage: import("vue").Ref<number>;
@@ -845,29 +1156,29 @@ declare const TagInput: {
845
1156
  popoverProps: {
846
1157
  isShow: boolean;
847
1158
  width: number;
848
- modifiers: {
849
- name: string;
850
- options: {
851
- offset: number[];
852
- };
853
- }[];
1159
+ offset: {
1160
+ mainAxis: number;
1161
+ crossAxis: number;
1162
+ };
854
1163
  };
855
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll")[], "select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll", {
856
- trigger: string;
1164
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "input" | "blur" | "change" | "focus" | "update:modelValue" | "remove" | "removeAll")[], "select" | "input" | "blur" | "change" | "focus" | "update:modelValue" | "remove" | "removeAll", {
857
1165
  disabled: boolean;
1166
+ trigger: "search" | "focus";
1167
+ separator: string;
858
1168
  placeholder: string;
859
1169
  list: {
860
1170
  [key: string]: any;
861
1171
  }[];
862
- separator: string;
863
1172
  clearable: boolean;
864
1173
  showClearOnlyHover: boolean;
865
1174
  modelValue: string[];
866
- allowCreate: boolean;
1175
+ withValidate: boolean;
867
1176
  searchKey: string | string[];
868
- displayKey: string;
1177
+ allowCreate: boolean;
1178
+ collapseTags: boolean;
869
1179
  tooltipKey: string;
870
1180
  saveKey: string;
1181
+ displayKey: string;
871
1182
  hasDeleteIcon: boolean;
872
1183
  useGroup: boolean;
873
1184
  maxData: number;
@@ -876,19 +1187,9 @@ declare const TagInput: {
876
1187
  contentWidth: number;
877
1188
  allowNextFocus: boolean;
878
1189
  allowAutoMatch: boolean;
1190
+ isAsyncList: boolean;
879
1191
  leftSpace: number;
880
- createTagValidator: (tag: any) => boolean;
881
- filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
882
- tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
883
- [key: string]: any;
884
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
885
- [key: string]: any;
886
- }>;
887
- tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
888
- [key: string]: any;
889
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
890
- [key: string]: any;
891
- }>;
892
- pasteFn: (value: string) => any[];
893
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
1192
+ popoverProps: {};
1193
+ tagOverflowTips: {};
1194
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
894
1195
  export default TagInput;