bkui-vue 2.0.2-beta.6 → 2.0.2-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 (303) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +133 -132
  4. package/dist/index.esm.js +16777 -14856
  5. package/dist/index.umd.js +133 -132
  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 +1 -0
  16. package/lib/affix/index.js +24 -32
  17. package/lib/alert/alert.variable.css +1 -0
  18. package/lib/alert/index.js +24 -32
  19. package/lib/animate-number/index.js +12 -16
  20. package/lib/backtop/backtop.variable.css +1 -0
  21. package/lib/backtop/index.js +24 -34
  22. package/lib/badge/badge.variable.css +1 -0
  23. package/lib/badge/index.js +20 -26
  24. package/lib/breadcrumb/breadcrumb.variable.css +1 -0
  25. package/lib/breadcrumb/index.js +26 -34
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +1 -0
  28. package/lib/button/index.js +29 -39
  29. package/lib/card/card.variable.css +1 -0
  30. package/lib/card/index.js +35 -49
  31. package/lib/cascader/cascader.css +26 -24
  32. package/lib/cascader/cascader.d.ts +311 -0
  33. package/lib/cascader/cascader.less +78 -76
  34. package/lib/cascader/cascader.variable.css +27 -24
  35. package/lib/cascader/index.d.ts +610 -0
  36. package/lib/cascader/index.js +810 -748
  37. package/lib/checkbox/checkbox.variable.css +1 -0
  38. package/lib/checkbox/index.js +39 -49
  39. package/lib/code-diff/code-diff.variable.css +1 -0
  40. package/lib/code-diff/index.js +81 -85
  41. package/lib/collapse/collapse.variable.css +1 -0
  42. package/lib/collapse/index.js +36 -42
  43. package/lib/collapse-transition/collapse-transition.variable.css +1 -0
  44. package/lib/collapse-transition/index.js +16 -22
  45. package/lib/color-picker/color-picker.variable.css +1 -0
  46. package/lib/color-picker/index.js +637 -656
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +1 -0
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +32 -40
  51. package/lib/container/container.variable.css +1 -0
  52. package/lib/container/index.js +26 -32
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +1 -0
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +713 -738
  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 +21 -1
  62. package/lib/dialog/index.js +100 -137
  63. package/lib/directives/index.js +518 -529
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +1 -0
  66. package/lib/divider/index.js +18 -24
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +1 -0
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +45 -52
  71. package/lib/exception/exception.variable.css +1 -0
  72. package/lib/exception/index.js +51 -57
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
  74. package/lib/fixed-navbar/index.js +16 -22
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +16 -4
  77. package/lib/form/form.less +24 -6
  78. package/lib/form/form.variable.css +17 -4
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +662 -685
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +13 -15
  83. package/lib/icon/angle-double-left-line.js +13 -15
  84. package/lib/icon/angle-double-left.js +13 -15
  85. package/lib/icon/angle-double-right-line.js +13 -15
  86. package/lib/icon/angle-double-right.js +13 -15
  87. package/lib/icon/angle-double-up-line.js +13 -15
  88. package/lib/icon/angle-down-fill.js +13 -15
  89. package/lib/icon/angle-down-line.js +13 -15
  90. package/lib/icon/angle-down.js +13 -15
  91. package/lib/icon/angle-left.js +13 -15
  92. package/lib/icon/angle-right.js +13 -15
  93. package/lib/icon/angle-up-fill.js +13 -15
  94. package/lib/icon/angle-up.js +13 -15
  95. package/lib/icon/archive-fill.js +13 -15
  96. package/lib/icon/arrows-left.js +13 -15
  97. package/lib/icon/arrows-right.js +13 -15
  98. package/lib/icon/assistant.js +13 -15
  99. package/lib/icon/audio-fill.js +13 -15
  100. package/lib/icon/bk.js +13 -15
  101. package/lib/icon/circle.js +13 -15
  102. package/lib/icon/close-line.js +13 -15
  103. package/lib/icon/close.js +13 -15
  104. package/lib/icon/code.js +13 -15
  105. package/lib/icon/cog-shape.js +13 -15
  106. package/lib/icon/collapse-left.js +13 -15
  107. package/lib/icon/copy-shape.js +13 -15
  108. package/lib/icon/copy.js +13 -15
  109. package/lib/icon/data-shape.js +13 -15
  110. package/lib/icon/del.js +13 -15
  111. package/lib/icon/doc-fill.js +13 -15
  112. package/lib/icon/done.js +13 -15
  113. package/lib/icon/down-shape.js +13 -15
  114. package/lib/icon/down-small.js +13 -15
  115. package/lib/icon/edit-line.js +13 -15
  116. package/lib/icon/ellipsis.js +13 -15
  117. package/lib/icon/enlarge-line.js +13 -15
  118. package/lib/icon/error.js +13 -15
  119. package/lib/icon/excel-fill.js +13 -15
  120. package/lib/icon/exclamation-circle-shape.js +13 -15
  121. package/lib/icon/eye.js +13 -15
  122. package/lib/icon/filliscreen-line.js +13 -15
  123. package/lib/icon/fix-line.js +13 -15
  124. package/lib/icon/fix-shape.js +13 -15
  125. package/lib/icon/folder-open.js +13 -15
  126. package/lib/icon/folder-shape-open.js +13 -15
  127. package/lib/icon/folder-shape.js +13 -15
  128. package/lib/icon/folder.js +13 -15
  129. package/lib/icon/funnel.js +13 -15
  130. package/lib/icon/grag-fill.js +13 -15
  131. package/lib/icon/help-document-fill.js +13 -15
  132. package/lib/icon/help-fill.js +13 -15
  133. package/lib/icon/help.js +13 -15
  134. package/lib/icon/image-fill.js +13 -15
  135. package/lib/icon/img-error.js +13 -15
  136. package/lib/icon/img-placehoulder.js +13 -15
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +13 -15
  139. package/lib/icon/info.js +13 -15
  140. package/lib/icon/left-shape.js +13 -15
  141. package/lib/icon/left-turn-line.js +13 -15
  142. package/lib/icon/loading.js +13 -15
  143. package/lib/icon/narrow-line.js +13 -15
  144. package/lib/icon/original.js +13 -15
  145. package/lib/icon/pdf-fill.js +13 -15
  146. package/lib/icon/play-shape.js +13 -15
  147. package/lib/icon/plus.js +13 -15
  148. package/lib/icon/ppt-fill.js +13 -15
  149. package/lib/icon/qq.js +13 -15
  150. package/lib/icon/right-shape.js +13 -15
  151. package/lib/icon/right-turn-line.js +13 -15
  152. package/lib/icon/search.js +13 -15
  153. package/lib/icon/share.js +13 -15
  154. package/lib/icon/spinner.js +13 -15
  155. package/lib/icon/success.js +13 -15
  156. package/lib/icon/switcher-loading.js +13 -15
  157. package/lib/icon/text-all.js +13 -15
  158. package/lib/icon/text-file.js +13 -15
  159. package/lib/icon/text-fill.js +13 -15
  160. package/lib/icon/transfer.js +13 -15
  161. package/lib/icon/tree-application-shape.js +13 -15
  162. package/lib/icon/unfull-screen.js +13 -15
  163. package/lib/icon/unvisible.js +13 -15
  164. package/lib/icon/up-shape.js +13 -15
  165. package/lib/icon/upload.js +13 -15
  166. package/lib/icon/video-fill.js +13 -15
  167. package/lib/icon/warn.js +13 -15
  168. package/lib/icon/weixin-pro.js +13 -15
  169. package/lib/icon/weixin.js +13 -15
  170. package/lib/image/image-viewer.variable.css +1 -0
  171. package/lib/image/image.variable.css +1 -0
  172. package/lib/image/index.js +333 -352
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +109 -108
  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 +22 -2
  179. package/lib/input/index.d.ts +39 -20
  180. package/lib/input/index.js +363 -358
  181. package/lib/input/input.d.ts +30 -16
  182. package/lib/input/input.variable.css +1 -0
  183. package/lib/link/index.js +20 -28
  184. package/lib/link/link.variable.css +1 -0
  185. package/lib/loading/index.js +22 -28
  186. package/lib/loading/loading.variable.css +1 -0
  187. package/lib/locale/index.d.ts +1 -0
  188. package/lib/locale/index.js +175 -7
  189. package/lib/locale/lang/ja-jp.d.ts +3 -0
  190. package/lib/menu/index.js +44 -49
  191. package/lib/menu/menu.variable.css +1 -0
  192. package/lib/menu/submenu.variable.css +1 -0
  193. package/lib/message/index.js +45 -51
  194. package/lib/message/message.variable.css +1 -0
  195. package/lib/modal/index.js +43 -45
  196. package/lib/modal/modal.css +20 -1
  197. package/lib/modal/modal.variable.css +21 -1
  198. package/lib/navigation/index.js +22 -30
  199. package/lib/navigation/navigation.variable.css +1 -0
  200. package/lib/notify/index.js +30 -40
  201. package/lib/notify/notify.variable.css +1 -0
  202. package/lib/overflow-title/index.js +32 -44
  203. package/lib/pagination/index.js +52 -68
  204. package/lib/pagination/pagination.variable.css +1 -0
  205. package/lib/pop-confirm/index.d.ts +584 -0
  206. package/lib/pop-confirm/index.js +43 -55
  207. package/lib/pop-confirm/pop-confirm.d.ts +292 -0
  208. package/lib/pop-confirm/pop-confirm.variable.css +1 -0
  209. package/lib/pop-confirm/props.d.ts +146 -0
  210. package/lib/popover/index.js +363 -382
  211. package/lib/popover/popover.variable.css +1 -0
  212. package/lib/popover2/index.js +12 -16
  213. package/lib/preset.js +1 -1
  214. package/lib/process/index.js +76 -80
  215. package/lib/process/process.d.ts +1 -1
  216. package/lib/process/process.variable.css +1 -0
  217. package/lib/progress/index.js +24 -30
  218. package/lib/progress/progress.variable.css +1 -0
  219. package/lib/radio/index.js +36 -44
  220. package/lib/radio/radio.variable.css +1 -0
  221. package/lib/rate/index.js +22 -28
  222. package/lib/rate/rate.variable.css +1 -0
  223. package/lib/resize-layout/index.js +24 -32
  224. package/lib/resize-layout/resize-layout.variable.css +1 -0
  225. package/lib/scrollbar/css/scrollbar.variable.css +1 -0
  226. package/lib/scrollbar/index.js +31 -31
  227. package/lib/search-select/index.d.ts +21 -3
  228. package/lib/search-select/index.js +558 -543
  229. package/lib/search-select/input.d.ts +3 -0
  230. package/lib/search-select/search-select.d.ts +7 -1
  231. package/lib/search-select/search-select.variable.css +1 -0
  232. package/lib/search-select/selected.d.ts +6 -0
  233. package/lib/select/index.d.ts +22 -3
  234. package/lib/select/index.js +560 -597
  235. package/lib/select/select.d.ts +11 -1
  236. package/lib/select/select.variable.css +1 -0
  237. package/lib/shared/index.d.ts +1 -1
  238. package/lib/shared/index.js +59 -67
  239. package/lib/shared/z-index-manager.d.ts +1 -1
  240. package/lib/sideslider/index.js +84 -92
  241. package/lib/sideslider/sideslider.variable.css +1 -0
  242. package/lib/slider/index.d.ts +1 -1
  243. package/lib/slider/index.js +80 -89
  244. package/lib/slider/slider-button.d.ts +1 -1
  245. package/lib/slider/slider.d.ts +1 -1
  246. package/lib/slider/slider.variable.css +1 -0
  247. package/lib/steps/index.js +74 -80
  248. package/lib/steps/steps.d.ts +1 -1
  249. package/lib/steps/steps.variable.css +1 -0
  250. package/lib/styles/mixins/animate.variable.css +1 -0
  251. package/lib/styles/mixins/popper.variable.css +1 -0
  252. package/lib/styles/mixins/scroll.variable.css +1 -0
  253. package/lib/styles/reset.variable.css +1 -0
  254. package/lib/styles/themes/themes.less +3 -0
  255. package/lib/swiper/index.js +20 -26
  256. package/lib/swiper/swiper.variable.css +1 -0
  257. package/lib/switcher/index.js +24 -32
  258. package/lib/switcher/switcher.variable.css +1 -0
  259. package/lib/tab/index.d.ts +12 -0
  260. package/lib/tab/index.js +341 -352
  261. package/lib/tab/props.d.ts +3 -0
  262. package/lib/tab/tab.d.ts +6 -0
  263. package/lib/tab/tab.variable.css +1 -0
  264. package/lib/table/index.js +630 -691
  265. package/lib/table/plugins/head-filter.variable.css +1 -0
  266. package/lib/table/plugins/head-sort.variable.css +1 -0
  267. package/lib/table/plugins/settings.variable.css +1 -0
  268. package/lib/table/table.variable.css +1 -0
  269. package/lib/table-column/index.js +10 -14
  270. package/lib/tag/index.js +28 -38
  271. package/lib/tag/tag.variable.css +1 -0
  272. package/lib/tag-input/index.d.ts +3 -0
  273. package/lib/tag-input/index.js +2190 -851
  274. package/lib/tag-input/tag-input.d.ts +1 -0
  275. package/lib/tag-input/tag-input.variable.css +1 -0
  276. package/lib/time-picker/index.js +10 -14
  277. package/lib/time-picker/time-picker.variable.css +1 -0
  278. package/lib/timeline/index.js +1368 -25
  279. package/lib/timeline/timeline.d.ts +1 -1
  280. package/lib/timeline/timeline.variable.css +1 -0
  281. package/lib/transfer/index.d.ts +1 -24
  282. package/lib/transfer/index.js +61 -67
  283. package/lib/transfer/props.d.ts +0 -5
  284. package/lib/transfer/transfer.css +26 -8
  285. package/lib/transfer/transfer.d.ts +1 -12
  286. package/lib/transfer/transfer.less +18 -8
  287. package/lib/transfer/transfer.variable.css +27 -8
  288. package/lib/tree/constant.d.ts +2 -0
  289. package/lib/tree/index.d.ts +48 -0
  290. package/lib/tree/index.js +297 -171
  291. package/lib/tree/props.d.ts +20 -0
  292. package/lib/tree/tree.css +46 -0
  293. package/lib/tree/tree.d.ts +22 -0
  294. package/lib/tree/tree.less +57 -2
  295. package/lib/tree/tree.variable.css +47 -0
  296. package/lib/tree/use-node-action.d.ts +2 -2
  297. package/lib/upload/index.js +570 -582
  298. package/lib/upload/upload.variable.css +1 -0
  299. package/lib/virtual-render/index.js +50 -62
  300. package/lib/virtual-render/virtual-render.variable.css +1 -0
  301. package/lib/volar.components.d.ts +2 -1
  302. package/package.json +13 -2
  303. package/dist/style.css +0 -1
