bkui-vue 2.0.1-beta.10 → 2.0.1-beta.101

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 (396) hide show
  1. package/README.md +15 -0
  2. package/dist/index.cjs.js +73 -73
  3. package/dist/index.esm.js +28545 -27734
  4. package/dist/index.umd.js +73 -73
  5. package/dist/style.css +1 -1
  6. package/dist/style.variable.css +1 -1
  7. package/lib/affix/affix.css +130 -0
  8. package/lib/affix/affix.variable.css +262 -1
  9. package/lib/alert/alert.css +133 -3
  10. package/lib/alert/alert.d.ts +5 -12
  11. package/lib/alert/alert.variable.css +262 -1
  12. package/lib/alert/index.d.ts +11 -26
  13. package/lib/alert/index.js +6 -6
  14. package/lib/backtop/backtop.css +133 -3
  15. package/lib/backtop/backtop.variable.css +395 -4
  16. package/lib/badge/badge.css +156 -26
  17. package/lib/badge/badge.variable.css +262 -1
  18. package/lib/breadcrumb/breadcrumb.css +135 -5
  19. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  20. package/lib/button/button.css +417 -243
  21. package/lib/button/button.d.ts +7 -7
  22. package/lib/button/button.less +74 -71
  23. package/lib/button/button.variable.css +450 -145
  24. package/lib/button/index.d.ts +11 -11
  25. package/lib/button/index.js +0 -1
  26. package/lib/card/card.css +134 -4
  27. package/lib/card/card.variable.css +396 -5
  28. package/lib/cascader/cascader-panel.d.ts +5 -0
  29. package/lib/cascader/cascader.css +153 -23
  30. package/lib/cascader/cascader.d.ts +4 -0
  31. package/lib/cascader/cascader.variable.css +415 -24
  32. package/lib/cascader/index.d.ts +1 -0
  33. package/lib/cascader/index.js +79 -8
  34. package/lib/checkbox/checkbox-group.d.ts +0 -16
  35. package/lib/checkbox/checkbox.css +147 -9
  36. package/lib/checkbox/checkbox.d.ts +39 -7
  37. package/lib/checkbox/checkbox.less +12 -0
  38. package/lib/checkbox/checkbox.variable.css +270 -1
  39. package/lib/checkbox/index.d.ts +57 -22
  40. package/lib/checkbox/index.js +18 -5
  41. package/lib/code-diff/code-diff.css +130 -0
  42. package/lib/code-diff/code-diff.variable.css +262 -1
  43. package/lib/collapse/collapse-panel.d.ts +5 -5
  44. package/lib/collapse/collapse.css +131 -1
  45. package/lib/collapse/collapse.variable.css +262 -1
  46. package/lib/collapse/index.d.ts +5 -5
  47. package/lib/collapse/index.js +2 -0
  48. package/lib/collapse/props.d.ts +2 -2
  49. package/lib/collapse-transition/collapse-transition.css +130 -0
  50. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  51. package/lib/color-picker/color-picker.css +130 -0
  52. package/lib/color-picker/color-picker.d.ts +16 -0
  53. package/lib/color-picker/color-picker.variable.css +262 -1
  54. package/lib/color-picker/index.d.ts +23 -0
  55. package/lib/color-picker/index.js +8 -1
  56. package/lib/components.d.ts +0 -2
  57. package/lib/components.js +0 -2
  58. package/lib/config-provider/config-provider.css +130 -0
  59. package/lib/config-provider/config-provider.variable.css +262 -1
  60. package/lib/container/container.css +130 -0
  61. package/lib/container/container.variable.css +392 -1
  62. package/lib/container/index.js +0 -1
  63. package/lib/date-picker/date-picker.css +147 -17
  64. package/lib/date-picker/date-picker.d.ts +3 -11
  65. package/lib/date-picker/date-picker.variable.css +262 -1
  66. package/lib/date-picker/index.d.ts +10 -24
  67. package/lib/date-picker/index.js +70 -32
  68. package/lib/date-picker/panel/date-range.d.ts +4 -4
  69. package/lib/date-picker/panel/time-range.d.ts +0 -9
  70. package/lib/date-picker/panel/time.d.ts +1 -10
  71. package/lib/date-picker/props.d.ts +0 -4
  72. package/lib/date-picker/time-picker.d.ts +3 -10
  73. package/lib/dialog/dialog.css +138 -8
  74. package/lib/dialog/dialog.d.ts +34 -18
  75. package/lib/dialog/dialog.variable.css +400 -9
  76. package/lib/dialog/index.d.ts +72 -38
  77. package/lib/dialog/index.js +3 -1
  78. package/lib/dialog/props.d.ts +15 -8
  79. package/lib/directives/index.d.ts +1 -0
  80. package/lib/directives/index.js +32 -10
  81. package/lib/dist.index.js +2 -4
  82. package/lib/divider/divider.css +133 -3
  83. package/lib/divider/divider.variable.css +262 -1
  84. package/lib/dropdown/dropdown-item.d.ts +1 -1
  85. package/lib/dropdown/dropdown-menu.d.ts +1 -1
  86. package/lib/dropdown/dropdown.css +130 -0
  87. package/lib/dropdown/dropdown.d.ts +1 -1
  88. package/lib/dropdown/dropdown.variable.css +392 -1
  89. package/lib/dropdown/index.d.ts +4 -4
  90. package/lib/dropdown/index.js +3 -1
  91. package/lib/exception/exception.css +130 -0
  92. package/lib/exception/exception.variable.css +262 -1
  93. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  94. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  95. package/lib/form/form-item.d.ts +7 -19
  96. package/lib/form/form.css +130 -0
  97. package/lib/form/form.variable.css +262 -1
  98. package/lib/form/index.d.ts +7 -14
  99. package/lib/form/index.js +8 -7
  100. package/lib/image/image-viewer.css +130 -0
  101. package/lib/image/image-viewer.variable.css +262 -1
  102. package/lib/image/image.css +130 -0
  103. package/lib/image/image.variable.css +392 -1
  104. package/lib/image/index.js +0 -1
  105. package/lib/index.d.ts +6 -0
  106. package/lib/index.js +2 -26
  107. package/lib/info-box/index.js +4 -5
  108. package/lib/info-box/info-box.css +134 -4
  109. package/lib/info-box/info-box.variable.css +262 -1
  110. package/lib/input/index.js +47 -500
  111. package/lib/input/input.css +225 -73
  112. package/lib/input/input.less +30 -1
  113. package/lib/input/input.variable.css +487 -74
  114. package/lib/link/index.d.ts +11 -11
  115. package/lib/link/link.css +146 -16
  116. package/lib/link/link.d.ts +5 -5
  117. package/lib/link/link.variable.css +262 -1
  118. package/lib/loading/index.d.ts +12 -11
  119. package/lib/loading/index.js +4 -2
  120. package/lib/loading/loading.css +146 -16
  121. package/lib/loading/loading.d.ts +5 -5
  122. package/lib/loading/loading.variable.css +408 -17
  123. package/lib/menu/index.d.ts +19 -0
  124. package/lib/menu/index.js +25 -4
  125. package/lib/menu/menu-group.d.ts +9 -0
  126. package/lib/menu/menu-item.d.ts +9 -0
  127. package/lib/menu/menu.css +176 -34
  128. package/lib/menu/menu.less +33 -18
  129. package/lib/menu/menu.variable.css +438 -35
  130. package/lib/menu/submenu.css +130 -0
  131. package/lib/menu/submenu.d.ts +1 -0
  132. package/lib/menu/submenu.variable.css +262 -1
  133. package/lib/message/message.css +153 -22
  134. package/lib/message/message.less +3 -2
  135. package/lib/message/message.variable.css +264 -2
  136. package/lib/message/messageConstructor.d.ts +5 -5
  137. package/lib/modal/index.d.ts +59 -18
  138. package/lib/modal/index.js +44 -23
  139. package/lib/modal/modal.css +134 -4
  140. package/lib/modal/modal.d.ts +23 -7
  141. package/lib/modal/modal.variable.css +396 -5
  142. package/lib/modal/props.mixin.d.ts +10 -3
  143. package/lib/navigation/navigation.css +132 -2
  144. package/lib/navigation/navigation.variable.css +262 -1
  145. package/lib/notify/notify.css +137 -7
  146. package/lib/notify/notify.variable.css +262 -1
  147. package/lib/notify/notifyConstructor.d.ts +5 -5
  148. package/lib/overflow-title/components/overflow-title.d.ts +26 -7
  149. package/lib/overflow-title/index.d.ts +52 -15
  150. package/lib/overflow-title/index.js +15 -8
  151. package/lib/overflow-title/props.d.ts +13 -3
  152. package/lib/pagination/index.d.ts +0 -19
  153. package/lib/pagination/index.js +62 -9
  154. package/lib/pagination/pagination.css +139 -9
  155. package/lib/pagination/pagination.d.ts +0 -13
  156. package/lib/pagination/pagination.less +14 -13
  157. package/lib/pagination/pagination.variable.css +270 -9
  158. package/lib/plugin-popover/index.js +17410 -56
  159. package/lib/pop-confirm/index.d.ts +19 -43
  160. package/lib/pop-confirm/index.js +34 -27
  161. package/lib/pop-confirm/pop-confirm.css +133 -1
  162. package/lib/pop-confirm/pop-confirm.d.ts +9 -19
  163. package/lib/pop-confirm/pop-confirm.less +3 -1
  164. package/lib/pop-confirm/pop-confirm.variable.css +265 -2
  165. package/lib/pop-confirm/props.d.ts +6 -9
  166. package/lib/popover/content.d.ts +5 -2
  167. package/lib/popover/index.d.ts +73 -3
  168. package/lib/popover/index.js +17410 -56
  169. package/lib/popover/popover.css +130 -0
  170. package/lib/popover/popover.d.ts +33 -1
  171. package/lib/popover/popover.variable.css +262 -1
  172. package/lib/popover/props.d.ts +16 -0
  173. package/lib/popover/use-floating.d.ts +2 -2
  174. package/lib/popover/use-popover-init.d.ts +3 -1
  175. package/lib/popover/utils.d.ts +2 -0
  176. package/lib/preset.d.ts +0 -1
  177. package/lib/preset.js +0 -1
  178. package/lib/process/process.css +143 -13
  179. package/lib/process/process.variable.css +262 -1
  180. package/lib/progress/index.d.ts +11 -11
  181. package/lib/progress/index.js +0 -1
  182. package/lib/progress/progress.css +134 -4
  183. package/lib/progress/progress.d.ts +7 -7
  184. package/lib/progress/progress.variable.css +396 -5
  185. package/lib/radio/index.d.ts +21 -21
  186. package/lib/radio/index.js +18 -7
  187. package/lib/radio/radio-button.d.ts +7 -7
  188. package/lib/radio/radio-group.d.ts +7 -7
  189. package/lib/radio/radio.css +172 -42
  190. package/lib/radio/radio.d.ts +7 -7
  191. package/lib/radio/radio.variable.css +262 -1
  192. package/lib/rate/rate.css +130 -0
  193. package/lib/rate/rate.variable.css +262 -1
  194. package/lib/resize-layout/index.d.ts +23 -0
  195. package/lib/resize-layout/index.js +26 -6
  196. package/lib/resize-layout/resize-layout.css +130 -0
  197. package/lib/resize-layout/resize-layout.d.ts +11 -0
  198. package/lib/resize-layout/resize-layout.variable.css +262 -1
  199. package/lib/scrollbar/css/scrollbar.css +239 -0
  200. package/lib/scrollbar/css/scrollbar.less +139 -0
  201. package/lib/scrollbar/css/scrollbar.variable.css +499 -0
  202. package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
  203. package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
  204. package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
  205. package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
  206. package/lib/scrollbar/handlers/touch.d.ts +4 -0
  207. package/lib/scrollbar/helper/class-names.d.ts +21 -0
  208. package/lib/scrollbar/helper/css.d.ts +3 -0
  209. package/lib/scrollbar/helper/dom.d.ts +4 -0
  210. package/lib/scrollbar/helper/event-manager.d.ts +20 -0
  211. package/lib/scrollbar/helper/util.d.ts +11 -0
  212. package/lib/scrollbar/index.d.ts +133 -13
  213. package/lib/scrollbar/index.js +1332 -18433
  214. package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
  215. package/lib/scrollbar/update-geometry.d.ts +8 -0
  216. package/lib/search-select/index.d.ts +106 -78
  217. package/lib/search-select/index.js +316 -158
  218. package/lib/search-select/input.d.ts +18 -6
  219. package/lib/search-select/menu.d.ts +12 -0
  220. package/lib/search-select/search-select.css +163 -35
  221. package/lib/search-select/search-select.d.ts +35 -43
  222. package/lib/search-select/search-select.less +2 -2
  223. package/lib/search-select/search-select.variable.css +425 -36
  224. package/lib/search-select/selected.d.ts +36 -9
  225. package/lib/search-select/utils.d.ts +3 -3
  226. package/lib/select/common.d.ts +4 -4
  227. package/lib/select/index.d.ts +247 -51
  228. package/lib/select/index.js +259 -136
  229. package/lib/select/option.d.ts +5 -5
  230. package/lib/select/select.css +175 -43
  231. package/lib/select/select.d.ts +102 -17
  232. package/lib/select/select.less +7 -4
  233. package/lib/select/select.variable.css +437 -44
  234. package/lib/select/selectTagInput.d.ts +6 -5
  235. package/lib/select/type.d.ts +9 -10
  236. package/lib/shared/frame-throttle.d.ts +15 -0
  237. package/lib/shared/index.d.ts +1 -0
  238. package/lib/shared/index.js +72 -1
  239. package/lib/shared/vue-types.d.ts +8 -8
  240. package/lib/sideslider/index.d.ts +49 -15
  241. package/lib/sideslider/index.js +1 -0
  242. package/lib/sideslider/sideslider.css +138 -9
  243. package/lib/sideslider/sideslider.d.ts +23 -7
  244. package/lib/sideslider/sideslider.less +7 -8
  245. package/lib/sideslider/sideslider.variable.css +269 -9
  246. package/lib/slider/slider.css +135 -5
  247. package/lib/slider/slider.variable.css +262 -1
  248. package/lib/steps/index.d.ts +14 -29
  249. package/lib/steps/index.js +0 -1
  250. package/lib/steps/steps.css +168 -38
  251. package/lib/steps/steps.d.ts +8 -18
  252. package/lib/steps/steps.variable.css +262 -1
  253. package/lib/styles/index.d.ts +1 -0
  254. package/lib/styles/mixins/animate.css +130 -0
  255. package/lib/styles/mixins/animate.variable.css +262 -1
  256. package/lib/styles/mixins/mixins.css +130 -0
  257. package/lib/styles/mixins/mixins.variable.css +130 -0
  258. package/lib/styles/mixins/popper.css +130 -0
  259. package/lib/styles/mixins/popper.variable.css +262 -1
  260. package/lib/styles/mixins/scroll.css +130 -0
  261. package/lib/styles/mixins/scroll.variable.css +262 -1
  262. package/lib/styles/reset.css +130 -0
  263. package/lib/styles/reset.variable.css +262 -1
  264. package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.css} +2 -76
  265. package/lib/styles/themes/themes.less +299 -129
  266. package/lib/styles/themes/themes.variable.css +130 -0
  267. package/lib/swiper/swiper.css +130 -0
  268. package/lib/swiper/swiper.variable.css +262 -1
  269. package/lib/switcher/index.d.ts +11 -11
  270. package/lib/switcher/switcher.css +147 -17
  271. package/lib/switcher/switcher.d.ts +7 -7
  272. package/lib/switcher/switcher.variable.css +409 -18
  273. package/lib/tab/index.d.ts +27 -97
  274. package/lib/tab/index.js +47 -36
  275. package/lib/tab/props.d.ts +12 -37
  276. package/lib/tab/tab-nav.d.ts +16 -56
  277. package/lib/tab/tab-panel.d.ts +27 -5
  278. package/lib/tab/tab.css +211 -17
  279. package/lib/tab/tab.d.ts +0 -44
  280. package/lib/tab/tab.less +91 -4
  281. package/lib/tab/tab.variable.css +326 -1
  282. package/lib/table/components/ghost-body.d.ts +2 -0
  283. package/lib/table/components/table-cell.d.ts +22 -0
  284. package/lib/table/components/table-column.d.ts +1 -44
  285. package/lib/table/const.d.ts +15 -2
  286. package/lib/table/events.d.ts +2 -98
  287. package/lib/table/hooks/use-cell.d.ts +20 -0
  288. package/lib/table/hooks/use-checkbox-tooltip.d.ts +11 -0
  289. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  290. package/lib/table/hooks/use-column-template.d.ts +5 -0
  291. package/lib/table/hooks/use-columns.d.ts +69 -0
  292. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  293. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  294. package/lib/table/hooks/use-head.d.ts +16 -0
  295. package/lib/table/hooks/use-layout.d.ts +25 -0
  296. package/lib/table/hooks/use-pagination.d.ts +16 -0
  297. package/lib/table/hooks/use-render.d.ts +21 -0
  298. package/lib/table/hooks/use-rows.d.ts +30 -0
  299. package/lib/table/hooks/use-settings.d.ts +138 -0
  300. package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
  301. package/lib/table/index.d.ts +89 -561
  302. package/lib/table/index.js +4521 -3456
  303. package/lib/table/plugins/head-filter.css +135 -0
  304. package/lib/table/plugins/head-filter.d.ts +2 -1
  305. package/lib/table/plugins/head-filter.less +4 -0
  306. package/lib/table/plugins/head-filter.variable.css +267 -1
  307. package/lib/table/plugins/head-sort.css +130 -0
  308. package/lib/table/plugins/head-sort.variable.css +262 -1
  309. package/lib/table/plugins/settings.css +141 -1
  310. package/lib/table/plugins/settings.less +12 -1
  311. package/lib/table/plugins/settings.variable.css +273 -2
  312. package/lib/table/props.d.ts +95 -30
  313. package/lib/table/table.css +763 -432
  314. package/lib/table/table.d.ts +47 -181
  315. package/lib/table/table.less +244 -112
  316. package/lib/table/table.variable.css +1066 -474
  317. package/lib/table/utils.d.ts +41 -18
  318. package/lib/table-column/index.d.ts +3 -132
  319. package/lib/table-column/index.js +17367 -28
  320. package/lib/tag/index.d.ts +11 -11
  321. package/lib/tag/index.js +0 -1
  322. package/lib/tag/tag.css +136 -6
  323. package/lib/tag/tag.d.ts +5 -5
  324. package/lib/tag/tag.less +1 -1
  325. package/lib/tag/tag.variable.css +263 -2
  326. package/lib/tag-input/common.d.ts +1 -1
  327. package/lib/tag-input/index.d.ts +81 -3
  328. package/lib/tag-input/index.js +48 -24
  329. package/lib/tag-input/tag-input.css +157 -27
  330. package/lib/tag-input/tag-input.d.ts +41 -15
  331. package/lib/tag-input/tag-input.less +9 -9
  332. package/lib/tag-input/tag-input.variable.css +271 -10
  333. package/lib/tag-input/tag-props.d.ts +18 -0
  334. package/lib/time-picker/index.d.ts +10 -21
  335. package/lib/time-picker/time-picker.css +130 -0
  336. package/lib/time-picker/time-picker.variable.css +262 -1
  337. package/lib/timeline/timeline.css +149 -19
  338. package/lib/timeline/timeline.variable.css +262 -1
  339. package/lib/transfer/transfer.css +149 -19
  340. package/lib/transfer/transfer.variable.css +262 -1
  341. package/lib/tree/constant.d.ts +3 -1
  342. package/lib/tree/index.d.ts +21 -7
  343. package/lib/tree/index.js +66 -19
  344. package/lib/tree/props.d.ts +12 -5
  345. package/lib/tree/tree.css +242 -78
  346. package/lib/tree/tree.d.ts +11 -11
  347. package/lib/tree/tree.variable.css +504 -79
  348. package/lib/tree/use-node-action.d.ts +10 -9
  349. package/lib/tree/use-node-async.d.ts +2 -1
  350. package/lib/tree/use-node-attribute.d.ts +42 -34
  351. package/lib/tree/use-search.d.ts +1 -1
  352. package/lib/tree/use-tree-init.d.ts +8 -5
  353. package/lib/tree/util.d.ts +21 -21
  354. package/lib/upload/index.d.ts +52 -6
  355. package/lib/upload/index.js +109 -29
  356. package/lib/upload/props.d.ts +11 -2
  357. package/lib/upload/upload-list.d.ts +11 -1
  358. package/lib/upload/upload-trigger.d.ts +11 -1
  359. package/lib/upload/upload.css +157 -27
  360. package/lib/upload/upload.d.ts +24 -3
  361. package/lib/upload/upload.type.d.ts +6 -0
  362. package/lib/upload/upload.variable.css +419 -28
  363. package/lib/virtual-render/index.d.ts +12 -46
  364. package/lib/virtual-render/index.js +17468 -148
  365. package/lib/virtual-render/props.d.ts +2 -9
  366. package/lib/virtual-render/use-fix-top.d.ts +1 -1
  367. package/lib/virtual-render/use-scrollbar.d.ts +4 -17
  368. package/lib/virtual-render/v-virtual-render.d.ts +7 -1
  369. package/lib/virtual-render/virtual-render.css +225 -69
  370. package/lib/virtual-render/virtual-render.d.ts +6 -22
  371. package/lib/virtual-render/virtual-render.less +2 -11
  372. package/lib/virtual-render/virtual-render.variable.css +487 -70
  373. package/lib/volar.components.d.ts +2 -0
  374. package/package.json +6 -8
  375. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  376. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  377. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
  378. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  379. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  380. package/lib/scrollbar/scrollbar.css +0 -75
  381. package/lib/scrollbar/scrollbar.less +0 -94
  382. package/lib/table/plugins/col-group.d.ts +0 -38
  383. package/lib/table/plugins/settings.d.ts +0 -16
  384. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  385. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  386. package/lib/table/plugins/use-column-template.d.ts +0 -7
  387. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  388. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  389. package/lib/table/plugins/use-pagination.d.ts +0 -23
  390. package/lib/table/use-attributes.d.ts +0 -62
  391. package/lib/table/use-column.d.ts +0 -155
  392. package/lib/table/use-common.d.ts +0 -1679
  393. package/lib/table/use-render.d.ts +0 -11
  394. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  395. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  396. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -61,6 +61,11 @@ declare const TagInput: {
61
61
  } & {
62
62
  default: boolean;
63
63
  };
