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
@@ -1,9 +1,9 @@
1
1
  import "../styles/reset.css";
2
2
  import "./date-picker.less";
3
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
4
3
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
5
4
  import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
6
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
9
9
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
@@ -13,9 +13,10 @@ import "../button/button.less";
13
13
  import * as __WEBPACK_EXTERNAL_MODULE_js_calendar_b62d9a01__ from "js-calendar";
14
14
  import * as __WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__ from "date-fns";
15
15
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
16
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
16
17
  /******/ var __webpack_modules__ = ({
17
18
 
18
- /***/ 5235:
19
+ /***/ 668:
19
20
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
20
21
 
21
22
 
@@ -34,7 +35,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
34
35
  * Tencent is pleased to support the open source community by making
35
36
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
36
37
  *
37
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
38
+ * Copyright (C) 2025 Tencent. All rights reserved.
38
39
  *
39
40
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
40
41
  *
@@ -154,17 +155,15 @@ ClickOutside.install = function (app) {
154
155
  /* harmony default export */ const clickoutside = (ClickOutside);
155
156
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
156
157
  var esm_typeof = __webpack_require__(6522);
157
- ;// CONCATENATED MODULE: external "../plugin-popover"
158
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
159
- var y = x => () => x
160
- const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
158
+ // EXTERNAL MODULE: external "../popover"
159
+ var popover_ = __webpack_require__(563);
161
160
  ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
162
161
 
163
162
  /*
164
163
  * Tencent is pleased to support the open source community by making
165
164
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
166
165
  *
167
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
166
+ * Copyright (C) 2025 Tencent. All rights reserved.
168
167
  *
169
168
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
170
169
  *
@@ -235,7 +234,7 @@ var createInstance = function createInstance(el, binding) {
235
234
  onContentMouseenter: handleContentEnter,
236
235
  onContentMouseleave: handleContentLeave
237
236
  });
238
- instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
237
+ instance = (0,popover_.$bkPopover)(targetOptions);
239
238
  }, 300);
240
239
  };
241
240
  var handleMouseLeave = function handleMouseLeave() {
@@ -276,7 +275,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
276
275
  * Tencent is pleased to support the open source community by making
277
276
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
278
277
  *
279
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
278
+ * Copyright (C) 2025 Tencent. All rights reserved.
280
279
  *
281
280
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
282
281
  *
@@ -322,9 +321,9 @@ var external_vue_ = __webpack_require__(6609);
322
321
  // EXTERNAL MODULE: external "../shared"
323
322
  var shared_ = __webpack_require__(9253);
324
323
  ;// CONCATENATED MODULE: external "@popperjs/core"
325
- var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
326
- var core_y = x => () => x
327
- const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
324
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
325
+ var y = x => () => x
326
+ const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
328
327
  ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
329
328
 
330
329
 
@@ -335,7 +334,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
335
334
  * Tencent is pleased to support the open source community by making
336
335
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
337
336
  *
338
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
337
+ * Copyright (C) 2025 Tencent. All rights reserved.
339
338
  *
340
339
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
341
340
  *
@@ -390,9 +389,6 @@ var tooltips = {
390
389
  hide(el);
391
390
  }, 100);
392
391
  });
393
- el.addEventListener('click', function () {
394
- hide(el);
395
- });
396
392
  popper.addEventListener('mouseleave', function () {
397
393
  clearTimeout(delayTimeout);
398
394
  hideTimeout = setTimeout(function () {
@@ -406,7 +402,7 @@ var tooltips = {
406
402
  show(el);
407
403
  clearTimeout(delayTimeout);
408
404
  }, opts.delay);
409
- } else if (popper.hasAttribute('data-show')) {
405
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
410
406
  hide(el);
411
407
  }
412
408
  });
@@ -630,7 +626,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
630
626
  * Tencent is pleased to support the open source community by making
631
627
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
632
628
  *
633
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
629
+ * Copyright (C) 2025 Tencent. All rights reserved.
634
630
  *
635
631
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
636
632
  *
@@ -1264,6 +1260,15 @@ normalizeWheel.getEventType = function() /*string*/ {
1264
1260
  module.exports = normalizeWheel;
1265
1261
 
1266
1262
 
1263
+ /***/ }),
1264
+
1265
+ /***/ 563:
1266
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1267
+
1268
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1269
+ var y = x => () => x
1270
+ module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
1271
+
1267
1272
  /***/ }),
1268
1273
 
1269
1274
  /***/ 9253:
@@ -1543,7 +1548,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1543
1548
  * Tencent is pleased to support the open source community by making
