bkui-vue 2.0.2-beta.9 → 2.0.2-beta.91

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 (343) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +166 -138
  4. package/dist/index.esm.js +24632 -18447
  5. package/dist/index.umd.js +166 -138
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/ja-jp.esm.js +2 -0
  9. package/dist/locale/ja-jp.esm.js.map +1 -0
  10. package/dist/locale/ja-jp.umd.js +2 -0
  11. package/dist/locale/ja-jp.umd.js.map +1 -0
  12. package/dist/locale/zh-cn.esm.js.map +1 -1
  13. package/dist/locale/zh-cn.umd.js.map +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/affix.variable.css +2 -1
  16. package/lib/affix/index.js +2 -2
  17. package/lib/alert/alert.variable.css +2 -1
  18. package/lib/alert/index.js +16 -5
  19. package/lib/animate-number/index.js +2 -2
  20. package/lib/backtop/backtop.variable.css +2 -1
  21. package/lib/backtop/index.js +2 -2
  22. package/lib/badge/badge.variable.css +2 -1
  23. package/lib/badge/index.js +2 -2
  24. package/lib/breadcrumb/breadcrumb.variable.css +2 -1
  25. package/lib/breadcrumb/index.js +3 -3
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +2 -1
  28. package/lib/button/index.js +3 -3
  29. package/lib/card/card.variable.css +2 -1
  30. package/lib/card/index.js +2 -2
  31. package/lib/cascader/cascader.css +52 -25
  32. package/lib/cascader/cascader.d.ts +309 -0
  33. package/lib/cascader/cascader.less +109 -75
  34. package/lib/cascader/cascader.variable.css +54 -26
  35. package/lib/cascader/index.d.ts +618 -0
  36. package/lib/cascader/index.js +147 -65
  37. package/lib/checkbox/checkbox.variable.css +2 -1
  38. package/lib/checkbox/index.js +5 -5
  39. package/lib/code-diff/code-diff.variable.css +2 -1
  40. package/lib/code-diff/index.js +2 -2
  41. package/lib/collapse/collapse.variable.css +2 -1
  42. package/lib/collapse/index.js +3 -3
  43. package/lib/collapse-transition/collapse-transition.variable.css +2 -1
  44. package/lib/collapse-transition/index.js +2 -2
  45. package/lib/color-picker/color-picker.variable.css +2 -1
  46. package/lib/color-picker/index.js +64 -55
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +2 -1
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +6 -6
  51. package/lib/container/container.variable.css +2 -1
  52. package/lib/container/index.js +5 -5
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +2 -1
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +79 -76
  57. package/lib/date-picker/panel/date-range.d.ts +2 -1
  58. package/lib/date-picker/panel/time.d.ts +1 -1
  59. package/lib/date-picker/utils.d.ts +5 -17
  60. package/lib/dialog/dialog.css +20 -1
  61. package/lib/dialog/dialog.variable.css +22 -2
  62. package/lib/dialog/index.js +13 -36
  63. package/lib/directives/index.js +8 -9
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +2 -1
  66. package/lib/divider/index.js +3 -3
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +2 -1
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +15 -10
  71. package/lib/exception/exception.variable.css +2 -1
  72. package/lib/exception/index.js +2 -2
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
  74. package/lib/fixed-navbar/index.js +2 -2
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +17 -4
  77. package/lib/form/form.less +25 -6
  78. package/lib/form/form.variable.css +19 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +43 -50
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +1 -1
  83. package/lib/icon/angle-double-left-line.js +1 -1
  84. package/lib/icon/angle-double-left.js +1 -1
  85. package/lib/icon/angle-double-right-line.js +1 -1
  86. package/lib/icon/angle-double-right.js +1 -1
  87. package/lib/icon/angle-double-up-line.js +1 -1
  88. package/lib/icon/angle-down-fill.js +1 -1
  89. package/lib/icon/angle-down-line.js +1 -1
  90. package/lib/icon/angle-down.js +1 -1
  91. package/lib/icon/angle-left.js +1 -1
  92. package/lib/icon/angle-right.js +1 -1
  93. package/lib/icon/angle-up-fill.js +1 -1
  94. package/lib/icon/angle-up.js +1 -1
  95. package/lib/icon/archive-fill.js +1 -1
  96. package/lib/icon/arrows-left.js +1 -1
  97. package/lib/icon/arrows-right.js +1 -1
  98. package/lib/icon/assistant.js +1 -1
  99. package/lib/icon/audio-fill.js +1 -1
  100. package/lib/icon/bk.js +1 -1
  101. package/lib/icon/circle.js +1 -1
  102. package/lib/icon/close-line.js +1 -1
  103. package/lib/icon/close.js +1 -1
  104. package/lib/icon/code.js +1 -1
  105. package/lib/icon/cog-shape.js +1 -1
  106. package/lib/icon/collapse-left.js +1 -1
  107. package/lib/icon/copy-shape.js +1 -1
  108. package/lib/icon/copy.js +1 -1
  109. package/lib/icon/data-shape.js +1 -1
  110. package/lib/icon/del.js +1 -1
  111. package/lib/icon/doc-fill.js +1 -1
  112. package/lib/icon/done.js +1 -1
  113. package/lib/icon/down-shape.js +1 -1
  114. package/lib/icon/down-small.js +1 -1
  115. package/lib/icon/edit-line.js +1 -1
  116. package/lib/icon/ellipsis.js +1 -1
  117. package/lib/icon/enlarge-line.js +1 -1
  118. package/lib/icon/error.js +1 -1
  119. package/lib/icon/excel-fill.js +1 -1
  120. package/lib/icon/exclamation-circle-shape.js +1 -1
  121. package/lib/icon/eye.js +1 -1
  122. package/lib/icon/filliscreen-line.js +1 -1
  123. package/lib/icon/fix-line.js +1 -1
  124. package/lib/icon/fix-shape.js +1 -1
  125. package/lib/icon/folder-open.js +1 -1
  126. package/lib/icon/folder-shape-open.js +1 -1
  127. package/lib/icon/folder-shape.js +1 -1
  128. package/lib/icon/folder.js +1 -1
  129. package/lib/icon/funnel.js +1 -1
  130. package/lib/icon/grag-fill.js +1 -1
  131. package/lib/icon/help-document-fill.js +1 -1
  132. package/lib/icon/help-fill.js +1 -1
  133. package/lib/icon/help.js +1 -1
  134. package/lib/icon/image-fill.js +1 -1
  135. package/lib/icon/img-error.js +1 -1
  136. package/lib/icon/img-placehoulder.js +1 -1
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +1 -1
  139. package/lib/icon/info.js +1 -1
  140. package/lib/icon/left-shape.js +1 -1
  141. package/lib/icon/left-turn-line.js +1 -1
  142. package/lib/icon/loading.js +1 -1
  143. package/lib/icon/narrow-line.js +1 -1
  144. package/lib/icon/original.js +1 -1
  145. package/lib/icon/pdf-fill.js +1 -1
  146. package/lib/icon/play-shape.js +1 -1
  147. package/lib/icon/plus.js +1 -1
  148. package/lib/icon/ppt-fill.js +1 -1
  149. package/lib/icon/qq.js +1 -1
  150. package/lib/icon/right-shape.js +1 -1
  151. package/lib/icon/right-turn-line.js +1 -1
  152. package/lib/icon/search.js +1 -1
  153. package/lib/icon/share.js +1 -1
  154. package/lib/icon/spinner.js +1 -1
  155. package/lib/icon/success.js +1 -1
  156. package/lib/icon/switcher-loading.js +1 -1
  157. package/lib/icon/text-all.js +1 -1
  158. package/lib/icon/text-file.js +1 -1
  159. package/lib/icon/text-fill.js +1 -1
  160. package/lib/icon/transfer.js +1 -1
  161. package/lib/icon/tree-application-shape.js +1 -1
  162. package/lib/icon/unfull-screen.js +1 -1
  163. package/lib/icon/unvisible.js +1 -1
  164. package/lib/icon/up-shape.js +1 -1
  165. package/lib/icon/upload.js +1 -1
  166. package/lib/icon/video-fill.js +1 -1
  167. package/lib/icon/warn.js +1 -1
  168. package/lib/icon/weixin-pro.js +1 -1
  169. package/lib/icon/weixin.js +1 -1
  170. package/lib/image/image-viewer.variable.css +2 -1
  171. package/lib/image/image.variable.css +2 -1
  172. package/lib/image/index.js +11 -12
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +22 -7
  175. package/lib/info-box/info-box.css +20 -1
  176. package/lib/info-box/info-box.d.ts +1 -0
  177. package/lib/info-box/info-box.less +28 -2
  178. package/lib/info-box/info-box.variable.css +23 -3
  179. package/lib/input/index.d.ts +45 -20
  180. package/lib/input/index.js +57 -29
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +35 -17
  183. package/lib/input/input.less +7 -0
  184. package/lib/input/input.variable.css +8 -1
  185. package/lib/link/index.js +2 -2
  186. package/lib/link/link.variable.css +2 -1
  187. package/lib/loading/index.js +15 -7
  188. package/lib/loading/loading.variable.css +2 -1
  189. package/lib/locale/index.d.ts +1 -0
  190. package/lib/locale/index.js +172 -4
  191. package/lib/locale/lang/ja-jp.d.ts +3 -0
  192. package/lib/menu/index.js +12 -9
  193. package/lib/menu/menu.css +5 -4
  194. package/lib/menu/menu.less +1 -0
  195. package/lib/menu/menu.variable.css +7 -5
  196. package/lib/menu/submenu.variable.css +2 -1
  197. package/lib/message/index.js +62 -28
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/message/messageConstructor.d.ts +1 -1
  200. package/lib/modal/index.js +19 -8
  201. package/lib/modal/modal.css +20 -1
  202. package/lib/modal/modal.variable.css +22 -2
  203. package/lib/navigation/index.js +3 -3
  204. package/lib/navigation/navigation.css +29 -29
  205. package/lib/navigation/navigation.less +29 -29
  206. package/lib/navigation/navigation.variable.css +31 -30
  207. package/lib/notify/index.js +43 -24
  208. package/lib/notify/notify.variable.css +2 -1
  209. package/lib/overflow-title/components/overflow-title.d.ts +6 -2
  210. package/lib/overflow-title/index.d.ts +12 -4
  211. package/lib/overflow-title/index.js +3 -3
  212. package/lib/overflow-title/props.d.ts +3 -1
  213. package/lib/pagination/index.js +22 -14
  214. package/lib/pagination/pagination.css +1 -0
  215. package/lib/pagination/pagination.less +1 -0
  216. package/lib/pagination/pagination.variable.css +3 -1
  217. package/lib/pop-confirm/index.d.ts +592 -0
  218. package/lib/pop-confirm/index.js +10 -6
  219. package/lib/pop-confirm/pop-confirm.d.ts +296 -0
  220. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  221. package/lib/pop-confirm/props.d.ts +148 -0
  222. package/lib/popover/index.d.ts +18 -10
  223. package/lib/popover/index.js +281 -76
  224. package/lib/popover/popover.d.ts +8 -4
  225. package/lib/popover/popover.variable.css +2 -1
  226. package/lib/popover/props.d.ts +3 -1
  227. package/lib/popover/use-floating.d.ts +2 -2
  228. package/lib/popover/use-popover-init.d.ts +2 -2
  229. package/lib/popover/use-popper-id.d.ts +3 -1
  230. package/lib/popover2/index.js +2 -2
  231. package/lib/preset.js +1 -1
  232. package/lib/process/index.js +2 -2
  233. package/lib/process/process.d.ts +1 -1
  234. package/lib/process/process.variable.css +2 -1
  235. package/lib/progress/index.js +4 -4
  236. package/lib/progress/progress.variable.css +2 -1
  237. package/lib/radio/index.js +5 -5
  238. package/lib/radio/radio.variable.css +2 -1
  239. package/lib/rate/index.js +3 -3
  240. package/lib/rate/rate.variable.css +2 -1
  241. package/lib/resize-layout/index.js +2 -2
  242. package/lib/resize-layout/resize-layout.css +1 -0
  243. package/lib/resize-layout/resize-layout.less +1 -0
  244. package/lib/resize-layout/resize-layout.variable.css +3 -1
  245. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  246. package/lib/scrollbar/index.js +6 -6
  247. package/lib/search-select/index.d.ts +43 -15
  248. package/lib/search-select/index.js +88 -37
  249. package/lib/search-select/input.d.ts +5 -1
  250. package/lib/search-select/search-select.d.ts +14 -5
  251. package/lib/search-select/search-select.variable.css +2 -1
  252. package/lib/search-select/selected.d.ts +10 -2
  253. package/lib/search-select/utils.d.ts +1 -0
  254. package/lib/select/common.d.ts +0 -1
  255. package/lib/select/index.d.ts +58 -14
  256. package/lib/select/index.js +67 -71
  257. package/lib/select/optionGroup.d.ts +12 -1
  258. package/lib/select/select.d.ts +21 -5
  259. package/lib/select/select.variable.css +2 -1
  260. package/lib/select/type.d.ts +1 -0
  261. package/lib/shared/index.d.ts +1 -1
  262. package/lib/shared/index.js +10 -10
  263. package/lib/shared/z-index-manager.d.ts +1 -1
  264. package/lib/sideslider/index.d.ts +129 -2
  265. package/lib/sideslider/index.js +149 -11
  266. package/lib/sideslider/sideslider.css +62 -0
  267. package/lib/sideslider/sideslider.d.ts +59 -1
  268. package/lib/sideslider/sideslider.less +83 -0
  269. package/lib/sideslider/sideslider.variable.css +64 -1
  270. package/lib/slider/index.d.ts +1 -1
  271. package/lib/slider/index.js +5 -4
  272. package/lib/slider/slider-button.d.ts +1 -1
  273. package/lib/slider/slider.d.ts +1 -1
  274. package/lib/slider/slider.variable.css +2 -1
  275. package/lib/steps/index.js +13 -14
  276. package/lib/steps/steps.css +24 -11
  277. package/lib/steps/steps.d.ts +1 -1
  278. package/lib/steps/steps.less +28 -10
  279. package/lib/steps/steps.variable.css +26 -12
  280. package/lib/styles/mixins/animate.variable.css +2 -1
  281. package/lib/styles/mixins/popper.variable.css +2 -1
  282. package/lib/styles/mixins/scroll.variable.css +2 -1
  283. package/lib/styles/reset.variable.css +2 -1
  284. package/lib/styles/themes/themes.less +4 -1
  285. package/lib/swiper/index.js +2 -2
  286. package/lib/swiper/swiper.variable.css +2 -1
  287. package/lib/switcher/index.js +2 -2
  288. package/lib/switcher/switcher.variable.css +2 -1
  289. package/lib/tab/index.d.ts +12 -0
  290. package/lib/tab/index.js +22 -17
  291. package/lib/tab/props.d.ts +3 -0
  292. package/lib/tab/tab.d.ts +6 -0
  293. package/lib/tab/tab.variable.css +2 -1
  294. package/lib/table/index.js +35 -36
  295. package/lib/table/plugins/head-filter.variable.css +2 -1
  296. package/lib/table/plugins/head-sort.variable.css +2 -1
  297. package/lib/table/plugins/settings.variable.css +2 -1
  298. package/lib/table/table.css +1 -0
  299. package/lib/table/table.variable.css +3 -1
  300. package/lib/table-column/index.js +1 -1
  301. package/lib/tag/index.d.ts +23 -0
  302. package/lib/tag/index.js +10 -5
  303. package/lib/tag/tag.d.ts +11 -0
  304. package/lib/tag/tag.variable.css +2 -1
  305. package/lib/tag-input/index.d.ts +82 -9
  306. package/lib/tag-input/index.js +1639 -54
  307. package/lib/tag-input/tag-input.css +31 -0
  308. package/lib/tag-input/tag-input.d.ts +36 -4
  309. package/lib/tag-input/tag-input.less +36 -0
  310. package/lib/tag-input/tag-input.variable.css +33 -1
  311. package/lib/tag-input/tag-props.d.ts +13 -1
  312. package/lib/tag-input/tag-render.d.ts +24 -2
  313. package/lib/time-picker/index.js +1 -1
  314. package/lib/time-picker/time-picker.variable.css +2 -1
  315. package/lib/timeline/index.d.ts +7 -7
  316. package/lib/timeline/index.js +1375 -9
  317. package/lib/timeline/timeline.d.ts +5 -5
  318. package/lib/timeline/timeline.variable.css +2 -1
  319. package/lib/transfer/index.d.ts +1 -24
  320. package/lib/transfer/index.js +21 -11
  321. package/lib/transfer/props.d.ts +0 -5
  322. package/lib/transfer/transfer.css +26 -8
  323. package/lib/transfer/transfer.d.ts +1 -12
  324. package/lib/transfer/transfer.less +18 -8
  325. package/lib/transfer/transfer.variable.css +28 -9
  326. package/lib/tree/constant.d.ts +2 -0
  327. package/lib/tree/index.d.ts +67 -11
  328. package/lib/tree/index.js +17694 -103
  329. package/lib/tree/props.d.ts +37 -3
  330. package/lib/tree/tree.css +34 -0
  331. package/lib/tree/tree.d.ts +31 -5
  332. package/lib/tree/tree.less +41 -2
  333. package/lib/tree/tree.variable.css +36 -1
  334. package/lib/tree/use-array-move.d.ts +6 -0
  335. package/lib/tree/use-node-action.d.ts +3 -1
  336. package/lib/tree/use-node-attribute.d.ts +3 -0
  337. package/lib/upload/index.js +8 -8
  338. package/lib/upload/upload.variable.css +2 -1
  339. package/lib/virtual-render/index.js +11 -7
  340. package/lib/virtual-render/virtual-render.variable.css +2 -1
  341. package/lib/volar.components.d.ts +2 -1
  342. package/package.json +13 -2
  343. package/dist/style.css +0 -1
