@sdata/web-vue 3.16.1 → 3.18.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 +81 -0
- package/dist/sd.min.css +1 -1
- package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/_hooks/use-cursor.js +4 -2
- package/es/_hooks/use-scrollbar.js +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_vue_type_script_setup_true_lang.js +5 -2
- package/es/anchor/index.js +1 -1
- package/es/auto-complete/auto-complete.d.ts +7 -0
- package/es/auto-complete/auto-complete.js +34 -27
- package/es/auto-complete/index.d.ts +9 -0
- 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 +18 -18
- 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 +54 -54
- 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 +8 -4
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +34 -15
- package/es/button/index.d.ts +4 -0
- package/es/button/index.js +1 -1
- package/es/button/style/index.css +11 -0
- package/es/button/style/index.scss +12 -0
- 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/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_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.js +1 -1
- package/es/cascader/cascader-column.js +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader-search-panel.js +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +138 -132
- package/es/cascader/index.js +1 -1
- package/es/cascader/types.d.ts +2 -0
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/index.js +1 -1
- package/es/color-picker/color-picker.d.ts +7 -0
- package/es/color-picker/color-picker.js +15 -10
- package/es/color-picker/index.d.ts +9 -0
- 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 +1 -0
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 +9 -0
- package/es/date-picker/index.js +1 -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_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue.d.ts +7 -0
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +10 -5
- 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 +7 -0
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +8 -4
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.js +1 -1
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue.d.ts +7 -0
- 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_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/dropdown/dropdown-submenu.vue.d.ts +7 -0
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/dropdown.vue.d.ts +7 -0
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/dropdown/index.d.ts +27 -0
- package/es/dropdown/index.js +1 -1
- package/es/dropdown/interface.d.ts +3 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +5 -5
- 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_vue_type_script_setup_true_lang.js +5 -5
- package/es/form/form.vue_vue_type_script_setup_true_lang.js +3 -2
- 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_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.js +1 -1
- 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.js +5 -0
- package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-list/index.js +9 -0
- 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-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-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-arrow.vue_vue_type_script_setup_true_lang.js +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 +81 -0
- package/es/index.d.ts +5 -3
- package/es/index.js +4 -3
- package/es/index.scss +1 -0
- 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_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input.js +1 -1
- package/es/input-number/input-number.js +2 -2
- package/es/input-tag/input-tag.js +7 -4
- 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/constants.d.ts +1 -0
- package/es/kv-list/constants.js +127 -0
- package/es/kv-list/index.d.ts +304 -0
- package/es/kv-list/index.js +10 -0
- package/es/kv-list/kv-list-row.js +5 -0
- package/es/kv-list/kv-list-row.vue.d.ts +29 -0
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +121 -0
- package/es/kv-list/kv-list.js +5 -0
- package/es/kv-list/kv-list.vue.d.ts +34 -0
- package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +262 -0
- package/es/kv-list/style/css.js +2 -0
- package/es/kv-list/style/index.css +86 -0
- package/es/kv-list/style/index.d.ts +2 -0
- package/es/kv-list/style/index.js +2 -0
- package/es/kv-list/style/index.scss +93 -0
- package/es/kv-list/style/token.scss +14 -0
- package/es/kv-list/types.d.ts +29 -0
- package/es/kv-list/utils.d.ts +8 -0
- package/es/kv-list/utils.js +32 -0
- 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/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 +2 -2
- package/es/locale/interface.d.ts +11 -0
- package/es/locale/lang/ar-eg.js +2 -0
- package/es/locale/lang/de-de.js +2 -0
- package/es/locale/lang/en-us.js +2 -0
- package/es/locale/lang/es-es.js +2 -0
- package/es/locale/lang/fr-fr.js +2 -0
- package/es/locale/lang/id-id.js +2 -0
- package/es/locale/lang/it-it.js +2 -0
- package/es/locale/lang/ja-jp.js +2 -0
- package/es/locale/lang/km-kh.js +2 -0
- package/es/locale/lang/ko-kr.js +2 -0
- package/es/locale/lang/kv-list.d.ts +2 -0
- package/es/locale/lang/kv-list.js +14 -0
- package/es/locale/lang/ms-my.js +2 -0
- package/es/locale/lang/nl-nl.js +2 -0
- package/es/locale/lang/pt-pt.js +2 -0
- package/es/locale/lang/ru-ru.js +2 -0
- package/es/locale/lang/th-th.js +2 -0
- package/es/locale/lang/vi-vn.js +2 -0
- package/es/locale/lang/zh-cn.js +11 -0
- package/es/locale/lang/zh-tw.js +11 -0
- package/es/mention/index.d.ts +9 -0
- package/es/mention/mention.d.ts +7 -0
- package/es/mention/mention.js +9 -2
- 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.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/modal/index.js +2 -2
- 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 +9 -0
- package/es/popconfirm/popconfirm.vue.d.ts +7 -0
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/popover/index.d.ts +9 -0
- package/es/popover/popover.vue.d.ts +7 -0
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +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/qr-code.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/radio/index.js +1 -1
- 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/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +4 -2
- 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 +33 -6
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/select/select.d.ts +19 -3
- package/es/select/select.js +64 -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/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/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_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-marks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-ticks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +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.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/steps/index.js +1 -1
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +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.js +1 -1
- package/es/table/interface.d.ts +2 -0
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.js +3 -2
- package/es/table/table.js +6 -4
- package/es/table/utils.js +2 -2
- 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.js +2 -1
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
- 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/textarea.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/index.d.ts +9 -0
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-picker.vue.d.ts +7 -0
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/timeline/index.js +1 -1
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/tooltip/interface.d.ts +2 -0
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/tour/index.d.ts +15 -0
- package/es/tour/tour.vue.d.ts +10 -0
- 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/transfer-view.vue_vue_type_script_setup_true_lang.js +2 -2
- 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_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/panel.js +1 -1
- package/es/tree-select/tree-select.vue.d.ts +7 -0
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +146 -136
- package/es/trigger/index.d.ts +13 -3
- package/es/trigger/interface.d.ts +2 -0
- package/es/trigger/trigger.d.ts +8 -1
- 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.js +1 -1
- 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/upload.js +2 -2
- package/es/watermark/hooks/use-mutation-observer.js +2 -2
- package/es/watermark/utils/index.js +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +26 -0
- package/json/vetur-tags.json +13 -1
- package/json/web-types.json +72 -1
- package/package.json +15 -13
- package/es/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/toPropertyKey.js +0 -9
|
@@ -15,4 +15,4 @@ function getReturnRangeValue(dates, format, utcOffset, timezone) {
|
|
|
15
15
|
return dates.map((date) => date ? getReturnValue(date, format, utcOffset, timezone) : void 0);
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
|
-
export { getReturnRangeValue, useReturnValue };
|
|
18
|
+
export { getReturnRangeValue, getReturnValue, useReturnValue };
|
|
@@ -378,6 +378,9 @@ declare const DatePicker: {
|
|
|
378
378
|
triggerProps: {
|
|
379
379
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
380
380
|
};
|
|
381
|
+
floatingOptions: {
|
|
382
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
383
|
+
};
|
|
381
384
|
unmountOnClose: {
|
|
382
385
|
type: BooleanConstructor;
|
|
383
386
|
};
|
|
@@ -566,6 +569,9 @@ declare const DatePicker: {
|
|
|
566
569
|
triggerProps: {
|
|
567
570
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
568
571
|
};
|
|
572
|
+
floatingOptions: {
|
|
573
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
574
|
+
};
|
|
569
575
|
unmountOnClose: {
|
|
570
576
|
type: BooleanConstructor;
|
|
571
577
|
};
|
|
@@ -740,6 +746,9 @@ declare const DatePicker: {
|
|
|
740
746
|
triggerProps: {
|
|
741
747
|
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
742
748
|
};
|
|
749
|
+
floatingOptions: {
|
|
750
|
+
type: import("vue").PropType<import("../index.ts").FloatingOptions>;
|
|
751
|
+
};
|
|
743
752
|
unmountOnClose: {
|
|
744
753
|
type: BooleanConstructor;
|
|
745
754
|
};
|
package/es/date-picker/index.js
CHANGED
|
@@ -24,4 +24,4 @@ var DatePicker = Object.assign(date_picker_default, {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
|
-
export { DatePicker as default };
|
|
27
|
+
export { month_picker_default as MonthPicker, quarter_picker_default as QuarterPicker, range_picker_default as RangePicker, week_picker_default as WeekPicker, year_picker_default as YearPicker, DatePicker 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 { getDateValue } from "../../_utils/date.js";
|
|
3
3
|
import { isDisabledDate } from "../utils/index.js";
|
|
4
4
|
import useCellClassName from "../hooks/use-cell-class-name.js";
|
|
@@ -52,7 +52,8 @@ var body_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
52
52
|
const isWeek = computed(() => (mode === null || mode === void 0 ? void 0 : mode.value) === "week");
|
|
53
53
|
const isHiddenNotInViewCell = (cellData) => props.hideNotInViewDates && (cellData.isPrev || cellData.isNext);
|
|
54
54
|
const getCellClassNameFn = (cellData) => {
|
|
55
|
-
|
|
55
|
+
const disabled = isCellDisabled(cellData);
|
|
56
|
+
return getCellClassName(cellData, disabled);
|
|
56
57
|
};
|
|
57
58
|
const onCellClick = (cellData) => {
|
|
58
59
|
if (isCellDisabled(cellData) || isHiddenNotInViewCell(cellData)) return;
|
|
@@ -96,10 +97,7 @@ var body_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
|
|
|
96
97
|
onClick: () => {
|
|
97
98
|
onCellClick(cell);
|
|
98
99
|
}
|
|
99
|
-
}, [!isHiddenNotInViewCell(cell) ? renderSlot(_ctx.$slots, "cell", {
|
|
100
|
-
key: 0,
|
|
101
|
-
date: unref(getDateValue)(cell.value)
|
|
102
|
-
}, () => [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-date`) }, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-date-value`) }, toDisplayString(cell.label), 3)], 2)]) : (openBlock(), createElementBlock("div", {
|
|
100
|
+
}, [!isHiddenNotInViewCell(cell) ? renderSlot(_ctx.$slots, "cell", { date: unref(getDateValue)(cell.value) }, () => [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-date`) }, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-date-value`) }, toDisplayString(cell.label), 3)], 2)], void 0, 0) : (openBlock(), createElementBlock("div", {
|
|
103
101
|
key: 1,
|
|
104
102
|
class: normalizeClass(`${unref(prefixCls)}-date`)
|
|
105
103
|
}, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-date-value`) }, null, 2)], 2))], 42, _hoisted_1))], 64);
|
|
@@ -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 useMergeState from "../../../_hooks/use-merge-state.js";
|
|
4
4
|
import { getDateValue, getNow, methods } from "../../../_utils/date.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 Button from "../../button/index.js";
|
|
3
3
|
import Link from "../../link/index.js";
|
|
4
4
|
import useDatePickerTransform from "../hooks/use-inject-datepicker-transform.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 { isFunction } from "../../_utils/is.js";
|
|
3
3
|
import IconLeft from "../../icon/icon-left/index.js";
|
|
4
4
|
import IconRight from "../../icon/icon-right/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 { dayjs } from "../../../_utils/date.js";
|
|
4
4
|
import useDatePickerTransform from "../../hooks/use-inject-datepicker-transform.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 { dayjs } from "../../../_utils/date.js";
|
|
4
4
|
import { padStart } from "../../../_utils/pad.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 { isFunction } from "../../_utils/is.js";
|
|
3
3
|
import Button from "../../button/index.js";
|
|
4
4
|
import useDatePickerTransform from "../hooks/use-inject-datepicker-transform.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 { useI18n } from "../../../locale/index.js";
|
|
3
3
|
import { methods } from "../../../_utils/date.js";
|
|
4
4
|
import date_default from "../date/index.js";
|
|
@@ -33,10 +33,12 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
33
33
|
return methods.isSameWeek(current, target, props.dayStartOfWeek);
|
|
34
34
|
};
|
|
35
35
|
const onSelect = (value) => {
|
|
36
|
-
|
|
36
|
+
const startDateOfWeek = methods.startOfWeek(value, props.dayStartOfWeek);
|
|
37
|
+
emit("select", startDateOfWeek);
|
|
37
38
|
};
|
|
38
39
|
const onCellMouseEnter = (value) => {
|
|
39
|
-
|
|
40
|
+
const startDateOfWeek = methods.startOfWeek(value, props.dayStartOfWeek);
|
|
41
|
+
emit("cell-mouse-enter", startDateOfWeek);
|
|
40
42
|
};
|
|
41
43
|
return (_ctx, _cache) => {
|
|
42
44
|
return openBlock(), createBlock(date_default, mergeProps(_ctx.$attrs, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import useDatePickerTransform from "../hooks/use-inject-datepicker-transform.js";
|
|
3
3
|
import { Fragment, computed, createElementBlock, defineComponent, normalizeClass, openBlock, renderList, toDisplayString } from "vue";
|
|
4
4
|
//#region components/date-picker/panels/week-list.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -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 { dayjs } from "../../../_utils/date.js";
|
|
4
4
|
import { newArray } from "../../utils/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 { isFunction } from "../_utils/is.js";
|
|
3
3
|
import { getDayjsValue, getNow } from "../_utils/date.js";
|
|
4
4
|
import useHeaderValue from "./hooks/use-header-value.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Dayjs } from 'dayjs';
|
|
3
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
3
4
|
import { Size } from '../_utils/constant';
|
|
4
5
|
import { TimePickerProps } from '../time-picker/interface';
|
|
5
6
|
import { TriggerProps } from '../trigger';
|
|
@@ -977,6 +978,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
977
978
|
triggerProps: {
|
|
978
979
|
type: PropType<TriggerProps>;
|
|
979
980
|
};
|
|
981
|
+
floatingOptions: {
|
|
982
|
+
type: PropType<FloatingOptions>;
|
|
983
|
+
};
|
|
980
984
|
unmountOnClose: {
|
|
981
985
|
type: BooleanConstructor;
|
|
982
986
|
};
|
|
@@ -1112,6 +1116,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1112
1116
|
triggerProps: {
|
|
1113
1117
|
type: PropType<TriggerProps>;
|
|
1114
1118
|
};
|
|
1119
|
+
floatingOptions: {
|
|
1120
|
+
type: PropType<FloatingOptions>;
|
|
1121
|
+
};
|
|
1115
1122
|
unmountOnClose: {
|
|
1116
1123
|
type: BooleanConstructor;
|
|
1117
1124
|
};
|
|
@@ -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 { isBoolean, isFunction } from "../_utils/is.js";
|
|
5
5
|
import { useI18n } from "../locale/index.js";
|
|
@@ -115,6 +115,7 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
115
115
|
* @en You can pass in the parameters of the `Trigger` component
|
|
116
116
|
*/
|
|
117
117
|
triggerProps: { type: Object },
|
|
118
|
+
floatingOptions: { type: Object },
|
|
118
119
|
/**
|
|
119
120
|
* @zh 是否在隐藏的时候销毁DOM结构
|
|
120
121
|
* @en Whether to destroy the DOM structure when hiding
|
|
@@ -443,7 +444,8 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
443
444
|
const returnValue = getReturnValue(newVal);
|
|
444
445
|
const localValue = toLocal(newVal, utcOffset === null || utcOffset === void 0 ? void 0 : utcOffset.value, timezone === null || timezone === void 0 ? void 0 : timezone.value);
|
|
445
446
|
const formattedValue = getFormattedValue(localValue, parseValueFormat.value);
|
|
446
|
-
|
|
447
|
+
const dateValue = getDateValue(localValue);
|
|
448
|
+
emit("picker-value-change", returnValue, dateValue, formattedValue);
|
|
447
449
|
emit("update:pickerValue", returnValue);
|
|
448
450
|
}
|
|
449
451
|
}));
|
|
@@ -495,7 +497,8 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
495
497
|
const returnValue = value ? getReturnValue(value) : void 0;
|
|
496
498
|
const localValue = value ? toLocal(value, utcOffset === null || utcOffset === void 0 ? void 0 : utcOffset.value, timezone === null || timezone === void 0 ? void 0 : timezone.value) : void 0;
|
|
497
499
|
const formattedValue = getFormattedValue(localValue, parseValueFormat.value);
|
|
498
|
-
|
|
500
|
+
const dateValue = getDateValue(localValue);
|
|
501
|
+
emit("select", returnValue, dateValue, formattedValue);
|
|
499
502
|
}
|
|
500
503
|
}
|
|
501
504
|
function getMergedOpValue(date, time) {
|
|
@@ -623,6 +626,7 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
623
626
|
onMonthHeaderClick
|
|
624
627
|
}));
|
|
625
628
|
return (_ctx, _cache) => {
|
|
629
|
+
var _props$floatingOption, _props$triggerProps;
|
|
626
630
|
return !__props.hideTrigger ? (openBlock(), createBlock(unref(Trigger), mergeProps({
|
|
627
631
|
key: 0,
|
|
628
632
|
trigger: "click",
|
|
@@ -631,6 +635,7 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
631
635
|
"click-to-close": false,
|
|
632
636
|
"popup-offset": 4
|
|
633
637
|
}, __props.triggerProps, {
|
|
638
|
+
"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,
|
|
634
639
|
position: __props.position,
|
|
635
640
|
disabled: unref(mergedDisabled) || !!unref(readonly),
|
|
636
641
|
"prevent-focus": true,
|
|
@@ -694,13 +699,13 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
694
699
|
])])]),
|
|
695
700
|
_: 3
|
|
696
701
|
}, 16, [
|
|
702
|
+
"floating-options",
|
|
697
703
|
"position",
|
|
698
704
|
"disabled",
|
|
699
705
|
"popup-visible",
|
|
700
706
|
"unmount-on-close",
|
|
701
707
|
"popup-container"
|
|
702
708
|
])) : renderSlot(_ctx.$slots, "panelRender", {
|
|
703
|
-
key: 1,
|
|
704
709
|
component: picker_panel_default,
|
|
705
710
|
props: panelProps.value
|
|
706
711
|
}, () => [(openBlock(), createBlock(resolveDynamicComponent(picker_panel_default), normalizeProps(guardReactiveProps(_objectSpread2(_objectSpread2({}, panelProps.value), _ctx.$attrs))), createSlots({ _: 2 }, [_ctx.$slots.extra ? {
|
|
@@ -711,7 +716,7 @@ var picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
711
716
|
name: "cell",
|
|
712
717
|
fn: withCtx((scope) => [renderSlot(_ctx.$slots, "cell", normalizeProps(guardReactiveProps(scope)))]),
|
|
713
718
|
key: "1"
|
|
714
|
-
} : void 0]), 1040))]);
|
|
719
|
+
} : void 0]), 1040))], void 0, 1);
|
|
715
720
|
};
|
|
716
721
|
}
|
|
717
722
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { isArray, isFunction } from "../_utils/is.js";
|
|
3
3
|
import { getDayjsValue } from "../_utils/date.js";
|
|
4
4
|
import { normalizeRangeValue } from "./utils/index.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Dayjs } from 'dayjs';
|
|
3
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
3
4
|
import { Size } from '../_utils/constant';
|
|
4
5
|
import { TimePickerProps } from '../time-picker/interface';
|
|
5
6
|
import { TriggerProps } from '../trigger';
|
|
@@ -1420,6 +1421,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1420
1421
|
triggerProps: {
|
|
1421
1422
|
type: PropType<TriggerProps>;
|
|
1422
1423
|
};
|
|
1424
|
+
floatingOptions: {
|
|
1425
|
+
type: PropType<FloatingOptions>;
|
|
1426
|
+
};
|
|
1423
1427
|
unmountOnClose: {
|
|
1424
1428
|
type: BooleanConstructor;
|
|
1425
1429
|
};
|
|
@@ -1567,6 +1571,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1567
1571
|
triggerProps: {
|
|
1568
1572
|
type: PropType<TriggerProps>;
|
|
1569
1573
|
};
|
|
1574
|
+
floatingOptions: {
|
|
1575
|
+
type: PropType<FloatingOptions>;
|
|
1576
|
+
};
|
|
1570
1577
|
unmountOnClose: {
|
|
1571
1578
|
type: BooleanConstructor;
|
|
1572
1579
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
2
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
3
|
-
import
|
|
3
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
5
5
|
import { isArray, isBoolean } from "../_utils/is.js";
|
|
6
6
|
import { useI18n } from "../locale/index.js";
|
|
@@ -180,6 +180,7 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
180
180
|
},
|
|
181
181
|
defaultPopupVisible: { type: Boolean },
|
|
182
182
|
triggerProps: { type: Object },
|
|
183
|
+
floatingOptions: { type: Object },
|
|
183
184
|
unmountOnClose: { type: Boolean },
|
|
184
185
|
/**
|
|
185
186
|
* @zh 面板隐藏不在当前时间范围的灰色日期
|
|
@@ -377,7 +378,8 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
377
378
|
const returnValue = getReturnRangeValue(newVal, returnValueFormat.value, utcOffset === null || utcOffset === void 0 ? void 0 : utcOffset.value, timezone === null || timezone === void 0 ? void 0 : timezone.value);
|
|
378
379
|
const localValue = newVal.map((item) => toLocal(item, utcOffset === null || utcOffset === void 0 ? void 0 : utcOffset.value, timezone === null || timezone === void 0 ? void 0 : timezone.value));
|
|
379
380
|
const formattedValue = getFormattedValue(localValue, parseValueFormat.value);
|
|
380
|
-
|
|
381
|
+
const dateValue = getDateValue(localValue);
|
|
382
|
+
emit("picker-value-change", returnValue, dateValue, formattedValue);
|
|
381
383
|
emit("update:pickerValue", returnValue);
|
|
382
384
|
}
|
|
383
385
|
}));
|
|
@@ -656,6 +658,7 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
656
658
|
onEndHeaderSelect: onEndPanelHeaderSelect
|
|
657
659
|
}));
|
|
658
660
|
return (_ctx, _cache) => {
|
|
661
|
+
var _props$floatingOption, _props$triggerProps;
|
|
659
662
|
return !__props.hideTrigger ? (openBlock(), createBlock(unref(Trigger), mergeProps({
|
|
660
663
|
key: 0,
|
|
661
664
|
trigger: "click",
|
|
@@ -664,6 +667,7 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
664
667
|
"click-to-close": false,
|
|
665
668
|
"popup-offset": 4
|
|
666
669
|
}, __props.triggerProps, {
|
|
670
|
+
"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,
|
|
667
671
|
"unmount-on-close": __props.unmountOnClose,
|
|
668
672
|
position: __props.position,
|
|
669
673
|
disabled: triggerDisabled.value || !!__props.readonly,
|
|
@@ -729,13 +733,13 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
729
733
|
])])]),
|
|
730
734
|
_: 3
|
|
731
735
|
}, 16, [
|
|
736
|
+
"floating-options",
|
|
732
737
|
"unmount-on-close",
|
|
733
738
|
"position",
|
|
734
739
|
"disabled",
|
|
735
740
|
"popup-visible",
|
|
736
741
|
"popup-container"
|
|
737
742
|
])) : renderSlot(_ctx.$slots, "panelRender", {
|
|
738
|
-
key: 1,
|
|
739
743
|
component: range_picker_panel_default,
|
|
740
744
|
props: rangePanelProps.value
|
|
741
745
|
}, () => [(openBlock(), createBlock(resolveDynamicComponent(range_picker_panel_default), normalizeProps(guardReactiveProps(_objectSpread2(_objectSpread2({}, rangePanelProps.value), _ctx.$attrs))), createSlots({ _: 2 }, [_ctx.$slots.extra ? {
|
|
@@ -746,7 +750,7 @@ var range_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
746
750
|
name: "cell",
|
|
747
751
|
fn: withCtx((scope) => [renderSlot(_ctx.$slots, "cell", normalizeProps(guardReactiveProps(scope)))]),
|
|
748
752
|
key: "1"
|
|
749
|
-
} : void 0]), 1040))]);
|
|
753
|
+
} : void 0]), 1040))], void 0, 1);
|
|
750
754
|
};
|
|
751
755
|
}
|
|
752
756
|
}));
|
|
@@ -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 { defineComponent, renderSlot } from "vue";
|
|
4
4
|
//#region components/descriptions/descriptions-item.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -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 { isFunction, isObject } from "../_utils/is.js";
|
|
4
4
|
import { getAllElements, isSlotsChildren } from "../_utils/vue-utils.js";
|
package/es/descriptions/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 { isBoolean, isFunction, isNumber, isPromise } from "../_utils/is.js";
|
|
4
4
|
import { off, on } from "../_utils/dom.js";
|
|
@@ -6,7 +6,7 @@ import icon_hover_default from "../_components/icon-hover.js";
|
|
|
6
6
|
import { KEYBOARD_KEY, onActivate } from "../_utils/keyboard.js";
|
|
7
7
|
import IconClose from "../icon/icon-close/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 client_only_default from "../_components/client-only.js";
|
|
11
11
|
import usePopupManager from "../_hooks/use-popup-manager.js";
|
|
12
12
|
import { useTeleportContainer } from "../_hooks/use-teleport-container.js";
|
package/es/drawer/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 { omit } from "../_utils/omit.js";
|
|
8
8
|
import drawer_default from "./drawer.js";
|
|
9
9
|
import { createVNode, nextTick, render } from "vue";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
2
3
|
import { TriggerEvent } from '../_utils/constant';
|
|
3
4
|
import { ButtonProps } from '../button';
|
|
4
5
|
type DropdownPosition = 'top' | 'tl' | 'tr' | 'bottom' | 'bl' | 'br';
|
|
@@ -32,6 +33,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
32
33
|
popupContainer: {
|
|
33
34
|
type: PropType<string | HTMLElement>;
|
|
34
35
|
};
|
|
36
|
+
floatingOptions: {
|
|
37
|
+
type: PropType<FloatingOptions>;
|
|
38
|
+
};
|
|
35
39
|
disabled: {
|
|
36
40
|
type: BooleanConstructor;
|
|
37
41
|
default: boolean;
|
|
@@ -74,6 +78,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
74
78
|
popupContainer: {
|
|
75
79
|
type: PropType<string | HTMLElement>;
|
|
76
80
|
};
|
|
81
|
+
floatingOptions: {
|
|
82
|
+
type: PropType<FloatingOptions>;
|
|
83
|
+
};
|
|
77
84
|
disabled: {
|
|
78
85
|
type: BooleanConstructor;
|
|
79
86
|
default: 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 button_group_default from "../button/button-group.js";
|
|
4
4
|
import Button from "../button/index.js";
|
|
@@ -50,6 +50,7 @@ var dropdown_button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
50
50
|
* @en Mount container for popup
|
|
51
51
|
*/
|
|
52
52
|
popupContainer: { type: [String, Object] },
|
|
53
|
+
floatingOptions: { type: Object },
|
|
53
54
|
/**
|
|
54
55
|
* @zh 是否禁用
|
|
55
56
|
* @en Whether to disable
|
|
@@ -137,6 +138,7 @@ var dropdown_button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
137
138
|
trigger: __props.trigger,
|
|
138
139
|
position: __props.position,
|
|
139
140
|
"popup-container": __props.popupContainer,
|
|
141
|
+
"floating-options": __props.floatingOptions,
|
|
140
142
|
"hide-on-select": __props.hideOnSelect,
|
|
141
143
|
onSelect: handleSelect,
|
|
142
144
|
onPopupVisibleChange: unref(handlePopupVisibleChange)
|
|
@@ -160,6 +162,7 @@ var dropdown_button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
160
162
|
"trigger",
|
|
161
163
|
"position",
|
|
162
164
|
"popup-container",
|
|
165
|
+
"floating-options",
|
|
163
166
|
"hide-on-select",
|
|
164
167
|
"onPopupVisibleChange"
|
|
165
168
|
])]),
|
|
@@ -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 { Fragment, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
4
4
|
//#region components/dropdown/dropdown-group.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -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 { dropdownInjectionKey } from "./context.js";
|
|
4
4
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, openBlock, ref, renderSlot, unref } from "vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
|
5
|
-
import Scrollbar from "../scrollbar/index.js";
|
|
6
5
|
import Empty from "../empty/index.js";
|
|
6
|
+
import Scrollbar from "../scrollbar/index.js";
|
|
7
7
|
import { dropdownInjectionKey } from "./context.js";
|
|
8
8
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderSlot, unref, useSlots, withCtx } from "vue";
|
|
9
9
|
//#region components/dropdown/dropdown-panel.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
2
3
|
declare var __VLS_16: {}, __VLS_19: {}, __VLS_22: {}, __VLS_36: {}, __VLS_39: {};
|
|
3
4
|
type __VLS_Slots = {} & {
|
|
4
5
|
default?: (props: typeof __VLS_16) => any;
|
|
@@ -27,6 +28,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
27
28
|
type: PropType<"rt" | "lt">;
|
|
28
29
|
default: string;
|
|
29
30
|
};
|
|
31
|
+
floatingOptions: {
|
|
32
|
+
type: PropType<FloatingOptions>;
|
|
33
|
+
};
|
|
30
34
|
popupVisible: {
|
|
31
35
|
type: BooleanConstructor;
|
|
32
36
|
default: undefined;
|
|
@@ -57,6 +61,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
57
61
|
type: PropType<"rt" | "lt">;
|
|
58
62
|
default: string;
|
|
59
63
|
};
|
|
64
|
+
floatingOptions: {
|
|
65
|
+
type: PropType<FloatingOptions>;
|
|
66
|
+
};
|
|
60
67
|
popupVisible: {
|
|
61
68
|
type: BooleanConstructor;
|
|
62
69
|
default: undefined;
|
|
@@ -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 IconRight from "../icon/icon-right/index.js";
|
|
@@ -44,6 +44,7 @@ var dropdown_submenu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
44
44
|
type: String,
|
|
45
45
|
default: "rt"
|
|
46
46
|
},
|
|
47
|
+
floatingOptions: { type: Object },
|
|
47
48
|
/**
|
|
48
49
|
* @zh 弹出框是否可见
|
|
49
50
|
* @en Whether the popup is visible
|
|
@@ -107,6 +108,7 @@ var dropdown_submenu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
107
108
|
position: __props.position,
|
|
108
109
|
disabled: __props.disabled,
|
|
109
110
|
"popup-offset": 4,
|
|
111
|
+
"floating-options": __props.floatingOptions,
|
|
110
112
|
onPopupVisibleChange: unref(handlePopupVisibleChange)
|
|
111
113
|
}, {
|
|
112
114
|
content: withCtx(() => [createVNode(dropdown_panel_default, {
|
|
@@ -138,6 +140,7 @@ var dropdown_submenu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
138
140
|
"trigger",
|
|
139
141
|
"position",
|
|
140
142
|
"disabled",
|
|
143
|
+
"floating-options",
|
|
141
144
|
"onPopupVisibleChange"
|
|
142
145
|
]);
|
|
143
146
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
2
3
|
import { TriggerEvent } from '../_utils/constant';
|
|
3
4
|
import { DropdownPosition } from './interface';
|
|
4
5
|
declare var __VLS_10: {}, __VLS_19: {}, __VLS_22: {};
|
|
@@ -29,6 +30,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
29
30
|
popupContainer: {
|
|
30
31
|
type: PropType<string | HTMLElement>;
|
|
31
32
|
};
|
|
33
|
+
floatingOptions: {
|
|
34
|
+
type: PropType<FloatingOptions>;
|
|
35
|
+
};
|
|
32
36
|
popupMaxHeight: {
|
|
33
37
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
34
38
|
default: boolean;
|
|
@@ -61,6 +65,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
61
65
|
popupContainer: {
|
|
62
66
|
type: PropType<string | HTMLElement>;
|
|
63
67
|
};
|
|
68
|
+
floatingOptions: {
|
|
69
|
+
type: PropType<FloatingOptions>;
|
|
70
|
+
};
|
|
64
71
|
popupMaxHeight: {
|
|
65
72
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
66
73
|
default: 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 Trigger from "../trigger/index.js";
|
|
4
4
|
import { useTrigger } from "../_hooks/use-trigger.js";
|
|
@@ -49,6 +49,7 @@ var dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
49
49
|
* @en Mount container for popup
|
|
50
50
|
*/
|
|
51
51
|
popupContainer: { type: [String, Object] },
|
|
52
|
+
floatingOptions: { type: Object },
|
|
52
53
|
/**
|
|
53
54
|
* @zh 弹出框最大高度
|
|
54
55
|
* @en Maximum height of the popup
|
|
@@ -115,6 +116,7 @@ var dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
115
116
|
position: __props.position,
|
|
116
117
|
"popup-offset": 4,
|
|
117
118
|
"popup-container": __props.popupContainer,
|
|
119
|
+
"floating-options": __props.floatingOptions,
|
|
118
120
|
"opened-class": `${unref(prefixCls)}-open`,
|
|
119
121
|
"esc-to-close": "",
|
|
120
122
|
"aria-has-popup": "menu",
|
|
@@ -135,6 +137,7 @@ var dropdown_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
135
137
|
"trigger",
|
|
136
138
|
"position",
|
|
137
139
|
"popup-container",
|
|
140
|
+
"floating-options",
|
|
138
141
|
"opened-class",
|
|
139
142
|
"onPopupVisibleChange"
|
|
140
143
|
]);
|