1544
1549
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1545
1550
  *
1546
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1551
+ * Copyright (C) 2025 Tencent. All rights reserved.
1547
1552
  *
1548
1553
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1549
1554
  *
@@ -1835,8 +1840,8 @@ function _slicedToArray(arr, i) {
1835
1840
  var toConsumableArray = __webpack_require__(7930);
1836
1841
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
1837
1842
  var esm_typeof = __webpack_require__(6522);
1838
- // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 8 modules
1839
- var src = __webpack_require__(5235);
1843
+ // EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
1844
+ var src = __webpack_require__(668);
1840
1845
  ;// CONCATENATED MODULE: external "../icon"
1841
1846
  var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1842
1847
  var icon_y = x => () => x
@@ -1911,7 +1916,7 @@ const button_less_namespaceObject = button_less_x({ });
1911
1916
  * Tencent is pleased to support the open source community by making
1912
1917
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1913
1918
  *
1914
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1919
+ * Copyright (C) 2025 Tencent. All rights reserved.
1915
1920
  *
1916
1921
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1917
1922
  *
@@ -2051,7 +2056,7 @@ const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () =
2051
2056
  * Tencent is pleased to support the open source community by making
2052
2057
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2053
2058
  *
2054
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2059
+ * Copyright (C) 2025 Tencent. All rights reserved.
2055
2060
  *
2056
2061
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2057
2062
  *
@@ -2357,7 +2362,7 @@ fecha.parse = function (dateStr, format, i18nSettings) {
2357
2362
  * Tencent is pleased to support the open source community by making
2358
2363
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2359
2364
  *
2360
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2365
+ * Copyright (C) 2025 Tencent. All rights reserved.
2361
2366
  *
2362
2367
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2363
2368
  *
@@ -2766,7 +2771,7 @@ var formatDateLabels = function () {
2766
2771
  }();
2767
2772
  var clearHours = function clearHours(time) {
2768
2773
  var cloneDate = new Date(time);
2769
- cloneDate.setHours(0, 0, 0, 0);
2774
+ cloneDate.setHours(23, 59, 59, 999);
2770
2775
  return cloneDate.getTime();
2771
2776
  };
2772
2777
  var isInRange = function isInRange(time, a, b) {
@@ -2787,31 +2792,20 @@ var isInRange = function isInRange(time, a, b) {
2787
2792
  end = _sort2[1];
2788
2793
  return time >= start && time <= end;
2789
2794
  };
2790
- /**
2791
- * firstUpperCase
2792
- *
2793
- * @param {string} str str
2794
- *
2795
- * @return {string} str
2796
- */
2797
- function firstUpperCase(str) {
2795
+ var firstUpperCase = function firstUpperCase(str) {
2798
2796
  return str.toString()[0].toUpperCase() + str.toString().slice(1);
2799
- }
2797
+ };
2800
2798
  /**
2801
2799
  * 根据 date 设置 h, m, s
2802
- *
2803
- * @param {Date} date date 对象
2804
- * @param {number} h 小时数
2805
- * @param {number} m 分钟数
2806
- * @param {number} s 秒数
2807
- *
2808
- * @return {Date} date 对象
2800
+ * @param date Date对象
2801
+ * @param hms [小时数,分钟数,秒数]
2809
2802
  */
2810
2803
  var mergeDateHMS = function mergeDateHMS(date) {
2804
+ var hms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [0, 0, 0];
2811
2805
  var newDate = new Date(date.getTime());
2812
- newDate.setHours(arguments.length <= 1 ? undefined : arguments[1]);
2813
- newDate.setMinutes(arguments.length <= 2 ? undefined : arguments[2]);
2814
- newDate.setSeconds(arguments.length <= 3 ? undefined : arguments[3]);
2806
+ newDate.setHours(hms[0]);
2807
+ newDate.setMinutes(hms[1]);
2808
+ newDate.setSeconds(hms[2] - 1);
2815
2809
  return newDate;
2816
2810
  };
2817
2811
  var capitalize = function capitalize(str) {
@@ -2827,7 +2821,7 @@ function date_table_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
2827
2821
  * Tencent is pleased to support the open source community by making
2828
2822
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2829
2823
  *
2830
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2824
+ * Copyright (C) 2025 Tencent. All rights reserved.
2831
2825
  *
2832
2826
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2833
2827
  *
@@ -2991,7 +2985,7 @@ var dateTableProps = {
2991
2985
  * Tencent is pleased to support the open source community by making
2992
2986
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2993
2987
  *
2994
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2988
+ * Copyright (C) 2025 Tencent. All rights reserved.
2995
2989
  *
2996
2990
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2997
2991
  *
@@ -3171,7 +3165,7 @@ var monthTableProps = {
3171
3165
  * Tencent is pleased to support the open source community by making
3172
3166
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3173
3167
  *
3174
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3168
+ * Copyright (C) 2025 Tencent. All rights reserved.
3175
3169
  *
3176
3170
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3177
3171
  *
@@ -3351,7 +3345,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
3351
3345
  * Tencent is pleased to support the open source community by making
3352
3346
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3353
3347
  *
3354
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3348
+ * Copyright (C) 2025 Tencent. All rights reserved.
3355
3349
  *
3356
3350
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3357
3351
  *
@@ -3578,7 +3572,7 @@ function time_spinner_objectSpread(e) { for (var r = 1; r < arguments.length; r+
3578
3572
  * Tencent is pleased to support the open source community by making
3579
3573
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3580
3574
  *
3581
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3575
+ * Copyright (C) 2025 Tencent. All rights reserved.
3582
3576
  *
3583
3577
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3584
3578
  *
@@ -3993,17 +3987,20 @@ var timeParts = ['hours', 'minutes', 'seconds'];
3993
3987
  })])]), [[external_vue_.vShow, this.showSeconds]])]);
