@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { PerformantEllipsis } from "../../ellipsis/index.js";
|
|
3
3
|
import { calendarInjectionKey } from "../context.js";
|
|
4
4
|
import { minutesToPercentage } from "../utils/conversions.js";
|
|
@@ -238,16 +238,7 @@ var event_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
238
238
|
onDragstart: _cache[2] || (_cache[2] = ($event) => isDraggable.value && unref(dnd).eventDragStart($event, event)),
|
|
239
239
|
onDragend: _cache[3] || (_cache[3] = ($event) => isDraggable.value && unref(dnd).eventDragEnd($event, event))
|
|
240
240
|
}), [
|
|
241
|
-
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__event-details`) }, [_ctx.$slots["event.all-day"] ? renderSlot(_ctx.$slots, "event.all-day", {
|
|
242
|
-
key: 0,
|
|
243
|
-
event
|
|
244
|
-
}) : _ctx.$slots[`event.${unref(view).id}`] ? renderSlot(_ctx.$slots, `event.${unref(view).id}`, {
|
|
245
|
-
key: 1,
|
|
246
|
-
event
|
|
247
|
-
}) : renderSlot(_ctx.$slots, "event", {
|
|
248
|
-
key: 2,
|
|
249
|
-
event
|
|
250
|
-
}, () => [
|
|
241
|
+
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__event-details`) }, [_ctx.$slots["event.all-day"] ? renderSlot(_ctx.$slots, "event.all-day", { event }, void 0, void 0, 0) : _ctx.$slots[`event.${unref(view).id}`] ? renderSlot(_ctx.$slots, `event.${unref(view).id}`, { event }, void 0, void 0, 1) : renderSlot(_ctx.$slots, "event", { event }, () => [
|
|
251
242
|
createVNode(unref(PerformantEllipsis), { class: normalizeClass(`${unref(prefixCls)}__event-title`) }, {
|
|
252
243
|
default: withCtx(() => [createTextVNode(toDisplayString(event.title), 1)]),
|
|
253
244
|
_: 1
|
|
@@ -269,7 +260,7 @@ var event_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
269
260
|
key: 1,
|
|
270
261
|
class: normalizeClass(`${unref(prefixCls)}__event-content`)
|
|
271
262
|
}, [renderSlot(_ctx.$slots, "event-content", { event }, () => [createTextVNode(toDisplayString(event.content), 1)])], 2)) : createCommentVNode("", true)
|
|
272
|
-
])], 2),
|
|
263
|
+
], void 0, 2)], 2),
|
|
273
264
|
isResizable.value ? (openBlock(), createElementBlock("div", {
|
|
274
265
|
key: 0,
|
|
275
266
|
onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent", "stop"])),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { calendarInjectionKey } from "../context.js";
|
|
2
|
-
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, withCtx } from "vue";
|
|
2
|
+
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, withCtx } from "vue";
|
|
3
3
|
//#region components/calendar/components/header.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = ["onClick"];
|
|
5
5
|
var _hoisted_2 = { key: 0 };
|
|
@@ -43,7 +43,7 @@ var header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
43
43
|
}, [renderSlot(_ctx.$slots, "previous-button")], 2),
|
|
44
44
|
createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}__transition-wrap`) }, [createVNode(Transition, { name: `${unref(prefixCls)}-slide-fade--${unref(view).transitionDirection}` }, {
|
|
45
45
|
default: withCtx(() => [(openBlock(), createElementBlock("div", { key: unref(view).id + unref(view).start.getTime() }, [_ctx.$slots.title || _ctx.$slots[`title.${unref(view).id}`] ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).clickToNavigate && unref(view).broaderView ? "button" : "div"), mergeProps({ key: 0 }, toHandlers(titleEventHandlers.value), { class: `${unref(prefixCls)}__title` }), {
|
|
46
|
-
default: withCtx(() => [_ctx.$slots[`title.${unref(view).id}`] ? renderSlot(_ctx.$slots, `title.${unref(view).id}`, normalizeProps(
|
|
46
|
+
default: withCtx(() => [_ctx.$slots[`title.${unref(view).id}`] ? renderSlot(_ctx.$slots, `title.${unref(view).id}`, normalizeProps(guardReactiveProps(unref(view))), void 0, void 0, 0) : renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(unref(view))), void 0, void 0, 1)]),
|
|
47
47
|
_: 3
|
|
48
48
|
}, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(unref(config).clickToNavigate && unref(view).broaderView ? "button" : "div"), mergeProps({ key: 1 }, toHandlers(titleEventHandlers.value), { class: `${unref(prefixCls)}__title` }), {
|
|
49
49
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(view).title), 1), unref(view).titleWeekInfo ? (openBlock(), createElementBlock("small", _hoisted_2, "\xA0" + toDisplayString(unref(view).titleWeekInfo.text) + " " + toDisplayString(unref(view).titleWeekInfo.number), 1)) : createCommentVNode("", true)]),
|
|
@@ -52,10 +52,9 @@ var header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
52
52
|
_: 3
|
|
53
53
|
}, 8, ["name"])], 2),
|
|
54
54
|
unref(config).todayButton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_ctx.$slots["today-button"] ? renderSlot(_ctx.$slots, "today-button", {
|
|
55
|
-
key: 0,
|
|
56
55
|
navigate: () => !unref(view).containsToday && unref(view).goToToday(),
|
|
57
56
|
active: unref(view).containsToday
|
|
58
|
-
}) : (openBlock(), createElementBlock("button", {
|
|
57
|
+
}, void 0, void 0, 0) : (openBlock(), createElementBlock("button", {
|
|
59
58
|
key: 1,
|
|
60
59
|
onClick: _cache[1] || (_cache[1] = ($event) => !unref(view).containsToday && unref(view).goToToday()),
|
|
61
60
|
disabled: !!unref(view).containsToday,
|
|
@@ -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 Scrollbar from "../../scrollbar/index.js";
|
|
5
5
|
import { useThemeMode } from "../../_hooks/use-theme-mode.js";
|
|
6
6
|
import { calendarElInjectionKey, calendarInjectionKey } from "../context.js";
|
|
@@ -141,10 +141,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
141
141
|
"data-locale": _ctx.locale,
|
|
142
142
|
class: normalizeClass([unref(prefixCls), wrapperClasses.value]),
|
|
143
143
|
style: normalizeStyle(wrapperStyles.value)
|
|
144
|
-
}, [_ctx.$slots.diy ? renderSlot(_ctx.$slots, "diy", {
|
|
145
|
-
key: 0,
|
|
146
|
-
calendar: unref(calendar)
|
|
147
|
-
}) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(header_default, null, createSlots({ _: 2 }, [
|
|
144
|
+
}, [_ctx.$slots.diy ? renderSlot(_ctx.$slots, "diy", { calendar: unref(calendar) }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(header_default, null, createSlots({ _: 2 }, [
|
|
148
145
|
_ctx.$slots.header ? {
|
|
149
146
|
name: "header",
|
|
150
147
|
fn: withCtx((params) => [renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(params)))]),
|
|
@@ -17,7 +17,10 @@ var time_column_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
17
17
|
const mins = i % 60;
|
|
18
18
|
const amPm = texts[i < noon ? "am" : "pm"];
|
|
19
19
|
let cellHeight = null;
|
|
20
|
-
if (isLastCell)
|
|
20
|
+
if (isLastCell) {
|
|
21
|
+
const percentageOfFullCell = (config.timeTo - i) / config.timeStep;
|
|
22
|
+
cellHeight = `calc(var(--${prefixCls}-time-cell-size) * ${percentageOfFullCell})`;
|
|
23
|
+
}
|
|
21
24
|
cells.push({
|
|
22
25
|
minutesSum: i,
|
|
23
26
|
hours,
|
|
@@ -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 { cardInjectionKey } from "./context.js";
|
|
4
4
|
import { computed, createElementBlock, defineComponent, inject, normalizeClass, onMounted, openBlock, renderSlot } from "vue";
|
package/es/card/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 { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
4
|
import { useI18n } from "../locale/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { useI18n } from "../locale/index.js";
|
|
4
4
|
import { carouselInjectionKey } from "./context.js";
|
package/es/carousel/carousel.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 { isNumber, isObject } from "../_utils/is.js";
|
|
4
4
|
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
package/es/carousel/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 { isNull, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { KEYBOARD_KEY, getKeyDownHandler } from "../_utils/keyboard.js";
|
|
4
4
|
import { cascaderInjectionKey } from "./context.js";
|
|
@@ -150,7 +150,7 @@ var cascader_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
150
150
|
valueMap: computedValueMap,
|
|
151
151
|
expandTrigger: expandTrigger.value
|
|
152
152
|
}));
|
|
153
|
-
const handleKeyDown = getKeyDownHandler(new Map([
|
|
153
|
+
const handleKeyDown = getKeyDownHandler(/* @__PURE__ */ new Map([
|
|
154
154
|
[KEYBOARD_KEY.ENTER, (_ev) => {
|
|
155
155
|
if (activeOption.value) {
|
|
156
156
|
let checked;
|
|
@@ -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 { isArray, isFunction, isNull, isUndefined } from "../_utils/is.js";
|
|
4
4
|
import { KEYBOARD_KEY, getKeyDownHandler } from "../_utils/keyboard.js";
|
|
5
5
|
import { useAllowClear } from "../_hooks/use-allow-clear.js";
|
|
@@ -78,6 +78,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
78
78
|
separator: { default: " / " },
|
|
79
79
|
formatLabel: {},
|
|
80
80
|
triggerProps: {},
|
|
81
|
+
floatingOptions: {},
|
|
81
82
|
checkStrictly: {
|
|
82
83
|
type: Boolean,
|
|
83
84
|
default: false
|
|
@@ -132,7 +133,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
132
133
|
if (pathMode) return;
|
|
133
134
|
return "";
|
|
134
135
|
};
|
|
135
|
-
const { options, checkStrictly, loadMore, formatLabel, modelValue, disabled, valueKey, expandTrigger, expandChild, pathMode, multiple, popupVisible, show, defaultPopupVisible, defaultShow, error, size, placeholder, loading, maxTagCount, tagNowrap, popupContainer, searchOptionOnlyLabel } = toRefs(props);
|
|
136
|
+
const { options, checkStrictly, loadMore, formatLabel, modelValue, disabled, valueKey, expandTrigger, expandChild, pathMode, multiple, popupVisible, show, defaultPopupVisible, defaultShow, error, size, placeholder, loading, maxTagCount, tagNowrap, popupContainer, floatingOptions, searchOptionOnlyLabel } = toRefs(props);
|
|
136
137
|
const _value = ref((_props$defaultValue = props.defaultValue) !== null && _props$defaultValue !== void 0 ? _props$defaultValue : getDefaultValue(props.multiple, props.pathMode));
|
|
137
138
|
const _inputValue = ref(props.defaultInputValue);
|
|
138
139
|
const instance = getCurrentInstance();
|
|
@@ -393,7 +394,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
393
394
|
slots,
|
|
394
395
|
valueMap: computedValueMap
|
|
395
396
|
}));
|
|
396
|
-
const handleKeyDown = getKeyDownHandler(new Map([
|
|
397
|
+
const handleKeyDown = getKeyDownHandler(/* @__PURE__ */ new Map([
|
|
397
398
|
[KEYBOARD_KEY.ENTER, (_ev) => {
|
|
398
399
|
if (computedPopupVisible.value) {
|
|
399
400
|
if (activeOption.value) {
|
|
@@ -477,138 +478,143 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
477
478
|
content: unref(readonlyTipText),
|
|
478
479
|
position: "top"
|
|
479
480
|
}, {
|
|
480
|
-
default: withCtx(() =>
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
"popup-container": unref(popupContainer),
|
|
490
|
-
"prevent-focus": true,
|
|
491
|
-
"click-to-close": !Boolean(unref(mergedAllowSearch)),
|
|
492
|
-
"aria-has-popup": "menu",
|
|
493
|
-
onPopupVisibleChange: handlePopupVisibleChange
|
|
494
|
-
}), {
|
|
495
|
-
content: withCtx(() => [showSearchPanel.value ? (openBlock(), createBlock(unref(cascader_search_panel_default), {
|
|
496
|
-
key: 0,
|
|
497
|
-
options: filteredLeafOptions.value,
|
|
498
|
-
"active-key": unref(activeKey),
|
|
499
|
-
multiple: unref(multiple),
|
|
500
|
-
"check-strictly": unref(checkStrictly),
|
|
501
|
-
loading: unref(loading),
|
|
502
|
-
"path-label": !unref(searchOptionOnlyLabel)
|
|
503
|
-
}, createSlots({ _: 2 }, [_ctx.$slots.empty ? {
|
|
504
|
-
name: "empty",
|
|
505
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
506
|
-
key: "0"
|
|
507
|
-
} : void 0]), 1032, [
|
|
508
|
-
"options",
|
|
509
|
-
"active-key",
|
|
510
|
-
"multiple",
|
|
511
|
-
"check-strictly",
|
|
512
|
-
"loading",
|
|
513
|
-
"path-label"
|
|
514
|
-
])) : (openBlock(), createBlock(unref(base_cascader_panel_default), {
|
|
515
|
-
key: 1,
|
|
516
|
-
"display-columns": unref(displayColumns),
|
|
517
|
-
"selected-path": unref(selectedPath),
|
|
518
|
-
"active-key": unref(activeKey),
|
|
519
|
-
multiple: unref(multiple),
|
|
520
|
-
"total-level": totalLevel.value,
|
|
521
|
-
"check-strictly": unref(checkStrictly),
|
|
522
|
-
loading: unref(loading),
|
|
523
|
-
"virtual-list-props": resolvedVirtualListProps.value,
|
|
524
|
-
dropdown: ""
|
|
525
|
-
}, createSlots({ _: 2 }, [_ctx.$slots.empty ? {
|
|
526
|
-
name: "empty",
|
|
527
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
528
|
-
key: "0"
|
|
529
|
-
} : void 0]), 1032, [
|
|
530
|
-
"display-columns",
|
|
531
|
-
"selected-path",
|
|
532
|
-
"active-key",
|
|
533
|
-
"multiple",
|
|
534
|
-
"total-level",
|
|
535
|
-
"check-strictly",
|
|
536
|
-
"loading",
|
|
537
|
-
"virtual-list-props"
|
|
538
|
-
]))]),
|
|
539
|
-
default: withCtx(() => [createVNode(unref(select_view_default), mergeProps({
|
|
540
|
-
"model-value": selectViewValue.value,
|
|
541
|
-
"input-value": computedInputValue.value,
|
|
481
|
+
default: withCtx(() => {
|
|
482
|
+
var _unref2;
|
|
483
|
+
return [createVNode(unref(Trigger), mergeProps(mergedTriggerProps.value, {
|
|
484
|
+
"floating-options": (_unref2 = unref(floatingOptions)) !== null && _unref2 !== void 0 ? _unref2 : mergedTriggerProps.value.floatingOptions,
|
|
485
|
+
trigger: "click",
|
|
486
|
+
"animation-name": "slide-dynamic-origin",
|
|
487
|
+
"auto-fit-transform-origin": "",
|
|
488
|
+
"popup-visible": unref(computedPopupVisible),
|
|
489
|
+
position: "bl",
|
|
542
490
|
disabled: unref(mergedDisabled),
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
_ctx.$slots.label ? {
|
|
563
|
-
name: "label",
|
|
564
|
-
fn: withCtx((data) => [renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps(data)))]),
|
|
491
|
+
"popup-offset": 4,
|
|
492
|
+
"auto-fit-popup-width": showSearchPanel.value,
|
|
493
|
+
"popup-container": unref(popupContainer),
|
|
494
|
+
"prevent-focus": true,
|
|
495
|
+
"click-to-close": !Boolean(unref(mergedAllowSearch)),
|
|
496
|
+
"aria-has-popup": "menu",
|
|
497
|
+
onPopupVisibleChange: handlePopupVisibleChange
|
|
498
|
+
}), {
|
|
499
|
+
content: withCtx(() => [showSearchPanel.value ? (openBlock(), createBlock(unref(cascader_search_panel_default), {
|
|
500
|
+
key: 0,
|
|
501
|
+
options: filteredLeafOptions.value,
|
|
502
|
+
"active-key": unref(activeKey),
|
|
503
|
+
multiple: unref(multiple),
|
|
504
|
+
"check-strictly": unref(checkStrictly),
|
|
505
|
+
loading: unref(loading),
|
|
506
|
+
"path-label": !unref(searchOptionOnlyLabel)
|
|
507
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.empty ? {
|
|
508
|
+
name: "empty",
|
|
509
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
565
510
|
key: "0"
|
|
566
|
-
} : void 0,
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
511
|
+
} : void 0]), 1032, [
|
|
512
|
+
"options",
|
|
513
|
+
"active-key",
|
|
514
|
+
"multiple",
|
|
515
|
+
"check-strictly",
|
|
516
|
+
"loading",
|
|
517
|
+
"path-label"
|
|
518
|
+
])) : (openBlock(), createBlock(unref(base_cascader_panel_default), {
|
|
519
|
+
key: 1,
|
|
520
|
+
"display-columns": unref(displayColumns),
|
|
521
|
+
"selected-path": unref(selectedPath),
|
|
522
|
+
"active-key": unref(activeKey),
|
|
523
|
+
multiple: unref(multiple),
|
|
524
|
+
"total-level": totalLevel.value,
|
|
525
|
+
"check-strictly": unref(checkStrictly),
|
|
526
|
+
loading: unref(loading),
|
|
527
|
+
"virtual-list-props": resolvedVirtualListProps.value,
|
|
528
|
+
dropdown: ""
|
|
529
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.empty ? {
|
|
530
|
+
name: "empty",
|
|
531
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
532
|
+
key: "0"
|
|
533
|
+
} : void 0]), 1032, [
|
|
534
|
+
"display-columns",
|
|
535
|
+
"selected-path",
|
|
536
|
+
"active-key",
|
|
537
|
+
"multiple",
|
|
538
|
+
"total-level",
|
|
539
|
+
"check-strictly",
|
|
540
|
+
"loading",
|
|
541
|
+
"virtual-list-props"
|
|
542
|
+
]))]),
|
|
543
|
+
default: withCtx(() => [createVNode(unref(select_view_default), mergeProps({
|
|
544
|
+
"model-value": selectViewValue.value,
|
|
545
|
+
"input-value": computedInputValue.value,
|
|
546
|
+
disabled: unref(mergedDisabled),
|
|
547
|
+
error: unref(error),
|
|
548
|
+
multiple: unref(multiple),
|
|
549
|
+
"allow-clear": unref(mergedAllowClear),
|
|
550
|
+
"allow-search": Boolean(unref(mergedAllowSearch)),
|
|
551
|
+
size: unref(size),
|
|
552
|
+
opened: unref(computedPopupVisible),
|
|
553
|
+
placeholder: unref(placeholder),
|
|
554
|
+
loading: unref(loading),
|
|
555
|
+
"max-tag-count": unref(maxTagCount),
|
|
556
|
+
"tag-nowrap": unref(tagNowrap),
|
|
557
|
+
"input-attrs": triggerInputAttrs.value
|
|
558
|
+
}, unref(attrs), {
|
|
559
|
+
onInputValueChange: handleInputValueChange,
|
|
560
|
+
onClear: handleClear,
|
|
561
|
+
onFocus: handleFocus,
|
|
562
|
+
onBlur: handleBlur,
|
|
563
|
+
onRemove: handleRemove,
|
|
564
|
+
onKeydown: unref(handleKeyDown)
|
|
565
|
+
}), createSlots({ _: 2 }, [
|
|
566
|
+
_ctx.$slots.label ? {
|
|
567
|
+
name: "label",
|
|
568
|
+
fn: withCtx((data) => [renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps(data)))]),
|
|
569
|
+
key: "0"
|
|
570
|
+
} : void 0,
|
|
571
|
+
_ctx.$slots.prefix ? {
|
|
572
|
+
name: "prefix",
|
|
573
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "prefix")]),
|
|
574
|
+
key: "1"
|
|
575
|
+
} : void 0,
|
|
576
|
+
_ctx.$slots["arrow-icon"] ? {
|
|
577
|
+
name: "arrow-icon",
|
|
578
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "arrow-icon")]),
|
|
579
|
+
key: "2"
|
|
580
|
+
} : void 0,
|
|
581
|
+
_ctx.$slots["loading-icon"] ? {
|
|
582
|
+
name: "loading-icon",
|
|
583
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "loading-icon")]),
|
|
584
|
+
key: "3"
|
|
585
|
+
} : void 0,
|
|
586
|
+
_ctx.$slots["search-icon"] ? {
|
|
587
|
+
name: "search-icon",
|
|
588
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "search-icon")]),
|
|
589
|
+
key: "4"
|
|
590
|
+
} : void 0
|
|
591
|
+
]), 1040, [
|
|
592
|
+
"model-value",
|
|
593
|
+
"input-value",
|
|
594
|
+
"disabled",
|
|
595
|
+
"error",
|
|
596
|
+
"multiple",
|
|
597
|
+
"allow-clear",
|
|
598
|
+
"allow-search",
|
|
599
|
+
"size",
|
|
600
|
+
"opened",
|
|
601
|
+
"placeholder",
|
|
602
|
+
"loading",
|
|
603
|
+
"max-tag-count",
|
|
604
|
+
"tag-nowrap",
|
|
605
|
+
"input-attrs",
|
|
606
|
+
"onKeydown"
|
|
607
|
+
])]),
|
|
608
|
+
_: 3
|
|
609
|
+
}, 16, [
|
|
610
|
+
"floating-options",
|
|
611
|
+
"popup-visible",
|
|
590
612
|
"disabled",
|
|
591
|
-
"
|
|
592
|
-
"
|
|
593
|
-
"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
"opened",
|
|
597
|
-
"placeholder",
|
|
598
|
-
"loading",
|
|
599
|
-
"max-tag-count",
|
|
600
|
-
"tag-nowrap",
|
|
601
|
-
"input-attrs",
|
|
602
|
-
"onKeydown"
|
|
603
|
-
])]),
|
|
604
|
-
_: 3
|
|
605
|
-
}, 16, [
|
|
606
|
-
"popup-visible",
|
|
607
|
-
"disabled",
|
|
608
|
-
"auto-fit-popup-width",
|
|
609
|
-
"popup-container",
|
|
610
|
-
"click-to-close"
|
|
611
|
-
])]),
|
|
613
|
+
"auto-fit-popup-width",
|
|
614
|
+
"popup-container",
|
|
615
|
+
"click-to-close"
|
|
616
|
+
])];
|
|
617
|
+
}),
|
|
612
618
|
_: 3
|
|
613
619
|
}, 8, ["popup-visible", "content"]);
|
|
614
620
|
};
|
package/es/cascader/index.js
CHANGED
package/es/cascader/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { VirtualListProps } from '../_components/virtual-list/interface';
|
|
2
2
|
import type { Size } from '../_utils/constant';
|
|
3
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
3
4
|
import type { TriggerProps } from '../trigger';
|
|
4
5
|
import type { CascaderFallback, CascaderFieldNames, CascaderFormatLabel, CascaderLoadMore, CascaderModelValue, CascaderOption } from './interface';
|
|
5
6
|
export type CascaderExpandTrigger = 'click' | 'hover';
|
|
@@ -32,6 +33,7 @@ export interface CascaderProps {
|
|
|
32
33
|
separator?: string;
|
|
33
34
|
formatLabel?: CascaderFormatLabel;
|
|
34
35
|
triggerProps?: TriggerProps;
|
|
36
|
+
floatingOptions?: FloatingOptions;
|
|
35
37
|
checkStrictly?: boolean;
|
|
36
38
|
loadMore?: CascaderLoadMore;
|
|
37
39
|
loading?: boolean;
|
package/es/checkbox/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 { isArray } from "../_utils/is.js";
|
|
4
4
|
import { collapseKey } from "./context.js";
|
package/es/collapse/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { FloatingOptions } from '../_utils/floating';
|
|
2
3
|
import { Size } from '../_utils/constant';
|
|
3
4
|
import { TriggerProps } from '../trigger';
|
|
4
5
|
import { ColorFormat, ColorModes, ColorObject, ColorPickerChangeTrigger, LegacyFormat, RecentColorsValue } from './interface';
|
|
@@ -58,6 +59,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
59
|
triggerProps: {
|
|
59
60
|
type: PropType<Partial<TriggerProps>>;
|
|
60
61
|
};
|
|
62
|
+
floatingOptions: {
|
|
63
|
+
type: PropType<FloatingOptions>;
|
|
64
|
+
};
|
|
61
65
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
62
66
|
'update:modelValue': (_value: string) => true;
|
|
63
67
|
change: (_value: string, _context: {
|
|
@@ -128,6 +132,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
132
|
triggerProps: {
|
|
129
133
|
type: PropType<Partial<TriggerProps>>;
|
|
130
134
|
};
|
|
135
|
+
floatingOptions: {
|
|
136
|
+
type: PropType<FloatingOptions>;
|
|
137
|
+
};
|
|
131
138
|
}>> & Readonly<{
|
|
132
139
|
onClear?: ((_context: {
|
|
133
140
|
e: MouseEvent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/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 { useReadonlyTip, useReadonlyTipText } from "../_hooks/use-readonly-tip.js";
|
|
5
5
|
import Trigger from "../trigger/index.js";
|
|
@@ -119,7 +119,8 @@ var color_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
119
119
|
* @zh 透传 Trigger 组件属性
|
|
120
120
|
* @en Trigger props
|
|
121
121
|
*/
|
|
122
|
-
triggerProps: { type: Object }
|
|
122
|
+
triggerProps: { type: Object },
|
|
123
|
+
floatingOptions: { type: Object }
|
|
123
124
|
},
|
|
124
125
|
emits: {
|
|
125
126
|
"update:modelValue": (_value) => true,
|
|
@@ -200,7 +201,8 @@ var color_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
200
201
|
handleClear(new MouseEvent("click"));
|
|
201
202
|
return;
|
|
202
203
|
}
|
|
203
|
-
|
|
204
|
+
const nextState = parseColorState(value, props.colorModes);
|
|
205
|
+
handleColorChange(formatColorState(nextState, normalizedFormat.value, mergedEnableAlpha.value), "input");
|
|
204
206
|
};
|
|
205
207
|
const onPopupVisibleChange = (visible) => {
|
|
206
208
|
popupVisible.value = visible;
|
|
@@ -208,13 +210,16 @@ var color_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
208
210
|
};
|
|
209
211
|
const { tipVisible, show: showReadonlyTip } = useReadonlyTip(toRef(props, "readonly"), toRef(props, "disabled"));
|
|
210
212
|
const readonlyTipText = useReadonlyTipText(toRef(props, "readonly"));
|
|
211
|
-
const mergedTriggerProps = computed(() =>
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
213
|
+
const mergedTriggerProps = computed(() => {
|
|
214
|
+
var _props$floatingOption, _props$triggerProps;
|
|
215
|
+
return _objectSpread2(_objectSpread2({
|
|
216
|
+
trigger: "click",
|
|
217
|
+
position: "bl",
|
|
218
|
+
disabled: props.disabled || !!props.readonly,
|
|
219
|
+
popupOffset: 4,
|
|
220
|
+
animationName: "slide-dynamic-origin"
|
|
221
|
+
}, props.triggerProps), {}, { floatingOptions: (_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 });
|
|
222
|
+
});
|
|
218
223
|
const renderTriggerInput = () => {
|
|
219
224
|
return createVNode("div", {
|
|
220
225
|
"class": {
|
|
@@ -58,6 +58,9 @@ declare const ColorPicker: {
|
|
|
58
58
|
triggerProps: {
|
|
59
59
|
type: import("vue").PropType<Partial<import("..").TriggerProps>>;
|
|
60
60
|
};
|
|
61
|
+
floatingOptions: {
|
|
62
|
+
type: import("vue").PropType<import("..").FloatingOptions>;
|
|
63
|
+
};
|
|
61
64
|
}>> & Readonly<{
|
|
62
65
|
onClear?: ((_context: {
|
|
63
66
|
e: MouseEvent;
|
|
@@ -165,6 +168,9 @@ declare const ColorPicker: {
|
|
|
165
168
|
triggerProps: {
|
|
166
169
|
type: import("vue").PropType<Partial<import("..").TriggerProps>>;
|
|
167
170
|
};
|
|
171
|
+
floatingOptions: {
|
|
172
|
+
type: import("vue").PropType<import("..").FloatingOptions>;
|
|
173
|
+
};
|
|
168
174
|
}>> & Readonly<{
|
|
169
175
|
onClear?: ((_context: {
|
|
170
176
|
e: MouseEvent;
|
|
@@ -255,6 +261,9 @@ declare const ColorPicker: {
|
|
|
255
261
|
triggerProps: {
|
|
256
262
|
type: import("vue").PropType<Partial<import("..").TriggerProps>>;
|
|
257
263
|
};
|
|
264
|
+
floatingOptions: {
|
|
265
|
+
type: import("vue").PropType<import("..").FloatingOptions>;
|
|
266
|
+
};
|
|
258
267
|
}>> & Readonly<{
|
|
259
268
|
onClear?: ((_context: {
|
|
260
269
|
e: MouseEvent;
|