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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +166 -138
  4. package/dist/index.esm.js +24632 -18447
  5. package/dist/index.umd.js +166 -138
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/ja-jp.esm.js +2 -0
  9. package/dist/locale/ja-jp.esm.js.map +1 -0
  10. package/dist/locale/ja-jp.umd.js +2 -0
  11. package/dist/locale/ja-jp.umd.js.map +1 -0
  12. package/dist/locale/zh-cn.esm.js.map +1 -1
  13. package/dist/locale/zh-cn.umd.js.map +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/affix.variable.css +2 -1
  16. package/lib/affix/index.js +2 -2
  17. package/lib/alert/alert.variable.css +2 -1
  18. package/lib/alert/index.js +16 -5
  19. package/lib/animate-number/index.js +2 -2
  20. package/lib/backtop/backtop.variable.css +2 -1
  21. package/lib/backtop/index.js +2 -2
  22. package/lib/badge/badge.variable.css +2 -1
  23. package/lib/badge/index.js +2 -2
  24. package/lib/breadcrumb/breadcrumb.variable.css +2 -1
  25. package/lib/breadcrumb/index.js +3 -3
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +2 -1
  28. package/lib/button/index.js +3 -3
  29. package/lib/card/card.variable.css +2 -1
  30. package/lib/card/index.js +2 -2
  31. package/lib/cascader/cascader.css +52 -25
  32. package/lib/cascader/cascader.d.ts +309 -0
  33. package/lib/cascader/cascader.less +109 -75
  34. package/lib/cascader/cascader.variable.css +54 -26
  35. package/lib/cascader/index.d.ts +618 -0
  36. package/lib/cascader/index.js +147 -65
  37. package/lib/checkbox/checkbox.variable.css +2 -1
  38. package/lib/checkbox/index.js +5 -5
  39. package/lib/code-diff/code-diff.variable.css +2 -1
  40. package/lib/code-diff/index.js +2 -2
  41. package/lib/collapse/collapse.variable.css +2 -1
  42. package/lib/collapse/index.js +3 -3
  43. package/lib/collapse-transition/collapse-transition.variable.css +2 -1
  44. package/lib/collapse-transition/index.js +2 -2
  45. package/lib/color-picker/color-picker.variable.css +2 -1
  46. package/lib/color-picker/index.js +64 -55
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +2 -1
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +6 -6
  51. package/lib/container/container.variable.css +2 -1
  52. package/lib/container/index.js +5 -5
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +2 -1
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +79 -76
  57. package/lib/date-picker/panel/date-range.d.ts +2 -1
  58. package/lib/date-picker/panel/time.d.ts +1 -1
  59. package/lib/date-picker/utils.d.ts +5 -17
  60. package/lib/dialog/dialog.css +20 -1
  61. package/lib/dialog/dialog.variable.css +22 -2
  62. package/lib/dialog/index.js +13 -36
  63. package/lib/directives/index.js +8 -9
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +2 -1
  66. package/lib/divider/index.js +3 -3
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +2 -1
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +15 -10
  71. package/lib/exception/exception.variable.css +2 -1
  72. package/lib/exception/index.js +2 -2
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
  74. package/lib/fixed-navbar/index.js +2 -2
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +17 -4
  77. package/lib/form/form.less +25 -6
  78. package/lib/form/form.variable.css +19 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +43 -50
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +1 -1
  83. package/lib/icon/angle-double-left-line.js +1 -1
  84. package/lib/icon/angle-double-left.js +1 -1
  85. package/lib/icon/angle-double-right-line.js +1 -1
  86. package/lib/icon/angle-double-right.js +1 -1
  87. package/lib/icon/angle-double-up-line.js +1 -1
  88. package/lib/icon/angle-down-fill.js +1 -1
  89. package/lib/icon/angle-down-line.js +1 -1
  90. package/lib/icon/angle-down.js +1 -1
  91. package/lib/icon/angle-left.js +1 -1
  92. package/lib/icon/angle-right.js +1 -1
  93. package/lib/icon/angle-up-fill.js +1 -1
  94. package/lib/icon/angle-up.js +1 -1
  95. package/lib/icon/archive-fill.js +1 -1
  96. package/lib/icon/arrows-left.js +1 -1
  97. package/lib/icon/arrows-right.js +1 -1
  98. package/lib/icon/assistant.js +1 -1
  99. package/lib/icon/audio-fill.js +1 -1
  100. package/lib/icon/bk.js +1 -1
  101. package/lib/icon/circle.js +1 -1
  102. package/lib/icon/close-line.js +1 -1
  103. package/lib/icon/close.js +1 -1
  104. package/lib/icon/code.js +1 -1
  105. package/lib/icon/cog-shape.js +1 -1
  106. package/lib/icon/collapse-left.js +1 -1
  107. package/lib/icon/copy-shape.js +1 -1
  108. package/lib/icon/copy.js +1 -1
  109. package/lib/icon/data-shape.js +1 -1
  110. package/lib/icon/del.js +1 -1
  111. package/lib/icon/doc-fill.js +1 -1
  112. package/lib/icon/done.js +1 -1
  113. package/lib/icon/down-shape.js +1 -1
  114. package/lib/icon/down-small.js +1 -1
  115. package/lib/icon/edit-line.js +1 -1
  116. package/lib/icon/ellipsis.js +1 -1
  117. package/lib/icon/enlarge-line.js +1 -1
  118. package/lib/icon/error.js +1 -1
  119. package/lib/icon/excel-fill.js +1 -1
  120. package/lib/icon/exclamation-circle-shape.js +1 -1
  121. package/lib/icon/eye.js +1 -1
  122. package/lib/icon/filliscreen-line.js +1 -1
  123. package/lib/icon/fix-line.js +1 -1
  124. package/lib/icon/fix-shape.js +1 -1
  125. package/lib/icon/folder-open.js +1 -1
  126. package/lib/icon/folder-shape-open.js +1 -1
  127. package/lib/icon/folder-shape.js +1 -1
  128. package/lib/icon/folder.js +1 -1
  129. package/lib/icon/funnel.js +1 -1
  130. package/lib/icon/grag-fill.js +1 -1
  131. package/lib/icon/help-document-fill.js +1 -1
  132. package/lib/icon/help-fill.js +1 -1
  133. package/lib/icon/help.js +1 -1
  134. package/lib/icon/image-fill.js +1 -1
  135. package/lib/icon/img-error.js +1 -1
  136. package/lib/icon/img-placehoulder.js +1 -1
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +1 -1
  139. package/lib/icon/info.js +1 -1
  140. package/lib/icon/left-shape.js +1 -1
  141. package/lib/icon/left-turn-line.js +1 -1
  142. package/lib/icon/loading.js +1 -1
  143. package/lib/icon/narrow-line.js +1 -1
  144. package/lib/icon/original.js +1 -1
  145. package/lib/icon/pdf-fill.js +1 -1
  146. package/lib/icon/play-shape.js +1 -1
  147. package/lib/icon/plus.js +1 -1
  148. package/lib/icon/ppt-fill.js +1 -1
  149. package/lib/icon/qq.js +1 -1
  150. package/lib/icon/right-shape.js +1 -1
  151. package/lib/icon/right-turn-line.js +1 -1
  152. package/lib/icon/search.js +1 -1
  153. package/lib/icon/share.js +1 -1
  154. package/lib/icon/spinner.js +1 -1
  155. package/lib/icon/success.js +1 -1
  156. package/lib/icon/switcher-loading.js +1 -1
  157. package/lib/icon/text-all.js +1 -1
  158. package/lib/icon/text-file.js +1 -1
  159. package/lib/icon/text-fill.js +1 -1
  160. package/lib/icon/transfer.js +1 -1
  161. package/lib/icon/tree-application-shape.js +1 -1
  162. package/lib/icon/unfull-screen.js +1 -1
  163. package/lib/icon/unvisible.js +1 -1
  164. package/lib/icon/up-shape.js +1 -1
  165. package/lib/icon/upload.js +1 -1
  166. package/lib/icon/video-fill.js +1 -1
  167. package/lib/icon/warn.js +1 -1
  168. package/lib/icon/weixin-pro.js +1 -1
  169. package/lib/icon/weixin.js +1 -1
  170. package/lib/image/image-viewer.variable.css +2 -1
  171. package/lib/image/image.variable.css +2 -1
  172. package/lib/image/index.js +11 -12
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +22 -7
  175. package/lib/info-box/info-box.css +20 -1
  176. package/lib/info-box/info-box.d.ts +1 -0
  177. package/lib/info-box/info-box.less +28 -2
  178. package/lib/info-box/info-box.variable.css +23 -3
  179. package/lib/input/index.d.ts +45 -20
  180. package/lib/input/index.js +57 -29
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +35 -17
  183. package/lib/input/input.less +7 -0
  184. package/lib/input/input.variable.css +8 -1
  185. package/lib/link/index.js +2 -2
  186. package/lib/link/link.variable.css +2 -1
  187. package/lib/loading/index.js +15 -7
  188. package/lib/loading/loading.variable.css +2 -1
  189. package/lib/locale/index.d.ts +1 -0
  190. package/lib/locale/index.js +172 -4
  191. package/lib/locale/lang/ja-jp.d.ts +3 -0
  192. package/lib/menu/index.js +12 -9
  193. package/lib/menu/menu.css +5 -4
  194. package/lib/menu/menu.less +1 -0
  195. package/lib/menu/menu.variable.css +7 -5
  196. package/lib/menu/submenu.variable.css +2 -1
  197. package/lib/message/index.js +62 -28
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/message/messageConstructor.d.ts +1 -1
  200. package/lib/modal/index.js +19 -8
  201. package/lib/modal/modal.css +20 -1
  202. package/lib/modal/modal.variable.css +22 -2
  203. package/lib/navigation/index.js +3 -3
  204. package/lib/navigation/navigation.css +29 -29
  205. package/lib/navigation/navigation.less +29 -29
  206. package/lib/navigation/navigation.variable.css +31 -30
  207. package/lib/notify/index.js +43 -24
  208. package/lib/notify/notify.variable.css +2 -1
  209. package/lib/overflow-title/components/overflow-title.d.ts +6 -2
  210. package/lib/overflow-title/index.d.ts +12 -4
  211. package/lib/overflow-title/index.js +3 -3
  212. package/lib/overflow-title/props.d.ts +3 -1
  213. package/lib/pagination/index.js +22 -14
  214. package/lib/pagination/pagination.css +1 -0
  215. package/lib/pagination/pagination.less +1 -0
  216. package/lib/pagination/pagination.variable.css +3 -1
  217. package/lib/pop-confirm/index.d.ts +592 -0
  218. package/lib/pop-confirm/index.js +10 -6
  219. package/lib/pop-confirm/pop-confirm.d.ts +296 -0
  220. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  221. package/lib/pop-confirm/props.d.ts +148 -0
  222. package/lib/popover/index.d.ts +18 -10
  223. package/lib/popover/index.js +281 -76
  224. package/lib/popover/popover.d.ts +8 -4
  225. package/lib/popover/popover.variable.css +2 -1
  226. package/lib/popover/props.d.ts +3 -1
  227. package/lib/popover/use-floating.d.ts +2 -2
  228. package/lib/popover/use-popover-init.d.ts +2 -2
  229. package/lib/popover/use-popper-id.d.ts +3 -1
  230. package/lib/popover2/index.js +2 -2
  231. package/lib/preset.js +1 -1
  232. package/lib/process/index.js +2 -2
  233. package/lib/process/process.d.ts +1 -1
  234. package/lib/process/process.variable.css +2 -1
  235. package/lib/progress/index.js +4 -4
  236. package/lib/progress/progress.variable.css +2 -1
  237. package/lib/radio/index.js +5 -5
  238. package/lib/radio/radio.variable.css +2 -1
  239. package/lib/rate/index.js +3 -3
  240. package/lib/rate/rate.variable.css +2 -1
  241. package/lib/resize-layout/index.js +2 -2
  242. package/lib/resize-layout/resize-layout.css +1 -0
  243. package/lib/resize-layout/resize-layout.less +1 -0
  244. package/lib/resize-layout/resize-layout.variable.css +3 -1
  245. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  246. package/lib/scrollbar/index.js +6 -6
  247. package/lib/search-select/index.d.ts +43 -15
  248. package/lib/search-select/index.js +88 -37
  249. package/lib/search-select/input.d.ts +5 -1
  250. package/lib/search-select/search-select.d.ts +14 -5
  251. package/lib/search-select/search-select.variable.css +2 -1
  252. package/lib/search-select/selected.d.ts +10 -2
  253. package/lib/search-select/utils.d.ts +1 -0
  254. package/lib/select/common.d.ts +0 -1
  255. package/lib/select/index.d.ts +58 -14
  256. package/lib/select/index.js +67 -71
  257. package/lib/select/optionGroup.d.ts +12 -1
  258. package/lib/select/select.d.ts +21 -5
  259. package/lib/select/select.variable.css +2 -1
  260. package/lib/select/type.d.ts +1 -0
  261. package/lib/shared/index.d.ts +1 -1
  262. package/lib/shared/index.js +10 -10
  263. package/lib/shared/z-index-manager.d.ts +1 -1
  264. package/lib/sideslider/index.d.ts +129 -2
  265. package/lib/sideslider/index.js +149 -11
  266. package/lib/sideslider/sideslider.css +62 -0
  267. package/lib/sideslider/sideslider.d.ts +59 -1
  268. package/lib/sideslider/sideslider.less +83 -0
  269. package/lib/sideslider/sideslider.variable.css +64 -1
  270. package/lib/slider/index.d.ts +1 -1
  271. package/lib/slider/index.js +5 -4
  272. package/lib/slider/slider-button.d.ts +1 -1
  273. package/lib/slider/slider.d.ts +1 -1
  274. package/lib/slider/slider.variable.css +2 -1
  275. package/lib/steps/index.js +13 -14
  276. package/lib/steps/steps.css +24 -11
  277. package/lib/steps/steps.d.ts +1 -1
  278. package/lib/steps/steps.less +28 -10
  279. package/lib/steps/steps.variable.css +26 -12
  280. package/lib/styles/mixins/animate.variable.css +2 -1
  281. package/lib/styles/mixins/popper.variable.css +2 -1
  282. package/lib/styles/mixins/scroll.variable.css +2 -1
  283. package/lib/styles/reset.variable.css +2 -1
  284. package/lib/styles/themes/themes.less +4 -1
  285. package/lib/swiper/index.js +2 -2
  286. package/lib/swiper/swiper.variable.css +2 -1
  287. package/lib/switcher/index.js +2 -2
  288. package/lib/switcher/switcher.variable.css +2 -1
  289. package/lib/tab/index.d.ts +12 -0
  290. package/lib/tab/index.js +22 -17
  291. package/lib/tab/props.d.ts +3 -0
  292. package/lib/tab/tab.d.ts +6 -0
  293. package/lib/tab/tab.variable.css +2 -1
  294. package/lib/table/index.js +35 -36
  295. package/lib/table/plugins/head-filter.variable.css +2 -1
  296. package/lib/table/plugins/head-sort.variable.css +2 -1
  297. package/lib/table/plugins/settings.variable.css +2 -1
  298. package/lib/table/table.css +1 -0
  299. package/lib/table/table.variable.css +3 -1
  300. package/lib/table-column/index.js +1 -1
  301. package/lib/tag/index.d.ts +23 -0
  302. package/lib/tag/index.js +10 -5
  303. package/lib/tag/tag.d.ts +11 -0
  304. package/lib/tag/tag.variable.css +2 -1
  305. package/lib/tag-input/index.d.ts +82 -9
  306. package/lib/tag-input/index.js +1639 -54
  307. package/lib/tag-input/tag-input.css +31 -0
  308. package/lib/tag-input/tag-input.d.ts +36 -4
  309. package/lib/tag-input/tag-input.less +36 -0
  310. package/lib/tag-input/tag-input.variable.css +33 -1
  311. package/lib/tag-input/tag-props.d.ts +13 -1
  312. package/lib/tag-input/tag-render.d.ts +24 -2
  313. package/lib/time-picker/index.js +1 -1
  314. package/lib/time-picker/time-picker.variable.css +2 -1
  315. package/lib/timeline/index.d.ts +7 -7
  316. package/lib/timeline/index.js +1375 -9
  317. package/lib/timeline/timeline.d.ts +5 -5
  318. package/lib/timeline/timeline.variable.css +2 -1
  319. package/lib/transfer/index.d.ts +1 -24
  320. package/lib/transfer/index.js +21 -11
  321. package/lib/transfer/props.d.ts +0 -5
  322. package/lib/transfer/transfer.css +26 -8
  323. package/lib/transfer/transfer.d.ts +1 -12
  324. package/lib/transfer/transfer.less +18 -8
  325. package/lib/transfer/transfer.variable.css +28 -9
  326. package/lib/tree/constant.d.ts +2 -0
  327. package/lib/tree/index.d.ts +67 -11
  328. package/lib/tree/index.js +17694 -103
  329. package/lib/tree/props.d.ts +37 -3
  330. package/lib/tree/tree.css +34 -0
  331. package/lib/tree/tree.d.ts +31 -5
  332. package/lib/tree/tree.less +41 -2
  333. package/lib/tree/tree.variable.css +36 -1
  334. package/lib/tree/use-array-move.d.ts +6 -0
  335. package/lib/tree/use-node-action.d.ts +3 -1
  336. package/lib/tree/use-node-attribute.d.ts +3 -0
  337. package/lib/upload/index.js +8 -8
  338. package/lib/upload/upload.variable.css +2 -1
  339. package/lib/virtual-render/index.js +11 -7
  340. package/lib/virtual-render/virtual-render.variable.css +2 -1
  341. package/lib/volar.components.d.ts +2 -1
  342. package/package.json +13 -2
  343. package/dist/style.css +0 -1
