bkui-vue 2.0.2-beta.7 → 2.0.2-beta.71

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 (320) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +165 -138
  4. package/dist/index.esm.js +24227 -18480
  5. package/dist/index.umd.js +165 -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 +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 +28 -25
  35. package/lib/cascader/index.d.ts +610 -0
  36. package/lib/cascader/index.js +107 -49
  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 +62 -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 +77 -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 +6 -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 +16 -4
  77. package/lib/form/form.less +24 -6
  78. package/lib/form/form.variable.css +18 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +41 -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 +9 -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 +39 -20
  180. package/lib/input/index.js +44 -27
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +30 -16
  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 +3 -3
  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 +4 -4
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/modal/index.js +14 -6
  200. package/lib/modal/modal.css +20 -1
  201. package/lib/modal/modal.variable.css +22 -2
  202. package/lib/navigation/index.js +3 -3
  203. package/lib/navigation/navigation.css +29 -29
  204. package/lib/navigation/navigation.less +29 -29
  205. package/lib/navigation/navigation.variable.css +31 -30
  206. package/lib/notify/index.js +3 -3
  207. package/lib/notify/notify.variable.css +2 -1
  208. package/lib/overflow-title/index.js +3 -3
  209. package/lib/pagination/index.js +22 -14
  210. package/lib/pagination/pagination.css +1 -0
  211. package/lib/pagination/pagination.less +1 -0
  212. package/lib/pagination/pagination.variable.css +3 -1
  213. package/lib/pop-confirm/index.d.ts +584 -0
  214. package/lib/pop-confirm/index.js +10 -6
  215. package/lib/pop-confirm/pop-confirm.d.ts +292 -0
  216. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  217. package/lib/pop-confirm/props.d.ts +146 -0
  218. package/lib/popover/index.js +18 -21
  219. package/lib/popover/popover.variable.css +2 -1
  220. package/lib/popover2/index.js +2 -2
  221. package/lib/preset.js +1 -1
  222. package/lib/process/index.js +2 -2
  223. package/lib/process/process.d.ts +1 -1
  224. package/lib/process/process.variable.css +2 -1
  225. package/lib/progress/index.js +4 -4
  226. package/lib/progress/progress.variable.css +2 -1
  227. package/lib/radio/index.js +5 -5
  228. package/lib/radio/radio.variable.css +2 -1
  229. package/lib/rate/index.js +3 -3
  230. package/lib/rate/rate.variable.css +2 -1
  231. package/lib/resize-layout/index.js +2 -2
  232. package/lib/resize-layout/resize-layout.css +1 -0
  233. package/lib/resize-layout/resize-layout.less +1 -0
  234. package/lib/resize-layout/resize-layout.variable.css +3 -1
  235. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  236. package/lib/scrollbar/index.js +6 -6
  237. package/lib/search-select/index.d.ts +39 -11
  238. package/lib/search-select/index.js +91 -38
  239. package/lib/search-select/input.d.ts +5 -1
  240. package/lib/search-select/search-select.d.ts +13 -4
  241. package/lib/search-select/search-select.variable.css +2 -1
  242. package/lib/search-select/selected.d.ts +10 -2
  243. package/lib/search-select/utils.d.ts +1 -0
  244. package/lib/select/index.d.ts +22 -3
  245. package/lib/select/index.js +34 -28
  246. package/lib/select/select.d.ts +11 -1
  247. package/lib/select/select.variable.css +2 -1
  248. package/lib/shared/index.d.ts +1 -1
  249. package/lib/shared/index.js +10 -10
  250. package/lib/shared/z-index-manager.d.ts +1 -1
  251. package/lib/sideslider/index.js +5 -3
  252. package/lib/sideslider/sideslider.variable.css +2 -1
  253. package/lib/slider/index.d.ts +1 -1
  254. package/lib/slider/index.js +5 -4
  255. package/lib/slider/slider-button.d.ts +1 -1
  256. package/lib/slider/slider.d.ts +1 -1
  257. package/lib/slider/slider.variable.css +2 -1
  258. package/lib/steps/index.js +2 -2
  259. package/lib/steps/steps.d.ts +1 -1
  260. package/lib/steps/steps.variable.css +2 -1
  261. package/lib/styles/mixins/animate.variable.css +2 -1
  262. package/lib/styles/mixins/popper.variable.css +2 -1
  263. package/lib/styles/mixins/scroll.variable.css +2 -1
  264. package/lib/styles/reset.variable.css +2 -1
  265. package/lib/styles/themes/themes.less +4 -1
  266. package/lib/swiper/index.js +2 -2
  267. package/lib/swiper/swiper.variable.css +2 -1
  268. package/lib/switcher/index.js +2 -2
  269. package/lib/switcher/switcher.variable.css +2 -1
  270. package/lib/tab/index.d.ts +12 -0
  271. package/lib/tab/index.js +20 -17
  272. package/lib/tab/props.d.ts +3 -0
  273. package/lib/tab/tab.d.ts +6 -0
  274. package/lib/tab/tab.variable.css +2 -1
  275. package/lib/table/index.js +33 -36
  276. package/lib/table/plugins/head-filter.variable.css +2 -1
  277. package/lib/table/plugins/head-sort.variable.css +2 -1
  278. package/lib/table/plugins/settings.variable.css +2 -1
  279. package/lib/table/table.css +1 -0
  280. package/lib/table/table.variable.css +3 -1
  281. package/lib/table-column/index.js +1 -1
  282. package/lib/tag/index.js +2 -2
  283. package/lib/tag/tag.variable.css +2 -1
  284. package/lib/tag-input/index.d.ts +9 -0
  285. package/lib/tag-input/index.js +1569 -42
  286. package/lib/tag-input/tag-input.css +16 -0
  287. package/lib/tag-input/tag-input.d.ts +17 -2
  288. package/lib/tag-input/tag-input.less +16 -0
  289. package/lib/tag-input/tag-input.variable.css +18 -1
  290. package/lib/tag-input/tag-render.d.ts +24 -2
  291. package/lib/time-picker/index.js +1 -1
  292. package/lib/time-picker/time-picker.variable.css +2 -1
  293. package/lib/timeline/index.js +1353 -4
  294. package/lib/timeline/timeline.d.ts +1 -1
  295. package/lib/timeline/timeline.variable.css +2 -1
  296. package/lib/transfer/index.d.ts +1 -24
  297. package/lib/transfer/index.js +21 -11
  298. package/lib/transfer/props.d.ts +0 -5
  299. package/lib/transfer/transfer.css +26 -8
  300. package/lib/transfer/transfer.d.ts +1 -12
  301. package/lib/transfer/transfer.less +18 -8
  302. package/lib/transfer/transfer.variable.css +28 -9
  303. package/lib/tree/constant.d.ts +2 -0
  304. package/lib/tree/index.d.ts +48 -11
  305. package/lib/tree/index.js +17650 -106
  306. package/lib/tree/props.d.ts +30 -3
  307. package/lib/tree/tree.css +46 -0
  308. package/lib/tree/tree.d.ts +22 -5
  309. package/lib/tree/tree.less +57 -2
  310. package/lib/tree/tree.variable.css +48 -1
  311. package/lib/tree/use-array-move.d.ts +6 -0
  312. package/lib/tree/use-node-action.d.ts +2 -2
  313. package/lib/tree/use-node-attribute.d.ts +3 -0
  314. package/lib/upload/index.js +8 -8
  315. package/lib/upload/upload.variable.css +2 -1
  316. package/lib/virtual-render/index.js +7 -7
  317. package/lib/virtual-render/virtual-render.variable.css +2 -1
  318. package/lib/volar.components.d.ts +2 -1
  319. package/package.json +13 -2
  320. package/dist/style.css +0 -1
