bkui-vue 2.0.2-beta.7 → 2.0.2-beta.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/License.txt +1 -2
- package/dist/cli.css +1 -0
- package/dist/index.cjs.js +165 -138
- package/dist/index.esm.js +24227 -18480
- package/dist/index.umd.js +165 -138
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js +2 -0
- package/dist/locale/ja-jp.esm.js.map +1 -0
- package/dist/locale/ja-jp.umd.js +2 -0
- package/dist/locale/ja-jp.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -1
- package/lib/affix/index.js +2 -2
- package/lib/alert/alert.variable.css +2 -1
- package/lib/alert/index.js +16 -5
- package/lib/animate-number/index.js +2 -2
- package/lib/backtop/backtop.variable.css +2 -1
- package/lib/backtop/index.js +2 -2
- package/lib/badge/badge.variable.css +2 -1
- package/lib/badge/index.js +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -1
- package/lib/breadcrumb/index.js +3 -3
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +2 -1
- package/lib/button/index.js +3 -3
- package/lib/card/card.variable.css +2 -1
- package/lib/card/index.js +2 -2
- package/lib/cascader/cascader.css +26 -24
- package/lib/cascader/cascader.d.ts +311 -0
- package/lib/cascader/cascader.less +78 -76
- package/lib/cascader/cascader.variable.css +28 -25
- package/lib/cascader/index.d.ts +610 -0
- package/lib/cascader/index.js +107 -49
- package/lib/checkbox/checkbox.variable.css +2 -1
- package/lib/checkbox/index.js +5 -5
- package/lib/code-diff/code-diff.variable.css +2 -1
- package/lib/code-diff/index.js +2 -2
- package/lib/collapse/collapse.variable.css +2 -1
- package/lib/collapse/index.js +3 -3
- package/lib/collapse-transition/collapse-transition.variable.css +2 -1
- package/lib/collapse-transition/index.js +2 -2
- package/lib/color-picker/color-picker.variable.css +2 -1
- package/lib/color-picker/index.js +62 -55
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.variable.css +2 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +6 -6
- package/lib/container/container.variable.css +2 -1
- package/lib/container/index.js +5 -5
- package/lib/date-picker/date-picker.d.ts +2 -1
- package/lib/date-picker/date-picker.variable.css +2 -1
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.js +77 -76
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -17
- package/lib/dialog/dialog.css +20 -1
- package/lib/dialog/dialog.variable.css +22 -2
- package/lib/dialog/index.js +13 -36
- package/lib/directives/index.js +6 -9
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +2 -1
- package/lib/divider/index.js +3 -3
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +2 -1
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +15 -10
- package/lib/exception/exception.variable.css +2 -1
- package/lib/exception/index.js +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +16 -4
- package/lib/form/form.less +24 -6
- package/lib/form/form.variable.css +18 -5
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +41 -50
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.variable.css +2 -1
- package/lib/image/image.variable.css +2 -1
- package/lib/image/index.js +9 -12
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +22 -7
- package/lib/info-box/info-box.css +20 -1
- package/lib/info-box/info-box.d.ts +1 -0
- package/lib/info-box/info-box.less +28 -2
- package/lib/info-box/info-box.variable.css +23 -3
- package/lib/input/index.d.ts +39 -20
- package/lib/input/index.js +44 -27
- package/lib/input/input.css +6 -0
- package/lib/input/input.d.ts +30 -16
- package/lib/input/input.less +7 -0
- package/lib/input/input.variable.css +8 -1
- package/lib/link/index.js +2 -2
- package/lib/link/link.variable.css +2 -1
- package/lib/loading/index.js +3 -3
- package/lib/loading/loading.variable.css +2 -1
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +172 -4
- package/lib/locale/lang/ja-jp.d.ts +3 -0
- package/lib/menu/index.js +12 -9
- package/lib/menu/menu.css +5 -4
- package/lib/menu/menu.less +1 -0
- package/lib/menu/menu.variable.css +7 -5
- package/lib/menu/submenu.variable.css +2 -1
- package/lib/message/index.js +4 -4
- package/lib/message/message.variable.css +2 -1
- package/lib/modal/index.js +14 -6
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +22 -2
- package/lib/navigation/index.js +3 -3
- package/lib/navigation/navigation.css +29 -29
- package/lib/navigation/navigation.less +29 -29
- package/lib/navigation/navigation.variable.css +31 -30
- package/lib/notify/index.js +3 -3
- package/lib/notify/notify.variable.css +2 -1
- package/lib/overflow-title/index.js +3 -3
- package/lib/pagination/index.js +22 -14
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +3 -1
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +10 -6
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/pop-confirm.variable.css +2 -1
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +18 -21
- package/lib/popover/popover.variable.css +2 -1
- package/lib/popover2/index.js +2 -2
- package/lib/preset.js +1 -1
- package/lib/process/index.js +2 -2
- package/lib/process/process.d.ts +1 -1
- package/lib/process/process.variable.css +2 -1
- package/lib/progress/index.js +4 -4
- package/lib/progress/progress.variable.css +2 -1
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +2 -1
- package/lib/rate/index.js +3 -3
- package/lib/rate/rate.variable.css +2 -1
- package/lib/resize-layout/index.js +2 -2
- package/lib/resize-layout/resize-layout.css +1 -0
- package/lib/resize-layout/resize-layout.less +1 -0
- package/lib/resize-layout/resize-layout.variable.css +3 -1
- package/lib/scrollbar/css/scrollbar.variable.css +2 -1
- package/lib/scrollbar/index.js +6 -6
- package/lib/search-select/index.d.ts +39 -11
- package/lib/search-select/index.js +91 -38
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/search-select.d.ts +13 -4
- package/lib/search-select/search-select.variable.css +2 -1
- package/lib/search-select/selected.d.ts +10 -2
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/index.d.ts +22 -3
- package/lib/select/index.js +34 -28
- package/lib/select/select.d.ts +11 -1
- package/lib/select/select.variable.css +2 -1
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +10 -10
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +5 -3
- package/lib/sideslider/sideslider.variable.css +2 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +5 -4
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/slider/slider.variable.css +2 -1
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +2 -1
- package/lib/styles/mixins/animate.variable.css +2 -1
- package/lib/styles/mixins/popper.variable.css +2 -1
- package/lib/styles/mixins/scroll.variable.css +2 -1
- package/lib/styles/reset.variable.css +2 -1
- package/lib/styles/themes/themes.less +4 -1
- package/lib/swiper/index.js +2 -2
- package/lib/swiper/swiper.variable.css +2 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.variable.css +2 -1
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +20 -17
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.js +33 -36
- package/lib/table/plugins/head-filter.variable.css +2 -1
- package/lib/table/plugins/head-sort.variable.css +2 -1
- package/lib/table/plugins/settings.variable.css +2 -1
- package/lib/table/table.css +1 -0
- package/lib/table/table.variable.css +3 -1
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/index.d.ts +9 -0
- package/lib/tag-input/index.js +1569 -42
- package/lib/tag-input/tag-input.css +16 -0
- package/lib/tag-input/tag-input.d.ts +17 -2
- package/lib/tag-input/tag-input.less +16 -0
- package/lib/tag-input/tag-input.variable.css +18 -1
- package/lib/tag-input/tag-render.d.ts +24 -2
- package/lib/time-picker/index.js +1 -1
- package/lib/time-picker/time-picker.variable.css +2 -1
- package/lib/timeline/index.js +1353 -4
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.variable.css +2 -1
- package/lib/transfer/index.d.ts +1 -24
- package/lib/transfer/index.js +21 -11
- package/lib/transfer/props.d.ts +0 -5
- package/lib/transfer/transfer.css +26 -8
- package/lib/transfer/transfer.d.ts +1 -12
- package/lib/transfer/transfer.less +18 -8
- package/lib/transfer/transfer.variable.css +28 -9
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +48 -11
- package/lib/tree/index.js +17650 -106
- package/lib/tree/props.d.ts +30 -3
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +22 -5
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +48 -1
- package/lib/tree/use-array-move.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +3 -0
- package/lib/upload/index.js +8 -8
- package/lib/upload/upload.variable.css +2 -1
- package/lib/virtual-render/index.js +7 -7
- package/lib/virtual-render/virtual-render.variable.css +2 -1
- package/lib/volar.components.d.ts +2 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
package/lib/date-picker/index.js
CHANGED
|
@@ -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)
|
|
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)
|
|
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)
|
|
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)
|
|
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
|
});
|
|
@@ -628,7 +626,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
|
628
626
|
* Tencent is pleased to support the open source community by making
|
|
629
627
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
630
628
|
*
|
|
631
|
-
* Copyright (C)
|
|
629
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
632
630
|
*
|
|
633
631
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
634
632
|
*
|
|
@@ -1550,7 +1548,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
1550
1548
|
* Tencent is pleased to support the open source community by making
|
|
1551
1549
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1552
1550
|
*
|
|
1553
|
-
* Copyright (C)
|
|
1551
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1554
1552
|
*
|
|
1555
1553
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1556
1554
|
*
|
|
@@ -1918,7 +1916,7 @@ const button_less_namespaceObject = button_less_x({ });
|
|
|
1918
1916
|
* Tencent is pleased to support the open source community by making
|
|
1919
1917
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1920
1918
|
*
|
|
1921
|
-
* Copyright (C)
|
|
1919
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1922
1920
|
*
|
|
1923
1921
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1924
1922
|
*
|
|
@@ -2058,7 +2056,7 @@ const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () =
|
|
|
2058
2056
|
* Tencent is pleased to support the open source community by making
|
|
2059
2057
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
2060
2058
|
*
|
|
2061
|
-
* Copyright (C)
|
|
2059
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
2062
2060
|
*
|
|
2063
2061
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
2064
2062
|
*
|
|
@@ -2364,7 +2362,7 @@ fecha.parse = function (dateStr, format, i18nSettings) {
|
|
|
2364
2362
|
* Tencent is pleased to support the open source community by making
|
|
2365
2363
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
2366
2364
|
*
|
|
2367
|
-
* Copyright (C)
|
|
2365
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
2368
2366
|
*
|
|
2369
2367
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
2370
2368
|
*
|
|
@@ -2794,31 +2792,20 @@ var isInRange = function isInRange(time, a, b) {
|
|
|
2794
2792
|
end = _sort2[1];
|
|
2795
2793
|
return time >= start && time <= end;
|
|
2796
2794
|
};
|
|
2797
|
-
|
|
2798
|
-
* firstUpperCase
|
|
2799
|
-
*
|
|
2800
|
-
* @param {string} str str
|
|
2801
|
-
*
|
|
2802
|
-
* @return {string} str
|
|
2803
|
-
*/
|
|
2804
|
-
function firstUpperCase(str) {
|
|
2795
|
+
var firstUpperCase = function firstUpperCase(str) {
|
|
2805
2796
|
return str.toString()[0].toUpperCase() + str.toString().slice(1);
|
|
2806
|
-
}
|
|
2797
|
+
};
|
|
2807
2798
|
/**
|
|
2808
2799
|
* 根据 date 设置 h, m, s
|
|
2809
|
-
*
|
|
2810
|
-
* @param
|
|
2811
|
-
* @param {number} h 小时数
|
|
2812
|
-
* @param {number} m 分钟数
|
|
2813
|
-
* @param {number} s 秒数
|
|
2814
|
-
*
|
|
2815
|
-
* @return {Date} date 对象
|
|
2800
|
+
* @param date Date对象
|
|
2801
|
+
* @param hms [小时数,分钟数,秒数]
|
|
2816
2802
|
*/
|
|
2817
2803
|
var mergeDateHMS = function mergeDateHMS(date) {
|
|
2804
|
+
var hms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [0, 0, 0];
|
|
2818
2805
|
var newDate = new Date(date.getTime());
|
|
2819
|
-
newDate.setHours(
|
|
2820
|
-
newDate.setMinutes(
|
|
2821
|
-
newDate.setSeconds(
|
|
2806
|
+
newDate.setHours(hms[0]);
|
|
2807
|
+
newDate.setMinutes(hms[1]);
|
|
2808
|
+
newDate.setSeconds(hms[2] - 1);
|
|
2822
2809
|
return newDate;
|
|
2823
2810
|
};
|
|
2824
2811
|
var capitalize = function capitalize(str) {
|
|
@@ -2834,7 +2821,7 @@ function date_table_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
|
2834
2821
|
* Tencent is pleased to support the open source community by making
|
|
2835
2822
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
2836
2823
|
*
|
|
2837
|
-
* Copyright (C)
|
|
2824
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
2838
2825
|
*
|
|
2839
2826
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
2840
2827
|
*
|
|
@@ -2930,7 +2917,7 @@ var dateTableProps = {
|
|
|
2930
2917
|
return date_table_objectSpread(date_table_objectSpread({}, cell), {}, {
|
|
2931
2918
|
type: time === today ? 'today' : cell.type,
|
|
2932
2919
|
selected: dateIsInCurrentMonth && selectedDays.includes(time),
|
|
2933
|
-
disabled: cell.date && disableTestFn && disableTestFn(new Date(time)),
|
|
2920
|
+
disabled: cell.date && disableTestFn && typeof disableTestFn === 'function' && disableTestFn(new Date(time)),
|
|
2934
2921
|
range: dateIsInCurrentMonth && isRange && isInRange(time, rangeStart, rangeEnd),
|
|
2935
2922
|
start: dateIsInCurrentMonth && isRange && time === minDay,
|
|
2936
2923
|
end: dateIsInCurrentMonth && isRange && time === maxDay
|
|
@@ -2998,7 +2985,7 @@ var dateTableProps = {
|
|
|
2998
2985
|
* Tencent is pleased to support the open source community by making
|
|
2999
2986
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3000
2987
|
*
|
|
3001
|
-
* Copyright (C)
|
|
2988
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3002
2989
|
*
|
|
3003
2990
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3004
2991
|
*
|
|
@@ -3178,7 +3165,7 @@ var monthTableProps = {
|
|
|
3178
3165
|
* Tencent is pleased to support the open source community by making
|
|
3179
3166
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3180
3167
|
*
|
|
3181
|
-
* Copyright (C)
|
|
3168
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3182
3169
|
*
|
|
3183
3170
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3184
3171
|
*
|
|
@@ -3358,7 +3345,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
|
3358
3345
|
* Tencent is pleased to support the open source community by making
|
|
3359
3346
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3360
3347
|
*
|
|
3361
|
-
* Copyright (C)
|
|
3348
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3362
3349
|
*
|
|
3363
3350
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3364
3351
|
*
|
|
@@ -3585,7 +3572,7 @@ function time_spinner_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
|
3585
3572
|
* Tencent is pleased to support the open source community by making
|
|
3586
3573
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
3587
3574
|
*
|
|
3588
|
-
* Copyright (C)
|
|
3575
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
3589
3576
|
*
|
|
3590
3577
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
3591
3578
|
*
|
|
@@ -4000,17 +3987,20 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
|
4000
3987
|
})])]), [[external_vue_.vShow, this.showSeconds]])]);
|
|
4001
3988
|
}
|
|
4002
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"] });
|
|
4003
3994
|
;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/time.tsx
|
|
4004
3995
|
|
|
4005
3996
|
|
|
4006
|
-
|
|
4007
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; }
|
|
4008
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; }
|
|
4009
3999
|
/*
|
|
4010
4000
|
* Tencent is pleased to support the open source community by making
|
|
4011
4001
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
4012
4002
|
*
|
|
4013
|
-
* Copyright (C)
|
|
4003
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
4014
4004
|
*
|
|
4015
4005
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
4016
4006
|
*
|
|
@@ -4038,6 +4028,7 @@ function time_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
|
4038
4028
|
|
|
4039
4029
|
|
|
4040
4030
|
|
|
4031
|
+
|
|
4041
4032
|
var timeProps = {
|
|
4042
4033
|
disabledDate: {
|
|
4043
4034
|
type: Function,
|
|
@@ -4101,7 +4092,7 @@ var timeProps = {
|
|
|
4101
4092
|
var showSeconds = (0,external_vue_.computed)(function () {
|
|
4102
4093
|
return !(props.format || '').match(/mm$/);
|
|
4103
4094
|
});
|
|
4104
|
-
var
|
|
4095
|
+
var localTimeValues = (0,external_vue_.computed)(function () {
|
|
4105
4096
|
if (!props.value[0]) {
|
|
4106
4097
|
return [];
|
|
4107
4098
|
}
|
|
@@ -4120,28 +4111,25 @@ var timeProps = {
|
|
|
4120
4111
|
}, {});
|
|
4121
4112
|
return _disabled;
|
|
4122
4113
|
}
|
|
4123
|
-
var
|
|
4114
|
+
var HMSMax = [24, 60, 60];
|
|
4124
4115
|
var disabled = ['Hours', 'Minutes', 'Seconds'].map(function (type) {
|
|
4125
|
-
return props["disabled".concat(type)];
|
|
4116
|
+
return (0,cloneDeep_namespaceObject["default"])(props["disabled".concat(type)]);
|
|
4126
4117
|
});
|
|
4127
|
-
var disabledHMS = disabled.map(function (
|
|
4128
|
-
var
|
|
4129
|
-
var
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
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;
|
|
4133
4123
|
});
|
|
4134
|
-
var testDateTime = mergeDateHMS
|
|
4135
|
-
if (props.disabledDate(testDateTime
|
|
4136
|
-
|
|
4124
|
+
var testDateTime = mergeDateHMS(state.date, hms);
|
|
4125
|
+
if (props.disabledDate(testDateTime)) {
|
|
4126
|
+
currentDisable.push(itemIndex);
|
|
4137
4127
|
}
|
|
4138
4128
|
};
|
|
4139
|
-
for (var
|
|
4140
|
-
_loop(
|
|
4129
|
+
for (var itemIndex = 0; itemIndex < itemMax; itemIndex += props.steps[disableIndex] || 1) {
|
|
4130
|
+
_loop(itemIndex);
|
|
4141
4131
|
}
|
|
4142
|
-
return
|
|
4143
|
-
return arr.indexOf(el) === i;
|
|
4144
|
-
});
|
|
4132
|
+
return currentDisable;
|
|
4145
4133
|
});
|
|
4146
4134
|
return disabledTypes.reduce(function (obj, type, i) {
|
|
4147
4135
|
obj[type] = disabledHMS[i];
|
|
@@ -4183,7 +4171,7 @@ var timeProps = {
|
|
|
4183
4171
|
return time_objectSpread(time_objectSpread({}, (0,external_vue_.toRefs)(state)), {}, {
|
|
4184
4172
|
visibleDate: visibleDate,
|
|
4185
4173
|
showSeconds: showSeconds,
|
|
4186
|
-
|
|
4174
|
+
localTimeValues: localTimeValues,
|
|
4187
4175
|
disabledHMS: disabledHMS,
|
|
4188
4176
|
timeSpinnerRef: timeSpinnerRef,
|
|
4189
4177
|
handlePickClick: handlePickClick,
|
|
@@ -4212,9 +4200,9 @@ var timeProps = {
|
|
|
4212
4200
|
"disabledMinutes": this.disabledHMS.disabledMinutes,
|
|
4213
4201
|
"disabledSeconds": this.disabledHMS.disabledSeconds,
|
|
4214
4202
|
"hideDisabledOptions": this.hideDisabledOptions,
|
|
4215
|
-
"hours": this.
|
|
4216
|
-
"minutes": this.
|
|
4217
|
-
"seconds": this.
|
|
4203
|
+
"hours": this.localTimeValues[0],
|
|
4204
|
+
"minutes": this.localTimeValues[1],
|
|
4205
|
+
"seconds": this.localTimeValues[2],
|
|
4218
4206
|
"showSeconds": this.showSeconds,
|
|
4219
4207
|
"steps": this.steps,
|
|
4220
4208
|
"onChange": this.handleChange,
|
|
@@ -4231,7 +4219,7 @@ function date_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
|
4231
4219
|
* Tencent is pleased to support the open source community by making
|
|
4232
4220
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
4233
4221
|
*
|
|
4234
|
-
* Copyright (C)
|
|
4222
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
4235
4223
|
*
|
|
4236
4224
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
4237
4225
|
*
|
|
@@ -4664,7 +4652,7 @@ function time_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
|
4664
4652
|
* Tencent is pleased to support the open source community by making
|
|
4665
4653
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
4666
4654
|
*
|
|
4667
|
-
* Copyright (C)
|
|
4655
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
4668
4656
|
*
|
|
4669
4657
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
4670
4658
|
*
|
|
@@ -4929,7 +4917,7 @@ function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
|
4929
4917
|
* Tencent is pleased to support the open source community by making
|
|
4930
4918
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
4931
4919
|
*
|
|
4932
|
-
* Copyright (C)
|
|
4920
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
4933
4921
|
*
|
|
4934
4922
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
4935
4923
|
*
|
|
@@ -5047,7 +5035,7 @@ var dateRangePanelProps = {
|
|
|
5047
5035
|
/* harmony default export */ const date_range = ((0,external_vue_.defineComponent)({
|
|
5048
5036
|
name: 'DateRangePanel',
|
|
5049
5037
|
props: dateRangePanelProps,
|
|
5050
|
-
emits: ['pick', 'pick-success', 'pick-clear', 'pick-click', 'pick-first'],
|
|
5038
|
+
emits: ['pick', 'pick-success', 'pick-clear', 'pick-click', 'pick-first', 'selection-mode-change'],
|
|
5051
5039
|
setup: function setup(props, _ref) {
|
|
5052
5040
|
var slots = _ref.slots,
|
|
5053
5041
|
emit = _ref.emit;
|
|
@@ -5219,6 +5207,10 @@ var dateRangePanelProps = {
|
|
|
5219
5207
|
* handleConfirm
|
|
5220
5208
|
*/
|
|
5221
5209
|
var handleConfirm = function handleConfirm(visible, type) {
|
|
5210
|
+
if (type !== 'time') {
|
|
5211
|
+
// 开始的时间 不是 00:00:00,改为 00:00:00
|
|
5212
|
+
state.dates[0] = new Date(state.dates[0].getFullYear(), state.dates[0].getMonth(), state.dates[0].getDate(), 0, 0, 0);
|
|
5213
|
+
}
|
|
5222
5214
|
// pick 参数:dates, visible, type, isUseShortCut
|
|
5223
5215
|
emit('pick', state.dates, visible, type || props.type);
|
|
5224
5216
|
};
|
|
@@ -5249,7 +5241,7 @@ var dateRangePanelProps = {
|
|
|
5249
5241
|
selecting: false
|
|
5250
5242
|
};
|
|
5251
5243
|
}
|
|
5252
|
-
handleConfirm(false,
|
|
5244
|
+
handleConfirm(false, props.selectionMode || type);
|
|
5253
5245
|
} else {
|
|
5254
5246
|
state.upToNowEnable = new Date(val).getTime() < new Date().getTime();
|
|
5255
5247
|
state.rangeState = {
|
|
@@ -5342,6 +5334,8 @@ var dateRangePanelProps = {
|
|
|
5342
5334
|
var leftMonth = state.leftPanelDate.getMonth();
|
|
5343
5335
|
var rightMonth = state.rightPanelDate.getMonth();
|
|
5344
5336
|
var isSameYear = state.leftPanelDate.getFullYear() === state.rightPanelDate.getFullYear();
|
|
5337
|
+
// 抛出选择时间/选择日期面板切换事件
|
|
5338
|
+
emit('selection-mode-change', v);
|
|
5345
5339
|
if (v === 'date' && isSameYear && leftMonth === rightMonth) {
|
|
5346
5340
|
changePanelDate('right', 'Month', 1);
|
|
5347
5341
|
}
|
|
@@ -5734,7 +5728,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
5734
5728
|
* Tencent is pleased to support the open source community by making
|
|
5735
5729
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
5736
5730
|
*
|
|
5737
|
-
* Copyright (C)
|
|
5731
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
5738
5732
|
*
|
|
5739
5733
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
5740
5734
|
*
|
|
@@ -5773,7 +5767,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
5773
5767
|
clickoutside: src.clickoutside
|
|
5774
5768
|
},
|
|
5775
5769
|
props: datePickerProps,
|
|
5776
|
-
emits: ['open-change', 'input', 'change', 'update:modelValue', 'clear', 'shortcut-change', 'pick-success', 'pick-first', 'blur', 'focus'],
|
|
5770
|
+
emits: ['open-change', 'input', 'change', 'update:modelValue', 'clear', 'shortcut-change', 'pick-success', 'pick-first', 'blur', 'focus', 'selection-mode-change'],
|
|
5777
5771
|
// slots: ['header'],
|
|
5778
5772
|
slots: Object,
|
|
5779
5773
|
setup: function setup(props, _ref) {
|
|
@@ -5836,6 +5830,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
5836
5830
|
}
|
|
5837
5831
|
// return ['year', 'month', 'date', 'time'].indexOf(type) > -1 && type;
|
|
5838
5832
|
state.selectionMode = ['year', 'month', 'date', 'time'].indexOf(type) > -1 && type;
|
|
5833
|
+
// 抛出选择时间/选择日期面板切换事件,处理不同面板自定义交互
|
|
5834
|
+
emit('selection-mode-change', _type);
|
|
5839
5835
|
return state.selectionMode;
|
|
5840
5836
|
}
|
|
5841
5837
|
var publicVModelValue = (0,external_vue_.computed)(function () {
|
|
@@ -6212,14 +6208,18 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
6212
6208
|
state.internalValue = state.internalValue.map(function () {
|
|
6213
6209
|
return null;
|
|
6214
6210
|
});
|
|
6215
|
-
emit('clear');
|
|
6216
|
-
emitChange(props.type);
|
|
6217
|
-
reset();
|
|
6218
6211
|
state.showClose = false;
|
|
6219
6212
|
state.shortcut = null;
|
|
6213
|
+
emit('clear');
|
|
6214
|
+
emitChange(props.type);
|
|
6220
6215
|
setTimeout(function () {
|
|
6221
6216
|
return onSelectionModeChange(props.type);
|
|
6222
6217
|
}, 500);
|
|
6218
|
+
// 处理选择快捷项后再选择时间清空后再次打开,currentView面板状态未重置
|
|
6219
|
+
(0,external_vue_.nextTick)(function () {
|
|
6220
|
+
var _pickerPanelRef$value4;
|
|
6221
|
+
pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value4 = pickerPanelRef.value) === null || _pickerPanelRef$value4 === void 0 || _pickerPanelRef$value4.resetView();
|
|
6222
|
+
});
|
|
6223
6223
|
};
|
|
6224
6224
|
var onPickSuccess = function onPickSuccess() {
|
|
6225
6225
|
var _inputRef$value5;
|
|
@@ -6228,9 +6228,10 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
6228
6228
|
// v-model 的值还是之前的值
|
|
6229
6229
|
(0,external_vue_.nextTick)(function () {
|
|
6230
6230
|
emit('pick-success');
|
|
6231
|
+
// 处理选择快捷项后再选择时间确认后再次打开,currentView面板状态未重置
|
|
6232
|
+
reset();
|
|
6231
6233
|
});
|
|
6232
6234
|
inputRef === null || inputRef === void 0 || (_inputRef$value5 = inputRef.value) === null || _inputRef$value5 === void 0 || _inputRef$value5.blur();
|
|
6233
|
-
reset();
|
|
6234
6235
|
};
|
|
6235
6236
|
var onPick = function onPick(_dates) {
|
|
6236
6237
|
var visible = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
@@ -6283,8 +6284,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
6283
6284
|
};
|
|
6284
6285
|
var triggerRef = (0,external_vue_.ref)(null);
|
|
6285
6286
|
var handleToggleTime = function handleToggleTime() {
|
|
6286
|
-
var _pickerPanelRef$
|
|
6287
|
-
(_pickerPanelRef$
|
|
6287
|
+
var _pickerPanelRef$value5, _pickerPanelRef$value6;
|
|
6288
|
+
(_pickerPanelRef$value5 = (_pickerPanelRef$value6 = pickerPanelRef.value).handleToggleTime) === null || _pickerPanelRef$value5 === void 0 || _pickerPanelRef$value5.call(_pickerPanelRef$value6);
|
|
6288
6289
|
};
|
|
6289
6290
|
var onPickFirst = function onPickFirst(val, type) {
|
|
6290
6291
|
emit('pick-first', val, type);
|
|
@@ -6463,7 +6464,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
6463
6464
|
* Tencent is pleased to support the open source community by making
|
|
6464
6465
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
6465
6466
|
*
|
|
6466
|
-
* Copyright (C)
|
|
6467
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
6467
6468
|
*
|
|
6468
6469
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
6469
6470
|
*
|
|
@@ -7165,7 +7166,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
7165
7166
|
* Tencent is pleased to support the open source community by making
|
|
7166
7167
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
7167
7168
|
*
|
|
7168
|
-
* Copyright (C)
|
|
7169
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
7169
7170
|
*
|
|
7170
7171
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
7171
7172
|
*
|
|
@@ -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
|
-
|
|
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
|
|
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:
|
|
125
|
-
export declare const capitalize: (str:
|
|
112
|
+
export declare const mergeDateHMS: (date: Date, hms?: number[]) => Date;
|
|
113
|
+
export declare const capitalize: (str: string) => string;
|
package/lib/dialog/dialog.css
CHANGED
|
@@ -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:
|
|
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;
|