bkui-vue 2.0.2-beta.5 → 2.0.2-beta.51

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 +16844 -14959
  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 +2 -2
  17. package/lib/alert/alert.variable.css +1 -0
  18. package/lib/alert/index.js +2 -2
  19. package/lib/animate-number/index.js +2 -2
  20. package/lib/backtop/backtop.variable.css +1 -0
  21. package/lib/backtop/index.js +2 -2
  22. package/lib/badge/badge.variable.css +1 -0
  23. package/lib/badge/index.js +2 -2
  24. package/lib/breadcrumb/breadcrumb.variable.css +1 -0
  25. package/lib/breadcrumb/index.js +3 -3
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +1 -0
  28. package/lib/button/index.js +3 -3
  29. package/lib/card/card.variable.css +1 -0
  30. package/lib/card/index.js +2 -2
  31. package/lib/cascader/cascader.css +26 -24
  32. package/lib/cascader/cascader.d.ts +12 -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 +26 -0
  36. package/lib/cascader/index.js +120 -70
  37. package/lib/checkbox/checkbox.variable.css +1 -0
  38. package/lib/checkbox/index.js +5 -5
  39. package/lib/code-diff/code-diff.variable.css +1 -0
  40. package/lib/code-diff/index.js +2 -2
  41. package/lib/collapse/collapse.variable.css +1 -0
  42. package/lib/collapse/index.js +3 -3
  43. package/lib/collapse-transition/collapse-transition.variable.css +1 -0
  44. package/lib/collapse-transition/index.js +2 -2
  45. package/lib/color-picker/color-picker.variable.css +1 -0
  46. package/lib/color-picker/index.js +33 -29
  47. package/lib/components.d.ts +1 -2
  48. package/lib/components.js +2 -3
  49. package/lib/config-provider/config-provider.variable.css +1 -0
  50. package/lib/config-provider/index.d.ts +1 -1
  51. package/lib/config-provider/index.js +6 -6
  52. package/lib/container/container.variable.css +1 -0
  53. package/lib/container/index.js +5 -5
  54. package/lib/date-picker/date-picker.variable.css +1 -0
  55. package/lib/date-picker/index.js +74 -79
  56. package/lib/date-picker/panel/time.d.ts +1 -1
  57. package/lib/date-picker/utils.d.ts +5 -17
  58. package/lib/dialog/dialog.css +20 -1
  59. package/lib/dialog/dialog.variable.css +21 -1
  60. package/lib/dialog/index.js +13 -36
  61. package/lib/directives/index.js +22 -18
  62. package/lib/dist.index.js +1 -1
  63. package/lib/divider/divider.variable.css +1 -0
  64. package/lib/divider/index.js +3 -3
  65. package/lib/dropdown/dropdown.d.ts +1 -0
  66. package/lib/dropdown/dropdown.variable.css +1 -0
  67. package/lib/dropdown/index.d.ts +3 -0
  68. package/lib/dropdown/index.js +15 -10
  69. package/lib/exception/exception.variable.css +1 -0
  70. package/lib/exception/index.js +2 -2
  71. package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
  72. package/lib/fixed-navbar/index.js +2 -2
  73. package/lib/form/form-item.d.ts +19 -0
  74. package/lib/form/form.css +16 -4
  75. package/lib/form/form.less +24 -6
  76. package/lib/form/form.variable.css +17 -4
  77. package/lib/form/index.d.ts +13 -0
  78. package/lib/form/index.js +44 -36
  79. package/lib/hooks.js +1 -1
  80. package/lib/icon/angle-double-down-line.js +1 -1
  81. package/lib/icon/angle-double-left-line.js +1 -1
  82. package/lib/icon/angle-double-left.js +1 -1
  83. package/lib/icon/angle-double-right-line.js +1 -1
  84. package/lib/icon/angle-double-right.js +1 -1
  85. package/lib/icon/angle-double-up-line.js +1 -1
  86. package/lib/icon/angle-down-fill.js +1 -1
  87. package/lib/icon/angle-down-line.js +1 -1
  88. package/lib/icon/angle-down.js +1 -1
  89. package/lib/icon/angle-left.js +1 -1
  90. package/lib/icon/angle-right.js +1 -1
  91. package/lib/icon/angle-up-fill.js +1 -1
  92. package/lib/icon/angle-up.js +1 -1
  93. package/lib/icon/archive-fill.js +1 -1
  94. package/lib/icon/arrows-left.js +1 -1
  95. package/lib/icon/arrows-right.js +1 -1
  96. package/lib/icon/assistant.js +1 -1
  97. package/lib/icon/audio-fill.js +1 -1
  98. package/lib/icon/bk.js +1 -1
  99. package/lib/icon/circle.js +1 -1
  100. package/lib/icon/close-line.js +1 -1
  101. package/lib/icon/close.js +1 -1
  102. package/lib/icon/code.js +1 -1
  103. package/lib/icon/cog-shape.js +1 -1
  104. package/lib/icon/collapse-left.js +1 -1
  105. package/lib/icon/copy-shape.js +1 -1
  106. package/lib/icon/copy.js +1 -1
  107. package/lib/icon/data-shape.js +1 -1
  108. package/lib/icon/del.js +1 -1
  109. package/lib/icon/doc-fill.js +1 -1
  110. package/lib/icon/done.js +1 -1
  111. package/lib/icon/down-shape.js +1 -1
  112. package/lib/icon/down-small.js +1 -1
  113. package/lib/icon/edit-line.js +1 -1
  114. package/lib/icon/ellipsis.js +1 -1
  115. package/lib/icon/enlarge-line.js +1 -1
  116. package/lib/icon/error.js +1 -1
  117. package/lib/icon/excel-fill.js +1 -1
  118. package/lib/icon/exclamation-circle-shape.js +1 -1
  119. package/lib/icon/eye.js +1 -1
  120. package/lib/icon/filliscreen-line.js +1 -1
  121. package/lib/icon/fix-line.js +1 -1
  122. package/lib/icon/fix-shape.js +1 -1
  123. package/lib/icon/folder-open.js +1 -1
  124. package/lib/icon/folder-shape-open.js +1 -1
  125. package/lib/icon/folder-shape.js +1 -1
  126. package/lib/icon/folder.js +1 -1
  127. package/lib/icon/funnel.js +1 -1
  128. package/lib/icon/grag-fill.js +1 -1
  129. package/lib/icon/help-document-fill.js +1 -1
  130. package/lib/icon/help-fill.js +1 -1
  131. package/lib/icon/help.js +1 -1
  132. package/lib/icon/image-fill.js +1 -1
  133. package/lib/icon/img-error.js +1 -1
  134. package/lib/icon/img-placehoulder.js +1 -1
  135. package/lib/icon/index.js +1 -1
  136. package/lib/icon/info-line.js +1 -1
  137. package/lib/icon/info.js +1 -1
  138. package/lib/icon/left-shape.js +1 -1
  139. package/lib/icon/left-turn-line.js +1 -1
  140. package/lib/icon/loading.js +1 -1
  141. package/lib/icon/narrow-line.js +1 -1
  142. package/lib/icon/original.js +1 -1
  143. package/lib/icon/pdf-fill.js +1 -1
  144. package/lib/icon/play-shape.js +1 -1
  145. package/lib/icon/plus.js +1 -1
  146. package/lib/icon/ppt-fill.js +1 -1
  147. package/lib/icon/qq.js +1 -1
  148. package/lib/icon/right-shape.js +1 -1
  149. package/lib/icon/right-turn-line.js +1 -1
  150. package/lib/icon/search.js +1 -1
  151. package/lib/icon/share.js +1 -1
  152. package/lib/icon/spinner.js +1 -1
  153. package/lib/icon/success.js +1 -1
  154. package/lib/icon/switcher-loading.js +1 -1
  155. package/lib/icon/text-all.js +1 -1
  156. package/lib/icon/text-file.js +1 -1
  157. package/lib/icon/text-fill.js +1 -1
  158. package/lib/icon/transfer.js +1 -1
  159. package/lib/icon/tree-application-shape.js +1 -1
  160. package/lib/icon/unfull-screen.js +1 -1
  161. package/lib/icon/unvisible.js +1 -1
  162. package/lib/icon/up-shape.js +1 -1
  163. package/lib/icon/upload.js +1 -1
  164. package/lib/icon/video-fill.js +1 -1
  165. package/lib/icon/warn.js +1 -1
  166. package/lib/icon/weixin-pro.js +1 -1
  167. package/lib/icon/weixin.js +1 -1
  168. package/lib/image/image-viewer.variable.css +1 -0
  169. package/lib/image/image.variable.css +1 -0
  170. package/lib/image/index.js +15 -18
  171. package/lib/index.d.ts +0 -1
  172. package/lib/index.js +1 -2
  173. package/lib/info-box/index.js +22 -7
  174. package/lib/info-box/info-box.css +20 -1
  175. package/lib/info-box/info-box.d.ts +1 -0
  176. package/lib/info-box/info-box.less +28 -2
  177. package/lib/info-box/info-box.variable.css +22 -2
  178. package/lib/input/index.d.ts +39 -20
  179. package/lib/input/index.js +33 -30
  180. package/lib/input/input.d.ts +30 -16
  181. package/lib/input/input.variable.css +1 -0
  182. package/lib/link/index.js +2 -2
  183. package/lib/link/link.variable.css +1 -0
  184. package/lib/loading/index.js +3 -3
  185. package/lib/loading/loading.variable.css +1 -0
  186. package/lib/locale/index.d.ts +1 -0
  187. package/lib/locale/index.js +172 -4
  188. package/lib/locale/lang/ja-jp.d.ts +3 -0
  189. package/lib/menu/index.js +12 -9
  190. package/lib/menu/menu.variable.css +1 -0
  191. package/lib/menu/submenu.variable.css +1 -0
  192. package/lib/message/index.js +4 -4
  193. package/lib/message/message.variable.css +1 -0
  194. package/lib/modal/index.js +7 -6
  195. package/lib/modal/modal.css +20 -1
  196. package/lib/modal/modal.variable.css +21 -1
  197. package/lib/navigation/index.js +3 -3
  198. package/lib/navigation/navigation.variable.css +1 -0
  199. package/lib/notify/index.js +3 -3
  200. package/lib/notify/notify.variable.css +1 -0
  201. package/lib/overflow-title/index.js +3 -3
  202. package/lib/pagination/index.js +6 -6
  203. package/lib/pagination/pagination.variable.css +1 -0
  204. package/lib/pop-confirm/index.d.ts +584 -0
  205. package/lib/pop-confirm/index.js +10 -6
  206. package/lib/pop-confirm/pop-confirm.d.ts +292 -0
  207. package/lib/pop-confirm/pop-confirm.variable.css +1 -0
  208. package/lib/pop-confirm/props.d.ts +146 -0
  209. package/lib/popover/index.js +24 -27
  210. package/lib/popover/popover.variable.css +1 -0
  211. package/lib/popover2/index.js +2 -2
  212. package/lib/preset.js +1 -1
  213. package/lib/process/index.js +2 -2
  214. package/lib/process/process.d.ts +1 -1
  215. package/lib/process/process.variable.css +1 -0
  216. package/lib/progress/index.js +4 -4
  217. package/lib/progress/progress.variable.css +1 -0
  218. package/lib/radio/index.js +5 -5
  219. package/lib/radio/radio.variable.css +1 -0
  220. package/lib/rate/index.js +3 -3
  221. package/lib/rate/rate.variable.css +1 -0
  222. package/lib/resize-layout/index.js +2 -2
  223. package/lib/resize-layout/resize-layout.variable.css +1 -0
  224. package/lib/scrollbar/css/scrollbar.variable.css +1 -0
  225. package/lib/scrollbar/index.js +6 -6
  226. package/lib/search-select/index.d.ts +21 -3
  227. package/lib/search-select/index.js +73 -41
  228. package/lib/search-select/input.d.ts +3 -0
  229. package/lib/search-select/search-select.d.ts +7 -1
  230. package/lib/search-select/search-select.variable.css +1 -0
  231. package/lib/search-select/selected.d.ts +6 -0
  232. package/lib/select/index.d.ts +22 -3
  233. package/lib/select/index.js +39 -39
  234. package/lib/select/select.d.ts +11 -1
  235. package/lib/select/select.variable.css +1 -0
  236. package/lib/shared/index.d.ts +1 -1
  237. package/lib/shared/index.js +10 -10
  238. package/lib/shared/z-index-manager.d.ts +1 -1
  239. package/lib/sideslider/index.js +5 -3
  240. package/lib/sideslider/sideslider.variable.css +1 -0
  241. package/lib/slider/index.d.ts +1 -1
  242. package/lib/slider/index.js +5 -4
  243. package/lib/slider/slider-button.d.ts +1 -1
  244. package/lib/slider/slider.d.ts +1 -1
  245. package/lib/slider/slider.variable.css +1 -0
  246. package/lib/steps/index.js +2 -2
  247. package/lib/steps/steps.d.ts +1 -1
  248. package/lib/steps/steps.variable.css +1 -0
  249. package/lib/styles/mixins/animate.variable.css +1 -0
  250. package/lib/styles/mixins/popper.variable.css +1 -0
  251. package/lib/styles/mixins/scroll.variable.css +1 -0
  252. package/lib/styles/reset.variable.css +1 -0
  253. package/lib/styles/themes/themes.less +3 -0
  254. package/lib/swiper/index.js +2 -2
  255. package/lib/swiper/swiper.variable.css +1 -0
  256. package/lib/switcher/index.js +2 -2
  257. package/lib/switcher/switcher.variable.css +1 -0
  258. package/lib/tab/index.d.ts +12 -0
  259. package/lib/tab/index.js +26 -23
  260. package/lib/tab/props.d.ts +3 -0
  261. package/lib/tab/tab.d.ts +6 -0
  262. package/lib/tab/tab.variable.css +1 -0
  263. package/lib/table/index.js +39 -47
  264. package/lib/table/plugins/head-filter.variable.css +1 -0
  265. package/lib/table/plugins/head-sort.variable.css +1 -0
  266. package/lib/table/plugins/settings.variable.css +1 -0
  267. package/lib/table/table.variable.css +1 -0
  268. package/lib/table-column/index.js +1 -1
  269. package/lib/tag/index.js +2 -2
  270. package/lib/tag/tag.variable.css +1 -0
  271. package/lib/tag-input/index.d.ts +3 -0
  272. package/lib/tag-input/index.js +1398 -38
  273. package/lib/tag-input/tag-input.d.ts +1 -0
  274. package/lib/tag-input/tag-input.variable.css +1 -0
  275. package/lib/time-picker/index.js +1 -1
  276. package/lib/time-picker/time-picker.variable.css +1 -0
  277. package/lib/timeline/index.js +1353 -4
  278. package/lib/timeline/timeline.d.ts +1 -1
  279. package/lib/timeline/timeline.variable.css +1 -0
  280. package/lib/transfer/index.d.ts +1 -1
  281. package/lib/transfer/index.js +4 -4
  282. package/lib/transfer/transfer.d.ts +1 -1
  283. package/lib/transfer/transfer.variable.css +1 -0
  284. package/lib/tree/constant.d.ts +2 -0
  285. package/lib/tree/index.d.ts +48 -0
  286. package/lib/tree/index.js +221 -71
  287. package/lib/tree/props.d.ts +20 -0
  288. package/lib/tree/tree.css +46 -0
  289. package/lib/tree/tree.d.ts +22 -0
  290. package/lib/tree/tree.less +57 -2
  291. package/lib/tree/tree.variable.css +47 -0
  292. package/lib/tree/use-node-action.d.ts +2 -2
  293. package/lib/upload/index.js +8 -8
  294. package/lib/upload/upload.variable.css +1 -0
  295. package/lib/virtual-render/index.js +7 -7
  296. package/lib/virtual-render/virtual-render.variable.css +1 -0
  297. package/lib/volar.components.d.ts +1 -1
  298. package/package.json +13 -2
  299. package/dist/style.css +0 -1
  300. package/lib/plugin-popover/index.d.ts +0 -27
  301. package/lib/plugin-popover/index.js +0 -65
  302. package/lib/plugins/index.d.ts +0 -1
  303. package/lib/plugins/index.js +0 -64