@@ -1089,7 +1089,7 @@ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
1089
1089
  ;// CONCATENATED MODULE: external "vue"
1090
1090
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1091
1091
  var external_vue_y = x => () => x
1092
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
1092
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
1093
1093
  ;// CONCATENATED MODULE: ../../packages/select/src/common.ts
1094
1094
 
1095
1095
 
@@ -1097,7 +1097,7 @@ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBP
1097
1097
  * Tencent is pleased to support the open source community by making
1098
1098
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1099
1099
  *
1100
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1100
+ * Copyright (C) 2025 Tencent. All rights reserved.
1101
1101
  *
1102
1102
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1103
1103
  *
@@ -1156,32 +1156,6 @@ function useRegistry(data) {
1156
1156
  unregister: unregister
1157
1157
  };
1158
1158
  }
1159
- function useDebouncedRef(value) {
1160
- var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
1161
- var timeout;
1162
- var innerValue = value;
1163
- return (0,external_vue_namespaceObject.customRef)(function (track, trigger) {
1164
- return {
1165
- get: function get() {
1166
- track();
1167
- return innerValue;
1168
- },
1169
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1170
- set: function set(newValue) {
1171
- clearTimeout(timeout);
1172
- if (newValue === undefined || newValue === '') {
1173
- innerValue = newValue;
1174
- trigger();
1175
- } else {
1176
- timeout = setTimeout(function () {
1177
- innerValue = newValue;
1178
- trigger();
1179
- }, delay);
1180
- }
1181
- }
1182
- };
1183
- });
1184
- }
1185
1159
  function usePopover(config, triggerRef) {
1186
1160
  var popoverMinWidth = config.popoverMinWidth;
1187
1161
  var observerIns = null;
@@ -1219,8 +1193,8 @@ function usePopover(config, triggerRef) {
1219
1193
  };
1220
1194
  }