@@ -13,6 +13,7 @@ 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
19
  /***/ 668:
@@ -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
  *
@@ -162,7 +163,7 @@ var popover_ = __webpack_require__(563);
162
163
  * Tencent is pleased to support the open source community by making
163
164
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
164
165
  *
165
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
166
+ * Copyright (C) 2025 Tencent. All rights reserved.
166
167
  *
167
168
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
168
169
  *
@@ -274,7 +275,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
274
275
  * Tencent is pleased to support the open source community by making
275
276
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
276
277
  *
277
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
278
+ * Copyright (C) 2025 Tencent. All rights reserved.
278
279
  *
279
280
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
280
281
  *
@@ -333,7 +334,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
333
334
  * Tencent is pleased to support the open source community by making
334
335
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
335
336
  *
336
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
337
+ * Copyright (C) 2025 Tencent. All rights reserved.
337
338
  *
338
339
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
339
340
  *
@@ -388,9 +389,6 @@ var tooltips = {
388
389
  hide(el);
389
390
  }, 100);
390
391
  });
391
- el.addEventListener('click', function () {
392
- hide(el);
393
- });
394
392
  popper.addEventListener('mouseleave', function () {
395
393
  clearTimeout(delayTimeout);
396
394
  hideTimeout = setTimeout(function () {
@@ -404,7 +402,7 @@ var tooltips = {
404
402
  show(el);
405
403
  clearTimeout(delayTimeout);
406
404
  }, opts.delay);
407
- } else if (popper.hasAttribute('data-show')) {
405
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
408
406
  hide(el);
409
407
  }
410
408
  });