64
+ clearTextSpace: import("vue-types").VueTypeValidableDef<boolean> & {
65
+ default: boolean;
66
+ } & {
67
+ default: boolean;
68
+ };
64
69
  maxData: import("vue-types").VueTypeValidableDef<number> & {
65
70
  default: number;
66
71
  } & {
@@ -155,6 +160,11 @@ declare const TagInput: {
155
160
  } & {
156
161
  default: boolean;
157
162
  };
163
+ clickContentAutoHide: import("vue-types").VueTypeValidableDef<boolean> & {
164
+ default: boolean;
165
+ } & {
166
+ default: boolean;
167
+ };
158
168
  width: import("vue-types").VueTypeDef<string | number> & {
159
169
  default: string | number;
160
170
  };
@@ -170,6 +180,9 @@ declare const TagInput: {
170
180
  content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
171
181
  default: string | number | (() => HTMLElement) | (() => JSX.Element);
172
182
  };
183
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
184
+ default: "if" | "show";
185
+ };
173
186
  target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
174
187
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
175
188
  default: boolean;
@@ -256,6 +269,11 @@ declare const TagInput: {
256
269
  } & {
257
270
  default: string;
258
271
  };
272
+ referenceCls: import("vue-types").VueTypeValidableDef<string> & {
273
+ default: string;
274
+ } & {
275
+ default: string;
276
+ };
259
277
  componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