1221
1195
  function useRemoteSearch(method, callBack) {
1222
- var customOptionName = useDebouncedRef(''); // 自定义创建选项(自定义创建也会触发搜索)
1223
- var searchValue = useDebouncedRef('');
1196
+ var customOptionName = (0,external_vue_namespaceObject.ref)(''); // 自定义创建选项(自定义创建也会触发搜索)
1197
+ var searchValue = (0,external_vue_namespaceObject.ref)('');
1224
1198
  var curSearchValue = (0,external_vue_namespaceObject.computed)(function () {
1225
1199
  return searchValue.value || customOptionName.value;
1226
1200
  });
@@ -1347,7 +1321,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1347
1321
  * Tencent is pleased to support the open source community by making
1348
1322
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1349
1323
  *
1350
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1324
+ * Copyright (C) 2025 Tencent. All rights reserved.
1351
1325
  *
1352
1326
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1353
1327
  *
@@ -1570,7 +1544,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1570
1544
  * Tencent is pleased to support the open source community by making
1571
1545
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1572
1546
  *
1573
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1547
+ * Copyright (C) 2025 Tencent. All rights reserved.
1574
1548
  *
1575
1549
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1576
1550
  *
@@ -1602,17 +1576,20 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1602
1576
  label: shared_namespaceObject.PropTypes.string.def(''),
1603
1577
  disabled: shared_namespaceObject.PropTypes.bool.def(false),
1604
1578
  collapsible: shared_namespaceObject.PropTypes.bool.def(false),
1605
- collapse: shared_namespaceObject.PropTypes.bool.def(false) // 是否折叠初始状态
1579
+ collapse: shared_namespaceObject.PropTypes.bool.def(false),
1580
+ visible: shared_namespaceObject.PropTypes.bool.def(true)
1606
1581
  },
