@sdata/web-vue 1.18.0 → 2.1.0
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/README.md +3 -7
- package/dist/sd.css +4083 -2512
- package/dist/sd.min.css +1 -1
- package/es/_components/feedback-icon.js +1 -1
- package/es/_components/icon-hover.js +1 -1
- package/es/_components/icon-hover.vue.d.ts +1 -1
- package/es/_components/input-label/input-label.d.ts +1 -1
- package/es/_components/input-label/style/index.css +27 -27
- package/es/_components/picker/input-range.js +1 -1
- package/es/_components/picker/input-range.vue.d.ts +2 -2
- package/es/_components/picker/input.js +1 -1
- package/es/_components/picker/input.vue.d.ts +2 -2
- package/es/_components/resize-trigger.js +1 -1
- package/es/_components/select-view/select-view.d.ts +3 -3
- package/es/_components/select-view/style/index.css +199 -199
- package/es/_components/transition/expand-transition.js +1 -1
- package/es/_components/virtual-list/virtual-list.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +8 -5
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +9 -16
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-scrollbar.d.ts +2 -3
- package/es/_hooks/use-scrollbar.js +4 -8
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/_utils/color.d.ts +9 -0
- package/es/_utils/color.js +38 -2
- package/es/_utils/date.d.ts +1 -2
- package/es/_utils/date.js +74 -25
- package/es/_utils/global-config.d.ts +4 -0
- package/es/_utils/global-config.js +10 -2
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +1 -1
- package/es/_utils/virtual-dropdown.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/typeof.js +1 -1
- package/es/affix/affix.js +1 -1
- package/es/affix/affix.vue_vue_type_script_lang.js +1 -1
- package/es/alert/alert.js +1 -1
- package/es/alert/alert.vue.d.ts +1 -1
- package/es/alert/index.d.ts +2 -2
- package/es/alert/style/index.css +28 -28
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/anchor/style/index.css +9 -9
- package/es/auto-complete/auto-complete.d.ts +3 -3
- package/es/auto-complete/auto-complete.js +23 -9
- package/es/auto-complete/index.d.ts +9 -9
- package/es/auto-complete/style/index.css +3 -3
- package/es/avatar/avatar.js +1 -1
- package/es/avatar/avatar.vue_vue_type_script_lang.js +1 -1
- package/es/avatar/style/index.css +15 -15
- package/es/back-top/back-top.js +1 -1
- package/es/back-top/style/index.css +4 -4
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/badge.js +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/badge/style/index.css +25 -25
- package/es/breadcrumb/style/index.css +12 -12
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +1 -1
- package/es/button/button.vue.d.ts +2 -2
- package/es/button/index.d.ts +6 -6
- package/es/button/style/index.css +37 -37
- package/es/calendar/components/body.js +5 -0
- package/es/calendar/components/body.vue.d.ts +100 -0
- package/es/calendar/components/body.vue_vue_type_script_setup_true_lang.js +158 -0
- package/es/calendar/components/cell.js +5 -0
- package/es/calendar/components/cell.vue.d.ts +220 -0
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +813 -0
- package/es/calendar/components/event.js +5 -0
- package/es/calendar/components/event.vue.d.ts +73 -0
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +290 -0
- package/es/calendar/components/header.js +5 -0
- package/es/calendar/components/header.vue.d.ts +34 -0
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +84 -0
- package/es/calendar/components/headings-bar.js +5 -0
- package/es/calendar/components/headings-bar.vue.d.ts +40 -0
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +201 -0
- package/es/calendar/components/index.js +5 -0
- package/es/calendar/components/index.vue.d.ts +616 -0
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +314 -0
- package/es/calendar/components/time-column.js +5 -0
- package/es/calendar/components/time-column.vue.d.ts +27 -0
- package/es/calendar/components/time-column.vue_vue_type_script_setup_true_lang.js +66 -0
- package/es/calendar/context.d.ts +16 -0
- package/es/calendar/context.js +5 -0
- package/es/calendar/core/config.d.ts +126 -0
- package/es/calendar/core/config.js +522 -0
- package/es/calendar/core/events.d.ts +1 -0
- package/es/calendar/core/events.js +921 -0
- package/es/calendar/core/i18n.d.ts +1 -0
- package/es/calendar/core/i18n.js +72 -0
- package/es/calendar/core/index.d.ts +112 -0
- package/es/calendar/core/index.js +66 -0
- package/es/calendar/core/props-definitions.d.ts +263 -0
- package/es/calendar/core/props-definitions.js +70 -0
- package/es/calendar/core/view.d.ts +60 -0
- package/es/calendar/core/view.js +761 -0
- package/es/calendar/default-theme.scss +1012 -0
- package/es/calendar/hooks/use-calendar-theme.d.ts +4 -0
- package/es/calendar/hooks/use-calendar-theme.js +32 -0
- package/es/calendar/index.d.ts +836 -98
- package/es/calendar/index.js +3 -3
- package/es/calendar/index.scss +331 -0
- package/es/calendar/modules/drag-and-drop.d.ts +8 -0
- package/es/calendar/modules/drag-and-drop.js +442 -0
- package/es/calendar/style/body.scss +51 -0
- package/es/calendar/style/cell.scss +153 -0
- package/es/calendar/style/css.js +0 -1
- package/es/calendar/style/event.scss +69 -0
- package/es/calendar/style/header.scss +104 -0
- package/es/calendar/style/headings-bar.scss +94 -0
- package/es/calendar/style/index.css +1514 -264
- package/es/calendar/style/index.d.ts +1 -3
- package/es/calendar/style/index.js +0 -1
- package/es/calendar/style/index.scss +9 -496
- package/es/calendar/style/time-column.scss +109 -0
- package/es/calendar/style/token.scss +64 -60
- package/es/calendar/utils/conversions.d.ts +3 -0
- package/es/calendar/utils/conversions.js +31 -0
- package/es/calendar/utils/date.d.ts +26 -0
- package/es/calendar/utils/date.js +253 -0
- package/es/calendar/utils/special-hours-allow-events.d.ts +28 -0
- package/es/calendar/utils/special-hours-allow-events.js +230 -0
- package/es/card/card-grid.js +1 -1
- package/es/card/style/index.css +16 -16
- package/es/carousel/carousel-arrow.js +1 -1
- package/es/carousel/carousel-indicator.js +1 -1
- package/es/carousel/carousel-indicator.vue.d.ts +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/style/index.css +11 -11
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +1 -1
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader.vue.d.ts +5 -5
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/cascader/style/index.css +36 -36
- package/es/checkbox/checkbox.d.ts +1 -1
- package/es/checkbox/index.d.ts +2 -2
- package/es/checkbox/style/index.css +18 -18
- package/es/collapse/collapse-item.d.ts +1 -1
- package/es/collapse/collapse.js +1 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse/style/index.css +15 -15
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/color-picker.js +1 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/color-picker/palette.js +1 -1
- package/es/color-picker/panel.d.ts +1 -1
- package/es/color-picker/panel.js +2 -2
- package/es/color-picker/style/index.css +13 -13
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.js +2 -2
- package/es/comment/style/index.css +5 -5
- package/es/components.d.ts +2 -2
- package/es/config-provider/config-provider.js +1 -1
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/context.d.ts +3 -0
- package/es/config-provider/index.d.ts +3 -3
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/style/index.css +3 -3
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +48 -48
- package/es/date-picker/panels/body.js +1 -1
- package/es/date-picker/panels/date/index.js +2 -2
- package/es/date-picker/panels/date/index.vue.d.ts +6 -6
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/footer.js +1 -1
- package/es/date-picker/panels/footer.vue.d.ts +9 -9
- package/es/date-picker/panels/header.js +1 -1
- package/es/date-picker/panels/month/index.js +2 -2
- package/es/date-picker/panels/quarter/index.js +2 -2
- package/es/date-picker/panels/shortcuts.js +1 -1
- package/es/date-picker/panels/shortcuts.vue.d.ts +6 -6
- package/es/date-picker/panels/week/index.js +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +6 -6
- package/es/date-picker/panels/week-list.js +1 -1
- package/es/date-picker/panels/year/index.js +2 -2
- package/es/date-picker/picker-panel.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +28 -28
- package/es/date-picker/picker.js +2 -2
- package/es/date-picker/picker.vue.d.ts +46 -46
- package/es/date-picker/picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker-panel.js +1 -1
- package/es/date-picker/range-picker-panel.vue.d.ts +29 -29
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker.js +2 -2
- package/es/date-picker/range-picker.vue.d.ts +48 -48
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/style/index.css +72 -72
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.d.ts +6 -6
- package/es/descriptions/style/index.css +10 -10
- package/es/divider/divider.d.ts +1 -1
- package/es/divider/index.d.ts +3 -3
- package/es/divider/style/index.css +4 -4
- package/es/drawer/drawer.js +9 -2
- package/es/drawer/drawer.vue.d.ts +2905 -10
- package/es/drawer/drawer.vue_vue_type_script_lang.js +26 -7
- package/es/drawer/index.d.ts +6550 -764
- package/es/drawer/index.js +2 -2
- package/es/drawer/style/index.css +12 -7
- package/es/drawer/style/index.scss +6 -0
- package/es/dropdown/dropdown-button.js +1 -1
- package/es/dropdown/dropdown-button.vue.d.ts +24 -21
- package/es/dropdown/dropdown-group.js +1 -1
- package/es/dropdown/dropdown-option.js +1 -1
- package/es/dropdown/dropdown-option.vue.d.ts +1 -1
- package/es/dropdown/dropdown-panel.js +1 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +6 -3
- package/es/dropdown/dropdown-submenu.js +1 -1
- package/es/dropdown/dropdown-submenu.vue.d.ts +18 -15
- package/es/dropdown/dropdown.js +1 -1
- package/es/dropdown/dropdown.vue.d.ts +16 -13
- package/es/dropdown/index.d.ts +78 -66
- package/es/dropdown/style/index.css +1 -1
- package/es/ellipsis/ellipsis.js +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +2 -2
- package/es/ellipsis/index.d.ts +96 -96
- package/es/ellipsis/performant-ellipsis.js +1 -1
- package/es/ellipsis/performant-ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +1 -1
- package/es/empty/style/index.css +2 -2
- package/es/form/form-item-label.js +1 -1
- package/es/form/form-item-label.vue.d.ts +24 -24
- package/es/form/form-item-message.js +1 -1
- package/es/form/form-item.js +1 -1
- package/es/form/form-item.vue.d.ts +29 -29
- package/es/form/form-item.vue_vue_type_script_lang.js +3 -3
- package/es/form/form.js +1 -1
- package/es/form/form.vue.d.ts +1 -1
- package/es/form/index.d.ts +35 -35
- package/es/form/style/index.css +6 -6
- package/es/grid/grid-col.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-row.js +1 -1
- package/es/grid/grid-row.vue.d.ts +4 -4
- package/es/grid/grid.js +1 -1
- package/es/grid/index.d.ts +4 -4
- package/es/icon/icon-calendar/icon-calendar.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.js +1 -1
- package/es/icon/icon-check/icon-check.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.js +1 -1
- package/es/icon/icon-close/icon-close.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +1 -1
- package/es/icon/icon-copy/icon-copy.js +1 -1
- package/es/icon/icon-delete/icon-delete.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.js +1 -1
- package/es/icon/icon-down/icon-down.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.js +1 -1
- package/es/icon/icon-edit/icon-edit.js +1 -1
- package/es/icon/icon-empty/icon-empty.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +1 -1
- package/es/icon/icon-eye/icon-eye.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.js +1 -1
- package/es/icon/icon-file/icon-file.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.js +1 -1
- package/es/icon/icon-filter/icon-filter.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.js +1 -1
- package/es/icon/icon-info/icon-info.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.js +1 -1
- package/es/icon/icon-left/icon-left.js +1 -1
- package/es/icon/icon-link/icon-link.js +1 -1
- package/es/icon/icon-loading/icon-loading.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.js +1 -1
- package/es/icon/icon-minus/icon-minus.js +1 -1
- package/es/icon/icon-more/icon-more.js +1 -1
- package/es/icon/icon-oblique-line/icon-oblique-line.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.js +1 -1
- package/es/icon/icon-pause/icon-pause.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.js +1 -1
- package/es/icon/icon-plus/icon-plus.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.js +1 -1
- package/es/icon/icon-right/icon-right.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.js +1 -1
- package/es/icon/icon-search/icon-search.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.js +1 -1
- package/es/icon/icon-up/icon-up.js +1 -1
- package/es/icon/icon-upload/icon-upload.js +1 -1
- package/es/icon/icon-zoom-in/icon-zoom-in.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.js +1 -1
- package/es/icon-component/icon.js +1 -1
- package/es/icon.js +292 -292
- package/es/image/image-footer.js +1 -1
- package/es/image/image.js +2 -2
- package/es/image/image.vue.d.ts +24 -24
- package/es/image/preview-action.d.ts +24 -24
- package/es/image/preview-arrow.js +1 -1
- package/es/image/preview-group.js +2 -2
- package/es/image/preview-group.vue.d.ts +25 -25
- package/es/image/preview-toolbar.js +1 -1
- package/es/image/preview-toolbar.vue.d.ts +24 -24
- package/es/image/preview.js +1 -1
- package/es/image/preview.vue.d.ts +24 -24
- package/es/image/preview.vue_vue_type_script_lang.js +1 -1
- package/es/image/style/index.css +32 -32
- package/es/index.css +4083 -2512
- package/es/index.d.ts +8 -2
- package/es/index.js +11 -10
- package/es/index.scss +3 -1
- package/es/input/index.d.ts +9 -9
- package/es/input/input-group.js +1 -1
- package/es/input/input-password.js +1 -1
- package/es/input/input-password.vue.d.ts +3 -3
- package/es/input/input.d.ts +2 -2
- package/es/input/input.js +1 -1
- package/es/input/style/index.css +50 -50
- package/es/input-number/index.d.ts +6 -6
- package/es/input-number/input-number.d.ts +2 -2
- package/es/input-number/input-number.js +1 -1
- package/es/input-number/style/index.css +16 -16
- package/es/input-tag/index.d.ts +6 -6
- package/es/input-tag/input-tag.d.ts +2 -2
- package/es/input-tag/input-tag.js +1 -1
- package/es/input-tag/style/index.css +172 -172
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/utils.js +3 -3
- package/es/layout/content.js +1 -1
- package/es/layout/footer.js +1 -1
- package/es/layout/header.vue.d.ts +1 -1
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/layout/index.d.ts +21 -21
- package/es/layout/layout.js +1 -1
- package/es/layout/sider.js +1 -1
- package/es/layout/sider.vue.d.ts +16 -16
- package/es/layout/sider.vue_vue_type_script_lang.js +1 -1
- package/es/layout/style/index.css +12 -12
- package/es/link/index.d.ts +3 -3
- package/es/link/link.vue.d.ts +1 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/link/style/index.css +23 -23
- package/es/list/index.d.ts +9 -9
- package/es/list/list-item-meta.js +1 -1
- package/es/list/list.d.ts +3 -3
- package/es/list/list.js +4 -4
- package/es/list/style/index.css +9 -9
- package/es/locale/interface.d.ts +6 -0
- package/es/locale/lang/ar-eg.js +7 -1
- package/es/locale/lang/de-de.js +7 -1
- package/es/locale/lang/en-us.js +7 -1
- package/es/locale/lang/es-es.js +7 -1
- package/es/locale/lang/fr-fr.js +7 -1
- package/es/locale/lang/id-id.js +7 -1
- package/es/locale/lang/it-it.js +7 -1
- package/es/locale/lang/ja-jp.js +7 -1
- package/es/locale/lang/km-kh.js +7 -1
- package/es/locale/lang/ko-kr.js +7 -1
- package/es/locale/lang/ms-my.js +7 -1
- package/es/locale/lang/nl-nl.js +7 -1
- package/es/locale/lang/pt-pt.js +7 -1
- package/es/locale/lang/ru-ru.js +7 -1
- package/es/locale/lang/th-th.js +7 -1
- package/es/locale/lang/vi-vn.js +7 -1
- package/es/locale/lang/zh-cn.js +7 -1
- package/es/locale/lang/zh-tw.js +7 -1
- package/es/mention/index.d.ts +9 -9
- package/es/mention/mention.d.ts +3 -3
- package/es/mention/mention.js +24 -10
- package/es/menu/base-menu.js +1 -1
- package/es/menu/indent.js +1 -1
- package/es/menu/item-group.js +1 -1
- package/es/menu/item-group.vue.d.ts +48 -48
- package/es/menu/item.js +1 -1
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +62 -62
- package/es/menu/sub-menu-inline.js +1 -1
- package/es/menu/sub-menu-inline.vue.d.ts +48 -48
- package/es/menu/sub-menu-pop.js +1 -1
- package/es/menu/sub-menu-pop.vue.d.ts +57 -57
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message-list.d.ts +1 -1
- package/es/message/message.js +1 -1
- package/es/message/message.vue.d.ts +1 -1
- package/es/message/style/index.css +26 -26
- package/es/modal/index.d.ts +6368 -570
- package/es/modal/index.js +2 -2
- package/es/modal/modal.js +15 -4
- package/es/modal/modal.vue.d.ts +2907 -8
- package/es/modal/modal.vue_vue_type_script_lang.js +28 -5
- package/es/modal/style/index.css +28 -12
- package/es/modal/style/index.scss +23 -0
- package/es/notification/index.js +1 -1
- package/es/notification/notification.js +1 -1
- package/es/notification/notification.vue.d.ts +1 -1
- package/es/notification/style/index.css +26 -26
- package/es/page-header/index.d.ts +2 -2
- package/es/page-header/page-header.js +1 -1
- package/es/page-header/page-header.vue.d.ts +1 -1
- package/es/page-header/style/index.css +6 -6
- package/es/pagination/page-item-ellipsis.js +1 -1
- package/es/pagination/page-item-step.js +1 -1
- package/es/pagination/page-item.js +1 -1
- package/es/pagination/page-jumper.js +1 -1
- package/es/pagination/page-jumper.vue.d.ts +6 -6
- package/es/pagination/page-options.js +1 -1
- package/es/pagination/page-options.vue.d.ts +647 -469
- package/es/pagination/style/index.css +21 -21
- package/es/popconfirm/index.d.ts +33 -33
- package/es/popconfirm/popconfirm.js +1 -1
- package/es/popconfirm/popconfirm.vue.d.ts +16 -16
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +1 -1
- package/es/popconfirm/style/index.css +11 -11
- package/es/popover/index.d.ts +899 -21
- package/es/popover/popover.js +7 -3
- package/es/popover/popover.vue.d.ts +451 -10
- package/es/popover/popover.vue_vue_type_script_lang.js +15 -3
- package/es/popover/style/index.css +7 -7
- package/es/popover/style/index.d.ts +1 -0
- package/es/progress/circle.js +1 -1
- package/es/progress/circle.vue.d.ts +1 -1
- package/es/progress/index.d.ts +7 -7
- package/es/progress/line.js +1 -1
- package/es/progress/line.vue.d.ts +1 -1
- package/es/progress/line.vue_vue_type_script_lang.js +1 -1
- package/es/progress/progress.js +1 -1
- package/es/progress/progress.vue.d.ts +3 -3
- package/es/progress/steps.js +1 -1
- package/es/progress/style/index.css +32 -32
- package/es/qr-code/index.d.ts +294 -0
- package/es/qr-code/index.js +10 -0
- package/es/qr-code/qr-code-status.js +5 -0
- package/es/qr-code/qr-code-status.vue.d.ts +8 -0
- package/es/qr-code/qr-code-status.vue_vue_type_script_setup_true_lang.js +30 -0
- package/es/qr-code/qr-code.js +5 -0
- package/es/qr-code/qr-code.vue.d.ts +167 -0
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +313 -0
- package/es/qr-code/style/css.js +2 -0
- package/es/qr-code/style/index.css +106 -0
- package/es/qr-code/style/index.d.ts +2 -0
- package/es/qr-code/style/index.js +2 -0
- package/es/qr-code/style/index.scss +111 -0
- package/es/qr-code/style/token.scss +36 -0
- package/es/qr-code/types.d.ts +19 -0
- package/es/radio/index.d.ts +5 -5
- package/es/radio/radio.d.ts +2 -2
- package/es/radio/style/index.css +33 -33
- package/es/rate/index.d.ts +3 -3
- package/es/rate/rate.d.ts +1 -1
- package/es/rate/style/index.css +3 -3
- package/es/resize-box/index.d.ts +6 -6
- package/es/resize-box/resize-box.js +1 -1
- package/es/resize-box/resize-box.vue.d.ts +2 -2
- package/es/resize-box/resize-box.vue_vue_type_script_lang.js +1 -1
- package/es/resize-box/style/index.css +2 -2
- package/es/result/result.js +1 -1
- package/es/result/style/index.css +2 -2
- package/es/scrollbar/index.d.ts +6 -3
- package/es/scrollbar/scrollbar.js +2 -1
- package/es/scrollbar/scrollbar.vue.d.ts +2 -1
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +52 -2
- package/es/scrollbar/style/index.css +13 -13
- package/es/sd-vue.js +13 -12
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/secret/style/index.css +4 -4
- package/es/select/context.d.ts +1 -4
- package/es/select/hooks/use-options.d.ts +1 -4
- package/es/select/hooks/use-options.js +2 -23
- package/es/select/hooks/use-select.d.ts +1 -3
- package/es/select/hooks/use-select.js +2 -7
- package/es/select/index.d.ts +647 -474
- package/es/select/index.js +5 -13
- package/es/select/interface.d.ts +1 -1
- package/es/select/select-dropdown.js +3 -2
- package/es/select/select-dropdown.vue.d.ts +56 -54
- package/es/select/select-dropdown.vue_vue_type_script_lang.js +2 -3
- package/es/select/select.d.ts +260 -18
- package/es/select/select.js +44 -23
- package/es/select/style/index.css +14 -14
- package/es/select/utils.d.ts +1 -1
- package/es/select/utils.js +1 -1
- package/es/skeleton/line.js +1 -1
- package/es/skeleton/shape.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/style/index.css +4 -4
- package/es/slider/index.d.ts +67 -67
- package/es/slider/slider-button.js +1 -1
- package/es/slider/slider-button.vue.d.ts +25 -25
- package/es/slider/slider-dots.js +1 -1
- package/es/slider/slider-input.js +1 -1
- package/es/slider/slider-input.vue.d.ts +7 -7
- package/es/slider/slider-marks.js +1 -1
- package/es/slider/slider-ticks.js +1 -1
- package/es/slider/slider.js +1 -1
- package/es/slider/slider.vue.d.ts +33 -33
- package/es/slider/style/index.css +18 -18
- package/es/space/index.d.ts +9 -9
- package/es/space/space.d.ts +2 -2
- package/es/spin/index.d.ts +1 -0
- package/es/spin/style/index.css +9 -9
- package/es/split/split.js +1 -1
- package/es/split/split.vue_vue_type_script_lang.js +1 -1
- package/es/split/style/index.css +2 -2
- package/es/statistic/countdown.js +1 -1
- package/es/statistic/countdown.vue.d.ts +1 -1
- package/es/statistic/countdown.vue_vue_type_script_lang.js +5 -5
- package/es/statistic/index.d.ts +1 -1
- package/es/statistic/statistic.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_lang.js +2 -2
- package/es/statistic/style/index.css +4 -4
- package/es/steps/index.d.ts +4 -4
- package/es/steps/step.js +1 -1
- package/es/steps/step.vue.d.ts +1 -1
- package/es/steps/steps.js +1 -1
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/steps/style/index.css +79 -79
- package/es/style/color/colors.scss +1 -1
- package/es/style/theme/global.scss +8 -8
- package/es/style/theme/index.scss +4 -12
- package/es/style/theme/z-index.js +1 -2
- package/es/switch/style/index.css +30 -30
- package/es/switch/switch.js +1 -1
- package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
- package/es/table/index.d.ts +14 -14
- package/es/table/style/index.css +65 -65
- package/es/table/table-operation-td.d.ts +7 -7
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.d.ts +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.d.ts +1 -1
- package/es/table/table-th.js +2 -2
- package/es/table/table.d.ts +5 -5
- package/es/table/table.js +12 -14
- package/es/table/utils.js +1 -1
- package/es/tabs/index.d.ts +9 -9
- package/es/tabs/style/index.css +56 -56
- package/es/tabs/tab-pane.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_lang.js +1 -1
- package/es/tabs/tabs-nav-ink.js +1 -1
- package/es/tabs/tabs-nav.d.ts +1 -1
- package/es/tabs/tabs-tab.js +1 -1
- package/es/tabs/tabs-tab.vue.d.ts +1 -1
- package/es/tabs/tabs.d.ts +3 -3
- package/es/tag/index.d.ts +66 -29688
- package/es/tag/interface.d.ts +2 -0
- package/es/tag/style/index.css +134 -134
- package/es/tag/style/index.scss +33 -13
- package/es/tag/tag.js +2 -64
- package/es/tag/tag.vue.d.ts +53 -11936
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +368 -0
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/textarea/index.d.ts +8 -8
- package/es/textarea/style/index.css +28 -28
- package/es/textarea/textarea.js +1 -1
- package/es/textarea/textarea.vue.d.ts +3 -3
- package/es/textarea/textarea.vue_vue_type_script_lang.js +1 -1
- package/es/time-picker/hooks/use-time-list.js +1 -1
- package/es/time-picker/index.d.ts +56 -56
- package/es/time-picker/panel.js +1 -1
- package/es/time-picker/panel.vue.d.ts +6 -6
- package/es/time-picker/range-panel.d.ts +6 -6
- package/es/time-picker/range-panel.js +1 -1
- package/es/time-picker/style/index.css +11 -11
- package/es/time-picker/time-column.js +1 -1
- package/es/time-picker/time-picker.js +2 -2
- package/es/time-picker/time-picker.vue.d.ts +27 -27
- package/es/timeline/item.js +1 -1
- package/es/timeline/item.vue_vue_type_script_lang.js +1 -1
- package/es/timeline/style/index.css +11 -11
- package/es/tooltip/index.d.ts +24 -24
- package/es/tooltip/style/index.css +3 -3
- package/es/tooltip/tooltip.js +1 -1
- package/es/tooltip/tooltip.vue.d.ts +11 -11
- package/es/tooltip/tooltip.vue_vue_type_script_lang.js +1 -1
- package/es/tour/index.d.ts +664 -0
- package/es/tour/index.js +10 -0
- package/es/tour/style/css.js +1 -0
- package/es/tour/style/index.css +226 -0
- package/es/tour/style/index.d.ts +1 -0
- package/es/tour/style/index.js +1 -0
- package/es/tour/style/index.scss +218 -0
- package/es/tour/style/token.scss +27 -0
- package/es/tour/tour.js +5 -0
- package/es/tour/tour.vue.d.ts +411 -0
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +1219 -0
- package/es/tour/types.d.ts +143 -0
- package/es/transfer/index.d.ts +51 -45
- package/es/transfer/style/index.css +20 -20
- package/es/transfer/transfer-view.js +2 -3
- package/es/transfer/transfer-view.vue.d.ts +18 -15
- package/es/transfer/transfer-view.vue_vue_type_script_lang.js +1 -1
- package/es/transfer/transfer.js +1 -1
- package/es/transfer/transfer.vue.d.ts +25 -22
- package/es/tree/base-node.js +1 -1
- package/es/tree/base-node.vue.d.ts +2 -2
- package/es/tree/expand-transition.js +1 -1
- package/es/tree/node.js +1 -1
- package/es/tree/style/index.css +25 -25
- package/es/tree/transition-node-list.js +1 -1
- package/es/tree/transition-node-list.vue.d.ts +2 -2
- package/es/tree/tree.js +1 -1
- package/es/tree/tree.vue.d.ts +12 -9
- package/es/tree/tree.vue_vue_type_script_lang.js +2 -2
- package/es/tree/utils/tree-data.js +1 -1
- package/es/tree-select/hooks/use-selected-state.js +1 -1
- package/es/tree-select/panel.js +4 -7
- package/es/tree-select/style/index.css +5 -5
- package/es/tree-select/tree-select.js +2 -2
- package/es/tree-select/tree-select.vue.d.ts +21 -21
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +1 -1
- package/es/trigger/index.d.ts +9 -9
- package/es/trigger/style/index.css +5 -5
- package/es/trigger/trigger.d.ts +3 -3
- package/es/trigger/trigger.js +1 -1
- package/es/trigger/utils.js +1 -1
- package/es/typography/base.d.ts +4 -4
- package/es/typography/base.js +1 -1
- package/es/typography/edit-content.js +1 -1
- package/es/typography/edit-content.vue.d.ts +28 -28
- package/es/typography/operations.js +1 -1
- package/es/typography/operations.vue.d.ts +24 -24
- package/es/typography/style/index.css +22 -22
- package/es/typography/typography.js +1 -1
- package/es/upload/index.d.ts +6 -6
- package/es/upload/style/index.css +51 -51
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload.d.ts +2 -2
- package/es/upload/upload.js +2 -2
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +125 -107
- package/json/vetur-tags.json +39 -36
- package/json/web-types.json +181 -162
- package/package.json +19 -15
- package/es/calendar/calendar.d.ts +0 -104
- package/es/calendar/calendar.js +0 -207
- package/es/calendar/header.d.ts +0 -104
- package/es/calendar/header.js +0 -131
- package/es/calendar/hooks/useCellClassName.d.ts +0 -19
- package/es/calendar/hooks/useCellClassName.js +0 -43
- package/es/calendar/month.d.ts +0 -83
- package/es/calendar/month.js +0 -149
- package/es/calendar/week.d.ts +0 -61
- package/es/calendar/week.js +0 -45
- package/es/calendar/year.d.ts +0 -69
- package/es/calendar/year.js +0 -101
- package/es/select/optgroup.js +0 -10
- package/es/select/optgroup.vue.d.ts +0 -13
- package/es/select/optgroup.vue_vue_type_script_lang.js +0 -23
- package/es/select/option.js +0 -51
- package/es/select/option.vue.d.ts +0 -299
- package/es/select/option.vue_vue_type_script_lang.js +0 -149
- package/es/tag/tag.vue_vue_type_script_lang.js +0 -264
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
3
|
+
import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
4
|
+
import Scrollbar from "../../scrollbar/index.js";
|
|
5
|
+
import { calendarElInjectionKey, calendarInjectionKey } from "../context.js";
|
|
6
|
+
import { useCalendar } from "../core/index.js";
|
|
7
|
+
import { props } from "../core/props-definitions.js";
|
|
8
|
+
import { useCalendarTheme } from "../hooks/use-calendar-theme.js";
|
|
9
|
+
import body_default from "./body.js";
|
|
10
|
+
import header_default from "./header.js";
|
|
11
|
+
import headings_bar_default from "./headings-bar.js";
|
|
12
|
+
import time_column_default from "./time-column.js";
|
|
13
|
+
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, withCtx } from "vue";
|
|
14
|
+
//#region components/calendar/components/index.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
+
var _hoisted_1 = ["data-locale"];
|
|
16
|
+
var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Calendar" }), {}, {
|
|
17
|
+
__name: "index",
|
|
18
|
+
props,
|
|
19
|
+
emits: [
|
|
20
|
+
"ready",
|
|
21
|
+
"view-change",
|
|
22
|
+
"update:view",
|
|
23
|
+
"update:selectedDate",
|
|
24
|
+
"update:viewDate",
|
|
25
|
+
"update:events",
|
|
26
|
+
"event-delete",
|
|
27
|
+
"event-created",
|
|
28
|
+
"event-dropped",
|
|
29
|
+
"event-drag-start",
|
|
30
|
+
"event-drag-end"
|
|
31
|
+
],
|
|
32
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
33
|
+
const props = __props;
|
|
34
|
+
const prefixCls = getPrefixCls("calendar");
|
|
35
|
+
const emit = __emit;
|
|
36
|
+
const calendarEl = useTemplateRef("calendar-el");
|
|
37
|
+
const scrollbarRef = useTemplateRef("scrollbarRef");
|
|
38
|
+
const calendar = useCalendar({
|
|
39
|
+
props,
|
|
40
|
+
emit,
|
|
41
|
+
attrs: useAttrs(),
|
|
42
|
+
calendarEl,
|
|
43
|
+
scrollbarRef,
|
|
44
|
+
uid: useId(),
|
|
45
|
+
prefixCls
|
|
46
|
+
});
|
|
47
|
+
const { config, view, dateUtils, touch: touchState } = calendar;
|
|
48
|
+
const { isDark } = useCalendarTheme(calendarEl);
|
|
49
|
+
const syncCalendarPrefixedClasses = (rootEl) => {
|
|
50
|
+
if (!rootEl) return;
|
|
51
|
+
const matchCalendarPrefix = (cls) => {
|
|
52
|
+
const matched = cls.match(/^(.+?-calendar)(?=--|__)/);
|
|
53
|
+
return matched ? matched[1] : null;
|
|
54
|
+
};
|
|
55
|
+
const syncElement = (el) => {
|
|
56
|
+
var _el$classList;
|
|
57
|
+
if (!(el instanceof Element) || !((_el$classList = el.classList) === null || _el$classList === void 0 ? void 0 : _el$classList.length)) return;
|
|
58
|
+
for (const cls of el.classList) {
|
|
59
|
+
const classPrefix = matchCalendarPrefix(cls);
|
|
60
|
+
if (!classPrefix || classPrefix === prefixCls) continue;
|
|
61
|
+
const prefixed = `${prefixCls}${cls.slice(classPrefix.length)}`;
|
|
62
|
+
if (prefixed && !el.classList.contains(prefixed)) el.classList.add(prefixed);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
syncElement(rootEl);
|
|
66
|
+
rootEl.querySelectorAll("[class]").forEach(syncElement);
|
|
67
|
+
};
|
|
68
|
+
const hasTimeColumn = computed(() => config.time && (view.isDay || view.isDays || view.isWeek));
|
|
69
|
+
const weekNumbers = computed(() => {
|
|
70
|
+
return Array(view.rows).fill(0).map((v, i) => {
|
|
71
|
+
return dateUtils.getWeek(dateUtils.addDays(view.firstCellDate, 7 * i));
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
const wrapperClasses = computed(() => {
|
|
75
|
+
var _config$schedules;
|
|
76
|
+
return {
|
|
77
|
+
[`${prefixCls}--ready`]: config.ready,
|
|
78
|
+
[`${prefixCls}--${config.theme}-theme`]: config.theme,
|
|
79
|
+
[`${prefixCls}--${config.size}`]: true,
|
|
80
|
+
[`${prefixCls}--date-picker`]: config.datePicker,
|
|
81
|
+
[`${prefixCls}--dark`]: isDark.value,
|
|
82
|
+
[`${prefixCls}--light`]: !isDark.value,
|
|
83
|
+
[`${prefixCls}--${view.id}-view`]: true,
|
|
84
|
+
[`${prefixCls}--view-has-time`]: hasTimeColumn.value,
|
|
85
|
+
[`${prefixCls}--timeless`]: !config.time,
|
|
86
|
+
[`${prefixCls}--dragging-cell`]: touchState.isDraggingCell,
|
|
87
|
+
[`${prefixCls}--dragging-event`]: touchState.isDraggingEvent,
|
|
88
|
+
[`${prefixCls}--resizing-event`]: touchState.isResizingEvent,
|
|
89
|
+
[`${prefixCls}--has-schedules`]: (_config$schedules = config.schedules) === null || _config$schedules === void 0 ? void 0 : _config$schedules.length,
|
|
90
|
+
[`${prefixCls}--horizontal`]: config.horizontal
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
const wrapperStyles = computed(() => {
|
|
94
|
+
var _config$schedules$len, _config$schedules2;
|
|
95
|
+
return {
|
|
96
|
+
[`--${prefixCls}-time-cell-size`]: config.timeCellHeight && `${config.timeCellHeight}px`,
|
|
97
|
+
[`--${prefixCls}-schedules-count`]: (_config$schedules$len = (_config$schedules2 = config.schedules) === null || _config$schedules2 === void 0 ? void 0 : _config$schedules2.length) !== null && _config$schedules$len !== void 0 ? _config$schedules$len : 0
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
const scrollableElClasses = computed(() => {
|
|
101
|
+
var _config$schedules3, _config$schedules4;
|
|
102
|
+
return {
|
|
103
|
+
[`${prefixCls}__scrollable--row`]: hasTimeColumn.value || config.weekNumbers && view.isMonth,
|
|
104
|
+
[`${prefixCls}__scrollable--${view.id}-view`]: true,
|
|
105
|
+
[`${prefixCls}__scrollable--has-schedules`]: (_config$schedules3 = config.schedules) === null || _config$schedules3 === void 0 ? void 0 : _config$schedules3.length,
|
|
106
|
+
[`${prefixCls}__scrollable--no-schedules`]: !((_config$schedules4 = config.schedules) === null || _config$schedules4 === void 0 ? void 0 : _config$schedules4.length),
|
|
107
|
+
[`${prefixCls}__scrollable--horizontal`]: config.horizontal,
|
|
108
|
+
[`${prefixCls}__scrollable--no-all-day-bar`]: !config.allDayEvents,
|
|
109
|
+
[`${prefixCls}__scrollable--has-all-day-bar`]: config.allDayEvents
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
const contextMenuHandler = (e) => {
|
|
113
|
+
var _e$target;
|
|
114
|
+
if ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.closest(`.${prefixCls}__cell, [class$="__cell"]`)) e.preventDefault();
|
|
115
|
+
};
|
|
116
|
+
const onScrollableScroll = (_ev) => {};
|
|
117
|
+
onMounted(_asyncToGenerator(function* () {
|
|
118
|
+
if (typeof window !== "undefined" && window.hasOwnProperty("ontouchstart")) {
|
|
119
|
+
var _calendarEl$value;
|
|
120
|
+
(_calendarEl$value = calendarEl.value) === null || _calendarEl$value === void 0 || _calendarEl$value.addEventListener("contextmenu", contextMenuHandler);
|
|
121
|
+
}
|
|
122
|
+
yield nextTick();
|
|
123
|
+
syncCalendarPrefixedClasses(calendarEl.value);
|
|
124
|
+
config.ready = true;
|
|
125
|
+
emit("ready", {
|
|
126
|
+
config,
|
|
127
|
+
view
|
|
128
|
+
});
|
|
129
|
+
}));
|
|
130
|
+
onBeforeUnmount(() => {
|
|
131
|
+
var _calendarEl$value2;
|
|
132
|
+
calendarEl === null || calendarEl === void 0 || (_calendarEl$value2 = calendarEl.value) === null || _calendarEl$value2 === void 0 || _calendarEl$value2.removeEventListener("contextmenu", contextMenuHandler);
|
|
133
|
+
});
|
|
134
|
+
provide(calendarInjectionKey, calendar);
|
|
135
|
+
provide(calendarElInjectionKey, calendarEl);
|
|
136
|
+
__expose({ view: calendar.view });
|
|
137
|
+
return (_ctx, _cache) => {
|
|
138
|
+
return openBlock(), createElementBlock("div", {
|
|
139
|
+
ref: "calendar-el",
|
|
140
|
+
"data-locale": _ctx.locale,
|
|
141
|
+
class: normalizeClass([unref(prefixCls), wrapperClasses.value]),
|
|
142
|
+
style: normalizeStyle(wrapperStyles.value)
|
|
143
|
+
}, [_ctx.$slots.diy ? renderSlot(_ctx.$slots, "diy", {
|
|
144
|
+
key: 0,
|
|
145
|
+
calendar: unref(calendar)
|
|
146
|
+
}) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(header_default, null, createSlots({ _: 2 }, [
|
|
147
|
+
_ctx.$slots.header ? {
|
|
148
|
+
name: "header",
|
|
149
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(params)))]),
|
|
150
|
+
key: "0"
|
|
151
|
+
} : void 0,
|
|
152
|
+
!_ctx.$slots.header && _ctx.$slots["previous-button"] ? {
|
|
153
|
+
name: "previous-button",
|
|
154
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "previous-button", normalizeProps(guardReactiveProps(params)))]),
|
|
155
|
+
key: "1"
|
|
156
|
+
} : void 0,
|
|
157
|
+
!_ctx.$slots.header && _ctx.$slots["next-button"] ? {
|
|
158
|
+
name: "next-button",
|
|
159
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "next-button", normalizeProps(guardReactiveProps(params)))]),
|
|
160
|
+
key: "2"
|
|
161
|
+
} : void 0,
|
|
162
|
+
!_ctx.$slots.header && _ctx.$slots["today-button"] ? {
|
|
163
|
+
name: "today-button",
|
|
164
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "today-button", normalizeProps(guardReactiveProps(params)))]),
|
|
165
|
+
key: "3"
|
|
166
|
+
} : void 0,
|
|
167
|
+
!_ctx.$slots.header && _ctx.$slots.title ? {
|
|
168
|
+
name: "title",
|
|
169
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(params)))]),
|
|
170
|
+
key: "4"
|
|
171
|
+
} : void 0,
|
|
172
|
+
!_ctx.$slots.header && _ctx.$slots["title.day"] ? {
|
|
173
|
+
name: "title.day",
|
|
174
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.day", normalizeProps(guardReactiveProps(params)))]),
|
|
175
|
+
key: "5"
|
|
176
|
+
} : void 0,
|
|
177
|
+
!_ctx.$slots.header && _ctx.$slots["title.days"] ? {
|
|
178
|
+
name: "title.days",
|
|
179
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.days", normalizeProps(guardReactiveProps(params)))]),
|
|
180
|
+
key: "6"
|
|
181
|
+
} : void 0,
|
|
182
|
+
!_ctx.$slots.header && _ctx.$slots["title.week"] ? {
|
|
183
|
+
name: "title.week",
|
|
184
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.week", normalizeProps(guardReactiveProps(params)))]),
|
|
185
|
+
key: "7"
|
|
186
|
+
} : void 0,
|
|
187
|
+
!_ctx.$slots.header && _ctx.$slots["title.month"] ? {
|
|
188
|
+
name: "title.month",
|
|
189
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.month", normalizeProps(guardReactiveProps(params)))]),
|
|
190
|
+
key: "8"
|
|
191
|
+
} : void 0,
|
|
192
|
+
!_ctx.$slots.header && _ctx.$slots["title.year"] ? {
|
|
193
|
+
name: "title.year",
|
|
194
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.year", normalizeProps(guardReactiveProps(params)))]),
|
|
195
|
+
key: "9"
|
|
196
|
+
} : void 0,
|
|
197
|
+
!_ctx.$slots.header && _ctx.$slots["title.years"] ? {
|
|
198
|
+
name: "title.years",
|
|
199
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "title.years", normalizeProps(guardReactiveProps(params)))]),
|
|
200
|
+
key: "10"
|
|
201
|
+
} : void 0,
|
|
202
|
+
!_ctx.$slots.header && _ctx.$slots["schedule-heading"] ? {
|
|
203
|
+
name: "schedule-heading",
|
|
204
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "schedule-heading", normalizeProps(guardReactiveProps(params)))]),
|
|
205
|
+
key: "11"
|
|
206
|
+
} : void 0
|
|
207
|
+
]), 1024), createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__scrollable-wrap`) }, [createVNode(Transition, { name: `${unref(prefixCls)}-slide-fade--${unref(view).transitionDirection}` }, {
|
|
208
|
+
default: withCtx(() => [(openBlock(), createBlock(unref(Scrollbar), {
|
|
209
|
+
key: unref(view).id + unref(view).start.getTime(),
|
|
210
|
+
"outer-class": [`${unref(prefixCls)}__scrollable`, scrollableElClasses.value],
|
|
211
|
+
class: normalizeClass(`${unref(prefixCls)}__scrollable-content`),
|
|
212
|
+
ref_key: "scrollbarRef",
|
|
213
|
+
ref: scrollbarRef,
|
|
214
|
+
onScroll: onScrollableScroll
|
|
215
|
+
}, {
|
|
216
|
+
default: withCtx(() => [
|
|
217
|
+
hasTimeColumn.value ? (openBlock(), createBlock(time_column_default, { key: 0 }, createSlots({ _: 2 }, [_ctx.$slots["time-cell"] ? {
|
|
218
|
+
name: "time-cell",
|
|
219
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "time-cell", normalizeProps(guardReactiveProps(params)))]),
|
|
220
|
+
key: "0"
|
|
221
|
+
} : void 0, _ctx.$slots["current-time-label"] ? {
|
|
222
|
+
name: "current-time-label",
|
|
223
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "current-time-label", normalizeProps(guardReactiveProps(params)))]),
|
|
224
|
+
key: "1"
|
|
225
|
+
} : void 0]), 1024)) : createCommentVNode("", true),
|
|
226
|
+
unref(config).weekNumbers && unref(view).isMonth ? (openBlock(), createElementBlock("div", {
|
|
227
|
+
key: 1,
|
|
228
|
+
class: normalizeClass(`${unref(prefixCls)}__week-numbers`)
|
|
229
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(weekNumbers.value, (i) => {
|
|
230
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(`${unref(prefixCls)}__week-number`) }, [renderSlot(_ctx.$slots, "week-number", {}, () => [createElementVNode("small", null, toDisplayString(i), 1)])], 2);
|
|
231
|
+
}), 256))], 2)) : createCommentVNode("", true),
|
|
232
|
+
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__body-wrap`) }, [createVNode(headings_bar_default, null, createSlots({ _: 2 }, [
|
|
233
|
+
_ctx.$slots["weekday-heading"] ? {
|
|
234
|
+
name: "weekday-heading",
|
|
235
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "weekday-heading", normalizeProps(guardReactiveProps(params)))]),
|
|
236
|
+
key: "0"
|
|
237
|
+
} : void 0,
|
|
238
|
+
_ctx.$slots["schedule-heading"] ? {
|
|
239
|
+
name: "schedule-heading",
|
|
240
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "schedule-heading", normalizeProps(guardReactiveProps(params)))]),
|
|
241
|
+
key: "1"
|
|
242
|
+
} : void 0,
|
|
243
|
+
_ctx.$slots["event.all-day"] ? {
|
|
244
|
+
name: "event.all-day",
|
|
245
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "event.all-day", normalizeProps(guardReactiveProps(params)))]),
|
|
246
|
+
key: "2"
|
|
247
|
+
} : void 0,
|
|
248
|
+
_ctx.$slots.event ? {
|
|
249
|
+
name: "event",
|
|
250
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "event", normalizeProps(guardReactiveProps(params)))]),
|
|
251
|
+
key: "3"
|
|
252
|
+
} : void 0
|
|
253
|
+
]), 1024), createVNode(body_default, null, createSlots({ _: 2 }, [
|
|
254
|
+
_ctx.$slots.cell ? {
|
|
255
|
+
name: "cell",
|
|
256
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "cell", normalizeProps(guardReactiveProps(params)))]),
|
|
257
|
+
key: "0"
|
|
258
|
+
} : void 0,
|
|
259
|
+
!_ctx.$slots.cell && _ctx.$slots["cell-date"] ? {
|
|
260
|
+
name: "cell-date",
|
|
261
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "cell-date", normalizeProps(guardReactiveProps(params)))]),
|
|
262
|
+
key: "1"
|
|
263
|
+
} : void 0,
|
|
264
|
+
!_ctx.$slots.cell && _ctx.$slots["cell-content"] ? {
|
|
265
|
+
name: "cell-content",
|
|
266
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "cell-content", normalizeProps(guardReactiveProps(params)))]),
|
|
267
|
+
key: "2"
|
|
268
|
+
} : void 0,
|
|
269
|
+
!_ctx.$slots.cell && _ctx.$slots["cell-events"] ? {
|
|
270
|
+
name: "cell-events",
|
|
271
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "cell-events", normalizeProps(guardReactiveProps(params)))]),
|
|
272
|
+
key: "3"
|
|
273
|
+
} : void 0,
|
|
274
|
+
!_ctx.$slots.cell && !_ctx.$slots["cell-events"] && _ctx.$slots["event.all-day"] ? {
|
|
275
|
+
name: "event.all-day",
|
|
276
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "event.all-day", normalizeProps(guardReactiveProps(params)))]),
|
|
277
|
+
key: "4"
|
|
278
|
+
} : void 0,
|
|
279
|
+
!_ctx.$slots.cell && !_ctx.$slots["cell-events"] && _ctx.$slots[`event.${unref(view).id}`] ? {
|
|
280
|
+
name: `event.${unref(view).id}`,
|
|
281
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, `event.${unref(view).id}`, normalizeProps(guardReactiveProps(params)))]),
|
|
282
|
+
key: "5"
|
|
283
|
+
} : void 0,
|
|
284
|
+
!_ctx.$slots.cell && !_ctx.$slots["cell-events"] && _ctx.$slots.event ? {
|
|
285
|
+
name: "event",
|
|
286
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "event", normalizeProps(guardReactiveProps(params)))]),
|
|
287
|
+
key: "6"
|
|
288
|
+
} : void 0,
|
|
289
|
+
!_ctx.$slots.cell && _ctx.$slots["event-count"] ? {
|
|
290
|
+
name: "event-count",
|
|
291
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "event-count", normalizeProps(guardReactiveProps(params)))]),
|
|
292
|
+
key: "7"
|
|
293
|
+
} : void 0,
|
|
294
|
+
_ctx.$slots["special-hours-label"] ? {
|
|
295
|
+
name: "special-hours-label",
|
|
296
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "special-hours-label", normalizeProps(guardReactiveProps(params)))]),
|
|
297
|
+
key: "8"
|
|
298
|
+
} : void 0,
|
|
299
|
+
_ctx.$slots["now-line"] ? {
|
|
300
|
+
name: "now-line",
|
|
301
|
+
fn: withCtx((params) => [renderSlot(_ctx.$slots, "now-line", normalizeProps(guardReactiveProps(params)))]),
|
|
302
|
+
key: "9"
|
|
303
|
+
} : void 0
|
|
304
|
+
]), 1024)], 2)
|
|
305
|
+
]),
|
|
306
|
+
_: 3
|
|
307
|
+
}, 8, ["outer-class", "class"]))]),
|
|
308
|
+
_: 3
|
|
309
|
+
}, 8, ["name"])], 2)], 64))], 14, _hoisted_1);
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
}));
|
|
313
|
+
//#endregion
|
|
314
|
+
export { index_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import time_column_vue_vue_type_script_setup_true_lang_default from "./time-column.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/calendar/components/time-column.vue
|
|
3
|
+
var time_column_default = time_column_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { time_column_default as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
2
|
+
index: number;
|
|
3
|
+
minutes: number;
|
|
4
|
+
hours: number;
|
|
5
|
+
minutesSum: any;
|
|
6
|
+
format12: string;
|
|
7
|
+
format24: string;
|
|
8
|
+
}, __VLS_5: {
|
|
9
|
+
now: any;
|
|
10
|
+
timeFormatted: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
'all-day-label'?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'time-cell'?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
'current-time-label'?: (props: typeof __VLS_5) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { calendarInjectionKey } from "../context.js";
|
|
2
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, toDisplayString, unref } from "vue";
|
|
3
|
+
//#region components/calendar/components/time-column.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = ["title"];
|
|
5
|
+
var time_column_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
6
|
+
__name: "time-column",
|
|
7
|
+
setup(__props) {
|
|
8
|
+
const calendar = inject(calendarInjectionKey);
|
|
9
|
+
const { config, texts, view } = calendar;
|
|
10
|
+
const prefixCls = calendar.prefixCls;
|
|
11
|
+
const timeCells = computed(() => {
|
|
12
|
+
const cells = [];
|
|
13
|
+
const noon = 720;
|
|
14
|
+
for (let i = config.timeFrom; i < config.timeTo; i += config.timeStep) {
|
|
15
|
+
const isLastCell = i + config.timeStep > config.timeTo;
|
|
16
|
+
const hours = ~~(i / 60);
|
|
17
|
+
const mins = i % 60;
|
|
18
|
+
const amPm = texts[i < noon ? "am" : "pm"];
|
|
19
|
+
let cellHeight = null;
|
|
20
|
+
if (isLastCell) cellHeight = `calc(var(--${prefixCls}-time-cell-size) * ${(config.timeTo - i) / config.timeStep})`;
|
|
21
|
+
cells.push({
|
|
22
|
+
minutesSum: i,
|
|
23
|
+
hours,
|
|
24
|
+
minutes: mins,
|
|
25
|
+
formatted12: `${!(hours % 12) ? 12 : hours % 12}${mins ? `:${mins.toString().padStart(2, "0")}` : ""}${amPm}`,
|
|
26
|
+
formatted24: `${hours.toString().padStart(2, "0")}:${mins.toString().padStart(2, "0")}`,
|
|
27
|
+
height: cellHeight
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return cells;
|
|
31
|
+
});
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(`${unref(prefixCls)}__time-column`) }, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__time-column-inner`) }, [
|
|
34
|
+
unref(config).allDayEvents ? (openBlock(), createElementBlock("div", {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: normalizeClass(`${unref(prefixCls)}__all-day-label`)
|
|
37
|
+
}, [renderSlot(_ctx.$slots, "all-day-label", {}, () => [createTextVNode(toDisplayString(unref(calendar).texts.allDay), 1)])], 2)) : createCommentVNode("", true),
|
|
38
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(timeCells.value, (time, i) => {
|
|
39
|
+
return openBlock(), createElementBlock("div", {
|
|
40
|
+
key: i,
|
|
41
|
+
style: normalizeStyle({ height: time.height || void 0 }),
|
|
42
|
+
class: normalizeClass(`${unref(prefixCls)}__time-cell`)
|
|
43
|
+
}, [renderSlot(_ctx.$slots, "time-cell", {
|
|
44
|
+
index: i,
|
|
45
|
+
minutes: time.minutes,
|
|
46
|
+
hours: time.hours,
|
|
47
|
+
minutesSum: time.minutesSum,
|
|
48
|
+
format12: time.formatted12,
|
|
49
|
+
format24: time.formatted24
|
|
50
|
+
}, () => [createElementVNode("label", null, toDisplayString(unref(config).twelveHour ? time.formatted12 : time.formatted24), 1)])], 6);
|
|
51
|
+
}), 128)),
|
|
52
|
+
unref(config).currentTimeLabel ? (openBlock(), createElementBlock("div", {
|
|
53
|
+
key: 1,
|
|
54
|
+
style: normalizeStyle(unref(view).nowLine.style),
|
|
55
|
+
title: unref(view).nowLine.currentTime,
|
|
56
|
+
class: normalizeClass(`${unref(prefixCls)}__current-time`)
|
|
57
|
+
}, [renderSlot(_ctx.$slots, "current-time-label", {
|
|
58
|
+
now: unref(view).now,
|
|
59
|
+
timeFormatted: unref(view).nowLine.currentTime
|
|
60
|
+
}, () => [createElementVNode("span", null, toDisplayString(unref(view).nowLine.currentTime), 1)])], 14, _hoisted_1)) : createCommentVNode("", true)
|
|
61
|
+
], 2)], 2);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
export { time_column_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface CalendarState {
|
|
3
|
+
uid: string | number;
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
emit: (event: string, ...args: any[]) => void;
|
|
6
|
+
texts: Record<string, any>;
|
|
7
|
+
dateUtils: Record<string, any>;
|
|
8
|
+
now: Date;
|
|
9
|
+
config: Record<string, any>;
|
|
10
|
+
eventsManager: Record<string, any>;
|
|
11
|
+
view: Record<string, any>;
|
|
12
|
+
dnd: Record<string, any>;
|
|
13
|
+
touch: Record<string, any>;
|
|
14
|
+
}
|
|
15
|
+
export declare const calendarInjectionKey: InjectionKey<CalendarState>;
|
|
16
|
+
export declare const calendarElInjectionKey: InjectionKey<Ref<HTMLElement | null>>;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export namespace defaults {
|
|
2
|
+
namespace texts {
|
|
3
|
+
let weekDays: any[];
|
|
4
|
+
let weekDaysShort: never[];
|
|
5
|
+
let weekDaysMin: never[];
|
|
6
|
+
let months: any[];
|
|
7
|
+
let years: string;
|
|
8
|
+
let year: string;
|
|
9
|
+
let month: string;
|
|
10
|
+
let week: string;
|
|
11
|
+
let day: string;
|
|
12
|
+
let days: string;
|
|
13
|
+
let today: string;
|
|
14
|
+
let noEvent: string;
|
|
15
|
+
let allDay: string;
|
|
16
|
+
let deleteEvent: string;
|
|
17
|
+
let createEvent: string;
|
|
18
|
+
let dateFormat: string;
|
|
19
|
+
let am: string;
|
|
20
|
+
let pm: string;
|
|
21
|
+
let truncations: boolean;
|
|
22
|
+
}
|
|
23
|
+
namespace availableViews {
|
|
24
|
+
export namespace day_1 {
|
|
25
|
+
let cols: number;
|
|
26
|
+
let rows: number;
|
|
27
|
+
}
|
|
28
|
+
export { day_1 as day };
|
|
29
|
+
export namespace days_1 {
|
|
30
|
+
let cols_1: number;
|
|
31
|
+
export { cols_1 as cols };
|
|
32
|
+
let rows_1: number;
|
|
33
|
+
export { rows_1 as rows };
|
|
34
|
+
}
|
|
35
|
+
export { days_1 as days };
|
|
36
|
+
export namespace week_1 {
|
|
37
|
+
let cols_2: number;
|
|
38
|
+
export { cols_2 as cols };
|
|
39
|
+
let rows_2: number;
|
|
40
|
+
export { rows_2 as rows };
|
|
41
|
+
}
|
|
42
|
+
export { week_1 as week };
|
|
43
|
+
export namespace month_1 {
|
|
44
|
+
let cols_3: number;
|
|
45
|
+
export { cols_3 as cols };
|
|
46
|
+
let rows_3: number;
|
|
47
|
+
export { rows_3 as rows };
|
|
48
|
+
}
|
|
49
|
+
export { month_1 as month };
|
|
50
|
+
export namespace year_1 {
|
|
51
|
+
let cols_4: number;
|
|
52
|
+
export { cols_4 as cols };
|
|
53
|
+
let rows_4: number;
|
|
54
|
+
export { rows_4 as rows };
|
|
55
|
+
}
|
|
56
|
+
export { year_1 as year };
|
|
57
|
+
export namespace years_1 {
|
|
58
|
+
let cols_5: number;
|
|
59
|
+
export { cols_5 as cols };
|
|
60
|
+
let rows_5: number;
|
|
61
|
+
export { rows_5 as rows };
|
|
62
|
+
}
|
|
63
|
+
export { years_1 as years };
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export const months: string[];
|
|
67
|
+
export const weekdays: string[];
|
|
68
|
+
export function useConfig(calendar: any, props: any, attrs: any): {
|
|
69
|
+
events: any;
|
|
70
|
+
eventListeners: import("vue").ComputedRef<{
|
|
71
|
+
cell: {};
|
|
72
|
+
event: {};
|
|
73
|
+
}>;
|
|
74
|
+
defaultView: import("vue").ComputedRef<string>;
|
|
75
|
+
availableViews: import("vue").ComputedRef<{
|
|
76
|
+
days: {
|
|
77
|
+
cols: number;
|
|
78
|
+
rows: number;
|
|
79
|
+
};
|
|
80
|
+
week: {
|
|
81
|
+
cols: number;
|
|
82
|
+
rows: number;
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
85
|
+
month: {
|
|
86
|
+
cols: number;
|
|
87
|
+
rows: number;
|
|
88
|
+
};
|
|
89
|
+
year: {
|
|
90
|
+
cols: number;
|
|
91
|
+
rows: number;
|
|
92
|
+
};
|
|
93
|
+
years: {
|
|
94
|
+
cols: number;
|
|
95
|
+
rows: number;
|
|
96
|
+
};
|
|
97
|
+
}>;
|
|
98
|
+
disableDays: import("vue").ComputedRef<any[]>;
|
|
99
|
+
ready: boolean;
|
|
100
|
+
sm: import("vue").ComputedRef<any>;
|
|
101
|
+
xs: import("vue").ComputedRef<any>;
|
|
102
|
+
clickToNavigate: import("vue").ComputedRef<any>;
|
|
103
|
+
hideWeekdays: import("vue").ComputedRef<{
|
|
104
|
+
6: boolean;
|
|
105
|
+
7: boolean;
|
|
106
|
+
}>;
|
|
107
|
+
hideWeekends: import("vue").ComputedRef<any>;
|
|
108
|
+
minTimestamp: import("vue").ComputedRef<any>;
|
|
109
|
+
maxTimestamp: import("vue").ComputedRef<any>;
|
|
110
|
+
schedules: import("vue").ComputedRef<any[] | undefined>;
|
|
111
|
+
specialHours: import("vue").ComputedRef<{}>;
|
|
112
|
+
specialHoursDisallowed: import("vue").ComputedRef<{
|
|
113
|
+
hasAny: boolean;
|
|
114
|
+
byWeekday: {};
|
|
115
|
+
}>;
|
|
116
|
+
selectedDate: import("vue").ComputedRef<any>;
|
|
117
|
+
editableEvents: import("vue").ComputedRef<any>;
|
|
118
|
+
showCellEventCount: import("vue").ComputedRef<any>;
|
|
119
|
+
allDayEvents: import("vue").ComputedRef<any>;
|
|
120
|
+
horizontal: import("vue").ComputedRef<any>;
|
|
121
|
+
timeAtCursor: import("vue").ComputedRef<any>;
|
|
122
|
+
view: import("vue").ComputedRef<any>;
|
|
123
|
+
hasHiddenDays: number;
|
|
124
|
+
size: "lg" | "sm" | "xs";
|
|
125
|
+
loadTexts: (locale: any) => Promise<void>;
|
|
126
|
+
};
|