@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
package/es/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { default as Button, ButtonGroup } from './button';
|
|
|
22
22
|
export type { ButtonInstance, ButtonGroupInstance, ButtonProps } from './button';
|
|
23
23
|
export { default as Card, CardGrid, CardMeta } from './card';
|
|
24
24
|
export { default as Calendar } from './calendar';
|
|
25
|
+
export type { CalendarInstance } from './calendar';
|
|
25
26
|
export type { CardGridInstance, CardInstance, CardMetaInstance } from './card';
|
|
26
27
|
export { default as Carousel, CarouselItem } from './carousel';
|
|
27
28
|
export type { CarouselArrowType, CarouselAutoPlayConfig, CarouselIndicatorPosition, CarouselIndicatorType, CarouselInstance, CarouselItemInstance, CarouselTriggerEvent, } from './carousel';
|
|
@@ -100,6 +101,8 @@ export { default as Popover } from './popover';
|
|
|
100
101
|
export type { PopoverInstance } from './popover';
|
|
101
102
|
export { default as Progress } from './progress';
|
|
102
103
|
export type { ProgressInstance } from './progress';
|
|
104
|
+
export { default as QrCode } from './qr-code';
|
|
105
|
+
export type { QrCodeInstance } from './qr-code';
|
|
103
106
|
export { default as Radio, RadioGroup } from './radio';
|
|
104
107
|
export type { RadioGroupChangeHandler, RadioGroupInstance, RadioInstance, RadioOption, RadioValue, } from './radio';
|
|
105
108
|
export { default as Rate } from './rate';
|
|
@@ -110,8 +113,8 @@ export { default as Result } from './result';
|
|
|
110
113
|
export type { ResultInstance } from './result';
|
|
111
114
|
export { default as Scrollbar } from './scrollbar';
|
|
112
115
|
export type { ScrollbarElements, ScrollbarEventListener, ScrollbarEventListenerArgs, ScrollbarEventListeners, ScrollbarExpose, ScrollbarInstance, ScrollbarOptions, ScrollbarOptionsResolved, ScrollbarPlugin, ScrollbarProps, ScrollbarReadonlyOptions, ScrollbarState, ScrollbarType, ScrollbarUpdatedEvent, } from './scrollbar';
|
|
113
|
-
export { default as Select
|
|
114
|
-
export type { FilterOption, SelectFallbackOption, SelectFieldNames, SelectInstance,
|
|
116
|
+
export { default as Select } from './select';
|
|
117
|
+
export type { FilterOption, SelectFallbackOption, SelectFieldNames, SelectInstance, SelectOption, SelectOptionData, SelectOptionGroup, SelectProps, } from './select';
|
|
115
118
|
export { default as Secret } from './secret';
|
|
116
119
|
export type { SecretInstance } from './secret';
|
|
117
120
|
export { default as Skeleton, SkeletonLine, SkeletonShape } from './skeleton';
|
|
@@ -146,6 +149,8 @@ export { default as Timeline, TimelineItem } from './timeline';
|
|
|
146
149
|
export type { DotType, LabelPositionType, LineType, ModeType, PositionType, TimelineInstance, TimelineItemInstance, } from './timeline';
|
|
147
150
|
export { default as Tooltip } from './tooltip';
|
|
148
151
|
export type { TooltipInstance } from './tooltip';
|
|
152
|
+
export { default as Tour } from './tour';
|
|
153
|
+
export type { TourAlignment, TourAllowedButton, TourConfig, TourController, TourExpose, TourInstance, TourPopover, TourProps, TourSide, TourState, TourStep, } from './tour';
|
|
149
154
|
export { default as Transfer } from './transfer';
|
|
150
155
|
export type { TransferInstance, TransferItem } from './transfer';
|
|
151
156
|
export { default as Tree } from './tree';
|
|
@@ -165,3 +170,4 @@ export type { VerificationCodeInstance } from './verification-code';
|
|
|
165
170
|
export { default as Watermark } from './watermark';
|
|
166
171
|
export type { WatermarkInstance } from './watermark';
|
|
167
172
|
export { useFormItem } from './_hooks/use-form-item';
|
|
173
|
+
export { getCssVarToken } from './_utils/global-config';
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "./_hooks/use-form-item.js";
|
|
2
|
+
import { getCssVarToken } from "./_utils/global-config.js";
|
|
2
3
|
import Affix from "./affix/index.js";
|
|
3
4
|
import Alert from "./alert/index.js";
|
|
4
5
|
import anchor_link_default from "./anchor/anchor-link.js";
|
|
@@ -9,9 +10,6 @@ import button_group_default from "./button/button-group.js";
|
|
|
9
10
|
import Button from "./button/index.js";
|
|
10
11
|
import input_search_default from "./input/input-search.js";
|
|
11
12
|
import Input from "./input/index.js";
|
|
12
|
-
import checkbox_group_default from "./checkbox/checkbox-group.js";
|
|
13
|
-
import Checkbox from "./checkbox/index.js";
|
|
14
|
-
import option_default from "./select/option.js";
|
|
15
13
|
import { addI18nMessages, getLocale, useLocale } from "./locale/index.js";
|
|
16
14
|
import Empty from "./empty/index.js";
|
|
17
15
|
import Scrollbar from "./scrollbar/index.js";
|
|
@@ -30,25 +28,26 @@ import dropdown_submenu_default from "./dropdown/dropdown-submenu.js";
|
|
|
30
28
|
import Dropdown from "./dropdown/index.js";
|
|
31
29
|
import breadcrumb_item_default from "./breadcrumb/breadcrumb-item.js";
|
|
32
30
|
import Breadcrumb from "./breadcrumb/index.js";
|
|
33
|
-
import radio_group_default from "./radio/radio-group.js";
|
|
34
|
-
import Radio from "./radio/index.js";
|
|
35
|
-
import optgroup_default from "./select/optgroup.js";
|
|
36
31
|
import Tooltip from "./tooltip/index.js";
|
|
37
32
|
import Ellipsis, { PerformantEllipsis } from "./ellipsis/index.js";
|
|
38
|
-
import Tag from "./tag/index.js";
|
|
39
|
-
import InputTag from "./input-tag/index.js";
|
|
40
|
-
import Select from "./select/index.js";
|
|
41
33
|
import Calendar from "./calendar/index.js";
|
|
42
34
|
import card_grid_default from "./card/card-grid.js";
|
|
43
35
|
import card_meta_default from "./card/card-meta.js";
|
|
44
36
|
import Card from "./card/index.js";
|
|
45
37
|
import carousel_item_default from "./carousel/carousel-item.js";
|
|
46
38
|
import Carousel from "./carousel/index.js";
|
|
39
|
+
import checkbox_group_default from "./checkbox/checkbox-group.js";
|
|
40
|
+
import Checkbox from "./checkbox/index.js";
|
|
41
|
+
import radio_group_default from "./radio/radio-group.js";
|
|
42
|
+
import Radio from "./radio/index.js";
|
|
47
43
|
import cascader_panel_default from "./cascader/cascader-panel.js";
|
|
44
|
+
import Tag from "./tag/index.js";
|
|
45
|
+
import InputTag from "./input-tag/index.js";
|
|
48
46
|
import Cascader from "./cascader/index.js";
|
|
49
47
|
import collapse_item_default from "./collapse/collapse-item.js";
|
|
50
48
|
import Collapse from "./collapse/index.js";
|
|
51
49
|
import InputNumber from "./input-number/index.js";
|
|
50
|
+
import Select from "./select/index.js";
|
|
52
51
|
import ColorPicker from "./color-picker/index.js";
|
|
53
52
|
import Comment from "./comment/index.js";
|
|
54
53
|
import ConfigProvider from "./config-provider/index.js";
|
|
@@ -109,6 +108,7 @@ import OverflowList from "./overflow-list/index.js";
|
|
|
109
108
|
import PageHeader from "./page-header/index.js";
|
|
110
109
|
import Popconfirm from "./popconfirm/index.js";
|
|
111
110
|
import Progress from "./progress/index.js";
|
|
111
|
+
import QrCode from "./qr-code/index.js";
|
|
112
112
|
import Result from "./result/index.js";
|
|
113
113
|
import Secret from "./secret/index.js";
|
|
114
114
|
import line_default from "./skeleton/line.js";
|
|
@@ -133,6 +133,7 @@ import TagGroup from "./tag-group/index.js";
|
|
|
133
133
|
import ThemeProvider from "./theme-provider/index.js";
|
|
134
134
|
import item_default$1 from "./timeline/item.js";
|
|
135
135
|
import Timeline from "./timeline/index.js";
|
|
136
|
+
import Tour from "./tour/index.js";
|
|
136
137
|
import paragraph_default from "./typography/paragraph.js";
|
|
137
138
|
import text_default from "./typography/text.js";
|
|
138
139
|
import title_default from "./typography/title.js";
|
|
@@ -140,4 +141,4 @@ import Typography from "./typography/index.js";
|
|
|
140
141
|
import Upload from "./upload/index.js";
|
|
141
142
|
import Watermark from "./watermark/index.js";
|
|
142
143
|
import SDVue from "./sd-vue.js";
|
|
143
|
-
export { A2UI_0_8, Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, Copy, countdown_default as Countdown, Cropper, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, JsonForm, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification,
|
|
144
|
+
export { A2UI_0_8, Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, Copy, countdown_default as Countdown, Cropper, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, JsonForm, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification, OverflowList, PageHeader, Pagination, PerformantEllipsis, Popconfirm, Popover, Progress, QrCode, quarter_picker_default as QuarterPicker, Radio, radio_group_default as RadioGroup, range_picker_default as RangePicker, Rate, ResizeBox, Result, grid_row_default as Row, Scrollbar, Secret, Select, Skeleton, line_default as SkeletonLine, shape_default as SkeletonShape, Slider, Space, Spin, Split, Statistic, step_default as Step, Steps, sub_menu_default as SubMenu, Switch, tab_pane_default as TabPane, Table, table_column_default as TableColumn, Tabs, Tag, TagGroup, table_tbody_default as Tbody, table_td_default as Td, Textarea, table_th_default as Th, table_thead_default as Thead, ThemeProvider, TimePicker, Timeline, item_default$1 as TimelineItem, Tooltip, Tour, table_tr_default as Tr, Transfer, Tree, TreeSelect, Trigger, Typography, paragraph_default as TypographyParagraph, text_default as TypographyText, title_default as TypographyTitle, Upload, VerificationCode, Watermark, week_picker_default as WeekPicker, year_picker_default as YearPicker, addI18nMessages, SDVue as default, defineJsonFormComponents, defineJsonFormSchemas, getCssVarToken, getLocale, useFormItem, useLocale };
|
package/es/index.scss
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
@use '@components/tree-select/style/index.scss' as *;
|
|
12
12
|
@use '@components/tree/style/index.scss' as *;
|
|
13
13
|
@use '@components/transfer/style/index.scss' as *;
|
|
14
|
+
@use '@components/tour/style/index.scss' as *;
|
|
14
15
|
@use '@components/tooltip/style/index.scss' as *;
|
|
15
16
|
@use '@components/timeline/style/index.scss' as *;
|
|
16
17
|
@use '@components/time-picker/style/index.scss' as *;
|
|
@@ -33,8 +34,9 @@
|
|
|
33
34
|
@use '@components/result/style/index.scss' as *;
|
|
34
35
|
@use '@components/resize-box/style/index.scss' as *;
|
|
35
36
|
@use '@components/rate/style/index.scss' as *;
|
|
36
|
-
@use '@components/radio/style/index.scss' as *;
|
|
37
37
|
@use '@components/progress/style/index.scss' as *;
|
|
38
|
+
@use '@components/qr-code/style/index.scss' as *;
|
|
39
|
+
@use '@components/radio/style/index.scss' as *;
|
|
38
40
|
@use '@components/popover/style/index.scss' as *;
|
|
39
41
|
@use '@components/popconfirm/style/index.scss' as *;
|
|
40
42
|
@use '@components/pagination/style/index.scss' as *;
|
package/es/input/index.d.ts
CHANGED
|
@@ -58,8 +58,8 @@ declare const Input: {
|
|
|
58
58
|
prepend: StringConstructor;
|
|
59
59
|
append: StringConstructor;
|
|
60
60
|
}>> & Readonly<{
|
|
61
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
62
61
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
62
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
63
63
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
64
64
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
65
65
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -81,9 +81,9 @@ declare const Input: {
|
|
|
81
81
|
blur: (_ev: FocusEvent) => true;
|
|
82
82
|
}, import("vue").PublicProps, {
|
|
83
83
|
type: "text" | "password";
|
|
84
|
+
disabled: boolean;
|
|
84
85
|
error: boolean;
|
|
85
86
|
readonly: boolean;
|
|
86
|
-
disabled: boolean;
|
|
87
87
|
defaultValue: string;
|
|
88
88
|
allowClear: boolean;
|
|
89
89
|
maxLength: number | {
|
|
@@ -151,8 +151,8 @@ declare const Input: {
|
|
|
151
151
|
prepend: StringConstructor;
|
|
152
152
|
append: StringConstructor;
|
|
153
153
|
}>> & Readonly<{
|
|
154
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
155
154
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
155
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
156
156
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
157
157
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
158
158
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -166,9 +166,9 @@ declare const Input: {
|
|
|
166
166
|
blur(): void;
|
|
167
167
|
}, {
|
|
168
168
|
type: "text" | "password";
|
|
169
|
+
disabled: boolean;
|
|
169
170
|
error: boolean;
|
|
170
171
|
readonly: boolean;
|
|
171
|
-
disabled: boolean;
|
|
172
172
|
defaultValue: string;
|
|
173
173
|
allowClear: boolean;
|
|
174
174
|
maxLength: number | {
|
|
@@ -233,8 +233,8 @@ declare const Input: {
|
|
|
233
233
|
prepend: StringConstructor;
|
|
234
234
|
append: StringConstructor;
|
|
235
235
|
}>> & Readonly<{
|
|
236
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
237
236
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
237
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
238
238
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
239
239
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
240
240
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -256,9 +256,9 @@ declare const Input: {
|
|
|
256
256
|
blur: (_ev: FocusEvent) => true;
|
|
257
257
|
}, string, {
|
|
258
258
|
type: "text" | "password";
|
|
259
|
+
disabled: boolean;
|
|
259
260
|
error: boolean;
|
|
260
261
|
readonly: boolean;
|
|
261
|
-
disabled: boolean;
|
|
262
262
|
defaultValue: string;
|
|
263
263
|
allowClear: boolean;
|
|
264
264
|
maxLength: number | {
|
|
@@ -636,7 +636,7 @@ declare const Input: {
|
|
|
636
636
|
default: boolean;
|
|
637
637
|
};
|
|
638
638
|
}>> & Readonly<{}>, {
|
|
639
|
-
size: "
|
|
639
|
+
size: "medium" | "large" | "small" | "mini";
|
|
640
640
|
disabled: boolean;
|
|
641
641
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
642
642
|
AInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -758,8 +758,8 @@ declare const Input: {
|
|
|
758
758
|
prepend: StringConstructor;
|
|
759
759
|
append: StringConstructor;
|
|
760
760
|
}>> & Readonly<{
|
|
761
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
762
761
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
762
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
763
763
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
764
764
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
765
765
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -767,9 +767,9 @@ declare const Input: {
|
|
|
767
767
|
onPressEnter?: ((_ev: KeyboardEvent) => any) | undefined;
|
|
768
768
|
}>, {
|
|
769
769
|
type: "text" | "password";
|
|
770
|
+
disabled: boolean;
|
|
770
771
|
error: boolean;
|
|
771
772
|
readonly: boolean;
|
|
772
|
-
disabled: boolean;
|
|
773
773
|
defaultValue: string;
|
|
774
774
|
allowClear: boolean;
|
|
775
775
|
maxLength: number | {
|
package/es/input/input-group.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.prefixCls) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
7
7
|
}
|
|
8
|
-
var input_group_default =
|
|
8
|
+
var input_group_default = /*#__PURE__*/ _plugin_vue_export_helper_default(input_group_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
9
9
|
//#endregion
|
|
10
10
|
export { input_group_default as default };
|
|
@@ -41,6 +41,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41
41
|
} : void 0
|
|
42
42
|
]), 1032, ["type"]);
|
|
43
43
|
}
|
|
44
|
-
var input_password_default =
|
|
44
|
+
var input_password_default = /*#__PURE__*/ _plugin_vue_export_helper_default(input_password_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
45
45
|
//#endregion
|
|
46
46
|
export { input_password_default as default };
|
|
@@ -310,7 +310,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
310
310
|
default: boolean;
|
|
311
311
|
};
|
|
312
312
|
}>> & Readonly<{}>, {
|
|
313
|
-
size: "
|
|
313
|
+
size: "medium" | "large" | "small" | "mini";
|
|
314
314
|
disabled: boolean;
|
|
315
315
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
316
|
AInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -432,8 +432,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
432
432
|
prepend: StringConstructor;
|
|
433
433
|
append: StringConstructor;
|
|
434
434
|
}>> & Readonly<{
|
|
435
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
436
435
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
436
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
437
437
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
438
438
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
439
439
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -441,9 +441,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
441
441
|
onPressEnter?: ((_ev: KeyboardEvent) => any) | undefined;
|
|
442
442
|
}>, {
|
|
443
443
|
type: "text" | "password";
|
|
444
|
+
disabled: boolean;
|
|
444
445
|
error: boolean;
|
|
445
446
|
readonly: boolean;
|
|
446
|
-
disabled: boolean;
|
|
447
447
|
defaultValue: string;
|
|
448
448
|
allowClear: boolean;
|
|
449
449
|
maxLength: number | {
|
package/es/input/input.d.ts
CHANGED
|
@@ -119,8 +119,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
119
|
prepend: StringConstructor;
|
|
120
120
|
append: StringConstructor;
|
|
121
121
|
}>> & Readonly<{
|
|
122
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
123
122
|
onClear?: ((_ev: MouseEvent) => any) | undefined;
|
|
123
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
124
124
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
125
125
|
onChange?: ((_value: string, _ev: Event) => any) | undefined;
|
|
126
126
|
onInput?: ((_value: string, _ev: Event) => any) | undefined;
|
|
@@ -128,9 +128,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
128
|
onPressEnter?: ((_ev: KeyboardEvent) => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
130
|
type: "text" | "password";
|
|
131
|
+
disabled: boolean;
|
|
131
132
|
error: boolean;
|
|
132
133
|
readonly: boolean;
|
|
133
|
-
disabled: boolean;
|
|
134
134
|
defaultValue: string;
|
|
135
135
|
allowClear: boolean;
|
|
136
136
|
maxLength: number | {
|
package/es/input/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isFunction, isNull, isObject, isUndefined } from "../_utils/is.js";
|
|
5
5
|
import icon_hover_default from "../_components/icon-hover.js";
|
package/es/input/style/index.css
CHANGED
|
@@ -49,33 +49,33 @@
|
|
|
49
49
|
width: 100%;
|
|
50
50
|
padding-right: 12px;
|
|
51
51
|
padding-left: 12px;
|
|
52
|
-
color: var(--color-text-1);
|
|
52
|
+
color: var(--sd-color-text-1);
|
|
53
53
|
font-size: 14px;
|
|
54
|
-
background-color: var(--color-fill-2);
|
|
54
|
+
background-color: var(--sd-color-fill-2);
|
|
55
55
|
border: 1px solid transparent;
|
|
56
|
-
border-radius: var(--border-radius-small);
|
|
56
|
+
border-radius: var(--sd-border-radius-small);
|
|
57
57
|
cursor: text;
|
|
58
58
|
transition: color 0.1s cubic-bezier(0, 0, 1, 1), border-color 0.1s cubic-bezier(0, 0, 1, 1), background-color 0.1s cubic-bezier(0, 0, 1, 1);
|
|
59
59
|
}
|
|
60
60
|
.sd-input-wrapper:hover {
|
|
61
|
-
background-color: var(--color-fill-3);
|
|
61
|
+
background-color: var(--sd-color-fill-3);
|
|
62
62
|
border-color: transparent;
|
|
63
63
|
}
|
|
64
64
|
.sd-input-wrapper:focus-within, .sd-input-wrapper.sd-input-focus {
|
|
65
65
|
z-index: 1;
|
|
66
|
-
background-color: var(--color-bg-2);
|
|
67
|
-
border-color: rgb(var(--primary-6));
|
|
68
|
-
box-shadow: 0 0 0 0 var(--color-primary-light-2);
|
|
66
|
+
background-color: var(--sd-color-bg-2);
|
|
67
|
+
border-color: rgb(var(--sd-primary-6));
|
|
68
|
+
box-shadow: 0 0 0 0 var(--sd-color-primary-light-2);
|
|
69
69
|
}
|
|
70
70
|
.sd-input-wrapper.sd-input-disabled {
|
|
71
|
-
color: var(--color-text-4);
|
|
72
|
-
background-color: var(--color-fill-2);
|
|
71
|
+
color: var(--sd-color-text-4);
|
|
72
|
+
background-color: var(--sd-color-fill-2);
|
|
73
73
|
border-color: transparent;
|
|
74
74
|
cursor: not-allowed;
|
|
75
75
|
}
|
|
76
76
|
.sd-input-wrapper.sd-input-disabled:hover {
|
|
77
|
-
color: var(--color-text-4);
|
|
78
|
-
background-color: var(--color-fill-2);
|
|
77
|
+
color: var(--sd-color-text-4);
|
|
78
|
+
background-color: var(--sd-color-fill-2);
|
|
79
79
|
border-color: transparent;
|
|
80
80
|
}
|
|
81
81
|
.sd-input-wrapper.sd-input-disabled .sd-input-prefix,
|
|
@@ -83,18 +83,18 @@
|
|
|
83
83
|
color: inherit;
|
|
84
84
|
}
|
|
85
85
|
.sd-input-wrapper.sd-input-error {
|
|
86
|
-
background-color: var(--color-danger-light-1);
|
|
86
|
+
background-color: var(--sd-color-danger-light-1);
|
|
87
87
|
border-color: transparent;
|
|
88
88
|
}
|
|
89
89
|
.sd-input-wrapper.sd-input-error:hover {
|
|
90
|
-
background-color: var(--color-danger-light-2);
|
|
90
|
+
background-color: var(--sd-color-danger-light-2);
|
|
91
91
|
border-color: transparent;
|
|
92
92
|
}
|
|
93
93
|
.sd-input-wrapper.sd-input-error:focus-within, .sd-input-wrapper.sd-input-error.sd-input-wrapper-focus {
|
|
94
94
|
z-index: 1;
|
|
95
|
-
background-color: var(--color-bg-2);
|
|
96
|
-
border-color: rgb(var(--danger-6));
|
|
97
|
-
box-shadow: 0 0 0 0 var(--color-danger-light-2);
|
|
95
|
+
background-color: var(--sd-color-bg-2);
|
|
96
|
+
border-color: rgb(var(--sd-danger-6));
|
|
97
|
+
box-shadow: 0 0 0 0 var(--sd-color-danger-light-2);
|
|
98
98
|
}
|
|
99
99
|
.sd-input-wrapper .sd-input-prefix,
|
|
100
100
|
.sd-input-wrapper .sd-input-suffix {
|
|
@@ -110,30 +110,30 @@
|
|
|
110
110
|
}
|
|
111
111
|
.sd-input-wrapper .sd-input-prefix {
|
|
112
112
|
padding-right: 12px;
|
|
113
|
-
color: var(--color-text-2);
|
|
113
|
+
color: var(--sd-color-text-2);
|
|
114
114
|
}
|
|
115
115
|
.sd-input-wrapper .sd-input-suffix {
|
|
116
116
|
padding-left: 12px;
|
|
117
|
-
color: var(--color-text-2);
|
|
117
|
+
color: var(--sd-color-text-2);
|
|
118
118
|
}
|
|
119
119
|
.sd-input-wrapper .sd-input-suffix .sd-feedback-icon {
|
|
120
120
|
display: inline-flex;
|
|
121
121
|
}
|
|
122
122
|
.sd-input-wrapper .sd-input-suffix .sd-feedback-icon-status-validating {
|
|
123
|
-
color: rgb(var(--primary-6));
|
|
123
|
+
color: rgb(var(--sd-primary-6));
|
|
124
124
|
}
|
|
125
125
|
.sd-input-wrapper .sd-input-suffix .sd-feedback-icon-status-success {
|
|
126
|
-
color: rgb(var(--success-6));
|
|
126
|
+
color: rgb(var(--sd-success-6));
|
|
127
127
|
}
|
|
128
128
|
.sd-input-wrapper .sd-input-suffix .sd-feedback-icon-status-warning {
|
|
129
|
-
color: rgb(var(--warning-6));
|
|
129
|
+
color: rgb(var(--sd-warning-6));
|
|
130
130
|
}
|
|
131
131
|
.sd-input-wrapper .sd-input-suffix .sd-feedback-icon-status-error {
|
|
132
|
-
color: rgb(var(--danger-6));
|
|
132
|
+
color: rgb(var(--sd-danger-6));
|
|
133
133
|
}
|
|
134
134
|
.sd-input-wrapper .sd-input-clear-btn {
|
|
135
135
|
align-self: center;
|
|
136
|
-
color: var(--color-text-2);
|
|
136
|
+
color: var(--sd-color-text-2);
|
|
137
137
|
font-size: 12px;
|
|
138
138
|
visibility: hidden;
|
|
139
139
|
cursor: pointer;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
visibility: visible;
|
|
147
147
|
}
|
|
148
148
|
.sd-input-wrapper:not(.sd-input-focus) .sd-input-icon-hover:hover::before {
|
|
149
|
-
background-color: var(--color-fill-4);
|
|
149
|
+
background-color: var(--sd-color-fill-4);
|
|
150
150
|
}
|
|
151
151
|
.sd-input-wrapper .sd-input {
|
|
152
152
|
width: 100%;
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
164
164
|
}
|
|
165
165
|
.sd-input-wrapper .sd-input::placeholder {
|
|
166
|
-
color: var(--color-text-3);
|
|
166
|
+
color: var(--sd-color-text-3);
|
|
167
167
|
}
|
|
168
168
|
.sd-input-wrapper .sd-input[disabled]::placeholder {
|
|
169
|
-
color: var(--color-text-4);
|
|
169
|
+
color: var(--sd-color-text-4);
|
|
170
170
|
}
|
|
171
171
|
.sd-input-wrapper .sd-input[disabled] {
|
|
172
|
-
-webkit-text-fill-color: var(--color-text-4);
|
|
172
|
+
-webkit-text-fill-color: var(--sd-color-text-4);
|
|
173
173
|
}
|
|
174
174
|
.sd-input-wrapper .sd-input.sd-input-size-mini {
|
|
175
175
|
/* prettier-ignore */
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
line-height: 1.5715;
|
|
205
205
|
}
|
|
206
206
|
.sd-input-wrapper .sd-input-word-limit {
|
|
207
|
-
color: var(--color-text-3);
|
|
207
|
+
color: var(--sd-color-text-3);
|
|
208
208
|
font-size: 12px;
|
|
209
209
|
}
|
|
210
210
|
|
|
@@ -216,12 +216,12 @@
|
|
|
216
216
|
border-radius: 0;
|
|
217
217
|
}
|
|
218
218
|
.sd-input-outer > :first-child {
|
|
219
|
-
border-top-left-radius: var(--border-radius-small);
|
|
220
|
-
border-bottom-left-radius: var(--border-radius-small);
|
|
219
|
+
border-top-left-radius: var(--sd-border-radius-small);
|
|
220
|
+
border-bottom-left-radius: var(--sd-border-radius-small);
|
|
221
221
|
}
|
|
222
222
|
.sd-input-outer > :last-child {
|
|
223
|
-
border-top-right-radius: var(--border-radius-small);
|
|
224
|
-
border-bottom-right-radius: var(--border-radius-small);
|
|
223
|
+
border-top-right-radius: var(--sd-border-radius-small);
|
|
224
|
+
border-bottom-right-radius: var(--sd-border-radius-small);
|
|
225
225
|
}
|
|
226
226
|
.sd-input-outer.sd-input-outer-size-mini .sd-input-outer {
|
|
227
227
|
font-size: 12px;
|
|
@@ -453,9 +453,9 @@
|
|
|
453
453
|
align-items: center;
|
|
454
454
|
box-sizing: border-box;
|
|
455
455
|
padding: 0 12px;
|
|
456
|
-
color: var(--color-text-1);
|
|
456
|
+
color: var(--sd-color-text-1);
|
|
457
457
|
white-space: nowrap;
|
|
458
|
-
background-color: var(--color-fill-2);
|
|
458
|
+
background-color: var(--sd-color-fill-2);
|
|
459
459
|
border: 1px solid transparent;
|
|
460
460
|
}
|
|
461
461
|
.sd-input-prepend > svg,
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.sd-input-prepend {
|
|
467
|
-
border-right: 1px solid var(--color-neutral-3);
|
|
467
|
+
border-right: 1px solid var(--sd-color-neutral-3);
|
|
468
468
|
}
|
|
469
469
|
.sd-input-prepend .sd-input {
|
|
470
470
|
width: auto;
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.sd-input-append {
|
|
498
|
-
border-left: 1px solid var(--color-neutral-3);
|
|
498
|
+
border-left: 1px solid var(--sd-color-neutral-3);
|
|
499
499
|
}
|
|
500
500
|
.sd-input-append .sd-input {
|
|
501
501
|
width: auto;
|
|
@@ -565,23 +565,23 @@
|
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
.sd-input-group > *:first-child, .sd-input-group > *:first-child .sd-input-group > *:first-child {
|
|
568
|
-
border-top-left-radius: var(--border-radius-small);
|
|
569
|
-
border-bottom-left-radius: var(--border-radius-small);
|
|
568
|
+
border-top-left-radius: var(--sd-border-radius-small);
|
|
569
|
+
border-bottom-left-radius: var(--sd-border-radius-small);
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.sd-input-group > *:first-child .sd-select-view, .sd-input-group > *:first-child .sd-input-group > *:first-child .sd-select-view {
|
|
573
|
-
border-top-left-radius: var(--border-radius-small);
|
|
574
|
-
border-bottom-left-radius: var(--border-radius-small);
|
|
573
|
+
border-top-left-radius: var(--sd-border-radius-small);
|
|
574
|
+
border-bottom-left-radius: var(--sd-border-radius-small);
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
.sd-input-group > *:last-child, .sd-input-group > *:last-child .sd-input-outer > *:last-child {
|
|
578
|
-
border-top-right-radius: var(--border-radius-small);
|
|
579
|
-
border-bottom-right-radius: var(--border-radius-small);
|
|
578
|
+
border-top-right-radius: var(--sd-border-radius-small);
|
|
579
|
+
border-bottom-right-radius: var(--sd-border-radius-small);
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
.sd-input-group > *:last-child .sd-select-view, .sd-input-group > *:last-child .sd-input-outer > *:last-child .sd-select-view {
|
|
583
|
-
border-top-right-radius: var(--border-radius-small);
|
|
584
|
-
border-bottom-right-radius: var(--border-radius-small);
|
|
583
|
+
border-top-right-radius: var(--sd-border-radius-small);
|
|
584
|
+
border-bottom-right-radius: var(--sd-border-radius-small);
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
.sd-input-group > .sd-input-wrapper:not(:last-child),
|
|
@@ -589,18 +589,18 @@
|
|
|
589
589
|
.sd-input-group > .sd-input-tag:not(:last-child),
|
|
590
590
|
.sd-input-group > .sd-select-view:not(:last-child) {
|
|
591
591
|
margin-right: -1px;
|
|
592
|
-
border-right: 1px solid var(--color-neutral-3);
|
|
592
|
+
border-right: 1px solid var(--sd-color-neutral-3);
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
.sd-input-group > .sd-input-wrapper:not(:last-child):focus-within,
|
|
596
596
|
.sd-input-group > .sd-input-outer:not(:last-child):focus-within,
|
|
597
597
|
.sd-input-group > .sd-input-tag:not(:last-child):focus-within,
|
|
598
598
|
.sd-input-group > .sd-select-view:not(:last-child):focus-within {
|
|
599
|
-
border-right-color: rgb(var(--primary-6));
|
|
599
|
+
border-right-color: rgb(var(--sd-primary-6));
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
.sd-input-group > .sd-input-wrapper.sd-input-error:not(:last-child):focus-within {
|
|
603
|
-
border-right-color: rgb(var(--danger-6));
|
|
603
|
+
border-right-color: rgb(var(--sd-danger-6));
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
/******** borderSize *******/
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
position: absolute;
|
|
643
643
|
right: 10px;
|
|
644
644
|
bottom: 6px;
|
|
645
|
-
color: var(--color-text-3);
|
|
645
|
+
color: var(--sd-color-text-3);
|
|
646
646
|
font-size: 12px;
|
|
647
647
|
user-select: none;
|
|
648
648
|
}
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
.sd-input-search .sd-input-suffix {
|
|
685
|
-
color: var(--color-text-2);
|
|
685
|
+
color: var(--sd-color-text-2);
|
|
686
686
|
font-size: 14px;
|
|
687
687
|
}
|
|
688
688
|
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
/******** 高级配置项 *******/
|
|
714
714
|
/******** 高级配置项 end *******/
|
|
715
715
|
.sd-input-wrapper.sd-input-password:not(.sd-input-disabled) .sd-input-suffix {
|
|
716
|
-
color: var(--color-text-2);
|
|
716
|
+
color: var(--sd-color-text-2);
|
|
717
717
|
font-size: 12px;
|
|
718
718
|
cursor: pointer;
|
|
719
719
|
}
|
|
@@ -69,8 +69,8 @@ declare const InputNumber: {
|
|
|
69
69
|
type: ObjectConstructor;
|
|
70
70
|
};
|
|
71
71
|
}>> & Readonly<{
|
|
72
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
73
72
|
onClear?: ((_ev: Event) => any) | undefined;
|
|
73
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
74
74
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
75
75
|
onChange?: ((_value: string | number | null | undefined, _ev: Event) => any) | undefined;
|
|
76
76
|
onInput?: ((_value: string | number | null | undefined, _inputValue: string, _ev: Event) => any) | undefined;
|
|
@@ -91,8 +91,8 @@ declare const InputNumber: {
|
|
|
91
91
|
input: (_value: string | number | null | undefined, _inputValue: string, _ev: Event) => true;
|
|
92
92
|
keydown: (_ev: KeyboardEvent) => true;
|
|
93
93
|
}, import("vue").PublicProps, {
|
|
94
|
-
error: boolean;
|
|
95
94
|
disabled: boolean;
|
|
95
|
+
error: boolean;
|
|
96
96
|
allowClear: boolean;
|
|
97
97
|
max: number;
|
|
98
98
|
mode: "embed" | "button";
|
|
@@ -170,8 +170,8 @@ declare const InputNumber: {
|
|
|
170
170
|
type: ObjectConstructor;
|
|
171
171
|
};
|
|
172
172
|
}>> & Readonly<{
|
|
173
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
174
173
|
onClear?: ((_ev: Event) => any) | undefined;
|
|
174
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
175
175
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
176
176
|
onChange?: ((_value: string | number | null | undefined, _ev: Event) => any) | undefined;
|
|
177
177
|
onInput?: ((_value: string | number | null | undefined, _inputValue: string, _ev: Event) => any) | undefined;
|
|
@@ -184,8 +184,8 @@ declare const InputNumber: {
|
|
|
184
184
|
focus(): void;
|
|
185
185
|
blur(): void;
|
|
186
186
|
}, {
|
|
187
|
-
error: boolean;
|
|
188
187
|
disabled: boolean;
|
|
188
|
+
error: boolean;
|
|
189
189
|
allowClear: boolean;
|
|
190
190
|
max: number;
|
|
191
191
|
mode: "embed" | "button";
|
|
@@ -260,8 +260,8 @@ declare const InputNumber: {
|
|
|
260
260
|
type: ObjectConstructor;
|
|
261
261
|
};
|
|
262
262
|
}>> & Readonly<{
|
|
263
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
264
263
|
onClear?: ((_ev: Event) => any) | undefined;
|
|
264
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
265
265
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
266
266
|
onChange?: ((_value: string | number | null | undefined, _ev: Event) => any) | undefined;
|
|
267
267
|
onInput?: ((_value: string | number | null | undefined, _inputValue: string, _ev: Event) => any) | undefined;
|
|
@@ -282,8 +282,8 @@ declare const InputNumber: {
|
|
|
282
282
|
input: (_value: string | number | null | undefined, _inputValue: string, _ev: Event) => true;
|
|
283
283
|
keydown: (_ev: KeyboardEvent) => true;
|
|
284
284
|
}, string, {
|
|
285
|
-
error: boolean;
|
|
286
285
|
disabled: boolean;
|
|
286
|
+
error: boolean;
|
|
287
287
|
allowClear: boolean;
|
|
288
288
|
max: number;
|
|
289
289
|
mode: "embed" | "button";
|
|
@@ -138,16 +138,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
138
|
type: ObjectConstructor;
|
|
139
139
|
};
|
|
140
140
|
}>> & Readonly<{
|
|
141
|
-
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
142
141
|
onClear?: ((_ev: Event) => any) | undefined;
|
|
142
|
+
onFocus?: ((_ev: FocusEvent) => any) | undefined;
|
|
143
143
|
onBlur?: ((_ev: FocusEvent) => any) | undefined;
|
|
144
144
|
onChange?: ((_value: InputNumberValue, _ev: Event) => any) | undefined;
|
|
145
145
|
onInput?: ((_value: InputNumberValue, _inputValue: string, _ev: Event) => any) | undefined;
|
|
146
146
|
onKeydown?: ((_ev: KeyboardEvent) => any) | undefined;
|
|
147
147
|
"onUpdate:modelValue"?: ((_value: InputNumberValue) => any) | undefined;
|
|
148
148
|
}>, {
|
|
149
|
-
error: boolean;
|
|
150
149
|
disabled: boolean;
|
|
150
|
+
error: boolean;
|
|
151
151
|
allowClear: boolean;
|
|
152
152
|
max: number;
|
|
153
153
|
mode: "embed" | "button";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isNumber, isUndefined } from "../_utils/is.js";
|
|
5
5
|
import { useAllowClear } from "../_hooks/use-allow-clear.js";
|