1607
1582
  setup: function setup(props, _ref) {
1608
1583
  var emit = _ref.emit;
1609
1584
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
1585
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1610
1586
  var proxy = instance.proxy;
1611
1587
  var select = (0,external_vue_namespaceObject.inject)(selectKey, null);
1612
1588
  var states = (0,external_vue_namespaceObject.reactive)({
1613
- groupCollapse: props.collapse,
1614
- visible: true
1589
+ groupCollapse: props.collapse
1590
+ // visible: props.visible,
1615
1591
  });
1592
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1616
1593
  var optionsMap = (0,external_vue_namespaceObject.ref)(new Map());
1617
1594
  var _useRegistry = useRegistry(optionsMap),
1618
1595
  register = _useRegistry.register,
@@ -1622,6 +1599,9 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1622
1599
  return option.visible;
1623
1600
  }).length, ")");
1624
1601
  });
1602
+ var isVisible = (0,external_vue_namespaceObject.computed)(function () {
1603
+ return props.visible && !select.isSearchEmpty;
1604
+ });
1625
1605
  var handleToggleCollapse = function handleToggleCollapse() {
1626
1606
  if (!props.collapsible || props.disabled) return;
1627
1607
  states.groupCollapse = !states.groupCollapse;
@@ -1642,6 +1622,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1642
1622
  resolveClassName = _usePrefix.resolveClassName;
1643
1623
  return optionGroup_objectSpread(optionGroup_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(states)), {}, {
1644
1624
  groupLabel: groupLabel,
1625
+ isVisible: isVisible,
1645
1626
  handleToggleCollapse: handleToggleCollapse,
1646
1627
  resolveClassName: resolveClassName
1647
1628
  });
