@sdata/web-vue 4.5.5 → 4.7.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/THIRD_PARTY_NOTICES.md +15 -0
- package/dist/sd.css +107 -57
- package/dist/sd.min.css +2 -2
- package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/client-only.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/input-label/input-label.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-observer.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/select-view/select-view.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 +3 -3
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_utils/color.js +1 -1
- package/es/_utils/date.js +2 -2
- package/es/_utils/global-config.js +1 -1
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +1 -1
- package/es/_utils/virtual-dropdown.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/typeof.js +1 -1
- 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 +1 -1
- package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/auto-complete/style/index.css +1 -1
- package/es/avatar/avatar-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/bloom-menu/bloom-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/bloom-menu/style/index.css +2 -2
- 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/breadcrumb-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/breadcrumb/breadcrumb.vue_vue_type_script_setup_true_lang.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 +1 -1
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/card/card-actions.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/style/index.css +3 -3
- package/es/card/style/index.scss +9 -3
- 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.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/base-cascader-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-search-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/style/index.css +2 -2
- package/es/checkbox/checkbox-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/checkbox/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/collapse-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/control-bar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/gradient-thumb.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/palette.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/color-picker/style/index.css +5 -5
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components.d.ts +3 -1
- 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 +1 -1
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/copy/style/index.css +1 -1
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cropper/style/index.css +1 -1
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 +1 -1
- 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_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/date-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/month-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/quarter-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/week-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/pickers/year-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/style/index.css +1 -1
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/divider/divider.vue_vue_type_script_setup_true_lang.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_vue_type_script_setup_true_lang.js +1 -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_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/style/index.css +1 -1
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/empty/empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +2 -2
- 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 +4 -4
- package/es/form/form.vue_vue_type_script_setup_true_lang.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/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.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-mute/icon-mute.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 +1 -1
- package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-voice/icon-voice.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/add-from-icon-font-cn.js +1 -1
- package/es/icon-component/icon-font.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 +5 -5
- 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 +1 -1
- package/es/image/preview-action.vue_vue_type_script_setup_true_lang.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 +1 -1
- package/es/index.css +107 -57
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/index.scss +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-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input-mask/mask-engine.js +1 -1
- package/es/input-number/input-number.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input-tag/utils.js +1 -1
- 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 +1 -1
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/style/index.css +2 -2
- package/es/json-form/utils.js +1 -1
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +1 -1
- 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/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/layout/style/index.css +3 -3
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/mention/mention.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/style/index.css +2 -2
- package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/menu/sub-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/message/style/index.css +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/model-selector/model-selector-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-name.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-separator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-shortcut.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/index.js +1 -1
- package/es/notification/notification-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/style/index.css +1 -1
- package/es/notification/style/index.scss +3 -1
- package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +2 -2
- 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/pagination/pagination.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/panel-group/context.d.ts +4 -0
- package/es/panel-group/context.js +13 -0
- package/es/panel-group/core/axes.d.ts +33 -0
- package/es/panel-group/core/axes.js +33 -0
- package/es/panel-group/core/dom.d.ts +6 -0
- package/es/panel-group/core/dom.js +42 -0
- package/es/panel-group/core/env.d.ts +9 -0
- package/es/panel-group/core/env.js +31 -0
- package/es/panel-group/core/grips.d.ts +17 -0
- package/es/panel-group/core/grips.js +76 -0
- package/es/panel-group/core/group.d.ts +13 -0
- package/es/panel-group/core/group.js +19 -0
- package/es/panel-group/core/motion.d.ts +16 -0
- package/es/panel-group/core/motion.js +58 -0
- package/es/panel-group/core/panel.d.ts +54 -0
- package/es/panel-group/core/panel.js +277 -0
- package/es/panel-group/core/reorder.d.ts +6 -0
- package/es/panel-group/core/reorder.js +23 -0
- package/es/panel-group/core/separator.d.ts +3 -0
- package/es/panel-group/core/separator.js +130 -0
- package/es/panel-group/core/transition.d.ts +9 -0
- package/es/panel-group/core/transition.js +56 -0
- package/es/panel-group/core/utils.d.ts +11 -0
- package/es/panel-group/core/utils.js +19 -0
- package/es/panel-group/index.d.ts +134 -0
- package/es/panel-group/index.js +22 -0
- package/es/panel-group/panel-group.js +5 -0
- package/es/panel-group/panel-group.vue.d.ts +18 -0
- package/es/panel-group/panel-group.vue_vue_type_script_setup_true_lang.js +53 -0
- package/es/panel-group/panel-separator.js +5 -0
- package/es/panel-group/panel-separator.vue.d.ts +17 -0
- package/es/panel-group/panel-separator.vue_vue_type_script_setup_true_lang.js +119 -0
- package/es/panel-group/panel.js +5 -0
- package/es/panel-group/panel.vue.d.ts +30 -0
- package/es/panel-group/panel.vue_vue_type_script_setup_true_lang.js +251 -0
- package/es/panel-group/style/index.css +110 -0
- package/es/panel-group/style/index.scss +118 -0
- package/es/panel-group/style/token.scss +16 -0
- package/es/panel-group/types.d.ts +21 -0
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/popconfirm/style/index.css +1 -1
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/popover/style/index.css +1 -1
- 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 +2 -2
- package/es/radio/radio-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/radio/radio.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/regex-vis/layout.js +1 -1
- package/es/regex-vis/parser/parser.js +1 -1
- package/es/regex-vis/regex-vis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/403.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/404.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/500.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
- package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +5 -3
- 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/select-dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/select/select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/select/style/index.css +1 -1
- package/es/select/utils.js +1 -1
- package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-recording-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-skill-tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-stop-loading-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.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 +1 -1
- 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/slider/style/index.css +1 -1
- package/es/space/space.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/spin/dot-loading.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/spin/spin.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/split/style/index.scss +1 -2
- package/es/split/style/token.scss +0 -3
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +2 -2
- 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/_tokens.scss +1 -1
- package/es/style/theme/global.scss +69 -31
- package/es/style/theme/index.scss +5 -2
- package/es/switch/style/index.css +1 -1
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/table/style/index.css +1 -1
- package/es/table/table-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-operation-td.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-operation-th.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-tbody.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-td.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-thead.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table-tr.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/table/utils.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs.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 +1 -1
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/thinking-orb/engine/profiles.js +1 -1
- package/es/thinking-orb/presets.js +1 -1
- package/es/thinking-orb/thinking-orb.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/range-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/style/index.css +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_vue_type_script_setup_true_lang.js +1 -1
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/timeline/timeline.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tour/style/index.css +1 -1
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/transfer/transfer-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 +1 -1
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node.vue_vue_type_script_setup_true_lang.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 +2 -2
- 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.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree-select/style/index.css +1 -1
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/base.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/paragraph.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/text.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/title.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/typography-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/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/typography/utils/inner-text-renderer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-picture-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload-progress.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/verification-code/verification-code.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/watermark.vue_vue_type_script_setup_true_lang.js +1 -1
- package/json/vetur-attributes.json +47 -24
- package/json/vetur-tags.json +26 -11
- package/json/web-types.json +134 -53
- package/package.json +5 -4
- package/es/resize-box/index.d.ts +0 -131
- package/es/resize-box/index.js +0 -10
- package/es/resize-box/resize-box.js +0 -5
- package/es/resize-box/resize-box.vue.d.ts +0 -74
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +0 -240
- package/es/resize-box/style/index.css +0 -60
- package/es/resize-box/style/index.scss +0 -62
- package/es/resize-box/style/token.scss +0 -14
- /package/es/{resize-box → panel-group}/style/css.js +0 -0
- /package/es/{resize-box → panel-group}/style/index.d.ts +0 -0
- /package/es/{resize-box → panel-group}/style/index.js +0 -0
package/es/resize-box/index.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
import type { SDOptions } from '../_utils/types';
|
|
3
|
-
import _ResizeBox from './resize-box.vue';
|
|
4
|
-
declare const ResizeBox: {
|
|
5
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
-
width: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
};
|
|
9
|
-
height: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
};
|
|
12
|
-
component: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
directions: {
|
|
17
|
-
type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
|
|
18
|
-
default: () => string[];
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{
|
|
21
|
-
onMoving?: ((_size: {
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
}, _ev: MouseEvent) => any) | undefined;
|
|
25
|
-
onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
|
|
26
|
-
onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
|
|
27
|
-
"onUpdate:height"?: ((_height: number) => any) | undefined;
|
|
28
|
-
"onUpdate:width"?: ((_width: number) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
moving: (_size: {
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
}, _ev: MouseEvent) => any;
|
|
34
|
-
movingEnd: (_ev: MouseEvent) => any;
|
|
35
|
-
movingStart: (_ev: MouseEvent) => any;
|
|
36
|
-
"update:height": (_height: number) => any;
|
|
37
|
-
"update:width": (_width: number) => any;
|
|
38
|
-
}, import("vue").PublicProps, {
|
|
39
|
-
component: string;
|
|
40
|
-
directions: ("bottom" | "left" | "right" | "top")[];
|
|
41
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
42
|
-
P: {};
|
|
43
|
-
B: {};
|
|
44
|
-
D: {};
|
|
45
|
-
C: {};
|
|
46
|
-
M: {};
|
|
47
|
-
Defaults: {};
|
|
48
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
-
width: {
|
|
50
|
-
type: NumberConstructor;
|
|
51
|
-
};
|
|
52
|
-
height: {
|
|
53
|
-
type: NumberConstructor;
|
|
54
|
-
};
|
|
55
|
-
component: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
directions: {
|
|
60
|
-
type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
|
|
61
|
-
default: () => string[];
|
|
62
|
-
};
|
|
63
|
-
}>> & Readonly<{
|
|
64
|
-
onMoving?: ((_size: {
|
|
65
|
-
width: number;
|
|
66
|
-
height: number;
|
|
67
|
-
}, _ev: MouseEvent) => any) | undefined;
|
|
68
|
-
onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
|
|
69
|
-
onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
|
|
70
|
-
"onUpdate:height"?: ((_height: number) => any) | undefined;
|
|
71
|
-
"onUpdate:width"?: ((_width: number) => any) | undefined;
|
|
72
|
-
}>, {}, {}, {}, {}, {
|
|
73
|
-
component: string;
|
|
74
|
-
directions: ("bottom" | "left" | "right" | "top")[];
|
|
75
|
-
}>;
|
|
76
|
-
__isFragment?: never;
|
|
77
|
-
__isTeleport?: never;
|
|
78
|
-
__isSuspense?: never;
|
|
79
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
-
width: {
|
|
81
|
-
type: NumberConstructor;
|
|
82
|
-
};
|
|
83
|
-
height: {
|
|
84
|
-
type: NumberConstructor;
|
|
85
|
-
};
|
|
86
|
-
component: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
directions: {
|
|
91
|
-
type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
|
|
92
|
-
default: () => string[];
|
|
93
|
-
};
|
|
94
|
-
}>> & Readonly<{
|
|
95
|
-
onMoving?: ((_size: {
|
|
96
|
-
width: number;
|
|
97
|
-
height: number;
|
|
98
|
-
}, _ev: MouseEvent) => any) | undefined;
|
|
99
|
-
onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
|
|
100
|
-
onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
|
|
101
|
-
"onUpdate:height"?: ((_height: number) => any) | undefined;
|
|
102
|
-
"onUpdate:width"?: ((_width: number) => any) | undefined;
|
|
103
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
104
|
-
moving: (_size: {
|
|
105
|
-
width: number;
|
|
106
|
-
height: number;
|
|
107
|
-
}, _ev: MouseEvent) => any;
|
|
108
|
-
movingEnd: (_ev: MouseEvent) => any;
|
|
109
|
-
movingStart: (_ev: MouseEvent) => any;
|
|
110
|
-
"update:height": (_height: number) => any;
|
|
111
|
-
"update:width": (_width: number) => any;
|
|
112
|
-
}, string, {
|
|
113
|
-
component: string;
|
|
114
|
-
directions: ("bottom" | "left" | "right" | "top")[];
|
|
115
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
116
|
-
$slots: {
|
|
117
|
-
default?: (props: {}) => any;
|
|
118
|
-
} & {
|
|
119
|
-
'resize-trigger'?: (props: {
|
|
120
|
-
direction: "bottom" | "left" | "right" | "top";
|
|
121
|
-
}) => any;
|
|
122
|
-
} & {
|
|
123
|
-
'resize-trigger-icon'?: (props: {
|
|
124
|
-
direction: "bottom" | "left" | "right" | "top";
|
|
125
|
-
}) => any;
|
|
126
|
-
};
|
|
127
|
-
}) & {
|
|
128
|
-
install: (app: App, options?: SDOptions) => void;
|
|
129
|
-
};
|
|
130
|
-
export type ResizeBoxInstance = InstanceType<typeof _ResizeBox>;
|
|
131
|
-
export default ResizeBox;
|
package/es/resize-box/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
|
|
2
|
-
import resize_box_default from "./resize-box.js";
|
|
3
|
-
//#region components/resize-box/index.ts
|
|
4
|
-
var ResizeBox = Object.assign(resize_box_default, { install: (app, options) => {
|
|
5
|
-
setGlobalConfig(app, options);
|
|
6
|
-
const componentPrefix = getComponentPrefix(options);
|
|
7
|
-
app.component(componentPrefix + resize_box_default.name, resize_box_default);
|
|
8
|
-
} });
|
|
9
|
-
//#endregion
|
|
10
|
-
export { ResizeBox as default };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import resize_box_vue_vue_type_script_setup_true_lang_default from "./resize-box.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
//#region components/resize-box/resize-box.vue
|
|
3
|
-
var resize_box_default = resize_box_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { resize_box_default as default };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export type DirectionType = 'left' | 'right' | 'top' | 'bottom';
|
|
3
|
-
declare var __VLS_9: {}, __VLS_21: {
|
|
4
|
-
direction: "bottom" | "left" | "right" | "top";
|
|
5
|
-
}, __VLS_24: {
|
|
6
|
-
direction: "bottom" | "left" | "right" | "top";
|
|
7
|
-
};
|
|
8
|
-
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof __VLS_9) => any;
|
|
10
|
-
} & {
|
|
11
|
-
'resize-trigger'?: (props: typeof __VLS_21) => any;
|
|
12
|
-
} & {
|
|
13
|
-
'resize-trigger-icon'?: (props: typeof __VLS_24) => any;
|
|
14
|
-
};
|
|
15
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
-
width: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
};
|
|
19
|
-
height: {
|
|
20
|
-
type: NumberConstructor;
|
|
21
|
-
};
|
|
22
|
-
component: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
directions: {
|
|
27
|
-
type: PropType<('left' | 'right' | 'top' | 'bottom')[]>;
|
|
28
|
-
default: () => string[];
|
|
29
|
-
};
|
|
30
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
moving: (_size: {
|
|
32
|
-
width: number;
|
|
33
|
-
height: number;
|
|
34
|
-
}, _ev: MouseEvent) => any;
|
|
35
|
-
movingEnd: (_ev: MouseEvent) => any;
|
|
36
|
-
movingStart: (_ev: MouseEvent) => any;
|
|
37
|
-
"update:height": (_height: number) => any;
|
|
38
|
-
"update:width": (_width: number) => any;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
width: {
|
|
41
|
-
type: NumberConstructor;
|
|
42
|
-
};
|
|
43
|
-
height: {
|
|
44
|
-
type: NumberConstructor;
|
|
45
|
-
};
|
|
46
|
-
component: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
directions: {
|
|
51
|
-
type: PropType<('left' | 'right' | 'top' | 'bottom')[]>;
|
|
52
|
-
default: () => string[];
|
|
53
|
-
};
|
|
54
|
-
}>> & Readonly<{
|
|
55
|
-
onMoving?: ((_size: {
|
|
56
|
-
width: number;
|
|
57
|
-
height: number;
|
|
58
|
-
}, _ev: MouseEvent) => any) | undefined;
|
|
59
|
-
onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
|
|
60
|
-
onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
|
|
61
|
-
"onUpdate:height"?: ((_height: number) => any) | undefined;
|
|
62
|
-
"onUpdate:width"?: ((_width: number) => any) | undefined;
|
|
63
|
-
}>, {
|
|
64
|
-
component: string;
|
|
65
|
-
directions: ("bottom" | "left" | "right" | "top")[];
|
|
66
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
68
|
-
declare const _default: typeof __VLS_export;
|
|
69
|
-
export default _default;
|
|
70
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
71
|
-
new (): {
|
|
72
|
-
$slots: S;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
|
-
import { isNumber } from "../_utils/is.js";
|
|
4
|
-
import { off, on } from "../_utils/dom.js";
|
|
5
|
-
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
|
6
|
-
import useMergeState from "../_hooks/use-merge-state.js";
|
|
7
|
-
import resize_trigger_default from "../_components/resize-trigger.js";
|
|
8
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createSlots, defineComponent, mergeProps, normalizeClass, onBeforeUnmount, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
|
|
9
|
-
//#region components/resize-box/resize-box.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var DIRECTION_LEFT = "left";
|
|
11
|
-
var DIRECTION_RIGHT = "right";
|
|
12
|
-
var DIRECTION_TOP = "top";
|
|
13
|
-
var DIRECTION_BOTTOM = "bottom";
|
|
14
|
-
var resize_box_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "ResizeBox" }), {}, {
|
|
15
|
-
__name: "resize-box",
|
|
16
|
-
props: {
|
|
17
|
-
/**
|
|
18
|
-
* @zh 宽度
|
|
19
|
-
* @en Width
|
|
20
|
-
* @vModel
|
|
21
|
-
*/
|
|
22
|
-
width: { type: Number },
|
|
23
|
-
/**
|
|
24
|
-
* @zh 高度
|
|
25
|
-
* @en Height
|
|
26
|
-
* @vModel
|
|
27
|
-
*/
|
|
28
|
-
height: { type: Number },
|
|
29
|
-
/**
|
|
30
|
-
* @zh 伸缩框的 html 标签
|
|
31
|
-
* @en The html tag of the telescopic box
|
|
32
|
-
*/
|
|
33
|
-
component: {
|
|
34
|
-
type: String,
|
|
35
|
-
default: "div"
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* @zh 可以进行伸缩的边,有上、下、左、右可以使用
|
|
39
|
-
* @en Can be stretched side, there are up, down, left and right can be used
|
|
40
|
-
* */
|
|
41
|
-
directions: {
|
|
42
|
-
type: Array,
|
|
43
|
-
default: () => ["right"]
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
emits: [
|
|
47
|
-
"update:width",
|
|
48
|
-
"update:height",
|
|
49
|
-
"movingStart",
|
|
50
|
-
"moving",
|
|
51
|
-
"movingEnd"
|
|
52
|
-
],
|
|
53
|
-
setup(__props, { emit: __emit }) {
|
|
54
|
-
const allDirections = [
|
|
55
|
-
DIRECTION_LEFT,
|
|
56
|
-
DIRECTION_RIGHT,
|
|
57
|
-
DIRECTION_TOP,
|
|
58
|
-
DIRECTION_BOTTOM
|
|
59
|
-
];
|
|
60
|
-
function getRealSize(pageSize, padding) {
|
|
61
|
-
if (pageSize === 0) return 0;
|
|
62
|
-
const res = pageSize - padding;
|
|
63
|
-
return res <= 0 ? 0 : res;
|
|
64
|
-
}
|
|
65
|
-
function isHorizontal(direction) {
|
|
66
|
-
return [DIRECTION_TOP, DIRECTION_BOTTOM].indexOf(direction) > -1;
|
|
67
|
-
}
|
|
68
|
-
const props = __props;
|
|
69
|
-
const emit = __emit;
|
|
70
|
-
/**
|
|
71
|
-
* @zh 伸缩杆的内容
|
|
72
|
-
* @en The contents of the resize pole
|
|
73
|
-
* @slot resize-trigger
|
|
74
|
-
* @binding {'left' | 'right' | 'top' | 'bottom'} direction
|
|
75
|
-
*/
|
|
76
|
-
/**
|
|
77
|
-
* @zh 伸缩杆的图标
|
|
78
|
-
* @en Resize pole icon
|
|
79
|
-
* @slot resize-trigger-icon
|
|
80
|
-
* @binding {'left' | 'right' | 'top' | 'bottom'} direction
|
|
81
|
-
*/
|
|
82
|
-
const { height: propHeight, width: propWidth, directions } = toRefs(props);
|
|
83
|
-
const [resWidth, setResWidth] = useMergeState(null, reactive({ value: propWidth }));
|
|
84
|
-
const [resHeight, setResHeight] = useMergeState(null, reactive({ value: propHeight }));
|
|
85
|
-
const wrapperRef = ref();
|
|
86
|
-
const paddingStyles = reactive({});
|
|
87
|
-
const prefixCls = getPrefixCls("resizebox");
|
|
88
|
-
const classNames = computed(() => [prefixCls]);
|
|
89
|
-
const styles = computed(() => {
|
|
90
|
-
return _objectSpread2(_objectSpread2(_objectSpread2({}, isNumber(resWidth.value) ? { width: `${resWidth.value}px` } : {}), isNumber(resHeight.value) ? { height: `${resHeight.value}px` } : {}), paddingStyles);
|
|
91
|
-
});
|
|
92
|
-
const allowDirections = computed(() => directions.value.filter((direction) => allDirections.includes(direction)));
|
|
93
|
-
const record = {
|
|
94
|
-
direction: "",
|
|
95
|
-
startPageX: 0,
|
|
96
|
-
startPageY: 0,
|
|
97
|
-
startWidth: 0,
|
|
98
|
-
startHeight: 0,
|
|
99
|
-
moving: false,
|
|
100
|
-
padding: {
|
|
101
|
-
left: 0,
|
|
102
|
-
right: 0,
|
|
103
|
-
top: 0,
|
|
104
|
-
bottom: 0
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
function onMoving(e) {
|
|
108
|
-
if (!record.moving) return;
|
|
109
|
-
const { startPageX, startPageY, startWidth, startHeight, direction } = record;
|
|
110
|
-
let newWidth = startWidth;
|
|
111
|
-
let newHeight = startHeight;
|
|
112
|
-
const offsetX = e.pageX - startPageX;
|
|
113
|
-
const offsetY = e.pageY - startPageY;
|
|
114
|
-
switch (direction) {
|
|
115
|
-
case DIRECTION_LEFT:
|
|
116
|
-
newWidth = Math.max(0, startWidth - offsetX);
|
|
117
|
-
setResWidth(newWidth);
|
|
118
|
-
emit("update:width", newWidth);
|
|
119
|
-
break;
|
|
120
|
-
case DIRECTION_RIGHT:
|
|
121
|
-
newWidth = Math.max(0, startWidth + offsetX);
|
|
122
|
-
setResWidth(newWidth);
|
|
123
|
-
emit("update:width", newWidth);
|
|
124
|
-
break;
|
|
125
|
-
case DIRECTION_TOP:
|
|
126
|
-
newHeight = Math.max(0, startHeight - offsetY);
|
|
127
|
-
setResHeight(newHeight);
|
|
128
|
-
emit("update:height", newHeight);
|
|
129
|
-
break;
|
|
130
|
-
case DIRECTION_BOTTOM:
|
|
131
|
-
newHeight = Math.max(0, startHeight + offsetY);
|
|
132
|
-
setResHeight(newHeight);
|
|
133
|
-
emit("update:height", newHeight);
|
|
134
|
-
}
|
|
135
|
-
emit("moving", {
|
|
136
|
-
width: newWidth,
|
|
137
|
-
height: newHeight
|
|
138
|
-
}, e);
|
|
139
|
-
}
|
|
140
|
-
function cleanupDragging() {
|
|
141
|
-
record.moving = false;
|
|
142
|
-
off(window, "mousemove", onMoving);
|
|
143
|
-
off(window, "mouseup", onMoveEnd);
|
|
144
|
-
off(window, "contextmenu", onMoveEnd);
|
|
145
|
-
document.body.style.cursor = "default";
|
|
146
|
-
}
|
|
147
|
-
function onMoveEnd(e) {
|
|
148
|
-
cleanupDragging();
|
|
149
|
-
emit("movingEnd", e);
|
|
150
|
-
}
|
|
151
|
-
function onMoveStart(direction, e) {
|
|
152
|
-
var _wrapperRef$value, _wrapperRef$value2;
|
|
153
|
-
emit("movingStart", e);
|
|
154
|
-
record.moving = true;
|
|
155
|
-
record.startPageX = e.pageX;
|
|
156
|
-
record.startPageY = e.pageY;
|
|
157
|
-
record.direction = direction;
|
|
158
|
-
const { top, left, right, bottom } = record.padding;
|
|
159
|
-
record.startWidth = getRealSize(((_wrapperRef$value = wrapperRef.value) === null || _wrapperRef$value === void 0 ? void 0 : _wrapperRef$value.clientWidth) || 0, left + right);
|
|
160
|
-
record.startHeight = getRealSize(((_wrapperRef$value2 = wrapperRef.value) === null || _wrapperRef$value2 === void 0 ? void 0 : _wrapperRef$value2.clientHeight) || 0, top + bottom);
|
|
161
|
-
on(window, "mousemove", onMoving);
|
|
162
|
-
on(window, "mouseup", onMoveEnd);
|
|
163
|
-
on(window, "contextmenu", onMoveEnd);
|
|
164
|
-
document.body.style.cursor = isHorizontal(direction) ? "row-resize" : "col-resize";
|
|
165
|
-
}
|
|
166
|
-
function onTriggerResize(direction, entry) {
|
|
167
|
-
const { width, height } = entry.contentRect;
|
|
168
|
-
const size = isHorizontal(direction) ? height : width;
|
|
169
|
-
record.padding[direction] = size;
|
|
170
|
-
paddingStyles[`padding-${direction}`] = `${size}px`;
|
|
171
|
-
}
|
|
172
|
-
function onTriggerKeydown(direction, e) {
|
|
173
|
-
const horiz = direction === DIRECTION_LEFT || direction === DIRECTION_RIGHT;
|
|
174
|
-
const key = e.key;
|
|
175
|
-
const posKey = horiz ? KEYBOARD_KEY.ARROW_RIGHT : KEYBOARD_KEY.ARROW_DOWN;
|
|
176
|
-
const negKey = horiz ? KEYBOARD_KEY.ARROW_LEFT : KEYBOARD_KEY.ARROW_UP;
|
|
177
|
-
if (key !== posKey && key !== negKey) return;
|
|
178
|
-
e.preventDefault();
|
|
179
|
-
const step = e.shiftKey ? 20 : 10;
|
|
180
|
-
const dirSign = direction === DIRECTION_LEFT || direction === DIRECTION_TOP ? -1 : 1;
|
|
181
|
-
const delta = step * (key === posKey ? 1 : -1) * dirSign;
|
|
182
|
-
if (horiz) {
|
|
183
|
-
var _wrapperRef$value3;
|
|
184
|
-
const base = isNumber(resWidth.value) ? resWidth.value : Math.max(0, getRealSize(((_wrapperRef$value3 = wrapperRef.value) === null || _wrapperRef$value3 === void 0 ? void 0 : _wrapperRef$value3.clientWidth) || 0, record.padding.left + record.padding.right));
|
|
185
|
-
const newWidth = Math.max(0, base + delta);
|
|
186
|
-
setResWidth(newWidth);
|
|
187
|
-
emit("update:width", newWidth);
|
|
188
|
-
} else {
|
|
189
|
-
var _wrapperRef$value4;
|
|
190
|
-
const base = isNumber(resHeight.value) ? resHeight.value : Math.max(0, getRealSize(((_wrapperRef$value4 = wrapperRef.value) === null || _wrapperRef$value4 === void 0 ? void 0 : _wrapperRef$value4.clientHeight) || 0, record.padding.top + record.padding.bottom));
|
|
191
|
-
const newHeight = Math.max(0, base + delta);
|
|
192
|
-
setResHeight(newHeight);
|
|
193
|
-
emit("update:height", newHeight);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
onBeforeUnmount(cleanupDragging);
|
|
197
|
-
return (_ctx, _cache) => {
|
|
198
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.component), mergeProps({
|
|
199
|
-
ref_key: "wrapperRef",
|
|
200
|
-
ref: wrapperRef,
|
|
201
|
-
class: classNames.value
|
|
202
|
-
}, _ctx.$attrs, { style: styles.value }), {
|
|
203
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default"), (openBlock(true), createElementBlock(Fragment, null, renderList(allowDirections.value, (direction) => {
|
|
204
|
-
return openBlock(), createBlock(resize_trigger_default, {
|
|
205
|
-
key: direction,
|
|
206
|
-
"prefix-cls": `${unref(prefixCls)}-trigger`,
|
|
207
|
-
class: normalizeClass(`${unref(prefixCls)}-direction-${direction}`),
|
|
208
|
-
direction: isHorizontal(direction) ? "horizontal" : "vertical",
|
|
209
|
-
onMousedown: (e) => {
|
|
210
|
-
onMoveStart(direction, e);
|
|
211
|
-
},
|
|
212
|
-
onResize: (entry) => {
|
|
213
|
-
onTriggerResize(direction, entry);
|
|
214
|
-
},
|
|
215
|
-
onKeydown: (e) => {
|
|
216
|
-
onTriggerKeydown(direction, e);
|
|
217
|
-
}
|
|
218
|
-
}, createSlots({
|
|
219
|
-
default: withCtx(() => [_ctx.$slots["resize-trigger"] ? renderSlot(_ctx.$slots, "resize-trigger", { direction }, void 0, void 0, 0) : createCommentVNode("", true)]),
|
|
220
|
-
_: 2
|
|
221
|
-
}, [_ctx.$slots["resize-trigger-icon"] ? {
|
|
222
|
-
name: "icon",
|
|
223
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "resize-trigger-icon", { direction })]),
|
|
224
|
-
key: "0"
|
|
225
|
-
} : void 0]), 1032, [
|
|
226
|
-
"prefix-cls",
|
|
227
|
-
"class",
|
|
228
|
-
"direction",
|
|
229
|
-
"onMousedown",
|
|
230
|
-
"onResize",
|
|
231
|
-
"onKeydown"
|
|
232
|
-
]);
|
|
233
|
-
}), 128))]),
|
|
234
|
-
_: 3
|
|
235
|
-
}, 16, ["class", "style"]);
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
}));
|
|
239
|
-
//#endregion
|
|
240
|
-
export { resize_box_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/******** borderSize *******/
|
|
2
|
-
/******** borderStyle *******/
|
|
3
|
-
/******** radius *******/
|
|
4
|
-
/******** shadow distance *******/
|
|
5
|
-
/******** size *******/
|
|
6
|
-
/******** spacing *******/
|
|
7
|
-
/******** shadow *******/
|
|
8
|
-
/******** opacity *******/
|
|
9
|
-
/******** fontSize *******/
|
|
10
|
-
/******** fontWeight ********/
|
|
11
|
-
/******** Primary *******/
|
|
12
|
-
/******** success *******/
|
|
13
|
-
/******** warning *******/
|
|
14
|
-
/******** danger *******/
|
|
15
|
-
/******** link *******/
|
|
16
|
-
/******** radius *******/
|
|
17
|
-
/********* icon hover *********/
|
|
18
|
-
.sd-resizebox {
|
|
19
|
-
position: relative;
|
|
20
|
-
width: 100%;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
}
|
|
23
|
-
.sd-resizebox-direction-left, .sd-resizebox-direction-right, .sd-resizebox-direction-top, .sd-resizebox-direction-bottom {
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 0;
|
|
26
|
-
left: 0;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
user-select: none;
|
|
29
|
-
}
|
|
30
|
-
.sd-resizebox-direction-right {
|
|
31
|
-
right: 0;
|
|
32
|
-
left: unset;
|
|
33
|
-
}
|
|
34
|
-
.sd-resizebox-direction-bottom {
|
|
35
|
-
top: unset;
|
|
36
|
-
bottom: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.sd-resizebox-trigger-icon-wrapper {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
height: 100%;
|
|
44
|
-
color: var(--sd-color-text-1);
|
|
45
|
-
font-size: 12px;
|
|
46
|
-
line-height: 1;
|
|
47
|
-
background-color: var(--sd-color-neutral-3);
|
|
48
|
-
}
|
|
49
|
-
.sd-resizebox-trigger-icon {
|
|
50
|
-
display: inline-block;
|
|
51
|
-
margin: -3px;
|
|
52
|
-
}
|
|
53
|
-
.sd-resizebox-trigger-vertical {
|
|
54
|
-
height: 100%;
|
|
55
|
-
cursor: col-resize;
|
|
56
|
-
}
|
|
57
|
-
.sd-resizebox-trigger-horizontal {
|
|
58
|
-
width: 100%;
|
|
59
|
-
cursor: row-resize;
|
|
60
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
@use '@style/theme/index.scss' as theme;
|
|
2
|
-
@use 'sass:string';
|
|
3
|
-
@use '@components/resize-box/style/token.scss' as *;
|
|
4
|
-
|
|
5
|
-
$resizebox-prefix-cls: string.unquote('#{theme.$prefix}-resizebox');
|
|
6
|
-
$resizebox-trigger-prefix-cls: string.unquote('#{$resizebox-prefix-cls}-trigger');
|
|
7
|
-
|
|
8
|
-
.#{$resizebox-prefix-cls} {
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
|
|
13
|
-
&-direction-left,
|
|
14
|
-
&-direction-right,
|
|
15
|
-
&-direction-top,
|
|
16
|
-
&-direction-bottom {
|
|
17
|
-
position: absolute;
|
|
18
|
-
top: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
user-select: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-direction-right {
|
|
25
|
-
right: 0;
|
|
26
|
-
left: unset;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-direction-bottom {
|
|
30
|
-
top: unset;
|
|
31
|
-
bottom: 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// 伸缩触发杆
|
|
36
|
-
.#{$resizebox-trigger-prefix-cls} {
|
|
37
|
-
&-icon-wrapper {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
height: 100%;
|
|
42
|
-
color: $resizeBox-trigger-color-icon;
|
|
43
|
-
font-size: $resizeBox-trigger-font-size-icon;
|
|
44
|
-
line-height: 1;
|
|
45
|
-
background-color: $resizeBox-trigger-color-background;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&-icon {
|
|
49
|
-
display: inline-block;
|
|
50
|
-
margin: -($resizeBox-trigger-font-size-icon * 0.25);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-vertical {
|
|
54
|
-
height: 100%;
|
|
55
|
-
cursor: col-resize;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-horizontal {
|
|
59
|
-
width: 100%;
|
|
60
|
-
cursor: row-resize;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
@use '@style/theme/index.scss' as global;
|
|
2
|
-
|
|
3
|
-
@forward '@style/theme/index.scss';
|
|
4
|
-
@forward '@style/color/colors.scss' hide $sd-vars-prefix, $sd-cssvars-prefix;
|
|
5
|
-
|
|
6
|
-
@use 'sass:string';
|
|
7
|
-
@use '@style/theme/index.scss' as *;
|
|
8
|
-
|
|
9
|
-
$resizeBox-trigger-color-background: var(
|
|
10
|
-
string.unquote('#{global.$sd-cssvars-prefix}-color-neutral-3')
|
|
11
|
-
);
|
|
12
|
-
// $resizeBox-trigger-size-icon-wrapper: 6px;
|
|
13
|
-
$resizeBox-trigger-font-size-icon: 12px;
|
|
14
|
-
$resizeBox-trigger-color-icon: var(string.unquote('#{global.$sd-cssvars-prefix}-color-text-1'));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|