package/lib/dist.index.js CHANGED
@@ -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
  *
@@ -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
  .bk-divider {
132
133
  position: relative;
@@ -32,30 +32,24 @@ __webpack_require__.d(__webpack_exports__, {
32
32
  "default": () => (/* binding */ src)
33
33
  });
34
34
 
35
- ;// external "../shared"
36
- var x = (y) => {
37
- var x = {}; __webpack_require__.d(x, y); return x
38
- }
39
- var y = (x) => (() => (x))
40
- const shared_namespaceObject = x({ ["AlignEnum"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.AlignEnum), ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["alignType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.alignType), ["directionType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.directionType), ["lineStyleType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.lineStyleType), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
41
- ;// external "vue"
42
- var external_vue_x = (y) => {
43
- var x = {}; __webpack_require__.d(x, y); return x
44
- }
45
- var external_vue_y = (x) => (() => (x))
46
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent) });
47
- ;// external "../config-provider"
48
- var config_provider_x = (y) => {
49
- var x = {}; __webpack_require__.d(x, y); return x
50
- }
51
- var config_provider_y = (x) => (() => (x))
52
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
53
- ;// ../../packages/divider/src/props.ts
35
+ ;// CONCATENATED MODULE: external "../shared"
36
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
37
+ var y = x => () => x
38
+ const shared_namespaceObject = x({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.AlignEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["alignType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.alignType, ["directionType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.directionType, ["lineStyleType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.lineStyleType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
39
+ ;// CONCATENATED MODULE: external "vue"
40
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
41
+ var external_vue_y = x => () => x
42
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
43
+ ;// CONCATENATED MODULE: external "../config-provider"
44
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
+ var config_provider_y = x => () => x
46
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
47
+ ;// CONCATENATED MODULE: ../../packages/divider/src/props.ts
54
48
  /*
55
49
  * Tencent is pleased to support the open source community by making
56
50
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
57
51
  *
58
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
52
+ * Copyright (C) 2025 Tencent. All rights reserved.
59
53
  *
60
54
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
61
55
  *
@@ -84,13 +78,13 @@ var dividerProps = {
84
78
  width: shared_namespaceObject.PropTypes.number.def(1),
85
79
  type: (0,shared_namespaceObject.lineStyleType)()
86
80
  };
87
- ;// ../../packages/divider/src/divider.tsx
81
+ ;// CONCATENATED MODULE: ../../packages/divider/src/divider.tsx
88
82
 
89
83
  /*
90
84
  * Tencent is pleased to support the open source community by making
91
85
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
92
86
  *
93
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
87
+ * Copyright (C) 2025 Tencent. All rights reserved.
94
88
  *
95
89
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
96
90
  *
@@ -143,12 +137,12 @@ var dividerProps = {
143
137
  }, [slots]);
144
138
  }
145
139
  }));
146
- ;// ../../packages/divider/src/index.ts
140
+ ;// CONCATENATED MODULE: ../../packages/divider/src/index.ts
147
141
  /*
148
142
  * Tencent is pleased to support the open source community by making
149
143
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
150
144
  *
151
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
145
+ * Copyright (C) 2025 Tencent. All rights reserved.
152
146
  *
153
147
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
154
148
  *
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  default: string;
37
37
  };
38
38
  }, {
39
+ isPopoverShow: import("vue").Ref<boolean>;
39
40
  afterShow: () => void;
40
41
  afterHidden: () => void;
41
42
  popoverRef: import("vue").Ref<any>;
@@ -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
  .bk-popover.bk-pop2-content {
132
133
  position: absolute;
@@ -37,6 +37,7 @@ declare const BkDropdown: {
37
37
  onHide?: (...args: any[]) => any;
38
38
  onShowChange?: (...args: any[]) => any;
39
39
  }, {
40
+ isPopoverShow: import("vue").Ref<boolean>;
40
41
  afterShow: () => void;
41
42
  afterHidden: () => void;
42
43
  popoverRef: import("vue").Ref<any>;
@@ -128,6 +129,7 @@ declare const BkDropdown: {
128
129
  onHide?: (...args: any[]) => any;
129
130
  onShowChange?: (...args: any[]) => any;
130
131
  }, {
132
+ isPopoverShow: import("vue").Ref<boolean>;
131
133
  afterShow: () => void;
132
134
  afterHidden: () => void;
133
135
  popoverRef: import("vue").Ref<any>;
@@ -181,6 +183,7 @@ declare const BkDropdown: {
181
183
  onHide?: (...args: any[]) => any;
182
184
  onShowChange?: (...args: any[]) => any;
183
185
  }, {
186
+ isPopoverShow: import("vue").Ref<boolean>;
184
187
  afterShow: () => void;
185
188
  afterHidden: () => void;
186
189
  popoverRef: import("vue").Ref<any>;
@@ -38,13 +38,11 @@ __webpack_require__.d(__webpack_exports__, {
38
38
  "default": () => (/* binding */ src)
39
39
  });
40
40
 
41
- ;// external "../shared"
42
- var x = (y) => {
43
- var x = {}; __webpack_require__.d(x, y); return x
44
- }
45
- var y = (x) => (() => (x))
46
- const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["placementType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType), ["triggerType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
47
- ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
41
+ ;// CONCATENATED MODULE: external "../shared"
42
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
43
+ var y = x => () => x
44
+ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
45
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
48
46
  function _typeof(o) {
49
47
  "@babel/helpers - typeof";
50
48
 
@@ -54,7 +52,7 @@ function _typeof(o) {
54
52
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
55
53
  }, _typeof(o);
56
54
  }
57
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
55
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
58
56
 
59
57
  function toPrimitive(t, r) {
60
58
  if ("object" != _typeof(t) || !t) return t;
@@ -66,14 +64,14 @@ function toPrimitive(t, r) {
66
64
  }
67
65
  return ("string" === r ? String : Number)(t);
68
66
  }
69
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
67
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
70
68
 
71
69
 
72
70
  function toPropertyKey(t) {
73
71
  var i = toPrimitive(t, "string");
74
72
  return "symbol" == _typeof(i) ? i : String(i);
75
73
  }
76
- ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
74
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
77
75
 
78
76
  function _defineProperty(obj, key, value) {
79
77
  key = toPropertyKey(key);
@@ -89,44 +87,34 @@ function _defineProperty(obj, key, value) {
89
87
  }
90
88
  return obj;
91
89
  }
92
- ;// external "vue"
93
- var external_vue_x = (y) => {
94
- var x = {}; __webpack_require__.d(x, y); return x
95
- }
96
- var external_vue_y = (x) => (() => (x))
97
- 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), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref) });
98
- ;// external "../config-provider"
99
- var config_provider_x = (y) => {
100
- var x = {}; __webpack_require__.d(x, y); return x
101
- }
102
- var config_provider_y = (x) => (() => (x))
103
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
104
- ;// external "../popover"
105
- var popover_x = (y) => {
106
- var x = {}; __webpack_require__.d(x, y); return x
107
- }
108
- var popover_y = (x) => (() => (x))
109
- const popover_namespaceObject = popover_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
110
- ;// external "../popover/popover.less"
111
- var popover_less_x = (y) => {
112
- var x = {}; __webpack_require__.d(x, y); return x
113
- }
114
- var popover_less_y = (x) => (() => (x))
90
+ ;// CONCATENATED MODULE: external "vue"
91
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
92
+ var external_vue_y = x => () => x
93
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
94
+ ;// CONCATENATED MODULE: external "../config-provider"
95
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
96
+ var config_provider_y = x => () => x
97
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
98
+ ;// CONCATENATED MODULE: external "../popover"
99
+ var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
100
+ var popover_y = x => () => x
101
+ const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
102
+ ;// CONCATENATED MODULE: external "../popover/popover.less"
103
+ var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
104
+ var popover_less_y = x => () => x
115
105
  const popover_less_namespaceObject = popover_less_x({ });