@@ -1667,7 +1648,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1667
1648
  "class": "default-group-label-title"
1668
1649
  }, [this.groupLabel])])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("ul", {
1669
1650
  "class": this.resolveClassName('option-group-content')
1670
- }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]), [[external_vue_namespaceObject.vShow, !this.groupCollapse]])]), [[external_vue_namespaceObject.vShow, this.visible]]);
1651
+ }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]), [[external_vue_namespaceObject.vShow, !this.groupCollapse]])]), [[external_vue_namespaceObject.vShow, this.isVisible]]);
1671
1652
  }
1672
1653
  }));
1673
1654
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
@@ -1678,7 +1659,7 @@ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.
1678
1659
  * Tencent is pleased to support the open source community by making
1679
1660
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1680
1661
  *
1681
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1662
+ * Copyright (C) 2025 Tencent. All rights reserved.
1682
1663
  *
1683
1664
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1684
1665
  *
@@ -1806,7 +1787,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
1806
1787
  * Tencent is pleased to support the open source community by making
1807
1788
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1808
1789
  *
1809
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1790
+ * Copyright (C) 2025 Tencent. All rights reserved.
1810
1791
  *
1811
1792
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1812
1793
  *
@@ -1918,7 +1899,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
1918
1899
  * Tencent is pleased to support the open source community by making
1919
1900
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1920
1901
  *
1921
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1902
+ * Copyright (C) 2025 Tencent. All rights reserved.
1922
1903
  *
1923
1904
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1924
1905
  *
@@ -1969,7 +1950,7 @@ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
1969
1950
  * Tencent is pleased to support the open source community by making
1970
1951
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1971
1952
  *
1972
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1953
+ * Copyright (C) 2025 Tencent. All rights reserved.
1973
1954
  *
1974
1955
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1975
1956
  *
@@ -2024,9 +2005,6 @@ var tooltips = {
2024
2005
  hide(el);
2025
2006
  }, 100);
2026
2007
  });
2027
- el.addEventListener('click', function () {
2028
- hide(el);
2029
- });
2030
2008
  popper.addEventListener('mouseleave', function () {
2031
2009
  clearTimeout(delayTimeout);
2032
2010
  hideTimeout = setTimeout(function () {
@@ -2040,7 +2018,7 @@ var tooltips = {
2040
2018
  show(el);
2041
2019
  clearTimeout(delayTimeout);
2042
2020
  }, opts.delay);
2043
- } else if (popper.hasAttribute('data-show')) {
2021
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
2044
2022
  hide(el);
2045
2023
  }
2046
2024
  });
