@sdata/web-vue 4.5.0 → 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 +73 -8
- 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 +73 -8
- 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 +2 -0
- package/es/tabs/style/index.css +16 -0
- package/es/tabs/style/index.scss +15 -0
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 +1 -1
- 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
|
@@ -43,10 +43,12 @@ function useImageDrag(props) {
|
|
|
43
43
|
off(window, "mouseup", onMoveEnd, false);
|
|
44
44
|
}
|
|
45
45
|
watchEffect((onInvalidate) => {
|
|
46
|
-
|
|
46
|
+
const image = imageEl.value;
|
|
47
|
+
image && on(image, "mousedown", onMoveStart);
|
|
47
48
|
onInvalidate(() => {
|
|
48
|
-
|
|
49
|
+
image && off(image, "mousedown", onMoveStart);
|
|
49
50
|
offEvents();
|
|
51
|
+
moving.value = false;
|
|
50
52
|
});
|
|
51
53
|
});
|
|
52
54
|
watch([scale], () => {
|
|
@@ -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 { createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
4
4
|
//#region components/image/image-footer.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 { isBoolean } from "../_utils/is.js";
|
|
4
4
|
import { isServerRendering } from "../_utils/dom.js";
|
|
@@ -12,7 +12,7 @@ import useImageLoadStatus from "./hooks/use-image-load-status.js";
|
|
|
12
12
|
import image_footer_default from "./image-footer.js";
|
|
13
13
|
import preview_default from "./preview.js";
|
|
14
14
|
import { normalizeImageSizeProp } from "./utils/index.js";
|
|
15
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, normalizeClass, normalizeStyle, openBlock, reactive, ref, renderSlot, toDisplayString, toRefs, unref, useAttrs, useSlots, watchEffect, withCtx } from "vue";
|
|
15
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, inject, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, reactive, ref, renderSlot, toDisplayString, toRefs, unref, useAttrs, useSlots, watchEffect, withCtx } from "vue";
|
|
16
16
|
//#region components/image/image.vue?vue&type=script&setup=true&lang.ts
|
|
17
17
|
var _hoisted_1 = ["title", "alt"];
|
|
18
18
|
var image_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
@@ -127,7 +127,6 @@ var image_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["preview-visible-change", "update:previewVisible"],
|
|
129
129
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
130
|
-
let uuid = 0;
|
|
131
130
|
const props = __props;
|
|
132
131
|
const emit = __emit;
|
|
133
132
|
/**
|
|
@@ -187,22 +186,27 @@ var image_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
187
186
|
const mergePreview = computed(() => !(groupContext === null || groupContext === void 0 ? void 0 : groupContext.preview) && preview.value);
|
|
188
187
|
watchEffect(() => {
|
|
189
188
|
if (isServerRendering || !refImg.value) return;
|
|
190
|
-
if (!(src === null || src === void 0 ? void 0 : src.value))
|
|
189
|
+
if (!(src === null || src === void 0 ? void 0 : src.value)) {
|
|
190
|
+
refImg.value.removeAttribute("src");
|
|
191
|
+
setLoadStatus("beforeLoad");
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
191
194
|
refImg.value.src = src === null || src === void 0 ? void 0 : src.value;
|
|
192
195
|
setLoadStatus("loading");
|
|
193
196
|
});
|
|
194
|
-
const imageId =
|
|
195
|
-
|
|
197
|
+
const imageId = getCurrentInstance().uid;
|
|
198
|
+
let unregisterImage;
|
|
199
|
+
watchEffect(() => {
|
|
196
200
|
var _groupContext$registe, _previewProps$value$s, _previewProps$value;
|
|
197
|
-
|
|
198
|
-
onInvalidate(() => {
|
|
199
|
-
unRegister === null || unRegister === void 0 || unRegister();
|
|
200
|
-
});
|
|
201
|
+
unregisterImage = groupContext === null || groupContext === void 0 || (_groupContext$registe = groupContext.registerImageUrl) === null || _groupContext$registe === void 0 ? void 0 : _groupContext$registe.call(groupContext, imageId, ((_previewProps$value$s = previewProps === null || previewProps === void 0 || (_previewProps$value = previewProps.value) === null || _previewProps$value === void 0 ? void 0 : _previewProps$value.src) !== null && _previewProps$value$s !== void 0 ? _previewProps$value$s : src === null || src === void 0 ? void 0 : src.value) || "", preview.value);
|
|
201
202
|
});
|
|
203
|
+
onBeforeUnmount(() => unregisterImage === null || unregisterImage === void 0 ? void 0 : unregisterImage());
|
|
202
204
|
function onImgLoaded() {
|
|
205
|
+
if (!(src === null || src === void 0 ? void 0 : src.value)) return;
|
|
203
206
|
setLoadStatus("loaded");
|
|
204
207
|
}
|
|
205
208
|
function onImgLoadError() {
|
|
209
|
+
if (!(src === null || src === void 0 ? void 0 : src.value)) return;
|
|
206
210
|
setLoadStatus("error");
|
|
207
211
|
}
|
|
208
212
|
function onImgClick() {
|
|
@@ -9,14 +9,18 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
9
9
|
disabled: {
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
click: (event: MouseEvent) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
15
|
name: {
|
|
14
16
|
type: StringConstructor;
|
|
15
17
|
};
|
|
16
18
|
disabled: {
|
|
17
19
|
type: BooleanConstructor;
|
|
18
20
|
};
|
|
19
|
-
}>> & Readonly<{
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
}>, {
|
|
20
24
|
disabled: boolean;
|
|
21
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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 Tooltip from "../tooltip/index.js";
|
|
4
4
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, unref, useSlots, withCtx } from "vue";
|
|
@@ -24,7 +24,13 @@ var preview_action_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
24
24
|
*/
|
|
25
25
|
disabled: { type: Boolean }
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
emits: ["click"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emit = __emit;
|
|
31
|
+
const onClick = (event) => {
|
|
32
|
+
if (!props.disabled) emit("click", event);
|
|
33
|
+
};
|
|
28
34
|
const slots = useSlots();
|
|
29
35
|
const prefixCls = getPrefixCls("image-preview-toolbar-action");
|
|
30
36
|
const [DefineContent, ReuseContent] = createReusableTemplate();
|
|
@@ -38,7 +44,10 @@ var preview_action_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
38
44
|
};
|
|
39
45
|
return (_ctx, _cache) => {
|
|
40
46
|
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(DefineContent), null, {
|
|
41
|
-
default: withCtx(() => [createElementVNode("div", mergeProps({ class: [unref(prefixCls), { [`${unref(prefixCls)}-disabled`]: __props.disabled }] }, _ctx.$attrs, {
|
|
47
|
+
default: withCtx(() => [createElementVNode("div", mergeProps({ class: [unref(prefixCls), { [`${unref(prefixCls)}-disabled`]: __props.disabled }] }, _ctx.$attrs, {
|
|
48
|
+
onMousedown: onMouseDown,
|
|
49
|
+
onClick
|
|
50
|
+
}), [createElementVNode("span", { class: normalizeClass(`${unref(prefixCls)}-content`) }, [renderSlot(_ctx.$slots, "default")], 2)], 16)]),
|
|
42
51
|
_: 3
|
|
43
52
|
}), hasContent() ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.name ? (openBlock(), createBlock(unref(Tooltip), {
|
|
44
53
|
key: 0,
|
|
@@ -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 IconLeft from "../icon/icon-left/index.js";
|
|
4
4
|
import IconRight from "../icon/icon-right/index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import useMergeState from "../_hooks/use-merge-state.js";
|
|
4
4
|
import { PreviewGroupInjectionKey } from "./context.js";
|
|
5
5
|
import preview_default from "./preview.js";
|
|
6
|
-
import { Fragment, computed, createElementBlock, createSlots, createVNode, defineComponent, mergeProps, openBlock, provide, reactive, ref, renderSlot, toRefs, unref,
|
|
6
|
+
import { Fragment, computed, createElementBlock, createSlots, createVNode, defineComponent, mergeProps, openBlock, provide, reactive, ref, renderSlot, toRefs, unref, withCtx } from "vue";
|
|
7
7
|
//#region components/image/preview-group.vue?vue&type=script&setup=true&lang.tsx
|
|
8
8
|
var preview_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
9
9
|
name: "ImagePreviewGroup",
|
|
@@ -124,21 +124,19 @@ var preview_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
124
124
|
url,
|
|
125
125
|
canPreview: true
|
|
126
126
|
}]) : []));
|
|
127
|
-
const
|
|
127
|
+
const registeredImages = ref(/* @__PURE__ */ new Map());
|
|
128
|
+
const imageUrlMap = computed(() => isArray(srcList === null || srcList === void 0 ? void 0 : srcList.value) ? propImageUrlMap.value : registeredImages.value);
|
|
128
129
|
const imageIdList = computed(() => Array.from(imageUrlMap.value.keys()));
|
|
129
130
|
const imageCount = computed(() => imageIdList.value.length);
|
|
130
131
|
function registerImageUrl(id, url, canPreview) {
|
|
131
|
-
|
|
132
|
+
registeredImages.value.set(id, {
|
|
132
133
|
url,
|
|
133
134
|
canPreview
|
|
134
135
|
});
|
|
135
136
|
return function unRegisterPreviewUrl() {
|
|
136
|
-
|
|
137
|
+
registeredImages.value.delete(id);
|
|
137
138
|
};
|
|
138
139
|
}
|
|
139
|
-
watch(propImageUrlMap, () => {
|
|
140
|
-
imageUrlMap.value = new Map(propImageUrlMap.value || []);
|
|
141
|
-
});
|
|
142
140
|
const [currentIndex, setLocalCurrentIndex] = useMergeState(defaultCurrent.value, reactive({ value: current }));
|
|
143
141
|
const setCurrentIndex = (index) => {
|
|
144
142
|
if (index !== currentIndex.value) {
|
|
@@ -160,7 +158,7 @@ var preview_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
160
158
|
registerImageUrl,
|
|
161
159
|
preview: (imageId) => {
|
|
162
160
|
setVisible(true);
|
|
163
|
-
setCurrentId(imageId);
|
|
161
|
+
if (!isArray(srcList === null || srcList === void 0 ? void 0 : srcList.value)) setCurrentId(imageId);
|
|
164
162
|
}
|
|
165
163
|
}));
|
|
166
164
|
const nextIndex = computed(() => {
|
|
@@ -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 preview_action_default from "./preview-action.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, normalizeClass, openBlock, renderList, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
|
|
@@ -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 { off, on } from "../_utils/dom.js";
|
|
4
4
|
import { throttleByRaf } from "../_utils/throttle-by-raf.js";
|
|
@@ -158,7 +158,7 @@ var preview_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
158
158
|
const classNames = computed(() => [prefixCls, { [`${prefixCls}-hide`]: !mergedVisible.value }]);
|
|
159
159
|
const container = usePopupContainer(document.body, reactive({ popupContainer }));
|
|
160
160
|
const isFixed = computed(() => container.value === document.body);
|
|
161
|
-
const { zIndex } = usePopupManager("dialog", { visible: mergedVisible });
|
|
161
|
+
const { zIndex, close: releasePopup } = usePopupManager("dialog", { visible: mergedVisible });
|
|
162
162
|
const wrapperStyles = computed(() => {
|
|
163
163
|
const positionStyles = isFixed.value ? {
|
|
164
164
|
zIndex: zIndex.value,
|
|
@@ -226,29 +226,24 @@ var preview_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
226
226
|
const action = (e.deltaY || e.deltaX) > 0 ? "zoomOut" : "zoomIn";
|
|
227
227
|
changeScale(getScaleByRate(scale.value, zoomRate.value, action));
|
|
228
228
|
});
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
const removeGlobalKeyDownListener = () => {
|
|
241
|
-
if (globalKeyDownListener) {
|
|
242
|
-
globalKeyDownListener = false;
|
|
243
|
-
off(container.value, "keydown", handleKeyDown);
|
|
244
|
-
}
|
|
245
|
-
};
|
|
229
|
+
watch([
|
|
230
|
+
mergedVisible,
|
|
231
|
+
() => props.keyboard,
|
|
232
|
+
container
|
|
233
|
+
], ([visible, keyboard, target], _, onCleanup) => {
|
|
234
|
+
if (!visible || !keyboard) return;
|
|
235
|
+
on(target, "keydown", handleKeyDown);
|
|
236
|
+
onCleanup(() => off(target, "keydown", handleKeyDown));
|
|
237
|
+
}, { immediate: true });
|
|
246
238
|
watch([src, mergedVisible], () => {
|
|
247
239
|
if (mergedVisible.value) {
|
|
248
240
|
reset();
|
|
249
241
|
setLoadStatus("loading");
|
|
250
|
-
|
|
251
|
-
|
|
242
|
+
nextTick(() => {
|
|
243
|
+
var _refWrapper$value;
|
|
244
|
+
return (_refWrapper$value = refWrapper.value) === null || _refWrapper$value === void 0 ? void 0 : _refWrapper$value.focus();
|
|
245
|
+
});
|
|
246
|
+
}
|
|
252
247
|
}, { immediate: true });
|
|
253
248
|
function close() {
|
|
254
249
|
if (mergedVisible.value) {
|
|
@@ -283,7 +278,7 @@ var preview_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
283
278
|
changeScale(getScale(scale.value, action));
|
|
284
279
|
}
|
|
285
280
|
onBeforeUnmount(() => {
|
|
286
|
-
|
|
281
|
+
releasePopup();
|
|
287
282
|
});
|
|
288
283
|
const onCloseClick = close;
|
|
289
284
|
const onImgLoad = () => {
|
package/es/index.css
CHANGED
|
@@ -3679,8 +3679,11 @@ body {
|
|
|
3679
3679
|
transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
3680
3680
|
}
|
|
3681
3681
|
.sd-upload-list-picture-operation {
|
|
3682
|
-
display:
|
|
3682
|
+
display: flex;
|
|
3683
|
+
justify-content: space-evenly;
|
|
3683
3684
|
font-size: 14px;
|
|
3685
|
+
opacity: 0;
|
|
3686
|
+
pointer-events: none;
|
|
3684
3687
|
}
|
|
3685
3688
|
.sd-upload-list-picture-operation .sd-upload-icon-retry {
|
|
3686
3689
|
color: var(--sd-color-white);
|
|
@@ -3689,14 +3692,14 @@ body {
|
|
|
3689
3692
|
color: var(--sd-color-white);
|
|
3690
3693
|
font-size: 26px;
|
|
3691
3694
|
}
|
|
3692
|
-
.sd-upload-list-picture-mask:hover {
|
|
3695
|
+
.sd-upload-list-picture-mask:hover, .sd-upload-list-picture-mask:focus-within {
|
|
3693
3696
|
opacity: 1;
|
|
3694
3697
|
}
|
|
3695
|
-
.sd-upload-list-picture-mask:hover .sd-upload-list-picture-operation {
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
+
.sd-upload-list-picture-mask:hover .sd-upload-list-picture-operation, .sd-upload-list-picture-mask:focus-within .sd-upload-list-picture-operation {
|
|
3699
|
+
opacity: 1;
|
|
3700
|
+
pointer-events: auto;
|
|
3698
3701
|
}
|
|
3699
|
-
.sd-upload-list-picture-mask:hover .sd-upload-list-picture-error-tip {
|
|
3702
|
+
.sd-upload-list-picture-mask:hover .sd-upload-list-picture-error-tip, .sd-upload-list-picture-mask:focus-within .sd-upload-list-picture-error-tip {
|
|
3700
3703
|
display: none;
|
|
3701
3704
|
}
|
|
3702
3705
|
.sd-upload-list-type-picture .sd-upload-list-item-content {
|
|
@@ -5269,8 +5272,8 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5269
5272
|
.sd-textarea-wrapper.sd-textarea-scroll .sd-textarea-clear-btn {
|
|
5270
5273
|
right: 25px;
|
|
5271
5274
|
}
|
|
5272
|
-
.sd-textarea-wrapper:hover .sd-textarea-clear-btn {
|
|
5273
|
-
|
|
5275
|
+
.sd-textarea-wrapper:hover .sd-textarea-clear-btn, .sd-textarea-wrapper:focus-within .sd-textarea-clear-btn {
|
|
5276
|
+
visibility: visible;
|
|
5274
5277
|
}
|
|
5275
5278
|
.sd-textarea-wrapper .sd-textarea-mirror {
|
|
5276
5279
|
position: absolute;
|
|
@@ -5450,6 +5453,11 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5450
5453
|
}
|
|
5451
5454
|
.sd-tabs-tab-close-btn {
|
|
5452
5455
|
margin-left: 8px;
|
|
5456
|
+
padding: 0;
|
|
5457
|
+
color: inherit;
|
|
5458
|
+
font: inherit;
|
|
5459
|
+
background: none;
|
|
5460
|
+
border: 0;
|
|
5453
5461
|
user-select: none;
|
|
5454
5462
|
}
|
|
5455
5463
|
.sd-tabs-nav-add-btn {
|
|
@@ -5457,12 +5465,23 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5457
5465
|
align-items: center;
|
|
5458
5466
|
justify-content: center;
|
|
5459
5467
|
padding: 0 8px;
|
|
5468
|
+
color: inherit;
|
|
5469
|
+
font: inherit;
|
|
5460
5470
|
font-size: 12px;
|
|
5471
|
+
background: none;
|
|
5472
|
+
border: 0;
|
|
5461
5473
|
user-select: none;
|
|
5462
5474
|
}
|
|
5463
5475
|
.sd-tabs-add {
|
|
5464
5476
|
position: relative;
|
|
5465
5477
|
}
|
|
5478
|
+
.sd-tabs-nav-button {
|
|
5479
|
+
padding: 0;
|
|
5480
|
+
color: inherit;
|
|
5481
|
+
font: inherit;
|
|
5482
|
+
background: none;
|
|
5483
|
+
border: 0;
|
|
5484
|
+
}
|
|
5466
5485
|
.sd-tabs-nav-button-left {
|
|
5467
5486
|
margin-right: 6px;
|
|
5468
5487
|
margin-left: 10px;
|
|
@@ -14080,6 +14099,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14080
14099
|
flex: 0 0 100%;
|
|
14081
14100
|
width: 100%;
|
|
14082
14101
|
}
|
|
14102
|
+
.sd-col-offset-0 {
|
|
14103
|
+
margin-left: 0%;
|
|
14104
|
+
}
|
|
14083
14105
|
.sd-col-offset-1 {
|
|
14084
14106
|
margin-left: 4.1666666667%;
|
|
14085
14107
|
}
|
|
@@ -14149,6 +14171,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14149
14171
|
.sd-col-offset-23 {
|
|
14150
14172
|
margin-left: 95.8333333333%;
|
|
14151
14173
|
}
|
|
14174
|
+
.sd-col-order-0 {
|
|
14175
|
+
order: 0;
|
|
14176
|
+
}
|
|
14152
14177
|
.sd-col-order-1 {
|
|
14153
14178
|
order: 1;
|
|
14154
14179
|
}
|
|
@@ -14317,6 +14342,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14317
14342
|
flex: 0 0 100%;
|
|
14318
14343
|
width: 100%;
|
|
14319
14344
|
}
|
|
14345
|
+
.sd-col-xs-offset-0 {
|
|
14346
|
+
margin-left: 0%;
|
|
14347
|
+
}
|
|
14320
14348
|
.sd-col-xs-offset-1 {
|
|
14321
14349
|
margin-left: 4.1666666667%;
|
|
14322
14350
|
}
|
|
@@ -14386,6 +14414,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14386
14414
|
.sd-col-xs-offset-23 {
|
|
14387
14415
|
margin-left: 95.8333333333%;
|
|
14388
14416
|
}
|
|
14417
|
+
.sd-col-xs-order-0 {
|
|
14418
|
+
order: 0;
|
|
14419
|
+
}
|
|
14389
14420
|
.sd-col-xs-order-1 {
|
|
14390
14421
|
order: 1;
|
|
14391
14422
|
}
|
|
@@ -14555,6 +14586,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14555
14586
|
flex: 0 0 100%;
|
|
14556
14587
|
width: 100%;
|
|
14557
14588
|
}
|
|
14589
|
+
.sd-col-sm-offset-0 {
|
|
14590
|
+
margin-left: 0%;
|
|
14591
|
+
}
|
|
14558
14592
|
.sd-col-sm-offset-1 {
|
|
14559
14593
|
margin-left: 4.1666666667%;
|
|
14560
14594
|
}
|
|
@@ -14624,6 +14658,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14624
14658
|
.sd-col-sm-offset-23 {
|
|
14625
14659
|
margin-left: 95.8333333333%;
|
|
14626
14660
|
}
|
|
14661
|
+
.sd-col-sm-order-0 {
|
|
14662
|
+
order: 0;
|
|
14663
|
+
}
|
|
14627
14664
|
.sd-col-sm-order-1 {
|
|
14628
14665
|
order: 1;
|
|
14629
14666
|
}
|
|
@@ -14794,6 +14831,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14794
14831
|
flex: 0 0 100%;
|
|
14795
14832
|
width: 100%;
|
|
14796
14833
|
}
|
|
14834
|
+
.sd-col-md-offset-0 {
|
|
14835
|
+
margin-left: 0%;
|
|
14836
|
+
}
|
|
14797
14837
|
.sd-col-md-offset-1 {
|
|
14798
14838
|
margin-left: 4.1666666667%;
|
|
14799
14839
|
}
|
|
@@ -14863,6 +14903,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
14863
14903
|
.sd-col-md-offset-23 {
|
|
14864
14904
|
margin-left: 95.8333333333%;
|
|
14865
14905
|
}
|
|
14906
|
+
.sd-col-md-order-0 {
|
|
14907
|
+
order: 0;
|
|
14908
|
+
}
|
|
14866
14909
|
.sd-col-md-order-1 {
|
|
14867
14910
|
order: 1;
|
|
14868
14911
|
}
|
|
@@ -15033,6 +15076,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15033
15076
|
flex: 0 0 100%;
|
|
15034
15077
|
width: 100%;
|
|
15035
15078
|
}
|
|
15079
|
+
.sd-col-lg-offset-0 {
|
|
15080
|
+
margin-left: 0%;
|
|
15081
|
+
}
|
|
15036
15082
|
.sd-col-lg-offset-1 {
|
|
15037
15083
|
margin-left: 4.1666666667%;
|
|
15038
15084
|
}
|
|
@@ -15102,6 +15148,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15102
15148
|
.sd-col-lg-offset-23 {
|
|
15103
15149
|
margin-left: 95.8333333333%;
|
|
15104
15150
|
}
|
|
15151
|
+
.sd-col-lg-order-0 {
|
|
15152
|
+
order: 0;
|
|
15153
|
+
}
|
|
15105
15154
|
.sd-col-lg-order-1 {
|
|
15106
15155
|
order: 1;
|
|
15107
15156
|
}
|
|
@@ -15272,6 +15321,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15272
15321
|
flex: 0 0 100%;
|
|
15273
15322
|
width: 100%;
|
|
15274
15323
|
}
|
|
15324
|
+
.sd-col-xl-offset-0 {
|
|
15325
|
+
margin-left: 0%;
|
|
15326
|
+
}
|
|
15275
15327
|
.sd-col-xl-offset-1 {
|
|
15276
15328
|
margin-left: 4.1666666667%;
|
|
15277
15329
|
}
|
|
@@ -15341,6 +15393,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15341
15393
|
.sd-col-xl-offset-23 {
|
|
15342
15394
|
margin-left: 95.8333333333%;
|
|
15343
15395
|
}
|
|
15396
|
+
.sd-col-xl-order-0 {
|
|
15397
|
+
order: 0;
|
|
15398
|
+
}
|
|
15344
15399
|
.sd-col-xl-order-1 {
|
|
15345
15400
|
order: 1;
|
|
15346
15401
|
}
|
|
@@ -15511,6 +15566,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15511
15566
|
flex: 0 0 100%;
|
|
15512
15567
|
width: 100%;
|
|
15513
15568
|
}
|
|
15569
|
+
.sd-col-xxl-offset-0 {
|
|
15570
|
+
margin-left: 0%;
|
|
15571
|
+
}
|
|
15514
15572
|
.sd-col-xxl-offset-1 {
|
|
15515
15573
|
margin-left: 4.1666666667%;
|
|
15516
15574
|
}
|
|
@@ -15580,6 +15638,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
15580
15638
|
.sd-col-xxl-offset-23 {
|
|
15581
15639
|
margin-left: 95.8333333333%;
|
|
15582
15640
|
}
|
|
15641
|
+
.sd-col-xxl-order-0 {
|
|
15642
|
+
order: 0;
|
|
15643
|
+
}
|
|
15583
15644
|
.sd-col-xxl-order-1 {
|
|
15584
15645
|
order: 1;
|
|
15585
15646
|
}
|
|
@@ -22335,6 +22396,10 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
22335
22396
|
.sd-avatar-group-popover .sd-avatar:not(:first-child) {
|
|
22336
22397
|
margin-left: 4px !important;
|
|
22337
22398
|
}
|
|
22399
|
+
.sd-avatar-group-popover .sd-avatar-rtl:not(:first-child) {
|
|
22400
|
+
margin-right: 4px !important;
|
|
22401
|
+
margin-left: 0 !important;
|
|
22402
|
+
}
|
|
22338
22403
|
|
|
22339
22404
|
/**********************************************
|
|
22340
22405
|
* Popup Box
|
package/es/index.d.ts
CHANGED
|
@@ -176,15 +176,15 @@ export type { ToolbarEmits, ToolbarInstance, ToolbarModelValue, ToolbarProps, To
|
|
|
176
176
|
export { default as Textarea } from './textarea';
|
|
177
177
|
export type { TextareaInstance } from './textarea';
|
|
178
178
|
export { default as TimePicker } from './time-picker';
|
|
179
|
-
export type { TimePickerInstance, TimeValue } from './time-picker';
|
|
179
|
+
export type { TimePickerInstance, TimePickerProps, TimeValue } from './time-picker';
|
|
180
180
|
export { default as Timeline, TimelineItem } from './timeline';
|
|
181
|
-
export type { DotType, LabelPositionType, LineType, ModeType, PositionType, TimelineInstance, TimelineItemInstance, } from './timeline';
|
|
181
|
+
export type { DotType, LabelPositionType, LineType, ModeType, PositionType, TimelineInstance, TimelineItemInstance, TimelineItemProps, TimelineProps, } from './timeline';
|
|
182
182
|
export { default as Tooltip } from './tooltip';
|
|
183
|
-
export type { TooltipInstance } from './tooltip';
|
|
183
|
+
export type { TooltipInstance, TooltipProps } from './tooltip';
|
|
184
184
|
export { default as Tour } from './tour';
|
|
185
185
|
export type { TourAlignment, TourAllowedButton, TourConfig, TourController, TourExpose, TourInstance, TourPopover, TourProps, TourSide, TourState, TourStep, } from './tour';
|
|
186
186
|
export { default as Transfer } from './transfer';
|
|
187
|
-
export type { TransferInstance, TransferItem } from './transfer';
|
|
187
|
+
export type { TransferInstance, TransferItem, TransferProps } from './transfer';
|
|
188
188
|
export { default as Tree } from './tree';
|
|
189
189
|
export type { CheckedStrategy, CheckableType, DropPosition, FilterTreeNode, Key2TreeNode, LoadMore, TreeCheckHandler, TreeDropHandler, TreeExpandHandler, TreeFieldNames, TreeInstance, TreeNodeData, TreeNodeKey, TreeNodeSwipeEventData, TreeProps, TreeSelectHandler, } from './tree';
|
|
190
190
|
export { default as TreeSelect } from './tree-select';
|
|
@@ -196,8 +196,8 @@ export type { EllipsisConfig, TypographyInstance, TypographyParagraphInstance, T
|
|
|
196
196
|
export { default as Upload } from './upload';
|
|
197
197
|
export type { CustomIcon, FileItem, FileStatus, RequestOption, UploadInstance, UploadRequest, } from './upload';
|
|
198
198
|
export { default as VerificationCode } from './verification-code';
|
|
199
|
-
export type { VerificationCodeInstance } from './verification-code';
|
|
199
|
+
export type { VerificationCodeInstance, VerificationCodeProps } from './verification-code';
|
|
200
200
|
export { default as Watermark } from './watermark';
|
|
201
|
-
export type { WatermarkInstance } from './watermark';
|
|
201
|
+
export type { WatermarkFont, WatermarkInstance, WatermarkProps } from './watermark';
|
|
202
202
|
export { useFormItem } from './_hooks/use-form-item';
|
|
203
203
|
export { getCssVarToken } from './_utils/global-config';
|
package/es/input/index.d.ts
CHANGED
|
@@ -857,10 +857,10 @@ declare const Input: {
|
|
|
857
857
|
search: (value: string, event: MouseEvent) => any;
|
|
858
858
|
}, import("vue").PublicProps, {
|
|
859
859
|
disabled: boolean;
|
|
860
|
+
loading: boolean;
|
|
860
861
|
fitWidth: boolean;
|
|
861
862
|
maxWFull: boolean;
|
|
862
863
|
searchButton: boolean;
|
|
863
|
-
loading: boolean;
|
|
864
864
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
865
865
|
P: {};
|
|
866
866
|
B: {};
|
|
@@ -1430,10 +1430,10 @@ declare const Input: {
|
|
|
1430
1430
|
blur: () => void;
|
|
1431
1431
|
}, {}, {}, {}, {
|
|
1432
1432
|
disabled: boolean;
|
|
1433
|
+
loading: boolean;
|
|
1433
1434
|
fitWidth: boolean;
|
|
1434
1435
|
maxWFull: boolean;
|
|
1435
1436
|
searchButton: boolean;
|
|
1436
|
-
loading: boolean;
|
|
1437
1437
|
}>;
|
|
1438
1438
|
__isFragment?: never;
|
|
1439
1439
|
__isTeleport?: never;
|
|
@@ -2002,10 +2002,10 @@ declare const Input: {
|
|
|
2002
2002
|
search: (value: string, event: MouseEvent) => any;
|
|
2003
2003
|
}, string, {
|
|
2004
2004
|
disabled: boolean;
|
|
2005
|
+
loading: boolean;
|
|
2005
2006
|
fitWidth: boolean;
|
|
2006
2007
|
maxWFull: boolean;
|
|
2007
2008
|
searchButton: boolean;
|
|
2008
|
-
loading: boolean;
|
|
2009
2009
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
2010
2010
|
$slots: {
|
|
2011
2011
|
prepend?: (props: {}) => any;
|
|
@@ -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 { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
//#region components/input/input-group.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 icon_hover_default from "../_components/icon-hover.js";
|
|
3
3
|
import useMergeState from "../_hooks/use-merge-state.js";
|
|
4
4
|
import IconEye from "../icon/icon-eye/index.js";
|
|
@@ -605,10 +605,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
605
605
|
onSearch?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
606
606
|
}>, {
|
|
607
607
|
disabled: boolean;
|
|
608
|
+
loading: boolean;
|
|
608
609
|
fitWidth: boolean;
|
|
609
610
|
maxWFull: boolean;
|
|
610
611
|
searchButton: boolean;
|
|
611
|
-
loading: boolean;
|
|
612
612
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
613
613
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
614
614
|
declare const _default: typeof __VLS_export;
|
|
@@ -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 icon_hover_default from "../_components/icon-hover.js";
|
|
4
4
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
@@ -79,7 +79,8 @@ var input_search_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
79
79
|
const inputRef = ref();
|
|
80
80
|
const handleClick = (event) => {
|
|
81
81
|
var _inputRef$value;
|
|
82
|
-
|
|
82
|
+
const input = (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 ? void 0 : _inputRef$value.inputRef;
|
|
83
|
+
if (input && !input.disabled) emit("search", input.value, event);
|
|
83
84
|
};
|
|
84
85
|
const focus = () => {
|
|
85
86
|
var _inputRef$value2;
|
|
@@ -1,5 +1,5 @@
|
|
|
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, isObject, isUndefined } from "../_utils/is.js";
|
|
5
5
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
@@ -124,9 +124,6 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
124
124
|
watch(toRef(props, "modelValue"), (value) => {
|
|
125
125
|
if (isUndefined(value) || isNull(value)) innerValue.value = "";
|
|
126
126
|
});
|
|
127
|
-
watch(computedValue, (_value, oldValue) => {
|
|
128
|
-
previousValue = oldValue;
|
|
129
|
-
});
|
|
130
127
|
const focused = ref(false);
|
|
131
128
|
const showClearBtn = computed(() => mergedAllowClear.value && !props.readonly && !mergedDisabled.value && Boolean(computedValue.value));
|
|
132
129
|
const isComposition = ref(false);
|
|
@@ -155,6 +152,7 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
155
152
|
}
|
|
156
153
|
innerValue.value = nextValue;
|
|
157
154
|
emit("update:modelValue", nextValue);
|
|
155
|
+
return nextValue;
|
|
158
156
|
};
|
|
159
157
|
const handleMousedown = (event) => {
|
|
160
158
|
if (inputRef.value && event.target !== inputRef.value) {
|
|
@@ -172,6 +170,7 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
172
170
|
};
|
|
173
171
|
const handleFocus = (event) => {
|
|
174
172
|
var _eventHandlers$value2, _eventHandlers$value3;
|
|
173
|
+
previousValue = computedValue.value;
|
|
175
174
|
focused.value = true;
|
|
176
175
|
emit("focus", event);
|
|
177
176
|
(_eventHandlers$value2 = eventHandlers.value) === null || _eventHandlers$value2 === void 0 || (_eventHandlers$value3 = _eventHandlers$value2.onFocus) === null || _eventHandlers$value3 === void 0 || _eventHandlers$value3.call(_eventHandlers$value2, event);
|
|
@@ -202,8 +201,8 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
202
201
|
keepControl();
|
|
203
202
|
return;
|
|
204
203
|
}
|
|
205
|
-
updateValue(value);
|
|
206
|
-
emit("input",
|
|
204
|
+
const nextValue = updateValue(value);
|
|
205
|
+
emit("input", nextValue, event);
|
|
207
206
|
(_eventHandlers$value6 = eventHandlers.value) === null || _eventHandlers$value6 === void 0 || (_eventHandlers$value7 = _eventHandlers$value6.onInput) === null || _eventHandlers$value7 === void 0 || _eventHandlers$value7.call(_eventHandlers$value6, event);
|
|
208
207
|
keepControl();
|
|
209
208
|
} else {
|
|
@@ -220,8 +219,8 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
220
219
|
keepControl();
|
|
221
220
|
return;
|
|
222
221
|
}
|
|
223
|
-
updateValue(value);
|
|
224
|
-
emit("input",
|
|
222
|
+
const nextValue = updateValue(value);
|
|
223
|
+
emit("input", nextValue, event);
|
|
225
224
|
(_eventHandlers$value8 = eventHandlers.value) === null || _eventHandlers$value8 === void 0 || (_eventHandlers$value9 = _eventHandlers$value8.onInput) === null || _eventHandlers$value9 === void 0 || _eventHandlers$value9.call(_eventHandlers$value8, event);
|
|
226
225
|
keepControl();
|
|
227
226
|
}
|