@sdata/web-vue 1.11.1 → 1.13.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/dist/sd.css +177 -6
- package/dist/sd.min.css +1 -1
- package/es/_components/icon-hover.vue.d.ts +1 -1
- package/es/_components/picker/input-range.vue.d.ts +1 -1
- package/es/_components/picker/input.vue.d.ts +1 -1
- package/es/_components/select-view/style/index.css +13 -6
- package/es/_components/virtual-list/virtual-list.vue.d.ts +6 -6
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +2 -2
- package/es/_hooks/use-allow-search.d.ts +10 -0
- package/es/_hooks/use-allow-search.js +31 -0
- package/es/_hooks/use-component-ref.d.ts +1 -1
- package/es/_hooks/use-dropdown-virtual-list-props.d.ts +5 -0
- package/es/_hooks/use-dropdown-virtual-list-props.js +21 -0
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/_hooks/use-trigger.d.ts +1 -1
- package/es/_utils/color.js +1 -1
- package/es/_utils/date.js +7 -1
- package/es/_utils/dom.js +1 -1
- package/es/_utils/global-config.js +1 -1
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +1 -1
- package/es/_utils/virtual-dropdown.js +1 -1
- package/es/_utils/vue-utils.js +4 -18
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
- package/es/affix/affix.vue_vue_type_script_lang.js +31 -3
- package/es/alert/alert.vue.d.ts +2 -2
- package/es/alert/alert.vue_vue_type_script_lang.js +55 -0
- package/es/alert/index.d.ts +5 -5
- package/es/anchor/anchor-link.vue_vue_type_script_lang.js +8 -0
- package/es/anchor/anchor.vue_vue_type_script_lang.js +32 -0
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/auto-complete.js +107 -3
- package/es/auto-complete/index.d.ts +3 -3
- package/es/avatar/avatar-group.js +31 -0
- package/es/avatar/avatar.vue_vue_type_script_lang.js +51 -1
- package/es/back-top/back-top.vue_vue_type_script_lang.js +16 -0
- package/es/badge/badge.js +34 -1
- package/es/breadcrumb/breadcrumb-item.js +27 -0
- package/es/breadcrumb/breadcrumb.js +39 -0
- package/es/button/button-group.vue_vue_type_script_lang.js +22 -0
- package/es/button/button.vue_vue_type_script_lang.js +58 -1
- package/es/calendar/calendar.js +47 -0
- package/es/calendar/month.js +1 -1
- package/es/calendar/year.js +1 -1
- package/es/card/card-grid.vue_vue_type_script_lang.js +6 -1
- package/es/card/card-meta.js +23 -0
- package/es/card/card.js +54 -0
- package/es/carousel/carousel.js +68 -1
- package/es/cascader/cascader-panel.js +2 -28
- package/es/cascader/cascader-panel.vue.d.ts +24 -306
- package/es/cascader/{cascader-panel.vue_vue_type_script_lang.js → cascader-panel.vue_vue_type_script_setup_true_lang.js} +92 -101
- package/es/cascader/cascader.js +2 -145
- package/es/cascader/cascader.vue.d.ts +54 -1290
- package/es/cascader/{cascader.vue_vue_type_script_lang.js → cascader.vue_vue_type_script_setup_true_lang.js} +257 -177
- package/es/cascader/index.d.ts +4 -2986
- package/es/cascader/types.d.ts +79 -0
- package/es/checkbox/checkbox-group.js +48 -0
- package/es/checkbox/checkbox.d.ts +1 -1
- package/es/checkbox/checkbox.js +35 -0
- package/es/checkbox/index.d.ts +2 -2
- package/es/collapse/collapse-item.d.ts +1 -1
- package/es/collapse/collapse-item.js +36 -0
- package/es/collapse/collapse.vue_vue_type_script_lang.js +47 -0
- package/es/collapse/index.d.ts +1 -1
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/color-picker.js +90 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/color-picker/panel.js +5 -2
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.js +47 -1
- package/es/comment/comment.vue.d.ts +2 -2
- package/es/comment/index.d.ts +3 -3
- package/es/components.d.ts +132 -127
- package/es/config-provider/config-provider.vue.d.ts +16 -0
- package/es/config-provider/config-provider.vue_vue_type_script_lang.js +78 -1
- package/es/config-provider/context.d.ts +3 -0
- package/es/config-provider/index.d.ts +24 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.js +5 -0
- package/es/copy/copy.vue.d.ts +15 -0
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +95 -0
- package/es/copy/index.d.ts +15 -0
- package/es/copy/index.js +10 -0
- package/es/copy/style/css.js +2 -0
- package/es/copy/style/index.css +25 -0
- package/es/copy/style/index.d.ts +2 -0
- package/es/copy/style/index.js +2 -0
- package/es/copy/style/index.scss +15 -0
- package/es/copy/style/token.scss +3 -0
- package/es/copy/types.d.ts +21 -0
- package/es/cropper/cropper.js +5 -0
- package/es/cropper/cropper.vue.d.ts +45 -0
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +266 -0
- package/es/cropper/index.d.ts +130 -0
- package/es/cropper/index.js +10 -0
- package/es/cropper/interface.d.ts +59 -0
- package/es/cropper/style/css.js +2 -0
- package/es/cropper/style/index.css +51 -0
- package/es/cropper/style/index.d.ts +2 -0
- package/es/cropper/style/index.js +2 -0
- package/es/cropper/style/index.scss +43 -0
- package/es/cropper/style/token.scss +8 -0
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +187 -709
- package/es/date-picker/panels/date/index.js +1 -1
- package/es/date-picker/panels/date/index.vue.d.ts +1 -1
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/footer.vue.d.ts +55 -577
- package/es/date-picker/panels/footer.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/month/index.js +1 -1
- package/es/date-picker/panels/quarter/index.js +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +1 -1
- package/es/date-picker/panels/year/index.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +264 -786
- package/es/date-picker/picker.js +1 -1
- package/es/date-picker/picker.vue.d.ts +174 -696
- package/es/date-picker/picker.vue_vue_type_script_lang.js +193 -1
- package/es/date-picker/pickers/date-picker.js +42 -0
- package/es/date-picker/pickers/month-picker.js +12 -0
- package/es/date-picker/pickers/quarter-picker.js +17 -0
- package/es/date-picker/pickers/week-picker.js +23 -0
- package/es/date-picker/pickers/year-picker.js +12 -0
- package/es/date-picker/range-picker-panel.vue.d.ts +263 -785
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +187 -709
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +120 -1
- package/es/descriptions/descriptions-item.vue_vue_type_script_lang.js +16 -0
- package/es/descriptions/descriptions.d.ts +1 -1
- package/es/descriptions/descriptions.js +65 -1
- package/es/descriptions/index.d.ts +3 -3
- package/es/divider/divider.js +24 -0
- package/es/drawer/drawer.vue.d.ts +2 -2
- package/es/drawer/drawer.vue_vue_type_script_lang.js +161 -2
- package/es/drawer/index.d.ts +5 -5
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue.d.ts +18 -18
- package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +70 -0
- package/es/dropdown/dropdown-group.vue_vue_type_script_lang.js +12 -1
- package/es/dropdown/dropdown-option.vue.d.ts +2 -2
- package/es/dropdown/dropdown-option.vue_vue_type_script_lang.js +20 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +6 -6
- package/es/dropdown/dropdown-submenu.vue.d.ts +20 -20
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +57 -0
- package/es/dropdown/dropdown.vue.d.ts +18 -18
- package/es/dropdown/dropdown.vue_vue_type_script_lang.js +55 -0
- package/es/dropdown/index.d.ts +76 -76
- package/es/ellipsis/ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +25 -2
- package/es/ellipsis/index.d.ts +96 -96
- package/es/ellipsis/performant-ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +24 -1
- package/es/empty/empty.js +18 -0
- package/es/form/form-item-label.vue.d.ts +24 -24
- package/es/form/form-item.vue.d.ts +28 -28
- package/es/form/form-item.vue_vue_type_script_lang.js +146 -3
- package/es/form/form.vue_vue_type_script_lang.js +108 -0
- package/es/form/index.d.ts +28 -28
- package/es/grid/grid-col.vue_vue_type_script_lang.js +42 -1
- package/es/grid/grid-item.vue_vue_type_script_lang.js +13 -1
- package/es/grid/grid-row.vue_vue_type_script_lang.js +21 -0
- package/es/grid/grid.vue_vue_type_script_lang.js +20 -0
- package/es/icon.js +5 -5
- package/es/image/image.js +1 -1
- package/es/image/image.vue.d.ts +26 -26
- package/es/image/image.vue_vue_type_script_lang.js +82 -0
- package/es/image/preview-action.d.ts +24 -24
- package/es/image/preview-action.js +8 -0
- package/es/image/preview-group.js +1 -1
- package/es/image/preview-group.vue.d.ts +24 -24
- package/es/image/preview-group.vue_vue_type_script_lang.js +48 -0
- package/es/image/preview-toolbar.vue.d.ts +24 -24
- package/es/image/preview-toolbar.vue_vue_type_script_lang.js +1 -0
- package/es/image/preview.vue.d.ts +24 -24
- package/es/image/preview.vue_vue_type_script_lang.js +56 -1
- package/es/index.css +177 -6
- package/es/index.d.ts +9 -1
- package/es/index.js +6 -2
- package/es/index.scss +4 -0
- package/es/input/index.d.ts +5 -5
- package/es/input/input-password.vue.d.ts +2 -2
- package/es/input/input-password.vue_vue_type_script_lang.js +13 -0
- package/es/input/input-search.js +35 -1
- package/es/input/input.d.ts +1 -1
- package/es/input/input.js +129 -1
- package/es/input-number/index.d.ts +38 -26
- package/es/input-number/input-number.d.ts +20 -11
- package/es/input-number/input-number.js +205 -23
- package/es/input-tag/input-tag.js +137 -1
- package/es/input-tag/style/index.css +13 -6
- package/es/input-tag/utils.js +1 -1
- package/es/layout/content.js +5 -0
- package/es/layout/footer.js +5 -0
- package/es/layout/header.js +5 -0
- package/es/layout/layout.vue_vue_type_script_lang.js +6 -1
- package/es/layout/sider.vue_vue_type_script_lang.js +46 -0
- package/es/link/index.d.ts +44 -564
- package/es/link/interface.d.ts +15 -0
- package/es/link/link.js +2 -17
- package/es/link/link.vue.d.ts +31 -286
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +112 -0
- package/es/link/style/index.css +6 -0
- package/es/link/style/index.scss +10 -0
- package/es/list/index.d.ts +3 -3
- package/es/list/list-item-meta.vue_vue_type_script_lang.js +23 -0
- package/es/list/list-item.js +21 -1
- package/es/list/list.d.ts +1 -1
- package/es/list/list.js +104 -2
- package/es/mention/index.d.ts +6 -6
- package/es/mention/mention.d.ts +2 -2
- package/es/mention/mention.js +87 -1
- package/es/menu/base-menu.vue.d.ts +1 -1
- package/es/menu/base-menu.vue_vue_type_script_lang.js +102 -0
- package/es/menu/item-group.vue_vue_type_script_lang.js +11 -1
- package/es/menu/item.d.ts +1 -1
- package/es/menu/item.js +13 -2
- package/es/menu/menu.d.ts +2 -2
- package/es/menu/menu.js +2 -1
- package/es/menu/sub-menu-pop.vue.d.ts +14 -14
- package/es/menu/sub-menu.js +40 -1
- package/es/message/index.js +1 -1
- package/es/message/message.vue.d.ts +1 -1
- package/es/modal/index.d.ts +5 -5
- package/es/modal/index.js +2 -2
- package/es/modal/modal.vue.d.ts +2 -2
- package/es/modal/modal.vue_vue_type_script_lang.js +193 -2
- package/es/notification/index.js +1 -1
- package/es/notification/notification.vue.d.ts +1 -1
- package/es/overflow-list/index.d.ts +3 -3
- package/es/overflow-list/overflow-list.d.ts +1 -1
- package/es/overflow-list/overflow-list.js +25 -1
- package/es/page-header/index.d.ts +2 -2
- package/es/page-header/page-header.vue.d.ts +1 -1
- package/es/page-header/page-header.vue_vue_type_script_lang.js +38 -0
- package/es/pagination/page-jumper.vue.d.ts +38 -25
- package/es/pagination/page-options.vue.d.ts +34 -34
- package/es/pagination/pagination.js +122 -0
- package/es/popconfirm/index.d.ts +24 -24
- package/es/popconfirm/popconfirm.vue.d.ts +12 -12
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +95 -1
- package/es/popover/index.d.ts +24 -24
- package/es/popover/popover.vue.d.ts +12 -12
- package/es/popover/popover.vue_vue_type_script_lang.js +62 -0
- package/es/progress/circle.vue.d.ts +3 -3
- package/es/progress/index.d.ts +23 -23
- package/es/progress/line.vue.d.ts +2 -2
- package/es/progress/line.vue_vue_type_script_lang.js +1 -1
- package/es/progress/progress.vue.d.ts +12 -12
- package/es/progress/progress.vue_vue_type_script_lang.js +48 -0
- package/es/progress/steps.vue.d.ts +2 -2
- package/es/radio/index.d.ts +2 -2
- package/es/radio/radio-group.js +53 -0
- package/es/radio/radio.d.ts +1 -1
- package/es/radio/radio.js +36 -0
- package/es/rate/rate.js +54 -0
- package/es/resize-box/resize-box.vue_vue_type_script_lang.js +47 -1
- package/es/result/result.vue_vue_type_script_lang.js +40 -0
- package/es/scrollbar/index.d.ts +6 -6
- package/es/scrollbar/scrollbar.vue.d.ts +3 -3
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +108 -2
- package/es/sd-vue.js +10 -2
- package/es/secret/index.d.ts +48 -0
- package/es/secret/index.js +10 -0
- package/es/secret/secret.js +5 -0
- package/es/secret/secret.vue.d.ts +17 -0
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +64 -0
- package/es/secret/style/css.js +2 -0
- package/es/secret/style/index.css +54 -0
- package/es/secret/style/index.d.ts +2 -0
- package/es/secret/style/index.js +2 -0
- package/es/secret/style/index.scss +48 -0
- package/es/secret/style/token.scss +9 -0
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/index.d.ts +34 -34
- package/es/select/optgroup.vue_vue_type_script_lang.js +12 -1
- package/es/select/option.vue.d.ts +4 -4
- package/es/select/option.vue_vue_type_script_lang.js +27 -0
- package/es/select/select-dropdown.vue.d.ts +7 -7
- package/es/select/select.d.ts +14 -14
- package/es/select/select.js +13 -9
- package/es/select/utils.js +1 -1
- package/es/skeleton/line.vue_vue_type_script_lang.js +16 -0
- package/es/skeleton/shape.vue_vue_type_script_lang.js +10 -0
- package/es/skeleton/skeleton.vue_vue_type_script_lang.js +8 -0
- package/es/slider/index.d.ts +120 -96
- package/es/slider/slider-button.vue.d.ts +24 -24
- package/es/slider/slider-input.vue.d.ts +36 -24
- package/es/slider/slider.vue.d.ts +60 -48
- package/es/slider/slider.vue_vue_type_script_lang.js +55 -0
- package/es/space/index.d.ts +6 -6
- package/es/space/space.d.ts +1 -1
- package/es/space/space.js +27 -0
- package/es/spin/spin.js +35 -0
- package/es/split/split.vue_vue_type_script_lang.js +62 -1
- package/es/statistic/countdown.vue_vue_type_script_lang.js +36 -1
- package/es/statistic/statistic.vue_vue_type_script_lang.js +74 -0
- package/es/steps/index.d.ts +3 -3
- package/es/steps/step.vue_vue_type_script_lang.js +36 -0
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/steps/steps.vue_vue_type_script_lang.js +47 -0
- package/es/switch/switch.vue_vue_type_script_lang.js +98 -1
- package/es/table/index.d.ts +14 -14
- package/es/table/table-column.d.ts +2 -2
- package/es/table/table-column.js +115 -0
- package/es/table/table-operation-td.d.ts +4 -4
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.js +1 -1
- package/es/table/table.d.ts +7 -7
- package/es/table/table.js +442 -3
- package/es/table/utils.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_lang.js +23 -1
- package/es/tabs/tabs-tab.vue.d.ts +1 -1
- package/es/tabs/tabs.js +104 -0
- package/es/tag/index.d.ts +29238 -75
- package/es/tag/interface.d.ts +9 -1
- package/es/tag/style/index.css +13 -6
- package/es/tag/style/index.scss +16 -4
- package/es/tag/tag.js +26 -5
- package/es/tag/tag.vue.d.ts +11690 -9
- package/es/tag/tag.vue_vue_type_script_lang.js +139 -3
- package/es/tag-group/index.d.ts +64 -0
- package/es/tag-group/index.js +10 -0
- package/es/tag-group/interface.d.ts +18 -0
- package/es/tag-group/style/css.js +2 -0
- package/es/tag-group/style/index.css +92 -0
- package/es/tag-group/style/index.d.ts +2 -0
- package/es/tag-group/style/index.js +2 -0
- package/es/tag-group/style/index.scss +108 -0
- package/es/tag-group/style/token.scss +6 -0
- package/es/tag-group/tag-group.js +5 -0
- package/es/tag-group/tag-group.vue.d.ts +46 -0
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +360 -0
- package/es/textarea/index.d.ts +2 -2
- package/es/textarea/textarea.vue.d.ts +1 -1
- package/es/textarea/textarea.vue_vue_type_script_lang.js +90 -1
- package/es/time-picker/index.d.ts +35 -35
- package/es/time-picker/panel.vue.d.ts +1 -1
- package/es/time-picker/range-panel.d.ts +1 -1
- package/es/time-picker/range-panel.js +1 -1
- package/es/time-picker/time-picker.js +1 -1
- package/es/time-picker/time-picker.vue.d.ts +17 -17
- package/es/time-picker/time-picker.vue_vue_type_script_lang.js +132 -0
- package/es/timeline/item.vue_vue_type_script_lang.js +38 -1
- package/es/timeline/timeline.js +28 -0
- package/es/tooltip/index.d.ts +24 -24
- package/es/tooltip/tooltip.vue.d.ts +12 -12
- package/es/tooltip/tooltip.vue_vue_type_script_lang.js +61 -1
- package/es/transfer/index.d.ts +27 -27
- package/es/transfer/transfer-view.vue.d.ts +12 -12
- package/es/transfer/transfer.vue.d.ts +13 -13
- package/es/transfer/transfer.vue_vue_type_script_lang.js +136 -0
- package/es/tree/base-node.vue.d.ts +2 -2
- package/es/tree/base-node.vue_vue_type_script_lang.js +7 -0
- package/es/tree/node.js +1 -1
- package/es/tree/transition-node-list.vue.d.ts +2 -2
- package/es/tree/tree.vue.d.ts +8 -8
- package/es/tree/tree.vue_vue_type_script_lang.js +287 -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 +1 -1
- package/es/tree-select/tree-select.js +1 -1
- package/es/tree-select/tree-select.vue.d.ts +17 -17
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +287 -10
- package/es/trigger/index.d.ts +12 -12
- package/es/trigger/trigger.d.ts +7 -7
- package/es/trigger/trigger.js +161 -1
- package/es/trigger/utils.js +1 -1
- package/es/typography/base.d.ts +8 -1
- package/es/typography/base.js +127 -3
- package/es/typography/edit-content.vue.d.ts +15 -15
- package/es/typography/index.d.ts +1 -1
- package/es/typography/interface.d.ts +2 -0
- package/es/typography/operations.js +30 -0
- package/es/typography/operations.vue.d.ts +24 -24
- package/es/typography/paragraph.js +8 -0
- package/es/typography/title.d.ts +1 -1
- package/es/typography/title.js +6 -1
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload.js +279 -2
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/verification-code/verification-code.js +59 -0
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/watermark.d.ts +1 -1
- package/es/watermark/watermark.js +58 -1
- package/es/web-vue.css +24 -24
- package/json/vetur-attributes.json +137 -218
- package/json/vetur-tags.json +59 -67
- package/json/web-types.json +312 -493
- package/package.json +9 -7
- package/es/_utils/clipboard.d.ts +0 -1
- package/es/_utils/clipboard.js +0 -35
- package/es/link/link.vue_vue_type_script_lang.js +0 -56
|
@@ -31,11 +31,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
31
|
type: (StringConstructor | NumberConstructor)[];
|
|
32
32
|
};
|
|
33
33
|
color: {
|
|
34
|
-
type: (
|
|
34
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
35
35
|
};
|
|
36
36
|
trackColor: StringConstructor;
|
|
37
37
|
bufferColor: {
|
|
38
|
-
type: (
|
|
38
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
39
39
|
};
|
|
40
40
|
showText: {
|
|
41
41
|
type: BooleanConstructor;
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
48
|
circleWidth: import("vue").ComputedRef<number | undefined>;
|
|
49
49
|
cls: import("vue").ComputedRef<string[]>;
|
|
50
50
|
computedStatus: import("vue").ComputedRef<"normal" | "success" | "warning" | "danger">;
|
|
51
|
-
mergedSize: import("vue").ComputedRef<"
|
|
51
|
+
mergedSize: import("vue").ComputedRef<"small" | "mini" | "medium" | "large">;
|
|
52
52
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
type: {
|
|
54
54
|
type: PropType<ProgressType>;
|
|
@@ -76,11 +76,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
76
76
|
type: (StringConstructor | NumberConstructor)[];
|
|
77
77
|
};
|
|
78
78
|
color: {
|
|
79
|
-
type: (
|
|
79
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
80
80
|
};
|
|
81
81
|
trackColor: StringConstructor;
|
|
82
82
|
bufferColor: {
|
|
83
|
-
type: (
|
|
83
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
84
84
|
};
|
|
85
85
|
showText: {
|
|
86
86
|
type: BooleanConstructor;
|
|
@@ -118,7 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
color: {
|
|
121
|
-
type: (
|
|
121
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
122
122
|
default: undefined;
|
|
123
123
|
};
|
|
124
124
|
trackColor: StringConstructor;
|
|
@@ -171,7 +171,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
171
171
|
default: string;
|
|
172
172
|
};
|
|
173
173
|
color: {
|
|
174
|
-
type: (
|
|
174
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
175
175
|
default: undefined;
|
|
176
176
|
};
|
|
177
177
|
trackColor: StringConstructor;
|
|
@@ -335,7 +335,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
335
335
|
default: undefined;
|
|
336
336
|
};
|
|
337
337
|
color: {
|
|
338
|
-
type: (
|
|
338
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
339
339
|
default: undefined;
|
|
340
340
|
};
|
|
341
341
|
trackColor: StringConstructor;
|
|
@@ -386,7 +386,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
386
386
|
default: undefined;
|
|
387
387
|
};
|
|
388
388
|
color: {
|
|
389
|
-
type: (
|
|
389
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
390
390
|
default: undefined;
|
|
391
391
|
};
|
|
392
392
|
trackColor: StringConstructor;
|
|
@@ -403,7 +403,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
403
403
|
};
|
|
404
404
|
}>> & Readonly<{}>, {
|
|
405
405
|
status: string;
|
|
406
|
-
size: "
|
|
406
|
+
size: "small" | "mini" | "medium" | "large";
|
|
407
407
|
width: number;
|
|
408
408
|
color: string | Record<string, any>;
|
|
409
409
|
showText: boolean;
|
|
@@ -665,7 +665,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
665
665
|
type: StringConstructor;
|
|
666
666
|
};
|
|
667
667
|
color: {
|
|
668
|
-
type: (
|
|
668
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
669
669
|
default: undefined;
|
|
670
670
|
};
|
|
671
671
|
trackColor: StringConstructor;
|
|
@@ -699,7 +699,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
699
699
|
type: StringConstructor;
|
|
700
700
|
};
|
|
701
701
|
color: {
|
|
702
|
-
type: (
|
|
702
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
703
703
|
default: undefined;
|
|
704
704
|
};
|
|
705
705
|
trackColor: StringConstructor;
|
|
@@ -13,32 +13,80 @@ var progress_vue_vue_type_script_lang_default = defineComponent({
|
|
|
13
13
|
ProgressSteps: steps_default
|
|
14
14
|
},
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* @zh 进度条的类型
|
|
18
|
+
* @en The type of progress bar
|
|
19
|
+
* @values 'line', 'circle'
|
|
20
|
+
*/
|
|
16
21
|
type: {
|
|
17
22
|
type: String,
|
|
18
23
|
default: "line"
|
|
19
24
|
},
|
|
25
|
+
/**
|
|
26
|
+
* @zh 进度条的大小
|
|
27
|
+
* @en The size of the progress bar
|
|
28
|
+
* @values 'mini','small','medium','large'
|
|
29
|
+
* @defaultValue 'medium'
|
|
30
|
+
*/
|
|
20
31
|
size: { type: String },
|
|
32
|
+
/**
|
|
33
|
+
* @zh 进度条当前的百分比
|
|
34
|
+
* @en The current percentage of the progress bar
|
|
35
|
+
*/
|
|
21
36
|
percent: {
|
|
22
37
|
type: Number,
|
|
23
38
|
default: 0
|
|
24
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @zh 开启步骤条模式,并设置步骤数
|
|
42
|
+
* @en Turn on the step bar mode and set the number of steps
|
|
43
|
+
*/
|
|
25
44
|
steps: {
|
|
26
45
|
type: Number,
|
|
27
46
|
default: 0
|
|
28
47
|
},
|
|
48
|
+
/**
|
|
49
|
+
* @zh 是否开启过渡动画
|
|
50
|
+
* @en Whether to turn on the transition animation
|
|
51
|
+
*/
|
|
29
52
|
animation: {
|
|
30
53
|
type: Boolean,
|
|
31
54
|
default: false
|
|
32
55
|
},
|
|
56
|
+
/**
|
|
57
|
+
* @zh 进度条的线宽
|
|
58
|
+
* @en The line width of the progress bar
|
|
59
|
+
*/
|
|
33
60
|
strokeWidth: { type: Number },
|
|
61
|
+
/**
|
|
62
|
+
* @zh 进度条的长度
|
|
63
|
+
* @en The width of the progress bar
|
|
64
|
+
*/
|
|
34
65
|
width: { type: [Number, String] },
|
|
66
|
+
/**
|
|
67
|
+
* @zh 进度条的颜色
|
|
68
|
+
* @en The color of the progress bar
|
|
69
|
+
*/
|
|
35
70
|
color: { type: [String, Object] },
|
|
71
|
+
/**
|
|
72
|
+
* @zh 进度条的轨道颜色
|
|
73
|
+
* @en The color of the progress track
|
|
74
|
+
*/
|
|
36
75
|
trackColor: String,
|
|
37
76
|
bufferColor: { type: [String, Object] },
|
|
77
|
+
/**
|
|
78
|
+
* @zh 是否显示文字
|
|
79
|
+
* @en Whether to display text
|
|
80
|
+
*/
|
|
38
81
|
showText: {
|
|
39
82
|
type: Boolean,
|
|
40
83
|
default: true
|
|
41
84
|
},
|
|
85
|
+
/**
|
|
86
|
+
* @zh 进度条状态
|
|
87
|
+
* @en Progress bar status
|
|
88
|
+
* @values 'normal', 'success', 'warning', 'danger'
|
|
89
|
+
*/
|
|
42
90
|
status: { type: String }
|
|
43
91
|
},
|
|
44
92
|
setup(props) {
|
|
@@ -14,7 +14,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
};
|
|
16
16
|
color: {
|
|
17
|
-
type: (
|
|
17
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
trackColor: StringConstructor;
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
};
|
|
50
50
|
color: {
|
|
51
|
-
type: (
|
|
51
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
54
|
trackColor: StringConstructor;
|
package/es/radio/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare const Radio: {
|
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
}>> & Readonly<{}>, {
|
|
75
|
-
size: "
|
|
75
|
+
size: "small" | "mini" | "medium" | "large";
|
|
76
76
|
disabled: boolean;
|
|
77
77
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
78
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -187,7 +187,7 @@ declare const Radio: {
|
|
|
187
187
|
default: boolean;
|
|
188
188
|
};
|
|
189
189
|
}>> & Readonly<{}>, {
|
|
190
|
-
size: "
|
|
190
|
+
size: "small" | "mini" | "medium" | "large";
|
|
191
191
|
disabled: boolean;
|
|
192
192
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
193
193
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
package/es/radio/radio-group.js
CHANGED
|
@@ -9,6 +9,11 @@ import { computed, createVNode, defineComponent, provide, reactive, ref, toRefs,
|
|
|
9
9
|
var radio_group_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
name: "RadioGroup",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @zh 绑定值
|
|
14
|
+
* @en Value
|
|
15
|
+
* @vModel
|
|
16
|
+
*/
|
|
12
17
|
modelValue: {
|
|
13
18
|
type: [
|
|
14
19
|
String,
|
|
@@ -17,6 +22,10 @@ var radio_group_default = /* @__PURE__ */ defineComponent({
|
|
|
17
22
|
],
|
|
18
23
|
default: void 0
|
|
19
24
|
},
|
|
25
|
+
/**
|
|
26
|
+
* @zh 默认值(非受控状态)
|
|
27
|
+
* @en Default value (uncontrolled state)
|
|
28
|
+
*/
|
|
20
29
|
defaultValue: {
|
|
21
30
|
type: [
|
|
22
31
|
String,
|
|
@@ -25,16 +34,40 @@ var radio_group_default = /* @__PURE__ */ defineComponent({
|
|
|
25
34
|
],
|
|
26
35
|
default: ""
|
|
27
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @zh 单选框组的类型
|
|
39
|
+
* @en Types of radio group
|
|
40
|
+
* @values 'radio', 'button'
|
|
41
|
+
*/
|
|
28
42
|
type: {
|
|
29
43
|
type: String,
|
|
30
44
|
default: "radio"
|
|
31
45
|
},
|
|
46
|
+
/**
|
|
47
|
+
* @zh 单选框组的尺寸
|
|
48
|
+
* @en The size of the radio group
|
|
49
|
+
* @values 'mini','small','medium','large'
|
|
50
|
+
*/
|
|
32
51
|
size: { type: String },
|
|
52
|
+
/**
|
|
53
|
+
* @zh 选项
|
|
54
|
+
* @en Options
|
|
55
|
+
* @version 2.27.0
|
|
56
|
+
*/
|
|
33
57
|
options: { type: Array },
|
|
58
|
+
/**
|
|
59
|
+
* @zh 单选框组的方向
|
|
60
|
+
* @en The direction of the radio group
|
|
61
|
+
* @values 'horizontal', 'vertical'
|
|
62
|
+
*/
|
|
34
63
|
direction: {
|
|
35
64
|
type: String,
|
|
36
65
|
default: "horizontal"
|
|
37
66
|
},
|
|
67
|
+
/**
|
|
68
|
+
* @zh 是否禁用
|
|
69
|
+
* @en Whether to disable
|
|
70
|
+
*/
|
|
38
71
|
disabled: {
|
|
39
72
|
type: Boolean,
|
|
40
73
|
default: false
|
|
@@ -42,8 +75,28 @@ var radio_group_default = /* @__PURE__ */ defineComponent({
|
|
|
42
75
|
},
|
|
43
76
|
emits: {
|
|
44
77
|
"update:modelValue": (_value) => true,
|
|
78
|
+
/**
|
|
79
|
+
* @zh 值改变时触发
|
|
80
|
+
* @en Trigger when the value changes
|
|
81
|
+
* @property { string | number | boolean } value
|
|
82
|
+
*/
|
|
45
83
|
"change": (_value, _ev) => true
|
|
46
84
|
},
|
|
85
|
+
/**
|
|
86
|
+
* @zh radio 文案内容
|
|
87
|
+
* @en radio label content
|
|
88
|
+
* @slot label
|
|
89
|
+
* @binding {RadioOption} data
|
|
90
|
+
* @version 2.27.0
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @zh 自定义单选框
|
|
94
|
+
* @en Custom radio
|
|
95
|
+
* @slot radio
|
|
96
|
+
* @binding {boolean} checked
|
|
97
|
+
* @binding {boolean} disabled
|
|
98
|
+
* @version 2.27.0
|
|
99
|
+
*/
|
|
47
100
|
setup(props, { emit, slots }) {
|
|
48
101
|
const prefixCls = getPrefixCls("radio-group");
|
|
49
102
|
const { size, type, disabled, modelValue } = toRefs(props);
|
package/es/radio/radio.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
91
|
default: boolean;
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{}>, {
|
|
94
|
-
size: "
|
|
94
|
+
size: "small" | "mini" | "medium" | "large";
|
|
95
95
|
disabled: boolean;
|
|
96
96
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
97
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/radio/radio.js
CHANGED
|
@@ -9,6 +9,11 @@ var radio_default = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
name: "Radio",
|
|
10
10
|
components: { IconHover: icon_hover_default },
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @zh 绑定值
|
|
14
|
+
* @en Value
|
|
15
|
+
* @vModel
|
|
16
|
+
*/
|
|
12
17
|
modelValue: {
|
|
13
18
|
type: [
|
|
14
19
|
String,
|
|
@@ -17,10 +22,18 @@ var radio_default = /* @__PURE__ */ defineComponent({
|
|
|
17
22
|
],
|
|
18
23
|
default: void 0
|
|
19
24
|
},
|
|
25
|
+
/**
|
|
26
|
+
* @zh 默认是否选中(非受控状态)
|
|
27
|
+
* @en Whether checked by default (uncontrolled state)
|
|
28
|
+
*/
|
|
20
29
|
defaultChecked: {
|
|
21
30
|
type: Boolean,
|
|
22
31
|
default: false
|
|
23
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @zh 选项的 `value`
|
|
35
|
+
* @en The `value` of the option
|
|
36
|
+
*/
|
|
24
37
|
value: {
|
|
25
38
|
type: [
|
|
26
39
|
String,
|
|
@@ -29,10 +42,19 @@ var radio_default = /* @__PURE__ */ defineComponent({
|
|
|
29
42
|
],
|
|
30
43
|
default: true
|
|
31
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @zh 单选的类型
|
|
47
|
+
* @en Radio type
|
|
48
|
+
* @values 'radio', 'button'
|
|
49
|
+
*/
|
|
32
50
|
type: {
|
|
33
51
|
type: String,
|
|
34
52
|
default: "radio"
|
|
35
53
|
},
|
|
54
|
+
/**
|
|
55
|
+
* @zh 是否禁用
|
|
56
|
+
* @en Whether to disable
|
|
57
|
+
*/
|
|
36
58
|
disabled: {
|
|
37
59
|
type: Boolean,
|
|
38
60
|
default: false
|
|
@@ -44,8 +66,22 @@ var radio_default = /* @__PURE__ */ defineComponent({
|
|
|
44
66
|
},
|
|
45
67
|
emits: {
|
|
46
68
|
"update:modelValue": (_value) => true,
|
|
69
|
+
/**
|
|
70
|
+
* @zh 值改变时触发
|
|
71
|
+
* @en Trigger when the value changes
|
|
72
|
+
* @param { string | number | boolean } value
|
|
73
|
+
* @param {Event} ev
|
|
74
|
+
*/
|
|
47
75
|
"change": (_value, _ev) => true
|
|
48
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* @zh 自定义单选框
|
|
79
|
+
* @en Custom radio
|
|
80
|
+
* @slot radio
|
|
81
|
+
* @binding {boolean} checked
|
|
82
|
+
* @binding {boolean} disabled
|
|
83
|
+
* @version 2.18.0
|
|
84
|
+
*/
|
|
49
85
|
setup(props, { emit, slots }) {
|
|
50
86
|
const prefixCls = getPrefixCls("radio");
|
|
51
87
|
const { modelValue } = toRefs(props);
|
package/es/rate/rate.js
CHANGED
|
@@ -12,45 +12,99 @@ import NP from "number-precision";
|
|
|
12
12
|
var rate_default = /* @__PURE__ */ defineComponent({
|
|
13
13
|
name: "Rate",
|
|
14
14
|
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @zh 评分的总数
|
|
17
|
+
* @en Total number of rate
|
|
18
|
+
*/
|
|
15
19
|
count: {
|
|
16
20
|
type: Number,
|
|
17
21
|
default: 5
|
|
18
22
|
},
|
|
23
|
+
/**
|
|
24
|
+
* @zh 绑定值
|
|
25
|
+
* @en Value
|
|
26
|
+
* @vModel
|
|
27
|
+
*/
|
|
19
28
|
modelValue: {
|
|
20
29
|
type: Number,
|
|
21
30
|
default: void 0
|
|
22
31
|
},
|
|
32
|
+
/**
|
|
33
|
+
* @zh 默认值
|
|
34
|
+
* @en Default Value
|
|
35
|
+
*/
|
|
23
36
|
defaultValue: {
|
|
24
37
|
type: Number,
|
|
25
38
|
default: 0
|
|
26
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @zh 是否允许半选
|
|
42
|
+
* @en Whether to allow half selection
|
|
43
|
+
*/
|
|
27
44
|
allowHalf: {
|
|
28
45
|
type: Boolean,
|
|
29
46
|
default: false
|
|
30
47
|
},
|
|
48
|
+
/**
|
|
49
|
+
* @zh 是否允许清除
|
|
50
|
+
* @en Whether to allow clear
|
|
51
|
+
*/
|
|
31
52
|
allowClear: {
|
|
32
53
|
type: Boolean,
|
|
33
54
|
default: false
|
|
34
55
|
},
|
|
56
|
+
/**
|
|
57
|
+
* @zh 是否开启笑脸分级
|
|
58
|
+
* @en Whether to enable smile grading
|
|
59
|
+
*/
|
|
35
60
|
grading: {
|
|
36
61
|
type: Boolean,
|
|
37
62
|
default: false
|
|
38
63
|
},
|
|
64
|
+
/**
|
|
65
|
+
* @zh 是否为只读状态
|
|
66
|
+
* @en Whether it is readonly
|
|
67
|
+
*/
|
|
39
68
|
readonly: {
|
|
40
69
|
type: Boolean,
|
|
41
70
|
default: false
|
|
42
71
|
},
|
|
72
|
+
/**
|
|
73
|
+
* @zh 是否禁用
|
|
74
|
+
* @en Whether to disable
|
|
75
|
+
*/
|
|
43
76
|
disabled: {
|
|
44
77
|
type: Boolean,
|
|
45
78
|
default: false
|
|
46
79
|
},
|
|
80
|
+
/**
|
|
81
|
+
* @zh 颜色
|
|
82
|
+
* @en Color
|
|
83
|
+
* @version 2.18.0
|
|
84
|
+
*/
|
|
47
85
|
color: { type: [String, Object] }
|
|
48
86
|
},
|
|
49
87
|
emits: {
|
|
50
88
|
"update:modelValue": (_value) => true,
|
|
89
|
+
/**
|
|
90
|
+
* @zh 值改变时触发
|
|
91
|
+
* @en Trigger when the value changes
|
|
92
|
+
* @property {number} value
|
|
93
|
+
*/
|
|
51
94
|
"change": (_value) => true,
|
|
95
|
+
/**
|
|
96
|
+
* @zh 鼠标移动到数值上时触发
|
|
97
|
+
* @en Triggered when the mouse moves over the value
|
|
98
|
+
* @property {number} value
|
|
99
|
+
*/
|
|
52
100
|
"hoverChange": (_value) => true
|
|
53
101
|
},
|
|
102
|
+
/**
|
|
103
|
+
* @zh 符号
|
|
104
|
+
* @en Character
|
|
105
|
+
* @slot character
|
|
106
|
+
* @binding {number} index
|
|
107
|
+
*/
|
|
54
108
|
setup(props, { emit, slots }) {
|
|
55
109
|
const { modelValue, allowClear } = toRefs(props);
|
|
56
110
|
const prefixCls = getPrefixCls("rate");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNumber } from "../_utils/is.js";
|
|
4
4
|
import { off, on } from "../_utils/dom.js";
|
|
@@ -29,12 +29,30 @@ var resize_box_vue_vue_type_script_lang_default = defineComponent({
|
|
|
29
29
|
components: { ResizeTrigger: resize_trigger_default },
|
|
30
30
|
inheritAttrs: false,
|
|
31
31
|
props: {
|
|
32
|
+
/**
|
|
33
|
+
* @zh 宽度
|
|
34
|
+
* @en Width
|
|
35
|
+
* @vModel
|
|
36
|
+
*/
|
|
32
37
|
width: { type: Number },
|
|
38
|
+
/**
|
|
39
|
+
* @zh 高度
|
|
40
|
+
* @en Height
|
|
41
|
+
* @vModel
|
|
42
|
+
*/
|
|
33
43
|
height: { type: Number },
|
|
44
|
+
/**
|
|
45
|
+
* @zh 伸缩框的 html 标签
|
|
46
|
+
* @en The html tag of the telescopic box
|
|
47
|
+
*/
|
|
34
48
|
component: {
|
|
35
49
|
type: String,
|
|
36
50
|
default: "div"
|
|
37
51
|
},
|
|
52
|
+
/**
|
|
53
|
+
* @zh 可以进行伸缩的边,有上、下、左、右可以使用
|
|
54
|
+
* @en Can be stretched side, there are up, down, left and right can be used
|
|
55
|
+
* */
|
|
38
56
|
directions: {
|
|
39
57
|
type: Array,
|
|
40
58
|
default: () => ["right"]
|
|
@@ -43,10 +61,38 @@ var resize_box_vue_vue_type_script_lang_default = defineComponent({
|
|
|
43
61
|
emits: {
|
|
44
62
|
"update:width": (_width) => true,
|
|
45
63
|
"update:height": (_height) => true,
|
|
64
|
+
/**
|
|
65
|
+
* @zh 拖拽开始时触发
|
|
66
|
+
* @en Triggered when dragging starts
|
|
67
|
+
* @param {MouseEvent} ev
|
|
68
|
+
*/
|
|
46
69
|
"movingStart": (_ev) => true,
|
|
70
|
+
/**
|
|
71
|
+
* @zh 拖拽时触发
|
|
72
|
+
* @en Triggered when dragging
|
|
73
|
+
* @param {{ width: number; height: number; }} size
|
|
74
|
+
* @param {MouseEvent} ev
|
|
75
|
+
*/
|
|
47
76
|
"moving": (_size, _ev) => true,
|
|
77
|
+
/**
|
|
78
|
+
* @zh 拖拽结束时触发
|
|
79
|
+
* @en Triggered when the drag ends
|
|
80
|
+
* @param {MouseEvent} ev
|
|
81
|
+
*/
|
|
48
82
|
"movingEnd": (_ev) => true
|
|
49
83
|
},
|
|
84
|
+
/**
|
|
85
|
+
* @zh 伸缩杆的内容
|
|
86
|
+
* @en The contents of the resize pole
|
|
87
|
+
* @slot resize-trigger
|
|
88
|
+
* @binding {'left' | 'right' | 'top' | 'bottom'} direction
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* @zh 伸缩杆的图标
|
|
92
|
+
* @en Resize pole icon
|
|
93
|
+
* @slot resize-trigger-icon
|
|
94
|
+
* @binding {'left' | 'right' | 'top' | 'bottom'} direction
|
|
95
|
+
*/
|
|
50
96
|
setup(props, { emit }) {
|
|
51
97
|
const { height: propHeight, width: propWidth, directions } = toRefs(props);
|
|
52
98
|
const [width, setWidth] = useMergeState(null, reactive({ value: propWidth }));
|
|
@@ -30,6 +30,11 @@ var result_vue_vue_type_script_lang_default = defineComponent({
|
|
|
30
30
|
ResultServerError: _500_default
|
|
31
31
|
},
|
|
32
32
|
props: {
|
|
33
|
+
/**
|
|
34
|
+
* @zh 结果页显示的状态
|
|
35
|
+
* @en The status displayed on the result page
|
|
36
|
+
* @values 'info','success','warning','error','403','404','500', null
|
|
37
|
+
*/
|
|
33
38
|
status: {
|
|
34
39
|
type: String,
|
|
35
40
|
default: "info",
|
|
@@ -37,9 +42,44 @@ var result_vue_vue_type_script_lang_default = defineComponent({
|
|
|
37
42
|
return RESULT_STATUS.includes(value);
|
|
38
43
|
}
|
|
39
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @zh 标题内容
|
|
47
|
+
* @en Title
|
|
48
|
+
*/
|
|
40
49
|
title: String,
|
|
50
|
+
/**
|
|
51
|
+
* @zh 子标题内容
|
|
52
|
+
* @en Subtitle
|
|
53
|
+
*/
|
|
41
54
|
subtitle: String
|
|
42
55
|
},
|
|
56
|
+
/**
|
|
57
|
+
* @zh 图标
|
|
58
|
+
* @en Icon
|
|
59
|
+
* @slot icon
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* @zh 标题
|
|
63
|
+
* @en Title
|
|
64
|
+
* @slot title
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* @zh 副标题
|
|
68
|
+
* @en Subtitle
|
|
69
|
+
* @slot subtitle
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* @zh 操作区
|
|
73
|
+
* @en Extra
|
|
74
|
+
* @slot extra
|
|
75
|
+
* @version 2.8.0
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* @zh 默认插槽
|
|
79
|
+
* @en Default
|
|
80
|
+
* @slot default
|
|
81
|
+
* @version 2.8.0
|
|
82
|
+
*/
|
|
43
83
|
setup() {
|
|
44
84
|
return { prefixCls: getPrefixCls("result") };
|
|
45
85
|
}
|
package/es/scrollbar/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const Scrollbar: {
|
|
|
8
8
|
type: import("vue").PropType<"track" | "embed">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
-
outerClass: (
|
|
11
|
+
outerClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
12
12
|
outerStyle: {
|
|
13
13
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
14
14
|
};
|
|
@@ -135,9 +135,9 @@ declare const Scrollbar: {
|
|
|
135
135
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
136
136
|
scroll: (_ev: Event) => true;
|
|
137
137
|
}, import("vue").PublicProps, {
|
|
138
|
-
type: "embed" | "track";
|
|
139
138
|
paddingAbsolute: boolean | undefined;
|
|
140
139
|
showNativeOverlaidScrollbars: boolean | undefined;
|
|
140
|
+
type: "track" | "embed";
|
|
141
141
|
hide: boolean;
|
|
142
142
|
disableHorizontal: boolean;
|
|
143
143
|
disableVertical: boolean;
|
|
@@ -153,7 +153,7 @@ declare const Scrollbar: {
|
|
|
153
153
|
type: import("vue").PropType<"track" | "embed">;
|
|
154
154
|
default: string;
|
|
155
155
|
};
|
|
156
|
-
outerClass: (
|
|
156
|
+
outerClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
157
157
|
outerStyle: {
|
|
158
158
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
159
159
|
};
|
|
@@ -278,9 +278,9 @@ declare const Scrollbar: {
|
|
|
278
278
|
scrollTop(top: number): void;
|
|
279
279
|
scrollLeft(left: number): void;
|
|
280
280
|
}, {
|
|
281
|
-
type: "embed" | "track";
|
|
282
281
|
paddingAbsolute: boolean | undefined;
|
|
283
282
|
showNativeOverlaidScrollbars: boolean | undefined;
|
|
283
|
+
type: "track" | "embed";
|
|
284
284
|
hide: boolean;
|
|
285
285
|
disableHorizontal: boolean;
|
|
286
286
|
disableVertical: boolean;
|
|
@@ -293,7 +293,7 @@ declare const Scrollbar: {
|
|
|
293
293
|
type: import("vue").PropType<"track" | "embed">;
|
|
294
294
|
default: string;
|
|
295
295
|
};
|
|
296
|
-
outerClass: (
|
|
296
|
+
outerClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
297
297
|
outerStyle: {
|
|
298
298
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
299
299
|
};
|
|
@@ -420,9 +420,9 @@ declare const Scrollbar: {
|
|
|
420
420
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
421
421
|
scroll: (_ev: Event) => true;
|
|
422
422
|
}, string, {
|
|
423
|
-
type: "embed" | "track";
|
|
424
423
|
paddingAbsolute: boolean | undefined;
|
|
425
424
|
showNativeOverlaidScrollbars: boolean | undefined;
|
|
425
|
+
type: "track" | "embed";
|
|
426
426
|
hide: boolean;
|
|
427
427
|
disableHorizontal: boolean;
|
|
428
428
|
disableVertical: boolean;
|