@@ -2149,6 +2127,7 @@ function renderArrow() {
2149
2127
  * @returns popper实例
2150
2128
  */
2151
2129
  function createPopperInstance(el, popper) {
2130
+ if (!tooltips_nodeList.get(el)) return;
2152
2131
  var _nodeList$get = tooltips_nodeList.get(el),
2153
2132
  opts = _nodeList$get.opts;
2154
2133
  var placement = opts.placement,
@@ -2189,6 +2168,7 @@ function createPopperInstance(el, popper) {
2189
2168
  * @param el
2190
2169
  */
2191
2170
  function show(el) {
2171
+ if (!tooltips_nodeList.get(el)) return;
2192
2172
  var _nodeList$get2 = tooltips_nodeList.get(el),
2193
2173
  popper = _nodeList$get2.popper,
2194
2174
  opts = _nodeList$get2.opts;
@@ -2264,7 +2244,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
2264
2244
  * Tencent is pleased to support the open source community by making
2265
2245
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2266
2246
  *
2267
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2247
+ * Copyright (C) 2025 Tencent. All rights reserved.
2268
2248
  *
2269
2249
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2270
2250
  *
@@ -2329,7 +2309,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
2329
2309
  * Tencent is pleased to support the open source community by making
2330
2310
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2331
2311
  *
2332
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2312
+ * Copyright (C) 2025 Tencent. All rights reserved.
2333
2313
  *
2334
2314
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2335
2315
  *
@@ -3227,7 +3207,7 @@ const EXCEPTIONS = {
3227
3207
  * Tencent is pleased to support the open source community by making
3228
3208
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3229
3209
  *
3230
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3210
+ * Copyright (C) 2025 Tencent. All rights reserved.
3231
3211
  *
3232
3212
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3233
3213
  *
@@ -3394,7 +3374,7 @@ function parse(str) {
3394
3374
  * Tencent is pleased to support the open source community by making
3395
3375
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3396
3376
  *
3397
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3377
+ * Copyright (C) 2025 Tencent. All rights reserved.
3398
3378
  *
3399
3379
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3400
3380
  *
@@ -3487,7 +3467,7 @@ function shouldPatch(toToken) {
3487
3467
  * Tencent is pleased to support the open source community by making
3488
3468
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3489
3469
  *
3490
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3470
+ * Copyright (C) 2025 Tencent. All rights reserved.
3491
3471
  *
3492
3472
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3493
3473
  *
@@ -3545,7 +3525,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
3545
3525
  * Tencent is pleased to support the open source community by making
3546
3526
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3547
3527
  *
3548
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3528
+ * Copyright (C) 2025 Tencent. All rights reserved.
3549
3529
  *
3550
3530
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3551
3531
  *
@@ -3618,6 +3598,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
3618
3598
  value.value = modelValue.value;
3619
3599
  });
3620
3600
  (0,external_vue_namespaceObject.watch)([selected, collapseTags], function () {
3601
+ tagsRefs.value = [];
3621
3602
  calcOverflow();
3622
3603
  }, {
3623
3604
  flush: 'post'
@@ -3803,7 +3784,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3803
3784
  * Tencent is pleased to support the open source community by making
3804
3785
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3805
3786
  *
3806
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3787
+ * Copyright (C) 2025 Tencent. All rights reserved.
3807
3788
  *
3808
3789
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3809
3790
  *
@@ -3904,7 +3885,13 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3904
3885
  type: String,
3905
3886
  "default": 'default'
3906
3887
  },
3907
- disableScrollToSelectedOption: shared_namespaceObject.PropTypes.bool.def(false) // 是否禁用滚动到选中option的功能
3888
+ disableScrollToSelectedOption: shared_namespaceObject.PropTypes.bool.def(false),
3889
+ inputTooltipsOptions: {
3890
+ type: Object,
3891
+ "default": function _default() {
3892
+ return {};
3893
+ }
3894
+ } // 透传Input组件的tooltips配置
3908
3895
  },
3909
3896
  emits: ['update:modelValue', 'change', 'toggle', 'clear', 'scroll-end', 'focus', 'blur', 'tag-remove', 'select', 'deselect', 'search-change'],
3910
3897
  setup: function setup(props, _ref) {
@@ -4094,7 +4081,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4094
4081
  });
4095
4082
  // 是否显示select下拉内容
4096
4083
  var isShowSelectContent = (0,external_vue_namespaceObject.computed)(function () {
4097
- return !(searchLoading.value || isOptionsEmpty.value || isSearchEmpty.value) || customContent.value;
4084
+ // 自定义内容时始终显示
4085
+ if (customContent.value) return true;
4086
+ // 加载中、无数据、无搜索结果时不显示下拉内容
4087
+ return !(searchLoading.value || isOptionsEmpty.value || isSearchEmpty.value);
4098
4088
  });
4099
4089
  // 是否显示全选
4100
4090
  var isShowSelectAll = (0,external_vue_namespaceObject.computed)(function () {
@@ -4289,6 +4279,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4289
4279
  emit('change', val, modelValue.value);
4290
4280
  // 重置Selected 以model-value为主
4291
4281
  handleSetSelectedData();
4282
+ if (multiple.value) {
4283
+ // 多选时enter之后变成tag不需要保存当前值
4284
+ customOptionName.value = '';
4285
+ }
4292
4286
  };
4293
4287
  // 派发toggle事件
4294
4288
  var handleTogglePopover = function handleTogglePopover() {
@@ -4300,6 +4294,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4300
4294
  var handleInputChange = function handleInputChange(value) {
4301
4295
  if (!filterable.value) return;
4302
4296
  customOptionName.value = value;
4297
+ if (!(value !== null && value !== void 0 && value.length)) {
4298
+ emitChange(multiple.value ? [] : '');
4299
+ }
4303
4300
  };
4304
4301
  // allow create(创建自定义选项)
4305
4302
  var handleCreateCustomOption = function handleCreateCustomOption(val, e) {
@@ -4314,7 +4311,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4314
4311
  if (filterable.value && matchedOption) {
4315
4312
  // 开启搜索后,正好匹配到自定义选项,则不进行创建操作
4316
4313
  handleOptionSelected(matchedOption);
4317
- customOptionName.value = '';
4318
4314
  return;
4319
4315
  }
4320
4316
  var data = optionsMap.value.get(value);
@@ -4335,7 +4331,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4335
4331
  emitChange(value);
4336
4332
  handleHidePopover();
4337
4333
  }
4338
- customOptionName.value = '';
4339
4334
  };
4340
4335
  // Option点击事件
4341
4336
  var handleOptionSelected = function handleOptionSelected(option) {
@@ -4376,9 +4371,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4376
4371
  label: option.optionName || option.optionID,
4377
4372
  value: option.optionID
4378
4373
  }];
4379
- if (filterable.value && allowCreate.value) {
4380
- customOptionName.value = '';
4381
- }
4382
4374
  emitChange(option.optionID);
4383
4375
  emit('select', option.optionID);
4384
4376
  handleHidePopover();
@@ -4426,6 +4418,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4426
4418
  var handleClear = function handleClear(e) {
4427
4419
  e.stopPropagation();
4428
4420
  selected.value = [];
4421
+ customOptionName.value = '';
4429
4422
  clearMultipleInputValue();
4430
4423
  emitChange(multiple.value ? [] : '');
4431
4424
  emit('clear', multiple.value ? [] : '');
@@ -4602,9 +4595,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4602
4595
  case 'NumpadEnter':
4603
4596
  case 'Enter':
4604
4597
  {
4598
+ var _searchRef$value2;
4605
4599
  var value = e.target.value;
4606
4600
  // 搜索和创建的时候不触发enter事件
4607
- if (allowCreate.value && value || e.target === searchRef.value) return;
4601
+ if (allowCreate.value && value || e.target === searchRef.value && (_searchRef$value2 = searchRef.value) !== null && _searchRef$value2 !== void 0 && _searchRef$value2.value) return;
4608
4602
  var option = optionsMap.value.get(activeOptionValue.value);
4609
4603
  handleOptionSelected(option);
4610
4604
  break;
@@ -4627,6 +4621,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4627
4621
  selectedStyle: selectedStyle,
4628
4622
  curSearchValue: curSearchValue,
4629
4623
  highlightKeyword: highlightKeyword,
4624
+ isSearchEmpty: isSearchEmpty,
4630
4625
  register: register,
4631
4626
  unregister: unregister,
4632
4627
  registerGroup: registerGroup,
@@ -4641,9 +4636,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4641
4636
  autoFocus.value && focusInput();
4642
4637
  });
4643
4638
  });
4644
- var handlePopoverShown = function handlePopoverShown() {
4645
- var _virtualRenderRef$val;
4646
- (_virtualRenderRef$val = virtualRenderRef.value) === null || _virtualRenderRef$val === void 0 || _virtualRenderRef$val.scrollTo(0, 1);
4639
+ // 处理扩展区域点击事件
4640
+ var handleExtensionClick = function handleExtensionClick(e) {
4641
+ e.stopPropagation();
4647
4642
  };
4648
4643
  return {
4649
4644
  t: t,
@@ -4704,12 +4699,12 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4704
4699
  localSelectAllText: localSelectAllText,
4705
4700
  resolveClassName: resolveClassName,
4706
4701
  handleCreateCustomOption: handleCreateCustomOption,
4707
- handlePopoverShown: handlePopoverShown,
4708
4702
  virtualLineHeight: virtualLineHeight,
4709
4703
  isEnableVirtualRender: isEnableVirtualRender,
4710
4704
  preloadItemCount: preloadItemCount,
4711
4705
  virtualRenderRef: virtualRenderRef,
4712
- setSelected: setSelected
4706
+ setSelected: setSelected,
4707
+ handleExtensionClick: handleExtensionClick
4713
4708
  };
4714
4709
  },
4715
4710
  render: function render() {
@@ -4727,7 +4722,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4727
4722
  "theme": "primary"
4728
4723
  }, null);
4729
4724
  }
