bkui-vue 2.0.1-beta.4 → 2.0.1-beta.41
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/dist/index.cjs.js +166 -166
- package/dist/index.esm.js +31881 -31675
- package/dist/index.umd.js +166 -166
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +130 -0
- package/lib/affix/affix.variable.css +262 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.css +133 -3
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +262 -1
- package/lib/alert/index.d.ts +11 -26
- package/lib/alert/index.js +0 -1
- package/lib/backtop/backtop.css +133 -3
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +395 -4
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.css +156 -26
- package/lib/badge/badge.variable.css +262 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +135 -5
- package/lib/breadcrumb/breadcrumb.variable.css +397 -6
- package/lib/button/button.css +273 -143
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +262 -1
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/card/card.css +134 -4
- package/lib/card/card.variable.css +396 -5
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +156 -26
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +418 -27
- package/lib/cascader/index.js +36 -37
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +139 -9
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/checkbox.variable.css +262 -1
- package/lib/checkbox/index.d.ts +11 -22
- package/lib/checkbox/index.js +14 -6
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +130 -0
- package/lib/code-diff/code-diff.variable.css +262 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +131 -1
- package/lib/collapse/collapse.variable.css +262 -1
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.css +130 -0
- package/lib/collapse-transition/collapse-transition.variable.css +262 -1
- package/lib/color-picker/color-picker.css +133 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +265 -4
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/config-provider.css +130 -0
- package/lib/config-provider/config-provider.variable.css +262 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/container.css +130 -0
- package/lib/container/container.variable.css +392 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.css +147 -17
- package/lib/date-picker/date-picker.d.ts +0 -10
- package/lib/date-picker/date-picker.variable.css +262 -1
- package/lib/date-picker/index.d.ts +0 -22
- package/lib/date-picker/index.js +248 -225
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +5 -5
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -10
- package/lib/date-picker/panel/time.d.ts +1 -10
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +0 -9
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.css +138 -12
- package/lib/dialog/dialog.d.ts +36 -20
- package/lib/dialog/dialog.variable.css +400 -13
- package/lib/dialog/index.d.ts +78 -44
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +15 -8
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.css +133 -3
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +262 -1
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +130 -0
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +392 -1
- package/lib/dropdown/index.d.ts +13 -13
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.css +130 -0
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +262 -1
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.css +134 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +0 -16
- package/lib/form/form.css +130 -0
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +262 -1
- package/lib/form/index.d.ts +0 -11
- package/lib/form/index.js +14 -16
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.css +130 -0
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +262 -1
- package/lib/image/image.css +130 -0
- package/lib/image/image.variable.css +392 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +16 -18
- package/lib/info-box/info-box.css +134 -4
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +262 -1
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.css +202 -72
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +464 -73
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.css +146 -16
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +262 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.css +146 -16
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +408 -17
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.css +148 -18
- package/lib/menu/menu.variable.css +410 -19
- package/lib/menu/submenu.css +130 -0
- package/lib/menu/submenu.variable.css +262 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.css +151 -21
- package/lib/message/message.variable.css +262 -1
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +49 -8
- package/lib/modal/index.js +46 -25
- package/lib/modal/modal.css +134 -8
- package/lib/modal/modal.d.ts +19 -3
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +396 -9
- package/lib/modal/props.mixin.d.ts +8 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.css +132 -2
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +262 -1
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.css +137 -7
- package/lib/notify/notify.variable.css +262 -1
- package/lib/overflow-title/components/overflow-title.d.ts +9 -16
- package/lib/overflow-title/index.d.ts +19 -34
- package/lib/overflow-title/index.js +61 -12
- package/lib/overflow-title/props.d.ts +18 -21
- package/lib/pagination/index.d.ts +0 -19
- package/lib/pagination/index.js +44 -23
- package/lib/pagination/pagination.css +139 -9
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +270 -9
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -43
- package/lib/pop-confirm/index.js +27 -28
- package/lib/pop-confirm/pop-confirm.css +133 -1
- package/lib/pop-confirm/pop-confirm.d.ts +5 -19
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +265 -2
- package/lib/pop-confirm/props.d.ts +5 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.css +130 -0
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.variable.css +262 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/process/process.css +143 -13
- package/lib/process/process.variable.css +262 -1
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.css +134 -4
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +396 -5
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +172 -42
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +262 -1
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +157 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +289 -1
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.css +130 -0
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +262 -1
- package/lib/scrollbar/css/scrollbar.css +239 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/css/scrollbar.variable.css +499 -0
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1330 -18436
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/search-select/index.d.ts +28 -66
- package/lib/search-select/index.js +115 -120
- package/lib/search-select/input.d.ts +3 -3
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +163 -33
- package/lib/search-select/search-select.d.ts +11 -37
- package/lib/search-select/search-select.variable.css +425 -34
- package/lib/search-select/selected.d.ts +8 -8
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +101 -74
- package/lib/select/index.js +225 -171
- package/lib/select/option.d.ts +5 -6
- package/lib/select/select.css +175 -43
- package/lib/select/select.d.ts +38 -27
- package/lib/select/select.less +7 -4
- package/lib/select/select.variable.css +437 -44
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +10 -11
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +110 -47
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +41 -7
- package/lib/sideslider/index.js +12 -11
- package/lib/sideslider/sideslider.css +138 -9
- package/lib/sideslider/sideslider.d.ts +19 -3
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +269 -9
- package/lib/slider/index.js +21 -23
- package/lib/slider/slider.css +135 -5
- package/lib/slider/slider.variable.css +262 -1
- package/lib/steps/index.d.ts +14 -29
- package/lib/steps/index.js +3 -4
- package/lib/steps/steps.css +168 -38
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +262 -1
- package/lib/styles/index.d.ts +1 -1
- package/lib/styles/mixins/animate.css +130 -0
- package/lib/styles/mixins/animate.variable.css +262 -1
- package/lib/styles/mixins/mixins.css +130 -0
- package/lib/styles/mixins/mixins.variable.css +130 -0
- package/lib/styles/mixins/popper.css +130 -0
- package/lib/styles/mixins/popper.variable.css +262 -1
- package/lib/styles/mixins/scroll.css +130 -0
- package/lib/styles/mixins/scroll.variable.css +262 -1
- package/lib/styles/reset.css +130 -0
- package/lib/styles/reset.variable.css +262 -1
- package/lib/{rate/star.variable.css → styles/themes/themes.css} +2 -28
- package/lib/styles/themes/themes.less +299 -129
- package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.variable.css} +2 -76
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.css +130 -0
- package/lib/swiper/swiper.variable.css +262 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.css +147 -17
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +409 -18
- package/lib/tab/index.d.ts +22 -114
- package/lib/tab/index.js +16 -29
- package/lib/tab/props.d.ts +15 -50
- package/lib/tab/tab-nav.d.ts +12 -55
- package/lib/tab/tab.css +147 -17
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.variable.css +262 -1
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-cell.d.ts +22 -0
- package/lib/table/components/table-column.d.ts +25 -126
- package/lib/table/const.d.ts +22 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +69 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +24 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +23 -0
- package/lib/table/hooks/use-rows.d.ts +27 -0
- package/lib/table/hooks/use-settings.d.ts +130 -0
- package/lib/table/hooks/use-shift-key.d.ts +15 -0
- package/lib/table/index.d.ts +110 -634
- package/lib/table/index.js +3990 -3722
- package/lib/table/plugins/head-filter.css +130 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.variable.css +262 -1
- package/lib/table/plugins/head-sort.css +130 -0
- package/lib/table/plugins/head-sort.variable.css +262 -1
- package/lib/table/plugins/settings.css +131 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +263 -1
- package/lib/table/props.d.ts +114 -63
- package/lib/table/table.css +523 -330
- package/lib/table/table.d.ts +49 -185
- package/lib/table/table.less +156 -112
- package/lib/table/table.variable.css +785 -331
- package/lib/table/utils.d.ts +45 -19
- package/lib/table-column/index.d.ts +36 -289
- package/lib/table-column/index.js +17349 -45
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -3
- package/lib/tag/tag.css +136 -6
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +263 -2
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.css +148 -18
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-input.variable.css +262 -1
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/time-picker/index.d.ts +0 -19
- package/lib/time-picker/time-picker.css +130 -0
- package/lib/time-picker/time-picker.variable.css +262 -1
- package/lib/timeline/index.js +2 -2
- package/lib/timeline/timeline.css +149 -19
- package/lib/timeline/timeline.variable.css +262 -1
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +158 -28
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +271 -10
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +41 -27
- package/lib/tree/index.js +100 -59
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +234 -78
- package/lib/tree/tree.d.ts +17 -17
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +496 -79
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +9 -8
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +23 -0
- package/lib/upload/index.js +71 -41
- package/lib/upload/props.d.ts +6 -1
- package/lib/upload/upload.css +157 -27
- package/lib/upload/upload.d.ts +11 -0
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +419 -28
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +12 -46
- package/lib/virtual-render/index.js +17339 -125
- package/lib/virtual-render/props.d.ts +2 -9
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +3 -17
- package/lib/virtual-render/v-virtual-render.d.ts +1 -1
- package/lib/virtual-render/virtual-render.css +225 -69
- package/lib/virtual-render/virtual-render.d.ts +6 -22
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +487 -70
- package/lib/volar.components.d.ts +2 -0
- package/package.json +17 -55
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
package/lib/date-picker/index.js
CHANGED
@@ -43,7 +43,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
43
43
|
;// CONCATENATED MODULE: external "../shared"
|
44
44
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
45
|
var y = x => () => x
|
46
|
-
const shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["capitalize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize, ["getFullscreenRoot"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot, ["
|
46
|
+
const shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["capitalize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize, ["getFullscreenRoot"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot, ["scrollTop"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.scrollTop, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
47
47
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
48
48
|
function _typeof(o) {
|
49
49
|
"@babel/helpers - typeof";
|
@@ -173,7 +173,7 @@ function _toConsumableArray(arr) {
|
|
173
173
|
;// CONCATENATED MODULE: external "vue"
|
174
174
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
175
175
|
var external_vue_y = x => () => x
|
176
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
176
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
177
177
|
;// CONCATENATED MODULE: external "../config-provider"
|
178
178
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
179
179
|
var config_provider_y = x => () => x
|
@@ -431,8 +431,8 @@ var pickerDropdownProps = {
|
|
431
431
|
var _this$$slots$default, _this$$slots$default2, _this$$slots;
|
432
432
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
433
433
|
"ref": "refContentRef",
|
434
|
-
"class": [this.resolveClassName('date-picker-dropdown'), this.className, this.extPopoverCls],
|
435
434
|
"style": this.styles,
|
435
|
+
"class": [this.resolveClassName('date-picker-dropdown'), this.className, this.extPopoverCls],
|
436
436
|
"onClick": this.onClick
|
437
437
|
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '']);
|
438
438
|
}
|
@@ -448,46 +448,46 @@ var pickerDropdownProps = {
|
|
448
448
|
*/
|
449
449
|
var dateIcon = (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
450
450
|
"class": "picker-icon",
|
451
|
+
"viewBox": "0 0 1024 1024",
|
451
452
|
"x": "0px",
|
452
|
-
"y": "0px"
|
453
|
-
"viewBox": "0 0 1024 1024"
|
453
|
+
"y": "0px"
|
454
454
|
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
455
455
|
"id": "date"
|
456
456
|
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
457
|
-
"
|
458
|
-
"
|
457
|
+
"d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z",
|
458
|
+
"fill": "#c4c6cc"
|
459
459
|
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
460
|
-
"x": "416",
|
461
|
-
"y": "128",
|
462
|
-
"fill": "#c4c6cc",
|
463
460
|
"width": "192",
|
464
|
-
"height": "64"
|
465
|
-
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
466
|
-
"x": "288",
|
467
|
-
"y": "96",
|
461
|
+
"height": "64",
|
468
462
|
"fill": "#c4c6cc",
|
469
|
-
"
|
470
|
-
"
|
463
|
+
"x": "416",
|
464
|
+
"y": "128"
|
471
465
|
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
472
|
-
"
|
473
|
-
"
|
466
|
+
"width": "64",
|
467
|
+
"height": "128",
|
474
468
|
"fill": "#c4c6cc",
|
469
|
+
"x": "288",
|
470
|
+
"y": "96"
|
471
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
475
472
|
"width": "64",
|
476
|
-
"height": "128"
|
473
|
+
"height": "128",
|
474
|
+
"fill": "#c4c6cc",
|
475
|
+
"x": "672",
|
476
|
+
"y": "96"
|
477
477
|
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
478
478
|
"fill": "#c4c6cc",
|
479
479
|
"points": "403.7,514.4 557.1,514.4 557.1,515.3 420.1,765.5 483.5,765.5 620.3,504.3 620.3,466.5 403.7,466.5"
|
480
480
|
}, null)])])]);
|
481
481
|
var timeIcon = (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
482
482
|
"class": "picker-icon",
|
483
|
+
"viewBox": "0 0 1024 1024",
|
483
484
|
"x": "0px",
|
484
|
-
"y": "0px"
|
485
|
-
"viewBox": "0 0 1024 1024"
|
485
|
+
"y": "0px"
|
486
486
|
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
487
487
|
"id": "time"
|
488
488
|
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
489
|
-
"
|
490
|
-
"
|
489
|
+
"d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z",
|
490
|
+
"fill": "#c4c6cc"
|
491
491
|
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
492
492
|
"fill": "#c4c6cc",
|
493
493
|
"points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
|
@@ -603,17 +603,17 @@ var confirmProps = {
|
|
603
603
|
_this$$slots$confirm2,
|
604
604
|
_this$$slots;
|
605
605
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
606
|
-
"class": this.resolveClassName('picker-confirm'),
|
607
606
|
"ref": "elRef",
|
607
|
+
"class": this.resolveClassName('picker-confirm'),
|
608
608
|
"onKeydown": this.handleTab
|
609
609
|
}, [this.showTime ? // <a href="javascript: void(0);" class="bk-picker-confirm-time" disabled onClick={this.handleToggleTime}>
|
610
610
|
// {this.labels.time}
|
611
611
|
// </a>
|
612
612
|
(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
613
|
-
"text": true,
|
614
|
-
"theme": "primary",
|
615
613
|
"class": this.resolveClassName('picker-confirm-time'),
|
616
614
|
"disabled": this.timeDisabled,
|
615
|
+
"theme": "primary",
|
616
|
+
"text": true,
|
617
617
|
"onClick": this.handleToggleTime
|
618
618
|
}, {
|
619
619
|
"default": function _default() {
|
@@ -625,12 +625,13 @@ var confirmProps = {
|
|
625
625
|
"href": "javascript: void(0);",
|
626
626
|
"onClick": this.handleClear,
|
627
627
|
"onKeydown": this.handleClear
|
628
|
-
}, [this.labels.clear]) : '', (0,external_vue_namespaceObject.createVNode)("a", {
|
629
|
-
"href": "javascript: void(0);",
|
628
|
+
}, [this.labels.clear]) : '', (0,external_vue_namespaceObject.createVNode)("a", (0,external_vue_namespaceObject.mergeProps)({
|
630
629
|
"class": "confirm",
|
631
|
-
"
|
632
|
-
"
|
633
|
-
},
|
630
|
+
"href": "javascript: void(0);",
|
631
|
+
"onClick": this.handleSuccess
|
632
|
+
}, {
|
633
|
+
onKeydown_enter: this.handleSuccess
|
634
|
+
}), [this.labels.ok])])]);
|
634
635
|
}
|
635
636
|
}));
|
636
637
|
;// CONCATENATED MODULE: external "js-calendar"
|
@@ -667,7 +668,6 @@ const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () =
|
|
667
668
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
668
669
|
* IN THE SOFTWARE.
|
669
670
|
*/
|
670
|
-
/* eslint-disable no-param-reassign, no-multi-assign */
|
671
671
|
/**
|
672
672
|
* @file fecha
|
673
673
|
* https://github.com/taylorhakes/fecha
|
@@ -677,7 +677,6 @@ var token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^
|
|
677
677
|
var twoDigits = /\d\d?/;
|
678
678
|
var threeDigits = /\d{3}/;
|
679
679
|
var fourDigits = /\d{4}/;
|
680
|
-
// eslint-disable-next-line max-len
|
681
680
|
var word = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\\/]+(\s*?[\u0600-\u06FF]+){1,2}/i;
|
682
681
|
var noop = function noop() {};
|
683
682
|
function shorten(arr, sLen) {
|
@@ -1276,7 +1275,9 @@ var timePickerKey = Symbol('time-picker');
|
|
1276
1275
|
// }
|
1277
1276
|
function iconBtnCls(direction) {
|
1278
1277
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
1279
|
-
|
1278
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
1279
|
+
resolveClassName = _usePrefix.resolveClassName;
|
1280
|
+
return [resolveClassName('picker-panel-icon-btn'), resolveClassName("date-picker-".concat(direction, "-btn")), resolveClassName("date-picker-".concat(direction, "-btn-arrow").concat(type))];
|
1280
1281
|
}
|
1281
1282
|
var getDayCountOfMonth = function getDayCountOfMonth(year, month) {
|
1282
1283
|
return new Date(year, month + 1, 0).getDate();
|
@@ -2038,10 +2039,6 @@ var datePickerProps = {
|
|
2038
2039
|
return true;
|
2039
2040
|
}
|
2040
2041
|
},
|
2041
|
-
transfer: {
|
2042
|
-
type: Boolean,
|
2043
|
-
"default": false
|
2044
|
-
},
|
2045
2042
|
appendToBody: {
|
2046
2043
|
type: Boolean,
|
2047
2044
|
"default": false
|
@@ -2542,18 +2539,18 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
2542
2539
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
2543
2540
|
"class": this.resolveClassName('time-picker-cells-title-wrapper')
|
2544
2541
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
2545
|
-
"
|
2546
|
-
"
|
2542
|
+
"style": this.styles,
|
2543
|
+
"class": [this.resolveClassName('time-picker-cells-title'), this.focusedColumn === 0 ? 'active' : '']
|
2547
2544
|
}, [this.t.hour]), (0,external_vue_namespaceObject.createVNode)("div", {
|
2548
|
-
"
|
2549
|
-
"
|
2545
|
+
"style": this.styles,
|
2546
|
+
"class": [this.resolveClassName('time-picker-cells-title'), this.focusedColumn === 1 ? 'active' : '']
|
2550
2547
|
}, [this.t.min]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
2551
|
-
"
|
2552
|
-
"
|
2548
|
+
"style": this.styles,
|
2549
|
+
"class": [this.resolveClassName('time-picker-cells-title'), this.focusedColumn === 2 ? 'active' : '']
|
2553
2550
|
}, [this.t.sec]), [[external_vue_namespaceObject.vShow, this.showSeconds]])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
2554
|
-
"class": this.resolveClassName('time-picker-cells-list'),
|
2555
2551
|
"ref": "hoursRef",
|
2556
|
-
"style": this.styles
|
2552
|
+
"style": this.styles,
|
2553
|
+
"class": this.resolveClassName('time-picker-cells-list')
|
2557
2554
|
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
2558
2555
|
"class": this.resolveClassName('time-picker-cells-ul')
|
2559
2556
|
}, [this.hoursList.map(function (item) {
|
@@ -2564,9 +2561,9 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
2564
2561
|
}
|
2565
2562
|
}, [_this2.padTime(item.text)]), [[external_vue_namespaceObject.vShow, !item.hide]]);
|
2566
2563
|
})])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
2567
|
-
"class": this.resolveClassName('time-picker-cells-list'),
|
2568
2564
|
"ref": "minutesRef",
|
2569
|
-
"style": this.styles
|
2565
|
+
"style": this.styles,
|
2566
|
+
"class": this.resolveClassName('time-picker-cells-list')
|
2570
2567
|
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
2571
2568
|
"class": this.resolveClassName('time-picker-cells-ul')
|
2572
2569
|
}, [this.minutesList.map(function (item) {
|
@@ -2577,9 +2574,9 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
2577
2574
|
}
|
2578
2575
|
}, [_this2.padTime(item.text)]), [[external_vue_namespaceObject.vShow, !item.hide]]);
|
2579
2576
|
})])]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
2580
|
-
"class": this.resolveClassName('time-picker-cells-list'),
|
2581
2577
|
"ref": "secondsRef",
|
2582
|
-
"style": this.styles
|
2578
|
+
"style": this.styles,
|
2579
|
+
"class": this.resolveClassName('time-picker-cells-list')
|
2583
2580
|
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
2584
2581
|
"class": this.resolveClassName('time-picker-cells-ul')
|
2585
2582
|
}, [this.secondsList.map(function (item) {
|
@@ -2788,27 +2785,27 @@ var timeProps = {
|
|
2788
2785
|
e.preventDefault();
|
2789
2786
|
}
|
2790
2787
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
2791
|
-
"class": this.resolveClassName('picker-panel-body'),
|
2792
2788
|
"style": {
|
2793
2789
|
width: "".concat(this.width, "px")
|
2794
|
-
}
|
2790
|
+
},
|
2791
|
+
"class": this.resolveClassName('picker-panel-body')
|
2795
2792
|
}, [this.showDate ? (0,external_vue_namespaceObject.createVNode)("div", {
|
2796
2793
|
"class": this.resolveClassName('time-picker-header')
|
2797
2794
|
}, [this.visibleDate]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
|
2798
2795
|
"class": this.resolveClassName('picker-panel-content')
|
2799
2796
|
}, [(0,external_vue_namespaceObject.createVNode)(time_spinner, {
|
2800
2797
|
"ref": "timeSpinnerRef",
|
2801
|
-
"showSeconds": this.showSeconds,
|
2802
|
-
"steps": this.steps,
|
2803
|
-
"hours": this.timeSlots[0],
|
2804
|
-
"minutes": this.timeSlots[1],
|
2805
|
-
"seconds": this.timeSlots[2],
|
2806
2798
|
"disabledHours": this.disabledHMS.disabledHours,
|
2807
2799
|
"disabledMinutes": this.disabledHMS.disabledMinutes,
|
2808
2800
|
"disabledSeconds": this.disabledHMS.disabledSeconds,
|
2809
2801
|
"hideDisabledOptions": this.hideDisabledOptions,
|
2810
|
-
"
|
2811
|
-
"
|
2802
|
+
"hours": this.timeSlots[0],
|
2803
|
+
"minutes": this.timeSlots[1],
|
2804
|
+
"seconds": this.timeSlots[2],
|
2805
|
+
"showSeconds": this.showSeconds,
|
2806
|
+
"steps": this.steps,
|
2807
|
+
"onChange": this.handleChange,
|
2808
|
+
"onPick-click": this.handlePickClick
|
2812
2809
|
}, null)])])]);
|
2813
2810
|
}
|
2814
2811
|
}));
|
@@ -2842,6 +2839,7 @@ function date_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
2842
2839
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
2843
2840
|
* IN THE SOFTWARE.
|
2844
2841
|
*/
|
2842
|
+
// import type { Placement } from '@popperjs/core';
|
2845
2843
|
|
2846
2844
|
|
2847
2845
|
|
@@ -3127,8 +3125,8 @@ var datePanelProps = {
|
|
3127
3125
|
}
|
3128
3126
|
}, [shortcut.text]);
|
3129
3127
|
})]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
|
3130
|
-
"
|
3131
|
-
"
|
3128
|
+
"style": "width: 261px;",
|
3129
|
+
"class": this.resolveClassName('picker-panel-body')
|
3132
3130
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
3133
3131
|
"class": this.resolveClassName('date-picker-header')
|
3134
3132
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -3191,29 +3189,29 @@ var datePanelProps = {
|
|
3191
3189
|
switch (_this2.pickerTable) {
|
3192
3190
|
case 'date-table':
|
3193
3191
|
return (0,external_vue_namespaceObject.createVNode)(date_table, {
|
3194
|
-
"tableDate": _this2.panelDate,
|
3195
3192
|
"disabledDate": _this2.disabledDate,
|
3196
|
-
"selectionMode": _this2.selectionMode,
|
3197
|
-
"modelValue": _this2.dates,
|
3198
3193
|
"focusedDate": _this2.focusedDate,
|
3194
|
+
"modelValue": _this2.dates,
|
3195
|
+
"selectionMode": _this2.selectionMode,
|
3196
|
+
"tableDate": _this2.panelDate,
|
3199
3197
|
"onPick": _this2.panelPickerHandlers
|
3200
3198
|
}, null);
|
3201
3199
|
case 'year-table':
|
3202
3200
|
return (0,external_vue_namespaceObject.createVNode)(year_table, {
|
3203
|
-
"tableDate": _this2.panelDate,
|
3204
3201
|
"disabledDate": _this2.disabledDate,
|
3205
|
-
"selectionMode": _this2.selectionMode,
|
3206
|
-
"modelValue": _this2.dates,
|
3207
3202
|
"focusedDate": _this2.focusedDate,
|
3203
|
+
"modelValue": _this2.dates,
|
3204
|
+
"selectionMode": _this2.selectionMode,
|
3205
|
+
"tableDate": _this2.panelDate,
|
3208
3206
|
"onPick": _this2.panelPickerHandlers
|
3209
3207
|
}, null);
|
3210
3208
|
case 'month-table':
|
3211
3209
|
return (0,external_vue_namespaceObject.createVNode)(month_table, {
|
3212
|
-
"tableDate": _this2.panelDate,
|
3213
3210
|
"disabledDate": _this2.disabledDate,
|
3214
|
-
"selectionMode": _this2.selectionMode,
|
3215
|
-
"modelValue": _this2.dates,
|
3216
3211
|
"focusedDate": _this2.focusedDate,
|
3212
|
+
"modelValue": _this2.dates,
|
3213
|
+
"selectionMode": _this2.selectionMode,
|
3214
|
+
"tableDate": _this2.panelDate,
|
3217
3215
|
"onPick": _this2.panelPickerHandlers
|
3218
3216
|
}, null);
|
3219
3217
|
default:
|
@@ -3221,23 +3219,23 @@ var datePanelProps = {
|
|
3221
3219
|
}
|
3222
3220
|
}() : (0,external_vue_namespaceObject.createVNode)(time, {
|
3223
3221
|
"ref": "timePickerRef",
|
3224
|
-
"
|
3222
|
+
"disabledDate": this.disabledDate,
|
3225
3223
|
"format": this.format,
|
3226
3224
|
"selectionMode": this.selectionMode,
|
3227
|
-
"
|
3225
|
+
"value": this.dates,
|
3228
3226
|
"onPick": this.handlePick,
|
3229
|
-
"onPick-click": this.handlePickClick,
|
3230
3227
|
"onPick-clear": this.handlePickClear,
|
3228
|
+
"onPick-click": this.handlePickClick,
|
3231
3229
|
"onPick-success": this.handlePickSuccess,
|
3232
3230
|
"onPick-toggle-time": this.handleToggleTime
|
3233
3231
|
}, null)]), this.confirm ? (0,external_vue_namespaceObject.createVNode)(base_confirm, {
|
3234
3232
|
"clearable": this.clearable,
|
3233
|
+
"isTime": this.isTime,
|
3235
3234
|
"showTime": this.showTime,
|
3236
3235
|
"timeDisabled": this.timeDisabled,
|
3237
|
-
"isTime": this.isTime,
|
3238
|
-
"onPick-toggle-time": this.handleToggleTime,
|
3239
3236
|
"onPick-clear": this.handlePickClear,
|
3240
|
-
"onPick-success": this.handlePickSuccess
|
3237
|
+
"onPick-success": this.handlePickSuccess,
|
3238
|
+
"onPick-toggle-time": this.handleToggleTime
|
3241
3239
|
}, this.$slots) : '']), this.hasShortcuts ? (0,external_vue_namespaceObject.createVNode)("div", {
|
3242
3240
|
"class": this.resolveClassName('picker-panel-sidebar')
|
3243
3241
|
}, [(_this$$slots$shortcut = (_this$$slots$shortcut2 = (_this$$slots = this.$slots).shortcuts) === null || _this$$slots$shortcut2 === void 0 ? void 0 : _this$$slots$shortcut2.call(_this$$slots)) !== null && _this$$slots$shortcut !== void 0 ? _this$$slots$shortcut : null]) : null]);
|
@@ -3460,48 +3458,48 @@ var timeRangeProps = {
|
|
3460
3458
|
e.preventDefault();
|
3461
3459
|
}
|
3462
3460
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
3463
|
-
"class": this.resolveClassName('picker-panel-body'),
|
3464
3461
|
"style": {
|
3465
3462
|
width: "".concat(this.width * 2, "px")
|
3466
|
-
}
|
3463
|
+
},
|
3464
|
+
"class": this.resolveClassName('picker-panel-body')
|
3467
3465
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
3468
|
-
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-left')],
|
3469
3466
|
"style": {
|
3470
3467
|
width: "".concat(this.width, "px")
|
3471
|
-
}
|
3468
|
+
},
|
3469
|
+
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-left')]
|
3472
3470
|
}, [this.showDate ? (0,external_vue_namespaceObject.createVNode)("div", {
|
3473
3471
|
"class": "".concat(this.resolveClassName('time-picker-header'))
|
3474
3472
|
}, [this.leftDatePanelLabel]) : '', (0,external_vue_namespaceObject.createVNode)(time_spinner, {
|
3475
3473
|
"ref": "timeSpinnerRef",
|
3476
|
-
"steps": this.steps,
|
3477
|
-
"showSeconds": this.showSeconds,
|
3478
|
-
"hours": this.value[0] && this.dateStart.getHours(),
|
3479
|
-
"minutes": this.value[0] && this.dateStart.getMinutes(),
|
3480
|
-
"seconds": this.value[0] && this.dateStart.getSeconds(),
|
3481
3474
|
"disabledHours": this.disabledHours,
|
3482
3475
|
"disabledMinutes": this.disabledMinutes,
|
3483
3476
|
"disabledSeconds": this.disabledSeconds,
|
3484
3477
|
"hideDisabledOptions": this.hideDisabledOptions,
|
3478
|
+
"hours": this.value[0] && this.dateStart.getHours(),
|
3479
|
+
"minutes": this.value[0] && this.dateStart.getMinutes(),
|
3480
|
+
"seconds": this.value[0] && this.dateStart.getSeconds(),
|
3481
|
+
"showSeconds": this.showSeconds,
|
3482
|
+
"steps": this.steps,
|
3485
3483
|
"onChange": this.handleStartChange,
|
3486
3484
|
"onPick-click": this.handlePickClick
|
3487
3485
|
}, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
3488
|
-
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-right')],
|
3489
3486
|
"style": {
|
3490
3487
|
width: "".concat(this.width, "px")
|
3491
|
-
}
|
3488
|
+
},
|
3489
|
+
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-right')]
|
3492
3490
|
}, [this.showDate ? (0,external_vue_namespaceObject.createVNode)("div", {
|
3493
3491
|
"class": this.resolveClassName('time-picker-header')
|
3494
3492
|
}, [this.rightDatePanelLabel]) : '', (0,external_vue_namespaceObject.createVNode)(time_spinner, {
|
3495
3493
|
"ref": "timeSpinnerEndRef",
|
3496
|
-
"steps": this.steps,
|
3497
|
-
"showSeconds": this.showSeconds,
|
3498
|
-
"hours": this.value[1] && this.dateEnd.getHours(),
|
3499
|
-
"minutes": this.value[1] && this.dateEnd.getMinutes(),
|
3500
|
-
"seconds": this.value[1] && this.dateEnd.getSeconds(),
|
3501
3494
|
"disabledHours": this.disabledHours,
|
3502
3495
|
"disabledMinutes": this.disabledMinutes,
|
3503
3496
|
"disabledSeconds": this.disabledSeconds,
|
3504
3497
|
"hideDisabledOptions": this.hideDisabledOptions,
|
3498
|
+
"hours": this.value[1] && this.dateEnd.getHours(),
|
3499
|
+
"minutes": this.value[1] && this.dateEnd.getMinutes(),
|
3500
|
+
"seconds": this.value[1] && this.dateEnd.getSeconds(),
|
3501
|
+
"showSeconds": this.showSeconds,
|
3502
|
+
"steps": this.steps,
|
3505
3503
|
"onChange": this.handleEndChange,
|
3506
3504
|
"onPick-click": this.handlePickClick
|
3507
3505
|
}, null)])])]);
|
@@ -3513,6 +3511,7 @@ var timeRangeProps = {
|
|
3513
3511
|
|
3514
3512
|
function date_range_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; }
|
3515
3513
|
function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? date_range_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : date_range_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
3514
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
3516
3515
|
/*
|
3517
3516
|
* Tencent is pleased to support the open source community by making
|
3518
3517
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3539,10 +3538,9 @@ function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
3539
3538
|
* IN THE SOFTWARE.
|
3540
3539
|
*/
|
3541
3540
|
// import type { Placement } from '@popperjs/core';
|
3542
|
-
// import { bkZIndexManager, BKPopover, IBKPopover } from '@bkui-vue/shared';
|
3543
|
-
|
3544
3541
|
|
3545
3542
|
|
3543
|
+
// import { bkZIndexManager, BKPopover, IBKPopover } from '@bkui-vue/shared';
|
3546
3544
|
|
3547
3545
|
|
3548
3546
|
|
@@ -3711,13 +3709,23 @@ var dateRangePanelProps = {
|
|
3711
3709
|
}
|
3712
3710
|
if (props.splitPanels) {
|
3713
3711
|
var otherPanel = panel === 'left' ? 'right' : 'left';
|
3714
|
-
if (panel === 'left' &&
|
3715
|
-
|
3716
|
-
|
3712
|
+
if (panel === 'left' && state.leftPanelDate >= state.rightPanelDate) {
|
3713
|
+
if (state.currentView === 'year') {
|
3714
|
+
if (Math.floor(state.leftPanelDate.getFullYear() / 10) * 10 === Math.floor(state.rightPanelDate.getFullYear() / 10) * 10) {
|
3715
|
+
changePanelDate(otherPanel, type, 10);
|
3716
|
+
}
|
3717
|
+
} else {
|
3718
|
+
changePanelDate(otherPanel, type, 1);
|
3719
|
+
}
|
3717
3720
|
}
|
3718
|
-
if (panel === 'right' &&
|
3719
|
-
|
3720
|
-
|
3721
|
+
if (panel === 'right' && state.rightPanelDate <= state.leftPanelDate) {
|
3722
|
+
if (state.currentView === 'year') {
|
3723
|
+
if (Math.floor(state.leftPanelDate.getFullYear() / 10) * 10 === Math.floor(state.rightPanelDate.getFullYear() / 10) * 10) {
|
3724
|
+
changePanelDate(otherPanel, type, -10);
|
3725
|
+
}
|
3726
|
+
} else {
|
3727
|
+
changePanelDate(otherPanel, type, -1);
|
3728
|
+
}
|
3721
3729
|
}
|
3722
3730
|
} else {
|
3723
3731
|
var _otherPanel = panel === 'left' ? 'right' : 'left';
|
@@ -4073,8 +4081,8 @@ var dateRangePanelProps = {
|
|
4073
4081
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
4074
4082
|
"class": [this.resolveClassName('picker-panel-body'), this.showTime ? this.resolveClassName('picker-panel-body-time') : this.resolveClassName('picker-panel-body-date')]
|
4075
4083
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
4076
|
-
"
|
4077
|
-
"
|
4084
|
+
"style": "width: 261px;",
|
4085
|
+
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-left')]
|
4078
4086
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
4079
4087
|
"class": this.resolveClassName('date-picker-header')
|
4080
4088
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -4135,34 +4143,34 @@ var dateRangePanelProps = {
|
|
4135
4143
|
switch (_this.leftPickerTable) {
|
4136
4144
|
case 'date-table':
|
4137
4145
|
return (0,external_vue_namespaceObject.createVNode)(date_table, {
|
4138
|
-
"selectionMode": "range",
|
4139
|
-
"tableDate": _this.leftPanelDate,
|
4140
4146
|
"disabledDate": _this.disabledDate,
|
4141
|
-
"rangeState": _this.rangeState,
|
4142
|
-
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4143
4147
|
"focusedDate": _this.focusedDate,
|
4148
|
+
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4149
|
+
"rangeState": _this.rangeState,
|
4150
|
+
"selectionMode": "range",
|
4151
|
+
"tableDate": _this.leftPanelDate,
|
4144
4152
|
"onChangeRange": _this.handleChangeRange,
|
4145
4153
|
"onPick": _this.panelPickerHandlers.left
|
4146
4154
|
}, null);
|
4147
4155
|
case 'month-table':
|
4148
4156
|
return (0,external_vue_namespaceObject.createVNode)(month_table, {
|
4149
|
-
"selectionMode": "range",
|
4150
|
-
"tableDate": _this.leftPanelDate,
|
4151
4157
|
"disabledDate": _this.disabledDate,
|
4152
|
-
"rangeState": _this.rangeState,
|
4153
|
-
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4154
4158
|
"focusedDate": _this.focusedDate,
|
4159
|
+
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4160
|
+
"rangeState": _this.rangeState,
|
4161
|
+
"selectionMode": "range",
|
4162
|
+
"tableDate": _this.leftPanelDate,
|
4155
4163
|
"onChangeRange": _this.handleChangeRange,
|
4156
4164
|
"onPick": _this.panelPickerHandlers.left
|
4157
4165
|
}, null);
|
4158
4166
|
case 'year-table':
|
4159
4167
|
return (0,external_vue_namespaceObject.createVNode)(year_table, {
|
4160
|
-
"selectionMode": "range",
|
4161
|
-
"tableDate": _this.leftPanelDate,
|
4162
4168
|
"disabledDate": _this.disabledDate,
|
4163
|
-
"rangeState": _this.rangeState,
|
4164
|
-
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4165
4169
|
"focusedDate": _this.focusedDate,
|
4170
|
+
"modelValue": _this.preSelecting.left ? [_this.dates[0]] : _this.dates,
|
4171
|
+
"rangeState": _this.rangeState,
|
4172
|
+
"selectionMode": "range",
|
4173
|
+
"tableDate": _this.leftPanelDate,
|
4166
4174
|
"onChangeRange": _this.handleChangeRange,
|
4167
4175
|
"onPick": _this.panelPickerHandlers.left
|
4168
4176
|
}, null);
|
@@ -4170,8 +4178,8 @@ var dateRangePanelProps = {
|
|
4170
4178
|
return null;
|
4171
4179
|
}
|
4172
4180
|
}() : '']), [[external_vue_namespaceObject.vShow, !this.isTime]]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
4173
|
-
"
|
4174
|
-
"
|
4181
|
+
"style": "width: 261px;",
|
4182
|
+
"class": [this.resolveClassName('picker-panel-content'), this.resolveClassName('picker-panel-content-right')]
|
4175
4183
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
4176
4184
|
"class": this.resolveClassName('date-picker-header')
|
4177
4185
|
}, [this.splitPanels || this.rightPickerTable !== 'date-table' && this.rightPickerTable !== 'month-table' && this.rightPickerTable !== 'year-table' ? (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -4244,34 +4252,34 @@ var dateRangePanelProps = {
|
|
4244
4252
|
switch (_this.rightPickerTable) {
|
4245
4253
|
case 'date-table':
|
4246
4254
|
return (0,external_vue_namespaceObject.createVNode)(date_table, {
|
4247
|
-
"selectionMode": "range",
|
4248
|
-
"tableDate": _this.rightPanelDate,
|
4249
|
-
"disabledDate": _this.disabledDate,
|
4250
|
-
"rangeState": _this.rangeState,
|
4251
4255
|
"modelValue": _this.preSelecting.right ? [_this.dates[_this.dates.length - 1]] : _this.dates,
|
4256
|
+
"disabledDate": _this.disabledDate,
|
4252
4257
|
"focusedDate": _this.focusedDate,
|
4258
|
+
"rangeState": _this.rangeState,
|
4259
|
+
"selectionMode": "range",
|
4260
|
+
"tableDate": _this.rightPanelDate,
|
4253
4261
|
"onChangeRange": _this.handleChangeRange,
|
4254
4262
|
"onPick": _this.panelPickerHandlers.right
|
4255
4263
|
}, null);
|
4256
4264
|
case 'month-table':
|
4257
4265
|
return (0,external_vue_namespaceObject.createVNode)(month_table, {
|
4258
|
-
"selectionMode": "range",
|
4259
|
-
"tableDate": _this.rightPanelDate,
|
4260
|
-
"disabledDate": _this.disabledDate,
|
4261
|
-
"rangeState": _this.rangeState,
|
4262
4266
|
"modelValue": _this.preSelecting.right ? [_this.dates[_this.dates.length - 1]] : _this.dates,
|
4267
|
+
"disabledDate": _this.disabledDate,
|
4263
4268
|
"focusedDate": _this.focusedDate,
|
4269
|
+
"rangeState": _this.rangeState,
|
4270
|
+
"selectionMode": "range",
|
4271
|
+
"tableDate": _this.rightPanelDate,
|
4264
4272
|
"onChangeRange": _this.handleChangeRange,
|
4265
4273
|
"onPick": _this.panelPickerHandlers.right
|
4266
4274
|
}, null);
|
4267
4275
|
case 'year-table':
|
4268
4276
|
return (0,external_vue_namespaceObject.createVNode)(year_table, {
|
4269
|
-
"selectionMode": "range",
|
4270
|
-
"tableDate": _this.rightPanelDate,
|
4271
|
-
"disabledDate": _this.disabledDate,
|
4272
|
-
"rangeState": _this.rangeState,
|
4273
4277
|
"modelValue": _this.preSelecting.right ? [_this.dates[_this.dates.length - 1]] : _this.dates,
|
4278
|
+
"disabledDate": _this.disabledDate,
|
4274
4279
|
"focusedDate": _this.focusedDate,
|
4280
|
+
"rangeState": _this.rangeState,
|
4281
|
+
"selectionMode": "range",
|
4282
|
+
"tableDate": _this.rightPanelDate,
|
4275
4283
|
"onChangeRange": _this.handleChangeRange,
|
4276
4284
|
"onPick": _this.panelPickerHandlers.right
|
4277
4285
|
}, null);
|
@@ -4280,23 +4288,24 @@ var dateRangePanelProps = {
|
|
4280
4288
|
}
|
4281
4289
|
}() : '']), [[external_vue_namespaceObject.vShow, !this.isTime]]), this.isTime ? (0,external_vue_namespaceObject.createVNode)(time_range, {
|
4282
4290
|
"ref": "timePickerRef",
|
4291
|
+
"allowCrossDay": !!this.timePickerOptions.allowCrossDay,
|
4292
|
+
"disabledDate": this.disabledDate,
|
4293
|
+
"format": this.format,
|
4283
4294
|
"selectionMode": this.selectionMode,
|
4284
4295
|
"value": this.dates,
|
4285
|
-
"format": this.format,
|
4286
|
-
"disabledDate": this.disabledDate,
|
4287
4296
|
"onPick": this.handleRangePick,
|
4288
|
-
"onPick-click": this.handlePickClick,
|
4289
4297
|
"onPick-clear": this.handlePickClear,
|
4298
|
+
"onPick-click": this.handlePickClick,
|
4290
4299
|
"onPick-success": this.handlePickSuccess,
|
4291
4300
|
"onPick-toggle-time": this.handleToggleTime
|
4292
4301
|
}, null) : '', this.confirm ? (0,external_vue_namespaceObject.createVNode)(base_confirm, {
|
4293
4302
|
"clearable": this.clearable,
|
4303
|
+
"isTime": this.isTime,
|
4294
4304
|
"showTime": this.showTime,
|
4295
4305
|
"timeDisabled": this.timeDisabled,
|
4296
|
-
"isTime": this.isTime,
|
4297
|
-
"onPick-toggle-time": this.handleToggleTime,
|
4298
4306
|
"onPick-clear": this.handlePickClear,
|
4299
|
-
"onPick-success": this.handlePickSuccess
|
4307
|
+
"onPick-success": this.handlePickSuccess,
|
4308
|
+
"onPick-toggle-time": this.handleToggleTime
|
4300
4309
|
}, this.$slots) : '']), shortcuts]);
|
4301
4310
|
}
|
4302
4311
|
}));
|
@@ -4340,6 +4349,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4340
4349
|
|
4341
4350
|
|
4342
4351
|
|
4352
|
+
// import VueTypes, { toType, toValidableType } from 'vue-types';
|
4343
4353
|
|
4344
4354
|
|
4345
4355
|
|
@@ -4503,9 +4513,16 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4503
4513
|
return props.options;
|
4504
4514
|
});
|
4505
4515
|
// 限制 allow-cross-day 属性只在 time-picker 组件 type 为 timerange 时生效
|
4506
|
-
|
4507
|
-
|
4508
|
-
|
4516
|
+
// const allowCrossDayProp = computed(() => (panel.value === 'RangeTimePickerPanel' ? props.allowCrossDay : false));
|
4517
|
+
// const allowCrossDayProp = computed(() => {
|
4518
|
+
// if (panel.value === 'RangeTimePickerPanel') {
|
4519
|
+
// return props.allowCrossDay;
|
4520
|
+
// }
|
4521
|
+
// if (panel.value === 'DateRangePanel') {
|
4522
|
+
// return (props?.timePickerOptions as any)?.allowCrossDay;
|
4523
|
+
// }
|
4524
|
+
// return false;
|
4525
|
+
// });
|
4509
4526
|
var inputRef = (0,external_vue_namespaceObject.ref)(null);
|
4510
4527
|
var inputFocus = function inputFocus() {
|
4511
4528
|
var _inputRef$value;
|
@@ -4600,7 +4617,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4600
4617
|
if (state.visible) {
|
4601
4618
|
var _pickerPanelRef$value;
|
4602
4619
|
var pickerPanel = pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value = pickerPanelRef.value) === null || _pickerPanelRef$value === void 0 ? void 0 : _pickerPanelRef$value.$el;
|
4603
|
-
if (e && pickerPanel && pickerPanel.contains(e.target)) {
|
4620
|
+
if (e && pickerPanel !== null && pickerPanel !== void 0 && pickerPanel.contains(e.target)) {
|
4604
4621
|
return;
|
4605
4622
|
}
|
4606
4623
|
state.visible = false;
|
@@ -4623,14 +4640,18 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4623
4640
|
if (visualValue !== null && visualValue !== void 0 && visualValue.value) {
|
4624
4641
|
state.showClose = true;
|
4625
4642
|
}
|
4626
|
-
state.internalValue = state.tmpValue;
|
4643
|
+
// state.internalValue = state.tmpValue;
|
4644
|
+
// console.error('enterenterenterenterenterenterenterenter', e, state.internalValue);
|
4627
4645
|
};
|
4628
4646
|
var handleInputMouseleave = function handleInputMouseleave(_e) {
|
4629
4647
|
// if (e.toElement?.classList.contains('clear-action')) {
|
4630
4648
|
// return;
|
4631
4649
|
// }
|
4632
4650
|
state.showClose = false;
|
4633
|
-
state.internalValue = state.tmpValue;
|
4651
|
+
// state.internalValue = state.tmpValue;
|
4652
|
+
if (state.internalValue !== state.tmpValue) {
|
4653
|
+
handleInputChange(_e);
|
4654
|
+
}
|
4634
4655
|
};
|
4635
4656
|
var emitChange = function emitChange(type) {
|
4636
4657
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
@@ -4652,7 +4673,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4652
4673
|
var newValue = e.target.value;
|
4653
4674
|
var newDate = parseDate(newValue, props.type, props.multiple, props.format);
|
4654
4675
|
var valueToTest = isArrayValue ? newDate : newDate[0];
|
4655
|
-
var isDisabled = (_props$disabledDate = props.disabledDate) === null || _props$disabledDate === void 0 ? void 0 : _props$disabledDate.call(props, valueToTest);
|
4676
|
+
var isDisabled = !valueToTest ? false : (_props$disabledDate = props.disabledDate) === null || _props$disabledDate === void 0 ? void 0 : _props$disabledDate.call(props, valueToTest);
|
4656
4677
|
var isValidDate = newDate.reduce(function (valid, date) {
|
4657
4678
|
return valid && date instanceof Date;
|
4658
4679
|
}, true);
|
@@ -4670,7 +4691,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4670
4691
|
var newValue = e.target.value;
|
4671
4692
|
var newDate = parseDate(newValue, props.type, props.multiple, props.format);
|
4672
4693
|
var valueToTest = isArrayValue ? newDate : newDate[0];
|
4673
|
-
var isDisabled = (_props$disabledDate2 = props.disabledDate) === null || _props$disabledDate2 === void 0 ? void 0 : _props$disabledDate2.call(props, valueToTest);
|
4694
|
+
var isDisabled = !valueToTest ? false : (_props$disabledDate2 = props.disabledDate) === null || _props$disabledDate2 === void 0 ? void 0 : _props$disabledDate2.call(props, valueToTest);
|
4674
4695
|
var isValidDate = newDate.reduce(function (valid, date) {
|
4675
4696
|
return valid && date instanceof Date;
|
4676
4697
|
}, true);
|
@@ -4866,7 +4887,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4866
4887
|
fontSizeCls: fontSizeCls,
|
4867
4888
|
longWidthCls: longWidthCls,
|
4868
4889
|
localReadonly: localReadonly,
|
4869
|
-
|
4890
|
+
// allowCrossDayProp,
|
4870
4891
|
ownPickerProps: ownPickerProps,
|
4871
4892
|
teleportTo: teleportTo,
|
4872
4893
|
pickerDropdownRef: pickerDropdownRef,
|
@@ -4905,23 +4926,23 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4905
4926
|
"class": ['icon-wrapper', this.disabled ? 'disabled' : ''],
|
4906
4927
|
"onClick": this.handleIconClick
|
4907
4928
|
}, [this.type === 'time' || this.type === 'timerange' ? timeIcon : dateIcon]), (0,external_vue_namespaceObject.createVNode)("input", {
|
4908
|
-
"type": "text",
|
4909
|
-
"class": [this.resolveClassName('date-picker-editor'), this.readonly ? 'readonly' : '', this.fontSizeCls, this.behavior === 'simplicity' ? 'only-bottom-border' : ''],
|
4910
|
-
"ref": "inputRef",
|
4911
4929
|
"key": this.forceInputRerender,
|
4912
|
-
"
|
4930
|
+
"ref": "inputRef",
|
4931
|
+
"class": [this.resolveClassName('date-picker-editor'), this.readonly ? 'readonly' : '', this.fontSizeCls, this.behavior === 'simplicity' ? 'only-bottom-border' : ''],
|
4913
4932
|
"disabled": this.disabled,
|
4914
4933
|
"placeholder": this.placeholder,
|
4934
|
+
"readonly": this.localReadonly,
|
4935
|
+
"type": "text",
|
4915
4936
|
"value": this.displayValue,
|
4916
|
-
"onFocus": this.handleFocus,
|
4917
|
-
"onClick": this.handleFocus,
|
4918
4937
|
"onBlur": this.handleBlur,
|
4919
|
-
"onKeydown": this.handleKeydown,
|
4920
4938
|
"onChange": this.handleInputChange,
|
4921
|
-
"
|
4939
|
+
"onClick": this.handleFocus,
|
4940
|
+
"onFocus": this.handleFocus,
|
4941
|
+
"onInput": this.handleInputInput,
|
4942
|
+
"onKeydown": this.handleKeydown
|
4922
4943
|
}, null), this.clearable && this.showClose ? (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
4923
|
-
"
|
4924
|
-
"
|
4944
|
+
"class": "clear-action",
|
4945
|
+
"onClick": this.handleClear
|
4925
4946
|
}, null) : '']);
|
4926
4947
|
// const shortcutsSlot = this.hasShortcuts ? { shortcuts: () => this.$slots.shortcuts?.() || null } : {};
|
4927
4948
|
var shortcutsSlot = this.hasShortcuts ? {
|
@@ -4944,8 +4965,8 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4944
4965
|
"onMouseenter": this.handleInputMouseenter,
|
4945
4966
|
"onMouseleave": this.handleInputMouseleave
|
4946
4967
|
}, [(_this$$slots$trigger = (_this$$slots$trigger2 = (_this$$slots2 = this.$slots).trigger) === null || _this$$slots$trigger2 === void 0 ? void 0 : _this$$slots$trigger2.call(_this$$slots2, this.displayValue)) !== null && _this$$slots$trigger !== void 0 ? _this$$slots$trigger : defaultTrigger]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
4947
|
-
"
|
4948
|
-
"
|
4968
|
+
"disabled": !this.appendToBody,
|
4969
|
+
"to": this.teleportTo
|
4949
4970
|
}, {
|
4950
4971
|
"default": function _default() {
|
4951
4972
|
return [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, {
|
@@ -4953,48 +4974,48 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
4953
4974
|
}, {
|
4954
4975
|
"default": function _default() {
|
4955
4976
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(picker_dropdown, {
|
4956
|
-
"class": [_this.appendToBody ? _this.resolveClassName('date-picker-transfer') : ''],
|
4957
4977
|
"ref": "pickerDropdownRef",
|
4958
|
-
"
|
4959
|
-
"
|
4978
|
+
"class": [_this.appendToBody ? _this.resolveClassName('date-picker-transfer') : ''],
|
4979
|
+
"appendToBody": _this.appendToBody,
|
4960
4980
|
"extPopoverCls": _this.extPopoverCls,
|
4961
|
-
"
|
4981
|
+
"placement": _this.placement,
|
4982
|
+
"triggerRef": _this.triggerRef
|
4962
4983
|
}, {
|
4963
4984
|
"default": function _default() {
|
4964
4985
|
return [_this.hasHeader ? (0,external_vue_namespaceObject.createVNode)("div", {
|
4965
4986
|
"class": [_this.resolveClassName('date-picker-top-wrapper'), _this.headerSlotCls]
|
4966
4987
|
}, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots3 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots3)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : null]) : null, _this.panel === 'DateRangePanel' ? (0,external_vue_namespaceObject.createVNode)(date_range, {
|
4967
4988
|
"ref": "pickerPanelRef",
|
4968
|
-
"type": _this.type,
|
4969
|
-
"showTime": _this.type === 'datetime' || _this.type === 'datetimerange',
|
4970
4989
|
"confirm": _this.isConfirm,
|
4971
|
-
"
|
4972
|
-
"
|
4990
|
+
"disabledDate": _this.disabledDate,
|
4991
|
+
"focusedDate": _this.focusedDate,
|
4973
4992
|
"modelValue": _this.internalValue,
|
4974
4993
|
"selectionMode": _this.selectionMode,
|
4994
|
+
"shortcutClose": _this.shortcutClose,
|
4995
|
+
"shortcutSelectedIndex": _this.shortcutSelectedIndex,
|
4996
|
+
"shortcuts": _this.shortcuts,
|
4997
|
+
"showTime": _this.type === 'datetime' || _this.type === 'datetimerange',
|
4975
4998
|
"startDate": _this.startDate,
|
4976
|
-
"disabledDate": _this.disabledDate,
|
4977
|
-
"focusedDate": _this.focusedDate,
|
4978
4999
|
"timePickerOptions": _this.timePickerOptions,
|
5000
|
+
"type": _this.type,
|
4979
5001
|
"onPick": _this.onPick,
|
4980
5002
|
"onPick-clear": _this.handleClear,
|
5003
|
+
"onPick-first": _this.onPickFirst,
|
4981
5004
|
"onPick-success": _this.onPickSuccess,
|
4982
|
-
"onSelection-mode-change": _this.onSelectionModeChange
|
4983
|
-
"shortcutSelectedIndex": _this.shortcutSelectedIndex,
|
4984
|
-
"onPick-first": _this.onPickFirst
|
5005
|
+
"onSelection-mode-change": _this.onSelectionModeChange
|
4985
5006
|
}, slots) : (0,external_vue_namespaceObject.createVNode)(date, {
|
4986
5007
|
"ref": "pickerPanelRef",
|
4987
5008
|
"clearable": _this.clearable,
|
4988
|
-
"showTime": _this.type === 'datetime' || _this.type === 'datetimerange',
|
4989
5009
|
"confirm": _this.isConfirm,
|
4990
|
-
"
|
5010
|
+
"disabledDate": _this.disabledDate,
|
5011
|
+
"focusedDate": _this.focusedDate,
|
5012
|
+
"modelValue": _this.internalValue,
|
4991
5013
|
"multiple": _this.multiple,
|
4992
|
-
"shortcutClose": _this.shortcutClose,
|
4993
5014
|
"selectionMode": _this.selectionMode,
|
4994
|
-
"
|
5015
|
+
"shortcutClose": _this.shortcutClose,
|
5016
|
+
"shortcuts": _this.shortcuts,
|
5017
|
+
"showTime": _this.type === 'datetime' || _this.type === 'datetimerange',
|
4995
5018
|
"startDate": _this.startDate,
|
4996
|
-
"disabledDate": _this.disabledDate,
|
4997
|
-
"focusedDate": _this.focusedDate,
|
4998
5019
|
"timePickerOptions": _this.timePickerOptions,
|
4999
5020
|
"onPick": _this.onPick,
|
5000
5021
|
"onPick-clear": _this.handleClear,
|
@@ -5051,6 +5072,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5051
5072
|
|
5052
5073
|
|
5053
5074
|
|
5075
|
+
// import VueTypes, { toType, toValidableType } from 'vue-types';
|
5054
5076
|
|
5055
5077
|
|
5056
5078
|
|
@@ -5208,10 +5230,9 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5208
5230
|
return panel.value === 'RangeTimePickerPanel' ? props.allowCrossDay : false;
|
5209
5231
|
});
|
5210
5232
|
var inputRef = (0,external_vue_namespaceObject.ref)(null);
|
5211
|
-
|
5212
|
-
|
5213
|
-
|
5214
|
-
};
|
5233
|
+
// const inputFocus = () => {
|
5234
|
+
// inputRef?.value?.focus();
|
5235
|
+
// };
|
5215
5236
|
var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
|
5216
5237
|
proxy = _getCurrentInstance.proxy;
|
5217
5238
|
var pickerDropdownRef = (0,external_vue_namespaceObject.ref)(null);
|
@@ -5279,12 +5300,14 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5279
5300
|
state.visible = props.open;
|
5280
5301
|
}
|
5281
5302
|
// this.$on('focus-input', () => this.focus())
|
5282
|
-
|
5283
|
-
|
5284
|
-
|
5285
|
-
|
5286
|
-
|
5287
|
-
|
5303
|
+
// provide(datePickerKey, {
|
5304
|
+
// props,
|
5305
|
+
// focus: () => inputFocus(),
|
5306
|
+
// });
|
5307
|
+
});
|
5308
|
+
(0,external_vue_namespaceObject.provide)(timePickerKey, {
|
5309
|
+
panelDate: state.focusedDate,
|
5310
|
+
parentName: proxy.$options.name
|
5288
5311
|
});
|
5289
5312
|
var pickerPanelRef = (0,external_vue_namespaceObject.ref)(null);
|
5290
5313
|
var handleClose = function handleClose(e) {
|
@@ -5300,7 +5323,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5300
5323
|
if (state.visible) {
|
5301
5324
|
var _pickerPanelRef$value;
|
5302
5325
|
var pickerPanel = pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value = pickerPanelRef.value) === null || _pickerPanelRef$value === void 0 ? void 0 : _pickerPanelRef$value.$el;
|
5303
|
-
if (e && pickerPanel && pickerPanel.contains(e.target)) {
|
5326
|
+
if (e && pickerPanel !== null && pickerPanel !== void 0 && pickerPanel.contains(e.target)) {
|
5304
5327
|
return;
|
5305
5328
|
}
|
5306
5329
|
state.visible = false;
|
@@ -5312,9 +5335,9 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5312
5335
|
state.disableClickOutSide = false;
|
5313
5336
|
};
|
5314
5337
|
var handleIconClick = function handleIconClick() {
|
5315
|
-
var _inputRef$
|
5316
|
-
inputRef === null || inputRef === void 0 || (_inputRef$
|
5317
|
-
inputRef === null || inputRef === void 0 || (_inputRef$
|
5338
|
+
var _inputRef$value, _inputRef$value2;
|
5339
|
+
inputRef === null || inputRef === void 0 || (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || _inputRef$value.focus();
|
5340
|
+
inputRef === null || inputRef === void 0 || (_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || _inputRef$value2.click();
|
5318
5341
|
};
|
5319
5342
|
var handleInputMouseenter = function handleInputMouseenter() {
|
5320
5343
|
if (props.readonly || props.disabled) {
|
@@ -5340,8 +5363,8 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5340
5363
|
emit('change', publicStringValue.value, type);
|
5341
5364
|
// this.dispatch('bk-form-item', 'form-change');
|
5342
5365
|
if (props.type.indexOf('time') < 0) {
|
5343
|
-
var _inputRef$
|
5344
|
-
inputRef === null || inputRef === void 0 || (_inputRef$
|
5366
|
+
var _inputRef$value3;
|
5367
|
+
inputRef === null || inputRef === void 0 || (_inputRef$value3 = inputRef.value) === null || _inputRef$value3 === void 0 || _inputRef$value3.blur();
|
5345
5368
|
}
|
5346
5369
|
});
|
5347
5370
|
};
|
@@ -5491,14 +5514,14 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5491
5514
|
}
|
5492
5515
|
};
|
5493
5516
|
var onPickSuccess = function onPickSuccess() {
|
5494
|
-
var _inputRef$
|
5517
|
+
var _inputRef$value4;
|
5495
5518
|
state.visible = false;
|
5496
5519
|
// 点击 shortcuts 会关闭弹层时,如果不在 nextTick 里触发 pick-success,那么会导致触发 pick-success 的时候,
|
5497
5520
|
// v-model 的值还是之前的值
|
5498
5521
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
5499
5522
|
emit('pick-success');
|
5500
5523
|
});
|
5501
|
-
inputRef === null || inputRef === void 0 || (_inputRef$
|
5524
|
+
inputRef === null || inputRef === void 0 || (_inputRef$value4 = inputRef.value) === null || _inputRef$value4 === void 0 || _inputRef$value4.blur();
|
5502
5525
|
reset();
|
5503
5526
|
};
|
5504
5527
|
var onPick = function onPick(_dates) {
|
@@ -5602,23 +5625,23 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5602
5625
|
"class": ['icon-wrapper', this.disabled ? 'disabled' : ''],
|
5603
5626
|
"onClick": this.handleIconClick
|
5604
5627
|
}, [this.type === 'time' || this.type === 'timerange' ? timeIcon : dateIcon]), (0,external_vue_namespaceObject.createVNode)("input", {
|
5605
|
-
"type": "text",
|
5606
|
-
"class": [this.resolveClassName('date-picker-editor'), this.readonly ? 'readonly' : '', this.fontSizeCls, this.behavior === 'simplicity' ? 'only-bottom-border' : ''],
|
5607
|
-
"ref": "inputRef",
|
5608
5628
|
"key": this.forceInputRerender,
|
5609
|
-
"
|
5629
|
+
"ref": "inputRef",
|
5630
|
+
"class": [this.resolveClassName('date-picker-editor'), this.readonly ? 'readonly' : '', this.fontSizeCls, this.behavior === 'simplicity' ? 'only-bottom-border' : ''],
|
5610
5631
|
"disabled": this.disabled,
|
5611
5632
|
"placeholder": this.placeholder,
|
5633
|
+
"readonly": this.localReadonly,
|
5634
|
+
"type": "text",
|
5612
5635
|
"value": this.displayValue,
|
5613
|
-
"onFocus": this.handleFocus,
|
5614
|
-
"onClick": this.handleFocus,
|
5615
5636
|
"onBlur": this.handleBlur,
|
5616
|
-
"onKeydown": this.handleKeydown,
|
5617
5637
|
"onChange": this.handleInputChange,
|
5618
|
-
"
|
5638
|
+
"onClick": this.handleFocus,
|
5639
|
+
"onFocus": this.handleFocus,
|
5640
|
+
"onInput": this.handleInputInput,
|
5641
|
+
"onKeydown": this.handleKeydown
|
5619
5642
|
}, null), this.clearable && this.showClose ? (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
5620
|
-
"
|
5621
|
-
"
|
5643
|
+
"class": "clear-action",
|
5644
|
+
"onClick": this.handleClear
|
5622
5645
|
}, null) : '']);
|
5623
5646
|
var shortcutsSlot = this.hasShortcuts ? {
|
5624
5647
|
shortcuts: function shortcuts() {
|
@@ -5634,8 +5657,8 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5634
5657
|
"onMouseenter": this.handleInputMouseenter,
|
5635
5658
|
"onMouseleave": this.handleInputMouseleave
|
5636
5659
|
}, [(_this$$slots$trigger = (_this$$slots$trigger2 = (_this$$slots2 = this.$slots).trigger) === null || _this$$slots$trigger2 === void 0 ? void 0 : _this$$slots$trigger2.call(_this$$slots2, this.displayValue)) !== null && _this$$slots$trigger !== void 0 ? _this$$slots$trigger : defaultTrigger]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
5637
|
-
"
|
5638
|
-
"
|
5660
|
+
"disabled": !this.appendToBody,
|
5661
|
+
"to": this.teleportTo
|
5639
5662
|
}, {
|
5640
5663
|
"default": function _default() {
|
5641
5664
|
return [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, {
|
@@ -5643,12 +5666,12 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5643
5666
|
}, {
|
5644
5667
|
"default": function _default() {
|
5645
5668
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(picker_dropdown, {
|
5646
|
-
"class": [_this.appendToBody ? _this.resolveClassName('date-picker-transfer') : ''],
|
5647
5669
|
"ref": "pickerDropdownRef",
|
5648
|
-
"
|
5649
|
-
"placement": _this.placement,
|
5650
|
-
"extPopoverCls": _this.extPopoverCls,
|
5670
|
+
"class": [_this.appendToBody ? _this.resolveClassName('date-picker-transfer') : ''],
|
5651
5671
|
"appendToBody": _this.appendToBody,
|
5672
|
+
"extPopoverCls": _this.extPopoverCls,
|
5673
|
+
"placement": _this.placement,
|
5674
|
+
"triggerRef": _this.triggerRef,
|
5652
5675
|
"onClick": _this.handleTransferClick
|
5653
5676
|
}, {
|
5654
5677
|
"default": function _default() {
|
@@ -5656,38 +5679,38 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5656
5679
|
"class": [_this.resolveClassName('date-picker-top-wrapper'), _this.headerSlotCls]
|
5657
5680
|
}, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots3 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots3)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : null]) : null, _this.panel === 'RangeTimePickerPanel' ? (0,external_vue_namespaceObject.createVNode)(time_range, {
|
5658
5681
|
"ref": "pickerPanelRef",
|
5682
|
+
"allowCrossDay": _this.allowCrossDayProp,
|
5659
5683
|
"clearable": _this.clearable,
|
5660
|
-
"
|
5684
|
+
"disabledDate": _this.disabledDate,
|
5685
|
+
"disabledHours": _this.ownPickerProps.disabledHours,
|
5686
|
+
"disabledMinutes": _this.ownPickerProps.disabledMinutes,
|
5687
|
+
"disabledSeconds": _this.ownPickerProps.disabledSeconds,
|
5688
|
+
"format": _this.format,
|
5661
5689
|
"multiple": _this.multiple,
|
5662
5690
|
"shortcutClose": _this.shortcutClose,
|
5663
|
-
"
|
5691
|
+
"shortcuts": _this.shortcuts,
|
5664
5692
|
"startDate": _this.startDate,
|
5665
|
-
"
|
5693
|
+
"value": _this.internalValue,
|
5666
5694
|
"onPick": _this.onPick,
|
5667
5695
|
"onPick-clear": _this.handleClear,
|
5668
|
-
"onPick-success": _this.onPickSuccess
|
5669
|
-
"disabledHours": _this.ownPickerProps.disabledHours,
|
5670
|
-
"disabledMinutes": _this.ownPickerProps.disabledMinutes,
|
5671
|
-
"disabledSeconds": _this.ownPickerProps.disabledSeconds,
|
5672
|
-
"allowCrossDay": _this.allowCrossDayProp,
|
5673
|
-
"format": _this.format
|
5696
|
+
"onPick-success": _this.onPickSuccess
|
5674
5697
|
}, shortcutsSlot) : (0,external_vue_namespaceObject.createVNode)(time, {
|
5675
5698
|
"ref": "pickerPanelRef",
|
5676
5699
|
"clearable": _this.clearable,
|
5677
5700
|
"confirm": _this.isConfirm,
|
5678
|
-
"
|
5701
|
+
"disabledDate": _this.disabledDate,
|
5702
|
+
"disabledHours": _this.ownPickerProps.disabledHours,
|
5703
|
+
"disabledMinutes": _this.ownPickerProps.disabledMinutes,
|
5704
|
+
"disabledSeconds": _this.ownPickerProps.disabledSeconds,
|
5705
|
+
"format": _this.format,
|
5679
5706
|
"multiple": _this.multiple,
|
5680
5707
|
"shortcutClose": _this.shortcutClose,
|
5681
|
-
"
|
5708
|
+
"shortcuts": _this.shortcuts,
|
5682
5709
|
"startDate": _this.startDate,
|
5683
|
-
"
|
5710
|
+
"value": _this.internalValue,
|
5684
5711
|
"onPick": _this.onPick,
|
5685
5712
|
"onPick-clear": _this.handleClear,
|
5686
|
-
"onPick-success": _this.onPickSuccess
|
5687
|
-
"disabledHours": _this.ownPickerProps.disabledHours,
|
5688
|
-
"disabledMinutes": _this.ownPickerProps.disabledMinutes,
|
5689
|
-
"disabledSeconds": _this.ownPickerProps.disabledSeconds,
|
5690
|
-
"format": _this.format
|
5713
|
+
"onPick-success": _this.onPickSuccess
|
5691
5714
|
}, shortcutsSlot), _this.hasFooter ? (0,external_vue_namespaceObject.createVNode)("div", {
|
5692
5715
|
"class": [_this.resolveClassName('date-picker-footer-wrapper'), _this.footerSlotCls]
|
5693
5716
|
}, [(_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : null]) : null];
|