@@ -3,7 +3,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../sh
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
6
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
6
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
9
9
  import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
@@ -753,7 +753,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
753
753
  * Tencent is pleased to support the open source community by making
754
754
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
755
755
  *
756
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
756
+ * Copyright (C) 2025 Tencent. All rights reserved.
757
757
  *
758
758
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
759
759
  *
@@ -871,17 +871,17 @@ ClickOutside.install = function (app) {
871
871
  app.directive('bkTooltips', ClickOutside);
872
872
  };
873
873
  /* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
874
- ;// CONCATENATED MODULE: external "../plugin-popover"
875
- var plugin_popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
876
- var plugin_popover_y = x => () => x
877
- const plugin_popover_namespaceObject = plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
874
+ ;// CONCATENATED MODULE: external "../popover"
875
+ var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
876
+ var popover_y = x => () => x
877
+ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
878
878
  ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
879
879
 
880
880
  /*
881
881
  * Tencent is pleased to support the open source community by making
882
882
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
883
883
  *
884
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
884
+ * Copyright (C) 2025 Tencent. All rights reserved.
885
885
  *
886
886
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
887
887
  *
@@ -952,7 +952,7 @@ var createInstance = function createInstance(el, binding) {
952
952
  onContentMouseenter: handleContentEnter,
953
953
  onContentMouseleave: handleContentLeave
954
954
  });
955
- instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
955
+ instance = (0,popover_namespaceObject.$bkPopover)(targetOptions);
956
956
  }, 300);
957
957
  };
958
958
  var handleMouseLeave = function handleMouseLeave() {
@@ -993,7 +993,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
993
993
  * Tencent is pleased to support the open source community by making
994
994
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
995
995
  *
996
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
996
+ * Copyright (C) 2025 Tencent. All rights reserved.
997
997
  *
998
998
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
999
999
  *
@@ -1081,7 +1081,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1081
1081
  * Tencent is pleased to support the open source community by making
1082
1082
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1083
1083
  *
1084
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1084
+ * Copyright (C) 2025 Tencent. All rights reserved.
1085
1085
  *
1086
1086
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1087
1087
  *
@@ -1136,9 +1136,6 @@ var tooltips = {
1136
1136
  hide(el);
1137
1137
  }, 100);
1138
1138
  });
1139
- el.addEventListener('click', function () {
1140
- hide(el);
1141
- });
1142
1139
  popper.addEventListener('mouseleave', function () {
1143
1140
  clearTimeout(delayTimeout);
1144
1141
  hideTimeout = setTimeout(function () {
@@ -1152,7 +1149,7 @@ var tooltips = {
1152
1149
  show(el);
1153
1150
  clearTimeout(delayTimeout);
1154
1151
  }, opts.delay);
1155
- } else if (popper.hasAttribute('data-show')) {
1152
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
1156
1153
  hide(el);
1157
1154
  }
1158
1155
  });
@@ -1376,7 +1373,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
1376
1373
  * Tencent is pleased to support the open source community by making
1377
1374
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1378
1375
  *
1379
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1376
+ * Copyright (C) 2025 Tencent. All rights reserved.
1380
1377
  *
1381
1378
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1382
1379
  *
@@ -1456,7 +1453,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1456
1453
  * Tencent is pleased to support the open source community by making
1457
1454
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1458
1455
  *
1459
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1456
+ * Copyright (C) 2025 Tencent. All rights reserved.
1460
1457
  *
1461
1458
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1462
1459
  *
@@ -1804,7 +1801,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1804
1801
  * Tencent is pleased to support the open source community by making
1805
1802
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1806
1803
  *
1807
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1804
+ * Copyright (C) 2025 Tencent. All rights reserved.
1808
1805
  *
1809
1806
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1810
1807
  *
@@ -1913,7 +1910,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1913
1910
  * Tencent is pleased to support the open source community by making
1914
1911
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1915
1912
  *
1916
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1913
+ * Copyright (C) 2025 Tencent. All rights reserved.
1917
1914
  *
1918
1915
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1919
1916
  *
package/lib/index.d.ts CHANGED
@@ -8,5 +8,4 @@ export * from './hooks';
8
8
  export { default } from './preset';
9
9
  export * from './config-provider';
10
10
  export * from './directives';
11
- export * as plugins from './plugins';
12
11
  export declare const version: string;
package/lib/index.js CHANGED
@@ -3,6 +3,5 @@ export * from './hooks';
3
3
  export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
- export * as plugins from './plugins';
7
- export const version = "2.0.2-beta.5";
6
+ export const version = "2.0.2-beta.51";
8
7
  window.__bkui_vue_version__ = version;
@@ -549,7 +549,7 @@ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_E
549
549
  * Tencent is pleased to support the open source community by making
550
550
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
551
551
  *
552
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
552
+ * Copyright (C) 2025 Tencent. All rights reserved.
553
553
  *
554
554
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
555
555
  *
@@ -593,6 +593,7 @@ var genDefaultState = function genDefaultState() {
593
593
  headerAlign: 'center',
594
594
  contentAlign: 'center',
595
595
  footerAlign: 'center',
596
+ showContentBgColor: false,
596
597
  showMask: true,
597
598
  quickClose: false,
598
599
  escClose: false,
@@ -772,9 +773,20 @@ var genDefaultState = function genDefaultState() {
772
773
  }
773
774
  })]);
774
775
  };
776
+ var renderWidth = function renderWidth() {
777
+ // 如果有辅助文案类型和有引用内容类型默认宽480px
778
+ if (!!renderContent() && [400].includes(state.width)) {
779
+ return 480;
780
+ }
781
+ return state.width;
782
+ };
775
783
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], {
776
- "width": state.width,
777
- "class": [resolveClassName('infobox'), state["class"]],
784
+ "width": renderWidth(),
785
+ "class": [_defineProperty({}, resolveClassName('infobox'), true),
786
+ // 处理无提示内容modal-content还会占位高度
787
+ {
788
+ 'no-content-infobox': !state.content
789
+ }, state["class"]],
778
790
  "animateType": "fadein",
779
791
  "closeIcon": state.closeIcon,
780
792
  "isShow": isShow.value,
@@ -796,7 +808,7 @@ var genDefaultState = function genDefaultState() {
796
808
  "style": {
797
809
  textAlign: state.contentAlign
798
810
  },
799
- "class": resolveClassName('infobox-content')
811
+ "class": _defineProperty(_defineProperty({}, resolveClassName('infobox-content'), true), "set-bg-color", state.showContentBgColor)
800
812
  }, [renderContent()]);
801
813
  },
802
814
  footer: function footer() {
@@ -806,7 +818,10 @@ var genDefaultState = function genDefaultState() {
806
818
  },
807
819
  close: function close() {
808
820
  return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
809
- "onClick": handleCancel
821
+ "onClick": function onClick() {
822
+ // 使用 void 明确忽略返回值
823
+ void handleCancel();
824
+ }
810
825
  }, null);
811
826
  }
812
827
  });
@@ -818,7 +833,7 @@ var genDefaultState = function genDefaultState() {
818
833
  * Tencent is pleased to support the open source community by making
819
834
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
820
835
  *
821
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
836
+ * Copyright (C) 2025 Tencent. All rights reserved.
822
837
  *
823
838
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
824
839
  *
@@ -891,7 +906,7 @@ var InfoBox = function InfoBox(config) {
891
906
  * Tencent is pleased to support the open source community by making
892
907
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
893
908
  *
894
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
909
+ * Copyright (C) 2025 Tencent. All rights reserved.
895
910
  *
896
911
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
897
912
  *
@@ -6,6 +6,16 @@
6
6
  left: 50%;
7
7
  transform: translate(-50%, -50%);
8
8
  }
9
+ .bk-infobox .bk-modal-wrapper .bk-modal-body {
10
+ min-height: 176px;
11
+ }
12
+ .bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
13
+ color: #63656e;
14
+ font-size: 14px;
15
+ }
16
+ .bk-infobox.no-content-infobox .bk-modal-content {
17
+ display: none;
18
+ }
9
19
  .bk-infobox-header {
10
20
  padding-top: 24px;
11
21
  }
@@ -40,10 +50,19 @@
40
50
  color: #313238;
41
51
  }
42
52
  .bk-infobox-content {
43
- padding-right: 24px;
44
53
  padding-left: 24px;
54
+ padding-right: 24px;
45
55
  margin-top: 16px;
46
56
  }
57
+ .bk-infobox-content.set-bg-color {
58
+ background-color: #f5f6fa;
59
+ margin-left: 32px;
60
+ margin-right: 32px;
61
+ padding-top: 12px;
62
+ padding-bottom: 12px;
63
+ padding-left: 16px;
64
+ padding-right: 16px;
65
+ }
47
66
  .bk-infobox-footer {
48
67
  display: flex;
49
68
  padding-right: 24px;
@@ -13,6 +13,7 @@ export interface Props {
13
13
  headerAlign?: 'center' | 'left' | 'right';
14
14
  footerAlign?: 'center' | 'left' | 'right';
15
15
  contentAlign?: 'center' | 'left' | 'right';
16
+ showContentBgColor?: boolean;
16
17
  showMask?: boolean;
17
18
  quickClose?: boolean;
18
19
  escClose?: boolean;
@@ -1,12 +1,28 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
3
  .@{bk-prefix}-infobox {
4
- font-size: 12px;
4
+ font-size: @font-size-base;
5
5
 
6
6
  .@{bk-prefix}-modal-wrapper {
7
7
  top: 50%;
8
8
  left: 50%;
9
9
  transform: translate(-50%, -50%);
10
+
11
+ .@{bk-prefix}-modal-body {
12
+ min-height: 176px;
13
+
14
+ .@{bk-prefix}-modal-content {
15
+ color: @default-color;
16
+ font-size: @font-size-medium;
17
+ }
18
+ }
19
+
20
+ }
21
+
22
+ &.no-content-infobox {
23
+ .@{bk-prefix}-modal-content {
24
+ display: none;
25
+ }
10
26
  }
11
27
  }
12
28
 
@@ -52,9 +68,19 @@
52
68
  }
53
69
 
54
70
  .@{bk-prefix}-infobox-content {
55
- padding-right: 24px;
56
71
  padding-left: 24px;
72
+ padding-right: 24px;
57
73
  margin-top: 16px;
74
+
75
+ &.set-bg-color {
76
+ background-color: @sub-title-bg-color;
77
+ margin-left: 32px;
78
+ margin-right: 32px;
79
+ padding-top: 12px;
80
+ padding-bottom: 12px;
81
+ padding-left: 16px;
82
+ padding-right: 16px;
83
+ }
58
84
  }
59
85
 
60
86
  .@{bk-prefix}-infobox-footer {
@@ -127,15 +127,26 @@
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-infobox {
132
- font-size: 12px;
133
+ font-size: var(--font-size-base);
133
134
  }
134
135
  .bk-infobox .bk-modal-wrapper {
135
136
  top: 50%;
136
137
  left: 50%;
137
138
  transform: translate(-50%, -50%);
138
139
  }
140
+ .bk-infobox .bk-modal-wrapper .bk-modal-body {
141
+ min-height: 176px;
142
+ }
143
+ .bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
144
+ color: var(--default-color);
145
+ font-size: var(--font-size-medium);
146
+ }
147
+ .bk-infobox.no-content-infobox .bk-modal-content {
148
+ display: none;
149
+ }
139
150
  .bk-infobox-header {
140
151
  padding-top: 24px;
141
152
  }
@@ -170,10 +181,19 @@
170
181
  color: #313238;
171
182
  }
172
183
  .bk-infobox-content {
173
- padding-right: 24px;
174
184
  padding-left: 24px;
185
+ padding-right: 24px;
175
186
  margin-top: 16px;
176
187
  }
188
+ .bk-infobox-content.set-bg-color {
189
+ background-color: var(--sub-title-bg-color);
190
+ margin-left: 32px;
191
+ margin-right: 32px;
192
+ padding-top: 12px;
193
+ padding-bottom: 12px;
194
+ padding-left: 16px;
195
+ padding-right: 16px;
196
+ }
177
197
  .bk-infobox-footer {
178
198
  display: flex;
179
199
  padding-right: 24px;
@@ -31,19 +31,19 @@ declare const BkInput: {
31
31
  prefix: import("vue-types").VueTypeValidableDef<string> & {
32
32
  default: string;
33
33
  };
34
- step: import("vue-types").VueTypeDef<number> & {
34
+ step: import("vue-types").VueTypeValidableDef<number> & {
35
35
  default: number;
36
36
  };
37
- max: import("vue-types").VueTypeDef<number> & {
37
+ max: import("vue-types").VueTypeValidableDef<number> & {
38
38
  default: number;
39
39
  };
40
- min: import("vue-types").VueTypeDef<number> & {
40
+ min: import("vue-types").VueTypeValidableDef<number> & {
41
41
  default: number;
42
42
  };
43
- maxlength: import("vue-types").VueTypeDef<number> & {
43
+ maxlength: import("vue-types").VueTypeValidableDef<number> & {
44
44
  default: number;
45
45
  };
46
- maxcharacter: import("vue-types").VueTypeDef<number> & {
46
+ maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
47
47
  default: number;
48
48
  };
49
49
  behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
@@ -94,6 +94,10 @@ declare const BkInput: {
94
94
  } & {
95
95
  default: boolean;
96
96
  };
97
+ tooltipsOptions: {
98
+ type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
99
+ default: () => {};
100
+ };
97
101
  resize: import("vue-types").VueTypeValidableDef<boolean> & {
98
102
  default: boolean;
99
103
  } & {
@@ -169,19 +173,19 @@ declare const BkInput: {
169
173
  prefix: import("vue-types").VueTypeValidableDef<string> & {
170
174
  default: string;
171
175
  };
172
- step: import("vue-types").VueTypeDef<number> & {
176
+ step: import("vue-types").VueTypeValidableDef<number> & {
173
177
  default: number;
174
178
  };
175
- max: import("vue-types").VueTypeDef<number> & {
179
+ max: import("vue-types").VueTypeValidableDef<number> & {
176
180
  default: number;
177
181
  };
178
- min: import("vue-types").VueTypeDef<number> & {
182
+ min: import("vue-types").VueTypeValidableDef<number> & {
179
183
  default: number;
180
184
  };
181
- maxlength: import("vue-types").VueTypeDef<number> & {
185
+ maxlength: import("vue-types").VueTypeValidableDef<number> & {
182
186
  default: number;
183
187
  };
184
- maxcharacter: import("vue-types").VueTypeDef<number> & {
188
+ maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
185
189
  default: number;
186
190
  };
187
191
  behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
@@ -232,6 +236,10 @@ declare const BkInput: {
232
236
  } & {
233
237
  default: boolean;
234
238
  };
239
+ tooltipsOptions: {
240
+ type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
241
+ default: () => {};
242
+ };
235
243
  resize: import("vue-types").VueTypeValidableDef<boolean> & {
236
244
  default: boolean;
237
245
  } & {
@@ -286,6 +294,7 @@ declare const BkInput: {
286
294
  withValidate: boolean;
287
295
  overMaxLengthLimit: boolean;
288
296
  showOverflowTooltips: boolean;
297
+ tooltipsOptions: {};
289
298
  autosize: boolean | import("./input").InputAutoSize;
290
299
  stopPropagation: boolean;
291
300
  }, true, {}, {}, {
@@ -327,19 +336,19 @@ declare const BkInput: {
327
336
  prefix: import("vue-types").VueTypeValidableDef<string> & {
328
337
  default: string;
329
338
  };
330
- step: import("vue-types").VueTypeDef<number> & {
339
+ step: import("vue-types").VueTypeValidableDef<number> & {
331
340
  default: number;
332
341
  };
333
- max: import("vue-types").VueTypeDef<number> & {
342
+ max: import("vue-types").VueTypeValidableDef<number> & {
334
343
  default: number;
335
344
  };
336
- min: import("vue-types").VueTypeDef<number> & {
345
+ min: import("vue-types").VueTypeValidableDef<number> & {
337
346
  default: number;
338
347
  };
339
- maxlength: import("vue-types").VueTypeDef<number> & {
348
+ maxlength: import("vue-types").VueTypeValidableDef<number> & {
340
349
  default: number;
341
350
  };
342
- maxcharacter: import("vue-types").VueTypeDef<number> & {
351
+ maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
343
352
  default: number;
344
353
  };
345
354
  behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
@@ -390,6 +399,10 @@ declare const BkInput: {
390
399
  } & {
391
400
  default: boolean;
392
401
  };
402
+ tooltipsOptions: {
403
+ type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
404
+ default: () => {};
405
+ };
393
406
  resize: import("vue-types").VueTypeValidableDef<boolean> & {
394
407
  default: boolean;
395
408
  } & {
@@ -444,6 +457,7 @@ declare const BkInput: {
444
457
  withValidate: boolean;
445
458
  overMaxLengthLimit: boolean;
446
459
  showOverflowTooltips: boolean;
460
+ tooltipsOptions: {};
447
461
  autosize: boolean | import("./input").InputAutoSize;
448
462
  stopPropagation: boolean;
449
463
  }>;
@@ -482,19 +496,19 @@ declare const BkInput: {
482
496
  prefix: import("vue-types").VueTypeValidableDef<string> & {
483
497
  default: string;
484
498
  };
485
- step: import("vue-types").VueTypeDef<number> & {
499
+ step: import("vue-types").VueTypeValidableDef<number> & {
486
500
  default: number;
487
501
  };
488
- max: import("vue-types").VueTypeDef<number> & {
502
+ max: import("vue-types").VueTypeValidableDef<number> & {
489
503
  default: number;
490
504
  };
491
- min: import("vue-types").VueTypeDef<number> & {
505
+ min: import("vue-types").VueTypeValidableDef<number> & {
492
506
  default: number;
493
507
  };
494
- maxlength: import("vue-types").VueTypeDef<number> & {
508
+ maxlength: import("vue-types").VueTypeValidableDef<number> & {
495
509
  default: number;
496
510
  };
497
- maxcharacter: import("vue-types").VueTypeDef<number> & {
511
+ maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
498
512
  default: number;
499
513
  };
500
514
  behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
@@ -545,6 +559,10 @@ declare const BkInput: {
545
559
  } & {
546
560
  default: boolean;
547
561
  };
562
+ tooltipsOptions: {
563
+ type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
564
+ default: () => {};
565
+ };
548
566
  resize: import("vue-types").VueTypeValidableDef<boolean> & {
549
567
  default: boolean;
550
568
  } & {
@@ -614,6 +632,7 @@ declare const BkInput: {
614
632
  withValidate: boolean;
615
633
  overMaxLengthLimit: boolean;
616
634
  showOverflowTooltips: boolean;
635
+ tooltipsOptions: {};
617
636
  autosize: boolean | import("./input").InputAutoSize;
618
637
  stopPropagation: boolean;
619
638
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;