@sdata/web-vue 3.17.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sd.css +478 -0
- package/dist/sd.min.css +2 -2
- package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/icon-hover.vue.d.ts +1 -1
- package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/input-label/input-label.d.ts +13 -1
- package/es/_components/input-label/input-label.js +35 -5
- package/es/_components/input-label/style/index.css +6 -0
- package/es/_components/input-label/style/input-label.scss +8 -0
- package/es/_components/picker/input-range.vue.d.ts +24 -1
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +43 -7
- package/es/_components/picker/input.vue.d.ts +24 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +32 -5
- package/es/_components/picker/style/index.scss +8 -0
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/select-view/select-view.d.ts +15 -3
- package/es/_components/select-view/select-view.js +10 -1
- package/es/_components/select-view/style/index.css +12 -0
- package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +6 -6
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/_hooks/use-cursor.js +4 -2
- package/es/_hooks/use-fit-width.d.ts +22 -0
- package/es/_hooks/use-fit-width.js +76 -0
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/_utils/color.js +2 -2
- package/es/_utils/date.js +20 -20
- package/es/_utils/floating.d.ts +8 -0
- package/es/_utils/floating.js +54 -0
- package/es/_utils/global-config.js +1 -1
- package/es/_utils/is-equal.js +1 -1
- package/es/_utils/keyboard.js +3 -2
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +2 -2
- package/es/_utils/virtual-dropdown.js +2 -2
- package/es/_utils/vue-utils.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/asyncToGenerator.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/defineProperty.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/extends.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectDestructuringEmpty.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectSpread2.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutProperties.js +3 -3
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutPropertiesLoose.js +2 -2
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/toPrimitive.js +3 -3
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.js +9 -0
- package/es/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/typeof.js +2 -2
- package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor.vue.d.ts +1 -1
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/anchor/index.d.ts +3 -3
- package/es/anchor/index.js +1 -1
- package/es/auto-complete/auto-complete.d.ts +27 -2
- package/es/auto-complete/auto-complete.js +52 -27
- package/es/auto-complete/index.d.ts +45 -6
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/avatar/index.js +1 -1
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/badge.js +2 -2
- package/es/badge/index.d.ts +3 -3
- package/es/basic-crud-table/basic-crud-modal.vue.d.ts +6 -6
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +20 -20
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/basic-crud-table/index.d.ts +59 -59
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/border-beam/styles.js +1 -1
- package/es/breadcrumb/index.js +1 -1
- package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/button/button.vue.d.ts +2 -2
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/button/index.d.ts +6 -6
- package/es/button/index.js +1 -1
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +6 -11
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +3 -12
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -6
- package/es/calendar/components/time-column.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card.d.ts +3 -3
- package/es/card/index.d.ts +6 -6
- package/es/card/index.js +1 -1
- package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-indicator.vue.d.ts +1 -1
- package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/index.js +1 -1
- package/es/cascader/base-cascader-panel.d.ts +1 -1
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader-search-panel.d.ts +1 -1
- package/es/cascader/cascader.vue.d.ts +7 -5
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +150 -132
- package/es/cascader/index.js +1 -1
- package/es/cascader/types.d.ts +4 -1
- package/es/checkbox/checkbox.d.ts +3 -3
- package/es/checkbox/index.d.ts +6 -6
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse-item.d.ts +3 -3
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/index.d.ts +3 -3
- package/es/collapse/index.js +1 -1
- package/es/color-picker/color-picker.d.ts +9 -2
- package/es/color-picker/color-picker.js +15 -10
- package/es/color-picker/index.d.ts +15 -6
- package/es/color-picker/panel.js +7 -4
- package/es/color-picker/utils.js +3 -2
- package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/components.d.ts +4 -0
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/index.d.ts +3 -3
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/config-provider/theme.js +3 -3
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/hooks/use-format.js +1 -1
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/hooks/use-value-format.js +1 -1
- package/es/date-picker/index.d.ts +96 -23
- package/es/date-picker/index.js +1 -1
- package/es/date-picker/interface.d.ts +2 -1
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +4 -6
- package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +5 -3
- package/es/date-picker/panels/week-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +1 -1
- package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue.d.ts +46 -17
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +40 -6
- package/es/date-picker/pickers/date-picker.d.ts +18 -0
- package/es/date-picker/pickers/date-picker.js +16 -0
- package/es/date-picker/range-picker-panel.vue.d.ts +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 +46 -17
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +35 -5
- package/es/date-picker/style/index.css +6 -0
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.d.ts +3 -3
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.d.ts +9 -9
- package/es/descriptions/index.js +1 -1
- package/es/divider/divider.d.ts +1 -1
- package/es/divider/index.d.ts +3 -3
- package/es/drawer/drawer.vue.d.ts +4 -4
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/drawer/index.d.ts +11 -11
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue.d.ts +9 -2
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/dropdown-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-option.vue.d.ts +1 -1
- package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-submenu.vue.d.ts +9 -2
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/dropdown.vue.d.ts +8 -1
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/index.d.ts +48 -21
- package/es/dropdown/index.js +1 -1
- package/es/dropdown/interface.d.ts +3 -0
- package/es/ellipsis/ellipsis.vue.d.ts +1 -1
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/ellipsis/index.d.ts +6 -6
- package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/file-previewer/use-pdf-js.js +2 -2
- package/es/form/form-item-label.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item-message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item.vue.d.ts +1 -1
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/form/form.vue.d.ts +1 -1
- package/es/form/form.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/form/index.d.ts +9 -9
- package/es/form/index.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-row.vue.d.ts +3 -3
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/index.d.ts +9 -9
- package/es/grid/index.js +1 -1
- package/es/icon/icon-arrow-up/icon-arrow-up.js +5 -0
- package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-arrow-up/index.js +9 -0
- package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-mute/icon-mute.js +5 -0
- package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-mute/index.js +9 -0
- package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-voice/icon-voice.js +5 -0
- package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-voice/index.js +9 -0
- package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon.js +6 -6
- package/es/image/hooks/use-image-drag.js +3 -1
- package/es/image/image-footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/image/index.js +1 -1
- package/es/image/preview-action.d.ts +6 -6
- package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-group.vue.d.ts +1 -1
- package/es/image/preview-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/index.css +478 -0
- package/es/index.d.ts +8 -3
- package/es/index.js +6 -2
- package/es/index.scss +2 -0
- package/es/input/index.d.ts +99 -6
- package/es/input/index.js +1 -1
- package/es/input/input-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input-password.vue.d.ts +18 -0
- package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +25 -3
- package/es/input/input-search.d.ts +18 -0
- package/es/input/input-search.js +20 -2
- package/es/input/input.d.ts +29 -2
- package/es/input/input.js +46 -4
- package/es/input/style/index.css +16 -0
- package/es/input/style/index.scss +21 -0
- package/es/input-number/index.d.ts +36 -6
- package/es/input-number/input-number.d.ts +20 -2
- package/es/input-number/input-number.js +21 -2
- package/es/input-tag/index.d.ts +36 -6
- package/es/input-tag/input-tag.d.ts +20 -2
- package/es/input-tag/input-tag.js +42 -8
- package/es/input-tag/style/index.css +6 -0
- package/es/input-tag/style/input-tag.scss +8 -0
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/index.d.ts +5 -5
- package/es/json-form/index.js +2 -2
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +4 -6
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/json-form/types.d.ts +80 -110
- package/es/json-form/types.js +3 -3
- package/es/json-form/utils.d.ts +5 -6
- package/es/json-form/utils.js +69 -196
- package/es/kv-list/index.d.ts +74 -32
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +3 -5
- package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +1 -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/index.js +1 -1
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/link/index.d.ts +6 -6
- package/es/link/link.vue.d.ts +2 -2
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/list/index.js +1 -1
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list.js +1 -1
- package/es/locale/interface.d.ts +22 -0
- package/es/locale/lang/ar-eg.js +21 -1
- package/es/locale/lang/de-de.js +21 -1
- package/es/locale/lang/en-us.js +21 -1
- package/es/locale/lang/es-es.js +21 -1
- package/es/locale/lang/fr-fr.js +21 -1
- package/es/locale/lang/id-id.js +21 -1
- package/es/locale/lang/it-it.js +21 -1
- package/es/locale/lang/ja-jp.js +21 -1
- package/es/locale/lang/km-kh.js +21 -1
- package/es/locale/lang/ko-kr.js +21 -1
- package/es/locale/lang/ms-my.js +21 -1
- package/es/locale/lang/nl-nl.js +21 -1
- package/es/locale/lang/pt-pt.js +21 -1
- package/es/locale/lang/ru-ru.js +21 -1
- package/es/locale/lang/th-th.js +21 -1
- package/es/locale/lang/vi-vn.js +21 -1
- package/es/locale/lang/zh-cn.js +21 -1
- package/es/locale/lang/zh-tw.js +21 -1
- package/es/mention/index.d.ts +48 -9
- package/es/mention/mention.d.ts +28 -3
- package/es/mention/mention.js +33 -3
- package/es/mention/style/index.css +6 -0
- package/es/mention/style/index.scss +8 -0
- package/es/menu/base-menu.vue.d.ts +7 -0
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/menu/context.d.ts +1 -1
- package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/index.js +1 -1
- package/es/menu/interface.d.ts +2 -0
- package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/item.d.ts +1 -1
- package/es/menu/item.js +1 -1
- package/es/menu/menu.d.ts +16 -0
- package/es/menu/menu.js +3 -2
- package/es/menu/overflow-wrap.js +4 -1
- package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message-list.d.ts +1 -1
- package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/modal/index.d.ts +9 -9
- package/es/modal/index.js +2 -2
- package/es/modal/modal.vue.d.ts +3 -3
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/notification/index.js +1 -1
- package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-jumper.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/popconfirm/index.d.ts +12 -3
- package/es/popconfirm/popconfirm.vue.d.ts +8 -1
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/popover/index.d.ts +15 -6
- package/es/popover/popover.vue.d.ts +9 -2
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/progress/circle.vue.d.ts +1 -1
- package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/line.vue.d.ts +1 -1
- package/es/progress/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/progress.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/qr-code/index.d.ts +15 -15
- package/es/qr-code/qr-code.vue.d.ts +5 -5
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/radio/index.d.ts +6 -6
- package/es/radio/index.js +1 -1
- package/es/radio/radio.d.ts +3 -3
- package/es/rate/index.d.ts +3 -3
- package/es/rate/rate.d.ts +1 -1
- package/es/resize-box/index.d.ts +5 -5
- package/es/resize-box/resize-box.vue.d.ts +3 -3
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +2 -5
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/rich-text-editor/built-in-components.d.ts +5 -0
- package/es/rich-text-editor/built-in-components.js +6 -0
- package/es/rich-text-editor/index.d.ts +195 -0
- package/es/rich-text-editor/index.js +12 -0
- package/es/rich-text-editor/nodes/inline-component-node.d.ts +30 -0
- package/es/rich-text-editor/nodes/inline-component-node.js +86 -0
- package/es/rich-text-editor/rich-text-editor.js +5 -0
- package/es/rich-text-editor/rich-text-editor.vue.d.ts +76 -0
- package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +630 -0
- package/es/rich-text-editor/rich-text-node-renderer.js +5 -0
- package/es/rich-text-editor/rich-text-node-renderer.vue.d.ts +28 -0
- package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +133 -0
- package/es/rich-text-editor/style/css.js +2 -0
- package/es/rich-text-editor/style/index.css +164 -0
- package/es/rich-text-editor/style/index.d.ts +2 -0
- package/es/rich-text-editor/style/index.js +2 -0
- package/es/rich-text-editor/style/index.scss +193 -0
- package/es/rich-text-editor/style/token.scss +36 -0
- package/es/rich-text-editor/types.d.ts +148 -0
- package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +7 -1
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/hooks/use-select.js +1 -1
- package/es/select/index.d.ts +141 -60
- package/es/select/interface.d.ts +2 -1
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/select/select.d.ts +74 -28
- package/es/select/select.js +82 -59
- package/es/select/utils.js +2 -2
- package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/context.d.ts +8 -0
- package/es/sender/context.js +4 -0
- package/es/sender/index.d.ts +119 -0
- package/es/sender/index.js +20 -0
- package/es/sender/sender-header.js +5 -0
- package/es/sender/sender-header.vue.d.ts +28 -0
- package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +127 -0
- package/es/sender/sender-switch.js +5 -0
- package/es/sender/sender-switch.vue.d.ts +32 -0
- package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +95 -0
- package/es/sender/sender.js +5 -0
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +871 -0
- package/es/sender/style/css.js +3 -0
- package/es/sender/style/index.css +290 -0
- package/es/sender/style/index.d.ts +3 -0
- package/es/sender/style/index.js +3 -0
- package/es/sender/style/index.scss +346 -0
- package/es/sender/style/token.scss +43 -0
- package/es/sender/types.d.ts +171 -0
- package/es/sender/use-speech.d.ts +9 -0
- package/es/sender/use-speech.js +120 -0
- package/es/skeleton/index.js +1 -1
- package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/shape.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/slider/index.d.ts +3 -3
- package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-dots.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-input.vue.d.ts +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.d.ts +1 -1
- package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/space/index.d.ts +9 -9
- package/es/space/space.d.ts +2 -2
- package/es/spin/index.d.ts +3 -3
- package/es/spin/spin.d.ts +1 -1
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/statistic/index.d.ts +3 -3
- package/es/statistic/index.js +1 -1
- package/es/statistic/statistic.vue.d.ts +1 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/steps/index.d.ts +5 -5
- package/es/steps/index.js +1 -1
- package/es/steps/step.vue.d.ts +2 -2
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/style/theme/z-index.js +1 -1
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/table/index.d.ts +17 -17
- package/es/table/index.js +1 -1
- package/es/table/interface.d.ts +2 -0
- package/es/table/table-column.d.ts +1 -1
- package/es/table/table-operation-td.d.ts +12 -12
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.d.ts +2 -2
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.js +3 -2
- package/es/table/table.d.ts +5 -5
- package/es/table/table.js +5 -3
- package/es/table/utils.js +2 -2
- package/es/tabs/index.d.ts +12 -12
- package/es/tabs/index.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav.d.ts +1 -1
- package/es/tabs/tabs-nav.js +2 -1
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs.d.ts +4 -4
- package/es/tag/index.d.ts +6 -6
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/textarea/index.d.ts +38 -8
- package/es/textarea/style/index.css +6 -0
- package/es/textarea/style/index.scss +8 -0
- package/es/textarea/textarea.vue.d.ts +21 -3
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +37 -4
- package/es/time-picker/index.d.ts +45 -6
- package/es/time-picker/interface.d.ts +2 -1
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/range-panel.js +58 -0
- package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-picker.vue.d.ts +27 -2
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +39 -4
- package/es/timeline/index.d.ts +6 -6
- package/es/timeline/index.js +1 -1
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/timeline/timeline.d.ts +3 -3
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/tooltip/index.d.ts +6 -6
- package/es/tooltip/interface.d.ts +2 -0
- package/es/tooltip/tooltip.vue.d.ts +2 -2
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/tour/index.d.ts +18 -3
- package/es/tour/tour.vue.d.ts +11 -1
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +108 -145
- package/es/tour/types.d.ts +3 -0
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/transfer/transfer.vue.d.ts +1 -1
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +5 -8
- package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node.js +1 -1
- package/es/tree/transition-node-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/tree.vue.d.ts +4 -4
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/tree/utils/tree-data.js +1 -1
- package/es/tree-select/hooks/use-selected-state.js +1 -1
- package/es/tree-select/interface.d.ts +2 -1
- package/es/tree-select/panel.js +1 -1
- package/es/tree-select/tree-select.vue.d.ts +32 -7
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +165 -136
- package/es/trigger/index.d.ts +25 -15
- package/es/trigger/interface.d.ts +2 -0
- package/es/trigger/trigger.d.ts +12 -5
- package/es/trigger/trigger.js +130 -52
- package/es/trigger/utils.d.ts +0 -47
- package/es/trigger/utils.js +1 -268
- package/es/typography/base.d.ts +4 -4
- package/es/typography/base.js +1 -1
- package/es/typography/edit-content.vue.d.ts +2 -2
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/index.js +1 -1
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/typography.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/index.d.ts +6 -6
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload.d.ts +2 -2
- package/es/upload/upload.js +2 -2
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/watermark/hooks/use-mutation-observer.js +2 -2
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/utils/index.js +1 -1
- package/es/watermark/watermark.d.ts +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +242 -0
- package/json/vetur-tags.json +87 -4
- package/json/web-types.json +559 -2
- package/package.json +23 -13
- package/es/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/toPropertyKey.js +0 -9
|
@@ -33,6 +33,14 @@ declare const TimePicker: {
|
|
|
33
33
|
placeholder: {
|
|
34
34
|
type: import("vue").PropType<string | string[]>;
|
|
35
35
|
};
|
|
36
|
+
fitWidth: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
maxWFull: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
36
44
|
size: {
|
|
37
45
|
type: import("vue").PropType<import("../index.ts").Size>;
|
|
38
46
|
};
|
|
@@ -79,6 +87,9 @@ declare const TimePicker: {
|
|
|
79
87
|
triggerProps: {
|
|
80
88
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
81
89
|
};
|
|
90
|
+
floatingOptions: {
|
|
91
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
92
|
+
};
|
|
82
93
|
unmountOnClose: {
|
|
83
94
|
type: BooleanConstructor;
|
|
84
95
|
};
|
|
@@ -98,13 +109,15 @@ declare const TimePicker: {
|
|
|
98
109
|
"popup-visible-change": (_visible: boolean) => any;
|
|
99
110
|
}, import("vue").PublicProps, {
|
|
100
111
|
type: "time" | "time-range";
|
|
112
|
+
position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
|
|
113
|
+
disabled: boolean;
|
|
101
114
|
error: boolean;
|
|
102
115
|
popupVisible: boolean;
|
|
103
116
|
defaultPopupVisible: boolean;
|
|
104
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
105
|
-
disabled: boolean;
|
|
106
117
|
unmountOnClose: boolean;
|
|
107
118
|
allowClear: boolean;
|
|
119
|
+
fitWidth: boolean;
|
|
120
|
+
maxWFull: boolean;
|
|
108
121
|
format: string;
|
|
109
122
|
use12Hours: boolean;
|
|
110
123
|
disableConfirm: boolean;
|
|
@@ -147,6 +160,14 @@ declare const TimePicker: {
|
|
|
147
160
|
placeholder: {
|
|
148
161
|
type: import("vue").PropType<string | string[]>;
|
|
149
162
|
};
|
|
163
|
+
fitWidth: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
maxWFull: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
150
171
|
size: {
|
|
151
172
|
type: import("vue").PropType<import("../index.ts").Size>;
|
|
152
173
|
};
|
|
@@ -193,6 +214,9 @@ declare const TimePicker: {
|
|
|
193
214
|
triggerProps: {
|
|
194
215
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
195
216
|
};
|
|
217
|
+
floatingOptions: {
|
|
218
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
219
|
+
};
|
|
196
220
|
unmountOnClose: {
|
|
197
221
|
type: BooleanConstructor;
|
|
198
222
|
};
|
|
@@ -205,13 +229,15 @@ declare const TimePicker: {
|
|
|
205
229
|
"onPopup-visible-change"?: ((_visible: boolean) => any) | undefined;
|
|
206
230
|
}>, {}, {}, {}, {}, {
|
|
207
231
|
type: "time" | "time-range";
|
|
232
|
+
position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
|
|
233
|
+
disabled: boolean;
|
|
208
234
|
error: boolean;
|
|
209
235
|
popupVisible: boolean;
|
|
210
236
|
defaultPopupVisible: boolean;
|
|
211
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
212
|
-
disabled: boolean;
|
|
213
237
|
unmountOnClose: boolean;
|
|
214
238
|
allowClear: boolean;
|
|
239
|
+
fitWidth: boolean;
|
|
240
|
+
maxWFull: boolean;
|
|
215
241
|
format: string;
|
|
216
242
|
use12Hours: boolean;
|
|
217
243
|
disableConfirm: boolean;
|
|
@@ -251,6 +277,14 @@ declare const TimePicker: {
|
|
|
251
277
|
placeholder: {
|
|
252
278
|
type: import("vue").PropType<string | string[]>;
|
|
253
279
|
};
|
|
280
|
+
fitWidth: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: boolean;
|
|
283
|
+
};
|
|
284
|
+
maxWFull: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
254
288
|
size: {
|
|
255
289
|
type: import("vue").PropType<import("../index.ts").Size>;
|
|
256
290
|
};
|
|
@@ -297,6 +331,9 @@ declare const TimePicker: {
|
|
|
297
331
|
triggerProps: {
|
|
298
332
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
299
333
|
};
|
|
334
|
+
floatingOptions: {
|
|
335
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
336
|
+
};
|
|
300
337
|
unmountOnClose: {
|
|
301
338
|
type: BooleanConstructor;
|
|
302
339
|
};
|
|
@@ -316,13 +353,15 @@ declare const TimePicker: {
|
|
|
316
353
|
"popup-visible-change": (_visible: boolean) => any;
|
|
317
354
|
}, string, {
|
|
318
355
|
type: "time" | "time-range";
|
|
356
|
+
position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
|
|
357
|
+
disabled: boolean;
|
|
319
358
|
error: boolean;
|
|
320
359
|
popupVisible: boolean;
|
|
321
360
|
defaultPopupVisible: boolean;
|
|
322
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
323
|
-
disabled: boolean;
|
|
324
361
|
unmountOnClose: boolean;
|
|
325
362
|
allowClear: boolean;
|
|
363
|
+
fitWidth: boolean;
|
|
364
|
+
maxWFull: boolean;
|
|
326
365
|
format: string;
|
|
327
366
|
use12Hours: boolean;
|
|
328
367
|
disableConfirm: boolean;
|
|
@@ -25,7 +25,7 @@ export interface PanelProps extends Omit<BasePanelProps, 'disableConfirm'> {
|
|
|
25
25
|
export interface RangePanelProps extends Omit<PanelProps, 'value'> {
|
|
26
26
|
value?: Array<Dayjs | undefined>;
|
|
27
27
|
}
|
|
28
|
-
export interface TimePickerProps extends BasePanelProps {
|
|
28
|
+
export interface TimePickerProps extends BasePanelProps, FitWidthProps {
|
|
29
29
|
type: 'time' | 'time-range';
|
|
30
30
|
modelValue?: TimeValue | TimeValue[];
|
|
31
31
|
defaultValue?: TimeValue | TimeValue[];
|
|
@@ -49,3 +49,4 @@ export interface TimeListItem {
|
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}
|
|
51
51
|
export type TimeList = TimeListItem[];
|
|
52
|
+
import type { FitWidthProps } from '../_hooks/use-fit-width';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isUndefined } from "../_utils/is.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { isUndefined } from "../_utils/is.js";
|
|
2
|
+
import { isValidRangeValue } from "./utils/index.js";
|
|
3
|
+
import panel_default from "./panel.js";
|
|
4
|
+
import { computed, createVNode, defineComponent, mergeProps, ref, toRefs, watch } from "vue";
|
|
5
|
+
//#region components/time-picker/range-panel.tsx
|
|
6
|
+
var range_panel_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
name: "TimePickerRangePanel",
|
|
8
|
+
components: { Panel: panel_default },
|
|
9
|
+
props: {
|
|
10
|
+
value: { type: Array },
|
|
11
|
+
displayIndex: {
|
|
12
|
+
type: Number,
|
|
13
|
+
default: 0
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
emits: [
|
|
17
|
+
"select",
|
|
18
|
+
"confirm",
|
|
19
|
+
"update:displayIndex",
|
|
20
|
+
"display-index-change"
|
|
21
|
+
],
|
|
22
|
+
setup(props, { emit }) {
|
|
23
|
+
const { value, displayIndex } = toRefs(props);
|
|
24
|
+
const localDisplayIndex = ref(displayIndex.value);
|
|
25
|
+
watch(displayIndex, () => {
|
|
26
|
+
localDisplayIndex.value = displayIndex.value;
|
|
27
|
+
});
|
|
28
|
+
const displayValue = computed(() => (value === null || value === void 0 ? void 0 : value.value) ? value.value[localDisplayIndex.value] : void 0);
|
|
29
|
+
function onSelect(selectedValue) {
|
|
30
|
+
const newValue = isUndefined(value) || isUndefined(value === null || value === void 0 ? void 0 : value.value) ? [] : [...value.value];
|
|
31
|
+
newValue[localDisplayIndex.value] = selectedValue;
|
|
32
|
+
emit("select", newValue);
|
|
33
|
+
}
|
|
34
|
+
function onConfirm() {
|
|
35
|
+
if (!isValidRangeValue(value === null || value === void 0 ? void 0 : value.value)) {
|
|
36
|
+
const newIndex = (localDisplayIndex.value + 1) % 2;
|
|
37
|
+
localDisplayIndex.value = newIndex;
|
|
38
|
+
emit("display-index-change", newIndex);
|
|
39
|
+
emit("update:displayIndex", newIndex);
|
|
40
|
+
} else emit("confirm", value === null || value === void 0 ? void 0 : value.value);
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
displayValue,
|
|
44
|
+
onSelect,
|
|
45
|
+
onConfirm
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
render() {
|
|
49
|
+
return createVNode(panel_default, mergeProps(this.$attrs, {
|
|
50
|
+
"isRange": true,
|
|
51
|
+
"value": this.displayValue,
|
|
52
|
+
"onSelect": this.onSelect,
|
|
53
|
+
"onConfirm": this.onConfirm
|
|
54
|
+
}), this.$slots);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
export { range_panel_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { scrollTo } from "./utils/index.js";
|
|
4
4
|
import { Fragment, createElementBlock, createElementVNode, defineComponent, nextTick, normalizeClass, onMounted, openBlock, ref, renderList, toDisplayString, watch } from "vue";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
2
3
|
import { Size } from '../_utils/constant';
|
|
3
4
|
import { TriggerProps } from '../trigger';
|
|
4
5
|
declare var __VLS_21: {}, __VLS_24: {}, __VLS_42: {};
|
|
@@ -40,6 +41,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
40
41
|
placeholder: {
|
|
41
42
|
type: PropType<string | string[]>;
|
|
42
43
|
};
|
|
44
|
+
fitWidth: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
maxWFull: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
43
52
|
size: {
|
|
44
53
|
type: PropType<Size>;
|
|
45
54
|
};
|
|
@@ -86,6 +95,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
86
95
|
triggerProps: {
|
|
87
96
|
type: PropType<TriggerProps>;
|
|
88
97
|
};
|
|
98
|
+
floatingOptions: {
|
|
99
|
+
type: PropType<FloatingOptions>;
|
|
100
|
+
};
|
|
89
101
|
unmountOnClose: {
|
|
90
102
|
type: BooleanConstructor;
|
|
91
103
|
};
|
|
@@ -127,6 +139,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
127
139
|
placeholder: {
|
|
128
140
|
type: PropType<string | string[]>;
|
|
129
141
|
};
|
|
142
|
+
fitWidth: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
maxWFull: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
130
150
|
size: {
|
|
131
151
|
type: PropType<Size>;
|
|
132
152
|
};
|
|
@@ -173,6 +193,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
173
193
|
triggerProps: {
|
|
174
194
|
type: PropType<TriggerProps>;
|
|
175
195
|
};
|
|
196
|
+
floatingOptions: {
|
|
197
|
+
type: PropType<FloatingOptions>;
|
|
198
|
+
};
|
|
176
199
|
unmountOnClose: {
|
|
177
200
|
type: BooleanConstructor;
|
|
178
201
|
};
|
|
@@ -185,13 +208,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
185
208
|
"onPopup-visible-change"?: ((_visible: boolean) => any) | undefined;
|
|
186
209
|
}>, {
|
|
187
210
|
type: "time" | "time-range";
|
|
211
|
+
position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
|
|
212
|
+
disabled: boolean;
|
|
188
213
|
error: boolean;
|
|
189
214
|
popupVisible: boolean;
|
|
190
215
|
defaultPopupVisible: boolean;
|
|
191
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
|
|
192
|
-
disabled: boolean;
|
|
193
216
|
unmountOnClose: boolean;
|
|
194
217
|
allowClear: boolean;
|
|
218
|
+
fitWidth: boolean;
|
|
219
|
+
maxWFull: boolean;
|
|
195
220
|
format: string;
|
|
196
221
|
use12Hours: boolean;
|
|
197
222
|
disableConfirm: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
|
-
import
|
|
2
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.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 { useI18n } from "../locale/index.js";
|
|
@@ -13,8 +13,10 @@ import { getFormattedValue, isValidInputValue, isValidRangeValue } from "./utils
|
|
|
13
13
|
import useTimeFormat from "./hooks/use-time-format.js";
|
|
14
14
|
import IconClockCircle from "../icon/icon-clock-circle/index.js";
|
|
15
15
|
import useIsDisabledTime from "./hooks/use-is-disabled-time.js";
|
|
16
|
+
import panel_default from "./panel.js";
|
|
16
17
|
import input_range_default from "../_components/picker/input-range.js";
|
|
17
18
|
import useTimeState from "./hooks/use-time-state.js";
|
|
19
|
+
import range_panel_default from "./range-panel.js";
|
|
18
20
|
import { computed, createBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, openBlock, reactive, ref, renderSlot, resolveDynamicComponent, toRefs, unref, watch, withCtx } from "vue";
|
|
19
21
|
//#region components/time-picker/time-picker.vue?vue&type=script&setup=true&lang.ts
|
|
20
22
|
var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
@@ -88,6 +90,22 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
88
90
|
* */
|
|
89
91
|
placeholder: { type: [String, Array] },
|
|
90
92
|
/**
|
|
93
|
+
* @zh 宽度是否适应文字内容
|
|
94
|
+
* @en Whether the width adapts to the text content
|
|
95
|
+
*/
|
|
96
|
+
fitWidth: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: false
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* @zh 最大宽度是否限制为父容器宽度
|
|
102
|
+
* @en Whether the maximum width is limited to the parent container width
|
|
103
|
+
*/
|
|
104
|
+
maxWFull: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: true
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
91
109
|
* @zh 输入框尺寸
|
|
92
110
|
* @en Input box size
|
|
93
111
|
* @values 'mini','small','medium','large'
|
|
@@ -164,6 +182,7 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
164
182
|
* @en You can pass in the parameters of the `Trigger` component
|
|
165
183
|
* */
|
|
166
184
|
triggerProps: { type: Object },
|
|
185
|
+
floatingOptions: { type: Object },
|
|
167
186
|
/**
|
|
168
187
|
* @zh 是否在关闭后销毁 dom 结构
|
|
169
188
|
* @en Whether to destroy the dom structure after closing
|
|
@@ -202,12 +221,15 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
202
221
|
const { mergedAllowClear } = useAllowClear(allowClear);
|
|
203
222
|
const isRange = computed(() => type.value === "time-range");
|
|
204
223
|
const InputComponent = computed(() => isRange.value ? input_range_default : input_default);
|
|
224
|
+
const PanelComponent = computed(() => isRange.value ? range_panel_default : panel_default);
|
|
205
225
|
const prefixCls = getPrefixCls("timepicker");
|
|
206
226
|
const refInput = ref();
|
|
207
227
|
const { format: computedFormat, use12Hours: computedUse12Hours } = useTimeFormat(reactive({
|
|
208
228
|
format,
|
|
209
229
|
use12Hours
|
|
210
230
|
}));
|
|
231
|
+
const fitWidthFallbackText = computed(() => dayjs(new Date(2e3, 0, 1, 0, 0, 0)).format(computedFormat.value));
|
|
232
|
+
const fitWidthFallback = computed(() => `${Array.from(fitWidthFallbackText.value).length}ch`);
|
|
211
233
|
const { computedValue, panelValue, inputValue, setValue, setPanelValue, setInputValue } = useTimeState(reactive({
|
|
212
234
|
modelValue,
|
|
213
235
|
defaultValue,
|
|
@@ -281,7 +303,9 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
281
303
|
});
|
|
282
304
|
}
|
|
283
305
|
function onPanelSelect(value) {
|
|
284
|
-
|
|
306
|
+
const formattedValue = getFormattedValue(value, computedFormat.value);
|
|
307
|
+
const dateValue = getDateValue(value);
|
|
308
|
+
emit("select", formattedValue, dateValue);
|
|
285
309
|
if (disableConfirm.value && (!isRange.value || isValidRangeValue(value))) confirm(value, true);
|
|
286
310
|
else {
|
|
287
311
|
select(value, true);
|
|
@@ -364,6 +388,7 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
364
388
|
focusInput(focusedInputIndex.value);
|
|
365
389
|
};
|
|
366
390
|
return (_ctx, _cache) => {
|
|
391
|
+
var _props$floatingOption, _props$triggerProps;
|
|
367
392
|
return openBlock(), createBlock(unref(Trigger), mergeProps({
|
|
368
393
|
trigger: "click",
|
|
369
394
|
"animation-name": "slide-dynamic-origin",
|
|
@@ -377,13 +402,14 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
377
402
|
"unmount-on-close": __props.unmountOnClose,
|
|
378
403
|
"popup-container": __props.popupContainer
|
|
379
404
|
}, _objectSpread2({}, __props.triggerProps), {
|
|
405
|
+
"floating-options": (_props$floatingOption = __props.floatingOptions) !== null && _props$floatingOption !== void 0 ? _props$floatingOption : (_props$triggerProps = __props.triggerProps) === null || _props$triggerProps === void 0 ? void 0 : _props$triggerProps.floatingOptions,
|
|
380
406
|
"aria-has-popup": "dialog",
|
|
381
407
|
onPopupVisibleChange: onPanelVisibleChange
|
|
382
408
|
}), {
|
|
383
409
|
content: withCtx(() => [createElementVNode("div", {
|
|
384
410
|
class: normalizeClass(`${unref(prefixCls)}-container`),
|
|
385
411
|
onClick: onPanelClick
|
|
386
|
-
}, [(openBlock(), createBlock(resolveDynamicComponent(
|
|
412
|
+
}, [(openBlock(), createBlock(resolveDynamicComponent(PanelComponent.value), mergeProps(panelProps.value, {
|
|
387
413
|
value: unref(panelValue),
|
|
388
414
|
visible: unref(panelVisible),
|
|
389
415
|
format: unref(computedFormat),
|
|
@@ -427,6 +453,10 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
427
453
|
editable: !__props.readonly,
|
|
428
454
|
"allow-clear": unref(mergedAllowClear) && !__props.readonly,
|
|
429
455
|
placeholder: computedPlaceholder.value,
|
|
456
|
+
"fit-width": __props.fitWidth,
|
|
457
|
+
"max-w-full": __props.maxWFull,
|
|
458
|
+
"fit-width-fallback": fitWidthFallback.value,
|
|
459
|
+
"fit-width-fallback-text": fitWidthFallbackText.value,
|
|
430
460
|
onClear: unref(onInputClear)
|
|
431
461
|
}), createSlots({
|
|
432
462
|
"suffix-icon": withCtx(() => [renderSlot(_ctx.$slots, "suffix-icon", {}, () => [createVNode(unref(IconClockCircle))])]),
|
|
@@ -448,6 +478,10 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
448
478
|
"editable",
|
|
449
479
|
"allow-clear",
|
|
450
480
|
"placeholder",
|
|
481
|
+
"fit-width",
|
|
482
|
+
"max-w-full",
|
|
483
|
+
"fit-width-fallback",
|
|
484
|
+
"fit-width-fallback-text",
|
|
451
485
|
"onClear"
|
|
452
486
|
]))]),
|
|
453
487
|
_: 3
|
|
@@ -456,7 +490,8 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
456
490
|
"disabled",
|
|
457
491
|
"popup-visible",
|
|
458
492
|
"unmount-on-close",
|
|
459
|
-
"popup-container"
|
|
493
|
+
"popup-container",
|
|
494
|
+
"floating-options"
|
|
460
495
|
]);
|
|
461
496
|
};
|
|
462
497
|
}
|
package/es/timeline/index.d.ts
CHANGED
|
@@ -137,8 +137,8 @@ declare const Timeline: {
|
|
|
137
137
|
default: boolean;
|
|
138
138
|
};
|
|
139
139
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
140
|
-
loading: boolean;
|
|
141
140
|
dot: boolean;
|
|
141
|
+
loading: boolean;
|
|
142
142
|
hideIcon: boolean;
|
|
143
143
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
144
144
|
P: {};
|
|
@@ -159,8 +159,8 @@ declare const Timeline: {
|
|
|
159
159
|
default: boolean;
|
|
160
160
|
};
|
|
161
161
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
162
|
-
loading: boolean;
|
|
163
162
|
dot: boolean;
|
|
163
|
+
loading: boolean;
|
|
164
164
|
hideIcon: boolean;
|
|
165
165
|
}>;
|
|
166
166
|
__isFragment?: never;
|
|
@@ -178,8 +178,8 @@ declare const Timeline: {
|
|
|
178
178
|
default: boolean;
|
|
179
179
|
};
|
|
180
180
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
181
|
-
loading: boolean;
|
|
182
181
|
dot: boolean;
|
|
182
|
+
loading: boolean;
|
|
183
183
|
hideIcon: boolean;
|
|
184
184
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
185
185
|
install: (app: App, options?: SDOptions) => void;
|
|
@@ -352,8 +352,8 @@ declare const Timeline: {
|
|
|
352
352
|
default: boolean;
|
|
353
353
|
};
|
|
354
354
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
355
|
-
loading: boolean;
|
|
356
355
|
dot: boolean;
|
|
356
|
+
loading: boolean;
|
|
357
357
|
hideIcon: boolean;
|
|
358
358
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
359
359
|
P: {};
|
|
@@ -374,8 +374,8 @@ declare const Timeline: {
|
|
|
374
374
|
default: boolean;
|
|
375
375
|
};
|
|
376
376
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
377
|
-
loading: boolean;
|
|
378
377
|
dot: boolean;
|
|
378
|
+
loading: boolean;
|
|
379
379
|
hideIcon: boolean;
|
|
380
380
|
}>;
|
|
381
381
|
__isFragment?: never;
|
|
@@ -393,8 +393,8 @@ declare const Timeline: {
|
|
|
393
393
|
default: boolean;
|
|
394
394
|
};
|
|
395
395
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
396
|
-
loading: boolean;
|
|
397
396
|
dot: boolean;
|
|
397
|
+
loading: boolean;
|
|
398
398
|
hideIcon: boolean;
|
|
399
399
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
400
400
|
install: (app: App, options?: SDOptions) => void;
|
package/es/timeline/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { timelineInjectionKey } from "./context.js";
|
|
4
4
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, inject, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
@@ -82,8 +82,9 @@ var item_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
82
82
|
const cls = computed(() => {
|
|
83
83
|
const { items = [], reverse, labelPosition, mode = "left" } = context;
|
|
84
84
|
const direction = contextDirection.value;
|
|
85
|
+
const computedPosition = getDefaultPosition(index.value, mode, direction, props.position);
|
|
85
86
|
return [prefixCls, {
|
|
86
|
-
[`${prefixCls}-${direction}-${
|
|
87
|
+
[`${prefixCls}-${direction}-${computedPosition}`]: direction,
|
|
87
88
|
[`${prefixCls}-label-${labelPosition}`]: labelPosition,
|
|
88
89
|
[`${prefixCls}-last`]: index.value === (reverse === true ? 0 : items.length - 1)
|
|
89
90
|
}];
|
|
@@ -123,11 +124,11 @@ var item_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
123
124
|
}, [renderSlot(_ctx.$slots, "default")], 2)) : createCommentVNode("", true), labelPosition.value !== "relative" ? (openBlock(), createElementBlock("div", {
|
|
124
125
|
key: 1,
|
|
125
126
|
class: normalizeClass(`${unref(prefixCls)}-label`)
|
|
126
|
-
}, [_ctx.$slots.label ? renderSlot(_ctx.$slots, "label", {
|
|
127
|
+
}, [_ctx.$slots.label ? renderSlot(_ctx.$slots, "label", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.label), 1)], 64))], 2)) : createCommentVNode("", true)], 2),
|
|
127
128
|
labelPosition.value === "relative" ? (openBlock(), createElementBlock("div", {
|
|
128
129
|
key: 0,
|
|
129
130
|
class: normalizeClass(`${unref(prefixCls)}-label`)
|
|
130
|
-
}, [_ctx.$slots.label ? renderSlot(_ctx.$slots, "label", {
|
|
131
|
+
}, [_ctx.$slots.label ? renderSlot(_ctx.$slots, "label", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.label), 1)], 64))], 2)) : createCommentVNode("", true)
|
|
131
132
|
], 2);
|
|
132
133
|
};
|
|
133
134
|
}
|
|
@@ -153,8 +153,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
153
|
default: boolean;
|
|
154
154
|
};
|
|
155
155
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
156
|
-
loading: boolean;
|
|
157
156
|
dot: boolean;
|
|
157
|
+
loading: boolean;
|
|
158
158
|
hideIcon: boolean;
|
|
159
159
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
160
160
|
P: {};
|
|
@@ -175,8 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
175
175
|
default: boolean;
|
|
176
176
|
};
|
|
177
177
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
178
|
-
loading: boolean;
|
|
179
178
|
dot: boolean;
|
|
179
|
+
loading: boolean;
|
|
180
180
|
hideIcon: boolean;
|
|
181
181
|
}>;
|
|
182
182
|
__isFragment?: never;
|
|
@@ -194,8 +194,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
194
194
|
default: boolean;
|
|
195
195
|
};
|
|
196
196
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
197
|
-
loading: boolean;
|
|
198
197
|
dot: boolean;
|
|
198
|
+
loading: boolean;
|
|
199
199
|
hideIcon: boolean;
|
|
200
200
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
201
201
|
install: (app: import("vue").App, options?: import("../_utils/types.ts").SDOptions) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useResizeObserver } from "../_hooks/use-resize-observer.js";
|
|
4
4
|
import Button from "../button/index.js";
|
|
@@ -145,7 +145,7 @@ var toolbar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
145
145
|
ref_key: "bodyRef",
|
|
146
146
|
ref: bodyRef,
|
|
147
147
|
class: normalizeClass(bodyCls.value)
|
|
148
|
-
}, [_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", {
|
|
148
|
+
}, [_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : resolvedSchemas.value.length ? (openBlock(), createBlock(unref(JsonForm), {
|
|
149
149
|
key: 1,
|
|
150
150
|
ref_key: "formRef",
|
|
151
151
|
ref: formRef,
|
|
@@ -169,7 +169,7 @@ var toolbar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
169
169
|
}, {
|
|
170
170
|
default: withCtx(() => [createElementVNode("span", { class: normalizeClass(`${unref(prefixCls)}-expand-text`) }, toDisplayString(isExpand.value ? __props.collapseText : __props.expandText), 3), renderSlot(_ctx.$slots, "expand-icon", {}, () => [createVNode(unref(IconDown), { class: normalizeClass([`${unref(prefixCls)}-expand-icon`, { [`${unref(prefixCls)}-expand-icon--up`]: isExpand.value }]) }, null, 8, ["class"])])]),
|
|
171
171
|
_: 3
|
|
172
|
-
}, 8, ["class"])) : createCommentVNode("", true), _ctx.$slots.extra ? renderSlot(_ctx.$slots, "extra", {
|
|
172
|
+
}, 8, ["class"])) : createCommentVNode("", true), _ctx.$slots.extra ? renderSlot(_ctx.$slots, "extra", {}, void 0, void 0, 1) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
173
173
|
renderSlot(_ctx.$slots, "action-prepend"),
|
|
174
174
|
__props.showSearch ? (openBlock(), createBlock(unref(Button), {
|
|
175
175
|
key: 0,
|
package/es/tooltip/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ declare const Tooltip: {
|
|
|
9
9
|
"update:popupVisible": (_visible: boolean) => any;
|
|
10
10
|
popupVisibleChange: (_visible: boolean) => any;
|
|
11
11
|
}, import("vue").PublicProps, {
|
|
12
|
+
position: import("../index.ts").TriggerPosition;
|
|
13
|
+
disabled: boolean;
|
|
12
14
|
mini: boolean;
|
|
13
15
|
popupVisible: boolean;
|
|
14
16
|
defaultPopupVisible: boolean;
|
|
15
|
-
position: import("../index.ts").TriggerPosition;
|
|
16
|
-
disabled: boolean;
|
|
17
17
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
18
18
|
P: {};
|
|
19
19
|
B: {};
|
|
@@ -25,11 +25,11 @@ declare const Tooltip: {
|
|
|
25
25
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
26
26
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
27
27
|
}>, {}, {}, {}, {}, {
|
|
28
|
+
position: import("../index.ts").TriggerPosition;
|
|
29
|
+
disabled: boolean;
|
|
28
30
|
mini: boolean;
|
|
29
31
|
popupVisible: boolean;
|
|
30
32
|
defaultPopupVisible: boolean;
|
|
31
|
-
position: import("../index.ts").TriggerPosition;
|
|
32
|
-
disabled: boolean;
|
|
33
33
|
}>;
|
|
34
34
|
__isFragment?: never;
|
|
35
35
|
__isTeleport?: never;
|
|
@@ -41,11 +41,11 @@ declare const Tooltip: {
|
|
|
41
41
|
"update:popupVisible": (_visible: boolean) => any;
|
|
42
42
|
popupVisibleChange: (_visible: boolean) => any;
|
|
43
43
|
}, string, {
|
|
44
|
+
position: import("../index.ts").TriggerPosition;
|
|
45
|
+
disabled: boolean;
|
|
44
46
|
mini: boolean;
|
|
45
47
|
popupVisible: boolean;
|
|
46
48
|
defaultPopupVisible: boolean;
|
|
47
|
-
position: import("../index.ts").TriggerPosition;
|
|
48
|
-
disabled: boolean;
|
|
49
49
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
50
50
|
$slots: {
|
|
51
51
|
default?: (props: {}) => any;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
2
|
import type { TriggerPosition } from '../_utils/constant';
|
|
3
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
3
4
|
import type { ClassName } from '../_utils/types';
|
|
4
5
|
export interface TooltipProps {
|
|
6
|
+
floatingOptions?: FloatingOptions;
|
|
5
7
|
popupVisible?: boolean;
|
|
6
8
|
defaultPopupVisible?: boolean;
|
|
7
9
|
disabled?: boolean;
|
|
@@ -12,11 +12,11 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
12
12
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
13
13
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
+
position: import("..").TriggerPosition;
|
|
16
|
+
disabled: boolean;
|
|
15
17
|
mini: boolean;
|
|
16
18
|
popupVisible: boolean;
|
|
17
19
|
defaultPopupVisible: boolean;
|
|
18
|
-
position: import("..").TriggerPosition;
|
|
19
|
-
disabled: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|