116
- ;// external "lodash/merge"
117
- var merge_x = (y) => {
118
- var x = {}; __webpack_require__.d(x, y); return x
119
- }
120
- var merge_y = (x) => (() => (x))
121
- const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"]) });
122
- ;// ../../packages/dropdown/src/dropdown.tsx
106
+ ;// CONCATENATED MODULE: external "lodash/merge"
107
+ var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
108
+ var merge_y = x => () => x
109
+ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
110
+ ;// CONCATENATED MODULE: ../../packages/dropdown/src/dropdown.tsx
123
111
 
124
112
 
125
113
  /*
126
114
  * Tencent is pleased to support the open source community by making
127
115
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
128
116
  *
129
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
117
+ * Copyright (C) 2025 Tencent. All rights reserved.
130
118
  *
131
119
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
132
120
  *
@@ -172,8 +160,13 @@ const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_M
172
160
  emits: ['showChange', 'show', 'hide'],
173
161
  setup: function setup(_props, _ref) {
174
162
  var emit = _ref.emit;
163
+ var popoverRef = (0,external_vue_namespaceObject.ref)(null);
164
+ var isPopoverShow = (0,external_vue_namespaceObject.ref)(false);
165
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
166
+ resolveClassName = _usePrefix.resolveClassName;
175
167
  /** 弹层显示值变更 */
