@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
package/es/select/index.d.ts
CHANGED
|
@@ -210,6 +210,7 @@ declare const Select: {
|
|
|
210
210
|
disabled: boolean;
|
|
211
211
|
error: boolean;
|
|
212
212
|
readonly: string | boolean;
|
|
213
|
+
loading: boolean;
|
|
213
214
|
popupVisible: boolean;
|
|
214
215
|
defaultPopupVisible: boolean;
|
|
215
216
|
showArrow: boolean;
|
|
@@ -219,7 +220,6 @@ declare const Select: {
|
|
|
219
220
|
allowClear: boolean;
|
|
220
221
|
fitWidth: boolean;
|
|
221
222
|
maxWFull: boolean;
|
|
222
|
-
loading: boolean;
|
|
223
223
|
valueKey: string;
|
|
224
224
|
filterOption: boolean | ((inputValue: string, option: import("./interface").SelectOptionData) => boolean);
|
|
225
225
|
showExtraOptions: boolean;
|
|
@@ -438,6 +438,7 @@ declare const Select: {
|
|
|
438
438
|
disabled: boolean;
|
|
439
439
|
error: boolean;
|
|
440
440
|
readonly: string | boolean;
|
|
441
|
+
loading: boolean;
|
|
441
442
|
popupVisible: boolean;
|
|
442
443
|
defaultPopupVisible: boolean;
|
|
443
444
|
showArrow: boolean;
|
|
@@ -447,7 +448,6 @@ declare const Select: {
|
|
|
447
448
|
allowClear: boolean;
|
|
448
449
|
fitWidth: boolean;
|
|
449
450
|
maxWFull: boolean;
|
|
450
|
-
loading: boolean;
|
|
451
451
|
valueKey: string;
|
|
452
452
|
filterOption: boolean | ((inputValue: string, option: import("./interface").SelectOptionData) => boolean);
|
|
453
453
|
showExtraOptions: boolean;
|
|
@@ -678,6 +678,7 @@ declare const Select: {
|
|
|
678
678
|
disabled: boolean;
|
|
679
679
|
error: boolean;
|
|
680
680
|
readonly: string | boolean;
|
|
681
|
+
loading: boolean;
|
|
681
682
|
popupVisible: boolean;
|
|
682
683
|
defaultPopupVisible: boolean;
|
|
683
684
|
showArrow: boolean;
|
|
@@ -687,7 +688,6 @@ declare const Select: {
|
|
|
687
688
|
allowClear: boolean;
|
|
688
689
|
fitWidth: boolean;
|
|
689
690
|
maxWFull: boolean;
|
|
690
|
-
loading: boolean;
|
|
691
691
|
valueKey: string;
|
|
692
692
|
filterOption: boolean | ((inputValue: string, option: import("./interface").SelectOptionData) => boolean);
|
|
693
693
|
showExtraOptions: boolean;
|
package/es/select/interface.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { VirtualListProps } from '../_components/virtual-list/interface';
|
|
2
2
|
import type { FitWidthProps } from '../_hooks/use-fit-width';
|
|
3
3
|
import type { Size } from '../_utils/constant';
|
|
4
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
4
5
|
import type { ScrollbarProps } from '../scrollbar';
|
|
6
|
+
import type { SpinProps } from '../spin';
|
|
5
7
|
import type { TriggerProps } from '../trigger';
|
|
6
8
|
export type SelectOptionValue = string | number | boolean | Record<string, unknown>;
|
|
7
9
|
export type SelectModelValue = SelectOptionValue | SelectOptionValue[] | null | undefined;
|
|
@@ -66,7 +68,9 @@ export interface SelectProps extends FitWidthProps {
|
|
|
66
68
|
size?: Size;
|
|
67
69
|
placeholder?: string;
|
|
68
70
|
loading?: boolean;
|
|
71
|
+
spinProps?: SpinProps;
|
|
69
72
|
disabled?: boolean;
|
|
73
|
+
readonly?: boolean | string;
|
|
70
74
|
error?: boolean;
|
|
71
75
|
allowClear?: boolean;
|
|
72
76
|
allowSearch?: boolean | {
|
|
@@ -86,6 +90,7 @@ export interface SelectProps extends FitWidthProps {
|
|
|
86
90
|
filterOption?: FilterOption;
|
|
87
91
|
virtualListProps?: VirtualListProps;
|
|
88
92
|
triggerProps?: TriggerProps;
|
|
93
|
+
floatingOptions?: FloatingOptions;
|
|
89
94
|
fallbackOption?: boolean | SelectFallbackOption;
|
|
90
95
|
showExtraOptions?: boolean;
|
|
91
96
|
valueKey?: string;
|
|
@@ -41,7 +41,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
41
41
|
type: PropType<boolean>;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
|
-
}>, {
|
|
44
|
+
}>, {
|
|
45
|
+
wrapperRef: import("vue").ComputedRef<HTMLElement | undefined>;
|
|
46
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
47
|
scroll: (_ev: Event) => any;
|
|
46
48
|
reachBottom: (_ev: Event) => any;
|
|
47
49
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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
|
-
import { useComponentRef } from "../_hooks/use-component-ref.js";
|
|
5
4
|
import { useScrollbar } from "../_hooks/use-scrollbar.js";
|
|
6
5
|
import Empty from "../empty/index.js";
|
|
7
6
|
import Scrollbar from "../scrollbar/index.js";
|
|
8
7
|
import Spin from "../spin/index.js";
|
|
9
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toRefs, unref, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
8
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, ref, renderSlot, resolveDynamicComponent, toRefs, unref, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
10
9
|
//#region components/select/select-dropdown.vue?vue&type=script&setup=true&lang.ts
|
|
11
10
|
var select_dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "SelectDropdown" }), {}, {
|
|
12
11
|
__name: "select-dropdown",
|
|
@@ -35,7 +34,7 @@ var select_dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
35
34
|
}
|
|
36
35
|
},
|
|
37
36
|
emits: ["scroll", "reachBottom"],
|
|
38
|
-
setup(__props, { emit: __emit }) {
|
|
37
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39
38
|
var _configCtx$slots, _configCtx$slots$empt;
|
|
40
39
|
const props = __props;
|
|
41
40
|
const emit = __emit;
|
|
@@ -44,8 +43,13 @@ var select_dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
44
43
|
const prefixCls = getPrefixCls("select-dropdown");
|
|
45
44
|
const configCtx = inject(configProviderInjectionKey, void 0);
|
|
46
45
|
const SelectEmpty = configCtx === null || configCtx === void 0 || (_configCtx$slots$empt = (_configCtx$slots = configCtx.slots).empty) === null || _configCtx$slots$empt === void 0 || (_configCtx$slots$empt = _configCtx$slots$empt.call(_configCtx$slots, { component: "select" })) === null || _configCtx$slots$empt === void 0 ? void 0 : _configCtx$slots$empt[0];
|
|
47
|
-
const
|
|
46
|
+
const wrapperComRef = ref();
|
|
47
|
+
const wrapperRef = computed(() => {
|
|
48
|
+
var _wrapperComRef$value;
|
|
49
|
+
return (_wrapperComRef$value = wrapperComRef.value) === null || _wrapperComRef$value === void 0 || (_wrapperComRef$value = _wrapperComRef$value.elements()) === null || _wrapperComRef$value === void 0 ? void 0 : _wrapperComRef$value.scrollOffsetElement;
|
|
50
|
+
});
|
|
48
51
|
const { scrollbarProps } = useScrollbar(scrollbar);
|
|
52
|
+
__expose({ wrapperRef });
|
|
49
53
|
const handleScroll = (e) => {
|
|
50
54
|
const { scrollTop, scrollHeight, offsetHeight } = e.target;
|
|
51
55
|
if (scrollHeight - (scrollTop + offsetHeight) <= props.bottomOffset) emit("reachBottom", e);
|
|
@@ -411,6 +411,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
411
411
|
disabled: boolean;
|
|
412
412
|
error: boolean;
|
|
413
413
|
readonly: string | boolean;
|
|
414
|
+
loading: boolean;
|
|
414
415
|
popupVisible: boolean;
|
|
415
416
|
defaultPopupVisible: boolean;
|
|
416
417
|
showArrow: boolean;
|
|
@@ -420,7 +421,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
420
421
|
allowClear: boolean;
|
|
421
422
|
fitWidth: boolean;
|
|
422
423
|
maxWFull: boolean;
|
|
423
|
-
loading: boolean;
|
|
424
424
|
valueKey: string;
|
|
425
425
|
filterOption: boolean | ((inputValue: string, option: SelectOptionData) => boolean);
|
|
426
426
|
showExtraOptions: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
2
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
3
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
5
5
|
import { isArray, isBoolean, isEmptyObject, isFunction, isNull, isNumber, isObject, isString, isUndefined } from "../_utils/is.js";
|
|
6
6
|
import virtual_list_default from "../_components/virtual-list/index.js";
|
|
@@ -19,7 +19,7 @@ import { debounce } from "../_utils/debounce.js";
|
|
|
19
19
|
import select_view_default from "../_components/select-view/select-view.js";
|
|
20
20
|
import { useAllowSearch } from "../_hooks/use-allow-search.js";
|
|
21
21
|
import { useTrigger } from "../_hooks/use-trigger.js";
|
|
22
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRef, toRefs, unref, useAttrs, useSlots, watch, watchEffect, withCtx } from "vue";
|
|
22
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, onBeforeUnmount, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRef, toRefs, unref, useAttrs, useSlots, watch, watchEffect, withCtx } from "vue";
|
|
23
23
|
import { createReusableTemplate } from "@vueuse/core";
|
|
24
24
|
//#region components/select/select.vue?vue&type=script&setup=true&lang.ts
|
|
25
25
|
var _hoisted_1 = ["aria-label"];
|
|
@@ -420,6 +420,7 @@ var select_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
420
420
|
const handleSearch = debounce((value) => {
|
|
421
421
|
emit("search", value);
|
|
422
422
|
}, props.searchDelay);
|
|
423
|
+
onBeforeUnmount(handleSearch.cancel);
|
|
423
424
|
const handleInputValueChange = (inputValue) => {
|
|
424
425
|
if (inputValue === computedInputValue.value) return;
|
|
425
426
|
if (!computedPopupVisible.value) handlePopupVisibleChange(true);
|
package/es/select/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 { isBoolean, isFunction, isNumber, isObject, isString } from "../_utils/is.js";
|
|
3
3
|
//#region components/select/utils.ts
|
|
4
4
|
var isGroupOption = (option, fieldNames) => {
|
|
@@ -2,23 +2,7 @@ import type { App } from 'vue';
|
|
|
2
2
|
import type { SDOptions } from '../_utils/types';
|
|
3
3
|
import _SelectableCard from './selectable-card.vue';
|
|
4
4
|
declare const SelectableCard: {
|
|
5
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
-
label: string;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
color?: import("./types").SelectableCardColor;
|
|
10
|
-
variant?: import("./types").SelectableCardVariant;
|
|
11
|
-
size?: import("./types").SelectableCardSize;
|
|
12
|
-
layout?: import("./types").SelectableCardLayout;
|
|
13
|
-
align?: import("./types").SelectableCardAlign;
|
|
14
|
-
padding?: import("./types").SelectableCardSizeValue;
|
|
15
|
-
title?: string;
|
|
16
|
-
value?: string | number;
|
|
17
|
-
description?: string;
|
|
18
|
-
width?: import("./types").SelectableCardSizeValue;
|
|
19
|
-
height?: import("./types").SelectableCardSizeValue;
|
|
20
|
-
maxWidth?: import("./types").SelectableCardSizeValue;
|
|
21
|
-
}> & Readonly<{
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types").SelectableCardProps> & Readonly<{
|
|
22
6
|
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
23
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
8
|
change: (isSelected: boolean) => any;
|
|
@@ -29,45 +13,13 @@ declare const SelectableCard: {
|
|
|
29
13
|
C: {};
|
|
30
14
|
M: {};
|
|
31
15
|
Defaults: {};
|
|
32
|
-
}, Readonly<{
|
|
33
|
-
label: string;
|
|
34
|
-
isSelected: boolean;
|
|
35
|
-
isDisabled?: boolean;
|
|
36
|
-
color?: import("./types").SelectableCardColor;
|
|
37
|
-
variant?: import("./types").SelectableCardVariant;
|
|
38
|
-
size?: import("./types").SelectableCardSize;
|
|
39
|
-
layout?: import("./types").SelectableCardLayout;
|
|
40
|
-
align?: import("./types").SelectableCardAlign;
|
|
41
|
-
padding?: import("./types").SelectableCardSizeValue;
|
|
42
|
-
title?: string;
|
|
43
|
-
value?: string | number;
|
|
44
|
-
description?: string;
|
|
45
|
-
width?: import("./types").SelectableCardSizeValue;
|
|
46
|
-
height?: import("./types").SelectableCardSizeValue;
|
|
47
|
-
maxWidth?: import("./types").SelectableCardSizeValue;
|
|
48
|
-
}> & Readonly<{
|
|
16
|
+
}, Readonly<import("./types").SelectableCardProps> & Readonly<{
|
|
49
17
|
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
50
18
|
}>, {}, {}, {}, {}, {}>;
|
|
51
19
|
__isFragment?: never;
|
|
52
20
|
__isTeleport?: never;
|
|
53
21
|
__isSuspense?: never;
|
|
54
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
55
|
-
label: string;
|
|
56
|
-
isSelected: boolean;
|
|
57
|
-
isDisabled?: boolean;
|
|
58
|
-
color?: import("./types").SelectableCardColor;
|
|
59
|
-
variant?: import("./types").SelectableCardVariant;
|
|
60
|
-
size?: import("./types").SelectableCardSize;
|
|
61
|
-
layout?: import("./types").SelectableCardLayout;
|
|
62
|
-
align?: import("./types").SelectableCardAlign;
|
|
63
|
-
padding?: import("./types").SelectableCardSizeValue;
|
|
64
|
-
title?: string;
|
|
65
|
-
value?: string | number;
|
|
66
|
-
description?: string;
|
|
67
|
-
width?: import("./types").SelectableCardSizeValue;
|
|
68
|
-
height?: import("./types").SelectableCardSizeValue;
|
|
69
|
-
maxWidth?: import("./types").SelectableCardSizeValue;
|
|
70
|
-
}> & Readonly<{
|
|
22
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./types").SelectableCardProps> & Readonly<{
|
|
71
23
|
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
72
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
25
|
change: (isSelected: boolean) => any;
|
|
@@ -84,5 +36,5 @@ declare const SelectableCard: {
|
|
|
84
36
|
install: (app: App, options?: SDOptions) => void;
|
|
85
37
|
};
|
|
86
38
|
export type SelectableCardInstance = InstanceType<typeof _SelectableCard>;
|
|
87
|
-
export type { SelectableCardAlign, SelectableCardColor, SelectableCardLayout, SelectableCardSize, SelectableCardSizeValue, SelectableCardVariant, } from './types';
|
|
39
|
+
export type { SelectableCardAlign, SelectableCardColor, SelectableCardLayout, SelectableCardProps, SelectableCardSize, SelectableCardSizeValue, SelectableCardVariant, } from './types';
|
|
88
40
|
export default SelectableCard;
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
label: string;
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
color?: SelectableCardColor;
|
|
7
|
-
variant?: SelectableCardVariant;
|
|
8
|
-
size?: SelectableCardSize;
|
|
9
|
-
layout?: SelectableCardLayout;
|
|
10
|
-
align?: SelectableCardAlign;
|
|
11
|
-
padding?: SelectableCardSizeValue;
|
|
12
|
-
title?: string;
|
|
13
|
-
value?: string | number;
|
|
14
|
-
description?: string;
|
|
15
|
-
width?: SelectableCardSizeValue;
|
|
16
|
-
height?: SelectableCardSizeValue;
|
|
17
|
-
maxWidth?: SelectableCardSizeValue;
|
|
18
|
-
};
|
|
1
|
+
import type { SelectableCardProps } from './types';
|
|
19
2
|
type __VLS_Slots = {
|
|
20
3
|
default?: () => unknown;
|
|
21
4
|
figure?: () => unknown;
|
|
@@ -24,9 +7,9 @@ type __VLS_Slots = {
|
|
|
24
7
|
description?: () => unknown;
|
|
25
8
|
actions?: () => unknown;
|
|
26
9
|
};
|
|
27
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<SelectableCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
11
|
change: (isSelected: boolean) => any;
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<SelectableCardProps> & Readonly<{
|
|
30
13
|
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
31
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
15
|
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 { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref, useId } from "vue";
|
|
4
4
|
//#region components/selectable-card/selectable-card.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -5,3 +5,20 @@ export type SelectableCardSize = 'small' | 'medium' | 'large';
|
|
|
5
5
|
export type SelectableCardLayout = 'vertical' | 'horizontal';
|
|
6
6
|
export type SelectableCardAlign = 'start' | 'center';
|
|
7
7
|
export type SelectableCardSizeValue = number | string;
|
|
8
|
+
export interface SelectableCardProps {
|
|
9
|
+
label: string;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
color?: SelectableCardColor;
|
|
13
|
+
variant?: SelectableCardVariant;
|
|
14
|
+
size?: SelectableCardSize;
|
|
15
|
+
layout?: SelectableCardLayout;
|
|
16
|
+
align?: SelectableCardAlign;
|
|
17
|
+
padding?: SelectableCardSizeValue;
|
|
18
|
+
title?: string;
|
|
19
|
+
value?: string | number;
|
|
20
|
+
description?: string;
|
|
21
|
+
width?: SelectableCardSizeValue;
|
|
22
|
+
height?: SelectableCardSizeValue;
|
|
23
|
+
maxWidth?: SelectableCardSizeValue;
|
|
24
|
+
}
|
|
@@ -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 IconClose from "../icon/icon-close/index.js";
|
|
4
4
|
import { useI18n } from "../locale/index.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 { useI18n } from "../locale/index.js";
|
|
4
4
|
import { Fragment, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref } 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 { useI18n } from "../locale/index.js";
|
|
4
4
|
import Tooltip from "../tooltip/index.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 { useI18n } from "../locale/index.js";
|
|
4
4
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, toDisplayString, unref } 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 Button from "../button/index.js";
|
|
4
4
|
import { senderInjectionKey } 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 IconClose from "../icon/icon-close/index.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
package/es/skeleton/index.d.ts
CHANGED
|
@@ -125,5 +125,6 @@ declare const Skeleton: {
|
|
|
125
125
|
export type SkeletonInstance = InstanceType<typeof _Skeleton>;
|
|
126
126
|
export type SkeletonLineInstance = InstanceType<typeof _SkeletonLine>;
|
|
127
127
|
export type SkeletonShapeInstance = InstanceType<typeof _SkeletonShape>;
|
|
128
|
+
export type { SkeletonLineProps, SkeletonProps, SkeletonShapeProps } from './interface';
|
|
128
129
|
export { _SkeletonLine as SkeletonLine, _SkeletonShape as SkeletonShape };
|
|
129
130
|
export default Skeleton;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SkeletonProps {
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
animation?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface SkeletonLineProps {
|
|
6
|
+
rows?: number;
|
|
7
|
+
widths?: Array<number | string>;
|
|
8
|
+
lineHeight?: number;
|
|
9
|
+
lineSpacing?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface SkeletonShapeProps {
|
|
12
|
+
shape?: 'square' | 'circle';
|
|
13
|
+
size?: 'small' | 'medium' | 'large';
|
|
14
|
+
}
|
|
@@ -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, isString } from "../_utils/is.js";
|
|
4
|
-
import { Fragment, computed, createElementBlock,
|
|
4
|
+
import { Fragment, computed, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, unref } from "vue";
|
|
5
5
|
//#region components/skeleton/line.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var line_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "SkeletonLine" }), {}, {
|
|
7
7
|
__name: "line",
|
|
@@ -55,15 +55,13 @@ var line_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
55
55
|
return result;
|
|
56
56
|
});
|
|
57
57
|
return (_ctx, _cache) => {
|
|
58
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList(lines.value, (style, index) => {
|
|
59
|
-
return openBlock(), createElementBlock("
|
|
58
|
+
return openBlock(), createElementBlock("ul", { class: normalizeClass(unref(prefixCls)) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(lines.value, (style, index) => {
|
|
59
|
+
return openBlock(), createElementBlock("li", {
|
|
60
60
|
key: index,
|
|
61
|
-
class: normalizeClass(unref(prefixCls))
|
|
62
|
-
}, [createElementVNode("li", {
|
|
63
61
|
class: normalizeClass(`${unref(prefixCls)}-row`),
|
|
64
62
|
style: normalizeStyle(style)
|
|
65
|
-
}, null, 6)
|
|
66
|
-
}), 128);
|
|
63
|
+
}, null, 6);
|
|
64
|
+
}), 128))], 2);
|
|
67
65
|
};
|
|
68
66
|
}
|
|
69
67
|
}));
|
|
@@ -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, createElementBlock, defineComponent, normalizeClass, openBlock } from "vue";
|
|
4
4
|
//#region components/skeleton/shape.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, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
|
|
4
4
|
//#region components/skeleton/skeleton.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,10 +1,11 @@
|
|
|
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 Tooltip from "../tooltip/index.js";
|
|
5
|
-
import { computed, createBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, unref, withCtx, withModifiers } from "vue";
|
|
5
|
+
import { computed, createBlock, createElementVNode, defineComponent, mergeProps, onBeforeUnmount, openBlock, ref, unref, withCtx, withModifiers } from "vue";
|
|
6
6
|
//#region components/slider/slider-button.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
|
+
"tabindex",
|
|
8
9
|
"aria-disabled",
|
|
9
10
|
"aria-valuemax",
|
|
10
11
|
"aria-valuemin",
|
|
@@ -78,15 +79,19 @@ var slider_button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
78
79
|
}
|
|
79
80
|
emit("moving", clientX, clientY);
|
|
80
81
|
};
|
|
81
|
-
const
|
|
82
|
+
const cleanupDragging = () => {
|
|
82
83
|
isDragging.value = false;
|
|
83
84
|
off(window, "mousemove", handleMouseMove);
|
|
84
85
|
off(window, "touchmove", handleMouseMove);
|
|
85
86
|
off(window, "mouseup", handleMouseUp);
|
|
86
87
|
off(window, "contextmenu", handleMouseUp);
|
|
87
88
|
off(window, "touchend", handleMouseUp);
|
|
89
|
+
};
|
|
90
|
+
const handleMouseUp = () => {
|
|
91
|
+
cleanupDragging();
|
|
88
92
|
emit("moveend");
|
|
89
93
|
};
|
|
94
|
+
onBeforeUnmount(cleanupDragging);
|
|
90
95
|
const cls = computed(() => [prefixCls]);
|
|
91
96
|
const mergedTooltipPosition = computed(() => {
|
|
92
97
|
var _props$tooltipPositio;
|
|
@@ -104,7 +109,7 @@ var slider_button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
104
109
|
content: tooltipContent.value
|
|
105
110
|
}, {
|
|
106
111
|
default: withCtx(() => [createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
107
|
-
tabindex:
|
|
112
|
+
tabindex: __props.disabled ? -1 : 0,
|
|
108
113
|
role: "slider",
|
|
109
114
|
"aria-disabled": __props.disabled,
|
|
110
115
|
"aria-valuemax": __props.max,
|
|
@@ -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 { getOffsetPercent, getPositionStyle } from "./utils.js";
|
|
4
4
|
import { Fragment, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, unref } 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 InputNumber from "../input-number/index.js";
|
|
4
4
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, unref } 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 { getOffsetPercent, getPositionStyle } from "./utils.js";
|
|
4
4
|
import { Fragment, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref } 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 { getOffsetPercent, getPositionStyle } from "./utils.js";
|
|
4
4
|
import { Fragment, computed, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, unref } from "vue";
|
|
@@ -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 { isArray, isUndefined } from "../_utils/is.js";
|
|
5
5
|
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
|
@@ -121,7 +121,7 @@ var slider_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
121
121
|
const { mergedDisabled, eventHandlers } = useFormItem({ disabled: toRef(props, "disabled") });
|
|
122
122
|
const trackRef = ref(null);
|
|
123
123
|
const trackRect = ref();
|
|
124
|
-
const defaultValue = props.modelValue ? props.
|
|
124
|
+
const defaultValue = isUndefined(props.modelValue) ? props.defaultValue : props.modelValue;
|
|
125
125
|
const startValue = ref(isArray(defaultValue) ? defaultValue[0] : 0);
|
|
126
126
|
const endValue = ref(isArray(defaultValue) ? defaultValue[1] : defaultValue);
|
|
127
127
|
watch(modelValue, (value) => {
|
|
@@ -366,7 +366,7 @@ var slider_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
366
366
|
max: __props.max,
|
|
367
367
|
step: __props.step,
|
|
368
368
|
range: __props.range,
|
|
369
|
-
disabled:
|
|
369
|
+
disabled: unref(mergedDisabled),
|
|
370
370
|
onStartChange: handleStartChange,
|
|
371
371
|
onEndChange: handleEndChange
|
|
372
372
|
}, null, 8, [
|
|
@@ -1,5 +1,5 @@
|
|
|
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, isNumber } from "../_utils/is.js";
|
|
5
5
|
import { getAllElements } from "../_utils/vue-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 { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, unref } from "vue";
|
|
4
4
|
//#region components/spin/dot-loading.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { getFirstComponent } from "../_utils/vue-utils.js";
|
|
5
5
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
@@ -8,6 +8,7 @@ import dot_loading_default from "./dot-loading.js";
|
|
|
8
8
|
import { Fragment, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, unref, useSlots, withCtx } from "vue";
|
|
9
9
|
import { createReusableTemplate, watchDebounced } from "@vueuse/core";
|
|
10
10
|
//#region components/spin/spin.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var _hoisted_1 = ["aria-busy"];
|
|
11
12
|
var spin_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
12
13
|
name: "Spin",
|
|
13
14
|
inheritAttrs: false
|
|
@@ -127,11 +128,12 @@ var spin_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
127
128
|
}), createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
128
129
|
role: "status",
|
|
129
130
|
"aria-live": "polite",
|
|
131
|
+
"aria-busy": activeLoading.value || void 0,
|
|
130
132
|
class: cls.value
|
|
131
133
|
}), [_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [renderSlot(_ctx.$slots, "default"), activeLoading.value ? (openBlock(), createElementBlock("div", {
|
|
132
134
|
key: 0,
|
|
133
135
|
class: normalizeClass(`${unref(prefixCls)}-mask`)
|
|
134
|
-
}, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-mask-icon`) }, [createVNode(unref(ReuseSpinIcon))], 2)], 2)) : createCommentVNode("", true)], 64)) : activeLoading.value ? (openBlock(), createBlock(unref(ReuseSpinIcon), { key: 1 })) : createCommentVNode("", true)], 16)], 64);
|
|
136
|
+
}, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-mask-icon`) }, [createVNode(unref(ReuseSpinIcon))], 2)], 2)) : createCommentVNode("", true)], 64)) : activeLoading.value ? (openBlock(), createBlock(unref(ReuseSpinIcon), { key: 1 })) : createCommentVNode("", true)], 16, _hoisted_1)], 64);
|
|
135
137
|
};
|
|
136
138
|
}
|
|
137
139
|
}));
|
package/es/split/index.d.ts
CHANGED
package/es/split/interface.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface SplitProps {
|
|
2
|
-
component
|
|
3
|
-
direction
|
|
4
|
-
size
|
|
5
|
-
defaultSize
|
|
6
|
-
min
|
|
7
|
-
max
|
|
8
|
-
disabled
|
|
2
|
+
component?: string;
|
|
3
|
+
direction?: 'horizontal' | 'vertical';
|
|
4
|
+
size?: number | string;
|
|
5
|
+
defaultSize?: number | string;
|
|
6
|
+
min?: number | string;
|
|
7
|
+
max?: number | string;
|
|
8
|
+
disabled?: boolean;
|
|
9
9
|
}
|