260
278
  default: number;
261
279
  } & {
@@ -297,6 +315,7 @@ declare const TagInput: {
297
315
  bkTagSelectorRef: import("vue").Ref<any>;
298
316
  tagListRef: import("vue").Ref<any>;
299
317
  tagInputItemRef: import("vue").Ref<any>;
318
+ inputValueRef: import("vue").Ref<HTMLElement>;
300
319
  selectorListRef: import("vue").Ref<any>;
301
320
  triggerClass: import("vue").ComputedRef<{
302
321
  [x: string]: boolean;
@@ -318,7 +337,7 @@ declare const TagInput: {
318
337
  handleClear: (e: MouseEvent) => void;
319
338
  tagFocus: (e: MouseEvent) => void;
320
339
  handleKeydown: (e: KeyboardEvent) => void;
321
- handlePaste: (e: ClipboardEvent) => boolean;
340
+ handlePaste: (e: ClipboardEvent) => void;
322
341
  resolveClassName: (cls: string) => string;
323
342
  curPage: import("vue").Ref<number>;
324
343
  totalSize: import("vue").Ref<number>;
@@ -404,6 +423,11 @@ declare const TagInput: {
404
423
  } & {
405
424
  default: boolean;
406
425
  };
426
+ clearTextSpace: import("vue-types").VueTypeValidableDef<boolean> & {
427
+ default: boolean;
428
+ } & {
429
+ default: boolean;
430
+ };
407
431
  maxData: import("vue-types").VueTypeValidableDef<number> & {
408
432
  default: number;
409
433
  } & {
@@ -498,6 +522,11 @@ declare const TagInput: {
498
522
  } & {
499
523
  default: boolean;
500
524
  };
525
+ clickContentAutoHide: import("vue-types").VueTypeValidableDef<boolean> & {
526
+ default: boolean;
527
+ } & {
528
+ default: boolean;
529
+ };
501
530
  width: import("vue-types").VueTypeDef<string | number> & {
502
531
  default: string | number;
503
532
  };
@@ -513,6 +542,9 @@ declare const TagInput: {
513
542
  content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
514
543
  default: string | number | (() => HTMLElement) | (() => JSX.Element);
515
544
  };
545
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
546
+ default: "if" | "show";
547
+ };
516
548
  target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
517
549
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
518
550
  default: boolean;
@@ -599,6 +631,11 @@ declare const TagInput: {
599
631
  } & {
600
632
  default: string;
601
633
  };
634
+ referenceCls: import("vue-types").VueTypeValidableDef<string> & {
635
+ default: string;
636
+ } & {
637
+ default: string;
638
+ };
602
639
  componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
603
640
  default: number;
604
641
  } & {
@@ -649,6 +686,7 @@ declare const TagInput: {
649
686
  displayKey: string;
650
687
  hasDeleteIcon: boolean;
651
688
  useGroup: boolean;
689
+ clearTextSpace: boolean;
652
690
  maxData: number;
653
691
  maxResult: number;
654
692
  contentMaxHeight: number;
@@ -728,6 +766,11 @@ declare const TagInput: {
728
766
  } & {
729
767
  default: boolean;
730
768
  };
769
+ clearTextSpace: import("vue-types").VueTypeValidableDef<boolean> & {
770
+ default: boolean;
771
+ } & {
772
+ default: boolean;
773
+ };
731
774
  maxData: import("vue-types").VueTypeValidableDef<number> & {
732
775
  default: number;
733
776
  } & {
@@ -822,6 +865,11 @@ declare const TagInput: {
822
865
  } & {
823
866
  default: boolean;
824
867
  };
868
+ clickContentAutoHide: import("vue-types").VueTypeValidableDef<boolean> & {
869
+ default: boolean;
870
+ } & {
871
+ default: boolean;
872
+ };
825
873
  width: import("vue-types").VueTypeDef<string | number> & {
826
874
  default: string | number;
827
875
  };
@@ -837,6 +885,9 @@ declare const TagInput: {
837
885
  content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
838
886
  default: string | number | (() => HTMLElement) | (() => JSX.Element);
839
887
  };
888
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
889
+ default: "if" | "show";
890
+ };
840
891
  target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
841
892
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
842
893
  default: boolean;
@@ -923,6 +974,11 @@ declare const TagInput: {
923
974
  } & {
924
975
  default: string;
925
976
  };
977
+ referenceCls: import("vue-types").VueTypeValidableDef<string> & {
978
+ default: string;
979
+ } & {
980
+ default: string;
981
+ };
926
982
  componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
927
983
  default: number;
928
984
  } & {
@@ -964,6 +1020,7 @@ declare const TagInput: {
964
1020
  bkTagSelectorRef: import("vue").Ref<any>;
965
1021
  tagListRef: import("vue").Ref<any>;
966
1022
  tagInputItemRef: import("vue").Ref<any>;
1023
+ inputValueRef: import("vue").Ref<HTMLElement>;
967
1024
  selectorListRef: import("vue").Ref<any>;
968
1025
  triggerClass: import("vue").ComputedRef<{
969
1026
  [x: string]: boolean;
@@ -985,7 +1042,7 @@ declare const TagInput: {
985
1042
  handleClear: (e: MouseEvent) => void;
986
1043
  tagFocus: (e: MouseEvent) => void;
987
1044
  handleKeydown: (e: KeyboardEvent) => void;
988
- handlePaste: (e: ClipboardEvent) => boolean;
1045
+ handlePaste: (e: ClipboardEvent) => void;
989
1046
  resolveClassName: (cls: string) => string;
990
1047
  curPage: import("vue").Ref<number>;
991
1048
  totalSize: import("vue").Ref<number>;
@@ -1029,6 +1086,7 @@ declare const TagInput: {
1029
1086
  displayKey: string;
1030
1087
  hasDeleteIcon: boolean;
1031
1088
  useGroup: boolean;
1089
+ clearTextSpace: boolean;
1032
1090
  maxData: number;
1033
1091
  maxResult: number;
1034
1092
  contentMaxHeight: number;
@@ -1105,6 +1163,11 @@ declare const TagInput: {
1105
1163
  } & {
1106
1164
  default: boolean;
1107
1165
  };
1166
+ clearTextSpace: import("vue-types").VueTypeValidableDef<boolean> & {
1167
+ default: boolean;
1168
+ } & {
1169
+ default: boolean;
1170
+ };
1108
1171
  maxData: import("vue-types").VueTypeValidableDef<number> & {
1109
1172
  default: number;
1110
1173
  } & {
@@ -1199,6 +1262,11 @@ declare const TagInput: {
1199
1262
  } & {
1200
1263
  default: boolean;
1201
1264
  };
1265
+ clickContentAutoHide: import("vue-types").VueTypeValidableDef<boolean> & {
1266
+ default: boolean;
1267
+ } & {
1268
+ default: boolean;
1269
+ };
1202
1270
  width: import("vue-types").VueTypeDef<string | number> & {
1203
1271
  default: string | number;
1204
1272
  };
@@ -1214,6 +1282,9 @@ declare const TagInput: {
1214
1282
  content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
1215
1283
  default: string | number | (() => HTMLElement) | (() => JSX.Element);
1216
1284
  };
1285
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
1286
+ default: "if" | "show";
1287
+ };
1217
1288
  target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
1218
1289
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
1219
1290
  default: boolean;
@@ -1300,6 +1371,11 @@ declare const TagInput: {
1300
1371
  } & {
1301
1372
  default: string;
1302
1373
  };
1374
+ referenceCls: import("vue-types").VueTypeValidableDef<string> & {
1375
+ default: string;
1376
+ } & {
1377
+ default: string;
1378
+ };
1303
1379
  componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
1304
1380
  default: number;
1305
1381
  } & {
@@ -1341,6 +1417,7 @@ declare const TagInput: {
1341
1417
  bkTagSelectorRef: import("vue").Ref<any>;
1342
1418
  tagListRef: import("vue").Ref<any>;
1343
1419
  tagInputItemRef: import("vue").Ref<any>;
1420
+ inputValueRef: import("vue").Ref<HTMLElement>;
1344
1421
  selectorListRef: import("vue").Ref<any>;
1345
1422
  triggerClass: import("vue").ComputedRef<{
1346
1423
  [x: string]: boolean;
@@ -1362,7 +1439,7 @@ declare const TagInput: {
1362
1439
  handleClear: (e: MouseEvent) => void;
1363
1440
  tagFocus: (e: MouseEvent) => void;
1364
1441
  handleKeydown: (e: KeyboardEvent) => void;
1365
- handlePaste: (e: ClipboardEvent) => boolean;
1442
+ handlePaste: (e: ClipboardEvent) => void;
1366
1443
  resolveClassName: (cls: string) => string;
1367
1444
  curPage: import("vue").Ref<number>;
1368
1445
  totalSize: import("vue").Ref<number>;
@@ -1406,6 +1483,7 @@ declare const TagInput: {
1406
1483
  displayKey: string;
1407
1484
  hasDeleteIcon: boolean;
1408
1485
  useGroup: boolean;
1486
+ clearTextSpace: boolean;
1409
1487
  maxData: number;
1410
1488
  maxResult: number;
1411
1489
  contentMaxHeight: number;
@@ -10,6 +10,7 @@ import "../loading/loading.less";
10
10
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
11
11
  import "../popover/popover.less";
12
12
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
13
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_trim_5cdad98c__ from "lodash/trim";
13
14
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
14
15
  /******/ var __webpack_modules__ = ({
15
16
 
@@ -17478,6 +17479,10 @@ const popover_less_namespaceObject = popover_less_x({ });
17478
17479
  var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
17479
17480
  var debounce_y = x => () => x
17480
17481
  const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
17482
+ ;// CONCATENATED MODULE: external "lodash/trim"
17483
+ var trim_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
17484
+ var trim_y = x => () => x
17485
+ const trim_namespaceObject = trim_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_trim_5cdad98c__["default"] });
17481
17486
  ;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
17482
17487
 
17483
17488
 
@@ -17509,7 +17514,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
17509
17514
  * IN THE SOFTWARE.
17510
17515
  */
17511
17516
 
17512
- var INPUT_MIN_WIDTH = 12;
17517
+ var INPUT_MIN_WIDTH = 10;
17513
17518
  function useDebouncedRef(value) {
17514
17519
  var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
17515
17520
  var timeout;
@@ -17776,6 +17781,7 @@ var tagProps = function tagProps() {
17776
17781
  searchKey: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.string)]).def('name'),
17777
17782
  useGroup: shared_namespaceObject.PropTypes.bool.def(false),
17778
17783
  allowCreate: shared_namespaceObject.PropTypes.bool.def(false),
17784
+ clearTextSpace: shared_namespaceObject.PropTypes.bool.def(true),
17779
17785
  maxData: shared_namespaceObject.PropTypes.number.def(-1),
17780
17786
  maxResult: shared_namespaceObject.PropTypes.number.def(10),
17781
17787
  contentMaxHeight: shared_namespaceObject.PropTypes.number.def(300),
@@ -17964,6 +17970,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
17964
17970
 
17965
17971
 
17966
17972
 
17973
+
17967
17974
  /* harmony default export */ const tag_input = ((0,external_vue_namespaceObject.defineComponent)({
17968
17975
  name: 'TagInput',
17969
17976
  directives: {
@@ -18004,6 +18011,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18004
18011
  var tagListRef = (0,external_vue_namespaceObject.ref)(null);
18005
18012
  var tagInputItemRef = (0,external_vue_namespaceObject.ref)(null);
18006
18013
  var selectorListRef = (0,external_vue_namespaceObject.ref)(null);
18014
+ var inputValueRef = (0,external_vue_namespaceObject.ref)();
18007
18015
  var timer = (0,external_vue_namespaceObject.ref)(null);
18008
18016
  // 是否展示tag close
18009
18017
  var showTagClose = (0,external_vue_namespaceObject.computed)(function () {
@@ -18055,15 +18063,18 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18055
18063
  if (props.useGroup) {
18056
18064
  var groupMap = {};
18057
18065
  pageState.curPageList.forEach(function (item, index) {
18066
+ var _item$group, _item$group2, _groupMap$curGroupId;
18067
+ var curGroupId = (_item$group = item.group) === null || _item$group === void 0 ? void 0 : _item$group.groupId;
18068
+ var curGroupName = (_item$group2 = item.group) === null || _item$group2 === void 0 ? void 0 : _item$group2.groupName;
18058
18069
  item.__index__ = index;
18059
- if (!groupMap[item.group.groupId]) {
18060
- groupMap[item.group.groupId] = {
18061
- id: item.group.groupId,
18062
- name: item.group.groupName,
18070
+ if (curGroupId && !groupMap[curGroupId]) {
18071
+ groupMap[curGroupId] = {
18072
+ id: curGroupId,
18073
+ name: curGroupName,
18063
18074
  children: []
18064
18075
  };
18065
18076
  }
18066
- groupMap[item.group.groupId].children.push(item);
18077
+ groupMap === null || groupMap === void 0 || (_groupMap$curGroupId = groupMap[curGroupId]) === null || _groupMap$curGroupId === void 0 || _groupMap$curGroupId.children.push(item);
18067
18078
  });
18068
18079
  return Object.keys(groupMap).map(function (key) {
18069
18080
  return groupMap[key];
@@ -18285,6 +18296,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18285
18296
  };
18286
18297
  var clearInput = function clearInput() {
18287
18298
  curInputValue.value = '';
18299
+ tagInputRef.value.style.width = "".concat(INPUT_MIN_WIDTH, "px");
18288
18300
  };
18289
18301
  /**
18290
18302
  * 获取输入框元素位置
@@ -18295,7 +18307,10 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18295
18307
  return 0;
18296
18308
  }
18297
18309
  var childNodes = getSelectedTagNodes();
18298
- var index = childNodes.findIndex(function (_ref4) {
18310
+ // 聚焦的时候会存在空节点,导致backspace需要点击多次才能删除tag
18311
+ var index = childNodes.filter(function (item) {
18312
+ return item.className !== '';
18313
+ }).findIndex(function (_ref4) {
18299
18314
  var id = _ref4.id;
18300
18315
  return id === 'tagInputItem';
18301
18316
  });
@@ -18323,7 +18338,11 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18323
18338
  var charLen = getCharLength(value);
18324
18339
  if (charLen) {
18325
18340
  filterData(value);
18326
- tagInputRef.value.style.width = "".concat(charLen * INPUT_MIN_WIDTH, "px");
18341
+ (0,external_vue_namespaceObject.nextTick)(function () {
18342
+ // getBoundingClientRect获取宽度在中文输入法输入的时候会存在为0的情况,导致不显示输入的内容,按回车以后光标在最前面,所以需要提供默认值
18343
+ var tagInputWidth = inputValueRef.value.getBoundingClientRect().width || charLen * INPUT_MIN_WIDTH;
18344
+ tagInputRef.value.style.width = "".concat(tagInputWidth, "px");
18345
+ });
18327
18346
  } else {
18328
18347
  if (trigger === 'focus') {
18329
18348
  filterData();
@@ -18361,8 +18380,6 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18361
18380
  // 如果是单选,且input不为空,即保留了上次的结果则恢复
18362
18381
  if (inputValue === oldValue && listState.selectedTagListCache.length) {
18363
18382
  addTag(listState.selectedTagListCache[0], 'select');
18364
- } else {
18365
- handleChange('remove');
18366
18383
  }
18367
18384
  }
18368
18385
  // 如果匹配,则自动选则
@@ -18480,18 +18497,22 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18480
18497
  swapElementPositions(tagInputItemRef.value, nodes[index - 1]);
18481
18498
  listState.selectedTagList.splice(index - 1, 1);
18482
18499
  focusInputTrigger();
18483
- var isExistInit = saveKeyMap.value[target[props.saveKey]];
18500
+ var isExistInit = target && saveKeyMap.value[target[props.saveKey]];
18484
18501
  // 将删除的项加入加列表
18485
18502
  if ((props.allowCreate && isExistInit || !props.allowCreate) && !isSingleSelect.value) {
18486
18503
  listState.localList.push(target);
18487
18504
  }
18488
- tagInputRef.value = "".concat(INPUT_MIN_WIDTH, "px");
18505
+ tagInputRef.value.style.width = "".concat(INPUT_MIN_WIDTH, "px");
18489
18506
  handleChange('remove');
18490
18507
  };
18491
18508
  var handleKeydown = function handleKeydown(e) {
18492
18509
  if (pageState.isPageLoading) {
18493
18510
  return;
18494
18511
  }
18512
+ // 中文拼音输入事件
18513
+ if (e.isComposing) {
18514
+ return;
18515
+ }
18495
18516
  var target;
18496
18517
  var val = e.target.value;
18497
18518
  var valLen = getCharLength(val);
@@ -18567,22 +18588,15 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18567
18588
  var defaultPasteFn = function defaultPasteFn(value) {
18568
18589
  var target = [];
18569
18590
  var textArr = value.split(';');
18570
- var regx = /^[a-zA-Z][a-zA-Z_]*/g;
18571
18591
  textArr.forEach(function (item) {
18572
- var matchValue = item.match(regx);
18573
- if (matchValue) {
18574
- var finalItem = matchValue.join('');
18575
- target.push(_defineProperty(_defineProperty({}, props.saveKey, finalItem), props.displayKey, finalItem));
18592
+ if ((0,trim_namespaceObject["default"])(item)) {
18593
+ target.push(_defineProperty(_defineProperty({}, props.saveKey, item), props.displayKey, item));
18576
18594
  }
18577
18595
  });
18578
18596
  return target;
18579
18597
  };
18580
18598
  var handlePaste = function handlePaste(e) {
18581
18599
  e.preventDefault();
18582
- // 单选禁止复制粘贴,防止粘贴多个tag
18583
- if (isSingleSelect.value) {
18584
- return false;
18585
- }
18586
18600
  var maxData = props.maxData,
18587
18601
  saveKey = props.saveKey,
18588
18602
  displayKey = props.displayKey,
@@ -18635,6 +18649,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18635
18649
  focusInputTrigger();
18636
18650
  }
18637
18651
  }
18652
+ clearInput();
18638
18653
  };
18639
18654
  /**
18640
18655
  * 已选中标签点击
@@ -18659,7 +18674,8 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18659
18674
  var separator = props.separator,
18660
18675
  saveKey = props.saveKey,
18661
18676
  displayKey = props.displayKey,
18662
- createTagValidator = props.createTagValidator;
18677
+ createTagValidator = props.createTagValidator,
18678
+ clearTextSpace = props.clearTextSpace;
18663
18679
  var targetIndex = getTagInputItemSite();
18664
18680
  var moveCount = 1;
18665
18681
  var isSelected = false;
@@ -18690,7 +18706,9 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18690
18706
  } else {
18691
18707
  var isObject = _typeof(item) === 'object';
18692
18708
  newValue = isObject ? item[saveKey] : item.trim();
18693
- newValue = newValue.replace(/\s+/g, '');
18709
+ if (clearTextSpace) {
18710
+ newValue = newValue.replace(/\s+/g, '');
18711
+ }
18694
18712
  if (newValue !== undefined && !tagList.value.includes(newValue) && validateTag(newValue)) {
18695
18713
  var localItem = saveKeyMap.value[newValue] || (isObject ? item : _defineProperty(_defineProperty({}, saveKey, newValue), displayKey, newValue));
18696
18714
  listState.selectedTagList.splice(targetIndex, 0, localItem);
@@ -18769,6 +18787,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18769
18787
  bkTagSelectorRef: bkTagSelectorRef,
18770
18788
  tagListRef: tagListRef,
18771
18789
  tagInputItemRef: tagInputItemRef,
18790
+ inputValueRef: inputValueRef,
18772
18791
  selectorListRef: selectorListRef,
18773
18792
  triggerClass: triggerClass,
18774
18793
  overflowTagIndex: overflowTagIndex,
@@ -18845,6 +18864,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18845
18864
  "onUpdate:modelValue": function onUpdateModelValue($event) {
18846
18865
  return _this.curInputValue = $event;
18847
18866
  },
18867
+ "spellcheck": "false",
18848
18868
  "type": "text",
18849
18869
  "onBlur": _this.handleBlur,
18850
18870
  "onFocus": _this.handleFocus,
@@ -18857,7 +18877,11 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
18857
18877
  "class": "tag"
18858
18878
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
18859
18879
  "class": "text"
18860
- }, [(0,external_vue_namespaceObject.createTextVNode)("+"), _this.selectedTagList.length - _this.overflowTagIndex])])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.collapseTooltip.join(', ')]])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("p", {
18880
+ }, [(0,external_vue_namespaceObject.createTextVNode)("+"), _this.selectedTagList.length - _this.overflowTagIndex])])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.collapseTooltip.join(', ')]]), (0,external_vue_namespaceObject.createVNode)("div", {
18881
+ "key": "inputValuePlaceholder",
18882
+ "ref": "inputValueRef",
18883
+ "style": "position: absolute; white-space: nowrap; border-box; visibility: hidden; z-index: 1"
18884
+ }, [_this.curInputValue])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("p", {
18861
18885
  "class": "placeholder"
18862
18886
  }, [_this.placeholderText]), [[external_vue_namespaceObject.vShow, _this.isShowPlaceholder]]), (_this$$slots$suffix = (_this$$slots = _this.$slots) === null || _this$$slots === void 0 || (_this$$slots$suffix2 = _this$$slots.suffix) === null || _this$$slots$suffix2 === void 0 ? void 0 : _this$$slots$suffix2.call(_this$$slots)) !== null && _this$$slots$suffix !== void 0 ? _this$$slots$suffix : _this.isShowClear && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
18863
18887
  "class": "clear-icon",