176
168
  var handleShowChagne = function handleShowChagne(val) {
169
+ isPopoverShow.value = val;
177
170
  emit('showChange', val);
178
171
  };
179
172
  /** 显示后回调 */
@@ -186,10 +179,8 @@ const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_M
186
179
  emit('hide');
187
180
  handleShowChagne(false);
188
181
  };
189
- var popoverRef = (0,external_vue_namespaceObject.ref)(null);
190
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
191
- resolveClassName = _usePrefix.resolveClassName;
192
182
  return {
183
+ isPopoverShow: isPopoverShow,
193
184
  afterShow: afterShow,
194
185
  afterHidden: afterHidden,
195
186
  popoverRef: popoverRef,
@@ -221,24 +212,26 @@ const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_M
221
212
  var _this$$slots$default, _this$$slots;
222
213
  return (0,external_vue_namespaceObject.createVNode)("div", {
223
214
  "class": ["".concat(_this.resolveClassName('dropdown-reference')), _this.disabled ? 'disabled' : '']
224
- }, [' ', (_this$$slots$default = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots), ' ']);
215
+ }, [(_this$$slots$default = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots, {
216
+ popoverShow: _this.isPopoverShow
217
+ })]);
225
218
  },
226
219
  content: function content() {
227
220
  var _this$$slots$content, _this$$slots2;
228
221
  return (0,external_vue_namespaceObject.createVNode)("div", {
229
222
  "class": "".concat(_this.resolveClassName('dropdown-content'))
230
- }, [(0,external_vue_namespaceObject.createTextVNode)(" "), (_this$$slots$content = (_this$$slots2 = _this.$slots).content) === null || _this$$slots$content === void 0 ? void 0 : _this$$slots$content.call(_this$$slots2), (0,external_vue_namespaceObject.createTextVNode)(" ")]);
223
+ }, [(_this$$slots$content = (_this$$slots2 = _this.$slots).content) === null || _this$$slots$content === void 0 ? void 0 : _this$$slots$content.call(_this$$slots2)]);
231
224
  }