3994
3988
  }
3995
3989
  }));
3990
+ ;// CONCATENATED MODULE: external "lodash/cloneDeep"
3991
+ var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
3992
+ var cloneDeep_y = x => () => x
3993
+ const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
3996
3994
  ;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/time.tsx
3997
3995
 
3998
3996
 
3999
-
4000
3997
  function time_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4001
3998
  function time_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? time_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : time_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4002
3999
  /*
4003
4000
  * Tencent is pleased to support the open source community by making
4004
4001
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4005
4002
  *
4006
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4003
+ * Copyright (C) 2025 Tencent. All rights reserved.
4007
4004
  *
4008
4005
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4009
4006
  *
@@ -4031,6 +4028,7 @@ function time_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
4031
4028
 
4032
4029
 
4033
4030
 
4031
+
4034
4032
  var timeProps = {
4035
4033
  disabledDate: {
4036
4034
  type: Function,
@@ -4094,7 +4092,7 @@ var timeProps = {
4094
4092
  var showSeconds = (0,external_vue_.computed)(function () {
4095
4093
  return !(props.format || '').match(/mm$/);
4096
4094
  });
4097
- var timeSlots = (0,external_vue_.computed)(function () {
4095
+ var localTimeValues = (0,external_vue_.computed)(function () {
4098
4096
  if (!props.value[0]) {
4099
4097
  return [];
4100
4098
  }
@@ -4113,28 +4111,25 @@ var timeProps = {
4113
4111
  }, {});
4114
4112
  return _disabled;
4115
4113
  }
4116
- var slots = [24, 60, 60];
4114
+ var HMSMax = [24, 60, 60];
4117
4115
  var disabled = ['Hours', 'Minutes', 'Seconds'].map(function (type) {
4118
- return props["disabled".concat(type)];
4116
+ return (0,cloneDeep_namespaceObject["default"])(props["disabled".concat(type)]);
4119
4117
  });
4120
- var disabledHMS = disabled.map(function (preDisabled, j) {
4121
- var slot = slots[j];
4122
- var toDisable = preDisabled;
4123
- var _loop = function _loop(i) {
4124
- var hms = timeSlots.value.map(function (slot, x) {
4125
- return x === j ? i : slot;
4118
+ var disabledHMS = disabled.map(function (currentDisable, disableIndex) {
4119
+ var itemMax = HMSMax[disableIndex];
4120
+ var _loop = function _loop(itemIndex) {
4121
+ var hms = localTimeValues.value.map(function (value, index) {
4122
+ return index === disableIndex ? itemIndex : value;
4126
4123
  });
4127
- var testDateTime = mergeDateHMS.apply(void 0, [state.date].concat((0,toConsumableArray["default"])(hms)));
4128
- if (props.disabledDate(testDateTime, true)) {
4129
- toDisable.push(i);
4124
+ var testDateTime = mergeDateHMS(state.date, hms);
4125
+ if (props.disabledDate(testDateTime)) {
4126
+ currentDisable.push(itemIndex);
4130
4127
  }
4131
4128
  };
4132
- for (var i = 0; i < slot; i += props.steps[j] || 1) {
4133
- _loop(i);
4129
+ for (var itemIndex = 0; itemIndex < itemMax; itemIndex += props.steps[disableIndex] || 1) {
4130
+ _loop(itemIndex);
4134
4131
  }
4135
- return toDisable.filter(function (el, i, arr) {
4136
- return arr.indexOf(el) === i;
4137
- });
4132
+ return currentDisable;
4138
4133
  });
4139
4134
  return disabledTypes.reduce(function (obj, type, i) {
4140
4135
  obj[type] = disabledHMS[i];
@@ -4176,7 +4171,7 @@ var timeProps = {
4176
4171
  return time_objectSpread(time_objectSpread({}, (0,external_vue_.toRefs)(state)), {}, {
4177
4172
  visibleDate: visibleDate,
4178
4173
  showSeconds: showSeconds,
4179
- timeSlots: timeSlots,
4174
+ localTimeValues: localTimeValues,
4180
4175
  disabledHMS: disabledHMS,
4181
4176
  timeSpinnerRef: timeSpinnerRef,
4182
4177
  handlePickClick: handlePickClick,
@@ -4205,9 +4200,9 @@ var timeProps = {
4205
4200
  "disabledMinutes": this.disabledHMS.disabledMinutes,
4206
4201
  "disabledSeconds": this.disabledHMS.disabledSeconds,
4207
4202
  "hideDisabledOptions": this.hideDisabledOptions,
4208
- "hours": this.timeSlots[0],
4209
- "minutes": this.timeSlots[1],
4210
- "seconds": this.timeSlots[2],
4203
+ "hours": this.localTimeValues[0],
4204
+ "minutes": this.localTimeValues[1],
4205
+ "seconds": this.localTimeValues[2],
4211
4206
  "showSeconds": this.showSeconds,
4212
4207
  "steps": this.steps,
4213
4208
  "onChange": this.handleChange,
@@ -4224,7 +4219,7 @@ function date_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
4224
4219
  * Tencent is pleased to support the open source community by making
4225
4220
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4226
4221
  *
4227
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4222
+ * Copyright (C) 2025 Tencent. All rights reserved.
4228
4223
  *
4229
4224
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4230
4225
  *
@@ -4657,7 +4652,7 @@ function time_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4657
4652
  * Tencent is pleased to support the open source community by making
4658
4653
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4659
4654
  *
4660
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4655
+ * Copyright (C) 2025 Tencent. All rights reserved.
4661
4656
  *
4662
4657
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4663
4658
  *
@@ -4922,7 +4917,7 @@ function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4922
4917
  * Tencent is pleased to support the open source community by making
4923
4918
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4924
4919
  *
4925
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4920
+ * Copyright (C) 2025 Tencent. All rights reserved.
4926
4921
  *
4927
4922
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4928
4923
  *
@@ -5727,7 +5722,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
5727
5722
  * Tencent is pleased to support the open source community by making
5728
5723
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
5729
5724
  *
5730
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5725
+ * Copyright (C) 2025 Tencent. All rights reserved.
5731
5726
  *
5732
5727
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
5733
5728
  *
@@ -6456,7 +6451,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
6456
6451
  * Tencent is pleased to support the open source community by making
6457
6452
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
6458
6453
  *
6459
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6454
+ * Copyright (C) 2025 Tencent. All rights reserved.
6460
6455
  *
6461
6456
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
6462
6457
  *
@@ -7158,7 +7153,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
7158
7153
  * Tencent is pleased to support the open source community by making
7159
7154
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
7160
7155
  *
7161
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
7156
+ * Copyright (C) 2025 Tencent. All rights reserved.
7162
7157
  *
7163
7158
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
7164
7159
  *
@@ -188,7 +188,7 @@ declare const _default: import("vue").DefineComponent<{
188
188
  }, {
189
189
  visibleDate: import("vue").Ref<any>;
190
190
  showSeconds: import("vue").ComputedRef<boolean>;
191
- timeSlots: import("vue").ComputedRef<any[]>;
191
+ localTimeValues: import("vue").ComputedRef<number[]>;
192
192
  disabledHMS: import("vue").ComputedRef<IDisabledHMS>;
193
193
  timeSpinnerRef: import("vue").Ref<any>;
194
194
  handlePickClick: () => void;
@@ -103,23 +103,11 @@ export declare const formatDateLabels: (locale: any, format: any, date: any) =>
103
103
  };
104
104
  export declare const clearHours: (time: any) => number;
105
105
  export declare const isInRange: (time: any, a: any, b: any) => boolean;
106
- /**
107
- * firstUpperCase
108
- *
109
- * @param {string} str str
110
- *
111
- * @return {string} str
112
- */
113
- export declare function firstUpperCase(str: any): any;
106
+ export declare const firstUpperCase: (str: string) => string;
114
107
  /**
115
108
  * 根据 date 设置 h, m, s
116
- *
117
- * @param {Date} date date 对象
118
- * @param {number} h 小时数
119
- * @param {number} m 分钟数
120
- * @param {number} s 秒数
121
- *
122
- * @return {Date} date 对象
109
+ * @param date Date对象
110
+ * @param hms [小时数,分钟数,秒数]
123
111
  */