@@ -529,7 +529,7 @@ const icon_namespaceObject = icon_x({ ["Circle"]: () => __WEBPACK_EXTERNAL_MODUL
529
529
  * Tencent is pleased to support the open source community by making
530
530
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
531
531
  *
532
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
532
+ * Copyright (C) 2025 Tencent. All rights reserved.
533
533
  *
534
534
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
535
535
  *
@@ -794,7 +794,7 @@ var stepsProps = {
794
794
  * Tencent is pleased to support the open source community by making
795
795
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
796
796
  *
797
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
797
+ * Copyright (C) 2025 Tencent. All rights reserved.
798
798
  *
799
799
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
800
800
  *
@@ -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
  *
@@ -99,7 +99,7 @@
99
99
  --submenu-bg-color: #151d2c;
100
100
  --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
101
101
  --menu-color: #96a2b9;
102
- --menu-group-color: var(--default-color);
102
+ --menu-group-color: #6E788B;
103
103
  --menu-width: 260px;
104
104
  --menu-collapse-width: 60px;
105
105
  --menu-active-color: white;
@@ -128,6 +128,7 @@
128
128
  --search-select-menu-border-color: var(--disable-color);
129
129
  --select-active-color: #e1ecff;
130
130
  --select-hover-color: #f5f7fa;
131
+ --sub-title-bg-color: #f5f6fa;
131
132
  }
132
133
  * {
133
134
  box-sizing: border-box;
@@ -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% {
@@ -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
  .bk-popper {
132
133
  display: none;
@@ -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
  .bk-F-scroll-x {
132
133
  overflow-x: auto;
@@ -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
  .scroll-bar-style::-webkit-scrollbar {
132
133
  width: 4px;
@@ -129,7 +129,7 @@
129
129
  @submenu-bg-color: #151d2c;
130
130
  @menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
131
131
  @menu-color: #96a2b9;
132
- @menu-group-color: @default-color;
132
+ @menu-group-color: #6E788B;
133
133
  @menu-width: 260px;
134
134
  @menu-collapse-width: 60px;
135
135
  @menu-active-color: white;
@@ -173,3 +173,6 @@
173
173
  // select theme
174
174
  @select-active-color: #e1ecff;
175
175
  @select-hover-color: #f5f7fa;
176
+
177
+ // info-box theme
178
+ @sub-title-bg-color: #f5f6fa;
@@ -96,7 +96,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
96
96
  * Tencent is pleased to support the open source community by making
97
97
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
98
98
  *
99
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
99
+ * Copyright (C) 2025 Tencent. All rights reserved.
100
100
  *
101
101
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
102
102
  *
@@ -309,7 +309,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
309
309
  * Tencent is pleased to support the open source community by making
310
310
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
311
311
  *
312
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
312
+ * Copyright (C) 2025 Tencent. All rights reserved.
313
313
  *
314
314
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
315
315
  *
@@ -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
  .bk-swiper-home {
132
133
  position: relative;
@@ -101,7 +101,7 @@ const icon_namespaceObject = icon_x({ ["SwitcherLoading"]: () => __WEBPACK_EXTER
101
101
  * Tencent is pleased to support the open source community by making
102
102
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
103
103
  *
104
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
104
+ * Copyright (C) 2025 Tencent. All rights reserved.
105
105
  *
106
106
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
107
107
  *
@@ -248,7 +248,7 @@ var switcherEmitEventsType = _defineProperty(_defineProperty({}, EVENTS.UPDATE,
248
248
  * Tencent is pleased to support the open source community by making
249
249
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
250
250
  *
251
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
251
+ * Copyright (C) 2025 Tencent. All rights reserved.
252
252
  *
253
253
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
254
254
  *
@@ -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% {
@@ -45,6 +45,9 @@ declare const BkTab: {
45
45
  } & {
46
46
  default: string;
47
47
  };
48
+ beforeChange: {
49
+ type: FunctionConstructor;
50
+ };
48
51
  }>> & {
49
52
  onDrag?: (...args: any[]) => any;
50
53
  onChange?: (...args: any[]) => any;
@@ -107,6 +110,9 @@ declare const BkTab: {
107
110
  } & {
108
111
  default: string;
109
112
  };
113
+ beforeChange: {
114
+ type: FunctionConstructor;
115
+ };
110
116
  }>> & {
111
117
  onDrag?: (...args: any[]) => any;
112
118
  onChange?: (...args: any[]) => any;
@@ -180,6 +186,9 @@ declare const BkTab: {
180
186
  } & {
181
187
  default: string;
182
188
  };
189
+ beforeChange: {
190
+ type: FunctionConstructor;
191
+ };
183
192
  }>> & {
184
193
  onDrag?: (...args: any[]) => any;
185
194
  onChange?: (...args: any[]) => any;
@@ -259,6 +268,9 @@ declare const BkTab: {
259
268
  } & {
260
269
  default: string;
261
270
  };
271
+ beforeChange: {
272
+ type: FunctionConstructor;
273
+ };
262
274
  }>> & {
263
275
  onDrag?: (...args: any[]) => any;
264
276
  onChange?: (...args: any[]) => any;
package/lib/tab/index.js CHANGED
@@ -858,7 +858,10 @@ var tabProps = {
858
858
  extCls: shared_namespaceObject.PropTypes.string.def(''),
859
859
  validateActive: shared_namespaceObject.PropTypes.bool.def(true),
860
860
  activeBarSize: shared_namespaceObject.PropTypes.number.def(2),
861
- activeBarColor: shared_namespaceObject.PropTypes.string.def('#3a84ff')
861
+ activeBarColor: shared_namespaceObject.PropTypes.string.def('#3a84ff'),
862
+ beforeChange: {
863
+ type: Function
864
+ }
862
865
  };
863
866
  var tabNavProps = _objectSpread({
864
867
  active: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.string]).def(''),
@@ -932,7 +935,7 @@ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.
932
935
  * Tencent is pleased to support the open source community by making
933
936
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
934
937
  *
935
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
938
+ * Copyright (C) 2025 Tencent. All rights reserved.
936
939
  *
937
940
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
938
941
  *
@@ -1060,7 +1063,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
1060
1063
  * Tencent is pleased to support the open source community by making
1061
1064
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1062
1065
  *
1063
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1066
+ * Copyright (C) 2025 Tencent. All rights reserved.
1064
1067
  *
1065
1068
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1066
1069
  *
@@ -1172,7 +1175,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
1172
1175
  * Tencent is pleased to support the open source community by making
1173
1176
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1174
1177
  *
1175
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1178
+ * Copyright (C) 2025 Tencent. All rights reserved.
1176
1179
  *
1177
1180
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1178
1181
  *
@@ -1223,7 +1226,7 @@ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
1223
1226
  * Tencent is pleased to support the open source community by making
1224
1227
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1225
1228
  *
1226
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1229
+ * Copyright (C) 2025 Tencent. All rights reserved.
1227
1230
  *
1228
1231
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1229
1232
  *
@@ -1278,9 +1281,6 @@ var tooltips = {
1278
1281
  hide(el);
1279
1282
  }, 100);
1280
1283
  });
1281
- el.addEventListener('click', function () {
1282
- hide(el);
1283
- });
1284
1284
  popper.addEventListener('mouseleave', function () {
1285
1285
  clearTimeout(delayTimeout);
1286
1286
  hideTimeout = setTimeout(function () {
@@ -1294,7 +1294,7 @@ var tooltips = {
1294
1294
  show(el);
1295
1295
  clearTimeout(delayTimeout);
1296
1296
  }, opts.delay);
1297
- } else if (popper.hasAttribute('data-show')) {
1297
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
1298
1298
  hide(el);
1299
1299
  }
1300
1300
  });
@@ -1518,7 +1518,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
1518
1518
  * Tencent is pleased to support the open source community by making
1519
1519
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1520
1520
  *
1521
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1521
+ * Copyright (C) 2025 Tencent. All rights reserved.
1522
1522
  *
1523
1523
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1524
1524
  *
@@ -1559,7 +1559,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
1559
1559
  * Tencent is pleased to support the open source community by making
1560
1560
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1561
1561
  *
1562
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1562
+ * Copyright (C) 2025 Tencent. All rights reserved.
1563
1563
  *
1564
1564
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1565
1565
  *
@@ -1907,7 +1907,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
1907
1907
  * Tencent is pleased to support the open source community by making
1908
1908
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1909
1909
  *
1910
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1910
+ * Copyright (C) 2025 Tencent. All rights reserved.
1911
1911
  *
1912
1912
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1913
1913
  *
@@ -1999,10 +1999,13 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
1999
1999
  });
2000
2000
  },
2001
2001
  tabChange: function tabChange(name) {
2002
- // emit('xxx') 会调用onXxx函数, 所以不必在主动调用onXxx函数了
2003
- emit('change', name);
2004
- emit('tab-change', name);
2005
- emit('update:active', name);
2002
+ var _props$beforeChange, _props$beforeChange2;
2003
+ if ((_props$beforeChange = (_props$beforeChange2 = _props.beforeChange) === null || _props$beforeChange2 === void 0 ? void 0 : _props$beforeChange2.call(_props, name)) !== null && _props$beforeChange !== void 0 ? _props$beforeChange : true) {
2004
+ // emit('xxx') 会调用onXxx函数, 所以不必在主动调用onXxx函数了
2005
+ emit('change', name);
2006
+ emit('tab-change', name);
2007
+ emit('update:active', name);
2008
+ }
2006
2009
  },
2007
2010
  tabRemove: function tabRemove(index, panel) {
2008
2011
  // emit('xxx') 会调用onXxx函数, 所以不必在主动调用onXxx函数了
@@ -2118,7 +2121,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
2118
2121
  * Tencent is pleased to support the open source community by making
2119
2122
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2120
2123
  *
2121
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2124
+ * Copyright (C) 2025 Tencent. All rights reserved.
2122
2125
  *
2123
2126
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2124
2127
  *
@@ -152,6 +152,9 @@ export declare const tabProps: {
152
152
  } & {
153
153
  default: string;
154
154
  };
155
+ beforeChange: {
156
+ type: FunctionConstructor;
157
+ };
155
158
  };
156
159
  export declare const tabNavProps: {
157
160
  tabAdd: {
package/lib/tab/tab.d.ts CHANGED
@@ -39,6 +39,9 @@ declare const _default: import("vue").DefineComponent<{
39
39
  } & {
40
40
  default: string;
41
41
  };
42
+ beforeChange: {
43
+ type: FunctionConstructor;
44
+ };
42
45
  }, {
43
46
  isMounted: import("vue").Ref<boolean>;
44
47
  panels: import("vue").Ref<any[]>;
@@ -89,6 +92,9 @@ declare const _default: import("vue").DefineComponent<{
89
92
  } & {
90
93
  default: string;
91
94
  };
95
+ beforeChange: {
96
+ type: FunctionConstructor;
97
+ };
92
98
  }>> & {
93
99
  onDrag?: (...args: any[]) => any;
94
100
  onChange?: (...args: any[]) => any;
@@ -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
  .bk-tab {
132
133
  position: relative;