232
225
  })]);
233
226
  }
234
227
  }));
235
- ;// ../../packages/dropdown/src/dropdown-item.tsx
228
+ ;// CONCATENATED MODULE: ../../packages/dropdown/src/dropdown-item.tsx
236
229
 
237
230
  /*
238
231
  * Tencent is pleased to support the open source community by making
239
232
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
240
233
  *
241
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
234
+ * Copyright (C) 2025 Tencent. All rights reserved.
242
235
  *
243
236
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
244
237
  *
@@ -295,13 +288,13 @@ const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_M
295
288
  }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
296
289
  }
297
290
  }));
298
- ;// ../../packages/dropdown/src/dropdown-menu.tsx
291
+ ;// CONCATENATED MODULE: ../../packages/dropdown/src/dropdown-menu.tsx
299
292
 
300
293
  /*
301
294
  * Tencent is pleased to support the open source community by making
302
295
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
303
296
  *
304
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
297
+ * Copyright (C) 2025 Tencent. All rights reserved.
305
298
  *
306
299
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
307
300
  *
@@ -348,12 +341,12 @@ const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_M
348
341
  }, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
349
342
  }
350
343
  }));
351
- ;// ../../packages/dropdown/src/index.ts
344
+ ;// CONCATENATED MODULE: ../../packages/dropdown/src/index.ts
352
345
  /*
353
346
  * Tencent is pleased to support the open source community by making
354
347
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
355
348
  *
356
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
349
+ * Copyright (C) 2025 Tencent. All rights reserved.
357
350
  *
358
351
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
359
352
  *
@@ -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
  .bk-exception {
132
133
  position: relative;