124
- export declare const mergeDateHMS: (date: any, ...hms: any[]) => Date;
125
- export declare const capitalize: (str: any) => any;
112
+ export declare const mergeDateHMS: (date: Date, hms?: number[]) => Date;
113
+ export declare const capitalize: (str: string) => string;
@@ -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;
@@ -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-infobox {
132
133
  font-size: 12px;
@@ -136,6 +137,16 @@
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: #63656e;
145
+ font-size: 14px;
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: #f5f6fa;
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;
@@ -548,7 +548,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
548
548
  * Tencent is pleased to support the open source community by making
549
549
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
550
550
  *
551
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
551
+ * Copyright (C) 2025 Tencent. All rights reserved.
552
552
  *
553
553
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
554
554
  *
@@ -619,7 +619,7 @@ function dialog_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
619
619
  * Tencent is pleased to support the open source community by making
620
620
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
621
621
  *
622
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
622
+ * Copyright (C) 2025 Tencent. All rights reserved.
623
623
  *
624
624
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
625
625
  *
@@ -688,8 +688,6 @@ function _isSlot(s) {
688
688
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
689
689
  var isMoveing = (0,external_vue_namespaceObject.ref)(false);
690
690
  var positionData = (0,external_vue_namespaceObject.reactive)({
691
- positionX: 0,
692
- positionY: 0,
693
691
  moveStyle: {
694
692
  top: '50%',
695
693
  left: '50%'
@@ -776,38 +774,17 @@ function _isSlot(s) {
776
774
  if (!props.draggable) {
777
775
  return false;
778
776
  }
779
- var odiv = e.target;
780
- var parentHeight = e.currentTarget.parentNode.parentNode.offsetHeight;
781
- var parentWidth = e.currentTarget.parentNode.parentNode.offsetWidth;
782
- var disX;
783
- var disY;
784
- if (positionData.positionX !== 0 && positionData.positionY !== 0) {
785
- disX = e.clientX - positionData.positionX;
786
- disY = e.clientY - positionData.positionY;
787
- } else {
788
- disX = e.clientX - odiv.offsetLeft;
789
- disY = e.clientY - odiv.offsetTop;
790
- }
777
+ var clientRect = e.currentTarget.parentNode.parentNode.getBoundingClientRect();
778
+ var boxLeft = clientRect.left + clientRect.width / 2;
779
+ var boxTop = clientRect.top + clientRect.height / 2;
791
780
  isMoveing.value = true;
792
- document.onmousemove = function (e) {
793
- var boxLeft = window.innerWidth - parentWidth;
794
- var boxTop = window.innerHeight - parentHeight;
795
- var left = e.clientX - disX;
796
- var top = e.clientY - disY;
797
- if (boxLeft / 2 - left <= 0) {
798
- left = boxLeft / 2;
799
- } else if (boxLeft / 2 + left <= 0) {
800
- left = -boxLeft / 2;
801
- }
802
- if (boxTop / 2 - top <= 0) {
803
- top = boxTop / 2;
804
- } else if (boxTop / 2 + top <= 0) {
805
- top = -boxTop / 2;
806
- }
807
- positionData.positionX = left;
808
- positionData.positionY = top;
809
- positionData.moveStyle.left = "calc(50% + ".concat(left, "px)");
810
- positionData.moveStyle.top = "calc(50% + ".concat(top, "px)");
781
+ var startX = e.clientX;
782
+ var startY = e.clientY;
783
+ document.onmousemove = function (evt) {
784
+ var diffX = evt.clientX - startX;
785
+ var diffY = evt.clientY - startY;
786
+ positionData.moveStyle.left = "".concat(boxLeft + diffX, "px");
787
+ positionData.moveStyle.top = "".concat(boxTop + diffY, "px");
811
788
  };
812
789
  document.onmouseup = function () {
813
790
  document.onmousemove = null;
@@ -954,7 +931,7 @@ function _isSlot(s) {
954
931
  * Tencent is pleased to support the open source community by making
955
932
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
956
933
  *
957
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
934
+ * Copyright (C) 2025 Tencent. All rights reserved.
958
935
  *
959
936
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
960
937
  *