bkui-vue 2.0.1-beta.6 → 2.0.1-beta.60

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 (435) hide show
  1. package/README.md +15 -0
  2. package/dist/index.cjs.js +166 -166
  3. package/dist/index.esm.js +32026 -31575
  4. package/dist/index.umd.js +166 -166
  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/affix/index.js +7 -7
  10. package/lib/alert/alert.css +133 -3
  11. package/lib/alert/alert.d.ts +5 -12
  12. package/lib/alert/alert.variable.css +262 -1
  13. package/lib/alert/index.d.ts +11 -26
  14. package/lib/alert/index.js +6 -6
  15. package/lib/backtop/backtop.css +133 -3
  16. package/lib/backtop/backtop.d.ts +1 -1
  17. package/lib/backtop/backtop.variable.css +395 -4
  18. package/lib/backtop/index.d.ts +3 -3
  19. package/lib/backtop/index.js +6 -6
  20. package/lib/badge/badge.css +156 -26
  21. package/lib/badge/badge.variable.css +262 -1
  22. package/lib/badge/index.js +1 -1
  23. package/lib/breadcrumb/breadcrumb.css +135 -5
  24. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  25. package/lib/button/button.css +273 -143
  26. package/lib/button/button.d.ts +7 -7
  27. package/lib/button/button.variable.css +262 -1
  28. package/lib/button/index.d.ts +8 -8
  29. package/lib/button/index.js +6 -7
  30. package/lib/card/card.css +134 -4
  31. package/lib/card/card.variable.css +396 -5
  32. package/lib/cascader/cascader-panel.d.ts +1 -1
  33. package/lib/cascader/cascader.css +153 -23
  34. package/lib/cascader/cascader.d.ts +1 -1
  35. package/lib/cascader/cascader.less +1 -1
  36. package/lib/cascader/cascader.variable.css +415 -24
  37. package/lib/cascader/index.js +32 -33
  38. package/lib/cascader/interface.d.ts +1 -1
  39. package/lib/checkbox/checkbox-group.d.ts +0 -16
  40. package/lib/checkbox/checkbox.css +147 -9
  41. package/lib/checkbox/checkbox.d.ts +39 -7
  42. package/lib/checkbox/checkbox.less +12 -0
  43. package/lib/checkbox/checkbox.variable.css +270 -1
  44. package/lib/checkbox/index.d.ts +57 -22
  45. package/lib/checkbox/index.js +21 -8
  46. package/lib/checkbox/type.d.ts +1 -1
  47. package/lib/code-diff/code-diff.css +130 -0
  48. package/lib/code-diff/code-diff.variable.css +262 -1
  49. package/lib/code-diff/index.js +8 -8
  50. package/lib/collapse/collapse.css +131 -1
  51. package/lib/collapse/collapse.variable.css +262 -1
  52. package/lib/collapse/index.js +2 -2
  53. package/lib/collapse/utils.d.ts +2 -2
  54. package/lib/collapse-transition/collapse-transition.css +130 -0
  55. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  56. package/lib/color-picker/color-picker.css +130 -0
  57. package/lib/color-picker/color-picker.variable.css +262 -1
  58. package/lib/color-picker/index.js +44 -44
  59. package/lib/components.d.ts +32 -32
  60. package/lib/components.js +31 -31
  61. package/lib/config-provider/config-provider.css +130 -0
  62. package/lib/config-provider/config-provider.variable.css +262 -1
  63. package/lib/config-provider/index.d.ts +1 -1
  64. package/lib/container/container.css +130 -0
  65. package/lib/container/container.variable.css +392 -1
  66. package/lib/container/index.js +6 -7
  67. package/lib/date-picker/base/date-table.d.ts +1 -1
  68. package/lib/date-picker/base/month-table.d.ts +1 -1
  69. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  70. package/lib/date-picker/base/year-table.d.ts +1 -1
  71. package/lib/date-picker/date-picker.css +147 -17
  72. package/lib/date-picker/date-picker.d.ts +0 -10
  73. package/lib/date-picker/date-picker.variable.css +262 -1
  74. package/lib/date-picker/index.d.ts +0 -22
  75. package/lib/date-picker/index.js +274 -236
  76. package/lib/date-picker/interface.d.ts +9 -9
  77. package/lib/date-picker/panel/date-range.d.ts +5 -5
  78. package/lib/date-picker/panel/date.d.ts +1 -1
  79. package/lib/date-picker/panel/time-range.d.ts +1 -10
  80. package/lib/date-picker/panel/time.d.ts +2 -11
  81. package/lib/date-picker/props.d.ts +1 -5
  82. package/lib/date-picker/time-picker.d.ts +0 -9
  83. package/lib/date-picker/utils.d.ts +1 -1
  84. package/lib/dialog/dialog.css +138 -8
  85. package/lib/dialog/dialog.d.ts +36 -20
  86. package/lib/dialog/dialog.variable.css +400 -9
  87. package/lib/dialog/index.d.ts +78 -44
  88. package/lib/dialog/index.js +22 -22
  89. package/lib/dialog/props.d.ts +15 -8
  90. package/lib/directives/index.d.ts +3 -3
  91. package/lib/directives/index.js +178 -172
  92. package/lib/directives/tooltips.d.ts +1 -1
  93. package/lib/dist.index.js +2 -4
  94. package/lib/divider/divider.css +133 -3
  95. package/lib/divider/divider.d.ts +5 -5
  96. package/lib/divider/divider.variable.css +262 -1
  97. package/lib/divider/index.d.ts +11 -11
  98. package/lib/divider/index.js +2 -2
  99. package/lib/divider/props.d.ts +2 -2
  100. package/lib/dropdown/dropdown-item.d.ts +1 -1
  101. package/lib/dropdown/dropdown-menu.d.ts +1 -1
  102. package/lib/dropdown/dropdown.css +130 -0
  103. package/lib/dropdown/dropdown.d.ts +5 -5
  104. package/lib/dropdown/dropdown.variable.css +392 -1
  105. package/lib/dropdown/index.d.ts +13 -13
  106. package/lib/dropdown/index.js +7 -7
  107. package/lib/exception/exception.css +130 -0
  108. package/lib/exception/exception.d.ts +9 -9
  109. package/lib/exception/exception.variable.css +262 -1
  110. package/lib/exception/index.d.ts +11 -11
  111. package/lib/exception/index.js +10 -10
  112. package/lib/exception/typings/index.d.ts +1 -1
  113. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  114. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  115. package/lib/fixed-navbar/index.js +2 -2
  116. package/lib/form/form-item.d.ts +6 -18
  117. package/lib/form/form.css +130 -0
  118. package/lib/form/form.d.ts +2 -2
  119. package/lib/form/form.variable.css +262 -1
  120. package/lib/form/index.d.ts +6 -13
  121. package/lib/form/index.js +22 -21
  122. package/lib/form/type.d.ts +2 -2
  123. package/lib/icon/index.d.ts +11 -11
  124. package/lib/icon/index.js +11 -11
  125. package/lib/image/image-viewer.css +130 -0
  126. package/lib/image/image-viewer.d.ts +1 -1
  127. package/lib/image/image-viewer.variable.css +262 -1
  128. package/lib/image/image.css +130 -0
  129. package/lib/image/image.variable.css +392 -1
  130. package/lib/image/index.js +20 -21
  131. package/lib/index.d.ts +9 -3
  132. package/lib/index.js +5 -29
  133. package/lib/info-box/index.js +16 -18
  134. package/lib/info-box/info-box.css +134 -4
  135. package/lib/info-box/info-box.d.ts +15 -15
  136. package/lib/info-box/info-box.variable.css +262 -1
  137. package/lib/input/index.d.ts +15 -15
  138. package/lib/input/index.js +52 -26
  139. package/lib/input/input.css +202 -72
  140. package/lib/input/input.d.ts +15 -15
  141. package/lib/input/input.variable.css +464 -73
  142. package/lib/link/index.d.ts +11 -11
  143. package/lib/link/index.js +3 -3
  144. package/lib/link/link.css +146 -16
  145. package/lib/link/link.d.ts +5 -5
  146. package/lib/link/link.variable.css +262 -1
  147. package/lib/loading/index.d.ts +4 -4
  148. package/lib/loading/index.js +6 -6
  149. package/lib/loading/loading.css +146 -16
  150. package/lib/loading/loading.d.ts +6 -6
  151. package/lib/loading/loading.variable.css +408 -17
  152. package/lib/locale/index.d.ts +1 -1
  153. package/lib/menu/index.js +0 -1
  154. package/lib/menu/menu.css +148 -18
  155. package/lib/menu/menu.variable.css +410 -19
  156. package/lib/menu/submenu.css +130 -0
  157. package/lib/menu/submenu.variable.css +262 -1
  158. package/lib/menu/utils.d.ts +3 -3
  159. package/lib/message/index.js +18 -18
  160. package/lib/message/message.css +153 -22
  161. package/lib/message/message.less +3 -2
  162. package/lib/message/message.variable.css +264 -2
  163. package/lib/message/messageConstructor.d.ts +11 -11
  164. package/lib/modal/index.d.ts +49 -8
  165. package/lib/modal/index.js +46 -25
  166. package/lib/modal/modal.css +134 -4
  167. package/lib/modal/modal.d.ts +19 -3
  168. package/lib/modal/modal.variable.css +396 -5
  169. package/lib/modal/props.mixin.d.ts +8 -1
  170. package/lib/navigation/index.js +20 -20
  171. package/lib/navigation/navigation.css +132 -2
  172. package/lib/navigation/navigation.d.ts +1 -1
  173. package/lib/navigation/navigation.variable.css +262 -1
  174. package/lib/notify/index.js +4 -4
  175. package/lib/notify/notify.css +137 -7
  176. package/lib/notify/notify.variable.css +262 -1
  177. package/lib/overflow-title/components/overflow-title.d.ts +9 -16
  178. package/lib/overflow-title/index.d.ts +19 -34
  179. package/lib/overflow-title/index.js +61 -12
  180. package/lib/overflow-title/props.d.ts +18 -21
  181. package/lib/pagination/index.d.ts +0 -19
  182. package/lib/pagination/index.js +61 -23
  183. package/lib/pagination/pagination.css +139 -9
  184. package/lib/pagination/pagination.d.ts +0 -13
  185. package/lib/pagination/pagination.less +14 -13
  186. package/lib/pagination/pagination.variable.css +270 -9
  187. package/lib/pagination/type.d.ts +1 -1
  188. package/lib/pagination/use-limit.d.ts +1 -1
  189. package/lib/pagination/use-total.d.ts +1 -1
  190. package/lib/plugin-popover/index.js +18 -20
  191. package/lib/pop-confirm/index.d.ts +11 -43
  192. package/lib/pop-confirm/index.js +27 -28
  193. package/lib/pop-confirm/pop-confirm.css +133 -1
  194. package/lib/pop-confirm/pop-confirm.d.ts +5 -19
  195. package/lib/pop-confirm/pop-confirm.less +3 -1
  196. package/lib/pop-confirm/pop-confirm.variable.css +265 -2
  197. package/lib/pop-confirm/props.d.ts +5 -11
  198. package/lib/popover/const.d.ts +3 -3
  199. package/lib/popover/index.d.ts +19 -19
  200. package/lib/popover/index.js +18 -20
  201. package/lib/popover/plugin-popover.d.ts +1 -1
  202. package/lib/popover/popover.css +130 -0
  203. package/lib/popover/popover.d.ts +7 -7
  204. package/lib/popover/popover.variable.css +262 -1
  205. package/lib/popover/props.d.ts +4 -4
  206. package/lib/preset.d.ts +0 -1
  207. package/lib/preset.js +0 -1
  208. package/lib/process/index.js +3 -3
  209. package/lib/process/process.css +143 -13
  210. package/lib/process/process.variable.css +262 -1
  211. package/lib/progress/index.d.ts +11 -11
  212. package/lib/progress/index.js +10 -11
  213. package/lib/progress/progress.css +134 -4
  214. package/lib/progress/progress.d.ts +7 -7
  215. package/lib/progress/progress.variable.css +396 -5
  216. package/lib/radio/index.d.ts +21 -21
  217. package/lib/radio/index.js +28 -17
  218. package/lib/radio/radio-button.d.ts +7 -7
  219. package/lib/radio/radio-group.d.ts +7 -7
  220. package/lib/radio/radio.css +172 -42
  221. package/lib/radio/radio.d.ts +7 -7
  222. package/lib/radio/radio.variable.css +262 -1
  223. package/lib/radio/type.d.ts +1 -1
  224. package/lib/rate/index.js +8 -8
  225. package/lib/rate/rate.css +157 -0
  226. package/lib/rate/rate.less +33 -0
  227. package/lib/rate/rate.variable.css +289 -1
  228. package/lib/resize-layout/index.d.ts +34 -11
  229. package/lib/resize-layout/index.js +29 -14
  230. package/lib/resize-layout/resize-layout.css +130 -0
  231. package/lib/resize-layout/resize-layout.d.ts +16 -5
  232. package/lib/resize-layout/resize-layout.variable.css +262 -1
  233. package/lib/scrollbar/css/scrollbar.css +239 -0
  234. package/lib/scrollbar/css/scrollbar.less +139 -0
  235. package/lib/scrollbar/css/scrollbar.variable.css +499 -0
  236. package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
  237. package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
  238. package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
  239. package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
  240. package/lib/scrollbar/handlers/touch.d.ts +4 -0
  241. package/lib/scrollbar/helper/class-names.d.ts +21 -0
  242. package/lib/scrollbar/helper/css.d.ts +3 -0
  243. package/lib/scrollbar/helper/dom.d.ts +4 -0
  244. package/lib/scrollbar/helper/event-manager.d.ts +20 -0
  245. package/lib/scrollbar/helper/util.d.ts +11 -0
  246. package/lib/scrollbar/index.d.ts +133 -13
  247. package/lib/scrollbar/index.js +1332 -18434
  248. package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
  249. package/lib/scrollbar/update-geometry.d.ts +8 -0
  250. package/lib/search-select/index.d.ts +40 -72
  251. package/lib/search-select/index.js +148 -130
  252. package/lib/search-select/input.d.ts +5 -4
  253. package/lib/search-select/menu.d.ts +1 -1
  254. package/lib/search-select/search-select.css +163 -33
  255. package/lib/search-select/search-select.d.ts +15 -39
  256. package/lib/search-select/search-select.variable.css +425 -34
  257. package/lib/search-select/selected.d.ts +12 -10
  258. package/lib/search-select/utils.d.ts +6 -6
  259. package/lib/select/common.d.ts +4 -4
  260. package/lib/select/index.d.ts +120 -74
  261. package/lib/select/index.js +248 -179
  262. package/lib/select/option.d.ts +5 -6
  263. package/lib/select/select.css +175 -43
  264. package/lib/select/select.d.ts +47 -27
  265. package/lib/select/select.less +7 -4
  266. package/lib/select/select.variable.css +437 -44
  267. package/lib/select/selectTagInput.d.ts +6 -6
  268. package/lib/select/type.d.ts +10 -11
  269. package/lib/shared/frame-throttle.d.ts +15 -0
  270. package/lib/shared/index.d.ts +2 -1
  271. package/lib/shared/index.js +110 -47
  272. package/lib/shared/popover.d.ts +3 -3
  273. package/lib/shared/token.d.ts +1 -1
  274. package/lib/shared/vue-types.d.ts +46 -46
  275. package/lib/shared/z-index-manager.d.ts +6 -6
  276. package/lib/sideslider/index.d.ts +41 -7
  277. package/lib/sideslider/index.js +12 -11
  278. package/lib/sideslider/sideslider.css +138 -9
  279. package/lib/sideslider/sideslider.d.ts +19 -3
  280. package/lib/sideslider/sideslider.less +7 -8
  281. package/lib/sideslider/sideslider.variable.css +269 -9
  282. package/lib/slider/index.js +21 -23
  283. package/lib/slider/slider.css +135 -5
  284. package/lib/slider/slider.variable.css +262 -1
  285. package/lib/steps/index.d.ts +14 -29
  286. package/lib/steps/index.js +3 -4
  287. package/lib/steps/steps.css +168 -38
  288. package/lib/steps/steps.d.ts +8 -18
  289. package/lib/steps/steps.variable.css +262 -1
  290. package/lib/styles/index.d.ts +1 -1
  291. package/lib/styles/mixins/animate.css +130 -0
  292. package/lib/styles/mixins/animate.variable.css +262 -1
  293. package/lib/styles/mixins/mixins.css +130 -0
  294. package/lib/styles/mixins/mixins.variable.css +130 -0
  295. package/lib/styles/mixins/popper.css +130 -0
  296. package/lib/styles/mixins/popper.variable.css +262 -1
  297. package/lib/styles/mixins/scroll.css +130 -0
  298. package/lib/styles/mixins/scroll.variable.css +262 -1
  299. package/lib/styles/reset.css +130 -0
  300. package/lib/styles/reset.variable.css +262 -1
  301. package/lib/{rate/star.variable.css → styles/themes/themes.css} +2 -28
  302. package/lib/styles/themes/themes.less +299 -129
  303. package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.variable.css} +2 -76
  304. package/lib/swiper/index.js +5 -5
  305. package/lib/swiper/swiper.css +130 -0
  306. package/lib/swiper/swiper.variable.css +262 -1
  307. package/lib/switcher/index.js +2 -2
  308. package/lib/switcher/switcher.css +147 -17
  309. package/lib/switcher/switcher.d.ts +2 -2
  310. package/lib/switcher/switcher.variable.css +409 -18
  311. package/lib/tab/index.d.ts +22 -114
  312. package/lib/tab/index.js +16 -29
  313. package/lib/tab/props.d.ts +15 -50
  314. package/lib/tab/tab-nav.d.ts +12 -55
  315. package/lib/tab/tab.css +147 -17
  316. package/lib/tab/tab.d.ts +10 -54
  317. package/lib/tab/tab.variable.css +262 -1
  318. package/lib/table/components/ghost-body.d.ts +2 -0
  319. package/lib/table/components/table-cell.d.ts +22 -0
  320. package/lib/table/components/table-column.d.ts +23 -126
  321. package/lib/table/const.d.ts +23 -10
  322. package/lib/table/events.d.ts +16 -112
  323. package/lib/table/hooks/use-cell.d.ts +20 -0
  324. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  325. package/lib/table/hooks/use-column-template.d.ts +5 -0
  326. package/lib/table/hooks/use-columns.d.ts +69 -0
  327. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  328. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  329. package/lib/table/hooks/use-head.d.ts +16 -0
  330. package/lib/table/hooks/use-layout.d.ts +25 -0
  331. package/lib/table/hooks/use-pagination.d.ts +16 -0
  332. package/lib/table/hooks/use-render.d.ts +21 -0
  333. package/lib/table/hooks/use-rows.d.ts +30 -0
  334. package/lib/table/hooks/use-settings.d.ts +134 -0
  335. package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
  336. package/lib/table/index.d.ts +112 -634
  337. package/lib/table/index.js +4043 -3568
  338. package/lib/table/plugins/head-filter.css +131 -0
  339. package/lib/table/plugins/head-filter.d.ts +2 -1
  340. package/lib/table/plugins/head-filter.less +1 -0
  341. package/lib/table/plugins/head-filter.variable.css +263 -1
  342. package/lib/table/plugins/head-sort.css +130 -0
  343. package/lib/table/plugins/head-sort.variable.css +262 -1
  344. package/lib/table/plugins/settings.css +131 -0
  345. package/lib/table/plugins/settings.less +1 -0
  346. package/lib/table/plugins/settings.variable.css +263 -1
  347. package/lib/table/props.d.ts +124 -62
  348. package/lib/table/table.css +600 -331
  349. package/lib/table/table.d.ts +51 -185
  350. package/lib/table/table.less +231 -112
  351. package/lib/table/table.variable.css +862 -332
  352. package/lib/table/utils.d.ts +48 -21
  353. package/lib/table-column/index.d.ts +30 -289
  354. package/lib/table-column/index.js +17385 -46
  355. package/lib/tag/index.d.ts +11 -11
  356. package/lib/tag/index.js +2 -3
  357. package/lib/tag/tag.css +136 -6
  358. package/lib/tag/tag.d.ts +5 -5
  359. package/lib/tag/tag.less +1 -1
  360. package/lib/tag/tag.variable.css +263 -2
  361. package/lib/tag-input/common.d.ts +1 -1
  362. package/lib/tag-input/index.d.ts +8 -8
  363. package/lib/tag-input/index.js +33 -33
  364. package/lib/tag-input/tag-input.css +148 -18
  365. package/lib/tag-input/tag-input.d.ts +6 -18
  366. package/lib/tag-input/tag-input.variable.css +262 -1
  367. package/lib/tag-input/tag-props.d.ts +2 -2
  368. package/lib/time-picker/index.d.ts +0 -19
  369. package/lib/time-picker/time-picker.css +130 -0
  370. package/lib/time-picker/time-picker.variable.css +262 -1
  371. package/lib/timeline/index.js +2 -2
  372. package/lib/timeline/timeline.css +149 -19
  373. package/lib/timeline/timeline.variable.css +262 -1
  374. package/lib/transfer/const.d.ts +2 -2
  375. package/lib/transfer/index.js +3 -5
  376. package/lib/transfer/transfer.css +149 -19
  377. package/lib/transfer/transfer.variable.css +262 -1
  378. package/lib/tree/constant.d.ts +22 -20
  379. package/lib/tree/index.d.ts +41 -27
  380. package/lib/tree/index.js +109 -58
  381. package/lib/tree/props.d.ts +18 -11
  382. package/lib/tree/tree.css +242 -78
  383. package/lib/tree/tree.d.ts +17 -17
  384. package/lib/tree/tree.variable.css +504 -79
  385. package/lib/tree/use-empty.d.ts +1 -1
  386. package/lib/tree/use-node-action.d.ts +10 -9
  387. package/lib/tree/use-node-async.d.ts +2 -1
  388. package/lib/tree/use-node-attribute.d.ts +42 -34
  389. package/lib/tree/use-search.d.ts +1 -1
  390. package/lib/tree/use-tree-init.d.ts +8 -5
  391. package/lib/tree/util.d.ts +21 -21
  392. package/lib/upload/index.d.ts +27 -4
  393. package/lib/upload/index.js +55 -33
  394. package/lib/upload/props.d.ts +7 -2
  395. package/lib/upload/upload.css +157 -27
  396. package/lib/upload/upload.d.ts +13 -2
  397. package/lib/upload/upload.type.d.ts +12 -6
  398. package/lib/upload/upload.variable.css +419 -28
  399. package/lib/upload/use-file-handler.d.ts +1 -1
  400. package/lib/virtual-render/index.d.ts +12 -46
  401. package/lib/virtual-render/index.js +17468 -148
  402. package/lib/virtual-render/props.d.ts +2 -9
  403. package/lib/virtual-render/use-fix-top.d.ts +1 -1
  404. package/lib/virtual-render/use-scrollbar.d.ts +4 -17
  405. package/lib/virtual-render/v-virtual-render.d.ts +7 -1
  406. package/lib/virtual-render/virtual-render.css +225 -69
  407. package/lib/virtual-render/virtual-render.d.ts +6 -22
  408. package/lib/virtual-render/virtual-render.less +2 -11
  409. package/lib/virtual-render/virtual-render.variable.css +487 -70
  410. package/lib/volar.components.d.ts +2 -0
  411. package/package.json +17 -55
  412. package/lib/rate/star.css +0 -27
  413. package/lib/rate/star.less +0 -34
  414. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  415. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  416. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
  417. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  418. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  419. package/lib/scrollbar/scrollbar.css +0 -75
  420. package/lib/scrollbar/scrollbar.less +0 -94
  421. package/lib/table/plugins/col-group.d.ts +0 -38
  422. package/lib/table/plugins/settings.d.ts +0 -16
  423. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  424. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  425. package/lib/table/plugins/use-column-template.d.ts +0 -7
  426. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  427. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  428. package/lib/table/plugins/use-pagination.d.ts +0 -23
  429. package/lib/table/use-attributes.d.ts +0 -62
  430. package/lib/table/use-column.d.ts +0 -275
  431. package/lib/table/use-common.d.ts +0 -1679
  432. package/lib/table/use-render.d.ts +0 -11
  433. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  434. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  435. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -481,6 +481,18 @@ function _defineProperty(obj, key, value) {
481
481
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
482
482
  var external_vue_y = x => () => x
483
483
  const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
484
+ ;// CONCATENATED MODULE: external "../config-provider"
485
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
486
+ var config_provider_y = x => () => x
487
+ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
488
+ ;// CONCATENATED MODULE: external "../directives"
489
+ var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
490
+ var directives_y = x => () => x
491
+ const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
492
+ ;// CONCATENATED MODULE: external "../icon"
493
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
494
+ var icon_y = x => () => x
495
+ const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search });
484
496
  ;// CONCATENATED MODULE: ../../node_modules/resize-detector/esm/index.js