@@ -513,6 +511,7 @@ function renderArrow() {
513
511
  * @returns popper实例
514
512
  */
515
513
  function createPopperInstance(el, popper) {
514
+ if (!tooltips_nodeList.get(el)) return;
516
515
  var _nodeList$get = tooltips_nodeList.get(el),
517
516
  opts = _nodeList$get.opts;
518
517
  var placement = opts.placement,
@@ -553,6 +552,7 @@ function createPopperInstance(el, popper) {
553
552
  * @param el
554
553
  */
555
554
  function show(el) {
555
+ if (!tooltips_nodeList.get(el)) return;
556
556
  var _nodeList$get2 = tooltips_nodeList.get(el),
557
557
  popper = _nodeList$get2.popper,
558
558
  opts = _nodeList$get2.opts;
@@ -628,7 +628,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
628
628
  * Tencent is pleased to support the open source community by making
629
629
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
630
630
  *
631
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
631
+ * Copyright (C) 2025 Tencent. All rights reserved.
632
632
  *
633
633
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
634
634
  *
@@ -1550,7 +1550,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1550
1550
  * Tencent is pleased to support the open source community by making
1551
1551
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1552
1552
  *
1553
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1553
+ * Copyright (C) 2025 Tencent. All rights reserved.
1554
1554
  *
1555
1555
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1556
1556
  *
@@ -1918,7 +1918,7 @@ const button_less_namespaceObject = button_less_x({ });
1918
1918
  * Tencent is pleased to support the open source community by making
1919
1919
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1920
1920
  *
1921
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1921
+ * Copyright (C) 2025 Tencent. All rights reserved.
1922
1922
  *
1923
1923
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1924
1924
  *
@@ -2058,7 +2058,7 @@ const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () =
2058
2058
  * Tencent is pleased to support the open source community by making
2059
2059
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2060
2060
  *
2061
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2061
+ * Copyright (C) 2025 Tencent. All rights reserved.
2062
2062
  *
2063
2063
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2064
2064
  *
@@ -2364,7 +2364,7 @@ fecha.parse = function (dateStr, format, i18nSettings) {
2364
2364
  * Tencent is pleased to support the open source community by making
2365
2365
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2366
2366
  *
2367
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2367
+ * Copyright (C) 2025 Tencent. All rights reserved.
2368
2368
  *
2369
2369
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2370
2370
  *
@@ -2794,31 +2794,20 @@ var isInRange = function isInRange(time, a, b) {
2794
2794
  end = _sort2[1];
2795
2795
  return time >= start && time <= end;
2796
2796
  };
2797
- /**
2798
- * firstUpperCase
2799
- *
2800
- * @param {string} str str
2801
- *
2802
- * @return {string} str
2803
- */
2804
- function firstUpperCase(str) {
2797
+ var firstUpperCase = function firstUpperCase(str) {
2805
2798
  return str.toString()[0].toUpperCase() + str.toString().slice(1);
2806
- }
2799
+ };
2807
2800
  /**
2808
2801
  * 根据 date 设置 h, m, s
2809
- *
2810
- * @param {Date} date date 对象
2811
- * @param {number} h 小时数
2812
- * @param {number} m 分钟数
2813
- * @param {number} s 秒数
2814
- *
2815
- * @return {Date} date 对象
2802
+ * @param date Date对象
2803
+ * @param hms [小时数,分钟数,秒数]
2816
2804
  */
2817
2805
  var mergeDateHMS = function mergeDateHMS(date) {
2806
+ var hms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [0, 0, 0];
2818
2807
  var newDate = new Date(date.getTime());
2819
- newDate.setHours(arguments.length <= 1 ? undefined : arguments[1]);
2820
- newDate.setMinutes(arguments.length <= 2 ? undefined : arguments[2]);
2821
- newDate.setSeconds(arguments.length <= 3 ? undefined : arguments[3]);
2808
+ newDate.setHours(hms[0]);
2809
+ newDate.setMinutes(hms[1]);
2810
+ newDate.setSeconds(hms[2] - 1);
2822
2811
  return newDate;
2823
2812
  };
2824
2813
  var capitalize = function capitalize(str) {
@@ -2834,7 +2823,7 @@ function date_table_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
2834
2823
  * Tencent is pleased to support the open source community by making
2835
2824
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
2836
2825
  *
2837
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2826
+ * Copyright (C) 2025 Tencent. All rights reserved.
2838
2827
  *
2839
2828
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
2840
2829
  *
@@ -2930,7 +2919,7 @@ var dateTableProps = {
2930
2919
  return date_table_objectSpread(date_table_objectSpread({}, cell), {}, {
2931
2920
  type: time === today ? 'today' : cell.type,
2932
2921
  selected: dateIsInCurrentMonth && selectedDays.includes(time),
2933
- disabled: cell.date && disableTestFn && disableTestFn(new Date(time)),
2922
+ disabled: cell.date && disableTestFn && typeof disableTestFn === 'function' && disableTestFn(new Date(time)),
2934
2923
  range: dateIsInCurrentMonth && isRange && isInRange(time, rangeStart, rangeEnd),
2935
2924
  start: dateIsInCurrentMonth && isRange && time === minDay,
2936
2925
  end: dateIsInCurrentMonth && isRange && time === maxDay
@@ -2998,7 +2987,7 @@ var dateTableProps = {
2998
2987
  * Tencent is pleased to support the open source community by making
2999
2988
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3000
2989
  *
3001
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
2990
+ * Copyright (C) 2025 Tencent. All rights reserved.
3002
2991
  *
3003
2992
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3004
2993
  *
@@ -3178,7 +3167,7 @@ var monthTableProps = {
3178
3167
  * Tencent is pleased to support the open source community by making
3179
3168
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3180
3169
  *
3181
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3170
+ * Copyright (C) 2025 Tencent. All rights reserved.
3182
3171
  *
3183
3172
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3184
3173
  *
@@ -3358,7 +3347,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
3358
3347
  * Tencent is pleased to support the open source community by making
3359
3348
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3360
3349
  *
3361
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3350
+ * Copyright (C) 2025 Tencent. All rights reserved.
3362
3351
  *
3363
3352
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3364
3353
  *
@@ -3585,7 +3574,7 @@ function time_spinner_objectSpread(e) { for (var r = 1; r < arguments.length; r+
3585
3574
  * Tencent is pleased to support the open source community by making
3586
3575
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
3587
3576
  *
3588
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
3577
+ * Copyright (C) 2025 Tencent. All rights reserved.
3589
3578
  *
3590
3579
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
3591
3580
  *
@@ -4000,17 +3989,20 @@ var timeParts = ['hours', 'minutes', 'seconds'];
4000
3989
  })])]), [[external_vue_.vShow, this.showSeconds]])]);
4001
3990
  }
4002
3991
  }));
