@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber } from "../_utils/is.js";
|
|
4
4
|
import { omit } from "../_utils/omit.js";
|
|
@@ -75,6 +75,7 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
75
75
|
setPopVisible(visible);
|
|
76
76
|
};
|
|
77
77
|
return (_ctx, _cache) => {
|
|
78
|
+
var _unref$floatingOption;
|
|
78
79
|
return openBlock(), createBlock(unref(Trigger), mergeProps({
|
|
79
80
|
trigger: "hover",
|
|
80
81
|
class: triggerClassNames.value,
|
|
@@ -87,6 +88,7 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
87
88
|
"auto-fit-popup-min-width": true,
|
|
88
89
|
duration: 100
|
|
89
90
|
}, triggerProps.value, {
|
|
91
|
+
"floating-options": (_unref$floatingOption = unref(menuContext).floatingOptions) !== null && _unref$floatingOption !== void 0 ? _unref$floatingOption : triggerProps.value.floatingOptions,
|
|
90
92
|
"unmount-on-close": false,
|
|
91
93
|
"popup-visible": popVisible.value,
|
|
92
94
|
onPopupVisibleChange: onVisibleChange
|
|
@@ -97,6 +99,7 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
97
99
|
"selected-keys": selectedKeys.value,
|
|
98
100
|
theme: unref(menuContext).theme,
|
|
99
101
|
"trigger-props": unref(menuContext).triggerProps,
|
|
102
|
+
"floating-options": unref(menuContext).floatingOptions,
|
|
100
103
|
ellipsis: unref(menuContext).ellipsis,
|
|
101
104
|
"ellipsis-props": unref(menuContext).ellipsisProps,
|
|
102
105
|
style: normalizeStyle(popupMenuStyles.value),
|
|
@@ -117,6 +120,7 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
117
120
|
"selected-keys",
|
|
118
121
|
"theme",
|
|
119
122
|
"trigger-props",
|
|
123
|
+
"floating-options",
|
|
120
124
|
"ellipsis",
|
|
121
125
|
"ellipsis-props",
|
|
122
126
|
"style"
|
|
@@ -148,8 +152,8 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
148
152
|
}, [createVNode(unref(Ellipsis), mergeProps({ class: `${menuPrefixCls.value}-ellipsis` }, unref(menuContext).ellipsisProps), {
|
|
149
153
|
default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]),
|
|
150
154
|
_: 3
|
|
151
|
-
}, 16, ["class"])], 2)) : renderSlot(_ctx.$slots, "title", {
|
|
152
|
-
createElementVNode("span", { class: normalizeClass(`${menuPrefixCls.value}-icon-suffix`) }, [needPopOnBottom.value ? renderSlot(_ctx.$slots, "expand-icon-down", {
|
|
155
|
+
}, 16, ["class"])], 2)) : renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)], void 0, 1)], 64)),
|
|
156
|
+
createElementVNode("span", { class: normalizeClass(`${menuPrefixCls.value}-icon-suffix`) }, [needPopOnBottom.value ? renderSlot(_ctx.$slots, "expand-icon-down", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "expand-icon-right", {}, void 0, void 0, 1)], 2),
|
|
153
157
|
isSelected.value && mode.value === "horizontal" ? (openBlock(), createElementBlock("div", {
|
|
154
158
|
key: 2,
|
|
155
159
|
class: normalizeClass(`${menuPrefixCls.value}-selected-label`)
|
|
@@ -159,6 +163,7 @@ var sub_menu_pop_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
159
163
|
}, 16, [
|
|
160
164
|
"class",
|
|
161
165
|
"position",
|
|
166
|
+
"floating-options",
|
|
162
167
|
"popup-visible"
|
|
163
168
|
]);
|
|
164
169
|
};
|
package/es/menu/sub-menu.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 IconRight from "../icon/icon-right/index.js";
|
|
3
3
|
import IconDown from "../icon/icon-down/index.js";
|
|
4
4
|
import useLevel from "./hooks/use-level.js";
|
package/es/message/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 { isFunction, isString, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { getOverlay } from "../_utils/dom.js";
|
|
4
4
|
import { MESSAGE_TYPES } from "../_utils/constant.js";
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
onAfterClose?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
position: "
|
|
27
|
+
position: "bottom" | "top";
|
|
28
28
|
messages: MessageItem[];
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
export default _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 { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
4
4
|
import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
|
package/es/modal/index.d.ts
CHANGED
|
@@ -126,26 +126,26 @@ declare const Modal: {
|
|
|
126
126
|
default: boolean;
|
|
127
127
|
};
|
|
128
128
|
}>> & Readonly<{
|
|
129
|
+
onOpen?: (() => any) | undefined;
|
|
129
130
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
130
131
|
onClose?: (() => any) | undefined;
|
|
131
132
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
132
|
-
onOpen?: (() => any) | undefined;
|
|
133
133
|
onOk?: ((_e: Event) => any) | undefined;
|
|
134
134
|
onBeforeOpen?: (() => any) | undefined;
|
|
135
135
|
onBeforeClose?: (() => any) | undefined;
|
|
136
136
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
137
|
+
open: () => any;
|
|
137
138
|
cancel: (_e: Event) => any;
|
|
138
139
|
close: () => any;
|
|
139
140
|
"update:visible": (_visible: boolean) => any;
|
|
140
|
-
open: () => any;
|
|
141
141
|
ok: (_e: Event) => any;
|
|
142
142
|
beforeOpen: () => any;
|
|
143
143
|
beforeClose: () => any;
|
|
144
144
|
}, import("vue").PublicProps, {
|
|
145
|
+
visible: boolean;
|
|
145
146
|
footer: boolean;
|
|
146
147
|
mask: boolean;
|
|
147
148
|
popupContainer: string | HTMLElement;
|
|
148
|
-
visible: boolean;
|
|
149
149
|
unmountOnClose: boolean;
|
|
150
150
|
renderToBody: boolean;
|
|
151
151
|
escToClose: boolean;
|
|
@@ -294,18 +294,18 @@ declare const Modal: {
|
|
|
294
294
|
default: boolean;
|
|
295
295
|
};
|
|
296
296
|
}>> & Readonly<{
|
|
297
|
+
onOpen?: (() => any) | undefined;
|
|
297
298
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
298
299
|
onClose?: (() => any) | undefined;
|
|
299
300
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
300
|
-
onOpen?: (() => any) | undefined;
|
|
301
301
|
onOk?: ((_e: Event) => any) | undefined;
|
|
302
302
|
onBeforeOpen?: (() => any) | undefined;
|
|
303
303
|
onBeforeClose?: (() => any) | undefined;
|
|
304
304
|
}>, {}, {}, {}, {}, {
|
|
305
|
+
visible: boolean;
|
|
305
306
|
footer: boolean;
|
|
306
307
|
mask: boolean;
|
|
307
308
|
popupContainer: string | HTMLElement;
|
|
308
|
-
visible: boolean;
|
|
309
309
|
unmountOnClose: boolean;
|
|
310
310
|
renderToBody: boolean;
|
|
311
311
|
escToClose: boolean;
|
|
@@ -451,26 +451,26 @@ declare const Modal: {
|
|
|
451
451
|
default: boolean;
|
|
452
452
|
};
|
|
453
453
|
}>> & Readonly<{
|
|
454
|
+
onOpen?: (() => any) | undefined;
|
|
454
455
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
455
456
|
onClose?: (() => any) | undefined;
|
|
456
457
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
457
|
-
onOpen?: (() => any) | undefined;
|
|
458
458
|
onOk?: ((_e: Event) => any) | undefined;
|
|
459
459
|
onBeforeOpen?: (() => any) | undefined;
|
|
460
460
|
onBeforeClose?: (() => any) | undefined;
|
|
461
461
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
462
|
+
open: () => any;
|
|
462
463
|
cancel: (_e: Event) => any;
|
|
463
464
|
close: () => any;
|
|
464
465
|
"update:visible": (_visible: boolean) => any;
|
|
465
|
-
open: () => any;
|
|
466
466
|
ok: (_e: Event) => any;
|
|
467
467
|
beforeOpen: () => any;
|
|
468
468
|
beforeClose: () => any;
|
|
469
469
|
}, string, {
|
|
470
|
+
visible: boolean;
|
|
470
471
|
footer: boolean;
|
|
471
472
|
mask: boolean;
|
|
472
473
|
popupContainer: string | HTMLElement;
|
|
473
|
-
visible: boolean;
|
|
474
474
|
unmountOnClose: boolean;
|
|
475
475
|
renderToBody: boolean;
|
|
476
476
|
escToClose: boolean;
|
|
@@ -501,11 +501,11 @@ declare const Modal: {
|
|
|
501
501
|
destroyAll: () => void;
|
|
502
502
|
install: (app: App, options?: SDOptions) => void;
|
|
503
503
|
_context: AppContext | null;
|
|
504
|
+
open: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
504
505
|
success: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
505
506
|
warning: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
506
507
|
info: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
507
508
|
error: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
508
|
-
open: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
509
509
|
confirm: (config: ModalConfig, appContext?: AppContext) => import("./interface").ModalReturn;
|
|
510
510
|
};
|
|
511
511
|
export type { ModalMethod, ModalConfig, ModalGlobalConfig, ModalReturn } from './interface';
|
package/es/modal/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
|
|
3
3
|
import { isFunction } from "../_utils/is.js";
|
|
4
4
|
import { getSlotFunction } from "../_utils/vue-utils.js";
|
|
5
5
|
import { getOverlay } from "../_utils/dom.js";
|
|
6
|
-
import
|
|
6
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
7
7
|
import { MESSAGE_TYPES } from "../_utils/constant.js";
|
|
8
8
|
import { omit } from "../_utils/omit.js";
|
|
9
9
|
import modal_default from "./modal.js";
|
package/es/modal/modal.vue.d.ts
CHANGED
|
@@ -134,10 +134,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
134
134
|
default: boolean;
|
|
135
135
|
};
|
|
136
136
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
137
|
+
open: () => any;
|
|
137
138
|
cancel: (_e: Event) => any;
|
|
138
139
|
close: () => any;
|
|
139
140
|
"update:visible": (_visible: boolean) => any;
|
|
140
|
-
open: () => any;
|
|
141
141
|
ok: (_e: Event) => any;
|
|
142
142
|
beforeOpen: () => any;
|
|
143
143
|
beforeClose: () => any;
|
|
@@ -265,18 +265,18 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
265
265
|
default: boolean;
|
|
266
266
|
};
|
|
267
267
|
}>> & Readonly<{
|
|
268
|
+
onOpen?: (() => any) | undefined;
|
|
268
269
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
269
270
|
onClose?: (() => any) | undefined;
|
|
270
271
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
271
|
-
onOpen?: (() => any) | undefined;
|
|
272
272
|
onOk?: ((_e: Event) => any) | undefined;
|
|
273
273
|
onBeforeOpen?: (() => any) | undefined;
|
|
274
274
|
onBeforeClose?: (() => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
+
visible: boolean;
|
|
276
277
|
footer: boolean;
|
|
277
278
|
mask: boolean;
|
|
278
279
|
popupContainer: string | HTMLElement;
|
|
279
|
-
visible: boolean;
|
|
280
280
|
unmountOnClose: boolean;
|
|
281
281
|
renderToBody: boolean;
|
|
282
282
|
escToClose: boolean;
|
|
@@ -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 { isBoolean, isFunction, isNumber, isPromise } from "../_utils/is.js";
|
|
4
4
|
import { getElement, off, on } from "../_utils/dom.js";
|
|
@@ -10,7 +10,7 @@ import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
|
|
|
10
10
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
11
11
|
import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
|
|
12
12
|
import { useI18n } from "../locale/index.js";
|
|
13
|
-
import
|
|
13
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
14
14
|
import client_only_default from "../_components/client-only.js";
|
|
15
15
|
import usePopupManager from "../_hooks/use-popup-manager.js";
|
|
16
16
|
import { useTeleportContainer } from "../_hooks/use-teleport-container.js";
|
package/es/notification/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 { isFunction, isString, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { getOverlay } from "../_utils/dom.js";
|
|
4
4
|
import { MESSAGE_TYPES } from "../_utils/constant.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
4
4
|
import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
4
4
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { computed, createElementBlock, createTextVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useI18n } from "../locale/index.js";
|
|
4
4
|
import InputNumber from "../input-number/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useI18n } from "../locale/index.js";
|
|
4
4
|
import Select from "../select/index.js";
|
package/es/popconfirm/index.d.ts
CHANGED
|
@@ -47,6 +47,9 @@ declare const Popconfirm: {
|
|
|
47
47
|
popupContainer: {
|
|
48
48
|
type: import("vue").PropType<string | HTMLElement>;
|
|
49
49
|
};
|
|
50
|
+
floatingOptions: {
|
|
51
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
52
|
+
};
|
|
50
53
|
onBeforeOk: {
|
|
51
54
|
type: import("vue").PropType<(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>>;
|
|
52
55
|
};
|
|
@@ -65,9 +68,9 @@ declare const Popconfirm: {
|
|
|
65
68
|
ok: () => any;
|
|
66
69
|
}, import("vue").PublicProps, {
|
|
67
70
|
type: "success" | "warning" | "info" | "error";
|
|
71
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
68
72
|
popupVisible: boolean;
|
|
69
73
|
defaultPopupVisible: boolean;
|
|
70
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
71
74
|
okLoading: boolean;
|
|
72
75
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
73
76
|
P: {};
|
|
@@ -121,6 +124,9 @@ declare const Popconfirm: {
|
|
|
121
124
|
popupContainer: {
|
|
122
125
|
type: import("vue").PropType<string | HTMLElement>;
|
|
123
126
|
};
|
|
127
|
+
floatingOptions: {
|
|
128
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
129
|
+
};
|
|
124
130
|
onBeforeOk: {
|
|
125
131
|
type: import("vue").PropType<(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>>;
|
|
126
132
|
};
|
|
@@ -134,9 +140,9 @@ declare const Popconfirm: {
|
|
|
134
140
|
onOk?: (() => any) | undefined;
|
|
135
141
|
}>, {}, {}, {}, {}, {
|
|
136
142
|
type: "success" | "warning" | "info" | "error";
|
|
143
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
137
144
|
popupVisible: boolean;
|
|
138
145
|
defaultPopupVisible: boolean;
|
|
139
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
140
146
|
okLoading: boolean;
|
|
141
147
|
}>;
|
|
142
148
|
__isFragment?: never;
|
|
@@ -187,6 +193,9 @@ declare const Popconfirm: {
|
|
|
187
193
|
popupContainer: {
|
|
188
194
|
type: import("vue").PropType<string | HTMLElement>;
|
|
189
195
|
};
|
|
196
|
+
floatingOptions: {
|
|
197
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
198
|
+
};
|
|
190
199
|
onBeforeOk: {
|
|
191
200
|
type: import("vue").PropType<(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>>;
|
|
192
201
|
};
|
|
@@ -205,9 +214,9 @@ declare const Popconfirm: {
|
|
|
205
214
|
ok: () => any;
|
|
206
215
|
}, string, {
|
|
207
216
|
type: "success" | "warning" | "info" | "error";
|
|
217
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
208
218
|
popupVisible: boolean;
|
|
209
219
|
defaultPopupVisible: boolean;
|
|
210
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
211
220
|
okLoading: boolean;
|
|
212
221
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
213
222
|
$slots: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { CSSProperties } from 'vue';
|
|
3
3
|
import type { MessageType, TriggerPosition } from '../_utils/constant';
|
|
4
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
4
5
|
import { ClassName } from '../_utils/types';
|
|
5
6
|
import { ButtonProps } from '../button';
|
|
6
7
|
declare var __VLS_10: {}, __VLS_13: {}, __VLS_35: {};
|
|
@@ -56,6 +57,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
56
57
|
popupContainer: {
|
|
57
58
|
type: PropType<string | HTMLElement>;
|
|
58
59
|
};
|
|
60
|
+
floatingOptions: {
|
|
61
|
+
type: PropType<FloatingOptions>;
|
|
62
|
+
};
|
|
59
63
|
onBeforeOk: {
|
|
60
64
|
type: PropType<(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>>;
|
|
61
65
|
};
|
|
@@ -112,6 +116,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
112
116
|
popupContainer: {
|
|
113
117
|
type: PropType<string | HTMLElement>;
|
|
114
118
|
};
|
|
119
|
+
floatingOptions: {
|
|
120
|
+
type: PropType<FloatingOptions>;
|
|
121
|
+
};
|
|
115
122
|
onBeforeOk: {
|
|
116
123
|
type: PropType<(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>>;
|
|
117
124
|
};
|
|
@@ -125,9 +132,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
125
132
|
onOk?: (() => any) | undefined;
|
|
126
133
|
}>, {
|
|
127
134
|
type: "success" | "warning" | "info" | "error";
|
|
135
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
128
136
|
popupVisible: boolean;
|
|
129
137
|
defaultPopupVisible: boolean;
|
|
130
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
131
138
|
okLoading: boolean;
|
|
132
139
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
140
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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 { isBoolean, isFunction, isPromise } from "../_utils/is.js";
|
|
4
4
|
import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
|
|
@@ -6,7 +6,7 @@ import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
|
|
|
6
6
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
7
7
|
import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
|
|
8
8
|
import { useI18n } from "../locale/index.js";
|
|
9
|
-
import
|
|
9
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
10
10
|
import Trigger from "../trigger/index.js";
|
|
11
11
|
import Button from "../button/index.js";
|
|
12
12
|
import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
@@ -115,6 +115,7 @@ var popconfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
|
|
|
115
115
|
* @en Mount container for popup
|
|
116
116
|
*/
|
|
117
117
|
popupContainer: { type: [String, Object] },
|
|
118
|
+
floatingOptions: { type: Object },
|
|
118
119
|
/**
|
|
119
120
|
* @zh 触发 ok 事件前的回调函数。如果返回 false 则不会触发后续事件,也可使用 done 进行异步关闭。
|
|
120
121
|
* @en The callback function before the ok event is triggered. If false is returned, subsequent events will not be triggered, and done can also be used to close asynchronously.
|
|
@@ -225,6 +226,7 @@ var popconfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
|
|
|
225
226
|
"popup-visible": computedPopupVisible.value,
|
|
226
227
|
"popup-offset": 10,
|
|
227
228
|
"popup-container": __props.popupContainer,
|
|
229
|
+
"floating-options": __props.floatingOptions,
|
|
228
230
|
"content-class": contentCls.value,
|
|
229
231
|
"content-style": __props.contentStyle,
|
|
230
232
|
"arrow-class": arrowCls.value,
|
|
@@ -255,6 +257,7 @@ var popconfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
|
|
|
255
257
|
"position",
|
|
256
258
|
"popup-visible",
|
|
257
259
|
"popup-container",
|
|
260
|
+
"floating-options",
|
|
258
261
|
"content-class",
|
|
259
262
|
"content-style",
|
|
260
263
|
"arrow-class",
|
package/es/popover/index.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ declare const Popover: {
|
|
|
40
40
|
popupContainer: {
|
|
41
41
|
type: import("vue").PropType<string | HTMLElement>;
|
|
42
42
|
};
|
|
43
|
+
floatingOptions: {
|
|
44
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
45
|
+
};
|
|
43
46
|
}>> & Readonly<{
|
|
44
47
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
45
48
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
@@ -47,11 +50,11 @@ declare const Popover: {
|
|
|
47
50
|
"update:popupVisible": (_visible: boolean) => any;
|
|
48
51
|
popupVisibleChange: (_visible: boolean) => any;
|
|
49
52
|
}, import("vue").PublicProps, {
|
|
53
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
54
|
+
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
50
55
|
popupVisible: boolean;
|
|
51
56
|
defaultPopupVisible: boolean;
|
|
52
57
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
53
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
54
|
-
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
55
58
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
56
59
|
P: {};
|
|
57
60
|
B: {};
|
|
@@ -97,15 +100,18 @@ declare const Popover: {
|
|
|
97
100
|
popupContainer: {
|
|
98
101
|
type: import("vue").PropType<string | HTMLElement>;
|
|
99
102
|
};
|
|
103
|
+
floatingOptions: {
|
|
104
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
105
|
+
};
|
|
100
106
|
}>> & Readonly<{
|
|
101
107
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
102
108
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
103
109
|
}>, {}, {}, {}, {}, {
|
|
110
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
111
|
+
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
104
112
|
popupVisible: boolean;
|
|
105
113
|
defaultPopupVisible: boolean;
|
|
106
114
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
107
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
108
|
-
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
109
115
|
}>;
|
|
110
116
|
__isFragment?: never;
|
|
111
117
|
__isTeleport?: never;
|
|
@@ -148,6 +154,9 @@ declare const Popover: {
|
|
|
148
154
|
popupContainer: {
|
|
149
155
|
type: import("vue").PropType<string | HTMLElement>;
|
|
150
156
|
};
|
|
157
|
+
floatingOptions: {
|
|
158
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
159
|
+
};
|
|
151
160
|
}>> & Readonly<{
|
|
152
161
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
153
162
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
@@ -155,11 +164,11 @@ declare const Popover: {
|
|
|
155
164
|
"update:popupVisible": (_visible: boolean) => any;
|
|
156
165
|
popupVisibleChange: (_visible: boolean) => any;
|
|
157
166
|
}, string, {
|
|
167
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
168
|
+
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
158
169
|
popupVisible: boolean;
|
|
159
170
|
defaultPopupVisible: boolean;
|
|
160
171
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
161
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
162
|
-
scrollbar: boolean | import("../index.ts").ScrollbarProps;
|
|
163
172
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
164
173
|
$slots: {
|
|
165
174
|
default?: (props: {}) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { CSSProperties } from 'vue';
|
|
3
3
|
import type { TriggerEvent, TriggerPosition } from '../_utils/constant';
|
|
4
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
4
5
|
import { ClassName } from '../_utils/types';
|
|
5
6
|
import { ScrollbarProps } from '../scrollbar';
|
|
6
7
|
declare var __VLS_10: {}, __VLS_13: {}, __VLS_21: {};
|
|
@@ -49,6 +50,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
49
50
|
popupContainer: {
|
|
50
51
|
type: PropType<string | HTMLElement>;
|
|
51
52
|
};
|
|
53
|
+
floatingOptions: {
|
|
54
|
+
type: PropType<FloatingOptions>;
|
|
55
|
+
};
|
|
52
56
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
57
|
"update:popupVisible": (_visible: boolean) => any;
|
|
54
58
|
popupVisibleChange: (_visible: boolean) => any;
|
|
@@ -90,15 +94,18 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
90
94
|
popupContainer: {
|
|
91
95
|
type: PropType<string | HTMLElement>;
|
|
92
96
|
};
|
|
97
|
+
floatingOptions: {
|
|
98
|
+
type: PropType<FloatingOptions>;
|
|
99
|
+
};
|
|
93
100
|
}>> & Readonly<{
|
|
94
101
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
95
102
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
96
103
|
}>, {
|
|
104
|
+
position: "left" | "right" | "bottom" | "top" | "tl" | "tr" | "bl" | "br" | "lt" | "lb" | "rt" | "rb";
|
|
105
|
+
scrollbar: boolean | ScrollbarProps;
|
|
97
106
|
popupVisible: boolean;
|
|
98
107
|
defaultPopupVisible: boolean;
|
|
99
108
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
100
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
101
|
-
scrollbar: boolean | ScrollbarProps;
|
|
102
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
110
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
104
111
|
declare const _default: typeof __VLS_export;
|
|
@@ -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 Trigger from "../trigger/index.js";
|
|
4
4
|
import { useScrollbar } from "../_hooks/use-scrollbar.js";
|
|
@@ -89,7 +89,8 @@ var popover_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
89
89
|
* @zh 弹出框的挂载容器
|
|
90
90
|
* @en Mount container for pop-up box
|
|
91
91
|
*/
|
|
92
|
-
popupContainer: { type: [String, Object] }
|
|
92
|
+
popupContainer: { type: [String, Object] },
|
|
93
|
+
floatingOptions: { type: Object }
|
|
93
94
|
},
|
|
94
95
|
emits: ["update:popupVisible", "popupVisibleChange"],
|
|
95
96
|
setup(__props, { emit: __emit }) {
|
|
@@ -133,6 +134,7 @@ var popover_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
133
134
|
"arrow-style": __props.arrowStyle,
|
|
134
135
|
"show-arrow": "",
|
|
135
136
|
"popup-container": __props.popupContainer,
|
|
137
|
+
"floating-options": __props.floatingOptions,
|
|
136
138
|
"animation-name": "zoom-in-fade-out",
|
|
137
139
|
"auto-fit-transform-origin": "",
|
|
138
140
|
"esc-to-close": "",
|
|
@@ -157,7 +159,8 @@ var popover_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
157
159
|
"content-style",
|
|
158
160
|
"arrow-class",
|
|
159
161
|
"arrow-style",
|
|
160
|
-
"popup-container"
|
|
162
|
+
"popup-container",
|
|
163
|
+
"floating-options"
|
|
161
164
|
]);
|
|
162
165
|
};
|
|
163
166
|
}
|
|
@@ -77,8 +77,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
77
77
|
type: NumberConstructor;
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
|
-
size: "small" | "mini" | "medium" | "large";
|
|
81
80
|
color: string | Record<string, any>;
|
|
81
|
+
size: "small" | "medium" | "large" | "mini";
|
|
82
82
|
width: number;
|
|
83
83
|
status: string;
|
|
84
84
|
percent: number;
|
|
@@ -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 { isObject } from "../_utils/is.js";
|
|
4
4
|
import IconCheck from "../icon/icon-check/index.js";
|
|
@@ -75,9 +75,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
75
75
|
};
|
|
76
76
|
showText: BooleanConstructor;
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
|
+
color: string | Record<string, any>;
|
|
78
79
|
size: "small" | "medium" | "large";
|
|
79
80
|
strokeWidth: number;
|
|
80
|
-
color: string | Record<string, any>;
|
|
81
81
|
width: string | number;
|
|
82
82
|
animation: boolean;
|
|
83
83
|
percent: number;
|
|
@@ -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 { isObject } from "../_utils/is.js";
|
|
4
4
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useSize } from "../_hooks/use-size.js";
|
|
4
4
|
import circle_default from "./circle.js";
|