485
497
  var raf = null;
486
498
  function requestAnimationFrame (callback) {
@@ -797,18 +809,6 @@ function resetTriggers (elem) {
797
809
 
798
810
 
799
811
 
800
- ;// CONCATENATED MODULE: external "../config-provider"
801
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
802
- var config_provider_y = x => () => x
803
- const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
804
- ;// CONCATENATED MODULE: external "../directives"
805
- var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
806
- var directives_y = x => () => x
807
- const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
808
- ;// CONCATENATED MODULE: external "../icon"
809
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
810
- var icon_y = x => () => x
811
- const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search });
812
812
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
813
813
  function _arrayWithHoles(arr) {
814
814
  if (Array.isArray(arr)) return arr;
@@ -1014,27 +1014,27 @@ function _createClass(Constructor, protoProps, staticProps) {
1014
1014
  var ValueBehavior;
1015
1015
  (function (ValueBehavior) {
1016
1016
  ValueBehavior["ALL"] = "all";
1017
- ValueBehavior["NEEDKEY"] = "need-key";
1017
+ ValueBehavior["NEED_KEY"] = "need-key";
1018
1018
  })(ValueBehavior || (ValueBehavior = {}));
1019
1019
  var DeleteBehavior;
1020
1020
  (function (DeleteBehavior) {
1021
1021
  DeleteBehavior["CHAR"] = "delete-char";
1022
1022
  DeleteBehavior["VALUE"] = "delete-value";
1023
1023
  })(DeleteBehavior || (DeleteBehavior = {}));
1024
- var SEARCH_SLECT_PROVIDER_KEY = Symbol('SEARCH_SLECT_PROVIDER_KEY');
1024
+ var SEARCH_SELECT_PROVIDER_KEY = Symbol('SEARCH_SELECT_PROVIDER_KEY');
1025
1025
  var useSearchSelectProvider = function useSearchSelectProvider(data) {
1026
- (0,external_vue_namespaceObject.provide)(SEARCH_SLECT_PROVIDER_KEY, data);
1026
+ (0,external_vue_namespaceObject.provide)(SEARCH_SELECT_PROVIDER_KEY, data);
1027
1027
  };
1028
1028
  var useSearchSelectInject = function useSearchSelectInject() {
1029
- return (0,external_vue_namespaceObject.inject)(SEARCH_SLECT_PROVIDER_KEY);
1029
+ return (0,external_vue_namespaceObject.inject)(SEARCH_SELECT_PROVIDER_KEY);
1030
1030
  };
1031
1031
  var SearchInputMode;
1032
1032
  (function (SearchInputMode) {
1033
1033
  SearchInputMode["DEFAULT"] = "default";
1034
1034
  SearchInputMode["EDIT"] = "edit";
1035
1035
  })(SearchInputMode || (SearchInputMode = {}));
1036
- var ValueSplitRegex = /(\||,|、|\/|\r\n|\n)/gm;
1037
- var ValueSplitTestRegex = /^(\||,|、|\/|\r\n|\n)$/;
1036
+ var ValueSplitRegex = /(\||,|、|\r\n|\n)/gm;
1037
+ var ValueSplitTestRegex = /^(\||,|、|\r\n|\n)$/;
1038
1038
  var SearchLogical;
1039
1039
  (function (SearchLogical) {
1040
1040
  SearchLogical["AND"] = "&";
@@ -1045,7 +1045,7 @@ var SelectedItem = /*#__PURE__*/function () {
1045
1045
  var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
1046
1046
  _classCallCheck(this, SelectedItem);
1047
1047
  _defineProperty(this, "values", []);
1048
- _defineProperty(this, "nameRenderkey", (0,shared_namespaceObject.random)(4));
1048
+ _defineProperty(this, "nameRenderKey", (0,shared_namespaceObject.random)(4));
1049
1049
  this.searchItem = searchItem;
1050
1050
  this.type = type;
1051
1051
  this.id = searchItem.id;
@@ -1121,7 +1121,7 @@ var SelectedItem = /*#__PURE__*/function () {
1121
1121
  }, {
1122
1122
  key: "addValue",
1123
1123
  value: function addValue(item) {
1124
- this.nameRenderkey = (0,shared_namespaceObject.random)(4);
1124
+ this.nameRenderKey = (0,shared_namespaceObject.random)(4);
1125
1125
  if (this.multiple) {
1126
1126
  var index = this.values.findIndex(function (val) {
1127
1127
  return val.id === item.id;
@@ -1409,9 +1409,9 @@ var SelectedItem = /*#__PURE__*/function () {
1409
1409
  "class": "menu-content"
1410
1410
  }, [(_this$list = this.list) === null || _this$list === void 0 ? void 0 : _this$list.map(function (item) {
1411
1411
  return (0,external_vue_namespaceObject.createVNode)("li", {
1412
- "class": "menu-item ".concat(item.disabled ? 'is-disabled' : '', " ").concat(_this.hoverId === item.id && !item.disabled ? 'is-hover' : ''),
1413
- "key": item.id,
1414
1412
  "id": item.id,
1413
+ "key": item.id,
1414
+ "class": "menu-item ".concat(item.disabled ? 'is-disabled' : '', " ").concat(_this.hoverId === item.id && !item.disabled ? 'is-hover' : ''),
1415
1415
  "tabindex": "-1",
1416
1416
  "onClick": function onClick() {
1417
1417
  return !item.disabled && _this.handleClick(item);
@@ -1421,8 +1421,8 @@ var SelectedItem = /*#__PURE__*/function () {
1421
1421
  return _this.handleSelectedChange(e, item);
1422
1422
  }
1423
1423
  }, [(0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
1424
- "modelValue": _this.selected.includes(item.id),
1425
- "class": "is-selected"
1424
+ "class": "is-selected",
1425
+ "modelValue": _this.selected.includes(item.id)
1426
1426
  }, null)]), _this.getSearchNode(item)])]);
1427
1427
  })]);
1428
1428
  var getListMenu = function getListMenu() {
@@ -1434,17 +1434,17 @@ var SelectedItem = /*#__PURE__*/function () {
1434
1434
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
1435
1435
  "class": "menu-condition-title"
1436
1436
  }, [_this.t.logical]), (0,external_vue_namespaceObject.createVNode)(radio_namespaceObject["default"], {
1437
+ "label": "|",
1437
1438
  "modelValue": _this.logical,
1438
- "onChange": _this.handleLogicalChange,
1439
- "label": "|"
1439
+ "onChange": _this.handleLogicalChange
1440
1440
  }, {
1441
1441
  "default": function _default() {
1442
1442
  return [_this.t.or, (0,external_vue_namespaceObject.createTextVNode)(" |")];
1443
1443
  }
1444
1444
  }), (0,external_vue_namespaceObject.createVNode)(radio_namespaceObject["default"], {
1445
+ "label": "&",
1445
1446
  "modelValue": _this.logical,
1446
- "onChange": _this.handleLogicalChange,
1447
- "label": "&"
1447
+ "onChange": _this.handleLogicalChange
1448
1448
  }, {
1449
1449
  "default": function _default() {
1450
1450
  return [_this.t.and, (0,external_vue_namespaceObject.createTextVNode)(" &")];
@@ -1527,7 +1527,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1527
1527
  return [];
1528
1528
  }
1529
1529
  },
1530
- defautUsingItem: Object,
1530
+ defaultUsingItem: Object,
1531
1531
  mode: {
1532
1532
  type: String,
1533
1533
  "default": SearchInputMode.DEFAULT
@@ -1550,10 +1550,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1550
1550
  var showNoSelectValueError = (0,external_vue_namespaceObject.ref)(false);
1551
1551
  var isFocus = (0,external_vue_namespaceObject.ref)(false);
1552
1552
  var showPopover = (0,external_vue_namespaceObject.ref)(false);
1553
- var usingItem = (0,external_vue_namespaceObject.ref)(props.defautUsingItem);
1553
+ var usingItem = (0,external_vue_namespaceObject.ref)(props.defaultUsingItem);
1554
1554
  var menuHoverId = (0,external_vue_namespaceObject.ref)('');
1555
1555
  var loading = (0,external_vue_namespaceObject.ref)(false);
1556
- var debounceSetMenuList = (0,shared_namespaceObject.debounce)(300, setMenuList);
1556
+ var debounceSetMenuList = (0,shared_namespaceObject.debounce)(100, setMenuList);
1557
1557
  // const selectMenuList = ref<ICommonItem[]>([]);
1558
1558
  var isBindEvent = false;
1559
1559
  var remoteMenuList = (0,external_vue_namespaceObject.ref)([]);
@@ -1562,7 +1562,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1562
1562
  editKey = _useSearchSelectInjec.editKey,
1563
1563
  onValidate = _useSearchSelectInjec.onValidate,
1564
1564
  searchData = _useSearchSelectInjec.searchData;
1565
- var valueLoagic = (0,external_vue_namespaceObject.computed)(function () {
1565
+ var valueLogic = (0,external_vue_namespaceObject.computed)(function () {
1566
1566
  var _usingItem$value;
1567
1567
  return ((_usingItem$value = usingItem.value) === null || _usingItem$value === void 0 ? void 0 : _usingItem$value.logical) || SearchLogical.OR;
1568
1568
  });
@@ -1588,7 +1588,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1588
1588
  if (shouldBindEvent) {
1589
1589
  if (!isBindEvent) {
1590
1590
  var _menuList$value$find;
1591
- menuHoverId.value = props.valueBehavior === ValueBehavior.NEEDKEY ? ((_menuList$value$find = menuList.value.find(function (item) {
1591
+ menuHoverId.value = props.valueBehavior === ValueBehavior.NEED_KEY ? ((_menuList$value$find = menuList.value.find(function (item) {
1592
1592
  return !item.disabled;
1593
1593
  })) === null || _menuList$value$find === void 0 ? void 0 : _menuList$value$find.id) || '' : '';
1594
1594
  isBindEvent = true;
@@ -1597,7 +1597,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1597
1597
  } else {
1598
1598
  document.removeEventListener('keydown', handleDocumentKeydown);
1599
1599
  isBindEvent = false;
1600
- if (props.valueBehavior !== ValueBehavior.NEEDKEY) {
1600
+ if (props.valueBehavior !== ValueBehavior.NEED_KEY) {
1601
1601
  menuHoverId.value = '';
1602
1602
  }
1603
1603
  }
@@ -1635,9 +1635,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1635
1635
  }
1636
1636
  }
1637
1637
  function documentEnterEvent(e) {
1638
+ var _menuList$value2;
1638
1639
  if (!isBindEvent) return;
1639
1640
  e.preventDefault();
1640
- var item = menuList.value.find(function (item) {
1641
+ var item = (_menuList$value2 = menuList.value) === null || _menuList$value2 === void 0 ? void 0 : _menuList$value2.find(function (item) {
1641
1642
  return item.id === menuHoverId.value;
1642
1643
  });
1643
1644
  item && handleSelectItem(item);
@@ -1669,16 +1670,23 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1669
1670
  showPopover.value = false;
1670
1671
  emit('focus', isFocus.value);
1671
1672
  }
1672
- function handleInputFocus() {
1673
+ var isOriginFocus = false;
1674
+ function handleInputFocus(event) {
1675
+ if (isOriginFocus) return;
1673
1676
  showNoSelectValueError.value = false;
1674
1677
  if (props.mode === SearchInputMode.EDIT && usingItem.value && !isFocus.value) {
1675
1678
  var nodeList = Array.from(inputRef.value.querySelectorAll("[data-type=\"".concat(usingItem.value.values.length ? 'value' : usingItem.value.type, "\"]")));
1676
1679
  if (!nodeList.length) return;
1680
+ event === null || event === void 0 || event.preventDefault();
1677
1681
  var range = document.createRange();
1678
1682
  var selection = window.getSelection();
1679
1683
  range.selectNodeContents(nodeList.at(-1));
1680
1684
  selection === null || selection === void 0 || selection.removeAllRanges();
1681
- selection.addRange(range); // 注意这里会触发focu事件
1685
+ isOriginFocus = true;
1686
+ setTimeout(function () {
1687
+ isOriginFocus = false;
1688
+ }, 200);
1689
+ selection.addRange(range); // 注意这里会触发focus事件
1682
1690
  setInputFocus(true, false);
1683
1691
  return;
1684
1692
  }
@@ -1689,7 +1697,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1689
1697
  event.preventDefault();
1690
1698
  var formattedText = event.clipboardData.getData('text').trim();
1691
1699
  if (!usingItem.value) {
1692
- var formateItem = str2SeletedItem(formattedText);
1700
+ var formateItem = str2SelectedItem(formattedText);
1693
1701
  if (formateItem) {
1694
1702
  usingItem.value = formateItem;
1695
1703
  setInputFocus(true, true);
@@ -1697,7 +1705,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1697
1705
  }
1698
1706
  keyword.value = formattedText.split(ValueSplitRegex).filter(function (v) {
1699
1707
  return v.trim() && !ValueSplitTestRegex.test(v);
1700
- }).join(" ".concat(valueLoagic.value, " "));
1708
+ }).join(" ".concat(valueLogic.value, " "));
1701
1709
  inputRef.value.innerText = keyword.value;
1702
1710
  setInputFocus();
1703
1711
  debounceSetMenuList();
@@ -1720,9 +1728,15 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1720
1728
  switch (event.code) {
1721
1729
  case 'Enter':
1722
1730
  case 'NumpadEnter':
1723
- if (props.valueBehavior === ValueBehavior.NEEDKEY && menuList.value.some(function (item) {
1731
+ if (props.valueBehavior === ValueBehavior.NEED_KEY && menuList.value.some(function (item) {
1724
1732
  return item.id === menuHoverId.value;
1725
- })) return;
1733
+ })) {
1734
+ var _keyword$value;
1735
+ if (!usingItem.value && (_keyword$value = keyword.value) !== null && _keyword$value !== void 0 && _keyword$value.length) {
1736
+ event.preventDefault();
1737
+ }
1738
+ return;
1739
+ }
1726
1740
  handleKeyEnter(event).then(function (v) {
1727
1741
  return v && clearInput();
1728
1742
  });
@@ -1755,7 +1769,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1755
1769
  _context.next = 9;
1756
1770
  break;
1757
1771
  }
1758
- if (!(!keyword.value || props.valueBehavior === ValueBehavior.NEEDKEY)) {
1772
+ if (!(!keyword.value || props.valueBehavior === ValueBehavior.NEED_KEY)) {
1759
1773
  _context.next = 6;
1760
1774
  break;
1761
1775
  }
@@ -1809,7 +1823,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1809
1823
  var _usingItem$value3;
1810
1824
  // 删除已选择项
1811
1825
  if (!usingItem.value && !keyword.value) {
1826
+ menuHoverId.value = '';
1812
1827
  emit('delete');
1828
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
1813
1829
  setTimeout(setMenuList, 16);
1814
1830
  return;
1815
1831
  }
@@ -1857,7 +1873,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1857
1873
  id: (_item$realId = item.realId) !== null && _item$realId !== void 0 ? _item$realId : item.id
1858
1874
  }), type);
1859
1875
  selectedItem.addValues(item.value.name, false);
1860
- if (!(props.valueBehavior === ValueBehavior.NEEDKEY && menuHoverId.value)) {
1876
+ if (!(props.valueBehavior === ValueBehavior.NEED_KEY && menuHoverId.value)) {
1861
1877
  _context2.next = 8;
1862
1878
  break;
1863
1879
  }
@@ -1900,7 +1916,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1900
1916
  setSelectedItem();
1901
1917
  }
1902
1918
  showPopover.value = isCondition || !!usingItem.value.children.length;
1903
- setInputFocus(props.valueBehavior === ValueBehavior.NEEDKEY && !!menuHoverId.value);
1919
+ setInputFocus(props.valueBehavior === ValueBehavior.NEED_KEY && !!menuHoverId.value);
1904
1920
  return _context2.abrupt("return");
1905
1921
  case 27:
1906
1922
  if (usingItem.value) {
@@ -1919,7 +1935,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1919
1935
  if (!usingItem.value.multiple) {
1920
1936
  setSelectedItem();
1921
1937
  }
1922
- if (props.valueBehavior === ValueBehavior.NEEDKEY && (_usingItem$value12 = usingItem.value) !== null && _usingItem$value12 !== void 0 && _usingItem$value12.multiple) {
1938
+ if (props.valueBehavior === ValueBehavior.NEED_KEY && (_usingItem$value12 = usingItem.value) !== null && _usingItem$value12 !== void 0 && _usingItem$value12.multiple) {
1923
1939
  setInputFocus();
1924
1940
  }
1925
1941
  case 34:
@@ -1930,7 +1946,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1930
1946
  }));
1931
1947
  return _handleSelectItem.apply(this, arguments);
1932
1948
  }
1933
- function handleSelectCondtionItem(item) {
1949
+ function handleSelectConditionItem(item) {
1934
1950
  handleSelectItem(item, 'condition');
1935
1951
  }
1936
1952
  function handleMenuFooterClick(item) {
@@ -2039,7 +2055,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2039
2055
  function _setMenuList() {
2040
2056
  _setMenuList = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee5() {
2041
2057
  var _props$data, _usingItem$value$sear, _usingItem$value$valu;
2042
- var list, _usingItem$value14, _keyword$value2, hoverItem;
2058
+ var list, _usingItem$value14, _keyword$value3, hoverItem;
2043
2059
  return regenerator_default().wrap(function _callee5$(_context5) {
2044
2060
  while (1) switch (_context5.prev = _context5.next) {
2045
2061
  case 0:
@@ -2060,7 +2076,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2060
2076
  break;
2061
2077
  case 9:
2062
2078
  if (!(usingItem !== null && usingItem !== void 0 && usingItem.value)) {
2063
- if (!((_keyword$value2 = keyword.value) !== null && _keyword$value2 !== void 0 && _keyword$value2.length)) {
2079
+ if (!((_keyword$value3 = keyword.value) !== null && _keyword$value3 !== void 0 && _keyword$value3.length)) {
2064
2080
  list = props.data.filter(function (item) {
2065
2081
  return !item.isSelected;
2066
2082
  }).slice();
@@ -2118,7 +2134,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2118
2134
  }
2119
2135
  case 10:
2120
2136
  menuList.value = list;
2121
- if (props.valueBehavior === ValueBehavior.NEEDKEY) {
2137
+ if (props.valueBehavior === ValueBehavior.NEED_KEY) {
2122
2138
  hoverItem = list.find(function (item) {
2123
2139
  return !item.disabled;
2124
2140
  });
@@ -2145,7 +2161,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2145
2161
  return regenerator_default().wrap(function _callee6$(_context6) {
2146
2162
  while (1) switch (_context6.prev = _context6.next) {
2147
2163
  case 0:
2148
- formatItem = str2SeletedItem(keyword.value);
2164
+ formatItem = str2SelectedItem(keyword.value);
2149
2165
  valueList = (formatItem === null || formatItem === void 0 ? void 0 : formatItem.values) || [{
2150
2166
  id: keyword.value,
2151
2167
  name: keyword.value
@@ -2183,7 +2199,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2183
2199
  case 0:
2184
2200
  valueList = [];
2185
2201
  if (usingItem.value.isSpecialType()) {
2186
- formatItem = str2SeletedItem(keyword.value);
2202
+ formatItem = str2SelectedItem(keyword.value);
2187
2203
  if (formatItem) {
2188
2204
  usingItem.value = formatItem;
2189
2205
  valueList = formatItem.values;
@@ -2229,15 +2245,16 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2229
2245
  selection.addRange(range);
2230
2246
  }
2231
2247
  function setInputFocus() {
2232
- var refleshMenuList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
2248
+ var refreshMenuList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
2233
2249
  var needCursorToEnd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
2234
- if (refleshMenuList) {
2250
+ if (refreshMenuList) {
2251
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
2235
2252
  setTimeout(setMenuList, 16);
2236
2253
  }
2237
2254
  isFocus.value = true;
2238
2255
  showPopover.value = true;
2239
2256
  showNoSelectValueError.value = false;
2240
- needCursorToEnd && (0,external_vue_namespaceObject.nextTick)(setCursorToEnd);
2257
+ !props.getMenuList && needCursorToEnd && (0,external_vue_namespaceObject.nextTick)(setCursorToEnd);
2241
2258
  emit('focus', isFocus.value);
2242
2259
  }
2243
2260
  function setSelectedItem(item) {
@@ -2258,7 +2275,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2258
2275
  return inputRef.value.innerText = '';
2259
2276
  });
2260
2277
  }
2261
- function str2SeletedItem(str) {
2278
+ function str2SelectedItem(str) {
2262
2279
  var _str$split = str.split(':'),
2263
2280
  _str$split2 = _slicedToArray(_str$split, 2),
2264
2281
  key = _str$split2[0],
@@ -2276,8 +2293,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2276
2293
  return undefined;
2277
2294
  }
2278
2295
  function deleteInputTextNode() {
2279
- var _keyword$value;
2280
- if ((_keyword$value = keyword.value) !== null && _keyword$value !== void 0 && _keyword$value.length) {
2296
+ var _keyword$value2;
2297
+ if ((_keyword$value2 = keyword.value) !== null && _keyword$value2 !== void 0 && _keyword$value2.length) {
2281
2298
  keyword.value = '';
2282
2299
  var nodes = Array.from(inputRef.value.childNodes);
2283
2300
  nodes.forEach(function (node) {
@@ -2331,13 +2348,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2331
2348
  return v && clearInput();
2332
2349
  });
2333
2350
  }
2351
+ function refleshMenuHover() {
2352
+ if (!usingItem.value) {
2353
+ menuHoverId.value = '';
2354
+ }
2355
+ }
2334
2356
  // expose
2335
2357
  expose({
2336
2358
  inputFocusForWrapper: inputFocusForWrapper,
2337
2359
  inputEnterForWrapper: inputEnterForWrapper,
2338
2360
  inputClearForWrapper: inputClearForWrapper,
2339
2361
  handleInputFocus: handleInputFocus,
2340
- isFocus: isFocus
2362
+ isFocus: isFocus,
2363
+ refleshMenuHover: refleshMenuHover
2341
2364
  });
2342
2365
  return {
2343
2366
  popoverRef: popoverRef,
@@ -2360,7 +2383,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2360
2383
  handleLogicalChange: handleLogicalChange,
2361
2384
  handleInputKeyup: handleInputKeyup,
2362
2385
  handleSelectItem: handleSelectItem,
2363
- handleSelectCondtionItem: handleSelectCondtionItem,
2386
+ handleSelectConditionItem: handleSelectConditionItem,
2364
2387
  handleMenuFooterClick: handleMenuFooterClick,
2365
2388
  resolveClassName: resolveClassName,
2366
2389
  inputFocusForWrapper: inputFocusForWrapper,
@@ -2368,6 +2391,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2368
2391
  inputClearForWrapper: inputClearForWrapper,
2369
2392
  deleteInputTextNode: deleteInputTextNode,
2370
2393
  customPanelSubmit: customPanelSubmit,
2394
+ refleshMenuHover: refleshMenuHover,
2371
2395
  t: t
2372
2396
  };
2373
2397
  },
@@ -2397,32 +2421,32 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2397
2421
  "data-placeholder": !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
2398
2422
  "data-tips": placeholder || '',
2399
2423
  "spellcheck": "false",
2400
- "onPaste": _this.handleInputPaste,
2401
2424
  "onFocus": _this.handleInputFocus,
2402
2425
  "onInput": _this.handleInputChange,
2403
- "onKeydown": _this.handleInputKeyup
2426
+ "onKeydown": _this.handleInputKeyup,
2427
+ "onPaste": _this.handleInputPaste
2404
2428
  }, [((_this$usingItem = _this.usingItem) === null || _this$usingItem === void 0 ? void 0 : _this$usingItem.name) && (!_this.usingItem.isSpecialType() ? (0,external_vue_namespaceObject.createVNode)("span", {
2429
+ "key": _this.usingItem.nameRenderKey,
2430
+ "style": {
2431
+ color: '#979BA5'
2432
+ },
2433
+ "contenteditable": false,
2405
2434
  "data-key": _this.usingItem.name,
2406
2435
  "data-type": _this.usingItem.type,
2407
- "key": _this.usingItem.nameRenderkey,
2408
2436
  "onMousedown": function onMousedown(e) {
2409
2437
  return e.preventDefault();
2410
- },
2411
- "contenteditable": false,
2412
- "style": {
2413
- color: '#979BA5'
2414
2438
  }
2415
2439
  }, [_this.usingItem.name, (0,external_vue_namespaceObject.createTextVNode)(":\xA0")]) : (0,external_vue_namespaceObject.createVNode)("span", {
2440
+ "key": _this.usingItem.nameRenderKey,
2416
2441
  "data-key": _this.usingItem.name,
2417
- "data-type": _this.usingItem.type,
2418
- "key": _this.usingItem.nameRenderkey
2442
+ "data-type": _this.usingItem.type
2419
2443
  }, [_this.usingItem.name])), (_this$usingItem2 = _this.usingItem) === null || _this$usingItem2 === void 0 || (_this$usingItem2 = _this$usingItem2.values) === null || _this$usingItem2 === void 0 ? void 0 : _this$usingItem2.map(function (item, index) {
2420
2444
  return (0,external_vue_namespaceObject.createVNode)("span", {
2421
2445
  "key": index,
2422
- "data-key": item.name,
2423
- "data-type": "value",
2424
2446
  "data-id": item.id,
2425
- "data-index": index
2447
+ "data-index": index,
2448
+ "data-key": item.name,
2449
+ "data-type": "value"
2426
2450
  }, [item.name, index < _this.usingItem.values.length - 1 ? " ".concat(_this.usingItem.logical, " ") : '']);
2427
2451
  })]), [[(0,external_vue_namespaceObject.resolveDirective)("clickoutside"), _this.handleClickOutside]]);
2428
2452
  };
@@ -2450,29 +2474,29 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2450
2474
  "ref": "popoverRef",
2451
2475
  "class": _this.resolveClassName('search-select-popover')
2452
2476
  }, [(0,external_vue_namespaceObject.createVNode)(menu, {
2453
- "list": _this.menuList,
2477
+ "conditions": showCondition ? _this.conditions : [],
2478
+ "hoverId": _this.menuHoverId,
2454
2479
  "keyword": _this.keyword,
2480
+ "list": _this.menuList,
2481
+ "logical": (_this$usingItem4 = _this.usingItem) === null || _this$usingItem4 === void 0 ? void 0 : _this$usingItem4.logical,
2455
2482
  "multiple": !!multiple,
2456
- "hoverId": _this.menuHoverId,
2457
2483
  "selected": (values === null || values === void 0 ? void 0 : values.map(function (item) {
2458
2484
  return item.id;
2459
2485
  })) || [],
2460
- "conditions": showCondition ? _this.conditions : [],
2461
- "logical": (_this$usingItem4 = _this.usingItem) === null || _this$usingItem4 === void 0 ? void 0 : _this$usingItem4.logical,
2462
2486
  "showLogical": (_this$usingItem5 = _this.usingItem) === null || _this$usingItem5 === void 0 ? void 0 : _this$usingItem5.showLogical,
2463
- "onUpdate:logical": _this.handleLogicalChange,
2487
+ "onFooterClick": _this.handleMenuFooterClick,
2488
+ "onSelectCondition": _this.handleSelectConditionItem,
2464
2489
  "onSelectItem": _this.handleSelectItem,
2465
- "onSelectCondition": _this.handleSelectCondtionItem,
2466
- "onFooterClick": _this.handleMenuFooterClick
2490
+ "onUpdate:logical": _this.handleLogicalChange
2467
2491
  }, null)]) : undefined;
2468
2492
  };
2469
2493
  return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
2470
- "trigger": "manual",
2471
- "theme": "light",
2472
- "placement": "bottom-start",
2473
2494
  "arrow": false,
2474
2495
  "disableOutsideClick": true,
2475
- "isShow": showPopover
2496
+ "isShow": showPopover,
2497
+ "placement": "bottom-start",
2498
+ "theme": "light",
2499
+ "trigger": "manual"
2476
2500
  }, {
2477
2501
  "default": inputContent,
2478
2502
  content: popoverContent
@@ -2551,7 +2575,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
2551
2575
  function handleDeleteSelected(index) {
2552
2576
  emit('delete', index);
2553
2577
  }
2554
- function handleEditSeleted(e, item, index) {
2578
+ function handleEditSelected(e, item, index) {
2555
2579
  e.preventDefault();
2556
2580
  e.stopPropagation();
2557
2581
  onEditClick(item, index);
@@ -2576,7 +2600,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
2576
2600
  var _selectedInputRef$val;
2577
2601
  return !((_selectedInputRef$val = selectedInputRef.value) !== null && _selectedInputRef$val !== void 0 && _selectedInputRef$val.contains(target));
2578
2602
  }
2579
- function copySeletedItem(item) {
2603
+ function copySelectedItem(item) {
2580
2604
  var newItem = new SelectedItem(item.searchItem, item.type);
2581
2605
  newItem.values = item.values.slice();
2582
2606
  newItem.logical = item.logical || SearchLogical.OR;
@@ -2586,9 +2610,9 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
2586
2610
  inputRef: inputRef,
2587
2611
  selectedInputRef: selectedInputRef,
2588
2612
  editKey: editKey,
2589
- copySeletedItem: copySeletedItem,
2613
+ copySelectedItem: copySelectedItem,
2590
2614
  handleDeleteSelected: handleDeleteSelected,
2591
- handleEditSeleted: handleEditSeleted,
2615
+ handleEditSelected: handleEditSelected,
2592
2616
  handleInputOutside: handleInputOutside,
2593
2617
  handleAddSelected: handleAddSelected,
2594
2618
  handleInputFocus: handleInputFocus
@@ -2598,19 +2622,19 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
2598
2622
  var _this = this;
2599
2623
  var contentComponent = function contentComponent(item, index) {
2600
2624
  return _this.editKey === "".concat(item.id, "_").concat(index) ? (0,external_vue_namespaceObject.createVNode)("div", {
2601
- "class": "selected-input",
2602
2625
  "key": _this.editKey.toString(),
2603
- "ref": "selectedInputRef"
2626
+ "ref": "selectedInputRef",
2627
+ "class": "selected-input"
2604
2628
  }, [(0,external_vue_namespaceObject.createVNode)(input, {
2605
- "ref": "inputRef",
2606
2629
  "key": _this.editKey.toString(),
2607
- "mode": SearchInputMode.EDIT,
2608
- "data": _this.data,
2609
- "showCondition": false,
2610
- "conditions": _this.conditions,
2611
- "defautUsingItem": _this.copySeletedItem(item),
2630
+ "ref": "inputRef",
2612
2631
  "clickOutside": _this.handleInputOutside,
2632
+ "conditions": _this.conditions,
2633
+ "data": _this.data,
2634
+ "defaultUsingItem": _this.copySelectedItem(item),
2613
2635
  "getMenuList": _this.getMenuList,
2636
+ "mode": SearchInputMode.EDIT,
2637
+ "showCondition": false,
2614
2638
  "validateValues": _this.validateValues,
2615
2639
  "valueBehavior": _this.valueBehavior,
2616
2640
  "onAdd": function onAdd(v) {
@@ -2618,12 +2642,12 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
2618
2642
  },
2619
2643
  "onFocus": _this.handleInputFocus
2620
2644
  }, selected_objectSpread({}, _this.$slots))]) : (0,external_vue_namespaceObject.createVNode)("li", {
2621
- "class": "search-container-selected ".concat(!(_this.overflowIndex >= 0 ? index < _this.overflowIndex : index >= 0) ? 'hidden-selected' : ''),
2622
- "key": "".concat(item.id, "_").concat(index)
2645
+ "key": "".concat(item.id, "_").concat(index),
2646
+ "class": "search-container-selected ".concat(!(_this.overflowIndex >= 0 ? index < _this.overflowIndex : index >= 0) ? 'hidden-selected' : '')
2623
2647
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
2624
2648
  "class": "selected-name",
2625
2649
  "onClick": function onClick(e) {
2626
- return _this.handleEditSeleted(e, item, index);
2650
+ return _this.handleEditSelected(e, item, index);
2627
2651
  }
2628
2652
  }, [item.inputInnerText]), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
2629
2653
  "class": "selected-clear",
@@ -2679,7 +2703,8 @@ function search_select_objectSpread(e) { for (var r = 1; r < arguments.length; r
2679
2703
 
2680
2704
 
2681
2705
  var INPUT_PADDING_WIDTH = 40;
2682
- var SELETED_MARGING_RIGHT = 6;
2706
+ var SELECTED_MARGIN_RIGHT = 6;
2707
+ var INPUT_MIN_HEIGHT = 26;
2683
2708
  var SearchSelectProps = {
2684
2709
  data: {
2685
2710
  type: Array,
@@ -2693,18 +2718,10 @@ var SearchSelectProps = {
2693
2718
  return [];
2694
2719
  }
2695
2720
  },
2696
- shrink: {
2697
- type: Boolean,
2698
- "default": true
2699
- },
2700
2721
  maxHeight: {
2701
2722
  type: Number,
2702
2723
  "default": 120
2703
2724
  },
2704
- minHeight: {
2705
- type: Number,
2706
- "default": 26
2707
- },
2708
2725
  conditions: {
2709
2726
  type: Array,
2710
2727
  "default": function _default() {
@@ -2726,7 +2743,7 @@ var SearchSelectProps = {
2726
2743
  type: String,
2727
2744
  "default": ValueBehavior.ALL,
2728
2745
  validator: function validator(v) {
2729
- return [ValueBehavior.ALL, ValueBehavior.NEEDKEY].includes(v);
2746
+ return [ValueBehavior.ALL, ValueBehavior.NEED_KEY].includes(v);
2730
2747
  }
2731
2748
  }
2732
2749
  // deleteBehavior: {
@@ -2800,13 +2817,13 @@ var SearchSelectProps = {
2800
2817
  }
2801
2818
  var list = [];
2802
2819
  v.forEach(function (item) {
2803
- var seleted = selectedList.value.find(function (set) {
2820
+ var selected = selectedList.value.find(function (set) {
2804
2821
  return set.id === item.id && set.name === item.name;
2805
2822
  });
2806
- if ((seleted === null || seleted === void 0 ? void 0 : seleted.toValueKey()) === JSON.stringify(item)) {
2807
- seleted.values = item.values || [];
2808
- seleted.logical = item.logical || SearchLogical.OR;
2809
- list.push(seleted);
2823
+ if ((selected === null || selected === void 0 ? void 0 : selected.toValueKey()) === JSON.stringify(item)) {
2824
+ selected.values = item.values || [];
2825
+ selected.logical = item.logical || SearchLogical.OR;
2826
+ list.push(selected);
2810
2827
  } else {
2811
2828
  var _item$values;
2812
2829
  var searchItem = props.data.find(function (set) {
@@ -2883,18 +2900,18 @@ var SearchSelectProps = {
2883
2900
  return;
2884
2901
  }
2885
2902
  var inputEl = wrapRef.value.querySelector(".".concat(resolveClassName('search-select-container')));
2886
- var maxWidth = wrapRef.value.querySelector('.search-container').clientWidth - SELETED_MARGING_RIGHT - 2;
2903
+ var maxWidth = wrapRef.value.querySelector('.search-container').clientWidth - SELECTED_MARGIN_RIGHT - 2;
2887
2904
  var tagList = inputEl.querySelectorAll('.search-container-selected:not(.overflow-selected)');
2888
2905
  var width = 0;
2889
2906
  var index = 0;
2890
2907
  var i = 0;
2891
2908
  while (index === 0 && width <= maxWidth - INPUT_PADDING_WIDTH && i <= tagList.length - 1) {
2892
2909
  var el = tagList[i];
2893
- if (el.clientHeight > props.minHeight) {
2910
+ if (el.clientHeight > INPUT_MIN_HEIGHT) {
2894
2911
  overflowIndex.value = i;
2895
2912
  return;
2896
2913
  }
2897
- width += el ? el.clientWidth + SELETED_MARGING_RIGHT : 0;
2914
+ width += el ? el.clientWidth + SELECTED_MARGIN_RIGHT : 0;
2898
2915
  if (width >= maxWidth - INPUT_PADDING_WIDTH) {
2899
2916
  index = i;
2900
2917
  }
@@ -2933,6 +2950,7 @@ var SearchSelectProps = {
2933
2950
  var list = selectedList.value.slice();
2934
2951
  list.splice(typeof index === 'number' ? index : selectedList.value.length - 1, 1);
2935
2952
  onValidate('');
2953
+ inputRef.value.refleshMenuHover();
2936
2954
  emit('update:modelValue', list.map(function (item) {
2937
2955
  return item.toValue();
2938
2956
  }));
@@ -2980,7 +2998,7 @@ var SearchSelectProps = {
2980
2998
  var _this = this,
2981
2999
  _this$$slots$prepend,
2982
3000
  _this$$slots2;
2983
- var maxHeight = "".concat(!this.shrink || this.isFocus ? this.maxHeight : this.minHeight, "px");
3001
+ var maxHeight = "".concat(this.isFocus ? this.maxHeight : INPUT_MIN_HEIGHT, "px");
2984
3002
  var showCondition = !!this.selectedList.length && this.selectedList.slice(-1)[0].type !== 'condition';
2985
3003
  var menuSlots = Object.assign({}, this.$slots.menu ? {
2986
3004
  menu: function menu(data) {
@@ -2990,24 +3008,24 @@ var SearchSelectProps = {
2990
3008
  } : {});
2991
3009
  // render
2992
3010
  return (0,external_vue_namespaceObject.createVNode)("div", {
2993
- "class": this.resolveClassName('search-select'),
2994
- "ref": "wrapRef"
3011
+ "ref": "wrapRef",
3012
+ "class": this.resolveClassName('search-select')
2995
3013
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
2996
3014
  "class": _defineProperty(_defineProperty({}, this.resolveClassName('search-select-container'), true), 'is-focus', this.isFocus),
2997
3015
  "onClick": this.handleWrapClick
2998
3016
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
2999
3017
  "class": "search-prefix"
3000
3018
  }, [(_this$$slots$prepend = (_this$$slots2 = this.$slots).prepend) === null || _this$$slots$prepend === void 0 ? void 0 : _this$$slots$prepend.call(_this$$slots2)]), (0,external_vue_namespaceObject.createVNode)("div", {
3001
- "class": "search-container",
3002
3019
  "style": {
3003
3020
  maxHeight: maxHeight
3004
- }
3021
+ },
3022
+ "class": "search-container"
3005
3023
  }, [(0,external_vue_namespaceObject.createVNode)(selected, {
3006
- "data": this.copyData,
3007
3024
  "conditions": this.localConditions,
3008
- "selectedList": this.selectedList,
3009
- "overflowIndex": this.overflowIndex,
3025
+ "data": this.copyData,
3010
3026
  "getMenuList": this.getMenuList,
3027
+ "overflowIndex": this.overflowIndex,
3028
+ "selectedList": this.selectedList,
3011
3029
  "validateValues": this.validateValues,
3012
3030
  "valueBehavior": this.valueBehavior,
3013
3031
  "onDelete": this.handleDeleteSelected,
@@ -3016,13 +3034,13 @@ var SearchSelectProps = {
3016
3034
  "class": "search-container-input"
3017
3035
  }, [(0,external_vue_namespaceObject.createVNode)(input, {
3018
3036
  "ref": "inputRef",
3019
- "data": this.copyData,
3020
- "showInputBefore": !this.selectedList.length,
3021
- "showCondition": showCondition,
3022
- "conditions": this.localConditions,
3023
- "placeholder": this.placeholder || this.t.pleaseSelect,
3024
3037
  "clickOutside": this.handleInputOutside,
3038
+ "conditions": this.localConditions,
3039
+ "data": this.copyData,
3025
3040
  "getMenuList": this.getMenuList,
3041
+ "placeholder": this.placeholder || this.t.pleaseSelect,
3042
+ "showCondition": showCondition,
3043
+ "showInputBefore": !this.selectedList.length,
3026
3044
  "validateValues": this.validateValues,
3027
3045
  "valueBehavior": this.valueBehavior,
3028
3046
  "onAdd": this.handleAddSelected,
@@ -3035,8 +3053,8 @@ var SearchSelectProps = {
3035
3053
  "class": "search-clear",
3036
3054
  "onClick": this.handleClearAll
3037
3055
  }, null), this.$slots.append ? this.$slots.append() : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Search, {
3038
- "onClick": this.handleClickSearch,
3039
- "class": "search-nextfix-icon ".concat(this.isFocus ? 'is-focus' : '')
3056
+ "class": "search-nextfix-icon ".concat(this.isFocus ? 'is-focus' : ''),
3057
+ "onClick": this.handleClickSearch
3040
3058
  }, null)])]), !!this.validateStr.length && (0,external_vue_namespaceObject.createVNode)("div", {
3041
3059
  "class": this.resolveClassName('search-select-tips')
3042
3060
  }, [this.$slots.validate ? this.$slots.validate() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.ExclamationCircleShape, {