3992
+ ;// CONCATENATED MODULE: external "lodash/cloneDeep"
3993
+ var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
3994
+ var cloneDeep_y = x => () => x
3995
+ const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
4003
3996
  ;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/time.tsx
4004
3997
 
4005
3998
 
4006
-
4007
3999
  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; }
4008
4000
  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; }
4009
4001
  /*
4010
4002
  * Tencent is pleased to support the open source community by making
4011
4003
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4012
4004
  *
4013
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4005
+ * Copyright (C) 2025 Tencent. All rights reserved.
4014
4006
  *
4015
4007
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4016
4008
  *
@@ -4038,6 +4030,7 @@ function time_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
4038
4030
 
4039
4031
 
4040
4032
 
4033
+
4041
4034
  var timeProps = {
4042
4035
  disabledDate: {
4043
4036
  type: Function,
@@ -4101,7 +4094,7 @@ var timeProps = {
4101
4094
  var showSeconds = (0,external_vue_.computed)(function () {
4102
4095
  return !(props.format || '').match(/mm$/);
4103
4096
  });
4104
- var timeSlots = (0,external_vue_.computed)(function () {
4097
+ var localTimeValues = (0,external_vue_.computed)(function () {
4105
4098
  if (!props.value[0]) {
4106
4099
  return [];
4107
4100
  }
@@ -4120,28 +4113,25 @@ var timeProps = {
4120
4113
  }, {});
4121
4114
  return _disabled;
4122
4115
  }
4123
- var slots = [24, 60, 60];
4116
+ var HMSMax = [24, 60, 60];
4124
4117
  var disabled = ['Hours', 'Minutes', 'Seconds'].map(function (type) {
4125
- return props["disabled".concat(type)];
4118
+ return (0,cloneDeep_namespaceObject["default"])(props["disabled".concat(type)]);
4126
4119
  });
4127
- var disabledHMS = disabled.map(function (preDisabled, j) {
4128
- var slot = slots[j];
4129
- var toDisable = preDisabled;
4130
- var _loop = function _loop(i) {
4131
- var hms = timeSlots.value.map(function (slot, x) {
4132
- return x === j ? i : slot;
4120
+ var disabledHMS = disabled.map(function (currentDisable, disableIndex) {
4121
+ var itemMax = HMSMax[disableIndex];
4122
+ var _loop = function _loop(itemIndex) {
4123
+ var hms = localTimeValues.value.map(function (value, index) {
4124
+ return index === disableIndex ? itemIndex : value;
4133
4125
  });
4134
- var testDateTime = mergeDateHMS.apply(void 0, [state.date].concat((0,toConsumableArray["default"])(hms)));
4135
- if (props.disabledDate(testDateTime, true)) {
4136
- toDisable.push(i);
4126
+ var testDateTime = mergeDateHMS(state.date, hms);
4127
+ if (props.disabledDate(testDateTime)) {
4128
+ currentDisable.push(itemIndex);
4137
4129
  }
4138
4130
  };
4139
- for (var i = 0; i < slot; i += props.steps[j] || 1) {
4140
- _loop(i);
4131
+ for (var itemIndex = 0; itemIndex < itemMax; itemIndex += props.steps[disableIndex] || 1) {
4132
+ _loop(itemIndex);
4141
4133
  }
4142
- return toDisable.filter(function (el, i, arr) {
4143
- return arr.indexOf(el) === i;
4144
- });
4134
+ return currentDisable;
4145
4135
  });
4146
4136
  return disabledTypes.reduce(function (obj, type, i) {
4147
4137
  obj[type] = disabledHMS[i];
@@ -4183,7 +4173,7 @@ var timeProps = {
4183
4173
  return time_objectSpread(time_objectSpread({}, (0,external_vue_.toRefs)(state)), {}, {
4184
4174
  visibleDate: visibleDate,
4185
4175
  showSeconds: showSeconds,
4186
- timeSlots: timeSlots,
4176
+ localTimeValues: localTimeValues,
4187
4177
  disabledHMS: disabledHMS,
4188
4178
  timeSpinnerRef: timeSpinnerRef,
4189
4179
  handlePickClick: handlePickClick,
@@ -4212,9 +4202,9 @@ var timeProps = {
4212
4202
  "disabledMinutes": this.disabledHMS.disabledMinutes,
4213
4203
  "disabledSeconds": this.disabledHMS.disabledSeconds,
4214
4204
  "hideDisabledOptions": this.hideDisabledOptions,
4215
- "hours": this.timeSlots[0],
4216
- "minutes": this.timeSlots[1],
4217
- "seconds": this.timeSlots[2],
4205
+ "hours": this.localTimeValues[0],
4206
+ "minutes": this.localTimeValues[1],
4207
+ "seconds": this.localTimeValues[2],
4218
4208
  "showSeconds": this.showSeconds,
4219
4209
  "steps": this.steps,
4220
4210
  "onChange": this.handleChange,
@@ -4231,7 +4221,7 @@ function date_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
4231
4221
  * Tencent is pleased to support the open source community by making
4232
4222
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4233
4223
  *
4234
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4224
+ * Copyright (C) 2025 Tencent. All rights reserved.
4235
4225
  *
4236
4226
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4237
4227
  *
@@ -4664,7 +4654,7 @@ function time_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4664
4654
  * Tencent is pleased to support the open source community by making
4665
4655
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4666
4656
  *
4667
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4657
+ * Copyright (C) 2025 Tencent. All rights reserved.
4668
4658
  *
4669
4659
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4670
4660
  *
@@ -4929,7 +4919,7 @@ function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4929
4919
  * Tencent is pleased to support the open source community by making
4930
4920
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4931
4921
  *
4932
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
4922
+ * Copyright (C) 2025 Tencent. All rights reserved.
4933
4923
  *
4934
4924
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
4935
4925
  *
@@ -5047,7 +5037,7 @@ var dateRangePanelProps = {
5047
5037
  /* harmony default export */ const date_range = ((0,external_vue_.defineComponent)({
5048
5038
  name: 'DateRangePanel',
5049
5039
  props: dateRangePanelProps,
5050
- emits: ['pick', 'pick-success', 'pick-clear', 'pick-click', 'pick-first'],
5040
+ emits: ['pick', 'pick-success', 'pick-clear', 'pick-click', 'pick-first', 'selection-mode-change'],
5051
5041
  setup: function setup(props, _ref) {
5052
5042
  var slots = _ref.slots,
5053
5043
  emit = _ref.emit;
@@ -5219,6 +5209,10 @@ var dateRangePanelProps = {
5219
5209
  * handleConfirm
5220
5210
  */
5221
5211
  var handleConfirm = function handleConfirm(visible, type) {
5212
+ if (type !== 'time') {
5213
+ // 开始的时间 不是 00:00:00,改为 00:00:00
5214
+ state.dates[0] = new Date(state.dates[0].getFullYear(), state.dates[0].getMonth(), state.dates[0].getDate(), 0, 0, 0);
5215
+ }
5222
5216
  // pick 参数:dates, visible, type, isUseShortCut
5223
5217
  emit('pick', state.dates, visible, type || props.type);
5224
5218
  };
@@ -5249,7 +5243,7 @@ var dateRangePanelProps = {
5249
5243
  selecting: false
5250
5244
  };
5251
5245
  }
5252
- handleConfirm(false, type || props.selectionMode);
5246
+ handleConfirm(false, props.selectionMode || type);
5253
5247
  } else {
5254
5248
  state.upToNowEnable = new Date(val).getTime() < new Date().getTime();
5255
5249
  state.rangeState = {
@@ -5342,6 +5336,8 @@ var dateRangePanelProps = {
5342
5336
  var leftMonth = state.leftPanelDate.getMonth();
5343
5337
  var rightMonth = state.rightPanelDate.getMonth();
5344
5338
  var isSameYear = state.leftPanelDate.getFullYear() === state.rightPanelDate.getFullYear();
5339
+ // 抛出选择时间/选择日期面板切换事件
5340
+ emit('selection-mode-change', v);
5345
5341
  if (v === 'date' && isSameYear && leftMonth === rightMonth) {
5346
5342
  changePanelDate('right', 'Month', 1);
5347
5343
  }
@@ -5734,7 +5730,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
5734
5730
  * Tencent is pleased to support the open source community by making
5735
5731
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
5736
5732
  *
5737
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5733
+ * Copyright (C) 2025 Tencent. All rights reserved.
5738
5734
  *
5739
5735
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
5740
5736
  *
@@ -5773,7 +5769,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
5773
5769
  clickoutside: src.clickoutside
5774
5770
  },
5775
5771
  props: datePickerProps,
5776
- emits: ['open-change', 'input', 'change', 'update:modelValue', 'clear', 'shortcut-change', 'pick-success', 'pick-first', 'blur', 'focus'],
5772
+ emits: ['open-change', 'input', 'change', 'update:modelValue', 'clear', 'shortcut-change', 'pick-success', 'pick-first', 'blur', 'focus', 'selection-mode-change'],
5777
5773
  // slots: ['header'],
5778
5774
  slots: Object,
5779
5775
  setup: function setup(props, _ref) {
@@ -5836,6 +5832,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
5836
5832
  }
5837
5833
  // return ['year', 'month', 'date', 'time'].indexOf(type) > -1 && type;
5838
5834
  state.selectionMode = ['year', 'month', 'date', 'time'].indexOf(type) > -1 && type;
5835
+ // 抛出选择时间/选择日期面板切换事件,处理不同面板自定义交互
5836
+ emit('selection-mode-change', _type);
5839
5837
  return state.selectionMode;
5840
5838
  }
5841
5839
  var publicVModelValue = (0,external_vue_.computed)(function () {
@@ -6212,14 +6210,18 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
6212
6210
  state.internalValue = state.internalValue.map(function () {
6213
6211
  return null;
6214
6212
  });
6215
- emit('clear');
6216
- emitChange(props.type);
6217
- reset();
6218
6213
  state.showClose = false;
6219
6214
  state.shortcut = null;
6215
+ emit('clear');
6216
+ emitChange(props.type);
6220
6217
  setTimeout(function () {
6221
6218
  return onSelectionModeChange(props.type);
6222
6219
  }, 500);
6220
+ // 处理选择快捷项后再选择时间清空后再次打开,currentView面板状态未重置
6221
+ (0,external_vue_.nextTick)(function () {
6222
+ var _pickerPanelRef$value4;
6223
+ pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value4 = pickerPanelRef.value) === null || _pickerPanelRef$value4 === void 0 || _pickerPanelRef$value4.resetView();
6224
+ });
6223
6225
  };
6224
6226
  var onPickSuccess = function onPickSuccess() {
6225
6227
  var _inputRef$value5;
@@ -6228,9 +6230,10 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
6228
6230
  // v-model 的值还是之前的值
6229
6231
  (0,external_vue_.nextTick)(function () {
6230
6232
  emit('pick-success');
6233
+ // 处理选择快捷项后再选择时间确认后再次打开,currentView面板状态未重置
6234
+ reset();
6231
6235
  });
6232
6236
  inputRef === null || inputRef === void 0 || (_inputRef$value5 = inputRef.value) === null || _inputRef$value5 === void 0 || _inputRef$value5.blur();
6233
- reset();
6234
6237
  };
6235
6238
  var onPick = function onPick(_dates) {
6236
6239
  var visible = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -6283,8 +6286,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
6283
6286
  };
6284
6287
  var triggerRef = (0,external_vue_.ref)(null);
6285
6288
  var handleToggleTime = function handleToggleTime() {
6286
- var _pickerPanelRef$value4, _pickerPanelRef$value5;
6287
- (_pickerPanelRef$value4 = (_pickerPanelRef$value5 = pickerPanelRef.value).handleToggleTime) === null || _pickerPanelRef$value4 === void 0 || _pickerPanelRef$value4.call(_pickerPanelRef$value5);
6289
+ var _pickerPanelRef$value5, _pickerPanelRef$value6;
6290
+ (_pickerPanelRef$value5 = (_pickerPanelRef$value6 = pickerPanelRef.value).handleToggleTime) === null || _pickerPanelRef$value5 === void 0 || _pickerPanelRef$value5.call(_pickerPanelRef$value6);
6288
6291
  };
6289
6292
  var onPickFirst = function onPickFirst(val, type) {
6290
6293
  emit('pick-first', val, type);
@@ -6463,7 +6466,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
6463
6466
  * Tencent is pleased to support the open source community by making
6464
6467
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
6465
6468
  *
6466
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6469
+ * Copyright (C) 2025 Tencent. All rights reserved.
6467
6470
  *
6468
6471
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
6469
6472
  *
@@ -7165,7 +7168,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
7165
7168
  * Tencent is pleased to support the open source community by making
7166
7169
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
7167
7170
  *
7168
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
7171
+ * Copyright (C) 2025 Tencent. All rights reserved.
7169
7172
  *
7170
7173
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
7171
7174
  *
@@ -200,7 +200,7 @@ declare const _default: import("vue").DefineComponent<{
200
200
  upToNowEnable: import("vue").Ref<boolean>;
201
201
  dates: import("vue").Ref<any>;
202
202
  selectedIndex: import("vue").Ref<number>;
203
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pick-clear" | "pick-success" | "pick" | "pick-click" | "pick-first")[], "pick-clear" | "pick-success" | "pick" | "pick-click" | "pick-first", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
203
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pick-clear" | "pick-success" | "pick" | "pick-click" | "selection-mode-change" | "pick-first")[], "pick-clear" | "pick-success" | "pick" | "pick-click" | "selection-mode-change" | "pick-first", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
204
204
  readonly modelValue: {
205
205
  readonly type: PropType<DatePickerValueType>;
206
206
  };
@@ -267,6 +267,7 @@ declare const _default: import("vue").DefineComponent<{
267
267
  "onPick-success"?: (...args: any[]) => any;
268
268
  onPick?: (...args: any[]) => any;
269
269
  "onPick-click"?: (...args: any[]) => any;
270
+ "onSelection-mode-change"?: (...args: any[]) => any;
270
271
  "onPick-first"?: (...args: any[]) => any;
271
272
  }, {
272
273
  readonly type: PickerTypeType;
@@ -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;
@@ -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-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;