@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
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { useFormItem } from "../_hooks/use-form-item.js";
|
|
2
2
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
3
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
5
5
|
import { isFunction, isObject, isUndefined } from "../_utils/is.js";
|
|
6
6
|
import { useAllowClear } from "../_hooks/use-allow-clear.js";
|
|
7
|
+
import { useDropdownVirtualListProps } from "../_hooks/use-dropdown-virtual-list-props.js";
|
|
7
8
|
import { resolveDropdownVirtualListProps } from "../_utils/virtual-dropdown.js";
|
|
8
9
|
import useMergeState from "../_hooks/use-merge-state.js";
|
|
9
10
|
import Empty from "../empty/index.js";
|
|
10
11
|
import Spin from "../spin/index.js";
|
|
11
12
|
import Trigger from "../trigger/index.js";
|
|
12
13
|
import select_view_default from "../_components/select-view/select-view.js";
|
|
14
|
+
import { useAllowSearch } from "../_hooks/use-allow-search.js";
|
|
13
15
|
import { getCheckedStateByCheck, isNodeCheckable } from "../tree/utils/check-utils.js";
|
|
14
16
|
import { isNodeSelectable } from "../tree/utils/index.js";
|
|
15
17
|
import useTreeData from "../tree/hooks/use-tree-data.js";
|
|
@@ -17,7 +19,7 @@ import pickSubCompSlots from "../_utils/pick-sub-comp-slots.js";
|
|
|
17
19
|
import useFilterTreeNode from "./hooks/use-filter-tree-node.js";
|
|
18
20
|
import useSelectedState from "./hooks/use-selected-state.js";
|
|
19
21
|
import panel_default from "./panel.js";
|
|
20
|
-
import { computed, defineComponent,
|
|
22
|
+
import { computed, defineComponent, inject, nextTick, reactive, ref, toRefs } from "vue";
|
|
21
23
|
//#region components/tree-select/tree-select.vue?vue&type=script&lang.ts
|
|
22
24
|
var tree_select_vue_vue_type_script_lang_default = defineComponent({
|
|
23
25
|
name: "TreeSelect",
|
|
@@ -30,73 +32,201 @@ var tree_select_vue_vue_type_script_lang_default = defineComponent({
|
|
|
30
32
|
},
|
|
31
33
|
inheritAttrs: false,
|
|
32
34
|
props: {
|
|
35
|
+
/**
|
|
36
|
+
* @zh 是否禁用
|
|
37
|
+
* @en Whether to disable
|
|
38
|
+
* */
|
|
33
39
|
disabled: { type: Boolean },
|
|
40
|
+
/**
|
|
41
|
+
* @zh 是否为加载中状态
|
|
42
|
+
* @en Whether it is loading state
|
|
43
|
+
* */
|
|
34
44
|
loading: { type: Boolean },
|
|
45
|
+
/**
|
|
46
|
+
* @zh 是否为错误状态
|
|
47
|
+
* @en Whether it is an error state
|
|
48
|
+
* */
|
|
35
49
|
error: { type: Boolean },
|
|
50
|
+
/**
|
|
51
|
+
* @zh 选择框的大小
|
|
52
|
+
* @en The size of the selection box.
|
|
53
|
+
* @values 'mini','small','medium','large'
|
|
54
|
+
* @defaultValue 'medium'
|
|
55
|
+
* */
|
|
36
56
|
size: { type: String },
|
|
57
|
+
/**
|
|
58
|
+
* @zh 是否显示边框
|
|
59
|
+
* @en Whether to show the border
|
|
60
|
+
* */
|
|
37
61
|
border: {
|
|
38
62
|
type: Boolean,
|
|
39
63
|
default: true
|
|
40
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* @zh 是否允许搜索
|
|
67
|
+
* @en Whether to allow searching
|
|
68
|
+
* @defaultValue false (single) \| true (multiple)
|
|
69
|
+
* */
|
|
41
70
|
allowSearch: {
|
|
42
71
|
type: [Boolean, Object],
|
|
43
72
|
default: void 0
|
|
44
73
|
},
|
|
74
|
+
/**
|
|
75
|
+
* @zh 是否允许搜索,Naive 兼容别名
|
|
76
|
+
* @en Whether to allow searching, Naive compatibility alias
|
|
77
|
+
* */
|
|
45
78
|
filterable: { type: Boolean },
|
|
79
|
+
/**
|
|
80
|
+
* @zh 是否允许清除
|
|
81
|
+
* @en Whether to allow clear
|
|
82
|
+
* */
|
|
46
83
|
allowClear: { type: Boolean },
|
|
84
|
+
/**
|
|
85
|
+
* @zh 是否允许清除,Naive 兼容别名
|
|
86
|
+
* @en Whether to allow clear, Naive compatibility alias
|
|
87
|
+
* */
|
|
47
88
|
clearable: { type: Boolean },
|
|
48
89
|
showArrow: {
|
|
49
90
|
type: Boolean,
|
|
50
91
|
default: true
|
|
51
92
|
},
|
|
93
|
+
/**
|
|
94
|
+
* @zh 提示文案
|
|
95
|
+
* @en Prompt copy
|
|
96
|
+
* */
|
|
52
97
|
placeholder: { type: String },
|
|
98
|
+
/**
|
|
99
|
+
* @zh 最多显示的标签数量,仅在多选模式有效
|
|
100
|
+
* @en The maximum number of labels displayed, only valid in multi-select mode
|
|
101
|
+
* */
|
|
53
102
|
maxTagCount: { type: [Number, String] },
|
|
103
|
+
/**
|
|
104
|
+
* @zh 是否支持多选
|
|
105
|
+
* @en Whether to support multiple selection
|
|
106
|
+
* */
|
|
54
107
|
multiple: { type: Boolean },
|
|
108
|
+
/**
|
|
109
|
+
* @zh 默认值
|
|
110
|
+
* @en Default value
|
|
111
|
+
* */
|
|
55
112
|
defaultValue: { type: [
|
|
56
113
|
String,
|
|
57
114
|
Number,
|
|
58
115
|
Array,
|
|
59
116
|
Object
|
|
60
117
|
] },
|
|
118
|
+
/**
|
|
119
|
+
* @zh 绑定值
|
|
120
|
+
* @en Value
|
|
121
|
+
* */
|
|
61
122
|
modelValue: { type: [
|
|
62
123
|
String,
|
|
63
124
|
Number,
|
|
64
125
|
Array,
|
|
65
126
|
Object
|
|
66
127
|
] },
|
|
128
|
+
/**
|
|
129
|
+
* @zh 绑定值,Naive 兼容别名
|
|
130
|
+
* @en Value, Naive compatibility alias
|
|
131
|
+
* */
|
|
67
132
|
value: { type: [
|
|
68
133
|
String,
|
|
69
134
|
Number,
|
|
70
135
|
Array,
|
|
71
136
|
Object
|
|
72
137
|
] },
|
|
138
|
+
/**
|
|
139
|
+
* @zh 指定节点数据中的字段名
|
|
140
|
+
* @en Specify the field name in the node data
|
|
141
|
+
* */
|
|
73
142
|
fieldNames: { type: Object },
|
|
143
|
+
/**
|
|
144
|
+
* @zh 数据
|
|
145
|
+
* @en Data
|
|
146
|
+
* */
|
|
74
147
|
data: {
|
|
75
148
|
type: Array,
|
|
76
149
|
default: () => []
|
|
77
150
|
},
|
|
151
|
+
/**
|
|
152
|
+
* @zh 数据,Naive 兼容别名
|
|
153
|
+
* @en Data, Naive compatibility alias
|
|
154
|
+
* */
|
|
78
155
|
options: { type: Array },
|
|
156
|
+
/**
|
|
157
|
+
* @zh 设置value格式。默认是string,设置为true时候,value格式为: { label: string, value: string }
|
|
158
|
+
* @en Set the value format. The default is string, when set to true, the value format is: {label: string, value: string}
|
|
159
|
+
* */
|
|
79
160
|
labelInValue: { type: Boolean },
|
|
161
|
+
/**
|
|
162
|
+
* @zh 是否展示复选框
|
|
163
|
+
* @en Whether to show checkbox
|
|
164
|
+
* */
|
|
80
165
|
treeCheckable: { type: Boolean },
|
|
166
|
+
/**
|
|
167
|
+
* @zh 是否展示复选框,Naive 兼容别名
|
|
168
|
+
* @en Whether to show checkbox, Naive compatibility alias
|
|
169
|
+
* */
|
|
81
170
|
checkable: { type: Boolean },
|
|
171
|
+
/**
|
|
172
|
+
* @zh 父子节点是否关联
|
|
173
|
+
* @en Whether the parent and child nodes are related
|
|
174
|
+
* */
|
|
82
175
|
treeCheckStrictly: { type: Boolean },
|
|
176
|
+
/**
|
|
177
|
+
* @zh 定制回显方式
|
|
178
|
+
* @en Customized echo method
|
|
179
|
+
* */
|
|
83
180
|
treeCheckedStrategy: {
|
|
84
181
|
type: String,
|
|
85
182
|
default: "all"
|
|
86
183
|
},
|
|
184
|
+
/**
|
|
185
|
+
* @zh 定制回显方式,Naive 兼容别名
|
|
186
|
+
* @en Customized echo method, Naive compatibility alias
|
|
187
|
+
* */
|
|
87
188
|
checkStrategy: { type: String },
|
|
189
|
+
/**
|
|
190
|
+
* @zh 是否展示完整路径
|
|
191
|
+
* @en Whether to display the full path
|
|
192
|
+
* */
|
|
88
193
|
showPath: { type: Boolean },
|
|
194
|
+
/**
|
|
195
|
+
* @zh 路径分隔符
|
|
196
|
+
* @en Path separator
|
|
197
|
+
* */
|
|
89
198
|
separator: {
|
|
90
199
|
type: String,
|
|
91
200
|
default: " / "
|
|
92
201
|
},
|
|
202
|
+
/**
|
|
203
|
+
* @zh 可以接受所有 [Tree](/vue/component/tree) 组件的Props
|
|
204
|
+
* @en Can accept Props of all [Tree](/vue/component/tree) components
|
|
205
|
+
* */
|
|
93
206
|
treeProps: { type: Object },
|
|
207
|
+
/**
|
|
208
|
+
* @zh 传递树虚拟列表属性,传入此参数以开启虚拟滚动
|
|
209
|
+
* @en Pass tree virtual list properties to enable virtual scrolling
|
|
210
|
+
*/
|
|
94
211
|
virtualListProps: { type: Object },
|
|
212
|
+
/**
|
|
213
|
+
* @zh 可以接受所有 [Trigger](/vue/component/trigger) 组件的Props
|
|
214
|
+
* @en Can accept Props of all [Trigger](/vue/component/trigger) components
|
|
215
|
+
* */
|
|
95
216
|
triggerProps: { type: Object },
|
|
217
|
+
/**
|
|
218
|
+
* @zh 是否开启虚拟滚动,Naive 兼容别名
|
|
219
|
+
* @en Whether to enable virtual scroll, Naive compatibility alias
|
|
220
|
+
* */
|
|
96
221
|
virtualScroll: {
|
|
97
222
|
type: Boolean,
|
|
98
223
|
default: void 0
|
|
99
224
|
},
|
|
225
|
+
/**
|
|
226
|
+
* @zh 弹出框是否可见
|
|
227
|
+
* @en Whether the pop-up box is visible
|
|
228
|
+
* @vModel
|
|
229
|
+
*/
|
|
100
230
|
popupVisible: {
|
|
101
231
|
type: Boolean,
|
|
102
232
|
default: void 0
|
|
@@ -105,21 +235,59 @@ var tree_select_vue_vue_type_script_lang_default = defineComponent({
|
|
|
105
235
|
type: Boolean,
|
|
106
236
|
default: void 0
|
|
107
237
|
},
|
|
238
|
+
/**
|
|
239
|
+
* @zh 默认弹出框是否可见
|
|
240
|
+
* @en Whether the default pop-up box is visible
|
|
241
|
+
* */
|
|
108
242
|
defaultPopupVisible: { type: Boolean },
|
|
109
243
|
defaultShow: {
|
|
110
244
|
type: Boolean,
|
|
111
245
|
default: void 0
|
|
112
246
|
},
|
|
247
|
+
/**
|
|
248
|
+
* @zh 下拉框样式
|
|
249
|
+
* @en Drop-down box style
|
|
250
|
+
* */
|
|
113
251
|
dropdownStyle: { type: Object },
|
|
252
|
+
/**
|
|
253
|
+
* @zh 下拉框样式 class
|
|
254
|
+
* @en Drop-down box style class
|
|
255
|
+
* */
|
|
114
256
|
dropdownClassName: { type: [String, Array] },
|
|
257
|
+
/**
|
|
258
|
+
* @zh 自定义节点过滤函数
|
|
259
|
+
* @en Custom node filter function
|
|
260
|
+
* */
|
|
115
261
|
filterTreeNode: { type: Function },
|
|
262
|
+
/**
|
|
263
|
+
* @zh 动态加载数据
|
|
264
|
+
* @en Load data dynamically
|
|
265
|
+
* */
|
|
116
266
|
loadMore: { type: Function },
|
|
267
|
+
/**
|
|
268
|
+
* @zh 禁用内部过滤逻辑
|
|
269
|
+
* @en Disable internal filtering logic
|
|
270
|
+
* */
|
|
117
271
|
disableFilter: { type: Boolean },
|
|
272
|
+
/**
|
|
273
|
+
* @zh 弹出框的挂载容器
|
|
274
|
+
* @en Mount container for pop-up box
|
|
275
|
+
*/
|
|
118
276
|
popupContainer: { type: [String, Object] },
|
|
277
|
+
/**
|
|
278
|
+
* @zh 为 value 中找不到匹配项的 key 定义节点数据
|
|
279
|
+
* @en Customize node data for keys that do not match options
|
|
280
|
+
* @version 2.22.0
|
|
281
|
+
*/
|
|
119
282
|
fallbackOption: {
|
|
120
283
|
type: [Boolean, Function],
|
|
121
284
|
default: true
|
|
122
285
|
},
|
|
286
|
+
/**
|
|
287
|
+
* @zh 设置可选择的节点,默认全部可选
|
|
288
|
+
* @en Set the nodes that can be selected, all can be selected by default
|
|
289
|
+
* @version 2.27.0
|
|
290
|
+
*/
|
|
123
291
|
selectable: {
|
|
124
292
|
type: [
|
|
125
293
|
Boolean,
|
|
@@ -128,51 +296,161 @@ var tree_select_vue_vue_type_script_lang_default = defineComponent({
|
|
|
128
296
|
],
|
|
129
297
|
default: true
|
|
130
298
|
},
|
|
299
|
+
/**
|
|
300
|
+
* @zh 是否开启虚拟滚动条
|
|
301
|
+
* @en Whether to enable virtual scroll bar
|
|
302
|
+
* @version 2.39.0
|
|
303
|
+
*/
|
|
131
304
|
scrollbar: {
|
|
132
305
|
type: [Boolean, Object],
|
|
133
306
|
default: true
|
|
134
307
|
},
|
|
308
|
+
/**
|
|
309
|
+
* @zh 空状态时是否显示header
|
|
310
|
+
* @en Whether to display the header in the empty state
|
|
311
|
+
*/
|
|
135
312
|
showHeaderOnEmpty: {
|
|
136
313
|
type: Boolean,
|
|
137
314
|
default: false
|
|
138
315
|
},
|
|
316
|
+
/**
|
|
317
|
+
* @zh 空状态时是否显示footer
|
|
318
|
+
* @en Whether to display the footer in the empty state
|
|
319
|
+
*/
|
|
139
320
|
showFooterOnEmpty: {
|
|
140
321
|
type: Boolean,
|
|
141
322
|
default: false
|
|
142
323
|
},
|
|
324
|
+
/**
|
|
325
|
+
* @zh 输入框的值
|
|
326
|
+
* @en The value of the input
|
|
327
|
+
* @vModel
|
|
328
|
+
* @version 2.55.0
|
|
329
|
+
*/
|
|
143
330
|
inputValue: { type: String },
|
|
331
|
+
/**
|
|
332
|
+
* @zh 输入框的默认值(非受控模式)
|
|
333
|
+
* @en The default value of the input (uncontrolled mode)
|
|
334
|
+
* @version 2.55.0
|
|
335
|
+
*/
|
|
144
336
|
defaultInputValue: {
|
|
145
337
|
type: String,
|
|
146
338
|
default: ""
|
|
147
339
|
}
|
|
148
340
|
},
|
|
149
341
|
emits: {
|
|
342
|
+
/**
|
|
343
|
+
* @zh 值改变时触发
|
|
344
|
+
* @en Trigger when the value changes
|
|
345
|
+
* @param {string | number | LabelValue | Array<string | number> | LabelValue[] | undefined} value
|
|
346
|
+
*/
|
|
150
347
|
"change": (_value) => true,
|
|
151
348
|
"update:modelValue": (_value) => true,
|
|
152
349
|
"update:value": (_value) => true,
|
|
153
350
|
"update:inputValue": (_inputValue) => true,
|
|
351
|
+
/**
|
|
352
|
+
* @zh 下拉框显示状态改变时触发
|
|
353
|
+
* @en Triggered when the status of the drop-down box changes
|
|
354
|
+
* @param {boolean} visible
|
|
355
|
+
*/
|
|
154
356
|
"popup-visible-change": (_visible) => true,
|
|
155
357
|
"update:popupVisible": (_visible) => true,
|
|
156
358
|
"showChange": (_visible) => true,
|
|
157
359
|
"update:show": (_visible) => true,
|
|
360
|
+
/**
|
|
361
|
+
* @zh 搜索值变化时触发
|
|
362
|
+
* @en Triggered when the search value changes
|
|
363
|
+
* @param {string} searchKey
|
|
364
|
+
*/
|
|
158
365
|
"search": (_searchKey) => true,
|
|
366
|
+
/**
|
|
367
|
+
* @zh 点击清除时触发
|
|
368
|
+
* @en Triggered when clear is clicked
|
|
369
|
+
* */
|
|
159
370
|
"clear": () => true,
|
|
371
|
+
/**
|
|
372
|
+
* @zh 输入框的值发生改变时触发
|
|
373
|
+
* @en Triggered when the value of the input changes
|
|
374
|
+
* @param {string} inputValue
|
|
375
|
+
* @version 2.55.0
|
|
376
|
+
*/
|
|
160
377
|
"inputValueChange": (_inputValue) => true
|
|
161
378
|
},
|
|
379
|
+
/**
|
|
380
|
+
* @zh 自定义触发元素
|
|
381
|
+
* @en Custom trigger element
|
|
382
|
+
* @slot trigger
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* @zh 前缀
|
|
386
|
+
* @en Prefix
|
|
387
|
+
* @slot prefix
|
|
388
|
+
*/
|
|
389
|
+
/**
|
|
390
|
+
* @zh 自定义选择框显示
|
|
391
|
+
* @en Custom Label
|
|
392
|
+
* @slot label
|
|
393
|
+
* @binding data
|
|
394
|
+
*/
|
|
395
|
+
/**
|
|
396
|
+
* @zh 定制加载中显示的内容
|
|
397
|
+
* @en Customizing the content displayed during loading
|
|
398
|
+
* @slot loader
|
|
399
|
+
*/
|
|
400
|
+
/**
|
|
401
|
+
* @zh 定制空数据展示
|
|
402
|
+
* @en Custom empty data display
|
|
403
|
+
* @slot empty
|
|
404
|
+
*/
|
|
405
|
+
/**
|
|
406
|
+
* @zh 定制 tree 组件的 switcher 图标
|
|
407
|
+
* @en Custom switcher icon for the tree component
|
|
408
|
+
* @slot tree-slot-switcher-icon
|
|
409
|
+
*/
|
|
410
|
+
/**
|
|
411
|
+
* @zh 定制 tree 组件的节点图标
|
|
412
|
+
* @en Custom node icon for the tree component
|
|
413
|
+
* @slot tree-slot-icon
|
|
414
|
+
* @binding {TreeNodeData} node
|
|
415
|
+
* @version 2.18.0
|
|
416
|
+
*/
|
|
417
|
+
/**
|
|
418
|
+
* @zh 定制 tree 组件的节点标题
|
|
419
|
+
* @en Custom the node title of the tree component
|
|
420
|
+
* @slot tree-slot-title
|
|
421
|
+
* @binding {string} title
|
|
422
|
+
*/
|
|
423
|
+
/**
|
|
424
|
+
* @zh 定制 tree 组件的渲染额外节点内容
|
|
425
|
+
* @en Render additional node content of the tree component
|
|
426
|
+
* @slot tree-slot-extra
|
|
427
|
+
*/
|
|
428
|
+
/**
|
|
429
|
+
* @zh 自定义下拉框页头
|
|
430
|
+
* @en The header of the drop-down box
|
|
431
|
+
* @slot header
|
|
432
|
+
*/
|
|
433
|
+
/**
|
|
434
|
+
* @zh 自定义下拉框页脚
|
|
435
|
+
* @en The footer of the drop-down box
|
|
436
|
+
* @slot footer
|
|
437
|
+
*/
|
|
162
438
|
setup(props, { emit, slots }) {
|
|
163
439
|
var _configCtx$slots, _configCtx$slots$empt, _defaultPopupVisible$;
|
|
164
440
|
const { defaultValue, modelValue, multiple, popupVisible, show, defaultPopupVisible, defaultShow, treeCheckable, treeCheckStrictly, data, options, fieldNames, disabled, labelInValue, filterTreeNode, disableFilter, dropdownStyle, treeProps, fallbackOption, selectable, checkable, checkStrategy, showPath, separator, value, virtualScroll } = toRefs(props);
|
|
165
441
|
const { mergedDisabled, eventHandlers } = useFormItem({ disabled });
|
|
166
442
|
const prefixCls = getPrefixCls("tree-select");
|
|
167
443
|
const configCtx = inject(configProviderInjectionKey, void 0);
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
if (props.filterable !== void 0) return props.filterable;
|
|
173
|
-
return Boolean(props.multiple || props.treeCheckable || props.checkable);
|
|
444
|
+
const { mergedAllowSearch } = useAllowSearch(computed(() => props.allowSearch), {
|
|
445
|
+
compatPropNames: ["filterable"],
|
|
446
|
+
getCompatValue: () => props.filterable,
|
|
447
|
+
getDefaultValue: () => Boolean(props.multiple || props.treeCheckable || props.checkable)
|
|
174
448
|
});
|
|
175
449
|
const { mergedAllowClear } = useAllowClear(computed(() => props.allowClear || props.clearable));
|
|
450
|
+
const { mergedDropdownVirtualListProps } = useDropdownVirtualListProps(computed(() => {
|
|
451
|
+
var _props$virtualListPro, _treeProps$value;
|
|
452
|
+
return (_props$virtualListPro = props.virtualListProps) !== null && _props$virtualListPro !== void 0 ? _props$virtualListPro : (_treeProps$value = treeProps.value) === null || _treeProps$value === void 0 ? void 0 : _treeProps$value.virtualListProps;
|
|
453
|
+
}));
|
|
176
454
|
const TreeSelectEmpty = configCtx === null || configCtx === void 0 || (_configCtx$slots$empt = (_configCtx$slots = configCtx.slots).empty) === null || _configCtx$slots$empt === void 0 || (_configCtx$slots$empt = _configCtx$slots$empt.call(_configCtx$slots, { component: "tree-select" })) === null || _configCtx$slots$empt === void 0 ? void 0 : _configCtx$slots$empt[0];
|
|
177
455
|
const mergedModelValue = computed(() => {
|
|
178
456
|
var _value$value;
|
|
@@ -188,8 +466,7 @@ var tree_select_vue_vue_type_script_lang_default = defineComponent({
|
|
|
188
466
|
return (_checkStrategy$value = checkStrategy.value) !== null && _checkStrategy$value !== void 0 ? _checkStrategy$value : props.treeCheckedStrategy;
|
|
189
467
|
});
|
|
190
468
|
const mergedTreeProps = computed(() => {
|
|
191
|
-
|
|
192
|
-
const resolvedVirtualListProps = resolveDropdownVirtualListProps((_props$virtualListPro = props.virtualListProps) !== null && _props$virtualListPro !== void 0 ? _props$virtualListPro : (_treeProps$value = treeProps.value) === null || _treeProps$value === void 0 ? void 0 : _treeProps$value.virtualListProps, props.triggerProps);
|
|
469
|
+
const resolvedVirtualListProps = resolveDropdownVirtualListProps(mergedDropdownVirtualListProps.value, props.triggerProps);
|
|
193
470
|
if (virtualScroll.value !== false) return _objectSpread2(_objectSpread2({}, treeProps.value), resolvedVirtualListProps ? { virtualListProps: resolvedVirtualListProps } : {});
|
|
194
471
|
const nextTreeProps = _objectSpread2({}, treeProps.value);
|
|
195
472
|
delete nextTreeProps.virtualListProps;
|
package/es/trigger/index.d.ts
CHANGED
|
@@ -59,13 +59,13 @@ declare const Trigger: {
|
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
61
|
contentClass: {
|
|
62
|
-
type: (
|
|
62
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
63
63
|
};
|
|
64
64
|
contentStyle: {
|
|
65
65
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
66
66
|
};
|
|
67
67
|
arrowClass: {
|
|
68
|
-
type: (
|
|
68
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
69
69
|
};
|
|
70
70
|
arrowStyle: {
|
|
71
71
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -123,7 +123,7 @@ declare const Trigger: {
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
openedClass: {
|
|
126
|
-
type: (
|
|
126
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
127
127
|
};
|
|
128
128
|
autoFitPosition: {
|
|
129
129
|
type: BooleanConstructor;
|
|
@@ -146,8 +146,8 @@ declare const Trigger: {
|
|
|
146
146
|
default: number;
|
|
147
147
|
};
|
|
148
148
|
}>> & Readonly<{
|
|
149
|
-
onResize?: (() => any) | undefined;
|
|
150
149
|
onHide?: (() => any) | undefined;
|
|
150
|
+
onResize?: (() => any) | undefined;
|
|
151
151
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
152
152
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
153
153
|
onShow?: (() => any) | undefined;
|
|
@@ -250,13 +250,13 @@ declare const Trigger: {
|
|
|
250
250
|
default: boolean;
|
|
251
251
|
};
|
|
252
252
|
contentClass: {
|
|
253
|
-
type: (
|
|
253
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
254
254
|
};
|
|
255
255
|
contentStyle: {
|
|
256
256
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
257
257
|
};
|
|
258
258
|
arrowClass: {
|
|
259
|
-
type: (
|
|
259
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
260
260
|
};
|
|
261
261
|
arrowStyle: {
|
|
262
262
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -314,7 +314,7 @@ declare const Trigger: {
|
|
|
314
314
|
default: boolean;
|
|
315
315
|
};
|
|
316
316
|
openedClass: {
|
|
317
|
-
type: (
|
|
317
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
318
318
|
};
|
|
319
319
|
autoFitPosition: {
|
|
320
320
|
type: BooleanConstructor;
|
|
@@ -337,8 +337,8 @@ declare const Trigger: {
|
|
|
337
337
|
default: number;
|
|
338
338
|
};
|
|
339
339
|
}>> & Readonly<{
|
|
340
|
-
onResize?: (() => any) | undefined;
|
|
341
340
|
onHide?: (() => any) | undefined;
|
|
341
|
+
onResize?: (() => any) | undefined;
|
|
342
342
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
343
343
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
344
344
|
onShow?: (() => any) | undefined;
|
|
@@ -432,13 +432,13 @@ declare const Trigger: {
|
|
|
432
432
|
default: boolean;
|
|
433
433
|
};
|
|
434
434
|
contentClass: {
|
|
435
|
-
type: (
|
|
435
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
436
436
|
};
|
|
437
437
|
contentStyle: {
|
|
438
438
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
439
439
|
};
|
|
440
440
|
arrowClass: {
|
|
441
|
-
type: (
|
|
441
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
442
442
|
};
|
|
443
443
|
arrowStyle: {
|
|
444
444
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -496,7 +496,7 @@ declare const Trigger: {
|
|
|
496
496
|
default: boolean;
|
|
497
497
|
};
|
|
498
498
|
openedClass: {
|
|
499
|
-
type: (
|
|
499
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
500
500
|
};
|
|
501
501
|
autoFitPosition: {
|
|
502
502
|
type: BooleanConstructor;
|
|
@@ -519,8 +519,8 @@ declare const Trigger: {
|
|
|
519
519
|
default: number;
|
|
520
520
|
};
|
|
521
521
|
}>> & Readonly<{
|
|
522
|
-
onResize?: (() => any) | undefined;
|
|
523
522
|
onHide?: (() => any) | undefined;
|
|
523
|
+
onResize?: (() => any) | undefined;
|
|
524
524
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
525
525
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
526
526
|
onShow?: (() => any) | undefined;
|
package/es/trigger/trigger.d.ts
CHANGED
|
@@ -58,13 +58,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
60
|
contentClass: {
|
|
61
|
-
type: (
|
|
61
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
62
62
|
};
|
|
63
63
|
contentStyle: {
|
|
64
64
|
type: PropType<CSSProperties>;
|
|
65
65
|
};
|
|
66
66
|
arrowClass: {
|
|
67
|
-
type: (
|
|
67
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
68
68
|
};
|
|
69
69
|
arrowStyle: {
|
|
70
70
|
type: PropType<CSSProperties>;
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
default: boolean;
|
|
123
123
|
};
|
|
124
124
|
openedClass: {
|
|
125
|
-
type: (
|
|
125
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
126
126
|
};
|
|
127
127
|
autoFitPosition: {
|
|
128
128
|
type: BooleanConstructor;
|
|
@@ -207,13 +207,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
207
|
default: boolean;
|
|
208
208
|
};
|
|
209
209
|
contentClass: {
|
|
210
|
-
type: (
|
|
210
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
211
211
|
};
|
|
212
212
|
contentStyle: {
|
|
213
213
|
type: PropType<CSSProperties>;
|
|
214
214
|
};
|
|
215
215
|
arrowClass: {
|
|
216
|
-
type: (
|
|
216
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
217
217
|
};
|
|
218
218
|
arrowStyle: {
|
|
219
219
|
type: PropType<CSSProperties>;
|
|
@@ -271,7 +271,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
271
271
|
default: boolean;
|
|
272
272
|
};
|
|
273
273
|
openedClass: {
|
|
274
|
-
type: (
|
|
274
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
275
275
|
};
|
|
276
276
|
autoFitPosition: {
|
|
277
277
|
type: BooleanConstructor;
|
|
@@ -294,8 +294,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
294
|
default: number;
|
|
295
295
|
};
|
|
296
296
|
}>> & Readonly<{
|
|
297
|
-
onResize?: (() => any) | undefined;
|
|
298
297
|
onHide?: (() => any) | undefined;
|
|
298
|
+
onResize?: (() => any) | undefined;
|
|
299
299
|
"onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
|
|
300
300
|
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
301
301
|
onShow?: (() => any) | undefined;
|