@element-plus/nightly 0.0.20260720 → 0.0.20260721
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/es/components/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +3 -3
- package/es/components/alert/src/alert.d.ts +2 -2
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.d.ts +7 -108
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/es/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/src/avatar-group-props.d.ts +9 -106
- package/es/components/avatar/src/avatar-group-props.mjs +9 -1
- package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +20 -213
- package/es/components/avatar/src/avatar.d.ts +3 -3
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +4 -8
- package/es/components/badge/src/badge.mjs +9 -1
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge.vue.d.ts +3 -1
- package/es/components/badge/src/badge.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/button/src/button-group.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +4 -4
- package/es/components/button/src/use-button.d.ts +2 -2
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/calendar/style/css.mjs +1 -1
- package/es/components/calendar/style/index.mjs +1 -1
- package/es/components/card/src/card.d.ts +8 -7
- package/es/components/card/src/card.mjs +27 -3
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card.vue.d.ts +4 -0
- package/es/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +4 -4
- package/es/components/cascader/src/cascader.d.ts +9 -110
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +22 -20
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox.d.ts +9 -9
- package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse.d.ts +1 -1
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +5 -104
- package/es/components/color-picker/src/color-picker.mjs +1 -0
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +12 -10
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +2 -2
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +17 -217
- package/es/components/date-picker/src/props.d.ts +4 -104
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/es/components/date-picker-panel/src/panel-utils.d.ts +21 -21
- package/es/components/date-picker-panel/src/props/basic-date-table.mjs.map +1 -1
- package/es/components/descriptions/src/description-item.d.ts +18 -18
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +2 -2
- package/es/components/dialog/src/dialog-content.d.ts +10 -6
- package/es/components/dialog/src/dialog-content.mjs +32 -5
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +5 -1
- package/es/components/dialog/src/dialog.d.ts +10 -5
- package/es/components/dialog/src/dialog.mjs +11 -14
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +9 -4
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.d.ts +5 -4
- package/es/components/drawer/src/drawer.vue.d.ts +12 -7
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +5 -106
- package/es/components/dropdown/src/dropdown.vue.d.ts +115 -313
- package/es/components/dropdown/style/css.mjs +1 -1
- package/es/components/dropdown/style/index.mjs +1 -1
- package/es/components/form/src/form-item.d.ts +3 -3
- package/es/components/form/src/form-item.vue.d.ts +2 -2
- package/es/components/form/src/form.d.ts +4 -4
- package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +4 -4
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/es/components/input/src/input.d.ts +4 -4
- package/es/components/input/src/input.vue.d.ts +19 -19
- package/es/components/input-number/src/input-number.d.ts +3 -3
- package/es/components/input-number/src/input-number.vue.d.ts +10 -10
- package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +12 -12
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/mention/src/mention.d.ts +7 -108
- package/es/components/mention/src/mention.vue.d.ts +5 -5
- package/es/components/mention/src/mention.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/mention/src/mention2.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +13 -25
- package/es/components/menu/src/menu.mjs +18 -2
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.d.ts +11 -23
- package/es/components/menu/src/sub-menu.mjs +18 -2
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/message/src/instance.d.ts +1 -1
- package/es/components/message/src/message.d.ts +5 -5
- package/es/components/message/src/message.mjs +6 -1
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +7 -6
- package/es/components/message/src/method.mjs.map +1 -1
- package/es/components/message-box/src/index.vue.d.ts +73 -81
- package/es/components/notification/src/notification.d.ts +4 -3
- package/es/components/notification/src/notification.mjs +6 -1
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +5 -4
- package/es/components/overlay/index.d.ts +4 -12
- package/es/components/overlay/src/overlay.d.ts +5 -18
- package/es/components/overlay/src/overlay.mjs +9 -5
- package/es/components/overlay/src/overlay.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.d.ts +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/es/components/pagination/src/components/sizes.d.ts +5 -14
- package/es/components/pagination/src/components/sizes.mjs +18 -2
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +10 -27
- package/es/components/pagination/src/pagination.d.ts +16 -29
- package/es/components/pagination/src/pagination.mjs +15 -2
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/es/components/popover/src/popover.d.ts +5 -105
- package/es/components/popover/src/popover.mjs +1 -0
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +14 -13
- package/es/components/popper/src/composables/use-content-dom.d.ts +2 -25
- package/es/components/popper/src/composables/use-content.d.ts +4 -4
- package/es/components/popper/src/content.d.ts +8 -18
- package/es/components/popper/src/content.mjs +13 -7
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +19 -17
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/progress/src/progress.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/src/radio-button.d.ts +4 -4
- package/es/components/radio/src/radio-button.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +6 -6
- package/es/components/radio/src/radio.d.ts +8 -8
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/radio/src/use-radio.d.ts +1 -1
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.vue.d.ts +3 -3
- package/es/components/rate/src/rate.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +5 -4
- package/es/components/scrollbar/src/scrollbar.mjs +12 -2
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
- package/es/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/segmented/index.d.ts +2 -2
- package/es/components/segmented/src/segmented.d.ts +2 -2
- package/es/components/segmented/src/segmented.vue.d.ts +1 -1
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select-dropdown.vue.d.ts +2 -1
- package/es/components/select/src/select.d.ts +12 -16
- package/es/components/select/src/select.mjs +15 -2
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +137 -143
- package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useOption.d.ts +2 -2
- package/es/components/select/src/useSelect.d.ts +7 -7
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/src/defaults.d.ts +6 -106
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +110 -308
- package/es/components/select-v2/src/useSelect.d.ts +2 -2
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.d.ts +2 -1
- package/es/components/slider/src/button.mjs +10 -2
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button.vue.d.ts +6 -4
- package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
- package/es/components/slider/src/slider.d.ts +4 -4
- package/es/components/slider/src/slider.mjs +6 -1
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +16 -16
- package/es/components/space/src/space.d.ts +10 -10
- package/es/components/space/src/space.mjs +2 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/space/src/use-space.d.ts +2 -3
- package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/es/components/statistic/src/statistic.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/filter-panel.vue.d.ts +107 -104
- package/es/components/table/src/table/defaults.d.ts +6 -6
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +2 -2
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +4 -4
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +19 -19
- package/es/components/table/src/table.vue.d.ts +5 -5
- package/es/components/table-v2/src/components/header.d.ts +1 -1
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +4 -4
- package/es/components/table-v2/src/table-v2.d.ts +5 -5
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +3 -3
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/text/src/text.d.ts +2 -2
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +23 -223
- package/es/components/time-picker/src/common/props.d.ts +4 -104
- package/es/components/time-picker/src/time-picker.d.ts +17 -217
- package/es/components/time-select/src/time-select.d.ts +7 -11
- package/es/components/time-select/src/time-select.mjs +15 -2
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +11 -10
- package/es/components/timeline/src/timeline-item.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.d.ts +4 -199
- package/es/components/tooltip/src/content.vue.d.ts +18 -16
- package/es/components/tooltip/src/tooltip.d.ts +5 -202
- package/es/components/tooltip/src/tooltip.vue.d.ts +22 -21
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/mask.vue.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +7 -7
- package/es/components/transfer/src/transfer.vue.d.ts +1 -1
- package/es/components/tree/src/tree-node.vue.d.ts +18 -18
- package/es/components/tree/src/tree.vue.d.ts +22 -22
- package/es/components/tree-select/src/select.mjs +1 -5
- package/es/components/tree-select/src/select.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +44 -52
- package/es/components/tree-v2/src/composables/useTree.d.ts +13 -12
- package/es/components/tree-v2/src/tree.vue.d.ts +5 -5
- package/es/components/upload/src/upload-content.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +2 -2
- package/es/components/upload/src/upload-list.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +2 -2
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +5 -4
- package/es/components/virtual-list/src/builders/build-list.d.ts +7 -6
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
- package/es/components/virtual-list/src/components/scrollbar.d.ts +4 -2
- package/es/components/virtual-list/src/props.d.ts +5 -4
- package/es/components/virtual-list/src/props.mjs +15 -2
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/hooks/use-floating/index.d.ts +12 -12
- package/es/hooks/use-popper/index.d.ts +4 -4
- package/es/hooks/use-size/index.d.ts +3 -3
- package/es/hooks/use-throttle-render/index.mjs.map +1 -1
- package/es/utils/index.d.ts +2 -2
- package/es/utils/typescript.d.ts +2 -1
- package/es/utils/typescript.mjs.map +1 -1
- package/es/utils/vue/size.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +3 -3
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.d.ts +7 -108
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/lib/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/src/avatar-group-props.d.ts +9 -106
- package/lib/components/avatar/src/avatar-group-props.js +9 -1
- package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +20 -213
- package/lib/components/avatar/src/avatar.d.ts +3 -3
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +4 -8
- package/lib/components/badge/src/badge.js +9 -1
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +3 -1
- package/lib/components/badge/src/badge.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/button/src/button-group.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +4 -4
- package/lib/components/button/src/use-button.d.ts +2 -2
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/calendar/style/css.js +1 -1
- package/lib/components/calendar/style/index.js +1 -1
- package/lib/components/card/src/card.d.ts +8 -7
- package/lib/components/card/src/card.js +27 -3
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card.vue.d.ts +4 -0
- package/lib/components/card/src/card.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +4 -4
- package/lib/components/cascader/src/cascader.d.ts +9 -110
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +22 -20
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox.d.ts +9 -9
- package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse.d.ts +1 -1
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +5 -104
- package/lib/components/color-picker/src/color-picker.js +1 -0
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +12 -10
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
- package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +2 -2
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +17 -217
- package/lib/components/date-picker/src/props.d.ts +4 -104
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +21 -21
- package/lib/components/date-picker-panel/src/props/basic-date-table.js.map +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +18 -18
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +2 -2
- package/lib/components/dialog/src/dialog-content.d.ts +10 -6
- package/lib/components/dialog/src/dialog-content.js +31 -4
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +5 -1
- package/lib/components/dialog/src/dialog.d.ts +10 -5
- package/lib/components/dialog/src/dialog.js +11 -14
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +9 -4
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.d.ts +5 -4
- package/lib/components/drawer/src/drawer.vue.d.ts +12 -7
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +5 -106
- package/lib/components/dropdown/src/dropdown.vue.d.ts +115 -313
- package/lib/components/dropdown/style/css.js +1 -1
- package/lib/components/dropdown/style/index.js +1 -1
- package/lib/components/form/src/form-item.d.ts +3 -3
- package/lib/components/form/src/form-item.vue.d.ts +2 -2
- package/lib/components/form/src/form.d.ts +4 -4
- package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +4 -4
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/lib/components/input/src/input.d.ts +4 -4
- package/lib/components/input/src/input.vue.d.ts +19 -19
- package/lib/components/input-number/src/input-number.d.ts +3 -3
- package/lib/components/input-number/src/input-number.vue.d.ts +10 -10
- package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +12 -12
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/mention/src/mention.d.ts +7 -108
- package/lib/components/mention/src/mention.vue.d.ts +5 -5
- package/lib/components/mention/src/mention.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/mention/src/mention2.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +13 -25
- package/lib/components/menu/src/menu.js +18 -2
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.d.ts +11 -23
- package/lib/components/menu/src/sub-menu.js +18 -2
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/message/src/instance.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +5 -5
- package/lib/components/message/src/message.js +6 -1
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +7 -6
- package/lib/components/message/src/method.js.map +1 -1
- package/lib/components/message-box/src/index.vue.d.ts +73 -81
- package/lib/components/notification/src/notification.d.ts +4 -3
- package/lib/components/notification/src/notification.js +6 -1
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +5 -4
- package/lib/components/overlay/index.d.ts +4 -12
- package/lib/components/overlay/src/overlay.d.ts +5 -18
- package/lib/components/overlay/src/overlay.js +9 -5
- package/lib/components/overlay/src/overlay.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.d.ts +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/lib/components/pagination/src/components/sizes.d.ts +5 -14
- package/lib/components/pagination/src/components/sizes.js +18 -2
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +10 -27
- package/lib/components/pagination/src/pagination.d.ts +16 -29
- package/lib/components/pagination/src/pagination.js +15 -2
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/lib/components/popover/src/popover.d.ts +5 -105
- package/lib/components/popover/src/popover.js +1 -0
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +14 -13
- package/lib/components/popper/src/composables/use-content-dom.d.ts +2 -25
- package/lib/components/popper/src/composables/use-content.d.ts +4 -4
- package/lib/components/popper/src/content.d.ts +8 -18
- package/lib/components/popper/src/content.js +13 -7
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +19 -17
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/progress/src/progress.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-button.d.ts +4 -4
- package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/src/radio.d.ts +8 -8
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/radio/src/use-radio.d.ts +1 -1
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +3 -3
- package/lib/components/rate/src/rate.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +5 -4
- package/lib/components/scrollbar/src/scrollbar.js +12 -2
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
- package/lib/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/segmented/index.d.ts +2 -2
- package/lib/components/segmented/src/segmented.d.ts +2 -2
- package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select-dropdown.vue.d.ts +2 -1
- package/lib/components/select/src/select.d.ts +12 -16
- package/lib/components/select/src/select.js +15 -2
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +137 -143
- package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useOption.d.ts +2 -2
- package/lib/components/select/src/useSelect.d.ts +7 -7
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/src/defaults.d.ts +6 -106
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +110 -308
- package/lib/components/select-v2/src/useSelect.d.ts +2 -2
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.d.ts +2 -1
- package/lib/components/slider/src/button.js +9 -1
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button.vue.d.ts +6 -4
- package/lib/components/slider/src/composables/use-marks.js.map +1 -1
- package/lib/components/slider/src/slider.d.ts +4 -4
- package/lib/components/slider/src/slider.js +6 -1
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +16 -16
- package/lib/components/space/src/space.d.ts +10 -10
- package/lib/components/space/src/space.js +2 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/space/src/use-space.d.ts +2 -3
- package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/filter-panel.vue.d.ts +107 -104
- package/lib/components/table/src/table/defaults.d.ts +6 -6
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +2 -2
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +4 -4
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +19 -19
- package/lib/components/table/src/table.vue.d.ts +5 -5
- package/lib/components/table-v2/src/components/header.d.ts +1 -1
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +4 -4
- package/lib/components/table-v2/src/table-v2.d.ts +5 -5
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +3 -3
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +23 -223
- package/lib/components/time-picker/src/common/props.d.ts +4 -104
- package/lib/components/time-picker/src/time-picker.d.ts +17 -217
- package/lib/components/time-select/src/time-select.d.ts +7 -11
- package/lib/components/time-select/src/time-select.js +15 -2
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +11 -10
- package/lib/components/timeline/src/timeline-item.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.d.ts +4 -199
- package/lib/components/tooltip/src/content.vue.d.ts +18 -16
- package/lib/components/tooltip/src/tooltip.d.ts +5 -202
- package/lib/components/tooltip/src/tooltip.vue.d.ts +22 -21
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/mask.vue.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +7 -7
- package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
- package/lib/components/tree/src/tree-node.vue.d.ts +18 -18
- package/lib/components/tree/src/tree.vue.d.ts +22 -22
- package/lib/components/tree-select/src/select.js +1 -5
- package/lib/components/tree-select/src/select.js.map +1 -1
- package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +44 -52
- package/lib/components/tree-v2/src/composables/useTree.d.ts +13 -12
- package/lib/components/tree-v2/src/tree.vue.d.ts +5 -5
- package/lib/components/upload/src/upload-content.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/src/upload-list.d.ts +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -2
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +5 -4
- package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -6
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +4 -2
- package/lib/components/virtual-list/src/props.d.ts +5 -4
- package/lib/components/virtual-list/src/props.js +15 -2
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/hooks/use-floating/index.d.ts +12 -12
- package/lib/hooks/use-popper/index.d.ts +4 -4
- package/lib/hooks/use-size/index.d.ts +3 -3
- package/lib/hooks/use-throttle-render/index.js.map +1 -1
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/typescript.d.ts +2 -1
- package/lib/utils/typescript.js.map +1 -1
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -2,6 +2,7 @@ import { IconPropType } from "../../../utils/vue/icon.js";
|
|
|
2
2
|
import { SFCWithInstall } from "../../../utils/vue/typescript.js";
|
|
3
3
|
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
|
4
4
|
import { ComponentSize } from "../../../constants/size.js";
|
|
5
|
+
import { ClassValue } from "../../../utils/typescript.js";
|
|
5
6
|
import { Translator } from "../../../hooks/use-locale/index.js";
|
|
6
7
|
import { InputAutoSize, InputModelModifiers, InputProps, InputType } from "../../input/src/input.js";
|
|
7
8
|
import { InputInstance } from "../../input/src/instance.js";
|
|
@@ -89,7 +90,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
89
90
|
}>;
|
|
90
91
|
contentId: _$vue.Ref<string, string>;
|
|
91
92
|
inputId: _$vue.Ref<string, string>;
|
|
92
|
-
btnSize: _$vue.ComputedRef<"" | "
|
|
93
|
+
btnSize: _$vue.ComputedRef<"" | "small" | "default" | "large">;
|
|
93
94
|
iconComponent: _$vue.ComputedRef<string | _$vue.FunctionalComponent<any, {}, any, {}> | {
|
|
94
95
|
new (...args: any[]): any;
|
|
95
96
|
__isFragment?: never;
|
|
@@ -229,7 +230,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
229
230
|
autofocus: _$vue.Ref<boolean, boolean>;
|
|
230
231
|
title: _$vue.Ref<string | undefined, string | undefined>;
|
|
231
232
|
message: _$vue.Ref<string, string>;
|
|
232
|
-
type: _$vue.Ref<"" | "
|
|
233
|
+
type: _$vue.Ref<"" | "primary" | "success" | "warning" | "info" | "error", "" | "primary" | "success" | "warning" | "info" | "error">;
|
|
233
234
|
icon: _$vue.Ref<string | _$vue.FunctionalComponent<any, {}, any, {}> | {
|
|
234
235
|
new (...args: any[]): any;
|
|
235
236
|
__isFragment?: never;
|
|
@@ -4031,8 +4032,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4031
4032
|
dangerouslyUseHTMLString: _$vue.Ref<boolean, boolean>;
|
|
4032
4033
|
confirmButtonText: _$vue.Ref<string, string>;
|
|
4033
4034
|
cancelButtonText: _$vue.Ref<string, string>;
|
|
4034
|
-
confirmButtonType: _$vue.Ref<"" | "
|
|
4035
|
-
cancelButtonType: _$vue.Ref<"" | "
|
|
4035
|
+
confirmButtonType: _$vue.Ref<"" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
4036
|
+
cancelButtonType: _$vue.Ref<"" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
4036
4037
|
confirmButtonLoading: _$vue.Ref<boolean, boolean>;
|
|
4037
4038
|
cancelButtonLoading: _$vue.Ref<boolean, boolean>;
|
|
4038
4039
|
confirmButtonLoadingIcon: _$vue.Ref<string | _$vue.FunctionalComponent<any, {}, any, {}> | {
|
|
@@ -4577,15 +4578,15 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4577
4578
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
4578
4579
|
onVanish?: ((...args: any[]) => any) | undefined;
|
|
4579
4580
|
}>, {
|
|
4580
|
-
overflow: boolean;
|
|
4581
4581
|
center: boolean;
|
|
4582
|
-
container: string;
|
|
4583
4582
|
closeOnClickModal: boolean;
|
|
4584
4583
|
closeOnPressEscape: boolean;
|
|
4585
4584
|
lockScroll: boolean;
|
|
4586
4585
|
modal: boolean;
|
|
4587
4586
|
draggable: boolean;
|
|
4587
|
+
overflow: boolean;
|
|
4588
4588
|
showClose: boolean;
|
|
4589
|
+
container: string;
|
|
4589
4590
|
roundButton: boolean;
|
|
4590
4591
|
closeOnHashChange: boolean;
|
|
4591
4592
|
boxType: MessageBoxType;
|
|
@@ -4600,21 +4601,21 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4600
4601
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
4601
4602
|
}>, {
|
|
4602
4603
|
ref: _$vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
4603
|
-
size: _$vue.ComputedRef<"" | "
|
|
4604
|
-
type: _$vue.ComputedRef<"" | "
|
|
4604
|
+
size: _$vue.ComputedRef<"" | "small" | "default" | "large">;
|
|
4605
|
+
type: _$vue.ComputedRef<"" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
4605
4606
|
disabled: _$vue.ComputedRef<boolean>;
|
|
4606
4607
|
shouldAddSpace: _$vue.ComputedRef<boolean>;
|
|
4607
4608
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
4608
4609
|
click: (evt: MouseEvent) => void;
|
|
4609
4610
|
}, _$vue.PublicProps, {
|
|
4610
|
-
type: ButtonType;
|
|
4611
4611
|
disabled: boolean;
|
|
4612
4612
|
text: boolean;
|
|
4613
|
+
type: ButtonType;
|
|
4613
4614
|
round: boolean;
|
|
4614
4615
|
dashed: boolean;
|
|
4615
|
-
plain: boolean;
|
|
4616
4616
|
nativeType: ButtonNativeType;
|
|
4617
4617
|
loadingIcon: IconPropType;
|
|
4618
|
+
plain: boolean;
|
|
4618
4619
|
autoInsertSpace: boolean;
|
|
4619
4620
|
tag: string | _$vue.Component;
|
|
4620
4621
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
@@ -4628,19 +4629,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4628
4629
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
4629
4630
|
}>, {
|
|
4630
4631
|
ref: _$vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
4631
|
-
size: _$vue.ComputedRef<"" | "
|
|
4632
|
-
type: _$vue.ComputedRef<"" | "
|
|
4632
|
+
size: _$vue.ComputedRef<"" | "small" | "default" | "large">;
|
|
4633
|
+
type: _$vue.ComputedRef<"" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
4633
4634
|
disabled: _$vue.ComputedRef<boolean>;
|
|
4634
4635
|
shouldAddSpace: _$vue.ComputedRef<boolean>;
|
|
4635
4636
|
}, {}, {}, {}, {
|
|
4636
|
-
type: ButtonType;
|
|
4637
4637
|
disabled: boolean;
|
|
4638
4638
|
text: boolean;
|
|
4639
|
+
type: ButtonType;
|
|
4639
4640
|
round: boolean;
|
|
4640
4641
|
dashed: boolean;
|
|
4641
|
-
plain: boolean;
|
|
4642
4642
|
nativeType: ButtonNativeType;
|
|
4643
4643
|
loadingIcon: IconPropType;
|
|
4644
|
+
plain: boolean;
|
|
4644
4645
|
autoInsertSpace: boolean;
|
|
4645
4646
|
tag: string | _$vue.Component;
|
|
4646
4647
|
}>;
|
|
@@ -4651,21 +4652,21 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4651
4652
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
4652
4653
|
}>, {
|
|
4653
4654
|
ref: _$vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
4654
|
-
size: _$vue.ComputedRef<"" | "
|
|
4655
|
-
type: _$vue.ComputedRef<"" | "
|
|
4655
|
+
size: _$vue.ComputedRef<"" | "small" | "default" | "large">;
|
|
4656
|
+
type: _$vue.ComputedRef<"" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
4656
4657
|
disabled: _$vue.ComputedRef<boolean>;
|
|
4657
4658
|
shouldAddSpace: _$vue.ComputedRef<boolean>;
|
|
4658
4659
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
4659
4660
|
click: (evt: MouseEvent) => void;
|
|
4660
4661
|
}, string, {
|
|
4661
|
-
type: ButtonType;
|
|
4662
4662
|
disabled: boolean;
|
|
4663
4663
|
text: boolean;
|
|
4664
|
+
type: ButtonType;
|
|
4664
4665
|
round: boolean;
|
|
4665
4666
|
dashed: boolean;
|
|
4666
|
-
plain: boolean;
|
|
4667
4667
|
nativeType: ButtonNativeType;
|
|
4668
4668
|
loadingIcon: IconPropType;
|
|
4669
|
+
plain: boolean;
|
|
4669
4670
|
autoInsertSpace: boolean;
|
|
4670
4671
|
tag: string | _$vue.Component;
|
|
4671
4672
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
@@ -4678,9 +4679,9 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4678
4679
|
};
|
|
4679
4680
|
}) & _$vue.ObjectPlugin & {
|
|
4680
4681
|
setPropsDefaults: (defaults: {
|
|
4681
|
-
readonly size?: "" | "
|
|
4682
|
+
readonly size?: "" | "small" | "default" | "large" | (() => "" | "small" | "default" | "large") | undefined;
|
|
4682
4683
|
readonly disabled?: boolean | (() => boolean) | undefined;
|
|
4683
|
-
readonly type?: "" | "
|
|
4684
|
+
readonly type?: "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger" | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | undefined;
|
|
4684
4685
|
readonly icon?: string | _$vue.FunctionalComponent<any, {}, any, {}> | {
|
|
4685
4686
|
new (...args: any[]): any;
|
|
4686
4687
|
__isFragment?: never;
|
|
@@ -4748,18 +4749,18 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4748
4749
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
4749
4750
|
ElInput: SFCWithInstall<{
|
|
4750
4751
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<InputProps> & Readonly<{
|
|
4751
|
-
|
|
4752
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4752
4753
|
onInput?: ((value: string) => any) | undefined;
|
|
4754
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
4755
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
4753
4756
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
4754
|
-
|
|
4757
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4758
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4759
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4760
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4755
4761
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
4756
4762
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
4757
|
-
|
|
4758
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4759
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4760
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4761
|
-
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4762
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4763
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
4763
4764
|
}>, {
|
|
4764
4765
|
input: _$vue.ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
4765
4766
|
textarea: _$vue.ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
@@ -4774,26 +4775,26 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4774
4775
|
clear: (evt?: MouseEvent) => void;
|
|
4775
4776
|
resizeTextarea: () => void;
|
|
4776
4777
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
4777
|
-
|
|
4778
|
+
"update:modelValue": (value: string) => void;
|
|
4778
4779
|
input: (value: string) => void;
|
|
4780
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
4781
|
+
focus: (evt: FocusEvent) => void;
|
|
4779
4782
|
blur: (evt: FocusEvent) => void;
|
|
4780
|
-
|
|
4783
|
+
clear: (evt: MouseEvent | undefined) => void;
|
|
4784
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
4785
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
4786
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
4781
4787
|
compositionstart: (evt: CompositionEvent) => void;
|
|
4782
4788
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
4783
|
-
|
|
4784
|
-
keydown: (evt: Event | KeyboardEvent) => void;
|
|
4785
|
-
mouseenter: (evt: MouseEvent) => void;
|
|
4786
|
-
mouseleave: (evt: MouseEvent) => void;
|
|
4787
|
-
clear: (evt: MouseEvent | undefined) => void;
|
|
4788
|
-
"update:modelValue": (value: string) => void;
|
|
4789
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
4789
4790
|
}, _$vue.PublicProps, {
|
|
4790
|
-
|
|
4791
|
+
modelValue: string | number | null;
|
|
4791
4792
|
disabled: boolean;
|
|
4792
|
-
clearIcon: IconPropType;
|
|
4793
4793
|
validateEvent: boolean;
|
|
4794
|
-
modelValue: string | number | null;
|
|
4795
4794
|
modelModifiers: InputModelModifiers;
|
|
4795
|
+
type: InputType;
|
|
4796
4796
|
autocomplete: string;
|
|
4797
|
+
clearIcon: IconPropType;
|
|
4797
4798
|
wordLimitPosition: "inside" | "outside";
|
|
4798
4799
|
tabindex: string | number;
|
|
4799
4800
|
inputStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
@@ -4806,18 +4807,18 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4806
4807
|
M: {};
|
|
4807
4808
|
Defaults: {};
|
|
4808
4809
|
}, Readonly<InputProps> & Readonly<{
|
|
4809
|
-
|
|
4810
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4810
4811
|
onInput?: ((value: string) => any) | undefined;
|
|
4812
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
4813
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
4811
4814
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
4812
|
-
|
|
4815
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4816
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4817
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4818
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4813
4819
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
4814
4820
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
4815
|
-
|
|
4816
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4817
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4818
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4819
|
-
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4820
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4821
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
4821
4822
|
}>, {
|
|
4822
4823
|
input: _$vue.ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
4823
4824
|
textarea: _$vue.ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
@@ -4832,13 +4833,13 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4832
4833
|
clear: (evt?: MouseEvent) => void;
|
|
4833
4834
|
resizeTextarea: () => void;
|
|
4834
4835
|
}, {}, {}, {}, {
|
|
4835
|
-
|
|
4836
|
+
modelValue: string | number | null;
|
|
4836
4837
|
disabled: boolean;
|
|
4837
|
-
clearIcon: IconPropType;
|
|
4838
4838
|
validateEvent: boolean;
|
|
4839
|
-
modelValue: string | number | null;
|
|
4840
4839
|
modelModifiers: InputModelModifiers;
|
|
4840
|
+
type: InputType;
|
|
4841
4841
|
autocomplete: string;
|
|
4842
|
+
clearIcon: IconPropType;
|
|
4842
4843
|
wordLimitPosition: "inside" | "outside";
|
|
4843
4844
|
tabindex: string | number;
|
|
4844
4845
|
inputStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
@@ -4848,18 +4849,18 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4848
4849
|
__isTeleport?: never;
|
|
4849
4850
|
__isSuspense?: never;
|
|
4850
4851
|
} & _$vue.ComponentOptionsBase<Readonly<InputProps> & Readonly<{
|
|
4851
|
-
|
|
4852
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4852
4853
|
onInput?: ((value: string) => any) | undefined;
|
|
4854
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
4855
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
4853
4856
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
4854
|
-
|
|
4857
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4858
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4859
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4860
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4855
4861
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
4856
4862
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
4857
|
-
|
|
4858
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
4859
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4860
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4861
|
-
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
4862
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4863
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
4863
4864
|
}>, {
|
|
4864
4865
|
input: _$vue.ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
4865
4866
|
textarea: _$vue.ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
@@ -4874,26 +4875,26 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4874
4875
|
clear: (evt?: MouseEvent) => void;
|
|
4875
4876
|
resizeTextarea: () => void;
|
|
4876
4877
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
4877
|
-
|
|
4878
|
+
"update:modelValue": (value: string) => void;
|
|
4878
4879
|
input: (value: string) => void;
|
|
4880
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
4881
|
+
focus: (evt: FocusEvent) => void;
|
|
4879
4882
|
blur: (evt: FocusEvent) => void;
|
|
4880
|
-
|
|
4883
|
+
clear: (evt: MouseEvent | undefined) => void;
|
|
4884
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
4885
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
4886
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
4881
4887
|
compositionstart: (evt: CompositionEvent) => void;
|
|
4882
4888
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
4883
|
-
|
|
4884
|
-
keydown: (evt: Event | KeyboardEvent) => void;
|
|
4885
|
-
mouseenter: (evt: MouseEvent) => void;
|
|
4886
|
-
mouseleave: (evt: MouseEvent) => void;
|
|
4887
|
-
clear: (evt: MouseEvent | undefined) => void;
|
|
4888
|
-
"update:modelValue": (value: string) => void;
|
|
4889
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
4889
4890
|
}, string, {
|
|
4890
|
-
|
|
4891
|
+
modelValue: string | number | null;
|
|
4891
4892
|
disabled: boolean;
|
|
4892
|
-
clearIcon: IconPropType;
|
|
4893
4893
|
validateEvent: boolean;
|
|
4894
|
-
modelValue: string | number | null;
|
|
4895
4894
|
modelModifiers: InputModelModifiers;
|
|
4895
|
+
type: InputType;
|
|
4896
4896
|
autocomplete: string;
|
|
4897
|
+
clearIcon: IconPropType;
|
|
4897
4898
|
wordLimitPosition: "inside" | "outside";
|
|
4898
4899
|
tabindex: string | number;
|
|
4899
4900
|
inputStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
@@ -4916,12 +4917,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4916
4917
|
ElOverlay: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
4917
4918
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
4918
4919
|
readonly customMaskEvent: BooleanConstructor;
|
|
4919
|
-
readonly overlayClass:
|
|
4920
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
4921
|
-
readonly required: false;
|
|
4922
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4923
|
-
__epPropKey: true;
|
|
4924
|
-
};
|
|
4920
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
4925
4921
|
readonly zIndex: {
|
|
4926
4922
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
4927
4923
|
readonly required: false;
|
|
@@ -4935,12 +4931,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4935
4931
|
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
4936
4932
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
4937
4933
|
readonly customMaskEvent: BooleanConstructor;
|
|
4938
|
-
readonly overlayClass:
|
|
4939
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
4940
|
-
readonly required: false;
|
|
4941
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4942
|
-
__epPropKey: true;
|
|
4943
|
-
};
|
|
4934
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
4944
4935
|
readonly zIndex: {
|
|
4945
4936
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
4946
4937
|
readonly required: false;
|
|
@@ -4951,6 +4942,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
4951
4942
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
4952
4943
|
}>, {
|
|
4953
4944
|
readonly mask: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4945
|
+
readonly overlayClass: ClassValue;
|
|
4954
4946
|
readonly customMaskEvent: boolean;
|
|
4955
4947
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
4956
4948
|
ElIcon: SFCWithInstall<{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IconPropType } from "../../../utils/vue/icon.js";
|
|
2
2
|
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
|
3
|
+
import { ClassValue } from "../../../utils/typescript.js";
|
|
3
4
|
import _default from "./notification.vue.js";
|
|
4
5
|
import * as _$vue from "vue";
|
|
5
6
|
import { AppContext, ExtractPublicPropTypes, VNode } from "vue";
|
|
@@ -12,7 +13,7 @@ interface NotificationProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* @description custom class name for Notification
|
|
14
15
|
*/
|
|
15
|
-
customClass?:
|
|
16
|
+
customClass?: ClassValue;
|
|
16
17
|
/**
|
|
17
18
|
* @description whether `message` is treated as HTML string
|
|
18
19
|
*/
|
|
@@ -74,7 +75,7 @@ interface NotificationProps {
|
|
|
74
75
|
* @deprecated Removed after 3.0.0, Use `NotificationProps` instead.
|
|
75
76
|
*/
|
|
76
77
|
declare const notificationProps: {
|
|
77
|
-
readonly customClass: EpPropFinalized<
|
|
78
|
+
readonly customClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, "", boolean>;
|
|
78
79
|
readonly dangerouslyUseHTMLString: BooleanConstructor;
|
|
79
80
|
readonly duration: EpPropFinalized<NumberConstructor, unknown, unknown, 4500, boolean>;
|
|
80
81
|
readonly icon: {
|
|
@@ -112,7 +113,7 @@ declare const notificationProps: {
|
|
|
112
113
|
readonly position: EpPropFinalized<StringConstructor, "top-left" | "top-right" | "bottom-left" | "bottom-right", unknown, "top-right", boolean>;
|
|
113
114
|
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
114
115
|
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
115
|
-
readonly type: EpPropFinalized<StringConstructor, "" | "
|
|
116
|
+
readonly type: EpPropFinalized<StringConstructor, "" | "primary" | "success" | "warning" | "info" | "error", unknown, "", boolean>;
|
|
116
117
|
readonly zIndex: NumberConstructor;
|
|
117
118
|
readonly closeIcon: EpPropFinalized<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown, _$vue.DefineComponent<{}, void, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>, boolean>;
|
|
118
119
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.mjs","names":[],"sources":["../../../../../../packages/components/notification/src/notification.ts"],"sourcesContent":["import { Close } from '@element-plus/icons-vue'\nimport { buildProps, definePropType, iconPropType } from '@element-plus/utils'\n\nimport type { AppContext, ExtractPublicPropTypes, VNode } from 'vue'\nimport type { IconPropType } from '@element-plus/utils'\nimport type Notification from './notification.vue'\n\nexport const notificationTypes = [\n 'primary',\n 'success',\n 'info',\n 'warning',\n 'error',\n] as const\n\nexport type NotificationType = (typeof notificationTypes)[number] | ''\n\nexport type NotificationPosition =\n
|
|
1
|
+
{"version":3,"file":"notification.mjs","names":[],"sources":["../../../../../../packages/components/notification/src/notification.ts"],"sourcesContent":["import { Close } from '@element-plus/icons-vue'\nimport { buildProps, definePropType, iconPropType } from '@element-plus/utils'\n\nimport type { AppContext, ExtractPublicPropTypes, VNode } from 'vue'\nimport type { ClassValue, IconPropType } from '@element-plus/utils'\nimport type Notification from './notification.vue'\n\nexport const notificationTypes = [\n 'primary',\n 'success',\n 'info',\n 'warning',\n 'error',\n] as const\n\nexport type NotificationType = (typeof notificationTypes)[number] | ''\n\nexport type NotificationPosition =\n 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'\n\nexport interface NotificationProps {\n /**\n * @description custom class name for Notification\n */\n customClass?: ClassValue\n /**\n * @description whether `message` is treated as HTML string\n */\n dangerouslyUseHTMLString?: boolean\n /**\n * @description duration before close. It will not automatically close if set 0\n */\n duration?: number\n /**\n * @description custom icon component. It will be overridden by `type`\n */\n icon?: IconPropType\n /**\n * @description notification dom id\n */\n id?: string\n /**\n * @description description text\n */\n message?: string | VNode | (() => VNode)\n /**\n * @description offset from the top edge of the screen. Every Notification instance of the same moment should have the same offset\n */\n offset?: number\n /**\n * @description callback function when notification clicked\n */\n onClick?: () => void\n /**\n * @description callback function when closed\n */\n onClose: () => void\n /**\n * @description custom position\n */\n position?: NotificationPosition\n /**\n * @description whether to show a close button\n */\n showClose?: boolean\n /**\n * @description title\n */\n title?: string\n /**\n * @description notification type\n */\n type?: NotificationType\n /**\n * @description initial zIndex\n */\n zIndex?: number\n /**\n * @description custom close icon, default is Close\n */\n closeIcon?: IconPropType\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `NotificationProps` instead.\n */\nexport const notificationProps = buildProps({\n /**\n * @description custom class name for Notification\n */\n customClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: '',\n },\n /**\n * @description whether `message` is treated as HTML string\n */\n dangerouslyUseHTMLString: Boolean,\n /**\n * @description duration before close. It will not automatically close if set 0\n */\n duration: {\n type: Number,\n default: 4500,\n },\n /**\n * @description custom icon component. It will be overridden by `type`\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description notification dom id\n */\n id: {\n type: String,\n default: '',\n },\n /**\n * @description description text\n */\n message: {\n type: definePropType<string | VNode | (() => VNode)>([\n String,\n Object,\n Function,\n ]),\n default: '',\n },\n /**\n * @description offset from the top edge of the screen. Every Notification instance of the same moment should have the same offset\n */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description callback function when notification clicked\n */\n onClick: {\n type: definePropType<() => void>(Function),\n default: () => undefined,\n },\n /**\n * @description callback function when closed\n */\n onClose: {\n type: definePropType<() => void>(Function),\n required: true,\n },\n /**\n * @description custom position\n */\n position: {\n type: String,\n values: ['top-right', 'top-left', 'bottom-right', 'bottom-left'],\n default: 'top-right',\n },\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description notification type\n */\n type: {\n type: String,\n values: [...notificationTypes, ''],\n default: '',\n },\n /**\n * @description initial zIndex\n */\n zIndex: Number,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n default: Close,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `NotificationProps` instead.\n */\nexport type NotificationPropsPublic = ExtractPublicPropTypes<\n typeof notificationProps\n>\n\nexport const notificationEmits = {\n destroy: () => true,\n}\nexport type NotificationEmits = typeof notificationEmits\n\nexport type NotificationInstance = InstanceType<typeof Notification> & unknown\n\nexport type NotificationOptions = Omit<NotificationProps, 'id' | 'onClose'> & {\n /**\n * @description set the root element for the notification, default to `document.body`\n */\n appendTo?: HTMLElement | string\n /**\n * @description callback function when closed\n */\n onClose?(vm: VNode): void\n}\nexport type NotificationOptionsTyped = Omit<NotificationOptions, 'type'>\n\nexport interface NotificationHandle {\n close: () => void\n}\n\nexport type NotificationParams = Partial<NotificationOptions> | string | VNode\nexport type NotificationParamsTyped =\n Partial<NotificationOptionsTyped> | string | VNode\n\nexport interface NotifyFn {\n (\n options?: NotificationParams,\n appContext?: null | AppContext\n ): NotificationHandle\n closeAll(): void\n updateOffsets(position?: NotificationOptions['position']): void\n _context: AppContext | null\n}\n\nexport type NotifyTypedFn = (\n options?: NotificationParamsTyped,\n appContext?: null | AppContext\n) => NotificationHandle\n\nexport interface Notify extends NotifyFn {\n primary: NotifyTypedFn\n success: NotifyTypedFn\n warning: NotifyTypedFn\n error: NotifyTypedFn\n info: NotifyTypedFn\n}\n\nexport interface NotificationQueueItem {\n vm: VNode\n}\n\nexport type NotificationQueue = NotificationQueueItem[]\n"],"mappings":";;;;AAOA,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACD;;;;AAyED,MAAa,oBAAoB,WAAW;;;;CAI1C,aAAa;EACX,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS;EACV;;;;CAID,0BAA0B;;;;CAI1B,UAAU;EACR,MAAM;EACN,SAAS;EACV;;;;CAID,MAAM,EACJ,MAAM,cACP;;;;CAID,IAAI;EACF,MAAM;EACN,SAAS;EACV;;;;CAID,SAAS;EACP,MAAM,eAA+C;GACnD;GACA;GACA;GACD,CAAC;EACF,SAAS;EACV;;;;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;;;;CAID,SAAS;EACP,MAAM,eAA2B,SAAS;EAC1C,eAAe,KAAA;EAChB;;;;CAID,SAAS;EACP,MAAM,eAA2B,SAAS;EAC1C,UAAU;EACX;;;;CAID,UAAU;EACR,MAAM;EACN,QAAQ;GAAC;GAAa;GAAY;GAAgB;GAAc;EAChE,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,MAAM;EACJ,MAAM;EACN,QAAQ,CAAC,GAAG,mBAAmB,GAAG;EAClC,SAAS;EACV;;;;CAID,QAAQ;;;;CAIR,WAAW;EACT,MAAM;EACN,SAAS;EACV;CACF,CAAU;AASX,MAAa,oBAAoB,EAC/B,eAAe,MAChB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IconPropType } from "../../../utils/vue/icon.js";
|
|
2
|
+
import { ClassValue } from "../../../utils/typescript.js";
|
|
2
3
|
import { NotificationPosition, NotificationProps, NotificationType } from "./notification.js";
|
|
3
4
|
import * as _$vue from "vue";
|
|
4
5
|
|
|
@@ -16,17 +17,17 @@ declare const __VLS_base: _$vue.DefineComponent<NotificationProps, {
|
|
|
16
17
|
}, string, _$vue.PublicProps, Readonly<NotificationProps> & Readonly<{
|
|
17
18
|
onDestroy?: (() => any) | undefined;
|
|
18
19
|
}>, {
|
|
19
|
-
type: NotificationType;
|
|
20
|
-
offset: number;
|
|
21
20
|
id: string;
|
|
22
|
-
|
|
21
|
+
type: NotificationType;
|
|
23
22
|
onClick: () => void;
|
|
24
23
|
position: NotificationPosition;
|
|
24
|
+
offset: number;
|
|
25
25
|
message: string | _$vue.VNode | (() => _$vue.VNode);
|
|
26
|
+
title: string;
|
|
26
27
|
closeIcon: IconPropType;
|
|
27
28
|
showClose: boolean;
|
|
28
29
|
duration: number;
|
|
29
|
-
customClass: string;
|
|
30
|
+
customClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
30
31
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
31
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EpPropFinalized, EpPropMergeType } from "../../utils/vue/props/types.js";
|
|
2
|
+
import { ClassValue } from "../../utils/typescript.js";
|
|
2
3
|
import { OverlayEmits, OverlayProps, OverlayPropsPublic, overlayEmits, overlayProps } from "./src/overlay.js";
|
|
3
4
|
import * as _$vue from "vue";
|
|
4
5
|
import * as _$csstype from "csstype";
|
|
@@ -7,12 +8,7 @@ import * as _$csstype from "csstype";
|
|
|
7
8
|
declare const ElOverlay: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
8
9
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
9
10
|
readonly customMaskEvent: BooleanConstructor;
|
|
10
|
-
readonly overlayClass:
|
|
11
|
-
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
12
|
-
readonly required: false;
|
|
13
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
-
__epPropKey: true;
|
|
15
|
-
};
|
|
11
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
16
12
|
readonly zIndex: {
|
|
17
13
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
18
14
|
readonly required: false;
|
|
@@ -26,12 +22,7 @@ declare const ElOverlay: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
26
22
|
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
27
23
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
24
|
readonly customMaskEvent: BooleanConstructor;
|
|
29
|
-
readonly overlayClass:
|
|
30
|
-
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
31
|
-
readonly required: false;
|
|
32
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
-
__epPropKey: true;
|
|
34
|
-
};
|
|
25
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
35
26
|
readonly zIndex: {
|
|
36
27
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
37
28
|
readonly required: false;
|
|
@@ -42,6 +33,7 @@ declare const ElOverlay: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
42
33
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
43
34
|
}>, {
|
|
44
35
|
readonly mask: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
|
+
readonly overlayClass: ClassValue;
|
|
45
37
|
readonly customMaskEvent: boolean;
|
|
46
38
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
47
39
|
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
|
2
|
+
import { ClassValue } from "../../../utils/typescript.js";
|
|
2
3
|
import * as _$vue from "vue";
|
|
3
4
|
import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
|
|
4
5
|
import * as _$csstype from "csstype";
|
|
@@ -7,12 +8,7 @@ import * as _$csstype from "csstype";
|
|
|
7
8
|
declare const overlayProps: {
|
|
8
9
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
9
10
|
readonly customMaskEvent: BooleanConstructor;
|
|
10
|
-
readonly overlayClass:
|
|
11
|
-
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
12
|
-
readonly required: false;
|
|
13
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
-
__epPropKey: true;
|
|
15
|
-
};
|
|
11
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
16
12
|
readonly zIndex: {
|
|
17
13
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
18
14
|
readonly required: false;
|
|
@@ -29,12 +25,7 @@ type OverlayEmits = typeof overlayEmits;
|
|
|
29
25
|
declare const _default: _$vue.DefineComponent<ExtractPropTypes<{
|
|
30
26
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
31
27
|
readonly customMaskEvent: BooleanConstructor;
|
|
32
|
-
readonly overlayClass:
|
|
33
|
-
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
34
|
-
readonly required: false;
|
|
35
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
-
__epPropKey: true;
|
|
37
|
-
};
|
|
28
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
38
29
|
readonly zIndex: {
|
|
39
30
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
40
31
|
readonly required: false;
|
|
@@ -48,12 +39,7 @@ declare const _default: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
48
39
|
}, string, _$vue.PublicProps, Readonly<ExtractPropTypes<{
|
|
49
40
|
readonly mask: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
50
41
|
readonly customMaskEvent: BooleanConstructor;
|
|
51
|
-
readonly overlayClass:
|
|
52
|
-
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>) | (((new (...args: any[]) => string | string[] | Record<string, boolean>) | (() => string | string[] | Record<string, boolean>)) | null)[], unknown, unknown>>;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
};
|
|
42
|
+
readonly overlayClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
57
43
|
readonly zIndex: {
|
|
58
44
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined) | (((new (...args: any[]) => string | number) | (() => _$csstype.Property.ZIndex | undefined)) | null)[], unknown, unknown>>;
|
|
59
45
|
readonly required: false;
|
|
@@ -64,6 +50,7 @@ declare const _default: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
64
50
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
65
51
|
}>, {
|
|
66
52
|
readonly mask: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
53
|
+
readonly overlayClass: ClassValue;
|
|
67
54
|
readonly customMaskEvent: boolean;
|
|
68
55
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
69
56
|
//#endregion
|
|
@@ -10,11 +10,15 @@ const overlayProps = buildProps({
|
|
|
10
10
|
default: true
|
|
11
11
|
},
|
|
12
12
|
customMaskEvent: Boolean,
|
|
13
|
-
overlayClass: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
overlayClass: {
|
|
14
|
+
type: definePropType([
|
|
15
|
+
String,
|
|
16
|
+
Array,
|
|
17
|
+
Object,
|
|
18
|
+
Boolean
|
|
19
|
+
]),
|
|
20
|
+
default: void 0
|
|
21
|
+
},
|
|
18
22
|
zIndex: { type: definePropType([String, Number]) }
|
|
19
23
|
});
|
|
20
24
|
const overlayEmits = { click: (evt) => evt instanceof MouseEvent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.mjs","names":[],"sources":["../../../../../../packages/components/overlay/src/overlay.ts"],"sourcesContent":["import { createVNode, defineComponent, h, renderSlot } from 'vue'\nimport { PatchFlags, buildProps, definePropType } from '@element-plus/utils'\nimport { useNamespace, useSameTarget } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n ExtractPublicPropTypes,\n} from 'vue'\nimport type { ZIndexType } from '@element-plus/utils'\n\nexport const overlayProps = buildProps({\n mask: {\n type: Boolean,\n default: true,\n },\n customMaskEvent: Boolean,\n overlayClass: {\n type: definePropType<
|
|
1
|
+
{"version":3,"file":"overlay.mjs","names":[],"sources":["../../../../../../packages/components/overlay/src/overlay.ts"],"sourcesContent":["import { createVNode, defineComponent, h, renderSlot } from 'vue'\nimport { PatchFlags, buildProps, definePropType } from '@element-plus/utils'\nimport { useNamespace, useSameTarget } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n ExtractPublicPropTypes,\n} from 'vue'\nimport type { ClassValue, ZIndexType } from '@element-plus/utils'\n\nexport const overlayProps = buildProps({\n mask: {\n type: Boolean,\n default: true,\n },\n customMaskEvent: Boolean,\n overlayClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\n zIndex: {\n type: definePropType<ZIndexType>([String, Number]),\n },\n} as const)\nexport type OverlayProps = ExtractPropTypes<typeof overlayProps>\nexport type OverlayPropsPublic = ExtractPublicPropTypes<typeof overlayProps>\n\nexport const overlayEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type OverlayEmits = typeof overlayEmits\n\nconst BLOCK = 'overlay'\n\nexport default defineComponent({\n name: 'ElOverlay',\n\n props: overlayProps,\n emits: overlayEmits,\n\n setup(props, { slots, emit }) {\n // No reactivity on this prop because when its rendering with a global\n // component, this will be a constant flag.\n const ns = useNamespace(BLOCK)\n\n const onMaskClick = (e: MouseEvent) => {\n emit('click', e)\n }\n\n const { onClick, onMousedown, onMouseup } = useSameTarget(\n props.customMaskEvent ? undefined : onMaskClick\n )\n\n // init here\n return () => {\n // when the vnode meets the same structure but with different change trigger\n // it will not automatically update, thus we simply use h function to manage updating\n return props.mask\n ? createVNode(\n 'div',\n {\n class: [ns.b(), props.overlayClass],\n style: {\n zIndex: props.zIndex,\n },\n onClick,\n onMousedown,\n onMouseup,\n },\n [renderSlot(slots, 'default')],\n PatchFlags.STYLE | PatchFlags.CLASS | PatchFlags.PROPS,\n ['onClick', 'onMouseup', 'onMousedown']\n )\n : h(\n 'div',\n {\n class: props.overlayClass,\n style: {\n zIndex: props.zIndex,\n position: 'fixed',\n top: '0px',\n right: '0px',\n bottom: '0px',\n left: '0px',\n } as CSSProperties,\n },\n [renderSlot(slots, 'default')]\n )\n }\n },\n})\n"],"mappings":";;;;;;AAWA,MAAa,eAAe,WAAW;CACrC,MAAM;EACJ,MAAM;EACN,SAAS;EACV;CACD,iBAAiB;CACjB,cAAc;EACZ,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;CACD,QAAQ,EACN,MAAM,eAA2B,CAAC,QAAQ,OAAO,CAAC,EACnD;CACF,CAAU;AAIX,MAAa,eAAe,EAC1B,QAAQ,QAAoB,eAAe,YAC5C;AAGD,MAAM,QAAQ;AAEd,IAAA,kBAAe,gBAAgB;CAC7B,MAAM;CAEN,OAAO;CACP,OAAO;CAEP,MAAM,OAAO,EAAE,OAAO,QAAQ;EAG5B,MAAM,KAAK,aAAa,MAAM;EAE9B,MAAM,eAAe,MAAkB;GACrC,KAAK,SAAS,EAAE;;EAGlB,MAAM,EAAE,SAAS,aAAa,cAAc,cAC1C,MAAM,kBAAkB,KAAA,IAAY,YACrC;EAGD,aAAa;GAGX,OAAO,MAAM,OACT,YACE,OACA;IACE,OAAO,CAAC,GAAG,GAAG,EAAE,MAAM,aAAa;IACnC,OAAO,EACL,QAAQ,MAAM,QACf;IACD;IACA;IACA;IACD,EACD,CAAC,WAAW,OAAO,UAAU,CAAC,EAAA,IAE9B;IAAC;IAAW;IAAa;IAAc,CACxC,GACD,EACE,OACA;IACE,OAAO,MAAM;IACb,OAAO;KACL,QAAQ,MAAM;KACd,UAAU;KACV,KAAK;KACL,OAAO;KACP,QAAQ;KACR,MAAM;KACP;IACF,EACD,CAAC,WAAW,OAAO,UAAU,CAAC,CAC/B;;;CAGV,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
|
|
|
6
6
|
//#region ../../packages/components/pagination/src/components/jumper.d.ts
|
|
7
7
|
declare const paginationJumperProps: {
|
|
8
8
|
readonly size: {
|
|
9
|
-
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9
|
+
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
10
10
|
readonly required: false;
|
|
11
11
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
12
|
__epPropKey: true;
|