4730
- if (_this.clearable && _this.isHover && _this.selected.length && !_this.isDisabled) {
4725
+ if (_this.clearable && _this.isHover && _this.selected.length && !_this.isDisabled || _this.allowCreate && _this.isHover && _this.customOptionName && !_this.isDisabled) {
4731
4726
  return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
4732
4727
  "class": "clear-icon",
4733
4728
  "onClick": _this.handleClear
@@ -4829,12 +4824,13 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4829
4824
  "ref": "inputRef",
4830
4825
  "behavior": _this.behavior,
4831
4826
  "disabled": _this.isDisabled,
4832
- "modelValue": _this.isInput ? _this.customOptionName : _this.selectedLabel.join(','),
4827
+ "modelValue": _this.isInput && _this.customOptionName ? _this.customOptionName : _this.selectedLabel.join(','),
4833
4828
  "placeholder": _this.isInput ? _this.selectedLabel.join(',') || _this.localPlaceholder : _this.localPlaceholder,
4834
4829
  "readonly": !_this.isInput,
4835
4830
  "selectReadonly": true,
4836
4831
  "size": _this.size,
4837
4832
  "stopPropagation": false,
4833
+ "tooltipsOptions": _this.inputTooltipsOptions,
4838
4834
  "type": "text",
4839
4835
  "withValidate": false,
4840
4836
  "onEnter": _this.handleCreateCustomOption,
@@ -4948,7 +4944,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4948
4944
  "theme": "primary"
4949
4945
  }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.curContentText])]), (0,external_vue_namespaceObject.createVNode)("div", {
4950
4946
  "class": _this.resolveClassName('select-content')
4951
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
4947
+ }, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
4952
4948
  "ref": "scrollContainerRef",
4953
4949
  "style": {
4954
4950
  maxHeight: "".concat(_this.scrollHeight, "px"),
@@ -4966,15 +4962,15 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4966
4962
  "mode": "spin",
4967
4963
  "size": "mini",
4968
4964
  "theme": "primary"
4969
- }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots18 = _this.$slots) === null || _this$$slots18 === void 0 ? void 0 : _this$$slots18.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
4970
- "class": _this.resolveClassName('select-extension')
4965
+ }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), [[external_vue_namespaceObject.vShow, _this.isShowSelectContent]]), ((_this$$slots18 = _this.$slots) === null || _this$$slots18 === void 0 ? void 0 : _this$$slots18.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
4966
+ "class": _this.resolveClassName('select-extension'),
4967
+ "onClick": _this.handleExtensionClick
4971
4968
  }, [(_this$$slots19 = _this.$slots) === null || _this$$slots19 === void 0 ? void 0 : _this$$slots19.extension()])])]);
4972
4969
  };
