@sdata/web-vue 3.17.0 → 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/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_vue_type_script_setup_true_lang.js +5 -5
- 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/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/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- 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/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 +1 -1
- 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.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-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.d.ts +3 -3
- package/es/index.js +2 -2
- 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/index.d.ts +2 -0
- 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/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/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 +1 -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 +33 -6
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +2 -2
- 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 +5 -3
- 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 +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_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 +145 -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 +9 -0
- package/json/vetur-tags.json +4 -1
- package/json/web-types.json +25 -1
- package/package.json +14 -13
- package/es/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/toPropertyKey.js +0 -9
package/es/color-picker/panel.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 { useI18n } from "../locale/index.js";
|
|
4
4
|
import input_group_default from "../input/input-group.js";
|
|
@@ -284,7 +284,8 @@ var panel_default = /* @__PURE__ */ defineComponent({
|
|
|
284
284
|
formatDrafts.value = nextDrafts;
|
|
285
285
|
};
|
|
286
286
|
const commitDrafts = () => {
|
|
287
|
-
|
|
287
|
+
const nextHsva = parseFormatInputValues(formatDrafts.value, selectedFormat.value, props.enableAlpha);
|
|
288
|
+
handleHsvaChange(nextHsva, "input");
|
|
288
289
|
};
|
|
289
290
|
const getThumbTrackRect = () => {
|
|
290
291
|
const slider = sliderRef.value || gradientShellRef.value;
|
|
@@ -440,7 +441,8 @@ var panel_default = /* @__PURE__ */ defineComponent({
|
|
|
440
441
|
"color": colorModel.value,
|
|
441
442
|
"colorString": formatColor(activeHsva.value, "CSS", true),
|
|
442
443
|
"onChange": (h) => {
|
|
443
|
-
|
|
444
|
+
const next = _objectSpread2(_objectSpread2({}, activeHsva.value), {}, { h });
|
|
445
|
+
handleHsvaChange(next, "palette-hue-bar", true);
|
|
444
446
|
}
|
|
445
447
|
}, null), props.enableAlpha && createVNode(control_bar_default, {
|
|
446
448
|
"type": "alpha",
|
|
@@ -448,7 +450,8 @@ var panel_default = /* @__PURE__ */ defineComponent({
|
|
|
448
450
|
"color": colorModel.value,
|
|
449
451
|
"colorString": formatColor(activeHsva.value, "CSS", true),
|
|
450
452
|
"onChange": (alpha) => {
|
|
451
|
-
|
|
453
|
+
const next = _objectSpread2(_objectSpread2({}, activeHsva.value), {}, { a: alpha });
|
|
454
|
+
handleHsvaChange(next, "palette-alpha-bar", true);
|
|
452
455
|
}
|
|
453
456
|
}, null)]), props.showPrimaryColorPreview && createVNode("div", {
|
|
454
457
|
"class": `${prefixCls}-preview`,
|
package/es/color-picker/utils.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 { formatInputToHSVA, hsvToRgb, rgbToHex, rgbToHsv, rgbaToHex } from "../_utils/color.js";
|
|
3
3
|
//#region components/color-picker/utils.ts
|
|
4
4
|
var DEFAULT_HSVA = {
|
|
@@ -7,6 +7,7 @@ var DEFAULT_HSVA = {
|
|
|
7
7
|
v: 1,
|
|
8
8
|
a: 1
|
|
9
9
|
};
|
|
10
|
+
var DEFAULT_LINEAR_GRADIENT = "linear-gradient(90deg, rgba(0, 82, 217, 1) 0%, rgba(255, 255, 255, 1) 100%)";
|
|
10
11
|
var HSL_REGEXP = /^hsla?\((.+)\)$/i;
|
|
11
12
|
var HSV_REGEXP = /^hsva?\((.+)\)$/i;
|
|
12
13
|
var CMYK_REGEXP = /^cmyk\((.+)\)$/i;
|
|
@@ -453,4 +454,4 @@ var parseFormatInputValues = (values, format, enableAlpha) => {
|
|
|
453
454
|
}
|
|
454
455
|
};
|
|
455
456
|
//#endregion
|
|
456
|
-
export { addGradientColor, formatColor, formatColorState, getActiveGradientPoint, getColorBackground, getColorObject, getDefaultColorState, getDefaultGradientState, getFormatInputs, getGradientThumbBackground, getLinearGradientString, normalizeFormat, parseColorState, parseFormatInputValues, removeGradientColor, round, setActiveColorHsva, setGradientColors, setGradientDegree, setGradientSelectedPoint };
|
|
457
|
+
export { DEFAULT_LINEAR_GRADIENT, addGradientColor, createGradientPoint, formatColor, formatColorState, getActiveGradientPoint, getColorBackground, getColorMode, getColorObject, getDefaultColorState, getDefaultGradientState, getFormatInputs, getGradientThumbBackground, getLinearGradientString, hslToRgb, isGradientColor, normalizeFormat, parseColor, parseColorState, parseFormatInputValues, parseGradientString, removeGradientColor, rgbToHsl, round, setActiveColorHsva, setGradientColors, setGradientDegree, setGradientSelectedPoint };
|
|
@@ -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 { isString } from "../_utils/is.js";
|
|
4
4
|
import { hasPropOrSlot } from "../_utils/use-prop-or-slot.js";
|
|
@@ -91,21 +91,21 @@ var comment_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
91
91
|
key: 0,
|
|
92
92
|
src: __props.avatar,
|
|
93
93
|
alt: "comment-avatar"
|
|
94
|
-
}, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, "avatar", {
|
|
94
|
+
}, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, "avatar", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-inner`) }, [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-inner-content`) }, [
|
|
95
95
|
unref(hasAuthor) || unref(hasDatetime) ? (openBlock(), createElementBlock("div", {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: normalizeClass(`${unref(prefixCls)}-title ${unref(prefixCls)}-title-align-${computedAlign.value.datetime}`)
|
|
98
98
|
}, [unref(hasAuthor) ? (openBlock(), createElementBlock("span", {
|
|
99
99
|
key: 0,
|
|
100
100
|
class: normalizeClass(`${unref(prefixCls)}-author`)
|
|
101
|
-
}, [__props.author ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.author), 1)) : renderSlot(_ctx.$slots, "author", {
|
|
101
|
+
}, [__props.author ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.author), 1)) : renderSlot(_ctx.$slots, "author", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true), unref(hasDatetime) ? (openBlock(), createElementBlock("span", {
|
|
102
102
|
key: 1,
|
|
103
103
|
class: normalizeClass(`${unref(prefixCls)}-datetime`)
|
|
104
|
-
}, [__props.datetime ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.datetime), 1)) : renderSlot(_ctx.$slots, "datetime", {
|
|
104
|
+
}, [__props.datetime ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.datetime), 1)) : renderSlot(_ctx.$slots, "datetime", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
105
105
|
unref(hasContent) ? (openBlock(), createElementBlock("div", {
|
|
106
106
|
key: 1,
|
|
107
107
|
class: normalizeClass(`${unref(prefixCls)}-content`)
|
|
108
|
-
}, [__props.content ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.content), 1)) : renderSlot(_ctx.$slots, "content", {
|
|
108
|
+
}, [__props.content ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.content), 1)) : renderSlot(_ctx.$slots, "content", {}, void 0, void 0, 1)], 2)) : createCommentVNode("", true),
|
|
109
109
|
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", {
|
|
110
110
|
key: 2,
|
|
111
111
|
class: normalizeClass(`${unref(prefixCls)}-actions ${unref(prefixCls)}-actions-align-${computedAlign.value.actions}`)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "./context.js";
|
|
2
|
-
import
|
|
2
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { normalizeTheme } from "./theme.js";
|
|
4
4
|
import theme_provider_default from "./theme-provider.js";
|
|
5
5
|
import { createBlock, defineComponent, getCurrentInstance, openBlock, provide, reactive, renderSlot, toRefs, useSlots, watch, withCtx } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { themePopupContainerInjectionKey } from "./context.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 usePopupManager from "../_hooks/use-popup-manager.js";
|
|
5
5
|
import { applyThemeCSSVariables, clearThemeCSSVariables, normalizeTheme } from "./theme.js";
|
|
@@ -140,7 +140,7 @@ var theme_provider_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
140
140
|
}, {
|
|
141
141
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
142
142
|
_: 3
|
|
143
|
-
}, 8, ["class"])) : renderSlot(_ctx.$slots, "default", {
|
|
143
|
+
}, 8, ["class"])) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region components/config-provider/theme.ts
|
|
3
3
|
var DEFAULT_THEME_META = {
|
|
4
4
|
schemaVersion: 1,
|
|
5
5
|
cssVarPrefix: "--"
|
|
6
6
|
};
|
|
7
|
-
var RESERVED_THEME_KEYS = new Set([
|
|
7
|
+
var RESERVED_THEME_KEYS = /* @__PURE__ */ new Set([
|
|
8
8
|
"tokens",
|
|
9
9
|
"components",
|
|
10
10
|
"meta",
|
|
@@ -87,4 +87,4 @@ function clearThemeCSSVariables(target, keys) {
|
|
|
87
87
|
for (const key of keys) target.style.removeProperty(key);
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
|
-
export { applyThemeCSSVariables, clearThemeCSSVariables, normalizeTheme };
|
|
90
|
+
export { applyThemeCSSVariables, clearThemeCSSVariables, getThemeCSSVariables, normalizeTheme, normalizeTokenKey };
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import
|
|
3
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
4
4
|
import Tooltip from "../tooltip/index.js";
|
|
5
5
|
import Button from "../button/index.js";
|
|
6
6
|
import Link from "../link/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import
|
|
3
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/asyncToGenerator.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, nextTick, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, unref, useAttrs, watch } from "vue";
|
|
5
5
|
import { isNumber, isString } from "es-toolkit";
|
|
6
6
|
//#region components/cropper/cropper.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 { isArray } from "../../_utils/is.js";
|
|
3
3
|
import useTimePickerValue from "./use-time-picker-value.js";
|
|
4
4
|
import { computed, reactive, toRefs } from "vue";
|
|
@@ -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;
|