@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
package/es/link/link.vue.d.ts
CHANGED
|
@@ -1,291 +1,36 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}>, {
|
|
19
|
-
cls: import("vue").ComputedRef<(string | {
|
|
20
|
-
[x: string]: boolean;
|
|
21
|
-
})[]>;
|
|
22
|
-
prefixCls: string;
|
|
23
|
-
showIcon: import("vue").ComputedRef<boolean>;
|
|
24
|
-
handleClick: (ev: MouseEvent) => void;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
click: (_ev: MouseEvent) => true;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
href: StringConstructor;
|
|
29
|
-
status: {
|
|
30
|
-
type: PropType<Status>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
hoverable: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
icon: BooleanConstructor;
|
|
38
|
-
loading: BooleanConstructor;
|
|
39
|
-
disabled: BooleanConstructor;
|
|
40
|
-
}>> & Readonly<{
|
|
41
|
-
onClick?: ((_ev: MouseEvent) => any) | undefined;
|
|
1
|
+
import type { LinkProps } from './interface';
|
|
2
|
+
declare var __VLS_12: {}, __VLS_19: {}, __VLS_32: {}, __VLS_35: {}, __VLS_37: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
icon?: (props: typeof __VLS_12) => any;
|
|
5
|
+
} & {
|
|
6
|
+
icon?: (props: typeof __VLS_19) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_32) => any;
|
|
9
|
+
} & {
|
|
10
|
+
tooltip?: (props: typeof __VLS_35) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_37) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: (ev: MouseEvent) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{
|
|
17
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
42
18
|
}>, {
|
|
43
|
-
status: "
|
|
19
|
+
status: import("..").Status;
|
|
44
20
|
disabled: boolean;
|
|
45
21
|
loading: boolean;
|
|
46
22
|
icon: boolean;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
validator: (value: any) => boolean;
|
|
62
|
-
};
|
|
63
|
-
strokeLinejoin: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
validator: (value: any) => boolean;
|
|
67
|
-
};
|
|
68
|
-
rotate: NumberConstructor;
|
|
69
|
-
spin: BooleanConstructor;
|
|
70
|
-
}>> & Readonly<{
|
|
71
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
cls: import("vue").ComputedRef<(string | {
|
|
74
|
-
[x: string]: boolean;
|
|
75
|
-
})[]>;
|
|
76
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
77
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
78
|
-
onClick: (ev: MouseEvent) => void;
|
|
79
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
-
click: (ev: MouseEvent) => true;
|
|
81
|
-
}, import("vue").PublicProps, {
|
|
82
|
-
spin: boolean;
|
|
83
|
-
strokeWidth: number;
|
|
84
|
-
strokeLinecap: string;
|
|
85
|
-
strokeLinejoin: string;
|
|
86
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
87
|
-
P: {};
|
|
88
|
-
B: {};
|
|
89
|
-
D: {};
|
|
90
|
-
C: {};
|
|
91
|
-
M: {};
|
|
92
|
-
Defaults: {};
|
|
93
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
-
size: {
|
|
95
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
96
|
-
};
|
|
97
|
-
strokeWidth: {
|
|
98
|
-
type: NumberConstructor;
|
|
99
|
-
default: number;
|
|
100
|
-
};
|
|
101
|
-
strokeLinecap: {
|
|
102
|
-
type: StringConstructor;
|
|
103
|
-
default: string;
|
|
104
|
-
validator: (value: any) => boolean;
|
|
105
|
-
};
|
|
106
|
-
strokeLinejoin: {
|
|
107
|
-
type: StringConstructor;
|
|
108
|
-
default: string;
|
|
109
|
-
validator: (value: any) => boolean;
|
|
110
|
-
};
|
|
111
|
-
rotate: NumberConstructor;
|
|
112
|
-
spin: BooleanConstructor;
|
|
113
|
-
}>> & Readonly<{
|
|
114
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
115
|
-
}>, {
|
|
116
|
-
cls: import("vue").ComputedRef<(string | {
|
|
117
|
-
[x: string]: boolean;
|
|
118
|
-
})[]>;
|
|
119
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
120
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
121
|
-
onClick: (ev: MouseEvent) => void;
|
|
122
|
-
}, {}, {}, {}, {
|
|
123
|
-
spin: boolean;
|
|
124
|
-
strokeWidth: number;
|
|
125
|
-
strokeLinecap: string;
|
|
126
|
-
strokeLinejoin: string;
|
|
127
|
-
}>;
|
|
128
|
-
__isFragment?: never;
|
|
129
|
-
__isTeleport?: never;
|
|
130
|
-
__isSuspense?: never;
|
|
131
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
132
|
-
size: {
|
|
133
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
134
|
-
};
|
|
135
|
-
strokeWidth: {
|
|
136
|
-
type: NumberConstructor;
|
|
137
|
-
default: number;
|
|
138
|
-
};
|
|
139
|
-
strokeLinecap: {
|
|
140
|
-
type: StringConstructor;
|
|
141
|
-
default: string;
|
|
142
|
-
validator: (value: any) => boolean;
|
|
143
|
-
};
|
|
144
|
-
strokeLinejoin: {
|
|
145
|
-
type: StringConstructor;
|
|
146
|
-
default: string;
|
|
147
|
-
validator: (value: any) => boolean;
|
|
148
|
-
};
|
|
149
|
-
rotate: NumberConstructor;
|
|
150
|
-
spin: BooleanConstructor;
|
|
151
|
-
}>> & Readonly<{
|
|
152
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
153
|
-
}>, {
|
|
154
|
-
cls: import("vue").ComputedRef<(string | {
|
|
155
|
-
[x: string]: boolean;
|
|
156
|
-
})[]>;
|
|
157
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
158
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
159
|
-
onClick: (ev: MouseEvent) => void;
|
|
160
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
161
|
-
click: (ev: MouseEvent) => true;
|
|
162
|
-
}, string, {
|
|
163
|
-
spin: boolean;
|
|
164
|
-
strokeWidth: number;
|
|
165
|
-
strokeLinecap: string;
|
|
166
|
-
strokeLinejoin: string;
|
|
167
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
168
|
-
install: (app: import("vue").App, options?: import("../_utils/types").SDIconOptions) => void;
|
|
169
|
-
};
|
|
170
|
-
IconLoading: {
|
|
171
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
172
|
-
size: {
|
|
173
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
174
|
-
};
|
|
175
|
-
strokeWidth: {
|
|
176
|
-
type: NumberConstructor;
|
|
177
|
-
default: number;
|
|
178
|
-
};
|
|
179
|
-
strokeLinecap: {
|
|
180
|
-
type: StringConstructor;
|
|
181
|
-
default: string;
|
|
182
|
-
validator: (value: any) => boolean;
|
|
183
|
-
};
|
|
184
|
-
strokeLinejoin: {
|
|
185
|
-
type: StringConstructor;
|
|
186
|
-
default: string;
|
|
187
|
-
validator: (value: any) => boolean;
|
|
188
|
-
};
|
|
189
|
-
rotate: NumberConstructor;
|
|
190
|
-
spin: BooleanConstructor;
|
|
191
|
-
}>> & Readonly<{
|
|
192
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
193
|
-
}>, {
|
|
194
|
-
cls: import("vue").ComputedRef<(string | {
|
|
195
|
-
[x: string]: boolean;
|
|
196
|
-
})[]>;
|
|
197
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
198
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
199
|
-
onClick: (ev: MouseEvent) => void;
|
|
200
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
201
|
-
click: (ev: MouseEvent) => true;
|
|
202
|
-
}, import("vue").PublicProps, {
|
|
203
|
-
spin: boolean;
|
|
204
|
-
strokeWidth: number;
|
|
205
|
-
strokeLinecap: string;
|
|
206
|
-
strokeLinejoin: string;
|
|
207
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
208
|
-
P: {};
|
|
209
|
-
B: {};
|
|
210
|
-
D: {};
|
|
211
|
-
C: {};
|
|
212
|
-
M: {};
|
|
213
|
-
Defaults: {};
|
|
214
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
215
|
-
size: {
|
|
216
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
217
|
-
};
|
|
218
|
-
strokeWidth: {
|
|
219
|
-
type: NumberConstructor;
|
|
220
|
-
default: number;
|
|
221
|
-
};
|
|
222
|
-
strokeLinecap: {
|
|
223
|
-
type: StringConstructor;
|
|
224
|
-
default: string;
|
|
225
|
-
validator: (value: any) => boolean;
|
|
226
|
-
};
|
|
227
|
-
strokeLinejoin: {
|
|
228
|
-
type: StringConstructor;
|
|
229
|
-
default: string;
|
|
230
|
-
validator: (value: any) => boolean;
|
|
231
|
-
};
|
|
232
|
-
rotate: NumberConstructor;
|
|
233
|
-
spin: BooleanConstructor;
|
|
234
|
-
}>> & Readonly<{
|
|
235
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
236
|
-
}>, {
|
|
237
|
-
cls: import("vue").ComputedRef<(string | {
|
|
238
|
-
[x: string]: boolean;
|
|
239
|
-
})[]>;
|
|
240
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
241
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
242
|
-
onClick: (ev: MouseEvent) => void;
|
|
243
|
-
}, {}, {}, {}, {
|
|
244
|
-
spin: boolean;
|
|
245
|
-
strokeWidth: number;
|
|
246
|
-
strokeLinecap: string;
|
|
247
|
-
strokeLinejoin: string;
|
|
248
|
-
}>;
|
|
249
|
-
__isFragment?: never;
|
|
250
|
-
__isTeleport?: never;
|
|
251
|
-
__isSuspense?: never;
|
|
252
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
253
|
-
size: {
|
|
254
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
255
|
-
};
|
|
256
|
-
strokeWidth: {
|
|
257
|
-
type: NumberConstructor;
|
|
258
|
-
default: number;
|
|
259
|
-
};
|
|
260
|
-
strokeLinecap: {
|
|
261
|
-
type: StringConstructor;
|
|
262
|
-
default: string;
|
|
263
|
-
validator: (value: any) => boolean;
|
|
264
|
-
};
|
|
265
|
-
strokeLinejoin: {
|
|
266
|
-
type: StringConstructor;
|
|
267
|
-
default: string;
|
|
268
|
-
validator: (value: any) => boolean;
|
|
269
|
-
};
|
|
270
|
-
rotate: NumberConstructor;
|
|
271
|
-
spin: BooleanConstructor;
|
|
272
|
-
}>> & Readonly<{
|
|
273
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
274
|
-
}>, {
|
|
275
|
-
cls: import("vue").ComputedRef<(string | {
|
|
276
|
-
[x: string]: boolean;
|
|
277
|
-
})[]>;
|
|
278
|
-
innerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
279
|
-
svgAttrs: import("vue").ComputedRef<Record<string, string | number>>;
|
|
280
|
-
onClick: (ev: MouseEvent) => void;
|
|
281
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
282
|
-
click: (ev: MouseEvent) => true;
|
|
283
|
-
}, string, {
|
|
284
|
-
spin: boolean;
|
|
285
|
-
strokeWidth: number;
|
|
286
|
-
strokeLinecap: string;
|
|
287
|
-
strokeLinejoin: string;
|
|
288
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
289
|
-
install: (app: import("vue").App, options?: import("../_utils/types").SDIconOptions) => void;
|
|
23
|
+
ellipsis: boolean;
|
|
24
|
+
ellipsisLineClamp: number | string;
|
|
25
|
+
ellipsisExpandTrigger: "click";
|
|
26
|
+
ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
|
|
27
|
+
iconTooltip: string;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
290
35
|
};
|
|
291
|
-
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
2
|
+
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
|
+
import IconLoading from "../icon/icon-loading/index.js";
|
|
4
|
+
import Tooltip from "../tooltip/index.js";
|
|
5
|
+
import { PerformantEllipsis } from "../ellipsis/index.js";
|
|
6
|
+
import { hasPropOrSlot } from "../_utils/use-prop-or-slot.js";
|
|
7
|
+
import IconLink from "../icon/icon-link/index.js";
|
|
8
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createSlots, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, useSlots, withCtx } from "vue";
|
|
9
|
+
//#region components/link/link.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var _hoisted_1 = ["href"];
|
|
11
|
+
var link_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Link" }), {}, {
|
|
12
|
+
__name: "link",
|
|
13
|
+
props: {
|
|
14
|
+
href: {},
|
|
15
|
+
status: { default: "normal" },
|
|
16
|
+
hoverable: { type: Boolean },
|
|
17
|
+
icon: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false
|
|
20
|
+
},
|
|
21
|
+
ellipsis: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true
|
|
24
|
+
},
|
|
25
|
+
ellipsisLineClamp: { default: void 0 },
|
|
26
|
+
ellipsisExpandTrigger: { default: void 0 },
|
|
27
|
+
ellipsisTooltip: {
|
|
28
|
+
type: [Boolean, Object],
|
|
29
|
+
default: true
|
|
30
|
+
},
|
|
31
|
+
iconTooltip: { default: void 0 },
|
|
32
|
+
loading: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
emits: ["click"],
|
|
42
|
+
setup(__props, { emit: __emit }) {
|
|
43
|
+
const emit = __emit;
|
|
44
|
+
const props = __props;
|
|
45
|
+
const slots = useSlots();
|
|
46
|
+
const prefixCls = getPrefixCls("link");
|
|
47
|
+
const showIcon = hasPropOrSlot(props, slots, "icon");
|
|
48
|
+
const hasDefaultSlot = computed(() => Boolean(slots.default));
|
|
49
|
+
const resolvedHoverable = computed(() => {
|
|
50
|
+
var _props$hoverable;
|
|
51
|
+
return (_props$hoverable = props.hoverable) !== null && _props$hoverable !== void 0 ? _props$hoverable : hasDefaultSlot.value;
|
|
52
|
+
});
|
|
53
|
+
const shouldRenderEllipsis = computed(() => props.ellipsis && hasDefaultSlot.value);
|
|
54
|
+
const handleClick = (ev) => {
|
|
55
|
+
if (props.disabled || props.loading) {
|
|
56
|
+
ev.preventDefault();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
emit("click", ev);
|
|
60
|
+
};
|
|
61
|
+
const cls = computed(() => [
|
|
62
|
+
prefixCls,
|
|
63
|
+
`${prefixCls}-status-${props.status}`,
|
|
64
|
+
{
|
|
65
|
+
[`${prefixCls}-disabled`]: props.disabled,
|
|
66
|
+
[`${prefixCls}-loading`]: props.loading,
|
|
67
|
+
[`${prefixCls}-hoverless`]: !resolvedHoverable.value,
|
|
68
|
+
[`${prefixCls}-with-icon`]: props.loading || showIcon.value,
|
|
69
|
+
[`${prefixCls}-icon-only`]: !hasDefaultSlot.value && (props.loading || showIcon.value)
|
|
70
|
+
}
|
|
71
|
+
]);
|
|
72
|
+
return (_ctx, _cache) => {
|
|
73
|
+
return openBlock(), createElementBlock("a", {
|
|
74
|
+
href: __props.disabled ? void 0 : __props.href,
|
|
75
|
+
class: normalizeClass(cls.value),
|
|
76
|
+
onClick: handleClick
|
|
77
|
+
}, [__props.loading || unref(showIcon) ? (openBlock(), createElementBlock("span", {
|
|
78
|
+
key: 0,
|
|
79
|
+
class: normalizeClass(`${unref(prefixCls)}-icon`)
|
|
80
|
+
}, [__props.loading ? (openBlock(), createBlock(unref(IconLoading), { key: 0 })) : __props.iconTooltip ? (openBlock(), createBlock(unref(Tooltip), {
|
|
81
|
+
key: 1,
|
|
82
|
+
content: __props.iconTooltip
|
|
83
|
+
}, {
|
|
84
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(unref(IconLink))])]),
|
|
85
|
+
_: 3
|
|
86
|
+
}, 8, ["content"])) : renderSlot(_ctx.$slots, "icon", { key: 2 }, () => [createVNode(unref(IconLink))])], 2)) : createCommentVNode("", true), shouldRenderEllipsis.value ? (openBlock(), createBlock(unref(PerformantEllipsis), {
|
|
87
|
+
key: 1,
|
|
88
|
+
class: normalizeClass(`${unref(prefixCls)}-content`),
|
|
89
|
+
"line-clamp": __props.ellipsisLineClamp,
|
|
90
|
+
"expand-trigger": __props.ellipsisExpandTrigger,
|
|
91
|
+
tooltip: __props.ellipsisTooltip
|
|
92
|
+
}, createSlots({
|
|
93
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
94
|
+
_: 2
|
|
95
|
+
}, [_ctx.$slots.tooltip ? {
|
|
96
|
+
name: "tooltip",
|
|
97
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "tooltip")]),
|
|
98
|
+
key: "0"
|
|
99
|
+
} : void 0]), 1032, [
|
|
100
|
+
"class",
|
|
101
|
+
"line-clamp",
|
|
102
|
+
"expand-trigger",
|
|
103
|
+
"tooltip"
|
|
104
|
+
])) : hasDefaultSlot.value ? (openBlock(), createElementBlock("span", {
|
|
105
|
+
key: 2,
|
|
106
|
+
class: normalizeClass(`${unref(prefixCls)}-content`)
|
|
107
|
+
}, [renderSlot(_ctx.$slots, "default")], 2)) : createCommentVNode("", true)], 10, _hoisted_1);
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
}));
|
|
111
|
+
//#endregion
|
|
112
|
+
export { link_vue_vue_type_script_setup_true_lang_default as default };
|
package/es/link/style/index.css
CHANGED
package/es/link/style/index.scss
CHANGED
|
@@ -120,4 +120,14 @@ $link-prefix-cls: string.unquote('#{theme.$prefix}-link');
|
|
|
120
120
|
font-size: $link-size-icon;
|
|
121
121
|
vertical-align: middle;
|
|
122
122
|
}
|
|
123
|
+
|
|
124
|
+
&-content {
|
|
125
|
+
min-width: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&#{&}-icon-only {
|
|
129
|
+
.#{$link-prefix-cls}-icon {
|
|
130
|
+
margin-right: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
123
133
|
}
|
package/es/list/index.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ declare const List: {
|
|
|
65
65
|
pageChange: (_page: number) => true;
|
|
66
66
|
pageSizeChange: (_pageSize: number) => true;
|
|
67
67
|
}, import("vue").PublicProps, {
|
|
68
|
+
split: boolean;
|
|
68
69
|
size: "small" | "medium" | "large";
|
|
69
70
|
loading: boolean;
|
|
70
|
-
split: boolean;
|
|
71
71
|
maxHeight: string | number;
|
|
72
72
|
scrollbar: boolean | import("..").ScrollbarProps;
|
|
73
73
|
bordered: boolean;
|
|
@@ -136,9 +136,9 @@ declare const List: {
|
|
|
136
136
|
}, {}, {}, {
|
|
137
137
|
scrollIntoView(options: import("../_components/virtual-list/interface").ScrollIntoViewOptions): void;
|
|
138
138
|
}, {
|
|
139
|
+
split: boolean;
|
|
139
140
|
size: "small" | "medium" | "large";
|
|
140
141
|
loading: boolean;
|
|
141
|
-
split: boolean;
|
|
142
142
|
maxHeight: string | number;
|
|
143
143
|
scrollbar: boolean | import("..").ScrollbarProps;
|
|
144
144
|
bordered: boolean;
|
|
@@ -209,9 +209,9 @@ declare const List: {
|
|
|
209
209
|
pageChange: (_page: number) => true;
|
|
210
210
|
pageSizeChange: (_pageSize: number) => true;
|
|
211
211
|
}, string, {
|
|
212
|
+
split: boolean;
|
|
212
213
|
size: "small" | "medium" | "large";
|
|
213
214
|
loading: boolean;
|
|
214
|
-
split: boolean;
|
|
215
215
|
maxHeight: string | number;
|
|
216
216
|
scrollbar: boolean | import("..").ScrollbarProps;
|
|
217
217
|
bordered: boolean;
|
|
@@ -4,9 +4,32 @@ import { defineComponent } from "vue";
|
|
|
4
4
|
var list_item_meta_vue_vue_type_script_lang_default = defineComponent({
|
|
5
5
|
name: "ListItemMeta",
|
|
6
6
|
props: {
|
|
7
|
+
/**
|
|
8
|
+
* @zh 标题
|
|
9
|
+
* @en Title
|
|
10
|
+
*/
|
|
7
11
|
title: String,
|
|
12
|
+
/**
|
|
13
|
+
* @zh 描述内容
|
|
14
|
+
* @en Description
|
|
15
|
+
*/
|
|
8
16
|
description: String
|
|
9
17
|
},
|
|
18
|
+
/**
|
|
19
|
+
* @zh 标题
|
|
20
|
+
* @en Title
|
|
21
|
+
* @slot title
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* @zh 描述内容
|
|
25
|
+
* @en Description
|
|
26
|
+
* @slot description
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @zh 头像
|
|
30
|
+
* @en Avatar
|
|
31
|
+
* @slot avatar
|
|
32
|
+
*/
|
|
10
33
|
setup(props, { slots }) {
|
|
11
34
|
return {
|
|
12
35
|
prefixCls: getPrefixCls("list-item-meta"),
|
package/es/list/list-item.js
CHANGED
|
@@ -3,10 +3,30 @@ import { createVNode, defineComponent } from "vue";
|
|
|
3
3
|
//#region components/list/list-item.tsx
|
|
4
4
|
var list_item_default = /* @__PURE__ */ defineComponent({
|
|
5
5
|
name: "ListItem",
|
|
6
|
-
props: {
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* @zh 操作组排列方向
|
|
9
|
+
* @en Operation group arrangement direction
|
|
10
|
+
*/
|
|
11
|
+
actionLayout: {
|
|
7
12
|
type: String,
|
|
8
13
|
default: "horizontal"
|
|
9
14
|
} },
|
|
15
|
+
/**
|
|
16
|
+
* @zh 操作组
|
|
17
|
+
* @en Actions
|
|
18
|
+
* @slot actions
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* @zh 额外内容
|
|
22
|
+
* @en Extra content
|
|
23
|
+
* @slot extra
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* @zh meta信息
|
|
27
|
+
* @en Meta data
|
|
28
|
+
* @slot meta
|
|
29
|
+
*/
|
|
10
30
|
setup(props, { slots }) {
|
|
11
31
|
const prefixCls = getPrefixCls("list-item");
|
|
12
32
|
const renderAction = () => {
|
package/es/list/list.d.ts
CHANGED
|
@@ -108,9 +108,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
onPageSizeChange?: ((_pageSize: number) => any) | undefined;
|
|
109
109
|
onPageChange?: ((_page: number) => any) | undefined;
|
|
110
110
|
}>, {
|
|
111
|
+
split: boolean;
|
|
111
112
|
size: "small" | "medium" | "large";
|
|
112
113
|
loading: boolean;
|
|
113
|
-
split: boolean;
|
|
114
114
|
maxHeight: string | number;
|
|
115
115
|
scrollbar: boolean | ScrollbarProps;
|
|
116
116
|
bordered: boolean;
|