4973
4970
  return (0,external_vue_namespaceObject.createVNode)("div", {
4974
4971
  "class": selectClass
4975
4972
  }, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.popoverConfig, {
4976
4973
  "ref": "popoverRef",
4977
- "onAfterShow": this.handlePopoverShown,
4978
4974
  "onClickoutside": this.handleClickOutside
4979
4975
  }), {
4980
4976
  "default": function _default() {
@@ -4991,7 +4987,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4991
4987
  * Tencent is pleased to support the open source community by making
4992
4988
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4993
4989
  *
4994
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4990
+ * Copyright (C) 2025 Tencent. All rights reserved.
4995
4991
  *
4996
4992
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4997
4993
  *
@@ -19,12 +19,17 @@ declare const _default: import("vue").DefineComponent<{
19
19
  } & {
20
20
  default: boolean;
21
21
  };
22
+ visible: import("vue-types").VueTypeValidableDef<boolean> & {
23
+ default: boolean;
24
+ } & {
25
+ default: boolean;
26
+ };
22
27
  }, {
23
28
  groupLabel: import("vue").ComputedRef<string>;
29
+ isVisible: import("vue").ComputedRef<boolean>;
24
30
  handleToggleCollapse: () => void;
25
31
  resolveClassName: (cls: string) => string;
26
32
  groupCollapse: import("vue").Ref<boolean>;
27
- visible: import("vue").Ref<boolean>;
28
33
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
34
  label: import("vue-types").VueTypeValidableDef<string> & {
30
35
  default: string;
@@ -46,8 +51,14 @@ declare const _default: import("vue").DefineComponent<{
46
51
  } & {
47
52
  default: boolean;
48
53
  };
54
+ visible: import("vue-types").VueTypeValidableDef<boolean> & {
55
+ default: boolean;
56
+ } & {
57
+ default: boolean;
58
+ };
49
59
  }>>, {
50
60
  label: string;
61
+ visible: boolean;
51
62
  disabled: boolean;
52
63
  collapse: boolean;
53
64
  collapsible: boolean;
@@ -1,4 +1,5 @@
1
1
  import { PropType } from 'vue';
2
+ import { IOptions } from '../directives';
2
3
  import { ISelected, OptionInstanceType } from './type';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  modelValue: import("vue-types").VueTypeValidableDef<any>;
@@ -194,7 +195,9 @@ declare const _default: import("vue").DefineComponent<{
194
195
  alignmentAxis?: number;
195
196
  });
196
197
  };
197
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
198
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
199
+ default: string | (() => HTMLElement);
200
+ };
198
201
  zIndex: import("vue-types").VueTypeValidableDef<number> & {
199
202
  default: number;
200
203
  } & {
@@ -346,6 +349,10 @@ declare const _default: import("vue").DefineComponent<{
346
349
  } & {
347
350
  default: boolean;
348
351
  };
352
+ inputTooltipsOptions: {
353
+ type: PropType<Partial<IOptions>>;
354
+ default: () => {};
355
+ };
349
356
  }, {
350
357
  t: import("vue").ComputedRef<{
351
358
  noData: string;
@@ -370,7 +377,7 @@ declare const _default: import("vue").DefineComponent<{
370
377
  inputRef: import("vue").Ref<HTMLElement>;
371
378
  triggerRef: import("vue").Ref<HTMLElement>;
372
379
  contentRef: import("vue").Ref<HTMLElement>;
373
- searchRef: import("vue").Ref<HTMLElement>;
380
+ searchRef: import("vue").Ref<HTMLInputElement>;
374
381
  scrollContainerRef: import("vue").Ref<HTMLElement>;
375
382
  selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
376
383
  selected: {
@@ -652,7 +659,9 @@ declare const _default: import("vue").DefineComponent<{
652
659
  alignmentAxis?: number;
653
660
  });
654
661
  };
655
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
662
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
663
+ default: string | (() => HTMLElement);
664
+ };
656
665
  zIndex: import("vue-types").VueTypeValidableDef<number> & {
657
666
  default: number;
658
667
  } & {
@@ -746,12 +755,12 @@ declare const _default: import("vue").DefineComponent<{
746
755
  localSelectAllText: import("vue").ComputedRef<string>;
747
756
  resolveClassName: (cls: string) => string;
748
757
  handleCreateCustomOption: (val: number | string, e: KeyboardEvent) => void;
749
- handlePopoverShown: () => void;
750
758
  virtualLineHeight: import("vue").Ref<number>;
751
759
  isEnableVirtualRender: import("vue").ComputedRef<boolean>;
752
760
  preloadItemCount: import("vue").ComputedRef<number>;
753
761
  virtualRenderRef: import("vue").Ref<any>;
754
762
  setSelected: (data: Array<object>) => void;
763
+ handleExtensionClick: (e: MouseEvent) => void;
755
764
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect" | "search-change")[], "blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect" | "search-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
756
765
  modelValue: import("vue-types").VueTypeValidableDef<any>;
757
766
  multiple: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -946,7 +955,9 @@ declare const _default: import("vue").DefineComponent<{
946
955
  alignmentAxis?: number;
947
956
  });
948
957
  };
949
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
958
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
959
+ default: string | (() => HTMLElement);
960
+ };
950
961
  zIndex: import("vue-types").VueTypeValidableDef<number> & {
951
962
  default: number;
952
963
  } & {
@@ -1098,6 +1109,10 @@ declare const _default: import("vue").DefineComponent<{
1098
1109
  } & {
1099
1110
  default: boolean;
1100
1111
  };
1112
+ inputTooltipsOptions: {
1113
+ type: PropType<Partial<IOptions>>;
1114
+ default: () => {};
1115
+ };
1101
1116
  }>> & {
1102
1117
  onFocus?: (...args: any[]) => any;
1103
1118
  onBlur?: (...args: any[]) => any;
@@ -1156,5 +1171,6 @@ declare const _default: import("vue").DefineComponent<{
1156
1171
  keepSearchValue: boolean;
1157
1172
  searchWithPinyin: boolean;
1158
1173
  disableScrollToSelectedOption: boolean;
1174
+ inputTooltipsOptions: {};
1159
1175
  }, {}>;
1160
1176
  export default _default;
@@ -98,7 +98,7 @@
98
98
  --submenu-bg-color: #151d2c;
99
99
  --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
100
  --menu-color: #96a2b9;
101
- --menu-group-color: var(--default-color);
101
+ --menu-group-color: #6E788B;
102
102
  --menu-width: 260px;
103
103
  --menu-collapse-width: 60px;
104
104
  --menu-active-color: white;
@@ -127,6 +127,7 @@
127
127
  --search-select-menu-border-color: var(--disable-color);
128
128
  --select-active-color: #e1ecff;
129
129
  --select-hover-color: #f5f7fa;
130
+ --sub-title-bg-color: #f5f6fa;
130
131
  }
131
132
  @keyframes loading-scale-animate {
132
133
  0% {
@@ -16,6 +16,7 @@ export interface ISelectContext {
16
16
  selectedStyle: 'check' | 'checkbox';
17
17
  curSearchValue: string;
18
18
  highlightKeyword: boolean;
19
+ isSearchEmpty: boolean;
19
20
  register(key: PropertyKey, option: OptionInstanceType): void;
20
21
  unregister(key: PropertyKey, option?: OptionInstanceType): void;
21
22
  registerGroup(key: PropertyKey, option: GroupInstanceType): void;
@@ -2,7 +2,7 @@
2
2
  * Tencent is pleased to support the open source community by making
3
3
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
4
  *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5
+ * Copyright (C) 2025 Tencent. All rights reserved.
6
6
  *
7
7
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
8
  *