element-pe 2.2.77 → 2.2.79
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/index.css +1 -1
- package/dist/index.full.js +157 -101
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +13 -13
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +157 -101
- package/es/components/autocomplete/index.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.mjs +1 -0
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +61 -23
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +23 -61
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/breadcrumb/index.d.ts +2 -6
- package/es/components/breadcrumb/index.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +56 -11
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -3
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +11 -56
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.mjs +30 -6
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +6 -30
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button.mjs +57 -76
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +76 -57
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.mjs +56 -169
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel2.mjs +169 -56
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +8 -6
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +82 -640
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +4 -3
- package/es/components/cascader/src/cascader2.mjs +647 -82
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.mjs +7 -3
- package/es/components/cascader-panel/src/index.mjs.map +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +209 -116
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +116 -209
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox.mjs +125 -54
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +54 -125
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/collapse/index.d.ts +6 -0
- package/es/components/collapse/src/collapse-item.vue.d.ts +3 -0
- package/es/components/collapse-transition/index.d.ts +6 -0
- package/es/components/collapse-transition/src/collapse-transition.mjs +15 -8
- package/es/components/collapse-transition/src/collapse-transition.mjs.map +1 -1
- package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +3 -0
- package/es/components/color-picker/index.d.ts +3 -3
- package/es/components/color-picker/src/color-picker.vue.d.ts +3 -3
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +23 -76
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +76 -23
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/date-picker/index.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +19 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/es/components/date-picker/src/date-picker.mjs.map +1 -1
- package/es/components/date-picker/src/instance.d.ts +8 -0
- package/es/components/date-picker/src/instance.mjs +2 -0
- package/es/components/date-picker/src/instance.mjs.map +1 -0
- package/es/components/date-picker/src/panel-utils.d.ts +2 -0
- package/es/components/descriptions/src/description2.mjs +1 -1
- package/es/components/descriptions/src/descriptions-row.mjs +64 -7
- package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row2.mjs +7 -64
- package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
- package/es/components/dialog/index.d.ts +48 -45
- package/es/components/dialog/src/dialog-content.d.ts +4 -4
- package/es/components/dialog/src/dialog-content.mjs +4 -16
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +20 -17
- package/es/components/dialog/src/dialog-content2.mjs +9 -8
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +7 -7
- package/es/components/dialog/src/dialog.mjs +3 -12
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +48 -45
- package/es/components/divider/index.mjs +2 -2
- package/es/components/divider/src/divider.mjs +35 -17
- package/es/components/divider/src/divider.mjs.map +1 -1
- package/es/components/divider/src/divider2.mjs +17 -35
- package/es/components/divider/src/divider2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +21 -21
- package/es/components/drawer/src/drawer.d.ts +7 -7
- package/es/components/drawer/src/drawer.vue.d.ts +21 -21
- package/es/components/dropdown/index.d.ts +2 -2
- package/es/components/dropdown/index.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-item.mjs +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +310 -105
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown2.mjs +105 -310
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/focus-trap/src/focus-trap.mjs +1 -1
- package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form-item.mjs +46 -328
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-item2.mjs +328 -46
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +8 -36
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +36 -8
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.mjs +2 -2
- package/es/components/image/src/image.mjs +227 -56
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image2.mjs +56 -227
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/index.mjs +28 -28
- package/es/components/input/index.d.ts +1 -2
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/index.mjs.map +1 -1
- package/es/components/input/src/input.mjs +114 -468
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input2.mjs +468 -114
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input/src/instance.d.ts +2 -0
- package/es/components/input/src/instance.mjs +2 -0
- package/es/components/input/src/instance.mjs.map +1 -0
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +21 -50
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +50 -21
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/index.mjs +4 -4
- package/es/components/menu/src/menu-item-group.mjs +4 -35
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group2.mjs +35 -4
- package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
- package/es/components/menu/src/menu-item.mjs +97 -14
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +14 -97
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.mjs +2 -0
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +151 -67
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +67 -151
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +17 -103
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +103 -17
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +60 -9
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper2.mjs +9 -60
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/components/next.mjs +38 -19
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +19 -38
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.mjs +38 -18
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +18 -38
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +70 -22
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +5 -5
- package/es/components/pagination/src/components/sizes2.mjs +22 -70
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +4 -4
- package/es/components/popconfirm/index.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm2.mjs +1 -1
- package/es/components/popover/index.d.ts +3 -3
- package/es/components/popover/src/popover.vue.d.ts +3 -3
- package/es/components/popover/src/popover2.mjs +1 -1
- package/es/components/popper/index.mjs +4 -4
- package/es/components/popper/src/arrow.mjs +39 -8
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +8 -39
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/trigger.mjs +31 -121
- package/es/components/popper/src/trigger.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +121 -31
- package/es/components/popper/src/trigger2.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-group.mjs +42 -70
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +70 -42
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +92 -258
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +258 -92
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/row/index.d.ts +18 -4
- package/es/components/row/src/row.d.ts +6 -1
- package/es/components/row/src/row.mjs +1 -1
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row.vue.d.ts +18 -4
- package/es/components/row/src/row2.mjs +1 -2
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/thumb.mjs +11 -134
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +134 -11
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/index.d.ts +5 -5
- package/es/components/select/src/select.mjs +16 -18
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +5 -5
- package/es/components/select/src/useSelect.d.ts +10 -4
- package/es/components/select/src/useSelect.mjs +31 -22
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +4 -4
- package/es/components/select-v2/src/select.vue.d.ts +2 -2
- package/es/components/select-v2/src/useSelect.d.ts +2 -2
- package/es/components/slider/index.d.ts +5 -5
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/button.mjs +94 -21
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/button2.mjs +21 -94
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slide.d.ts +4 -4
- package/es/components/slider/src/slider.mjs +96 -237
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +5 -5
- package/es/components/slider/src/slider2.mjs +237 -96
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/switch/index.d.ts +36 -0
- package/es/components/switch/src/switch.d.ts +12 -0
- package/es/components/switch/src/switch.mjs +6 -0
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +36 -0
- package/es/components/switch/src/switch2.mjs +11 -1
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/index.d.ts +1 -0
- package/es/components/table/src/filter-panel.vue.d.ts +2 -2
- package/es/components/table/src/table/utils-helper.d.ts +1 -0
- package/es/components/table/src/table/utils-helper.mjs +4 -0
- package/es/components/table/src/table/utils-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/events-helper.mjs +10 -2
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/watcher-helper.mjs +1 -0
- package/es/components/table/src/table-column/watcher-helper.mjs.map +1 -1
- package/es/components/table/src/table.mjs +2 -0
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +1 -0
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +44 -18
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +18 -44
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +3 -3
- package/es/components/time-select/index.d.ts +20 -20
- package/es/components/time-select/index.mjs +1 -1
- package/es/components/time-select/src/time-select.mjs +55 -132
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +10 -10
- package/es/components/time-select/src/time-select2.mjs +132 -55
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +72 -42
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +42 -72
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/index.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +151 -410
- package/es/components/tooltip/src/tooltip2.mjs +4 -3
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.mjs +1 -1
- package/es/components/tooltip/src/trigger2.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +4 -4
- package/es/components/tooltip-v2/src/content.mjs +50 -114
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +114 -50
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root.mjs +17 -82
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +82 -17
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +21 -78
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +78 -21
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/transfer/index.mjs +2 -2
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +128 -19
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel2.mjs +19 -128
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.mjs +69 -162
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer2.mjs +162 -69
- package/es/components/transfer/src/transfer2.mjs.map +1 -1
- package/es/components/upload/src/upload.d.ts +1 -1
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/hooks/use-focus-controller/index.mjs +0 -1
- package/es/hooks/use-focus-controller/index.mjs.map +1 -1
- package/es/hooks/use-namespace/index.mjs +2 -2
- package/es/hooks/use-namespace/index.mjs.map +1 -1
- package/es/hooks/use-z-index/index.mjs +2 -2
- package/es/hooks/use-z-index/index.mjs.map +1 -1
- package/es/index.mjs +28 -28
- package/lib/components/autocomplete/index.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.js +1 -0
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +61 -24
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +24 -61
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/breadcrumb/index.d.ts +2 -6
- package/lib/components/breadcrumb/index.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb-item.js +56 -11
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -3
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +11 -56
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.js +30 -6
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group2.js +6 -30
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button.js +60 -76
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +76 -60
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.js +57 -169
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel2.js +169 -57
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +8 -6
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +83 -640
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +4 -3
- package/lib/components/cascader/src/cascader2.js +647 -83
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/cascader-panel/src/index.js +6 -2
- package/lib/components/cascader-panel/src/index.js.map +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +209 -116
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +116 -209
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-button.js +1 -1
- package/lib/components/checkbox/src/checkbox.js +125 -55
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +55 -125
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/collapse/index.d.ts +6 -0
- package/lib/components/collapse/src/collapse-item.vue.d.ts +3 -0
- package/lib/components/collapse-transition/index.d.ts +6 -0
- package/lib/components/collapse-transition/src/collapse-transition.js +15 -8
- package/lib/components/collapse-transition/src/collapse-transition.js.map +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +3 -0
- package/lib/components/color-picker/index.d.ts +3 -3
- package/lib/components/color-picker/src/color-picker.vue.d.ts +3 -3
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +24 -76
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +76 -24
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/date-picker/index.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +19 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/lib/components/date-picker/src/date-picker.js.map +1 -1
- package/lib/components/date-picker/src/instance.d.ts +8 -0
- package/lib/components/date-picker/src/instance.js +3 -0
- package/lib/components/date-picker/src/instance.js.map +1 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +2 -0
- package/lib/components/descriptions/src/description2.js +1 -1
- package/lib/components/descriptions/src/descriptions-row.js +64 -7
- package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row2.js +7 -64
- package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
- package/lib/components/dialog/index.d.ts +48 -45
- package/lib/components/dialog/src/dialog-content.d.ts +4 -4
- package/lib/components/dialog/src/dialog-content.js +4 -16
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +20 -17
- package/lib/components/dialog/src/dialog-content2.js +9 -8
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +7 -7
- package/lib/components/dialog/src/dialog.js +3 -12
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +48 -45
- package/lib/components/divider/index.js +2 -2
- package/lib/components/divider/src/divider.js +35 -17
- package/lib/components/divider/src/divider.js.map +1 -1
- package/lib/components/divider/src/divider2.js +17 -35
- package/lib/components/divider/src/divider2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +21 -21
- package/lib/components/drawer/src/drawer.d.ts +7 -7
- package/lib/components/drawer/src/drawer.vue.d.ts +21 -21
- package/lib/components/dropdown/index.d.ts +2 -2
- package/lib/components/dropdown/index.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-item.js +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +310 -114
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown2.js +114 -310
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/focus-trap/src/focus-trap.js +1 -1
- package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form-item.js +47 -332
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-item2.js +332 -47
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +8 -36
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +36 -8
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.js +2 -2
- package/lib/components/image/src/image.js +226 -56
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image2.js +56 -226
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/index.js +28 -28
- package/lib/components/input/index.d.ts +1 -2
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/input/src/input.js +114 -467
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input2.js +467 -114
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input/src/instance.d.ts +2 -0
- package/lib/components/input/src/instance.js +3 -0
- package/lib/components/input/src/instance.js.map +1 -0
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +22 -50
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +50 -22
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/index.js +4 -4
- package/lib/components/menu/src/menu-item-group.js +4 -35
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item-group2.js +35 -4
- package/lib/components/menu/src/menu-item-group2.js.map +1 -1
- package/lib/components/menu/src/menu-item.js +97 -15
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +15 -97
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/menu/src/sub-menu.js +2 -0
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +150 -68
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +68 -150
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +18 -103
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +103 -18
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +60 -9
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper2.js +9 -60
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/components/next.js +38 -19
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +19 -38
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.js +38 -19
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +19 -38
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +70 -22
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +5 -5
- package/lib/components/pagination/src/components/sizes2.js +22 -70
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +4 -4
- package/lib/components/popconfirm/index.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm2.js +1 -1
- package/lib/components/popover/index.d.ts +3 -3
- package/lib/components/popover/src/popover.vue.d.ts +3 -3
- package/lib/components/popover/src/popover2.js +1 -1
- package/lib/components/popper/index.js +4 -4
- package/lib/components/popper/src/arrow.js +39 -9
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +9 -39
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/trigger.js +32 -121
- package/lib/components/popper/src/trigger.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +121 -32
- package/lib/components/popper/src/trigger2.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-group.js +43 -70
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +70 -43
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +92 -257
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +257 -92
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/row/index.d.ts +18 -4
- package/lib/components/row/src/row.d.ts +6 -1
- package/lib/components/row/src/row.js +1 -1
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row.vue.d.ts +18 -4
- package/lib/components/row/src/row2.js +1 -2
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/thumb.js +11 -134
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +134 -11
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/index.d.ts +5 -5
- package/lib/components/select/src/select.js +16 -18
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +5 -5
- package/lib/components/select/src/useSelect.d.ts +10 -4
- package/lib/components/select/src/useSelect.js +30 -21
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +4 -4
- package/lib/components/select-v2/src/select.vue.d.ts +2 -2
- package/lib/components/select-v2/src/useSelect.d.ts +2 -2
- package/lib/components/slider/index.d.ts +5 -5
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/button.js +94 -22
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/button2.js +22 -94
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/composables/use-slide.d.ts +4 -4
- package/lib/components/slider/src/slider.js +97 -237
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +5 -5
- package/lib/components/slider/src/slider2.js +237 -97
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/switch/index.d.ts +36 -0
- package/lib/components/switch/src/switch.d.ts +12 -0
- package/lib/components/switch/src/switch.js +6 -0
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +36 -0
- package/lib/components/switch/src/switch2.js +11 -1
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/index.d.ts +1 -0
- package/lib/components/table/src/filter-panel.vue.d.ts +2 -2
- package/lib/components/table/src/table/utils-helper.d.ts +1 -0
- package/lib/components/table/src/table/utils-helper.js +4 -0
- package/lib/components/table/src/table/utils-helper.js.map +1 -1
- package/lib/components/table/src/table-body/events-helper.js +10 -2
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/table/src/table-column/watcher-helper.js +1 -0
- package/lib/components/table/src/table-column/watcher-helper.js.map +1 -1
- package/lib/components/table/src/table.js +2 -0
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +1 -0
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +44 -18
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +18 -44
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +3 -3
- package/lib/components/time-select/index.d.ts +20 -20
- package/lib/components/time-select/index.js +1 -1
- package/lib/components/time-select/src/time-select.js +55 -137
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +10 -10
- package/lib/components/time-select/src/time-select2.js +137 -55
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +72 -42
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +42 -72
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/index.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +151 -410
- package/lib/components/tooltip/src/tooltip2.js +4 -3
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.js +1 -1
- package/lib/components/tooltip/src/trigger2.js +1 -1
- package/lib/components/tooltip-v2/index.js +4 -4
- package/lib/components/tooltip-v2/src/content.js +50 -114
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content2.js +114 -50
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/root.js +17 -82
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +82 -17
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +21 -78
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +78 -21
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/transfer/index.js +2 -2
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +128 -21
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel2.js +21 -128
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.js +73 -162
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer2.js +162 -73
- package/lib/components/transfer/src/transfer2.js.map +1 -1
- package/lib/components/upload/src/upload.d.ts +1 -1
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/hooks/use-focus-controller/index.js +0 -1
- package/lib/hooks/use-focus-controller/index.js.map +1 -1
- package/lib/hooks/use-namespace/index.js +1 -1
- package/lib/hooks/use-namespace/index.js.map +1 -1
- package/lib/hooks/use-z-index/index.js +1 -1
- package/lib/hooks/use-z-index/index.js.map +1 -1
- package/lib/index.js +28 -28
- package/package.json +1 -1
- package/theme-chalk/el-avatar.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-menu.css +1 -1
- package/theme-chalk/el-row.css +1 -1
- package/theme-chalk/el-tree.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/avatar.scss +1 -0
- package/theme-chalk/src/input.scss +1 -1
- package/theme-chalk/src/menu.scss +4 -6
- package/theme-chalk/src/row.scss +3 -0
- package/theme-chalk/src/tree.scss +1 -0
- package/web-types.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
readonly appendToBody:
|
|
2
|
+
readonly appendToBody: BooleanConstructor;
|
|
3
3
|
readonly beforeClose: {
|
|
4
4
|
readonly type: import("vue").PropType<import("./src/dialog").DialogBeforeCloseFn>;
|
|
5
5
|
readonly required: false;
|
|
6
6
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7
7
|
__epPropKey: true;
|
|
8
8
|
};
|
|
9
|
-
readonly destroyOnClose:
|
|
9
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
10
10
|
readonly closeOnClickModal: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
readonly closeOnPressEscape: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12
12
|
readonly lockScroll: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -19,7 +19,7 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
19
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
|
-
readonly modelValue:
|
|
22
|
+
readonly modelValue: BooleanConstructor;
|
|
23
23
|
readonly modalClass: StringConstructor;
|
|
24
24
|
readonly width: {
|
|
25
25
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -40,8 +40,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
|
-
readonly center:
|
|
44
|
-
readonly alignCenter:
|
|
43
|
+
readonly center: BooleanConstructor;
|
|
44
|
+
readonly alignCenter: BooleanConstructor;
|
|
45
45
|
readonly closeIcon: {
|
|
46
46
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
47
47
|
readonly required: false;
|
|
@@ -49,21 +49,21 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
49
49
|
__epPropKey: true;
|
|
50
50
|
};
|
|
51
51
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
52
|
-
readonly draggable:
|
|
53
|
-
readonly fullscreen:
|
|
52
|
+
readonly draggable: BooleanConstructor;
|
|
53
|
+
readonly fullscreen: BooleanConstructor;
|
|
54
54
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
55
55
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
56
56
|
}, {
|
|
57
57
|
forEditor: import("vue").Ref<import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined>;
|
|
58
58
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
readonly appendToBody:
|
|
59
|
+
readonly appendToBody: BooleanConstructor;
|
|
60
60
|
readonly beforeClose: {
|
|
61
61
|
readonly type: import("vue").PropType<import("./src/dialog").DialogBeforeCloseFn>;
|
|
62
62
|
readonly required: false;
|
|
63
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
64
|
__epPropKey: true;
|
|
65
65
|
};
|
|
66
|
-
readonly destroyOnClose:
|
|
66
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
67
67
|
readonly closeOnClickModal: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
68
68
|
readonly closeOnPressEscape: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
69
|
readonly lockScroll: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -76,7 +76,7 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
|
-
readonly modelValue:
|
|
79
|
+
readonly modelValue: BooleanConstructor;
|
|
80
80
|
readonly modalClass: StringConstructor;
|
|
81
81
|
readonly width: {
|
|
82
82
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -97,8 +97,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
97
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
98
|
__epPropKey: true;
|
|
99
99
|
};
|
|
100
|
-
readonly center:
|
|
101
|
-
readonly alignCenter:
|
|
100
|
+
readonly center: BooleanConstructor;
|
|
101
|
+
readonly alignCenter: BooleanConstructor;
|
|
102
102
|
readonly closeIcon: {
|
|
103
103
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
104
104
|
readonly required: false;
|
|
@@ -106,8 +106,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
106
106
|
__epPropKey: true;
|
|
107
107
|
};
|
|
108
108
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
109
|
-
readonly draggable:
|
|
110
|
-
readonly fullscreen:
|
|
109
|
+
readonly draggable: BooleanConstructor;
|
|
110
|
+
readonly fullscreen: BooleanConstructor;
|
|
111
111
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
112
112
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
113
113
|
}>> & {
|
|
@@ -236,8 +236,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
236
236
|
focusStartEl: HTMLElement | "first" | "container";
|
|
237
237
|
}>;
|
|
238
238
|
ElDialogContent: import("vue").DefineComponent<{
|
|
239
|
-
readonly center:
|
|
240
|
-
readonly alignCenter:
|
|
239
|
+
readonly center: BooleanConstructor;
|
|
240
|
+
readonly alignCenter: BooleanConstructor;
|
|
241
241
|
readonly closeIcon: {
|
|
242
242
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
243
243
|
readonly required: false;
|
|
@@ -245,8 +245,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
245
245
|
__epPropKey: true;
|
|
246
246
|
};
|
|
247
247
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
248
|
-
readonly draggable:
|
|
249
|
-
readonly fullscreen:
|
|
248
|
+
readonly draggable: BooleanConstructor;
|
|
249
|
+
readonly fullscreen: BooleanConstructor;
|
|
250
250
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
251
251
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
252
252
|
readonly widget: StringConstructor;
|
|
@@ -254,8 +254,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
254
254
|
t: import("../..").Translator;
|
|
255
255
|
Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
256
256
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
257
|
-
readonly center:
|
|
258
|
-
readonly alignCenter:
|
|
257
|
+
readonly center: BooleanConstructor;
|
|
258
|
+
readonly alignCenter: BooleanConstructor;
|
|
259
259
|
readonly closeIcon: {
|
|
260
260
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
261
261
|
readonly required: false;
|
|
@@ -263,8 +263,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
263
263
|
__epPropKey: true;
|
|
264
264
|
};
|
|
265
265
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
266
|
-
readonly draggable:
|
|
267
|
-
readonly fullscreen:
|
|
266
|
+
readonly draggable: BooleanConstructor;
|
|
267
|
+
readonly fullscreen: BooleanConstructor;
|
|
268
268
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
269
269
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
270
270
|
readonly widget: StringConstructor;
|
|
@@ -294,8 +294,11 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
294
294
|
};
|
|
295
295
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
296
296
|
focusTrapRef: import("vue").Ref<HTMLElement | undefined>;
|
|
297
|
+
dialogKls: import("vue").ComputedRef<(string | {
|
|
298
|
+
[x: string]: boolean;
|
|
299
|
+
})[]>;
|
|
297
300
|
composedDialogRef: (el: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null) => void;
|
|
298
|
-
draggable: import("vue").ComputedRef<
|
|
301
|
+
draggable: import("vue").ComputedRef<boolean>;
|
|
299
302
|
ElIcon: import("element-pe/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
300
303
|
readonly size: {
|
|
301
304
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -362,8 +365,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
362
365
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
363
366
|
close: () => boolean;
|
|
364
367
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
365
|
-
readonly center:
|
|
366
|
-
readonly alignCenter:
|
|
368
|
+
readonly center: BooleanConstructor;
|
|
369
|
+
readonly alignCenter: BooleanConstructor;
|
|
367
370
|
readonly closeIcon: {
|
|
368
371
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
369
372
|
readonly required: false;
|
|
@@ -371,8 +374,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
371
374
|
__epPropKey: true;
|
|
372
375
|
};
|
|
373
376
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
374
|
-
readonly draggable:
|
|
375
|
-
readonly fullscreen:
|
|
377
|
+
readonly draggable: BooleanConstructor;
|
|
378
|
+
readonly fullscreen: BooleanConstructor;
|
|
376
379
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
377
380
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
378
381
|
readonly widget: StringConstructor;
|
|
@@ -380,12 +383,12 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
380
383
|
onClose?: (() => any) | undefined;
|
|
381
384
|
}, {
|
|
382
385
|
readonly title: string;
|
|
383
|
-
readonly center:
|
|
384
|
-
readonly alignCenter: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
386
|
+
readonly center: boolean;
|
|
385
387
|
readonly customClass: string;
|
|
386
|
-
readonly draggable: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
387
|
-
readonly fullscreen: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
388
388
|
readonly showClose: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
389
|
+
readonly alignCenter: boolean;
|
|
390
|
+
readonly draggable: boolean;
|
|
391
|
+
readonly fullscreen: boolean;
|
|
389
392
|
}>;
|
|
390
393
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
391
394
|
open: () => boolean;
|
|
@@ -396,14 +399,14 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
396
399
|
openAutoFocus: () => boolean;
|
|
397
400
|
closeAutoFocus: () => boolean;
|
|
398
401
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
399
|
-
readonly appendToBody:
|
|
402
|
+
readonly appendToBody: BooleanConstructor;
|
|
400
403
|
readonly beforeClose: {
|
|
401
404
|
readonly type: import("vue").PropType<import("./src/dialog").DialogBeforeCloseFn>;
|
|
402
405
|
readonly required: false;
|
|
403
406
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
404
407
|
__epPropKey: true;
|
|
405
408
|
};
|
|
406
|
-
readonly destroyOnClose:
|
|
409
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
407
410
|
readonly closeOnClickModal: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
408
411
|
readonly closeOnPressEscape: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
409
412
|
readonly lockScroll: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -416,7 +419,7 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
416
419
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
417
420
|
__epPropKey: true;
|
|
418
421
|
};
|
|
419
|
-
readonly modelValue:
|
|
422
|
+
readonly modelValue: BooleanConstructor;
|
|
420
423
|
readonly modalClass: StringConstructor;
|
|
421
424
|
readonly width: {
|
|
422
425
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -437,8 +440,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
437
440
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
438
441
|
__epPropKey: true;
|
|
439
442
|
};
|
|
440
|
-
readonly center:
|
|
441
|
-
readonly alignCenter:
|
|
443
|
+
readonly center: BooleanConstructor;
|
|
444
|
+
readonly alignCenter: BooleanConstructor;
|
|
442
445
|
readonly closeIcon: {
|
|
443
446
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
444
447
|
readonly required: false;
|
|
@@ -446,8 +449,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
446
449
|
__epPropKey: true;
|
|
447
450
|
};
|
|
448
451
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
449
|
-
readonly draggable:
|
|
450
|
-
readonly fullscreen:
|
|
452
|
+
readonly draggable: BooleanConstructor;
|
|
453
|
+
readonly fullscreen: BooleanConstructor;
|
|
451
454
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
452
455
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
453
456
|
}>> & {
|
|
@@ -460,15 +463,13 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
460
463
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
461
464
|
}, {
|
|
462
465
|
readonly title: string;
|
|
463
|
-
readonly center:
|
|
464
|
-
readonly modelValue:
|
|
465
|
-
readonly alignCenter: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
466
|
+
readonly center: boolean;
|
|
467
|
+
readonly modelValue: boolean;
|
|
466
468
|
readonly customClass: string;
|
|
467
|
-
readonly draggable: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
468
|
-
readonly fullscreen: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
469
469
|
readonly showClose: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
470
|
+
readonly alignCenter: boolean;
|
|
471
|
+
readonly draggable: boolean;
|
|
472
|
+
readonly fullscreen: boolean;
|
|
472
473
|
readonly closeOnClickModal: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
473
474
|
readonly closeOnPressEscape: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
474
475
|
readonly lockScroll: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -476,6 +477,8 @@ export declare const ElDialog: import("element-pe/es/utils").SFCWithInstall<impo
|
|
|
476
477
|
readonly openDelay: number;
|
|
477
478
|
readonly closeDelay: number;
|
|
478
479
|
readonly trapFocus: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
480
|
+
readonly appendToBody: boolean;
|
|
481
|
+
readonly destroyOnClose: boolean;
|
|
479
482
|
}>> & Record<string, any>;
|
|
480
483
|
export default ElDialog;
|
|
481
484
|
export * from './src/use-dialog';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const dialogContentProps: {
|
|
2
|
-
readonly center:
|
|
3
|
-
readonly alignCenter:
|
|
2
|
+
readonly center: BooleanConstructor;
|
|
3
|
+
readonly alignCenter: BooleanConstructor;
|
|
4
4
|
readonly closeIcon: {
|
|
5
5
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
6
6
|
readonly required: false;
|
|
@@ -8,8 +8,8 @@ export declare const dialogContentProps: {
|
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
10
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
-
readonly draggable:
|
|
12
|
-
readonly fullscreen:
|
|
11
|
+
readonly draggable: BooleanConstructor;
|
|
12
|
+
readonly fullscreen: BooleanConstructor;
|
|
13
13
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
15
15
|
readonly widget: StringConstructor;
|
|
@@ -7,14 +7,8 @@ var runtime = require('../../../utils/vue/props/runtime.js');
|
|
|
7
7
|
var icon = require('../../../utils/vue/icon.js');
|
|
8
8
|
|
|
9
9
|
const dialogContentProps = runtime.buildProps({
|
|
10
|
-
center:
|
|
11
|
-
|
|
12
|
-
default: false
|
|
13
|
-
},
|
|
14
|
-
alignCenter: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false
|
|
17
|
-
},
|
|
10
|
+
center: Boolean,
|
|
11
|
+
alignCenter: Boolean,
|
|
18
12
|
closeIcon: {
|
|
19
13
|
type: icon.iconPropType
|
|
20
14
|
},
|
|
@@ -22,14 +16,8 @@ const dialogContentProps = runtime.buildProps({
|
|
|
22
16
|
type: String,
|
|
23
17
|
default: ""
|
|
24
18
|
},
|
|
25
|
-
draggable:
|
|
26
|
-
|
|
27
|
-
default: false
|
|
28
|
-
},
|
|
29
|
-
fullscreen: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: false
|
|
32
|
-
},
|
|
19
|
+
draggable: Boolean,
|
|
20
|
+
fullscreen: Boolean,
|
|
33
21
|
showClose: {
|
|
34
22
|
type: Boolean,
|
|
35
23
|
default: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n center
|
|
1
|
+
{"version":3,"file":"dialog-content.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @deprecated will be removed in version 2.4.0, please use class\n */\n customClass: {\n type: String,\n default: '',\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n widget: String,\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,kBAAkB,GAAGA,kBAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly center:
|
|
3
|
-
readonly alignCenter:
|
|
2
|
+
readonly center: BooleanConstructor;
|
|
3
|
+
readonly alignCenter: BooleanConstructor;
|
|
4
4
|
readonly closeIcon: {
|
|
5
5
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
6
6
|
readonly required: false;
|
|
@@ -8,8 +8,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
10
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
-
readonly draggable:
|
|
12
|
-
readonly fullscreen:
|
|
11
|
+
readonly draggable: BooleanConstructor;
|
|
12
|
+
readonly fullscreen: BooleanConstructor;
|
|
13
13
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
15
15
|
readonly widget: StringConstructor;
|
|
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
t: import("element-pe/es/hooks").Translator;
|
|
18
18
|
Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
19
19
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
readonly center:
|
|
21
|
-
readonly alignCenter:
|
|
20
|
+
readonly center: BooleanConstructor;
|
|
21
|
+
readonly alignCenter: BooleanConstructor;
|
|
22
22
|
readonly closeIcon: {
|
|
23
23
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
24
24
|
readonly required: false;
|
|
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
__epPropKey: true;
|
|
27
27
|
};
|
|
28
28
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
29
|
-
readonly draggable:
|
|
30
|
-
readonly fullscreen:
|
|
29
|
+
readonly draggable: BooleanConstructor;
|
|
30
|
+
readonly fullscreen: BooleanConstructor;
|
|
31
31
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
32
32
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
33
33
|
readonly widget: StringConstructor;
|
|
@@ -57,8 +57,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
};
|
|
58
58
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
59
59
|
focusTrapRef: import("vue").Ref<HTMLElement | undefined>;
|
|
60
|
+
dialogKls: import("vue").ComputedRef<(string | {
|
|
61
|
+
[x: string]: boolean;
|
|
62
|
+
})[]>;
|
|
60
63
|
composedDialogRef: (el: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null) => void;
|
|
61
|
-
draggable: import("vue").ComputedRef<
|
|
64
|
+
draggable: import("vue").ComputedRef<boolean>;
|
|
62
65
|
ElIcon: import("element-pe/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
63
66
|
readonly size: {
|
|
64
67
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -125,8 +128,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
128
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
129
|
close: () => boolean;
|
|
127
130
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
-
readonly center:
|
|
129
|
-
readonly alignCenter:
|
|
131
|
+
readonly center: BooleanConstructor;
|
|
132
|
+
readonly alignCenter: BooleanConstructor;
|
|
130
133
|
readonly closeIcon: {
|
|
131
134
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
132
135
|
readonly required: false;
|
|
@@ -134,8 +137,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
134
137
|
__epPropKey: true;
|
|
135
138
|
};
|
|
136
139
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
137
|
-
readonly draggable:
|
|
138
|
-
readonly fullscreen:
|
|
140
|
+
readonly draggable: BooleanConstructor;
|
|
141
|
+
readonly fullscreen: BooleanConstructor;
|
|
139
142
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
140
143
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
141
144
|
readonly widget: StringConstructor;
|
|
@@ -143,11 +146,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
146
|
onClose?: (() => any) | undefined;
|
|
144
147
|
}, {
|
|
145
148
|
readonly title: string;
|
|
146
|
-
readonly center:
|
|
147
|
-
readonly alignCenter: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
|
+
readonly center: boolean;
|
|
148
150
|
readonly customClass: string;
|
|
149
|
-
readonly draggable: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
150
|
-
readonly fullscreen: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
151
151
|
readonly showClose: import("element-pe/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
|
+
readonly alignCenter: boolean;
|
|
153
|
+
readonly draggable: boolean;
|
|
154
|
+
readonly fullscreen: boolean;
|
|
152
155
|
}>;
|
|
153
156
|
export default _default;
|
|
@@ -32,20 +32,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
32
32
|
const { Close } = icon.CloseComponents;
|
|
33
33
|
const { dialogRef, headerRef, bodyId, ns, style } = vue.inject(constants.dialogInjectionKey);
|
|
34
34
|
const { focusTrapRef } = vue.inject(tokens.FOCUS_TRAP_INJECTION_KEY);
|
|
35
|
+
const dialogKls = vue.computed(() => [
|
|
36
|
+
ns.b(),
|
|
37
|
+
ns.is("fullscreen", props.fullscreen),
|
|
38
|
+
ns.is("draggable", props.draggable),
|
|
39
|
+
ns.is("align-center", props.alignCenter),
|
|
40
|
+
{ [ns.m("center")]: props.center },
|
|
41
|
+
props.customClass
|
|
42
|
+
]);
|
|
35
43
|
const composedDialogRef = refs.composeRefs(focusTrapRef, dialogRef);
|
|
36
44
|
const draggable = vue.computed(() => props.draggable);
|
|
37
45
|
index$1.useDraggable(dialogRef, headerRef, draggable);
|
|
38
46
|
return (_ctx, _cache) => {
|
|
39
47
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
40
48
|
ref: vue.unref(composedDialogRef),
|
|
41
|
-
class: vue.normalizeClass(
|
|
42
|
-
vue.unref(ns).b(),
|
|
43
|
-
vue.unref(ns).is("fullscreen", _ctx.fullscreen),
|
|
44
|
-
vue.unref(ns).is("draggable", vue.unref(draggable)),
|
|
45
|
-
vue.unref(ns).is("align-center", _ctx.alignCenter),
|
|
46
|
-
{ [vue.unref(ns).m("center")]: _ctx.center },
|
|
47
|
-
_ctx.customClass
|
|
48
|
-
]),
|
|
49
|
+
class: vue.normalizeClass(vue.unref(dialogKls)),
|
|
49
50
|
style: vue.normalizeStyle(vue.unref(style)),
|
|
50
51
|
tabindex: "-1",
|
|
51
52
|
widget: _ctx.widget
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content2.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div
|
|
1
|
+
{"version":3,"file":"dialog-content2.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\"\n :widget=\"widget\"\n >\n <header ref=\"headerRef\" :class=\"ns.e('header')\"\n :widget=\"widget ? 'dialog:header:' + widget.split(':')[1] : undefined\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"ns.e('body')\"\n :widget=\"widget ? 'dialog:default:' + widget.split(':')[1] : undefined\"\n >\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"ns.e('footer')\"\n :widget=\"widget ? 'dialog:footer:' + widget.split(':')[1] : undefined\"\n >\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n props.customClass,\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nuseDraggable(dialogRef, headerRef, draggable)\n</script>\n"],"names":["useLocale","CloseComponents","inject","dialogInjectionKey","FOCUS_TRAP_INJECTION_KEY","computed","composeRefs","useDraggable"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;uCAiDc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,MAAMA,eAAU,EAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAU,EAAA,GAAAC,oBAAA,CAAA;AAMlB,IAAA,MAAM,EAAE,SAAW,EAAA,SAAA,EAAW,QAAQ,EAAI,EAAA,KAAA,EAAA,GAAUC,WAAOC,4BAAkB,CAAA,CAAA;AAC7E,IAAM,MAAA,EAAE,YAAiB,EAAA,GAAAD,UAAA,CAAOE,+BAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAYC,aAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAA,CAAG,EAAE,QAAQ,CAAA,GAAI,MAAM,MAAO,EAAA;AAAA,MACjC,KAAM,CAAA,WAAA;AAAA,KACP,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoBC,gBAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAAD,YAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAaE,oBAAA,CAAA,SAAA,EAAW,WAAW,SAAS,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,14 +2,14 @@ import type { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
declare type DoneFn = (cancel?: boolean) => void;
|
|
3
3
|
export declare type DialogBeforeCloseFn = (done: DoneFn) => void;
|
|
4
4
|
export declare const dialogProps: {
|
|
5
|
-
readonly appendToBody:
|
|
5
|
+
readonly appendToBody: BooleanConstructor;
|
|
6
6
|
readonly beforeClose: {
|
|
7
7
|
readonly type: import("vue").PropType<DialogBeforeCloseFn>;
|
|
8
8
|
readonly required: false;
|
|
9
9
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
|
-
readonly destroyOnClose:
|
|
12
|
+
readonly destroyOnClose: BooleanConstructor;
|
|
13
13
|
readonly closeOnClickModal: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly closeOnPressEscape: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
15
15
|
readonly lockScroll: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -22,7 +22,7 @@ export declare const dialogProps: {
|
|
|
22
22
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
23
23
|
__epPropKey: true;
|
|
24
24
|
};
|
|
25
|
-
readonly modelValue:
|
|
25
|
+
readonly modelValue: BooleanConstructor;
|
|
26
26
|
readonly modalClass: StringConstructor;
|
|
27
27
|
readonly width: {
|
|
28
28
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -43,8 +43,8 @@ export declare const dialogProps: {
|
|
|
43
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
45
45
|
};
|
|
46
|
-
readonly center:
|
|
47
|
-
readonly alignCenter:
|
|
46
|
+
readonly center: BooleanConstructor;
|
|
47
|
+
readonly alignCenter: BooleanConstructor;
|
|
48
48
|
readonly closeIcon: {
|
|
49
49
|
readonly type: import("vue").PropType<import("element-pe/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
50
50
|
readonly required: false;
|
|
@@ -52,8 +52,8 @@ export declare const dialogProps: {
|
|
|
52
52
|
__epPropKey: true;
|
|
53
53
|
};
|
|
54
54
|
readonly customClass: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
55
|
-
readonly draggable:
|
|
56
|
-
readonly fullscreen:
|
|
55
|
+
readonly draggable: BooleanConstructor;
|
|
56
|
+
readonly fullscreen: BooleanConstructor;
|
|
57
57
|
readonly showClose: import("element-pe/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
58
58
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
59
59
|
};
|
|
@@ -11,17 +11,11 @@ var types = require('../../../utils/types.js');
|
|
|
11
11
|
|
|
12
12
|
const dialogProps = runtime.buildProps({
|
|
13
13
|
...dialogContent.dialogContentProps,
|
|
14
|
-
appendToBody:
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false
|
|
17
|
-
},
|
|
14
|
+
appendToBody: Boolean,
|
|
18
15
|
beforeClose: {
|
|
19
16
|
type: runtime.definePropType(Function)
|
|
20
17
|
},
|
|
21
|
-
destroyOnClose:
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: false
|
|
24
|
-
},
|
|
18
|
+
destroyOnClose: Boolean,
|
|
25
19
|
closeOnClickModal: {
|
|
26
20
|
type: Boolean,
|
|
27
21
|
default: true
|
|
@@ -49,10 +43,7 @@ const dialogProps = runtime.buildProps({
|
|
|
49
43
|
top: {
|
|
50
44
|
type: String
|
|
51
45
|
},
|
|
52
|
-
modelValue:
|
|
53
|
-
type: Boolean,
|
|
54
|
-
default: false
|
|
55
|
-
},
|
|
46
|
+
modelValue: Boolean,
|
|
56
47
|
modalClass: String,
|
|
57
48
|
width: {
|
|
58
49
|
type: [String, Number]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","sources":["../../../../../../packages/components/dialog/src/dialog.ts"],"sourcesContent":["import { buildProps, definePropType, isBoolean } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { dialogContentProps } from './dialog-content'\n\nimport type { ExtractPropTypes } from 'vue'\n\ntype DoneFn = (cancel?: boolean) => void\nexport type DialogBeforeCloseFn = (done: DoneFn) => void\n\nexport const dialogProps = buildProps({\n ...dialogContentProps,\n
|
|
1
|
+
{"version":3,"file":"dialog.js","sources":["../../../../../../packages/components/dialog/src/dialog.ts"],"sourcesContent":["import { buildProps, definePropType, isBoolean } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { dialogContentProps } from './dialog-content'\n\nimport type { ExtractPropTypes } from 'vue'\n\ntype DoneFn = (cancel?: boolean) => void\nexport type DialogBeforeCloseFn = (done: DoneFn) => void\n\nexport const dialogProps = buildProps({\n ...dialogContentProps,\n /**\n * @description whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true`\n */\n appendToBody: Boolean,\n /**\n * @description callback before Dialog closes, and it will prevent Dialog from closing, use done to close the dialog\n */\n beforeClose: {\n type: definePropType<DialogBeforeCloseFn>(Function),\n },\n /**\n * @description destroy elements in Dialog when closed\n */\n destroyOnClose: Boolean,\n /**\n * @description whether the Dialog can be closed by clicking the mask\n */\n closeOnClickModal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the Dialog can be closed by pressing ESC\n */\n closeOnPressEscape: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether scroll of body is disabled while Dialog is displayed\n */\n lockScroll: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether a mask is displayed\n */\n modal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description the Time(milliseconds) before open\n */\n openDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description the Time(milliseconds) before close\n */\n closeDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description value for `margin-top` of Dialog CSS, default is 15vh\n */\n top: {\n type: String,\n },\n /**\n * @description visibility of Dialog\n */\n modelValue: Boolean,\n /**\n * @description custom class names for mask\n */\n modalClass: String,\n /**\n * @description width of Dialog, default is 50%\n */\n width: {\n type: [String, Number],\n },\n /**\n * @description same as z-index in native CSS, z-order of dialog\n */\n zIndex: {\n type: Number,\n },\n trapFocus: {\n type: Boolean,\n default: false,\n },\n widget: {\n type: String,\n },\n} as const)\n\nexport type DialogProps = ExtractPropTypes<typeof dialogProps>\n\nexport const dialogEmits = {\n open: () => true,\n opened: () => true,\n close: () => true,\n closed: () => true,\n [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n openAutoFocus: () => true,\n closeAutoFocus: () => true,\n}\nexport type DialogEmits = typeof dialogEmits\n"],"names":["buildProps","dialogContentProps","definePropType","UPDATE_MODEL_EVENT","isBoolean"],"mappings":";;;;;;;;;;;AAGY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,GAAGC,gCAAkB;AACvB,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEC,sBAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,cAAc,EAAE,OAAO;AACzB,EAAE,iBAAiB,EAAE;AACrB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,UAAU,EAAE,MAAM;AACpB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,IAAI,EAAE,MAAM,IAAI;AAClB,EAAE,MAAM,EAAE,MAAM,IAAI;AACpB,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB,EAAE,MAAM,EAAE,MAAM,IAAI;AACpB,EAAE,CAACC,wBAAkB,GAAG,CAAC,KAAK,KAAKC,eAAS,CAAC,KAAK,CAAC;AACnD,EAAE,aAAa,EAAE,MAAM,IAAI;AAC3B,EAAE,cAAc,EAAE,MAAM,IAAI;AAC5B;;;;;"}
|