@sdata/web-vue 1.19.0 → 2.1.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/README.md +3 -7
- package/dist/sd.css +4083 -2512
- package/dist/sd.min.css +1 -1
- package/es/_components/feedback-icon.js +1 -1
- package/es/_components/icon-hover.js +1 -1
- package/es/_components/icon-hover.vue.d.ts +1 -1
- package/es/_components/input-label/input-label.d.ts +1 -1
- package/es/_components/input-label/style/index.css +27 -27
- package/es/_components/picker/input-range.js +1 -1
- package/es/_components/picker/input-range.vue.d.ts +2 -2
- package/es/_components/picker/input.js +1 -1
- package/es/_components/picker/input.vue.d.ts +2 -2
- package/es/_components/resize-trigger.js +1 -1
- package/es/_components/select-view/select-view.d.ts +3 -3
- package/es/_components/select-view/style/index.css +199 -199
- package/es/_components/transition/expand-transition.js +1 -1
- package/es/_components/virtual-list/virtual-list.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +8 -5
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +9 -16
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-scrollbar.d.ts +2 -3
- package/es/_hooks/use-scrollbar.js +4 -8
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/_utils/color.d.ts +9 -0
- package/es/_utils/color.js +38 -2
- package/es/_utils/date.d.ts +1 -2
- package/es/_utils/date.js +74 -25
- package/es/_utils/global-config.d.ts +4 -0
- package/es/_utils/global-config.js +10 -2
- 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.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/typeof.js +1 -1
- package/es/affix/affix.js +1 -1
- package/es/affix/affix.vue_vue_type_script_lang.js +1 -1
- package/es/alert/alert.js +1 -1
- package/es/alert/alert.vue.d.ts +1 -1
- package/es/alert/index.d.ts +2 -2
- package/es/alert/style/index.css +28 -28
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/anchor/style/index.css +9 -9
- package/es/auto-complete/auto-complete.d.ts +3 -3
- package/es/auto-complete/auto-complete.js +23 -9
- package/es/auto-complete/index.d.ts +9 -9
- package/es/auto-complete/style/index.css +3 -3
- package/es/avatar/avatar.js +1 -1
- package/es/avatar/avatar.vue_vue_type_script_lang.js +1 -1
- package/es/avatar/style/index.css +15 -15
- package/es/back-top/back-top.js +1 -1
- package/es/back-top/style/index.css +4 -4
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/badge.js +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/badge/style/index.css +25 -25
- package/es/breadcrumb/style/index.css +12 -12
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +1 -1
- package/es/button/button.vue.d.ts +2 -2
- package/es/button/index.d.ts +6 -6
- package/es/button/style/index.css +37 -37
- package/es/calendar/components/body.js +5 -0
- package/es/calendar/components/body.vue.d.ts +100 -0
- package/es/calendar/components/body.vue_vue_type_script_setup_true_lang.js +158 -0
- package/es/calendar/components/cell.js +5 -0
- package/es/calendar/components/cell.vue.d.ts +220 -0
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +813 -0
- package/es/calendar/components/event.js +5 -0
- package/es/calendar/components/event.vue.d.ts +73 -0
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +290 -0
- package/es/calendar/components/header.js +5 -0
- package/es/calendar/components/header.vue.d.ts +34 -0
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +84 -0
- package/es/calendar/components/headings-bar.js +5 -0
- package/es/calendar/components/headings-bar.vue.d.ts +40 -0
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +201 -0
- package/es/calendar/components/index.js +5 -0
- package/es/calendar/components/index.vue.d.ts +616 -0
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +314 -0
- package/es/calendar/components/time-column.js +5 -0
- package/es/calendar/components/time-column.vue.d.ts +27 -0
- package/es/calendar/components/time-column.vue_vue_type_script_setup_true_lang.js +66 -0
- package/es/calendar/context.d.ts +16 -0
- package/es/calendar/context.js +5 -0
- package/es/calendar/core/config.d.ts +126 -0
- package/es/calendar/core/config.js +522 -0
- package/es/calendar/core/events.d.ts +1 -0
- package/es/calendar/core/events.js +921 -0
- package/es/calendar/core/i18n.d.ts +1 -0
- package/es/calendar/core/i18n.js +72 -0
- package/es/calendar/core/index.d.ts +112 -0
- package/es/calendar/core/index.js +66 -0
- package/es/calendar/core/props-definitions.d.ts +263 -0
- package/es/calendar/core/props-definitions.js +70 -0
- package/es/calendar/core/view.d.ts +60 -0
- package/es/calendar/core/view.js +761 -0
- package/es/calendar/default-theme.scss +1012 -0
- package/es/calendar/hooks/use-calendar-theme.d.ts +4 -0
- package/es/calendar/hooks/use-calendar-theme.js +32 -0
- package/es/calendar/index.d.ts +836 -98
- package/es/calendar/index.js +3 -3
- package/es/calendar/index.scss +331 -0
- package/es/calendar/modules/drag-and-drop.d.ts +8 -0
- package/es/calendar/modules/drag-and-drop.js +442 -0
- package/es/calendar/style/body.scss +51 -0
- package/es/calendar/style/cell.scss +153 -0
- package/es/calendar/style/css.js +0 -1
- package/es/calendar/style/event.scss +69 -0
- package/es/calendar/style/header.scss +104 -0
- package/es/calendar/style/headings-bar.scss +94 -0
- package/es/calendar/style/index.css +1514 -264
- package/es/calendar/style/index.d.ts +1 -3
- package/es/calendar/style/index.js +0 -1
- package/es/calendar/style/index.scss +9 -496
- package/es/calendar/style/time-column.scss +109 -0
- package/es/calendar/style/token.scss +64 -60
- package/es/calendar/utils/conversions.d.ts +3 -0
- package/es/calendar/utils/conversions.js +31 -0
- package/es/calendar/utils/date.d.ts +26 -0
- package/es/calendar/utils/date.js +253 -0
- package/es/calendar/utils/special-hours-allow-events.d.ts +28 -0
- package/es/calendar/utils/special-hours-allow-events.js +230 -0
- package/es/card/card-grid.js +1 -1
- package/es/card/style/index.css +16 -16
- package/es/carousel/carousel-arrow.js +1 -1
- package/es/carousel/carousel-indicator.js +1 -1
- package/es/carousel/carousel-indicator.vue.d.ts +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/style/index.css +11 -11
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +1 -1
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader.vue.d.ts +5 -5
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/cascader/style/index.css +36 -36
- package/es/checkbox/checkbox.d.ts +1 -1
- package/es/checkbox/index.d.ts +2 -2
- package/es/checkbox/style/index.css +18 -18
- package/es/collapse/collapse-item.d.ts +1 -1
- package/es/collapse/collapse.js +1 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse/style/index.css +15 -15
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/color-picker.js +1 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/color-picker/palette.js +1 -1
- package/es/color-picker/panel.d.ts +1 -1
- package/es/color-picker/panel.js +2 -2
- package/es/color-picker/style/index.css +13 -13
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.js +2 -2
- package/es/comment/style/index.css +5 -5
- package/es/components.d.ts +2 -2
- package/es/config-provider/config-provider.js +1 -1
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/context.d.ts +3 -0
- package/es/config-provider/index.d.ts +3 -3
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/style/index.css +3 -3
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +48 -48
- package/es/date-picker/panels/body.js +1 -1
- package/es/date-picker/panels/date/index.js +2 -2
- package/es/date-picker/panels/date/index.vue.d.ts +6 -6
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/footer.js +1 -1
- package/es/date-picker/panels/footer.vue.d.ts +9 -9
- package/es/date-picker/panels/header.js +1 -1
- package/es/date-picker/panels/month/index.js +2 -2
- package/es/date-picker/panels/quarter/index.js +2 -2
- package/es/date-picker/panels/shortcuts.js +1 -1
- package/es/date-picker/panels/shortcuts.vue.d.ts +6 -6
- package/es/date-picker/panels/week/index.js +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +6 -6
- package/es/date-picker/panels/week-list.js +1 -1
- package/es/date-picker/panels/year/index.js +2 -2
- package/es/date-picker/picker-panel.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +28 -28
- package/es/date-picker/picker.js +2 -2
- package/es/date-picker/picker.vue.d.ts +46 -46
- package/es/date-picker/picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker-panel.js +1 -1
- package/es/date-picker/range-picker-panel.vue.d.ts +29 -29
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker.js +2 -2
- package/es/date-picker/range-picker.vue.d.ts +48 -48
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/style/index.css +72 -72
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.d.ts +6 -6
- package/es/descriptions/style/index.css +10 -10
- package/es/divider/divider.d.ts +1 -1
- package/es/divider/index.d.ts +3 -3
- package/es/divider/style/index.css +4 -4
- package/es/drawer/drawer.js +9 -2
- package/es/drawer/drawer.vue.d.ts +2905 -10
- package/es/drawer/drawer.vue_vue_type_script_lang.js +26 -7
- package/es/drawer/index.d.ts +6550 -764
- package/es/drawer/index.js +2 -2
- package/es/drawer/style/index.css +12 -7
- package/es/drawer/style/index.scss +6 -0
- package/es/dropdown/dropdown-button.js +1 -1
- package/es/dropdown/dropdown-button.vue.d.ts +24 -21
- package/es/dropdown/dropdown-group.js +1 -1
- package/es/dropdown/dropdown-option.js +1 -1
- package/es/dropdown/dropdown-option.vue.d.ts +1 -1
- package/es/dropdown/dropdown-panel.js +1 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +6 -3
- package/es/dropdown/dropdown-submenu.js +1 -1
- package/es/dropdown/dropdown-submenu.vue.d.ts +18 -15
- package/es/dropdown/dropdown.js +1 -1
- package/es/dropdown/dropdown.vue.d.ts +16 -13
- package/es/dropdown/index.d.ts +78 -66
- package/es/dropdown/style/index.css +1 -1
- package/es/ellipsis/ellipsis.js +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +2 -2
- package/es/ellipsis/index.d.ts +96 -96
- package/es/ellipsis/performant-ellipsis.js +1 -1
- package/es/ellipsis/performant-ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +1 -1
- package/es/empty/style/index.css +2 -2
- package/es/form/form-item-label.js +1 -1
- package/es/form/form-item-label.vue.d.ts +24 -24
- package/es/form/form-item-message.js +1 -1
- package/es/form/form-item.js +1 -1
- package/es/form/form-item.vue.d.ts +29 -29
- package/es/form/form-item.vue_vue_type_script_lang.js +3 -3
- package/es/form/form.js +1 -1
- package/es/form/form.vue.d.ts +1 -1
- package/es/form/index.d.ts +35 -35
- package/es/form/style/index.css +6 -6
- package/es/grid/grid-col.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-row.js +1 -1
- package/es/grid/grid-row.vue.d.ts +4 -4
- package/es/grid/grid.js +1 -1
- package/es/grid/index.d.ts +4 -4
- package/es/icon/icon-calendar/icon-calendar.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.js +1 -1
- package/es/icon/icon-check/icon-check.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.js +1 -1
- package/es/icon/icon-close/icon-close.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +1 -1
- package/es/icon/icon-copy/icon-copy.js +1 -1
- package/es/icon/icon-delete/icon-delete.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.js +1 -1
- package/es/icon/icon-down/icon-down.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.js +1 -1
- package/es/icon/icon-edit/icon-edit.js +1 -1
- package/es/icon/icon-empty/icon-empty.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +1 -1
- package/es/icon/icon-eye/icon-eye.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.js +1 -1
- package/es/icon/icon-file/icon-file.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.js +1 -1
- package/es/icon/icon-filter/icon-filter.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.js +1 -1
- package/es/icon/icon-info/icon-info.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.js +1 -1
- package/es/icon/icon-left/icon-left.js +1 -1
- package/es/icon/icon-link/icon-link.js +1 -1
- package/es/icon/icon-loading/icon-loading.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.js +1 -1
- package/es/icon/icon-minus/icon-minus.js +1 -1
- package/es/icon/icon-more/icon-more.js +1 -1
- package/es/icon/icon-oblique-line/icon-oblique-line.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.js +1 -1
- package/es/icon/icon-pause/icon-pause.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.js +1 -1
- package/es/icon/icon-plus/icon-plus.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.js +1 -1
- package/es/icon/icon-right/icon-right.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.js +1 -1
- package/es/icon/icon-search/icon-search.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.js +1 -1
- package/es/icon/icon-up/icon-up.js +1 -1
- package/es/icon/icon-upload/icon-upload.js +1 -1
- package/es/icon/icon-zoom-in/icon-zoom-in.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.js +1 -1
- package/es/icon-component/icon.js +1 -1
- package/es/icon.js +292 -292
- package/es/image/image-footer.js +1 -1
- package/es/image/image.js +2 -2
- package/es/image/image.vue.d.ts +24 -24
- package/es/image/preview-action.d.ts +24 -24
- package/es/image/preview-arrow.js +1 -1
- package/es/image/preview-group.js +2 -2
- package/es/image/preview-group.vue.d.ts +25 -25
- package/es/image/preview-toolbar.js +1 -1
- package/es/image/preview-toolbar.vue.d.ts +24 -24
- package/es/image/preview.js +1 -1
- package/es/image/preview.vue.d.ts +24 -24
- package/es/image/preview.vue_vue_type_script_lang.js +1 -1
- package/es/image/style/index.css +32 -32
- package/es/index.css +4083 -2512
- package/es/index.d.ts +8 -2
- package/es/index.js +11 -10
- package/es/index.scss +3 -1
- package/es/input/index.d.ts +9 -9
- package/es/input/input-group.js +1 -1
- package/es/input/input-password.js +1 -1
- package/es/input/input-password.vue.d.ts +3 -3
- package/es/input/input.d.ts +2 -2
- package/es/input/input.js +1 -1
- package/es/input/style/index.css +50 -50
- package/es/input-number/index.d.ts +6 -6
- package/es/input-number/input-number.d.ts +2 -2
- package/es/input-number/input-number.js +1 -1
- package/es/input-number/style/index.css +16 -16
- package/es/input-tag/index.d.ts +6 -6
- package/es/input-tag/input-tag.d.ts +2 -2
- package/es/input-tag/input-tag.js +1 -1
- package/es/input-tag/style/index.css +172 -172
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/utils.js +3 -3
- package/es/layout/content.js +1 -1
- package/es/layout/footer.js +1 -1
- package/es/layout/header.vue.d.ts +1 -1
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/layout/index.d.ts +21 -21
- package/es/layout/layout.js +1 -1
- package/es/layout/sider.js +1 -1
- package/es/layout/sider.vue.d.ts +16 -16
- package/es/layout/sider.vue_vue_type_script_lang.js +1 -1
- package/es/layout/style/index.css +12 -12
- package/es/link/index.d.ts +3 -3
- package/es/link/link.vue.d.ts +1 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/link/style/index.css +23 -23
- package/es/list/index.d.ts +9 -9
- package/es/list/list-item-meta.js +1 -1
- package/es/list/list.d.ts +3 -3
- package/es/list/list.js +4 -4
- package/es/list/style/index.css +9 -9
- package/es/locale/interface.d.ts +6 -0
- package/es/locale/lang/ar-eg.js +7 -1
- package/es/locale/lang/de-de.js +7 -1
- package/es/locale/lang/en-us.js +7 -1
- package/es/locale/lang/es-es.js +7 -1
- package/es/locale/lang/fr-fr.js +7 -1
- package/es/locale/lang/id-id.js +7 -1
- package/es/locale/lang/it-it.js +7 -1
- package/es/locale/lang/ja-jp.js +7 -1
- package/es/locale/lang/km-kh.js +7 -1
- package/es/locale/lang/ko-kr.js +7 -1
- package/es/locale/lang/ms-my.js +7 -1
- package/es/locale/lang/nl-nl.js +7 -1
- package/es/locale/lang/pt-pt.js +7 -1
- package/es/locale/lang/ru-ru.js +7 -1
- package/es/locale/lang/th-th.js +7 -1
- package/es/locale/lang/vi-vn.js +7 -1
- package/es/locale/lang/zh-cn.js +7 -1
- package/es/locale/lang/zh-tw.js +7 -1
- package/es/mention/index.d.ts +9 -9
- package/es/mention/mention.d.ts +3 -3
- package/es/mention/mention.js +24 -10
- package/es/menu/base-menu.js +1 -1
- package/es/menu/indent.js +1 -1
- package/es/menu/item-group.js +1 -1
- package/es/menu/item-group.vue.d.ts +48 -48
- package/es/menu/item.js +1 -1
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +62 -62
- package/es/menu/sub-menu-inline.js +1 -1
- package/es/menu/sub-menu-inline.vue.d.ts +48 -48
- package/es/menu/sub-menu-pop.js +1 -1
- package/es/menu/sub-menu-pop.vue.d.ts +57 -57
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message-list.d.ts +1 -1
- package/es/message/message.js +1 -1
- package/es/message/message.vue.d.ts +1 -1
- package/es/message/style/index.css +26 -26
- package/es/modal/index.d.ts +6368 -570
- package/es/modal/index.js +2 -2
- package/es/modal/modal.js +15 -4
- package/es/modal/modal.vue.d.ts +2907 -8
- package/es/modal/modal.vue_vue_type_script_lang.js +28 -5
- package/es/modal/style/index.css +28 -12
- package/es/modal/style/index.scss +23 -0
- package/es/notification/index.js +1 -1
- package/es/notification/notification.js +1 -1
- package/es/notification/notification.vue.d.ts +1 -1
- package/es/notification/style/index.css +26 -26
- package/es/page-header/index.d.ts +2 -2
- package/es/page-header/page-header.js +1 -1
- package/es/page-header/page-header.vue.d.ts +1 -1
- package/es/page-header/style/index.css +6 -6
- package/es/pagination/page-item-ellipsis.js +1 -1
- package/es/pagination/page-item-step.js +1 -1
- package/es/pagination/page-item.js +1 -1
- package/es/pagination/page-jumper.js +1 -1
- package/es/pagination/page-jumper.vue.d.ts +6 -6
- package/es/pagination/page-options.js +1 -1
- package/es/pagination/page-options.vue.d.ts +647 -469
- package/es/pagination/style/index.css +21 -21
- package/es/popconfirm/index.d.ts +33 -33
- package/es/popconfirm/popconfirm.js +1 -1
- package/es/popconfirm/popconfirm.vue.d.ts +16 -16
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +1 -1
- package/es/popconfirm/style/index.css +11 -11
- package/es/popover/index.d.ts +899 -21
- package/es/popover/popover.js +7 -3
- package/es/popover/popover.vue.d.ts +451 -10
- package/es/popover/popover.vue_vue_type_script_lang.js +15 -3
- package/es/popover/style/index.css +7 -7
- package/es/popover/style/index.d.ts +1 -0
- package/es/progress/circle.js +1 -1
- package/es/progress/circle.vue.d.ts +1 -1
- package/es/progress/index.d.ts +7 -7
- package/es/progress/line.js +1 -1
- package/es/progress/line.vue.d.ts +1 -1
- package/es/progress/line.vue_vue_type_script_lang.js +1 -1
- package/es/progress/progress.js +1 -1
- package/es/progress/progress.vue.d.ts +3 -3
- package/es/progress/steps.js +1 -1
- package/es/progress/style/index.css +32 -32
- package/es/qr-code/index.d.ts +294 -0
- package/es/qr-code/index.js +10 -0
- package/es/qr-code/qr-code-status.js +5 -0
- package/es/qr-code/qr-code-status.vue.d.ts +8 -0
- package/es/qr-code/qr-code-status.vue_vue_type_script_setup_true_lang.js +30 -0
- package/es/qr-code/qr-code.js +5 -0
- package/es/qr-code/qr-code.vue.d.ts +167 -0
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +313 -0
- package/es/qr-code/style/css.js +2 -0
- package/es/qr-code/style/index.css +106 -0
- package/es/qr-code/style/index.d.ts +2 -0
- package/es/qr-code/style/index.js +2 -0
- package/es/qr-code/style/index.scss +111 -0
- package/es/qr-code/style/token.scss +36 -0
- package/es/qr-code/types.d.ts +19 -0
- package/es/radio/index.d.ts +5 -5
- package/es/radio/radio.d.ts +2 -2
- package/es/radio/style/index.css +33 -33
- package/es/rate/index.d.ts +3 -3
- package/es/rate/rate.d.ts +1 -1
- package/es/rate/style/index.css +3 -3
- package/es/resize-box/index.d.ts +6 -6
- package/es/resize-box/resize-box.js +1 -1
- package/es/resize-box/resize-box.vue.d.ts +2 -2
- package/es/resize-box/resize-box.vue_vue_type_script_lang.js +1 -1
- package/es/resize-box/style/index.css +2 -2
- package/es/result/result.js +1 -1
- package/es/result/style/index.css +2 -2
- package/es/scrollbar/index.d.ts +6 -3
- package/es/scrollbar/scrollbar.js +2 -1
- package/es/scrollbar/scrollbar.vue.d.ts +2 -1
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +52 -2
- package/es/scrollbar/style/index.css +13 -13
- package/es/sd-vue.js +13 -12
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/secret/style/index.css +4 -4
- package/es/select/context.d.ts +1 -4
- package/es/select/hooks/use-options.d.ts +1 -4
- package/es/select/hooks/use-options.js +2 -23
- package/es/select/hooks/use-select.d.ts +1 -3
- package/es/select/hooks/use-select.js +2 -7
- package/es/select/index.d.ts +647 -474
- package/es/select/index.js +5 -13
- package/es/select/interface.d.ts +1 -1
- package/es/select/select-dropdown.js +3 -2
- package/es/select/select-dropdown.vue.d.ts +56 -54
- package/es/select/select-dropdown.vue_vue_type_script_lang.js +2 -3
- package/es/select/select.d.ts +260 -18
- package/es/select/select.js +44 -23
- package/es/select/style/index.css +14 -14
- package/es/select/utils.d.ts +1 -1
- package/es/select/utils.js +1 -1
- package/es/skeleton/line.js +1 -1
- package/es/skeleton/shape.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/style/index.css +4 -4
- package/es/slider/index.d.ts +67 -67
- package/es/slider/slider-button.js +1 -1
- package/es/slider/slider-button.vue.d.ts +25 -25
- package/es/slider/slider-dots.js +1 -1
- package/es/slider/slider-input.js +1 -1
- package/es/slider/slider-input.vue.d.ts +7 -7
- package/es/slider/slider-marks.js +1 -1
- package/es/slider/slider-ticks.js +1 -1
- package/es/slider/slider.js +1 -1
- package/es/slider/slider.vue.d.ts +33 -33
- package/es/slider/style/index.css +18 -18
- package/es/space/index.d.ts +9 -9
- package/es/space/space.d.ts +2 -2
- package/es/spin/index.d.ts +1 -0
- package/es/spin/style/index.css +9 -9
- package/es/split/split.js +1 -1
- package/es/split/split.vue_vue_type_script_lang.js +1 -1
- package/es/split/style/index.css +2 -2
- package/es/statistic/countdown.js +1 -1
- package/es/statistic/countdown.vue.d.ts +1 -1
- package/es/statistic/countdown.vue_vue_type_script_lang.js +5 -5
- package/es/statistic/index.d.ts +1 -1
- package/es/statistic/statistic.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_lang.js +2 -2
- package/es/statistic/style/index.css +4 -4
- package/es/steps/index.d.ts +4 -4
- package/es/steps/step.js +1 -1
- package/es/steps/step.vue.d.ts +1 -1
- package/es/steps/steps.js +1 -1
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/steps/style/index.css +79 -79
- package/es/style/color/colors.scss +1 -1
- package/es/style/theme/global.scss +8 -8
- package/es/style/theme/index.scss +4 -12
- package/es/style/theme/z-index.js +1 -2
- package/es/switch/style/index.css +30 -30
- package/es/switch/switch.js +1 -1
- package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
- package/es/table/index.d.ts +14 -14
- package/es/table/style/index.css +65 -65
- package/es/table/table-operation-td.d.ts +7 -7
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.d.ts +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.d.ts +1 -1
- package/es/table/table-th.js +2 -2
- package/es/table/table.d.ts +5 -5
- package/es/table/table.js +12 -14
- package/es/table/utils.js +1 -1
- package/es/tabs/index.d.ts +9 -9
- package/es/tabs/style/index.css +56 -56
- package/es/tabs/tab-pane.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_lang.js +1 -1
- package/es/tabs/tabs-nav-ink.js +1 -1
- package/es/tabs/tabs-nav.d.ts +1 -1
- package/es/tabs/tabs-tab.js +1 -1
- package/es/tabs/tabs-tab.vue.d.ts +1 -1
- package/es/tabs/tabs.d.ts +3 -3
- package/es/tag/index.d.ts +66 -29688
- package/es/tag/interface.d.ts +2 -0
- package/es/tag/style/index.css +134 -134
- package/es/tag/style/index.scss +33 -13
- package/es/tag/tag.js +2 -64
- package/es/tag/tag.vue.d.ts +53 -11936
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +368 -0
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/textarea/index.d.ts +8 -8
- package/es/textarea/style/index.css +28 -28
- package/es/textarea/textarea.js +1 -1
- package/es/textarea/textarea.vue.d.ts +3 -3
- package/es/textarea/textarea.vue_vue_type_script_lang.js +1 -1
- package/es/time-picker/hooks/use-time-list.js +1 -1
- package/es/time-picker/index.d.ts +56 -56
- package/es/time-picker/panel.js +1 -1
- package/es/time-picker/panel.vue.d.ts +6 -6
- package/es/time-picker/range-panel.d.ts +6 -6
- package/es/time-picker/range-panel.js +1 -1
- package/es/time-picker/style/index.css +11 -11
- package/es/time-picker/time-column.js +1 -1
- package/es/time-picker/time-picker.js +2 -2
- package/es/time-picker/time-picker.vue.d.ts +27 -27
- package/es/timeline/item.js +1 -1
- package/es/timeline/item.vue_vue_type_script_lang.js +1 -1
- package/es/timeline/style/index.css +11 -11
- package/es/tooltip/index.d.ts +24 -24
- package/es/tooltip/style/index.css +3 -3
- package/es/tooltip/tooltip.js +1 -1
- package/es/tooltip/tooltip.vue.d.ts +11 -11
- package/es/tooltip/tooltip.vue_vue_type_script_lang.js +1 -1
- package/es/tour/index.d.ts +664 -0
- package/es/tour/index.js +10 -0
- package/es/tour/style/css.js +1 -0
- package/es/tour/style/index.css +226 -0
- package/es/tour/style/index.d.ts +1 -0
- package/es/tour/style/index.js +1 -0
- package/es/tour/style/index.scss +218 -0
- package/es/tour/style/token.scss +27 -0
- package/es/tour/tour.js +5 -0
- package/es/tour/tour.vue.d.ts +411 -0
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +1219 -0
- package/es/tour/types.d.ts +143 -0
- package/es/transfer/index.d.ts +51 -45
- package/es/transfer/style/index.css +20 -20
- package/es/transfer/transfer-view.js +2 -3
- package/es/transfer/transfer-view.vue.d.ts +18 -15
- package/es/transfer/transfer-view.vue_vue_type_script_lang.js +1 -1
- package/es/transfer/transfer.js +1 -1
- package/es/transfer/transfer.vue.d.ts +25 -22
- package/es/tree/base-node.js +1 -1
- package/es/tree/base-node.vue.d.ts +2 -2
- package/es/tree/expand-transition.js +1 -1
- package/es/tree/node.js +1 -1
- package/es/tree/style/index.css +25 -25
- package/es/tree/transition-node-list.js +1 -1
- package/es/tree/transition-node-list.vue.d.ts +2 -2
- package/es/tree/tree.js +1 -1
- package/es/tree/tree.vue.d.ts +12 -9
- package/es/tree/tree.vue_vue_type_script_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.js +4 -7
- package/es/tree-select/style/index.css +5 -5
- package/es/tree-select/tree-select.js +2 -2
- package/es/tree-select/tree-select.vue.d.ts +21 -21
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +1 -1
- package/es/trigger/index.d.ts +9 -9
- package/es/trigger/style/index.css +5 -5
- package/es/trigger/trigger.d.ts +3 -3
- package/es/trigger/trigger.js +1 -1
- package/es/trigger/utils.js +1 -1
- package/es/typography/base.d.ts +4 -4
- package/es/typography/base.js +1 -1
- package/es/typography/edit-content.js +1 -1
- package/es/typography/edit-content.vue.d.ts +28 -28
- package/es/typography/operations.js +1 -1
- package/es/typography/operations.vue.d.ts +24 -24
- package/es/typography/style/index.css +22 -22
- package/es/typography/typography.js +1 -1
- package/es/upload/index.d.ts +6 -6
- package/es/upload/style/index.css +51 -51
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload.d.ts +2 -2
- package/es/upload/upload.js +2 -2
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +125 -107
- package/json/vetur-tags.json +39 -36
- package/json/web-types.json +181 -162
- package/package.json +19 -15
- package/es/calendar/calendar.d.ts +0 -104
- package/es/calendar/calendar.js +0 -207
- package/es/calendar/header.d.ts +0 -104
- package/es/calendar/header.js +0 -131
- package/es/calendar/hooks/useCellClassName.d.ts +0 -19
- package/es/calendar/hooks/useCellClassName.js +0 -43
- package/es/calendar/month.d.ts +0 -83
- package/es/calendar/month.js +0 -149
- package/es/calendar/week.d.ts +0 -61
- package/es/calendar/week.js +0 -45
- package/es/calendar/year.d.ts +0 -69
- package/es/calendar/year.js +0 -101
- package/es/select/optgroup.js +0 -10
- package/es/select/optgroup.vue.d.ts +0 -13
- package/es/select/optgroup.vue_vue_type_script_lang.js +0 -23
- package/es/select/option.js +0 -51
- package/es/select/option.vue.d.ts +0 -299
- package/es/select/option.vue_vue_type_script_lang.js +0 -149
- package/es/tag/tag.vue_vue_type_script_lang.js +0 -264
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
display: block;
|
|
51
51
|
width: 100%;
|
|
52
52
|
height: 2px;
|
|
53
|
-
background-color: var(--color-fill-3);
|
|
53
|
+
background-color: var(--sd-color-fill-3);
|
|
54
54
|
border-radius: 2px;
|
|
55
55
|
transform: translateY(-50%);
|
|
56
56
|
content: "";
|
|
@@ -73,34 +73,34 @@
|
|
|
73
73
|
transform: translateX(-50%);
|
|
74
74
|
}
|
|
75
75
|
.sd-slider-track.sd-slider-track-disabled::before {
|
|
76
|
-
background-color: var(--color-fill-2);
|
|
76
|
+
background-color: var(--sd-color-fill-2);
|
|
77
77
|
}
|
|
78
78
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-bar {
|
|
79
|
-
background-color: var(--color-fill-3);
|
|
79
|
+
background-color: var(--sd-color-fill-3);
|
|
80
80
|
}
|
|
81
81
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-btn {
|
|
82
82
|
cursor: not-allowed;
|
|
83
83
|
}
|
|
84
84
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-btn::after {
|
|
85
|
-
border-color: var(--color-fill-3);
|
|
85
|
+
border-color: var(--sd-color-fill-3);
|
|
86
86
|
}
|
|
87
87
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-dots .sd-slider-dot {
|
|
88
|
-
border-color: var(--color-fill-2);
|
|
88
|
+
border-color: var(--sd-color-fill-2);
|
|
89
89
|
}
|
|
90
90
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-dots .sd-slider-dot-active {
|
|
91
|
-
border-color: var(--color-fill-3);
|
|
91
|
+
border-color: var(--sd-color-fill-3);
|
|
92
92
|
}
|
|
93
93
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-ticks .sd-slider-tick {
|
|
94
|
-
background: var(--color-fill-2);
|
|
94
|
+
background: var(--sd-color-fill-2);
|
|
95
95
|
}
|
|
96
96
|
.sd-slider-track.sd-slider-track-disabled .sd-slider-ticks .sd-slider-tick-active {
|
|
97
|
-
background: var(--color-fill-3);
|
|
97
|
+
background: var(--sd-color-fill-3);
|
|
98
98
|
}
|
|
99
99
|
.sd-slider-bar {
|
|
100
100
|
position: absolute;
|
|
101
101
|
top: 50%;
|
|
102
102
|
height: 2px;
|
|
103
|
-
background-color: rgb(var(--primary-6));
|
|
103
|
+
background-color: rgb(var(--sd-primary-6));
|
|
104
104
|
border-radius: 2px;
|
|
105
105
|
transform: translateY(-50%);
|
|
106
106
|
}
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
box-sizing: border-box;
|
|
128
128
|
width: 12px;
|
|
129
129
|
height: 12px;
|
|
130
|
-
background: var(--color-bg-2);
|
|
131
|
-
border: 2px solid rgb(var(--primary-6));
|
|
130
|
+
background: var(--sd-color-bg-2);
|
|
131
|
+
border: 2px solid rgb(var(--sd-primary-6));
|
|
132
132
|
border-radius: 50%;
|
|
133
133
|
transition: all 0.3s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
134
134
|
content: "";
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
}
|
|
151
151
|
.sd-slider-marks .sd-slider-mark {
|
|
152
152
|
position: absolute;
|
|
153
|
-
color: var(--color-text-3);
|
|
153
|
+
color: var(--sd-color-text-3);
|
|
154
154
|
font-size: 14px;
|
|
155
155
|
line-height: 1;
|
|
156
156
|
transform: translateX(-50%);
|
|
@@ -182,12 +182,12 @@
|
|
|
182
182
|
box-sizing: border-box;
|
|
183
183
|
width: 8px;
|
|
184
184
|
height: 8px;
|
|
185
|
-
background-color: var(--color-bg-2);
|
|
186
|
-
border: 2px solid var(--color-fill-3);
|
|
185
|
+
background-color: var(--sd-color-bg-2);
|
|
186
|
+
border: 2px solid var(--sd-color-fill-3);
|
|
187
187
|
border-radius: 50%;
|
|
188
188
|
}
|
|
189
189
|
.sd-slider-dots .sd-slider-dot-wrapper .sd-slider-dot-active {
|
|
190
|
-
border-color: rgb(var(--primary-6));
|
|
190
|
+
border-color: rgb(var(--sd-primary-6));
|
|
191
191
|
}
|
|
192
192
|
.sd-slider-ticks .sd-slider-tick {
|
|
193
193
|
position: absolute;
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
width: 1px;
|
|
196
196
|
height: 3px;
|
|
197
197
|
margin-top: -1px;
|
|
198
|
-
background: var(--color-fill-3);
|
|
198
|
+
background: var(--sd-color-fill-3);
|
|
199
199
|
transform: translate(-50%, -100%);
|
|
200
200
|
}
|
|
201
201
|
.sd-slider-ticks .sd-slider-tick-active {
|
|
202
|
-
background: rgb(var(--primary-6));
|
|
202
|
+
background: rgb(var(--sd-primary-6));
|
|
203
203
|
}
|
|
204
204
|
.sd-slider-vertical .sd-slider-ticks .sd-slider-tick {
|
|
205
205
|
top: unset;
|
|
@@ -231,5 +231,5 @@
|
|
|
231
231
|
height: 2px;
|
|
232
232
|
/* prettier-ignore */
|
|
233
233
|
margin: 0 6px;
|
|
234
|
-
background: rgb(var(--gray-6));
|
|
234
|
+
background: rgb(var(--sd-gray-6));
|
|
235
235
|
}
|
package/es/space/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const Space: {
|
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "
|
|
14
|
+
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"]>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
wrap: {
|
|
@@ -22,9 +22,9 @@ declare const Space: {
|
|
|
22
22
|
};
|
|
23
23
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
24
24
|
fill: boolean;
|
|
25
|
-
size: number | "
|
|
26
|
-
direction: "horizontal" | "vertical";
|
|
25
|
+
size: number | "medium" | "large" | "small" | "mini" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"];
|
|
27
26
|
wrap: boolean;
|
|
27
|
+
direction: "horizontal" | "vertical";
|
|
28
28
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
29
29
|
P: {};
|
|
30
30
|
B: {};
|
|
@@ -41,7 +41,7 @@ declare const Space: {
|
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "
|
|
44
|
+
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"]>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
wrap: {
|
|
@@ -52,9 +52,9 @@ declare const Space: {
|
|
|
52
52
|
};
|
|
53
53
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
54
54
|
fill: boolean;
|
|
55
|
-
size: number | "
|
|
56
|
-
direction: "horizontal" | "vertical";
|
|
55
|
+
size: number | "medium" | "large" | "small" | "mini" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"];
|
|
57
56
|
wrap: boolean;
|
|
57
|
+
direction: "horizontal" | "vertical";
|
|
58
58
|
}>;
|
|
59
59
|
__isFragment?: never;
|
|
60
60
|
__isTeleport?: never;
|
|
@@ -68,7 +68,7 @@ declare const Space: {
|
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
70
|
size: {
|
|
71
|
-
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "
|
|
71
|
+
type: import("vue").PropType<number | "mini" | "small" | "medium" | "large" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"]>;
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
wrap: {
|
|
@@ -79,9 +79,9 @@ declare const Space: {
|
|
|
79
79
|
};
|
|
80
80
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
81
81
|
fill: boolean;
|
|
82
|
-
size: number | "
|
|
83
|
-
direction: "horizontal" | "vertical";
|
|
82
|
+
size: number | "medium" | "large" | "small" | "mini" | [number | "medium" | "large" | "small" | "mini", number | "medium" | "large" | "small" | "mini"];
|
|
84
83
|
wrap: boolean;
|
|
84
|
+
direction: "horizontal" | "vertical";
|
|
85
85
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
86
86
|
install: (app: App, options?: SDOptions) => void;
|
|
87
87
|
};
|
package/es/space/space.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
40
|
fill: boolean;
|
|
41
|
-
size: number | "
|
|
42
|
-
direction: "horizontal" | "vertical";
|
|
41
|
+
size: number | "medium" | "large" | "small" | "mini" | [SpaceSize, SpaceSize];
|
|
43
42
|
wrap: boolean;
|
|
43
|
+
direction: "horizontal" | "vertical";
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|
package/es/spin/index.d.ts
CHANGED
package/es/spin/style/index.css
CHANGED
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
left: 50%;
|
|
30
30
|
width: 8px;
|
|
31
31
|
height: 8px;
|
|
32
|
-
background-color: rgb(var(--primary-6));
|
|
33
|
-
border-radius: var(--border-radius-circle);
|
|
32
|
+
background-color: rgb(var(--sd-primary-6));
|
|
33
|
+
border-radius: var(--sd-border-radius-circle);
|
|
34
34
|
transform: translateX(-50%) scale(0);
|
|
35
35
|
animation: sd-dot-loading 2s cubic-bezier(0, 0, 1, 1) infinite forwards;
|
|
36
36
|
}
|
|
37
37
|
.sd-dot-loading-item:nth-child(2) {
|
|
38
|
-
background-color: rgb(var(--primary-5));
|
|
38
|
+
background-color: rgb(var(--sd-primary-5));
|
|
39
39
|
animation-delay: 400ms;
|
|
40
40
|
}
|
|
41
41
|
.sd-dot-loading-item:nth-child(3) {
|
|
42
|
-
background-color: rgb(var(--primary-4));
|
|
42
|
+
background-color: rgb(var(--sd-primary-4));
|
|
43
43
|
animation-delay: 800ms;
|
|
44
44
|
}
|
|
45
45
|
.sd-dot-loading-item:nth-child(4) {
|
|
46
|
-
background-color: rgb(var(--primary-4));
|
|
46
|
+
background-color: rgb(var(--sd-primary-4));
|
|
47
47
|
animation-delay: 1200ms;
|
|
48
48
|
}
|
|
49
49
|
.sd-dot-loading-item:nth-child(5) {
|
|
50
|
-
background-color: rgb(var(--primary-2));
|
|
50
|
+
background-color: rgb(var(--sd-primary-2));
|
|
51
51
|
animation-delay: 1600ms;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -168,12 +168,12 @@
|
|
|
168
168
|
text-align: center;
|
|
169
169
|
}
|
|
170
170
|
.sd-spin-icon {
|
|
171
|
-
color: rgb(var(--primary-6));
|
|
171
|
+
color: rgb(var(--sd-primary-6));
|
|
172
172
|
font-size: 20px;
|
|
173
173
|
}
|
|
174
174
|
.sd-spin-tip {
|
|
175
175
|
margin-top: 6px;
|
|
176
|
-
color: rgb(var(--primary-6));
|
|
176
|
+
color: rgb(var(--sd-primary-6));
|
|
177
177
|
font-weight: 500;
|
|
178
178
|
font-size: 14px;
|
|
179
179
|
}
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
inset: 0;
|
|
183
183
|
z-index: 11;
|
|
184
184
|
text-align: center;
|
|
185
|
-
background-color: var(--color-spin-layer-bg);
|
|
185
|
+
background-color: var(--sd-color-spin-layer-bg);
|
|
186
186
|
transition: opacity 0.1s cubic-bezier(0, 0, 1, 1);
|
|
187
187
|
user-select: none;
|
|
188
188
|
}
|
package/es/split/split.js
CHANGED
|
@@ -34,6 +34,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34
34
|
_: 3
|
|
35
35
|
}, 8, ["class"]);
|
|
36
36
|
}
|
|
37
|
-
var split_default =
|
|
37
|
+
var split_default = /*#__PURE__*/ _plugin_vue_export_helper_default(split_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
38
38
|
//#endregion
|
|
39
39
|
export { split_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
2
2
|
import { isNumber, isString } from "../_utils/is.js";
|
|
3
3
|
import { off, on } from "../_utils/dom.js";
|
|
4
|
-
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
5
5
|
import useMergeState from "../_hooks/use-merge-state.js";
|
|
6
6
|
import resize_trigger_default from "../_components/resize-trigger.js";
|
|
7
7
|
import { computed, defineComponent, nextTick, onMounted, reactive, ref, toRefs } from "vue";
|
package/es/split/style/index.css
CHANGED
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
38
38
|
height: 100%;
|
|
39
|
-
color: var(--color-text-1);
|
|
39
|
+
color: var(--sd-color-text-1);
|
|
40
40
|
font-size: 12px;
|
|
41
41
|
line-height: 1;
|
|
42
|
-
background-color: var(--color-neutral-3);
|
|
42
|
+
background-color: var(--sd-color-neutral-3);
|
|
43
43
|
}
|
|
44
44
|
.sd-split-trigger-icon {
|
|
45
45
|
display: inline-block;
|
|
@@ -11,6 +11,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11
11
|
style: normalizeStyle(_ctx.valueStyle)
|
|
12
12
|
}, toDisplayString(_ctx.displayValue), 7)], 2)], 2);
|
|
13
13
|
}
|
|
14
|
-
var countdown_default =
|
|
14
|
+
var countdown_default = /*#__PURE__*/ _plugin_vue_export_helper_default(countdown_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
15
15
|
//#endregion
|
|
16
16
|
export { countdown_default as default };
|
|
@@ -51,8 +51,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
51
51
|
}>> & Readonly<{
|
|
52
52
|
onFinish?: (() => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
value: number;
|
|
55
54
|
start: boolean;
|
|
55
|
+
value: number;
|
|
56
56
|
format: string;
|
|
57
57
|
now: number;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
2
2
|
import { getDateString } from "./utils.js";
|
|
3
3
|
import { defineComponent, onBeforeUnmount, onMounted, ref, toRefs, watch } from "vue";
|
|
4
|
-
import
|
|
4
|
+
import dayjs from "dayjs";
|
|
5
5
|
//#region components/statistic/countdown.vue?vue&type=script&lang.ts
|
|
6
6
|
var countdown_vue_vue_type_script_lang_default = defineComponent({
|
|
7
7
|
name: "Countdown",
|
|
@@ -64,13 +64,13 @@ finish: () => true },
|
|
|
64
64
|
setup(props, { emit }) {
|
|
65
65
|
const prefixCls = getPrefixCls("statistic");
|
|
66
66
|
const { start, value, now, format } = toRefs(props);
|
|
67
|
-
const displayValue = ref(getDateString(Math.max(
|
|
67
|
+
const displayValue = ref(getDateString(Math.max(dayjs(props.value).diff(dayjs(props.now), "millisecond"), 0), props.format));
|
|
68
68
|
watch([
|
|
69
69
|
value,
|
|
70
70
|
now,
|
|
71
71
|
format
|
|
72
72
|
], () => {
|
|
73
|
-
const _value = getDateString(Math.max(
|
|
73
|
+
const _value = getDateString(Math.max(dayjs(props.value).diff(dayjs(props.now), "millisecond"), 0), props.format);
|
|
74
74
|
if (_value !== displayValue.value) displayValue.value = _value;
|
|
75
75
|
});
|
|
76
76
|
const timer = ref(0);
|
|
@@ -81,9 +81,9 @@ finish: () => true },
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
const startTimer = () => {
|
|
84
|
-
if (
|
|
84
|
+
if (dayjs(props.value).valueOf() < Date.now()) return;
|
|
85
85
|
timer.value = window.setInterval(() => {
|
|
86
|
-
const _value =
|
|
86
|
+
const _value = dayjs(props.value).diff(dayjs(), "millisecond");
|
|
87
87
|
if (_value <= 0) {
|
|
88
88
|
stopTimer();
|
|
89
89
|
emit("finish");
|
package/es/statistic/index.d.ts
CHANGED
|
@@ -254,8 +254,8 @@ declare const Statistic: {
|
|
|
254
254
|
}>> & Readonly<{
|
|
255
255
|
onFinish?: (() => any) | undefined;
|
|
256
256
|
}>, {
|
|
257
|
-
value: number;
|
|
258
257
|
start: boolean;
|
|
258
|
+
value: number;
|
|
259
259
|
format: string;
|
|
260
260
|
now: number;
|
|
261
261
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -28,6 +28,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
28
|
class: normalizeClass(`${_ctx.prefixCls}-extra`)
|
|
29
29
|
}, [renderSlot(_ctx.$slots, "extra", {}, () => [createTextVNode(toDisplayString(_ctx.extra), 1)])], 2)) : createCommentVNode("", true)], 2)], 2);
|
|
30
30
|
}
|
|
31
|
-
var statistic_default =
|
|
31
|
+
var statistic_default = /*#__PURE__*/ _plugin_vue_export_helper_default(statistic_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
32
32
|
//#endregion
|
|
33
33
|
export { statistic_default as default };
|
|
@@ -2,7 +2,7 @@ import { getPrefixCls } from "../_utils/global-config.js";
|
|
|
2
2
|
import { isNumber, isUndefined } from "../_utils/is.js";
|
|
3
3
|
import { computed, defineComponent, onMounted, ref, toRefs, watch } from "vue";
|
|
4
4
|
import BTween from "b-tween";
|
|
5
|
-
import
|
|
5
|
+
import dayjs from "dayjs";
|
|
6
6
|
import NP from "number-precision";
|
|
7
7
|
//#region components/statistic/statistic.vue?vue&type=script&lang.ts
|
|
8
8
|
var statistic_vue_vue_type_script_lang_default = defineComponent({
|
|
@@ -157,7 +157,7 @@ var statistic_vue_vue_type_script_lang_default = defineComponent({
|
|
|
157
157
|
decimal: splitValue[1]
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
if (props.format) _value =
|
|
160
|
+
if (props.format) _value = dayjs(_value).format(props.format);
|
|
161
161
|
return {
|
|
162
162
|
isNumber: false,
|
|
163
163
|
value: _value
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
/********* icon hover *********/
|
|
18
18
|
.sd-statistic {
|
|
19
19
|
display: inline-block;
|
|
20
|
-
color: var(--color-text-2);
|
|
20
|
+
color: var(--sd-color-text-2);
|
|
21
21
|
line-height: 1.5715;
|
|
22
22
|
}
|
|
23
23
|
.sd-statistic-title {
|
|
24
24
|
margin-bottom: 8px;
|
|
25
|
-
color: var(--color-text-2);
|
|
25
|
+
color: var(--sd-color-text-2);
|
|
26
26
|
font-size: 14px;
|
|
27
27
|
}
|
|
28
28
|
.sd-statistic-content .sd-statistic-value {
|
|
29
|
-
color: var(--color-text-1);
|
|
29
|
+
color: var(--sd-color-text-1);
|
|
30
30
|
font-weight: 500;
|
|
31
31
|
font-size: 26px;
|
|
32
32
|
white-space: nowrap;
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
}
|
|
48
48
|
.sd-statistic-extra {
|
|
49
49
|
margin-top: 8px;
|
|
50
|
-
color: var(--color-text-2);
|
|
50
|
+
color: var(--sd-color-text-2);
|
|
51
51
|
}
|
package/es/steps/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ declare const Steps: {
|
|
|
56
56
|
type: "default" | "dot" | "arrow" | "navigation";
|
|
57
57
|
small: boolean;
|
|
58
58
|
direction: "horizontal" | "vertical";
|
|
59
|
-
status: "
|
|
59
|
+
status: "wait" | "error" | "finish" | "process";
|
|
60
60
|
current: number;
|
|
61
61
|
defaultCurrent: number;
|
|
62
62
|
lineLess: boolean;
|
|
@@ -117,7 +117,7 @@ declare const Steps: {
|
|
|
117
117
|
type: "default" | "dot" | "arrow" | "navigation";
|
|
118
118
|
small: boolean;
|
|
119
119
|
direction: "horizontal" | "vertical";
|
|
120
|
-
status: "
|
|
120
|
+
status: "wait" | "error" | "finish" | "process";
|
|
121
121
|
current: number;
|
|
122
122
|
defaultCurrent: number;
|
|
123
123
|
lineLess: boolean;
|
|
@@ -178,7 +178,7 @@ declare const Steps: {
|
|
|
178
178
|
type: "default" | "dot" | "arrow" | "navigation";
|
|
179
179
|
small: boolean;
|
|
180
180
|
direction: "horizontal" | "vertical";
|
|
181
|
-
status: "
|
|
181
|
+
status: "wait" | "error" | "finish" | "process";
|
|
182
182
|
current: number;
|
|
183
183
|
defaultCurrent: number;
|
|
184
184
|
lineLess: boolean;
|
|
@@ -204,7 +204,7 @@ declare const Steps: {
|
|
|
204
204
|
itemRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
205
205
|
showTail: import("vue").ComputedRef<boolean>;
|
|
206
206
|
stepNumber: import("vue").ComputedRef<number>;
|
|
207
|
-
computedStatus: import("vue").ComputedRef<"
|
|
207
|
+
computedStatus: import("vue").ComputedRef<"wait" | "error" | "finish" | "process">;
|
|
208
208
|
type: import("vue").ComputedRef<"default" | "dot" | "arrow" | "navigation">;
|
|
209
209
|
handleClick: (ev: Event) => void;
|
|
210
210
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
package/es/steps/step.js
CHANGED
|
@@ -33,6 +33,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33
33
|
}, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(_ctx.description), 1)])], 2)) : createCommentVNode("", true)], 2)
|
|
34
34
|
], 2);
|
|
35
35
|
}
|
|
36
|
-
var step_default =
|
|
36
|
+
var step_default = /*#__PURE__*/ _plugin_vue_export_helper_default(step_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
37
37
|
//#endregion
|
|
38
38
|
export { step_default as default };
|
package/es/steps/step.vue.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
itemRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
22
22
|
showTail: import("vue").ComputedRef<boolean>;
|
|
23
23
|
stepNumber: import("vue").ComputedRef<number>;
|
|
24
|
-
computedStatus: import("vue").ComputedRef<"
|
|
24
|
+
computedStatus: import("vue").ComputedRef<"wait" | "error" | "finish" | "process">;
|
|
25
25
|
type: import("vue").ComputedRef<"default" | "dot" | "arrow" | "navigation">;
|
|
26
26
|
handleClick: (ev: Event) => void;
|
|
27
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
package/es/steps/steps.js
CHANGED
|
@@ -5,6 +5,6 @@ import { createElementBlock, normalizeClass, openBlock, renderSlot } from "vue";
|
|
|
5
5
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
6
|
return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.cls) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
7
7
|
}
|
|
8
|
-
var steps_default =
|
|
8
|
+
var steps_default = /*#__PURE__*/ _plugin_vue_export_helper_default(steps_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
9
9
|
//#endregion
|
|
10
10
|
export { steps_default as default };
|
package/es/steps/steps.vue.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
91
91
|
type: "default" | "dot" | "arrow" | "navigation";
|
|
92
92
|
small: boolean;
|
|
93
93
|
direction: "horizontal" | "vertical";
|
|
94
|
-
status: "
|
|
94
|
+
status: "wait" | "error" | "finish" | "process";
|
|
95
95
|
current: number;
|
|
96
96
|
defaultCurrent: number;
|
|
97
97
|
lineLess: boolean;
|