@sdata/web-vue 3.16.1 → 3.18.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/dist/sd.css +81 -0
- package/dist/sd.min.css +1 -1
- package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/_hooks/use-cursor.js +4 -2
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_utils/color.js +2 -2
- package/es/_utils/date.js +20 -20
- package/es/_utils/floating.d.ts +8 -0
- package/es/_utils/floating.js +54 -0
- package/es/_utils/global-config.js +1 -1
- package/es/_utils/is-equal.js +1 -1
- package/es/_utils/keyboard.js +3 -2
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +2 -2
- package/es/_utils/virtual-dropdown.js +2 -2
- package/es/_utils/vue-utils.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/asyncToGenerator.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/defineProperty.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/extends.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectDestructuringEmpty.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectSpread2.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutProperties.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutPropertiesLoose.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/toPrimitive.js +3 -3
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.js +9 -0
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/typeof.js +2 -2
- package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/anchor/index.js +1 -1
- package/es/auto-complete/auto-complete.d.ts +7 -0
- package/es/auto-complete/auto-complete.js +34 -27
- package/es/auto-complete/index.d.ts +9 -0
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/avatar/index.js +1 -1
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/badge.js +2 -2
- package/es/badge/index.d.ts +3 -3
- package/es/basic-crud-table/basic-crud-modal.vue.d.ts +6 -6
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +18 -18
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/basic-crud-table/index.d.ts +54 -54
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/border-beam/styles.js +1 -1
- package/es/breadcrumb/index.js +1 -1
- package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/button/button.vue.d.ts +8 -4
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +34 -15
- package/es/button/index.d.ts +4 -0
- package/es/button/index.js +1 -1
- package/es/button/style/index.css +11 -0
- package/es/button/style/index.scss +12 -0
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +6 -11
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +3 -12
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -6
- package/es/calendar/components/time-column.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/index.js +1 -1
- package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/index.js +1 -1
- package/es/cascader/base-cascader-panel.js +1 -1
- package/es/cascader/cascader-column.js +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader-search-panel.js +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +138 -132
- package/es/cascader/index.js +1 -1
- package/es/cascader/types.d.ts +2 -0
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/index.js +1 -1
- package/es/color-picker/color-picker.d.ts +7 -0
- package/es/color-picker/color-picker.js +15 -10
- package/es/color-picker/index.d.ts +9 -0
- package/es/color-picker/panel.js +7 -4
- package/es/color-picker/utils.js +3 -2
- package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/components.d.ts +1 -0
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/config-provider/theme.js +3 -3
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/hooks/use-format.js +1 -1
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/hooks/use-value-format.js +1 -1
- package/es/date-picker/index.d.ts +9 -0
- package/es/date-picker/index.js +1 -1
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +4 -6
- package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +5 -3
- package/es/date-picker/panels/week-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue.d.ts +7 -0
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +10 -5
- package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +7 -0
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +8 -4
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.js +1 -1
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue.d.ts +7 -0
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/dropdown-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/dropdown/dropdown-submenu.vue.d.ts +7 -0
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/dropdown.vue.d.ts +7 -0
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/index.d.ts +27 -0
- package/es/dropdown/index.js +1 -1
- package/es/dropdown/interface.d.ts +3 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/file-previewer/use-pdf-js.js +2 -2
- package/es/form/form-item-label.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item-message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/form/form.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/form/index.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/index.js +1 -1
- package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-list/icon-list.js +5 -0
- package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-list/index.js +9 -0
- package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon.js +6 -6
- package/es/image/hooks/use-image-drag.js +3 -1
- package/es/image/image-footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/image/index.js +1 -1
- package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/index.css +81 -0
- package/es/index.d.ts +5 -3
- package/es/index.js +4 -3
- package/es/index.scss +1 -0
- package/es/input/index.js +1 -1
- package/es/input/input-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input.js +1 -1
- package/es/input-number/input-number.js +2 -2
- package/es/input-tag/input-tag.js +7 -4
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/index.d.ts +5 -5
- package/es/json-form/index.js +2 -2
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +4 -6
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/json-form/types.d.ts +80 -110
- package/es/json-form/types.js +3 -3
- package/es/json-form/utils.d.ts +5 -6
- package/es/json-form/utils.js +69 -196
- package/es/kv-list/constants.d.ts +1 -0
- package/es/kv-list/constants.js +127 -0
- package/es/kv-list/index.d.ts +304 -0
- package/es/kv-list/index.js +10 -0
- package/es/kv-list/kv-list-row.js +5 -0
- package/es/kv-list/kv-list-row.vue.d.ts +29 -0
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +121 -0
- package/es/kv-list/kv-list.js +5 -0
- package/es/kv-list/kv-list.vue.d.ts +34 -0
- package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +262 -0
- package/es/kv-list/style/css.js +2 -0
- package/es/kv-list/style/index.css +86 -0
- package/es/kv-list/style/index.d.ts +2 -0
- package/es/kv-list/style/index.js +2 -0
- package/es/kv-list/style/index.scss +93 -0
- package/es/kv-list/style/token.scss +14 -0
- package/es/kv-list/types.d.ts +29 -0
- package/es/kv-list/utils.d.ts +8 -0
- package/es/kv-list/utils.js +32 -0
- package/es/layout/content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/index.js +1 -1
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/list/index.js +1 -1
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list.js +2 -2
- package/es/locale/interface.d.ts +11 -0
- package/es/locale/lang/ar-eg.js +2 -0
- package/es/locale/lang/de-de.js +2 -0
- package/es/locale/lang/en-us.js +2 -0
- package/es/locale/lang/es-es.js +2 -0
- package/es/locale/lang/fr-fr.js +2 -0
- package/es/locale/lang/id-id.js +2 -0
- package/es/locale/lang/it-it.js +2 -0
- package/es/locale/lang/ja-jp.js +2 -0
- package/es/locale/lang/km-kh.js +2 -0
- package/es/locale/lang/ko-kr.js +2 -0
- package/es/locale/lang/kv-list.d.ts +2 -0
- package/es/locale/lang/kv-list.js +14 -0
- package/es/locale/lang/ms-my.js +2 -0
- package/es/locale/lang/nl-nl.js +2 -0
- package/es/locale/lang/pt-pt.js +2 -0
- package/es/locale/lang/ru-ru.js +2 -0
- package/es/locale/lang/th-th.js +2 -0
- package/es/locale/lang/vi-vn.js +2 -0
- package/es/locale/lang/zh-cn.js +11 -0
- package/es/locale/lang/zh-tw.js +11 -0
- package/es/mention/index.d.ts +9 -0
- package/es/mention/mention.d.ts +7 -0
- package/es/mention/mention.js +9 -2
- package/es/menu/base-menu.vue.d.ts +7 -0
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/menu/context.d.ts +1 -1
- package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/index.js +1 -1
- package/es/menu/interface.d.ts +2 -0
- package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/item.d.ts +1 -1
- package/es/menu/item.js +1 -1
- package/es/menu/menu.d.ts +16 -0
- package/es/menu/menu.js +3 -2
- package/es/menu/overflow-wrap.js +4 -1
- package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/modal/index.js +2 -2
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/notification/index.js +1 -1
- package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-jumper.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/popconfirm/index.d.ts +9 -0
- package/es/popconfirm/popconfirm.vue.d.ts +7 -0
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/popover/index.d.ts +9 -0
- package/es/popover/popover.vue.d.ts +7 -0
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/progress.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/radio/index.js +1 -1
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +2 -5
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +4 -2
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/hooks/use-select.js +1 -1
- package/es/select/index.d.ts +33 -6
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/select/select.d.ts +19 -3
- package/es/select/select.js +64 -59
- package/es/select/utils.js +2 -2
- package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/index.js +1 -1
- package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/shape.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-dots.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-marks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-ticks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/statistic/index.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/steps/index.js +1 -1
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/style/theme/z-index.js +1 -1
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/table/index.js +1 -1
- package/es/table/interface.d.ts +2 -0
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.js +3 -2
- package/es/table/table.js +6 -4
- package/es/table/utils.js +2 -2
- package/es/tabs/index.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav.js +2 -1
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/index.d.ts +9 -0
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-picker.vue.d.ts +7 -0
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/timeline/index.js +1 -1
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/tooltip/interface.d.ts +2 -0
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/tour/index.d.ts +15 -0
- package/es/tour/tour.vue.d.ts +10 -0
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +108 -145
- package/es/tour/types.d.ts +3 -0
- package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +5 -8
- package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node.js +1 -1
- package/es/tree/transition-node-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +3 -3
- 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 +1 -1
- package/es/tree-select/tree-select.vue.d.ts +7 -0
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +146 -136
- package/es/trigger/index.d.ts +13 -3
- package/es/trigger/interface.d.ts +2 -0
- package/es/trigger/trigger.d.ts +8 -1
- package/es/trigger/trigger.js +130 -52
- package/es/trigger/utils.d.ts +0 -47
- package/es/trigger/utils.js +1 -268
- package/es/typography/base.js +1 -1
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/index.js +1 -1
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/typography.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload.js +2 -2
- package/es/watermark/hooks/use-mutation-observer.js +2 -2
- package/es/watermark/utils/index.js +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +26 -0
- package/json/vetur-tags.json +13 -1
- package/json/web-types.json +72 -1
- package/package.json +15 -13
- package/es/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/toPropertyKey.js +0 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
2
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
3
|
-
import
|
|
3
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
5
5
|
import { isString } from "../_utils/is.js";
|
|
6
6
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
@@ -112,6 +112,11 @@ var button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
112
112
|
* @en Icon
|
|
113
113
|
* @slot icon
|
|
114
114
|
*/
|
|
115
|
+
/**
|
|
116
|
+
* @zh 仅供屏幕阅读器读取的按钮文本
|
|
117
|
+
* @en Button text for screen readers only
|
|
118
|
+
* @slot sr-only
|
|
119
|
+
*/
|
|
115
120
|
const { size, disabled } = toRefs(props);
|
|
116
121
|
const prefixCls = getPrefixCls("btn");
|
|
117
122
|
const PassThrough = defineComponent({
|
|
@@ -191,13 +196,20 @@ var button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
191
196
|
class: normalizeClass([cls.value, { [`${unref(prefixCls)}-only-icon`]: _ctx.$slots.icon && !_ctx.$slots.default }]),
|
|
192
197
|
href: unref(mergedDisabled) || __props.loading ? void 0 : __props.href,
|
|
193
198
|
onClick: handleClick
|
|
194
|
-
}, [
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
}, [
|
|
200
|
+
__props.loading || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
201
|
+
key: 0,
|
|
202
|
+
class: normalizeClass(`${unref(prefixCls)}-icon`)
|
|
203
|
+
}, [__props.loading ? (openBlock(), createBlock(unref(IconLoading), {
|
|
204
|
+
key: 0,
|
|
205
|
+
spin: ""
|
|
206
|
+
})) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true),
|
|
207
|
+
!isTwoCNChar.value ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1) : (openBlock(), createElementBlock("span", _hoisted_2, [renderSlot(_ctx.$slots, "default")])),
|
|
208
|
+
_ctx.$slots["sr-only"] ? (openBlock(), createElementBlock("span", {
|
|
209
|
+
key: 3,
|
|
210
|
+
class: normalizeClass(`${unref(prefixCls)}-sr-only`)
|
|
211
|
+
}, [renderSlot(_ctx.$slots, "sr-only")], 2)) : createCommentVNode("", true)
|
|
212
|
+
], 10, _hoisted_1)) : (openBlock(), createElementBlock("button", {
|
|
201
213
|
key: 1,
|
|
202
214
|
ref_key: "buttonRef",
|
|
203
215
|
ref: buttonRef,
|
|
@@ -206,13 +218,20 @@ var button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
206
218
|
disabled: unref(mergedDisabled),
|
|
207
219
|
autofocus: __props.autofocus,
|
|
208
220
|
onClick: handleClick
|
|
209
|
-
}, [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
221
|
+
}, [
|
|
222
|
+
__props.loading || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
223
|
+
key: 0,
|
|
224
|
+
class: normalizeClass(`${unref(prefixCls)}-icon`)
|
|
225
|
+
}, [__props.loading ? (openBlock(), createBlock(unref(IconLoading), {
|
|
226
|
+
key: 0,
|
|
227
|
+
spin: true
|
|
228
|
+
})) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true),
|
|
229
|
+
!isTwoCNChar.value ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1) : (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "default")])),
|
|
230
|
+
_ctx.$slots["sr-only"] ? (openBlock(), createElementBlock("span", {
|
|
231
|
+
key: 3,
|
|
232
|
+
class: normalizeClass(`${unref(prefixCls)}-sr-only`)
|
|
233
|
+
}, [renderSlot(_ctx.$slots, "sr-only")], 2)) : createCommentVNode("", true)
|
|
234
|
+
], 10, _hoisted_3))]),
|
|
216
235
|
_: 2
|
|
217
236
|
}, [_ctx.$slots.tooltip ? {
|
|
218
237
|
name: "content",
|
package/es/button/index.d.ts
CHANGED
|
@@ -172,12 +172,16 @@ declare const Button: {
|
|
|
172
172
|
default?: (props: {}) => any;
|
|
173
173
|
} & {
|
|
174
174
|
default?: (props: {}) => any;
|
|
175
|
+
} & {
|
|
176
|
+
'sr-only'?: (props: {}) => any;
|
|
175
177
|
} & {
|
|
176
178
|
icon?: (props: {}) => any;
|
|
177
179
|
} & {
|
|
178
180
|
default?: (props: {}) => any;
|
|
179
181
|
} & {
|
|
180
182
|
default?: (props: {}) => any;
|
|
183
|
+
} & {
|
|
184
|
+
'sr-only'?: (props: {}) => any;
|
|
181
185
|
} & {
|
|
182
186
|
tooltip?: (props: {}) => any;
|
|
183
187
|
};
|
package/es/button/index.js
CHANGED
|
@@ -68,6 +68,17 @@
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
}
|
|
71
|
+
.sd-btn-sr-only {
|
|
72
|
+
position: absolute;
|
|
73
|
+
width: 1px;
|
|
74
|
+
height: 1px;
|
|
75
|
+
margin: -1px;
|
|
76
|
+
padding: 0;
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
border: 0;
|
|
80
|
+
clip-path: inset(50%);
|
|
81
|
+
}
|
|
71
82
|
.sd-btn-loading {
|
|
72
83
|
position: relative;
|
|
73
84
|
cursor: default;
|
|
@@ -112,6 +112,18 @@ $token-var-aliases: (
|
|
|
112
112
|
justify-content: center;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
&-sr-only {
|
|
116
|
+
position: absolute;
|
|
117
|
+
width: 1px;
|
|
118
|
+
height: 1px;
|
|
119
|
+
margin: -1px;
|
|
120
|
+
padding: 0;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
white-space: nowrap;
|
|
123
|
+
border: 0;
|
|
124
|
+
clip-path: inset(50%);
|
|
125
|
+
}
|
|
126
|
+
|
|
115
127
|
&-loading {
|
|
116
128
|
position: relative;
|
|
117
129
|
cursor: default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
import { calendarInjectionKey } from "../context.js";
|
|
4
4
|
import { minutesToPercentage, percentageToMinutes, pxToPercentage } from "../utils/conversions.js";
|
|
5
5
|
import { months, weekdays } from "../core/config.js";
|
|
@@ -124,8 +124,9 @@ var cell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
124
124
|
const viewMonth = view.start.getMonth();
|
|
125
125
|
const y = props.start.getFullYear();
|
|
126
126
|
const m = props.start.getMonth();
|
|
127
|
+
const weekday = weekdays[props.start.getDay()];
|
|
127
128
|
return {
|
|
128
|
-
[`${prefixCls}__cell--${
|
|
129
|
+
[`${prefixCls}__cell--${weekday}`]: view.isDay || view.isDays || view.isWeek || view.isMonth,
|
|
129
130
|
[`${prefixCls}__cell--${months[m]}`]: view.isYear,
|
|
130
131
|
[`${prefixCls}__cell--${y}`]: view.isYears,
|
|
131
132
|
[`${prefixCls}__cell--today`]: isToday.value,
|
|
@@ -600,10 +601,7 @@ var cell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
600
601
|
"data-start": props.start.getTime(),
|
|
601
602
|
class: [`${unref(prefixCls)}__cell`, classes.value]
|
|
602
603
|
}), [
|
|
603
|
-
_ctx.$slots.cell ? renderSlot(_ctx.$slots, "cell", {
|
|
604
|
-
key: 0,
|
|
605
|
-
cell: cellInfo.value
|
|
606
|
-
}) : createCommentVNode("", true),
|
|
604
|
+
_ctx.$slots.cell ? renderSlot(_ctx.$slots, "cell", { cell: cellInfo.value }, void 0, void 0, 0) : createCommentVNode("", true),
|
|
607
605
|
((_specialHours$value = specialHours.value) === null || _specialHours$value === void 0 || (_specialHours$value = _specialHours$value.default) === null || _specialHours$value === void 0 ? void 0 : _specialHours$value.length) && !((_unref$schedules = unref(config).schedules) === null || _unref$schedules === void 0 ? void 0 : _unref$schedules.length) ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(specialHours.value.default, (range, i) => {
|
|
608
606
|
return openBlock(), createElementBlock("div", {
|
|
609
607
|
style: normalizeStyle(range.style),
|
|
@@ -789,10 +787,7 @@ var cell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
789
787
|
class: normalizeClass(`${unref(prefixCls)}__event-placeholder`)
|
|
790
788
|
}, toDisplayString(eventPlaceholder.value.start) + " - " + toDisplayString(eventPlaceholder.value.end), 7)) : createCommentVNode("", true)
|
|
791
789
|
], 64)) : createCommentVNode("", true),
|
|
792
|
-
_ctx.$slots["event-count"] ? renderSlot(_ctx.$slots, "event-count", {
|
|
793
|
-
key: 4,
|
|
794
|
-
events: cellForegroundEvents.value
|
|
795
|
-
}) : showCellEventCount.value ? (openBlock(), createElementBlock("div", {
|
|
790
|
+
_ctx.$slots["event-count"] ? renderSlot(_ctx.$slots, "event-count", { events: cellForegroundEvents.value }, void 0, void 0, 4) : showCellEventCount.value ? (openBlock(), createElementBlock("div", {
|
|
796
791
|
key: 5,
|
|
797
792
|
class: normalizeClass(`${unref(prefixCls)}__cell-events-count`)
|
|
798
793
|
}, toDisplayString(cellForegroundEvents.value.length), 3)) : createCommentVNode("", true),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { PerformantEllipsis } from "../../ellipsis/index.js";
|
|
3
3
|
import { calendarInjectionKey } from "../context.js";
|
|
4
4
|
import { minutesToPercentage } from "../utils/conversions.js";
|
|
@@ -238,16 +238,7 @@ var event_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
238
238
|
onDragstart: _cache[2] || (_cache[2] = ($event) => isDraggable.value && unref(dnd).eventDragStart($event, event)),
|
|
239
239
|
onDragend: _cache[3] || (_cache[3] = ($event) => isDraggable.value && unref(dnd).eventDragEnd($event, event))
|
|
240
240
|
}), [
|
|
241
|
-
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__event-details`) }, [_ctx.$slots["event.all-day"] ? renderSlot(_ctx.$slots, "event.all-day", {
|
|
242
|
-
key: 0,
|
|
243
|
-
event
|
|
244
|
-
}) : _ctx.$slots[`event.${unref(view).id}`] ? renderSlot(_ctx.$slots, `event.${unref(view).id}`, {
|
|
245
|
-
key: 1,
|
|
246
|
-
event
|
|
247
|
-
}) : renderSlot(_ctx.$slots, "event", {
|
|
248
|
-
key: 2,
|
|
249
|
-
event
|
|
250
|
-
}, () => [
|
|
241
|
+
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__event-details`) }, [_ctx.$slots["event.all-day"] ? renderSlot(_ctx.$slots, "event.all-day", { event }, void 0, void 0, 0) : _ctx.$slots[`event.${unref(view).id}`] ? renderSlot(_ctx.$slots, `event.${unref(view).id}`, { event }, void 0, void 0, 1) : renderSlot(_ctx.$slots, "event", { event }, () => [
|
|
251
242
|
createVNode(unref(PerformantEllipsis), { class: normalizeClass(`${unref(prefixCls)}__event-title`) }, {
|
|
252
243
|
default: withCtx(() => [createTextVNode(toDisplayString(event.title), 1)]),
|
|
253
244
|
_: 1
|
|
@@ -269,7 +260,7 @@ var event_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
269
260
|
key: 1,
|
|
270
261
|
class: normalizeClass(`${unref(prefixCls)}__event-content`)
|
|
271
262
|
}, [renderSlot(_ctx.$slots, "event-content", { event }, () => [createTextVNode(toDisplayString(event.content), 1)])], 2)) : createCommentVNode("", true)
|
|
272
|
-
])], 2),
|
|
263
|
+
], void 0, 2)], 2),
|
|
273
264
|
isResizable.value ? (openBlock(), createElementBlock("div", {
|
|
274
265
|
key: 0,
|
|
275
266
|
onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent", "stop"])),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { calendarInjectionKey } from "../context.js";
|
|
2
|
-
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, withCtx } from "vue";
|
|
2
|
+
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, withCtx } from "vue";
|
|
3
3
|
//#region components/calendar/components/header.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = ["onClick"];
|
|
5
5
|
var _hoisted_2 = { key: 0 };
|
|
@@ -43,7 +43,7 @@ var header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
43
43
|
}, [renderSlot(_ctx.$slots, "previous-button")], 2),
|
|
44
44
|
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__transition-wrap`) }, [createVNode(Transition, { name: `${unref(prefixCls)}-slide-fade--${unref(view).transitionDirection}` }, {
|
|
45
45
|
default: withCtx(() => [(openBlock(), createElementBlock("div", { key: unref(view).id + unref(view).start.getTime() }, [_ctx.$slots.title || _ctx.$slots[`title.${unref(view).id}`] ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).clickToNavigate && unref(view).broaderView ? "button" : "div"), mergeProps({ key: 0 }, toHandlers(titleEventHandlers.value), { class: `${unref(prefixCls)}__title` }), {
|
|
46
|
-
default: withCtx(() => [_ctx.$slots[`title.${unref(view).id}`] ? renderSlot(_ctx.$slots, `title.${unref(view).id}`, normalizeProps(
|
|
46
|
+
default: withCtx(() => [_ctx.$slots[`title.${unref(view).id}`] ? renderSlot(_ctx.$slots, `title.${unref(view).id}`, normalizeProps(guardReactiveProps(unref(view))), void 0, void 0, 0) : renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(unref(view))), void 0, void 0, 1)]),
|
|
47
47
|
_: 3
|
|
48
48
|
}, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(unref(config).clickToNavigate && unref(view).broaderView ? "button" : "div"), mergeProps({ key: 1 }, toHandlers(titleEventHandlers.value), { class: `${unref(prefixCls)}__title` }), {
|
|
49
49
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(view).title), 1), unref(view).titleWeekInfo ? (openBlock(), createElementBlock("small", _hoisted_2, "\xA0" + toDisplayString(unref(view).titleWeekInfo.text) + " " + toDisplayString(unref(view).titleWeekInfo.number), 1)) : createCommentVNode("", true)]),
|
|
@@ -52,10 +52,9 @@ var header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
52
52
|
_: 3
|
|
53
53
|
}, 8, ["name"])], 2),
|
|
54
54
|
unref(config).todayButton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_ctx.$slots["today-button"] ? renderSlot(_ctx.$slots, "today-button", {
|
|
55
|
-
key: 0,
|
|
56
55
|
navigate: () => !unref(view).containsToday && unref(view).goToToday(),
|
|
57
56
|
active: unref(view).containsToday
|
|
58
|
-
}) : (openBlock(), createElementBlock("button", {
|
|
57
|
+
}, void 0, void 0, 0) : (openBlock(), createElementBlock("button", {
|
|
59
58
|
key: 1,
|
|
60
59
|
onClick: _cache[1] || (_cache[1] = ($event) => !unref(view).containsToday && unref(view).goToToday()),
|
|
61
60
|
disabled: !!unref(view).containsToday,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
3
|
-
import
|
|
3
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
4
4
|
import Scrollbar from "../../scrollbar/index.js";
|
|
5
5
|
import { useThemeMode } from "../../_hooks/use-theme-mode.js";
|
|
6
6
|
import { calendarElInjectionKey, calendarInjectionKey } from "../context.js";
|
|
@@ -141,10 +141,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
141
141
|
"data-locale": _ctx.locale,
|
|
142
142
|
class: normalizeClass([unref(prefixCls), wrapperClasses.value]),
|
|
143
143
|
style: normalizeStyle(wrapperStyles.value)
|
|
144
|
-
}, [_ctx.$slots.diy ? renderSlot(_ctx.$slots, "diy", {
|
|
145
|
-
key: 0,
|
|
146
|
-
calendar: unref(calendar)
|
|
147
|
-
}) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(header_default, null, createSlots({ _: 2 }, [
|
|
144
|
+
}, [_ctx.$slots.diy ? renderSlot(_ctx.$slots, "diy", { calendar: unref(calendar) }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(header_default, null, createSlots({ _: 2 }, [
|
|
148
145
|
_ctx.$slots.header ? {
|
|
149
146
|
name: "header",
|
|
150
147
|
fn: withCtx((params) => [renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(params)))]),
|
|
@@ -17,7 +17,10 @@ var time_column_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
17
17
|
const mins = i % 60;
|
|
18
18
|
const amPm = texts[i < noon ? "am" : "pm"];
|
|
19
19
|
let cellHeight = null;
|
|
20
|
-
if (isLastCell)
|
|
20
|
+
if (isLastCell) {
|
|
21
|
+
const percentageOfFullCell = (config.timeTo - i) / config.timeStep;
|
|
22
|
+
cellHeight = `calc(var(--${prefixCls}-time-cell-size) * ${percentageOfFullCell})`;
|
|
23
|
+
}
|
|
21
24
|
cells.push({
|
|
22
25
|
minutesSum: i,
|
|
23
26
|
hours,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { cardInjectionKey } from "./context.js";
|
|
4
4
|
import { computed, createElementBlock, defineComponent, inject, normalizeClass, onMounted, openBlock, renderSlot } from "vue";
|
package/es/card/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useI18n } from "../locale/index.js";
|
|
4
4
|
import { carouselInjectionKey } from "./context.js";
|
package/es/carousel/carousel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber, isObject } from "../_utils/is.js";
|
|
4
4
|
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
package/es/carousel/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
|
-
import Spin from "../spin/index.js";
|
|
4
3
|
import Empty from "../empty/index.js";
|
|
4
|
+
import Spin from "../spin/index.js";
|
|
5
5
|
import cascader_column_default from "./cascader-column.js";
|
|
6
6
|
import { TransitionGroup, createVNode, defineComponent, inject, isVNode, mergeProps } from "vue";
|
|
7
7
|
//#region components/cascader/base-cascader-panel.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import virtual_list_default from "../_components/virtual-list/index.js";
|
|
4
|
-
import Scrollbar from "../scrollbar/index.js";
|
|
5
4
|
import Empty from "../empty/index.js";
|
|
5
|
+
import Scrollbar from "../scrollbar/index.js";
|
|
6
6
|
import cascader_option_default from "./cascader-option.js";
|
|
7
7
|
import { createVNode, defineComponent, inject, mergeProps, ref } from "vue";
|
|
8
8
|
//#region components/cascader/cascader-column.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { isNull, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { KEYBOARD_KEY, getKeyDownHandler } from "../_utils/keyboard.js";
|
|
4
4
|
import { cascaderInjectionKey } from "./context.js";
|
|
@@ -150,7 +150,7 @@ var cascader_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
150
150
|
valueMap: computedValueMap,
|
|
151
151
|
expandTrigger: expandTrigger.value
|
|
152
152
|
}));
|
|
153
|
-
const handleKeyDown = getKeyDownHandler(new Map([
|
|
153
|
+
const handleKeyDown = getKeyDownHandler(/* @__PURE__ */ new Map([
|
|
154
154
|
[KEYBOARD_KEY.ENTER, (_ev) => {
|
|
155
155
|
if (activeOption.value) {
|
|
156
156
|
let checked;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
|
+
import Empty from "../empty/index.js";
|
|
3
4
|
import Scrollbar from "../scrollbar/index.js";
|
|
4
5
|
import Spin from "../spin/index.js";
|
|
5
|
-
import Empty from "../empty/index.js";
|
|
6
6
|
import cascader_option_default from "./cascader-option.js";
|
|
7
7
|
import { createVNode, defineComponent, inject, isVNode } from "vue";
|
|
8
8
|
//#region components/cascader/cascader-search-panel.tsx
|