@sdata/web-vue 4.4.3 → 4.5.1
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 +74 -9
- package/dist/sd.min.css +2 -2
- package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/client-only.vue_vue_type_script_setup_true_lang.js +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/input-label/input-label.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-observer.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/select-view/select-view.vue.d.ts +1 -1
- package/es/_components/select-view/select-view.vue_vue_type_script_setup_true_lang.js +2 -2
- 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 +3 -3
- package/es/_hooks/use-component-ref.d.ts +1 -1
- package/es/_hooks/use-responsive.js +6 -1
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_utils/color.js +1 -1
- package/es/_utils/date.d.ts +1 -1
- package/es/_utils/date.js +6 -3
- package/es/_utils/debounce.d.ts +4 -1
- package/es/_utils/debounce.js +8 -1
- package/es/_utils/get-value-by-path.d.ts +1 -0
- package/es/_utils/get-value-by-path.js +9 -9
- package/es/_utils/global-config.js +1 -1
- 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.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.146.0 → _@oxc-project_runtime@0.147.0}/helpers/esm/typeof.js +1 -1
- package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +3 -2
- 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 +8 -4
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +18 -5
- package/es/anchor/utils.d.ts +1 -1
- package/es/anchor/utils.js +4 -2
- package/es/auto-complete/auto-complete.vue.d.ts +4 -4
- package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +22 -9
- package/es/avatar/avatar-group.vue_vue_type_script_setup_true_lang.js +16 -23
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +36 -20
- package/es/avatar/style/index.css +4 -0
- package/es/avatar/style/index.scss +5 -0
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +24 -13
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/basic-crud-table/basic-crud-modal.vue.d.ts +1 -1
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +24 -15
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +4 -4
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +58 -37
- package/es/basic-crud-table/index.d.ts +12 -12
- package/es/bloom-menu/bloom-menu.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +64 -22
- package/es/border-beam/styles.js +20 -7
- package/es/breadcrumb/breadcrumb-item.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/breadcrumb/breadcrumb.vue_vue_type_script_setup_true_lang.js +6 -4
- package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +19 -13
- package/es/button/index.d.ts +3 -3
- package/es/calendar/__test__/real-transitions.js +10 -0
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +7 -3
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/calendar/core/config.js +17 -20
- package/es/calendar/core/events.js +59 -41
- package/es/calendar/core/i18n.d.ts +1 -1
- package/es/calendar/core/i18n.js +2 -2
- package/es/calendar/core/index.d.ts +6 -6
- package/es/calendar/core/index.js +1 -1
- package/es/calendar/core/view.js +10 -7
- package/es/calendar/modules/drag-and-drop.js +80 -30
- package/es/calendar/utils/date.d.ts +4 -4
- package/es/calendar/utils/date.js +20 -11
- package/es/card/card-actions.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/card/card-meta.vue_vue_type_script_setup_true_lang.js +13 -10
- package/es/card/card.vue_vue_type_script_setup_true_lang.js +17 -11
- package/es/card/context.d.ts +2 -0
- 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.vue_vue_type_script_setup_true_lang.js +13 -10
- package/es/cascader/base-cascader-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-column.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +8 -21
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +27 -12
- package/es/cascader/cascader-search-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader.vue.d.ts +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +37 -17
- package/es/cascader/context.d.ts +2 -2
- package/es/cascader/hooks/use-lazy-load.d.ts +6 -0
- package/es/cascader/hooks/use-lazy-load.js +35 -0
- package/es/cascader/interface.d.ts +4 -0
- package/es/cascader/utils.d.ts +2 -2
- package/es/cascader/utils.js +10 -8
- package/es/checkbox/checkbox-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +2 -1
- package/es/checkbox/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/collapse-item.vue_vue_type_script_setup_true_lang.js +17 -2
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/color-picker/control-bar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/gradient-thumb.vue_vue_type_script_setup_true_lang.js +6 -2
- package/es/color-picker/hooks/use-control-block.js +5 -1
- package/es/color-picker/palette.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/panel.vue_vue_type_script_setup_true_lang.js +31 -12
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +7 -15
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/context.d.ts +5 -1
- package/es/config-provider/context.js +2 -1
- package/es/config-provider/global-theme.d.ts +3 -0
- package/es/config-provider/global-theme.js +49 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +39 -37
- package/es/config-provider/theme.d.ts +1 -0
- package/es/config-provider/theme.js +5 -3
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +33 -25
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +38 -6
- package/es/date-picker/hooks/use-is-disabled-date.d.ts +2 -2
- package/es/date-picker/hooks/use-is-disabled-date.js +4 -5
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +28 -0
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +2 -2
- 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 +2 -2
- 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 +1 -1
- 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_vue_type_script_setup_true_lang.js +11 -3
- package/es/date-picker/pickers/date-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/month-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/quarter-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/week-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/year-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 +28 -0
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +24 -3
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.vue_vue_type_script_setup_true_lang.js +10 -9
- package/es/descriptions/interface.d.ts +1 -0
- package/es/divider/divider.vue_vue_type_script_setup_true_lang.js +5 -3
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +28 -24
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -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 +3 -6
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +15 -13
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +17 -13
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +2 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +23 -8
- package/es/ellipsis/index.d.ts +3 -0
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +24 -9
- package/es/empty/empty.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +34 -18
- package/es/file-previewer/pdfjs-worker.min.mjs +4 -4
- package/es/file-previewer/use-pdf-js.js +57 -38
- 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 +54 -15
- package/es/form/form.vue_vue_type_script_setup_true_lang.js +11 -8
- package/es/grid/context.d.ts +2 -2
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +8 -7
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +2 -1
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +11 -12
- package/es/grid/style/col.scss +2 -2
- package/es/grid/style/index.css +42 -0
- package/es/grid/utils/index.js +5 -2
- package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +2 -2
- 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 +2 -2
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon-component/add-from-icon-font-cn.js +5 -1
- package/es/icon-component/icon-font.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/icon.js +292 -292
- package/es/image/hooks/use-image-drag.js +4 -2
- 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 +14 -10
- package/es/image/preview-action.vue.d.ts +6 -2
- package/es/image/preview-action.vue_vue_type_script_setup_true_lang.js +12 -3
- 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 +7 -9
- 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 +17 -22
- package/es/index.css +74 -9
- package/es/index.d.ts +6 -6
- package/es/input/index.d.ts +3 -3
- 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-search.vue.d.ts +1 -1
- package/es/input/input-search.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/input/input.vue_vue_type_script_setup_true_lang.js +7 -8
- package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +14 -7
- package/es/input-mask/mask-engine.js +1 -1
- package/es/input-number/decimal.d.ts +3 -0
- package/es/input-number/decimal.js +49 -0
- package/es/input-number/input-number.vue_vue_type_script_setup_true_lang.js +60 -27
- package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +34 -16
- 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 +6 -3
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/utils.js +4 -2
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +2 -1
- 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/layout.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +6 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/index.d.ts +3 -3
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list.vue.d.ts +1 -1
- package/es/list/list.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/locale/interface.d.ts +4 -0
- package/es/locale/lang/en-us.js +4 -0
- package/es/locale/lang/zh-cn.js +4 -0
- package/es/mention/mention.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +13 -3
- package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/sub-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/message/index.js +2 -1
- package/es/message/message-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/modal/hooks/use-draggable.js +3 -1
- package/es/modal/index.js +2 -2
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/model-selector/model-selector-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-name.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-separator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-shortcut.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/index.js +5 -2
- package/es/notification/notification-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/pagination/interface.d.ts +1 -0
- 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/pagination/pagination.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/progress/line.vue_vue_type_script_setup_true_lang.js +3 -3
- 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 +3 -3
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +23 -12
- package/es/radio/radio-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/radio/radio.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +9 -7
- package/es/regex-vis/layout.js +1 -1
- package/es/regex-vis/parser/parser.js +1 -1
- package/es/regex-vis/regex-vis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -3
- package/es/result/403.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/404.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/500.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/index.d.ts +7 -6
- package/es/result/result.vue.d.ts +2 -2
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
- package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +1 -1
- package/es/secret/index.d.ts +4 -15
- package/es/secret/interface.d.ts +6 -0
- package/es/secret/secret.vue.d.ts +1 -5
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/index.d.ts +3 -3
- package/es/select/interface.d.ts +5 -0
- package/es/select/select-dropdown.vue.d.ts +3 -1
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +9 -5
- package/es/select/select.vue.d.ts +1 -1
- package/es/select/select.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/select/utils.js +1 -1
- package/es/selectable-card/index.d.ts +4 -52
- package/es/selectable-card/selectable-card.vue.d.ts +3 -20
- package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/selectable-card/types.d.ts +17 -0
- package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-recording-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-skill-tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-stop-loading-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/index.d.ts +1 -0
- package/es/skeleton/interface.d.ts +14 -0
- package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +6 -8
- 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 +1 -1
- package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +9 -4
- 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 +3 -3
- package/es/space/space.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/spin/dot-loading.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/spin/spin.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/split/index.d.ts +1 -0
- package/es/split/interface.d.ts +7 -7
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +8 -4
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +2 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/steps/index.d.ts +2 -0
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +7 -2
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/switch/index.d.ts +4 -3
- package/es/switch/switch.vue.d.ts +1 -1
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/table/index.d.ts +3 -3
- package/es/table/table-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-operation-td.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-operation-th.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-tbody.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-td.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +14 -3
- package/es/table/table-thead.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-tr.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table.vue.d.ts +1 -1
- package/es/table/table.vue_vue_type_script_setup_true_lang.js +14 -5
- package/es/table/utils.js +1 -1
- package/es/tabs/index.d.ts +19 -57
- package/es/tabs/style/index.css +17 -1
- package/es/tabs/style/index.scss +17 -1
- package/es/tabs/tab-pane.vue.d.ts +1 -13
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +26 -5
- package/es/tabs/tabs-button.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav.vue_vue_type_script_setup_true_lang.js +10 -5
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +10 -5
- package/es/tabs/tabs.vue_vue_type_script_setup_true_lang.js +8 -7
- package/es/tag/index.d.ts +10 -10
- package/es/tag/tag.vue.d.ts +4 -4
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +6 -2
- package/es/textarea/index.d.ts +1 -0
- package/es/textarea/style/index.css +2 -2
- package/es/textarea/style/index.scss +3 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/theme-provider/index.d.ts +1 -0
- package/es/thinking-orb/engine/profiles.js +1 -1
- package/es/thinking-orb/presets.js +1 -1
- package/es/thinking-orb/thinking-orb.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/index.d.ts +1 -0
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/range-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_vue_type_script_setup_true_lang.js +1 -1
- package/es/timeline/index.d.ts +2 -0
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/timeline/timeline.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +8 -2
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/transfer/index.d.ts +1 -0
- package/es/transfer/transfer-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +3 -5
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node.vue_vue_type_script_setup_true_lang.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-filter-tree-node.js +2 -1
- package/es/tree-select/hooks/use-selected-state.js +1 -1
- package/es/tree-select/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree-select/tree-select.vue.d.ts +1 -1
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/trigger/interface.d.ts +4 -1
- package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +11 -5
- package/es/typography/base.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/typography/paragraph.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/text.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/title.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/typography-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/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/typography/utils/inner-text-renderer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/style/index.css +9 -6
- package/es/upload/style/index.scss +12 -6
- package/es/upload/upload-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-picture-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/upload/upload-progress.vue_vue_type_script_setup_true_lang.js +42 -11
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/verification-code/index.d.ts +1 -0
- package/es/verification-code/verification-code.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/index.d.ts +5 -3
- package/es/watermark/watermark.vue_vue_type_script_setup_true_lang.js +4 -1
- package/json/vetur-attributes.json +4 -0
- package/json/vetur-tags.json +2 -1
- package/json/web-types.json +9 -1
- package/package.json +9 -9
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber, isString } from "../_utils/is.js";
|
|
4
4
|
import { off, on } from "../_utils/dom.js";
|
|
5
5
|
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
|
6
|
-
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.
|
|
6
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/asyncToGenerator.js";
|
|
7
7
|
import useMergeState from "../_hooks/use-merge-state.js";
|
|
8
8
|
import resize_trigger_default from "../_components/resize-trigger.js";
|
|
9
|
-
import { computed, createBlock, createCommentVNode, createElementVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
|
|
9
|
+
import { computed, createBlock, createCommentVNode, createElementVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, reactive, ref, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
|
|
10
10
|
//#region components/split/split.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Split" }), {}, {
|
|
12
12
|
__name: "split",
|
|
@@ -194,11 +194,14 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
194
194
|
endPosition: e.pageY
|
|
195
195
|
}), record.startContainerSize);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function cleanupMoving() {
|
|
198
198
|
off(window, "mousemove", onMoving);
|
|
199
199
|
off(window, "mouseup", onMovingEnd);
|
|
200
200
|
off(window, "contextmenu", onMovingEnd);
|
|
201
201
|
document.body.style.cursor = "default";
|
|
202
|
+
}
|
|
203
|
+
function onMovingEnd(e) {
|
|
204
|
+
cleanupMoving();
|
|
202
205
|
emit("moveEnd", e);
|
|
203
206
|
}
|
|
204
207
|
function onMoveStart(_x) {
|
|
@@ -252,6 +255,7 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
252
255
|
const clampedSize = sizeConfig.value.isPx ? `${fixedPxSize}px` : px2percent(fixedPxSize, containerSize);
|
|
253
256
|
if (clampedSize !== mergedSize.value) setMergedSize(clampedSize);
|
|
254
257
|
}));
|
|
258
|
+
onBeforeUnmount(cleanupMoving);
|
|
255
259
|
return (_ctx, _cache) => {
|
|
256
260
|
return openBlock(), createBlock(resolveDynamicComponent(__props.component), {
|
|
257
261
|
ref_key: "wrapperRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import NumberFlow from "../number-flow/index.js";
|
|
4
4
|
import { getDateString } from "./utils.js";
|
|
@@ -84,6 +84,7 @@ var countdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
84
84
|
if (!props.start) return;
|
|
85
85
|
const _value = getDateString(Math.max(originDayjs(props.value).diff(originDayjs(props.now), "millisecond"), 0), props.format);
|
|
86
86
|
if (_value !== displayValue.value) displayValue.value = _value;
|
|
87
|
+
if (!timer.value && originDayjs(props.value).valueOf() > Date.now()) startTimer();
|
|
87
88
|
});
|
|
88
89
|
const timer = ref(0);
|
|
89
90
|
const stopTimer = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber, isUndefined } from "../_utils/is.js";
|
|
4
|
-
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/asyncToGenerator.js";
|
|
5
5
|
import NumberFlow from "../number-flow/index.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, shallowRef, toDisplayString, unref, watch } from "vue";
|
|
7
7
|
import originDayjs from "dayjs";
|
package/es/steps/index.d.ts
CHANGED
|
@@ -246,5 +246,7 @@ declare const Steps: {
|
|
|
246
246
|
};
|
|
247
247
|
export type StepsInstance = InstanceType<typeof _Steps>;
|
|
248
248
|
export type StepsStepInstance = InstanceType<typeof _StepsStep>;
|
|
249
|
+
export type StepsProps = StepsInstance['$props'];
|
|
250
|
+
export type StepsStepProps = StepsStepInstance['$props'];
|
|
249
251
|
export { _StepsStep as Step };
|
|
250
252
|
export default Steps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.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 IconClose from "../icon/icon-close/index.js";
|
|
@@ -7,7 +7,11 @@ import IconCheck from "../icon/icon-check/index.js";
|
|
|
7
7
|
import { stepsInjectionKey } from "./context.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, inject, normalizeClass, onBeforeUnmount, openBlock, reactive, ref, renderSlot, toDisplayString, unref } from "vue";
|
|
9
9
|
//#region components/steps/step.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var _hoisted_1 = [
|
|
10
|
+
var _hoisted_1 = [
|
|
11
|
+
"aria-current",
|
|
12
|
+
"aria-disabled",
|
|
13
|
+
"tabindex"
|
|
14
|
+
];
|
|
11
15
|
var step_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Step" }), {}, {
|
|
12
16
|
__name: "step",
|
|
13
17
|
props: {
|
|
@@ -114,6 +118,7 @@ var step_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
114
118
|
class: normalizeClass(cls.value),
|
|
115
119
|
role: "listitem",
|
|
116
120
|
"aria-current": stepNumber.value === ((_unref2 = unref(stepsCtx)) === null || _unref2 === void 0 ? void 0 : _unref2.current) ? "step" : void 0,
|
|
121
|
+
"aria-disabled": props.disabled || void 0,
|
|
117
122
|
tabindex: ((_unref3 = unref(stepsCtx)) === null || _unref3 === void 0 ? void 0 : _unref3.changeable) && !props.disabled ? 0 : void 0,
|
|
118
123
|
onClick: handleClick,
|
|
119
124
|
onKeydown
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.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 { stepsInjectionKey } from "./context.js";
|
package/es/switch/index.d.ts
CHANGED
|
@@ -69,8 +69,8 @@ declare const Switch: {
|
|
|
69
69
|
}, import("vue").PublicProps, {
|
|
70
70
|
type: "round" | "circle" | "line";
|
|
71
71
|
disabled: boolean;
|
|
72
|
-
modelValue: string | number | boolean;
|
|
73
72
|
loading: boolean;
|
|
73
|
+
modelValue: string | number | boolean;
|
|
74
74
|
defaultChecked: boolean;
|
|
75
75
|
autoLoading: boolean;
|
|
76
76
|
checkedValue: string | number | boolean;
|
|
@@ -141,8 +141,8 @@ declare const Switch: {
|
|
|
141
141
|
}>, {}, {}, {}, {}, {
|
|
142
142
|
type: "round" | "circle" | "line";
|
|
143
143
|
disabled: boolean;
|
|
144
|
-
modelValue: string | number | boolean;
|
|
145
144
|
loading: boolean;
|
|
145
|
+
modelValue: string | number | boolean;
|
|
146
146
|
defaultChecked: boolean;
|
|
147
147
|
autoLoading: boolean;
|
|
148
148
|
checkedValue: string | number | boolean;
|
|
@@ -215,8 +215,8 @@ declare const Switch: {
|
|
|
215
215
|
}, string, {
|
|
216
216
|
type: "round" | "circle" | "line";
|
|
217
217
|
disabled: boolean;
|
|
218
|
-
modelValue: string | number | boolean;
|
|
219
218
|
loading: boolean;
|
|
219
|
+
modelValue: string | number | boolean;
|
|
220
220
|
defaultChecked: boolean;
|
|
221
221
|
autoLoading: boolean;
|
|
222
222
|
checkedValue: string | number | boolean;
|
|
@@ -239,4 +239,5 @@ declare const Switch: {
|
|
|
239
239
|
install: (app: App, options?: SDOptions) => void;
|
|
240
240
|
};
|
|
241
241
|
export type SwitchInstance = InstanceType<typeof _Switch>;
|
|
242
|
+
export type SwitchProps = SwitchInstance['$props'];
|
|
242
243
|
export default Switch;
|
|
@@ -128,8 +128,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
128
128
|
}>, {
|
|
129
129
|
type: "round" | "circle" | "line";
|
|
130
130
|
disabled: boolean;
|
|
131
|
-
modelValue: string | number | boolean;
|
|
132
131
|
loading: boolean;
|
|
132
|
+
modelValue: string | number | boolean;
|
|
133
133
|
defaultChecked: boolean;
|
|
134
134
|
autoLoading: boolean;
|
|
135
135
|
checkedValue: string | number | boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isFunction, isNull, isUndefined } from "../_utils/is.js";
|
|
5
|
-
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.
|
|
5
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/asyncToGenerator.js";
|
|
6
6
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
7
7
|
import { useSize } from "../_hooks/use-size.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, toRefs, unref, watch } from "vue";
|
|
@@ -10,6 +10,7 @@ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock
|
|
|
10
10
|
var _hoisted_1 = [
|
|
11
11
|
"aria-checked",
|
|
12
12
|
"aria-busy",
|
|
13
|
+
"aria-disabled",
|
|
13
14
|
"disabled"
|
|
14
15
|
];
|
|
15
16
|
var switch_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Switch" }), {}, {
|
|
@@ -252,6 +253,7 @@ var switch_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
252
253
|
role: "switch",
|
|
253
254
|
"aria-checked": computedCheck.value,
|
|
254
255
|
"aria-busy": computedLoading.value || void 0,
|
|
256
|
+
"aria-disabled": computedLoading.value || void 0,
|
|
255
257
|
class: normalizeClass(cls.value),
|
|
256
258
|
style: normalizeStyle(buttonStyle.value),
|
|
257
259
|
disabled: unref(mergedDisabled),
|
package/es/table/index.d.ts
CHANGED
|
@@ -230,7 +230,6 @@ declare const Table: {
|
|
|
230
230
|
}, import("vue").PublicProps, {
|
|
231
231
|
size: "small" | "medium" | "large" | "mini";
|
|
232
232
|
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
233
|
-
data: import("./interface").TableData[];
|
|
234
233
|
loading: boolean | ({
|
|
235
234
|
readonly size?: number | undefined;
|
|
236
235
|
readonly loading?: boolean | undefined;
|
|
@@ -239,6 +238,7 @@ declare const Table: {
|
|
|
239
238
|
readonly tip?: string | undefined;
|
|
240
239
|
readonly hideIcon?: boolean | undefined;
|
|
241
240
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
241
|
+
data: import("./interface").TableData[];
|
|
242
242
|
bordered: boolean | import("./interface").TableBorder;
|
|
243
243
|
columns: import("./interface").TableColumnData[];
|
|
244
244
|
hoverable: boolean;
|
|
@@ -463,7 +463,6 @@ declare const Table: {
|
|
|
463
463
|
}, {}, {}, {}, {
|
|
464
464
|
size: "small" | "medium" | "large" | "mini";
|
|
465
465
|
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
466
|
-
data: import("./interface").TableData[];
|
|
467
466
|
loading: boolean | ({
|
|
468
467
|
readonly size?: number | undefined;
|
|
469
468
|
readonly loading?: boolean | undefined;
|
|
@@ -472,6 +471,7 @@ declare const Table: {
|
|
|
472
471
|
readonly tip?: string | undefined;
|
|
473
472
|
readonly hideIcon?: boolean | undefined;
|
|
474
473
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
474
|
+
data: import("./interface").TableData[];
|
|
475
475
|
bordered: boolean | import("./interface").TableBorder;
|
|
476
476
|
columns: import("./interface").TableColumnData[];
|
|
477
477
|
hoverable: boolean;
|
|
@@ -716,7 +716,6 @@ declare const Table: {
|
|
|
716
716
|
}, string, {
|
|
717
717
|
size: "small" | "medium" | "large" | "mini";
|
|
718
718
|
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
719
|
-
data: import("./interface").TableData[];
|
|
720
719
|
loading: boolean | ({
|
|
721
720
|
readonly size?: number | undefined;
|
|
722
721
|
readonly loading?: boolean | undefined;
|
|
@@ -725,6 +724,7 @@ declare const Table: {
|
|
|
725
724
|
readonly tip?: string | undefined;
|
|
726
725
|
readonly hideIcon?: boolean | undefined;
|
|
727
726
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
727
|
+
data: import("./interface").TableData[];
|
|
728
728
|
bordered: boolean | import("./interface").TableBorder;
|
|
729
729
|
columns: import("./interface").TableColumnData[];
|
|
730
730
|
hoverable: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { useChildrenComponents } from "../_hooks/use-children-components.js";
|
|
3
3
|
import { usePureProp } from "../_hooks/use-pure-prop.js";
|
|
4
4
|
import { tableColumnInjectionKey, tableInjectionKey } from "./context.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { tableInjectionKey } from "./context.js";
|
|
4
4
|
import { getGridSpanStyle, getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { getSlotFunction } from "../_utils/vue-utils.js";
|
|
4
4
|
import { tableInjectionKey } from "./context.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { createBlock, createVNode, defineComponent, openBlock, useSlots } from "vue";
|
|
4
4
|
//#region components/table/table-tbody.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isFunction, isObject } from "../_utils/is.js";
|
|
4
4
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isBoolean, isFunction, isObject } from "../_utils/is.js";
|
|
4
4
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
5
|
+
import { isActivationKey } from "../_utils/keyboard.js";
|
|
5
6
|
import { useI18n } from "../locale/index.js";
|
|
6
7
|
import Trigger from "../trigger/index.js";
|
|
7
8
|
import Button from "../button/index.js";
|
|
@@ -18,6 +19,7 @@ import { useColumnSorter } from "./hooks/use-column-sorter.js";
|
|
|
18
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderList, resolveDynamicComponent, toDisplayString, toRef, unref, useSlots, withCtx, withModifiers } from "vue";
|
|
19
20
|
import { createReusableTemplate } from "@vueuse/core";
|
|
20
21
|
//#region components/table/table-th.vue?vue&type=script&setup=true&lang.ts
|
|
22
|
+
var _hoisted_1 = ["role", "tabindex"];
|
|
21
23
|
var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
22
24
|
name: "Th",
|
|
23
25
|
inheritAttrs: false
|
|
@@ -136,6 +138,12 @@ var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
136
138
|
var _tableCtx$onThMouseDo;
|
|
137
139
|
if (props.column.dataIndex) (_tableCtx$onThMouseDo = tableCtx.onThMouseDown) === null || _tableCtx$onThMouseDo === void 0 || _tableCtx$onThMouseDo.call(tableCtx, props.column.dataIndex, event);
|
|
138
140
|
}
|
|
141
|
+
function handleSorterKeydown(event) {
|
|
142
|
+
if (hasSorter.value && event.target === event.currentTarget && isActivationKey(event)) {
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
handleClickSorter(event);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
139
147
|
return (_ctx, _cache) => {
|
|
140
148
|
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(DefineFilter), null, {
|
|
141
149
|
default: withCtx(() => {
|
|
@@ -223,7 +231,10 @@ var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
223
231
|
default: withCtx(() => [
|
|
224
232
|
createElementVNode("span", {
|
|
225
233
|
class: normalizeClass(cellCls.value),
|
|
226
|
-
|
|
234
|
+
role: unref(hasSorter) ? "button" : void 0,
|
|
235
|
+
tabindex: unref(hasSorter) ? 0 : void 0,
|
|
236
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(hasSorter) ? unref(handleClickSorter)($event) : void 0),
|
|
237
|
+
onKeydown: handleSorterKeydown
|
|
227
238
|
}, [
|
|
228
239
|
column.value.ellipsis && column.value.tooltip ? (openBlock(), createBlock(auto_tooltip_default, {
|
|
229
240
|
key: 0,
|
|
@@ -247,7 +258,7 @@ var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
247
258
|
class: normalizeClass([`${unref(prefixCls)}-sorter-icon`, { [`${unref(prefixCls)}-sorter-icon-active`]: unref(sortOrder) === "descend" }])
|
|
248
259
|
}, [createVNode(unref(IconCaretDown))], 2)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
249
260
|
filterIconAlignLeft.value ? (openBlock(), createBlock(unref(ReuseFilter), { key: 3 })) : createCommentVNode("", true)
|
|
250
|
-
],
|
|
261
|
+
], 42, _hoisted_1),
|
|
251
262
|
!filterIconAlignLeft.value ? (openBlock(), createBlock(unref(ReuseFilter), { key: 0 })) : createCommentVNode("", true),
|
|
252
263
|
__props.resizable ? (openBlock(), createElementBlock("span", {
|
|
253
264
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { createBlock, createVNode, defineComponent, openBlock, useSlots } from "vue";
|
|
4
4
|
//#region components/table/table-thead.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { computed, createBlock, createVNode, defineComponent, openBlock, useSlots } from "vue";
|
|
4
4
|
//#region components/table/table-tr.vue?vue&type=script&setup=true&lang.ts
|
package/es/table/table.vue.d.ts
CHANGED
|
@@ -391,7 +391,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
391
391
|
}>, {
|
|
392
392
|
size: "small" | "medium" | "large" | "mini";
|
|
393
393
|
scrollbar: boolean | ScrollbarProps;
|
|
394
|
-
data: TableData[];
|
|
395
394
|
loading: boolean | ({
|
|
396
395
|
readonly size?: number | undefined;
|
|
397
396
|
readonly loading?: boolean | undefined;
|
|
@@ -400,6 +399,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
400
399
|
readonly tip?: string | undefined;
|
|
401
400
|
readonly hideIcon?: boolean | undefined;
|
|
402
401
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
402
|
+
data: TableData[];
|
|
403
403
|
bordered: boolean | TableBorder;
|
|
404
404
|
columns: TableColumnData[];
|
|
405
405
|
hoverable: boolean;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
2
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isArray, isFunction, isNull, isNumber, isObject, isString, isUndefined } from "../_utils/is.js";
|
|
5
5
|
import resize_observer_default from "../_components/resize-observer.js";
|
|
6
|
-
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.
|
|
6
|
+
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectWithoutProperties.js";
|
|
7
7
|
import virtual_list_default from "../_components/virtual-list/index.js";
|
|
8
8
|
import { omit } from "../_utils/omit.js";
|
|
9
|
-
import { useComponentRef } from "../_hooks/use-component-ref.js";
|
|
10
9
|
import { useScrollbar } from "../_hooks/use-scrollbar.js";
|
|
11
10
|
import Empty from "../empty/index.js";
|
|
12
11
|
import Scrollbar from "../scrollbar/index.js";
|
|
@@ -20,6 +19,7 @@ import table_td_default from "./table-td.js";
|
|
|
20
19
|
import table_th_default from "./table-th.js";
|
|
21
20
|
import table_thead_default from "./table-thead.js";
|
|
22
21
|
import table_tr_default from "./table-tr.js";
|
|
22
|
+
import { useComponentRef } from "../_hooks/use-component-ref.js";
|
|
23
23
|
import { debounce } from "../_utils/debounce.js";
|
|
24
24
|
import IconMinus from "../icon/icon-minus/index.js";
|
|
25
25
|
import IconPlus from "../icon/icon-plus/index.js";
|
|
@@ -34,7 +34,7 @@ import { useSorter } from "./hooks/use-sorter.js";
|
|
|
34
34
|
import { useSpan } from "./hooks/use-span.js";
|
|
35
35
|
import table_operation_td_default from "./table-operation-td.js";
|
|
36
36
|
import table_operation_th_default from "./table-operation-th.js";
|
|
37
|
-
import { Fragment, computed, createBlock, createVNode, defineComponent, inject, isVNode, mergeProps, onMounted, openBlock, provide, reactive, ref, toRef, useSlots, watch, watchEffect } from "vue";
|
|
37
|
+
import { Fragment, computed, createBlock, createVNode, defineComponent, inject, isVNode, mergeProps, onBeforeUnmount, onBeforeUpdate, onMounted, openBlock, provide, reactive, ref, shallowReactive, toRef, useSlots, watch, watchEffect } from "vue";
|
|
38
38
|
//#region components/table/table.vue?vue&type=script&setup=true&lang.ts
|
|
39
39
|
var _excluded = [
|
|
40
40
|
"items",
|
|
@@ -594,6 +594,11 @@ var table_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
594
594
|
* @version 2.26.0
|
|
595
595
|
*/
|
|
596
596
|
const slots = useSlots();
|
|
597
|
+
const cellSlots = shallowReactive(_objectSpread2({}, slots));
|
|
598
|
+
onBeforeUpdate(() => {
|
|
599
|
+
for (const name of Object.keys(cellSlots)) if (!slots[name]) delete cellSlots[name];
|
|
600
|
+
Object.assign(cellSlots, slots);
|
|
601
|
+
});
|
|
597
602
|
const VNodeRenderer = ({ content }) => content;
|
|
598
603
|
const columns = toRef(props, "columns");
|
|
599
604
|
const rowKey = toRef(props, "rowKey");
|
|
@@ -995,6 +1000,10 @@ var table_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
995
1000
|
const handleCellMouseLeave = debounce((record, column, ev) => {
|
|
996
1001
|
emit("cellMouseLeave", record.raw, column, ev);
|
|
997
1002
|
}, 30);
|
|
1003
|
+
onBeforeUnmount(() => {
|
|
1004
|
+
handleCellMouseEnter.cancel();
|
|
1005
|
+
handleCellMouseLeave.cancel();
|
|
1006
|
+
});
|
|
998
1007
|
const handleCellDblclick = (record, column, ev) => {
|
|
999
1008
|
emit("cellDblclick", record.raw, column, ev);
|
|
1000
1009
|
};
|
|
@@ -1075,7 +1084,7 @@ var table_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1075
1084
|
provide(tableInjectionKey, reactive({
|
|
1076
1085
|
loadMore,
|
|
1077
1086
|
addLazyLoadData,
|
|
1078
|
-
slots,
|
|
1087
|
+
slots: cellSlots,
|
|
1079
1088
|
sorter: computedSorter,
|
|
1080
1089
|
filters: computedFilters,
|
|
1081
1090
|
filterIconAlignLeft,
|
package/es/table/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { isArray, isNull, isUndefined } from "../_utils/is.js";
|
|
3
3
|
//#region components/table/utils.ts
|
|
4
4
|
var getDataColumnsNumber = (columns) => {
|
package/es/tabs/index.d.ts
CHANGED
|
@@ -329,55 +329,7 @@ declare const Tabs: {
|
|
|
329
329
|
extra(): unknown;
|
|
330
330
|
};
|
|
331
331
|
}) & {
|
|
332
|
-
TabPane: {
|
|
333
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
334
|
-
title: StringConstructor;
|
|
335
|
-
disabled: {
|
|
336
|
-
type: BooleanConstructor;
|
|
337
|
-
default: boolean;
|
|
338
|
-
};
|
|
339
|
-
closable: {
|
|
340
|
-
type: BooleanConstructor;
|
|
341
|
-
default: boolean;
|
|
342
|
-
};
|
|
343
|
-
destroyOnHide: {
|
|
344
|
-
type: BooleanConstructor;
|
|
345
|
-
default: boolean;
|
|
346
|
-
};
|
|
347
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
348
|
-
disabled: boolean;
|
|
349
|
-
closable: boolean;
|
|
350
|
-
destroyOnHide: boolean;
|
|
351
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
352
|
-
P: {};
|
|
353
|
-
B: {};
|
|
354
|
-
D: {};
|
|
355
|
-
C: {};
|
|
356
|
-
M: {};
|
|
357
|
-
Defaults: {};
|
|
358
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
359
|
-
title: StringConstructor;
|
|
360
|
-
disabled: {
|
|
361
|
-
type: BooleanConstructor;
|
|
362
|
-
default: boolean;
|
|
363
|
-
};
|
|
364
|
-
closable: {
|
|
365
|
-
type: BooleanConstructor;
|
|
366
|
-
default: boolean;
|
|
367
|
-
};
|
|
368
|
-
destroyOnHide: {
|
|
369
|
-
type: BooleanConstructor;
|
|
370
|
-
default: boolean;
|
|
371
|
-
};
|
|
372
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
373
|
-
disabled: boolean;
|
|
374
|
-
closable: boolean;
|
|
375
|
-
destroyOnHide: boolean;
|
|
376
|
-
}>;
|
|
377
|
-
__isFragment?: never;
|
|
378
|
-
__isTeleport?: never;
|
|
379
|
-
__isSuspense?: never;
|
|
380
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
332
|
+
TabPane: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
381
333
|
title: StringConstructor;
|
|
382
334
|
disabled: {
|
|
383
335
|
type: BooleanConstructor;
|
|
@@ -391,21 +343,31 @@ declare const Tabs: {
|
|
|
391
343
|
type: BooleanConstructor;
|
|
392
344
|
default: boolean;
|
|
393
345
|
};
|
|
394
|
-
}
|
|
346
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
347
|
+
title: StringConstructor;
|
|
348
|
+
disabled: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: boolean;
|
|
351
|
+
};
|
|
352
|
+
closable: {
|
|
353
|
+
type: BooleanConstructor;
|
|
354
|
+
default: boolean;
|
|
355
|
+
};
|
|
356
|
+
destroyOnHide: {
|
|
357
|
+
type: BooleanConstructor;
|
|
358
|
+
default: boolean;
|
|
359
|
+
};
|
|
360
|
+
}>> & Readonly<{}>, {
|
|
395
361
|
disabled: boolean;
|
|
396
362
|
closable: boolean;
|
|
397
363
|
destroyOnHide: boolean;
|
|
398
|
-
}, {},
|
|
399
|
-
$slots: {
|
|
400
|
-
default?: (props: {}) => any;
|
|
401
|
-
} & {
|
|
402
|
-
default?: (props: {}) => any;
|
|
403
|
-
};
|
|
404
|
-
});
|
|
364
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
405
365
|
install: (app: App, options?: SDOptions) => void;
|
|
406
366
|
};
|
|
407
367
|
export type TabsInstance = InstanceType<typeof _Tabs>;
|
|
408
368
|
export type TabPaneInstance = InstanceType<typeof _TabPane>;
|
|
369
|
+
export type TabsProps = TabsInstance['$props'];
|
|
370
|
+
export type TabPaneProps = TabPaneInstance['$props'];
|
|
409
371
|
export type { ScrollPosition, TabTriggerEvent, TabsPosition, TabsType } from './interface';
|
|
410
372
|
export { _TabPane as TabPane };
|
|
411
373
|
export default Tabs;
|
package/es/tabs/style/index.css
CHANGED
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
.sd-tabs-tab-close-btn {
|
|
34
34
|
margin-left: 8px;
|
|
35
|
+
padding: 0;
|
|
36
|
+
color: inherit;
|
|
37
|
+
font: inherit;
|
|
38
|
+
background: none;
|
|
39
|
+
border: 0;
|
|
35
40
|
user-select: none;
|
|
36
41
|
}
|
|
37
42
|
.sd-tabs-nav-add-btn {
|
|
@@ -39,12 +44,23 @@
|
|
|
39
44
|
align-items: center;
|
|
40
45
|
justify-content: center;
|
|
41
46
|
padding: 0 8px;
|
|
47
|
+
color: inherit;
|
|
48
|
+
font: inherit;
|
|
42
49
|
font-size: 12px;
|
|
50
|
+
background: none;
|
|
51
|
+
border: 0;
|
|
43
52
|
user-select: none;
|
|
44
53
|
}
|
|
45
54
|
.sd-tabs-add {
|
|
46
55
|
position: relative;
|
|
47
56
|
}
|
|
57
|
+
.sd-tabs-nav-button {
|
|
58
|
+
padding: 0;
|
|
59
|
+
color: inherit;
|
|
60
|
+
font: inherit;
|
|
61
|
+
background: none;
|
|
62
|
+
border: 0;
|
|
63
|
+
}
|
|
48
64
|
.sd-tabs-nav-button-left {
|
|
49
65
|
margin-right: 6px;
|
|
50
66
|
margin-left: 10px;
|
|
@@ -407,7 +423,7 @@
|
|
|
407
423
|
border-top: none;
|
|
408
424
|
}
|
|
409
425
|
.sd-tabs-content-animation {
|
|
410
|
-
transition:
|
|
426
|
+
transition: transform 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
411
427
|
}
|
|
412
428
|
.sd-tabs-horizontal.sd-tabs-justify {
|
|
413
429
|
display: flex;
|
package/es/tabs/style/index.scss
CHANGED
|
@@ -79,6 +79,11 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
79
79
|
|
|
80
80
|
&-tab-close-btn {
|
|
81
81
|
margin-left: $tabs-margin-close-icon-left;
|
|
82
|
+
padding: 0;
|
|
83
|
+
color: inherit;
|
|
84
|
+
font: inherit;
|
|
85
|
+
background: none;
|
|
86
|
+
border: 0;
|
|
82
87
|
user-select: none;
|
|
83
88
|
}
|
|
84
89
|
|
|
@@ -87,7 +92,11 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
87
92
|
align-items: center;
|
|
88
93
|
justify-content: center;
|
|
89
94
|
padding: 0 $tabs-margin-add-icon-left;
|
|
95
|
+
color: inherit;
|
|
96
|
+
font: inherit;
|
|
90
97
|
font-size: $tabs-size-icon;
|
|
98
|
+
background: none;
|
|
99
|
+
border: 0;
|
|
91
100
|
user-select: none;
|
|
92
101
|
}
|
|
93
102
|
|
|
@@ -96,6 +105,12 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
96
105
|
}
|
|
97
106
|
|
|
98
107
|
&-nav-button {
|
|
108
|
+
padding: 0;
|
|
109
|
+
color: inherit;
|
|
110
|
+
font: inherit;
|
|
111
|
+
background: none;
|
|
112
|
+
border: 0;
|
|
113
|
+
|
|
99
114
|
&-left {
|
|
100
115
|
margin-right: $tabs-spacing-nav-icon-header;
|
|
101
116
|
margin-left: $tabs-padding-header-wrapper-horizontal;
|
|
@@ -627,7 +642,8 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
627
642
|
}
|
|
628
643
|
|
|
629
644
|
&-content-animation {
|
|
630
|
-
|
|
645
|
+
// transform 位移动画由合成器处理,避免重型面板逐帧 reflow
|
|
646
|
+
transition: transform theme.$transition-duration-2 theme.$transition-timing-function-standard;
|
|
631
647
|
}
|
|
632
648
|
|
|
633
649
|
&-horizontal#{&}-justify {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_7) => any;
|
|
4
|
-
} & {
|
|
5
|
-
default?: (props: typeof __VLS_9) => any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
2
|
title: StringConstructor;
|
|
9
3
|
disabled: {
|
|
10
4
|
type: BooleanConstructor;
|
|
@@ -37,11 +31,5 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
31
|
closable: boolean;
|
|
38
32
|
destroyOnHide: boolean;
|
|
39
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
34
|
declare const _default: typeof __VLS_export;
|
|
42
35
|
export default _default;
|
|
43
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
-
new (): {
|
|
45
|
-
$slots: S;
|
|
46
|
-
};
|
|
47
|
-
};
|