beyond-webui 1.1.40 → 1.1.42
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.full.js +5 -3
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +5 -5
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +5 -3
- package/es/components/alert/index.d.ts +4 -4
- package/es/components/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.mjs +36 -96
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert.vue.d.ts +4 -4
- package/es/components/alert/src/alert2.mjs +96 -36
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +72 -72
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +72 -72
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +67 -32
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +32 -67
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -54
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +54 -21
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +4 -4
- 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-item2.mjs +11 -56
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs +36 -11
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb2.mjs +11 -36
- package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
- package/es/components/button/index.d.ts +5 -5
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +5 -5
- package/es/components/calendar/index.mjs +2 -2
- package/es/components/calendar/src/calendar.mjs +18 -131
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +5 -5
- package/es/components/calendar/src/calendar2.mjs +131 -18
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/calendar/src/date-table.mjs +33 -87
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +87 -33
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/use-date-table.mjs +1 -1
- package/es/components/carousel/index.d.ts +5 -5
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.mjs +159 -56
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +5 -5
- package/es/components/carousel/src/carousel2.mjs +56 -159
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +142 -142
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +71 -71
- package/es/components/cascader-panel/src/index.mjs +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 +4 -4
- package/es/components/checkbox/src/checkbox-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox-group.mjs +72 -28
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +28 -72
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.mjs +49 -117
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +117 -49
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +43 -66
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +66 -43
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse.mjs +17 -30
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +30 -17
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +37 -37
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +321 -38
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +37 -37
- package/es/components/color-picker/src/color-picker2.mjs +38 -321
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.mjs +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +19 -19
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +19 -19
- package/es/components/date-picker/src/panel-utils.d.ts +38 -38
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +111 -25
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +25 -111
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/src/dialog-content.mjs +95 -37
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +37 -95
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog2.mjs +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +26 -177
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs +177 -26
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +14 -14
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/es/components/dropdown/src/dropdown2.mjs +1 -1
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/form/src/form.mjs +152 -55
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form2.mjs +55 -152
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +39 -396
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +396 -39
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +36 -36
- package/es/components/input/index.d.ts +14 -14
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/src/input.mjs +143 -552
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +14 -14
- package/es/components/input/src/input2.mjs +552 -143
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +52 -52
- package/es/components/input-number/src/input-number.vue.d.ts +52 -52
- package/es/components/menu/index.d.ts +3 -3
- package/es/components/menu/index.mjs +2 -2
- 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.d.ts +4 -4
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +69 -147
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/notification/src/notification2.mjs +147 -69
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- 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/jumper.vue.d.ts +14 -14
- 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/prev.mjs +58 -18
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +18 -58
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +22 -68
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +14 -14
- package/es/components/pagination/src/components/sizes2.mjs +68 -22
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/components/total.mjs +28 -7
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +7 -28
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +4 -4
- package/es/components/popconfirm/index.d.ts +23 -23
- package/es/components/popconfirm/index.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +110 -47
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/es/components/popconfirm/src/popconfirm2.mjs +47 -110
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/index.d.ts +18 -18
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.mjs +137 -94
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/content2.mjs +94 -137
- package/es/components/popper/src/content2.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-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +71 -30
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +30 -71
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +87 -255
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +255 -87
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/scrollbar/index.mjs +2 -2
- package/es/components/scrollbar/src/scrollbar.mjs +46 -174
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +174 -46
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/index.d.ts +14 -14
- package/es/components/select/src/select.mjs +2 -2
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +14 -14
- package/es/components/select/src/useSelect.d.ts +12 -12
- package/es/components/select-v2/index.d.ts +30 -30
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +15 -15
- package/es/components/select-v2/src/useSelect.d.ts +13 -13
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +22 -49
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +49 -22
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/index.d.ts +82 -82
- package/es/components/slider/src/button.vue.d.ts +6 -6
- package/es/components/slider/src/composables/use-slide.d.ts +24 -24
- package/es/components/slider/src/slider.vue.d.ts +82 -82
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +25 -70
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +70 -25
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/index.mjs +4 -4
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.mjs +188 -19
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/item2.mjs +19 -188
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.mjs +34 -36
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/steps/src/steps2.mjs +36 -34
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/table/index.d.ts +2 -1
- package/es/components/table/src/filter-panel.vue.d.ts +12 -12
- package/es/components/table/src/table.mjs +4 -2
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +2 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +7 -75
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +75 -7
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +94 -33
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/tag/src/tag2.mjs +33 -94
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +37 -37
- package/es/components/time-select/index.d.ts +62 -62
- package/es/components/time-select/index.mjs +1 -1
- package/es/components/time-select/src/time-select.mjs +48 -118
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +31 -31
- package/es/components/time-select/src/time-select2.mjs +118 -48
- 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 +70 -42
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +42 -70
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/index.mjs +3 -3
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +6 -6
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/tooltip/src/tooltip.mjs +31 -169
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/es/components/tooltip/src/tooltip2.mjs +169 -31
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.mjs +73 -16
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger2.mjs +16 -73
- package/es/components/tooltip/src/trigger2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/es/components/transfer/index.d.ts +75 -75
- 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 +19 -128
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +14 -14
- package/es/components/transfer/src/transfer-panel2.mjs +128 -19
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.mjs +69 -160
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +75 -75
- package/es/components/transfer/src/transfer2.mjs +160 -69
- package/es/components/transfer/src/transfer2.mjs.map +1 -1
- package/es/components/tree-v2/index.d.ts +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +5 -5
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content.mjs +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-dragger.mjs +72 -11
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +11 -72
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/index.mjs +36 -36
- package/lib/components/alert/index.d.ts +4 -4
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.js +37 -95
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +4 -4
- package/lib/components/alert/src/alert2.js +95 -37
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +72 -72
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +72 -72
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +67 -33
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +33 -67
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -54
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +54 -22
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +4 -4
- 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-item2.js +11 -56
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.js +36 -11
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb2.js +11 -36
- package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
- package/lib/components/button/index.d.ts +5 -5
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +5 -5
- package/lib/components/calendar/index.js +2 -2
- package/lib/components/calendar/src/calendar.js +19 -131
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
- package/lib/components/calendar/src/calendar2.js +131 -19
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/calendar/src/date-table.js +37 -87
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +87 -37
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/use-date-table.js +1 -1
- package/lib/components/carousel/index.d.ts +5 -5
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.js +159 -57
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
- package/lib/components/carousel/src/carousel2.js +57 -159
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +142 -142
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +71 -71
- package/lib/components/cascader-panel/src/index.js +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 +4 -4
- package/lib/components/checkbox/src/checkbox-button.js +1 -1
- package/lib/components/checkbox/src/checkbox-group.js +72 -29
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +29 -72
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.js +50 -117
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +117 -50
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +43 -66
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +66 -43
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse.js +19 -30
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +30 -19
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +37 -37
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +319 -38
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +37 -37
- package/lib/components/color-picker/src/color-picker2.js +38 -319
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.js +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +19 -19
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +19 -19
- package/lib/components/date-picker/src/panel-utils.d.ts +38 -38
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +111 -25
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +25 -111
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/dialog/src/dialog-content.js +94 -37
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +37 -94
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog2.js +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +27 -177
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js +177 -27
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +14 -14
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/lib/components/dropdown/src/dropdown2.js +1 -1
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/form/src/form.js +151 -55
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form2.js +55 -151
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +40 -396
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +396 -40
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +36 -36
- package/lib/components/input/index.d.ts +14 -14
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/src/input.js +143 -551
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +14 -14
- package/lib/components/input/src/input2.js +551 -143
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +52 -52
- package/lib/components/input-number/src/input-number.vue.d.ts +52 -52
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/index.js +2 -2
- 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.d.ts +4 -4
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +70 -146
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/notification/src/notification2.js +146 -70
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- 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/jumper.vue.d.ts +14 -14
- 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/prev.js +58 -19
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +19 -58
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +22 -68
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +14 -14
- package/lib/components/pagination/src/components/sizes2.js +68 -22
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/components/total.js +28 -7
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +7 -28
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +4 -4
- package/lib/components/popconfirm/index.d.ts +23 -23
- package/lib/components/popconfirm/index.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +110 -48
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/lib/components/popconfirm/src/popconfirm2.js +48 -110
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/index.d.ts +18 -18
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.js +137 -99
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/content2.js +99 -137
- package/lib/components/popper/src/content2.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-group.js +1 -1
- package/lib/components/radio/src/radio.js +71 -32
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +32 -71
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +87 -254
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +254 -87
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/scrollbar/index.js +2 -2
- package/lib/components/scrollbar/src/scrollbar.js +47 -174
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +174 -47
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/index.d.ts +14 -14
- package/lib/components/select/src/select.js +2 -2
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +14 -14
- package/lib/components/select/src/useSelect.d.ts +12 -12
- package/lib/components/select-v2/index.d.ts +30 -30
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +15 -15
- package/lib/components/select-v2/src/useSelect.d.ts +13 -13
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +22 -49
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +49 -22
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/index.d.ts +82 -82
- package/lib/components/slider/src/button.vue.d.ts +6 -6
- package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
- package/lib/components/slider/src/slider.vue.d.ts +82 -82
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +25 -70
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +70 -25
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/index.js +4 -4
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.js +188 -19
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/item2.js +19 -188
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.js +34 -37
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/steps/src/steps2.js +37 -34
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/table/index.d.ts +2 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
- package/lib/components/table/src/table.js +4 -2
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +2 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +7 -75
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +75 -7
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +94 -34
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/tag/src/tag2.js +34 -94
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +37 -37
- package/lib/components/time-select/index.d.ts +62 -62
- package/lib/components/time-select/index.js +1 -1
- package/lib/components/time-select/src/time-select.js +48 -123
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +31 -31
- package/lib/components/time-select/src/time-select2.js +123 -48
- 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 +70 -42
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +42 -70
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/index.js +3 -3
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/tooltip/src/tooltip.js +34 -168
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/lib/components/tooltip/src/tooltip2.js +168 -34
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.js +73 -16
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger2.js +16 -73
- package/lib/components/tooltip/src/trigger2.js.map +1 -1
- package/lib/components/tooltip-v2/index.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/lib/components/transfer/index.d.ts +75 -75
- 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 +21 -128
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +14 -14
- package/lib/components/transfer/src/transfer-panel2.js +128 -21
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.js +73 -160
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +75 -75
- package/lib/components/transfer/src/transfer2.js +160 -73
- package/lib/components/transfer/src/transfer2.js.map +1 -1
- package/lib/components/tree-v2/index.d.ts +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +5 -5
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content.js +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-dragger.js +72 -12
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +12 -72
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/index.js +36 -36
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export declare const ElMenu: import("beyond-webui/es/utils").SFCWithInstall<impo
|
|
|
4
4
|
readonly defaultOpeneds: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
5
5
|
readonly uniqueOpened: BooleanConstructor;
|
|
6
6
|
readonly router: BooleanConstructor;
|
|
7
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
7
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
8
8
|
readonly collapse: BooleanConstructor;
|
|
9
9
|
readonly backgroundColor: StringConstructor;
|
|
10
10
|
readonly textColor: StringConstructor;
|
|
@@ -24,7 +24,7 @@ export declare const ElMenu: import("beyond-webui/es/utils").SFCWithInstall<impo
|
|
|
24
24
|
readonly defaultOpeneds: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
25
25
|
readonly uniqueOpened: BooleanConstructor;
|
|
26
26
|
readonly router: BooleanConstructor;
|
|
27
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
27
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
28
28
|
readonly collapse: BooleanConstructor;
|
|
29
29
|
readonly backgroundColor: StringConstructor;
|
|
30
30
|
readonly textColor: StringConstructor;
|
|
@@ -42,7 +42,7 @@ export declare const ElMenu: import("beyond-webui/es/utils").SFCWithInstall<impo
|
|
|
42
42
|
readonly mode: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
43
43
|
readonly defaultActive: string;
|
|
44
44
|
readonly defaultOpeneds: string[];
|
|
45
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
45
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
46
46
|
readonly collapseTransition: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
47
|
readonly popperEffect: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
|
|
48
48
|
readonly uniqueOpened: boolean;
|
|
@@ -2,11 +2,11 @@ import '../../utils/index.mjs';
|
|
|
2
2
|
import Menu from './src/menu.mjs';
|
|
3
3
|
export { menuEmits, menuProps } from './src/menu.mjs';
|
|
4
4
|
import MenuItem from './src/menu-item2.mjs';
|
|
5
|
-
import MenuItemGroup from './src/menu-item-
|
|
5
|
+
import MenuItemGroup from './src/menu-item-group2.mjs';
|
|
6
6
|
import SubMenu from './src/sub-menu.mjs';
|
|
7
7
|
export { subMenuProps } from './src/sub-menu.mjs';
|
|
8
8
|
export { menuItemEmits, menuItemProps } from './src/menu-item.mjs';
|
|
9
|
-
export { menuItemGroupProps } from './src/menu-item-
|
|
9
|
+
export { menuItemGroupProps } from './src/menu-item-group.mjs';
|
|
10
10
|
import './src/types.mjs';
|
|
11
11
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
|
12
12
|
|
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
1
|
+
const menuItemGroupProps = {
|
|
2
|
+
title: String
|
|
3
|
+
};
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
const _sfc_main = defineComponent({
|
|
9
|
-
name: COMPONENT_NAME,
|
|
10
|
-
props: menuItemGroupProps,
|
|
11
|
-
setup() {
|
|
12
|
-
const ns = useNamespace("menu-item-group");
|
|
13
|
-
return {
|
|
14
|
-
ns
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19
|
-
return openBlock(), createElementBlock("li", {
|
|
20
|
-
class: normalizeClass(_ctx.ns.b())
|
|
21
|
-
}, [
|
|
22
|
-
createElementVNode("div", {
|
|
23
|
-
class: normalizeClass(_ctx.ns.e("title"))
|
|
24
|
-
}, [
|
|
25
|
-
!_ctx.$slots.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
26
|
-
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
27
|
-
], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
28
|
-
], 2),
|
|
29
|
-
createElementVNode("ul", null, [
|
|
30
|
-
renderSlot(_ctx.$slots, "default")
|
|
31
|
-
])
|
|
32
|
-
], 2);
|
|
33
|
-
}
|
|
34
|
-
var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\beyondtrucks\\beyond-ui\\packages\\components\\menu\\src\\menu-item-group.vue"]]);
|
|
35
|
-
|
|
36
|
-
export { MenuItemGroup as default };
|
|
5
|
+
export { menuItemGroupProps };
|
|
37
6
|
//# sourceMappingURL=menu-item-group.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item-group.mjs","sources":["../../../../../../packages/components/menu/src/menu-item-group.
|
|
1
|
+
{"version":3,"file":"menu-item-group.mjs","sources":["../../../../../../packages/components/menu/src/menu-item-group.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const menuItemGroupProps = {\n title: String,\n} as const\nexport type MenuItemGroupProps = ExtractPropTypes<typeof menuItemGroupProps>\n"],"names":[],"mappings":"AAAY,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM;AACf;;;;"}
|
|
@@ -1,6 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createTextVNode, toDisplayString, renderSlot } from 'vue';
|
|
2
|
+
import '../../../hooks/index.mjs';
|
|
3
|
+
import { menuItemGroupProps } from './menu-item-group.mjs';
|
|
4
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
const COMPONENT_NAME = "ElMenuItemGroup";
|
|
8
|
+
const _sfc_main = defineComponent({
|
|
9
|
+
name: COMPONENT_NAME,
|
|
10
|
+
props: menuItemGroupProps,
|
|
11
|
+
setup() {
|
|
12
|
+
const ns = useNamespace("menu-item-group");
|
|
13
|
+
return {
|
|
14
|
+
ns
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19
|
+
return openBlock(), createElementBlock("li", {
|
|
20
|
+
class: normalizeClass(_ctx.ns.b())
|
|
21
|
+
}, [
|
|
22
|
+
createElementVNode("div", {
|
|
23
|
+
class: normalizeClass(_ctx.ns.e("title"))
|
|
24
|
+
}, [
|
|
25
|
+
!_ctx.$slots.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
26
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
27
|
+
], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
28
|
+
], 2),
|
|
29
|
+
createElementVNode("ul", null, [
|
|
30
|
+
renderSlot(_ctx.$slots, "default")
|
|
31
|
+
])
|
|
32
|
+
], 2);
|
|
33
|
+
}
|
|
34
|
+
var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\beyondtrucks\\beyond-ui\\packages\\components\\menu\\src\\menu-item-group.vue"]]);
|
|
35
|
+
|
|
36
|
+
export { MenuItemGroup as default };
|
|
6
37
|
//# sourceMappingURL=menu-item-group2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item-group2.mjs","sources":["../../../../../../packages/components/menu/src/menu-item-group.
|
|
1
|
+
{"version":3,"file":"menu-item-group2.mjs","sources":["../../../../../../packages/components/menu/src/menu-item-group.vue"],"sourcesContent":["<template>\n <li :class=\"ns.b()\">\n <div :class=\"ns.e('title')\">\n <template v-if=\"!$slots.title\">{{ title }}</template>\n <slot v-else name=\"title\" />\n </div>\n <ul>\n <slot />\n </ul>\n </li>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { menuItemGroupProps } from './menu-item-group'\n\nconst COMPONENT_NAME = 'ElMenuItemGroup'\n\nexport default defineComponent({\n name: COMPONENT_NAME,\n\n props: menuItemGroupProps,\n\n setup() {\n const ns = useNamespace('menu-item-group')\n\n return {\n ns,\n }\n },\n})\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode","_Fragment","_createTextVNode","_toDisplayString","_renderSlot"],"mappings":";;;;;;AAiBA,MAAM,cAAiB,GAAA,iBAAA,CAAA;AAEvB,MAAK,YAAa,eAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,cAAA;AAAA,EAEN,KAAO,EAAA,kBAAA;AAAA,EAEP,KAAQ,GAAA;AACN,IAAM,MAAA,EAAA,GAAK,aAAa,iBAAiB,CAAA,CAAA;AAEzC,IAAO,OAAA;AAAA,MACL,EAAA;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;sBA9BCA,kBAQK,CAAA,IAAA,EAAA;AAAA,IARA,KAAA,EAAKC,cAAE,CAAA,IAAA,CAAA,EAAA,CAAG,CAAC,EAAA,CAAA;AAAA,GAAA,EAAA;IACdC,kBAGM,CAAA,KAAA,EAAA;AAAA,MAHA,KAAA,EAAKD,cAAE,CAAA,IAAA,CAAA,EAAA,CAAG,CAAC,CAAA,OAAA,CAAA,CAAA;AAAA,KAAA,EAAA;AACE,MAAA,CAAA,IAAA,CAAA,MAAA,CAAO,sBAAxBD,kBAAqD,CAAAG,QAAA,EAAA,EAAA,GAAA,EAAA,CAAA,EAAA,EAAA;AAAA,QAAAC,eAAA,CAAAC,eAAA,CAAnB,IAAK,CAAA,KAAA,CAAA,EAAA,CAAA,CAAA;AAAA,OAAA,EAAA,EAAA,CAAA,IACvCC,UAA4B,CAAA,IAAA,CAAA,MAAA,EAAA,OAAA,EAAA,EAAA,GAAA,EAAA,CAAA,EAAA,CAAA;AAAA,KAAA,EAAA,CAAA,CAAA;IAE9BJ,kBAEK,CAAA,IAAA,EAAA,IAAA,EAAA;AAAA,MADHI,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,KAAA,CAAA;;;;;;;"}
|
|
@@ -7,7 +7,7 @@ export declare const menuProps: {
|
|
|
7
7
|
readonly defaultOpeneds: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
8
8
|
readonly uniqueOpened: BooleanConstructor;
|
|
9
9
|
readonly router: BooleanConstructor;
|
|
10
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
10
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
11
11
|
readonly collapse: BooleanConstructor;
|
|
12
12
|
readonly backgroundColor: StringConstructor;
|
|
13
13
|
readonly textColor: StringConstructor;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
readonly defaultOpeneds: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
30
30
|
readonly uniqueOpened: BooleanConstructor;
|
|
31
31
|
readonly router: BooleanConstructor;
|
|
32
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
32
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
33
33
|
readonly collapse: BooleanConstructor;
|
|
34
34
|
readonly backgroundColor: StringConstructor;
|
|
35
35
|
readonly textColor: StringConstructor;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
readonly defaultOpeneds: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
50
50
|
readonly uniqueOpened: BooleanConstructor;
|
|
51
51
|
readonly router: BooleanConstructor;
|
|
52
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
52
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
53
53
|
readonly collapse: BooleanConstructor;
|
|
54
54
|
readonly backgroundColor: StringConstructor;
|
|
55
55
|
readonly textColor: StringConstructor;
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
readonly mode: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
68
68
|
readonly defaultActive: string;
|
|
69
69
|
readonly defaultOpeneds: string[];
|
|
70
|
-
readonly menuTrigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
70
|
+
readonly menuTrigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
71
71
|
readonly collapseTransition: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
72
|
readonly popperEffect: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
|
|
73
73
|
readonly uniqueOpened: boolean;
|
|
@@ -48,7 +48,7 @@ export declare const messageProps: {
|
|
|
48
48
|
__epPropKey: true;
|
|
49
49
|
};
|
|
50
50
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
51
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
51
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
|
|
52
52
|
readonly offset: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
|
|
53
53
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
54
54
|
readonly grouping: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
__epPropKey: true;
|
|
32
32
|
};
|
|
33
33
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
34
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
34
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
|
|
35
35
|
readonly offset: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
|
|
36
36
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
37
37
|
readonly grouping: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
__epPropKey: true;
|
|
71
71
|
};
|
|
72
72
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
73
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
73
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
|
|
74
74
|
readonly offset: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
|
|
75
75
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
76
76
|
readonly grouping: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -266,7 +266,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
266
|
__epPropKey: true;
|
|
267
267
|
};
|
|
268
268
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
269
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
269
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
|
|
270
270
|
readonly offset: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
|
|
271
271
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
272
272
|
readonly grouping: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -274,7 +274,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
274
274
|
}>> & {
|
|
275
275
|
onDestroy?: (() => any) | undefined;
|
|
276
276
|
}, {
|
|
277
|
-
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
277
|
+
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "warning" | "info", unknown>;
|
|
278
278
|
readonly zIndex: number;
|
|
279
279
|
readonly offset: number;
|
|
280
280
|
readonly center: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
2
|
import notify from './src/notify.mjs';
|
|
3
|
-
export { notificationEmits, notificationProps, notificationTypes } from './src/
|
|
3
|
+
export { notificationEmits, notificationProps, notificationTypes } from './src/notification.mjs';
|
|
4
4
|
import { withInstallFunction } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const ElNotification = withInstallFunction(notify, "$notify");
|
|
@@ -40,7 +40,7 @@ export declare const notificationProps: {
|
|
|
40
40
|
readonly position: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
|
|
41
41
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
42
42
|
readonly title: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
43
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
43
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
|
|
44
44
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
45
45
|
};
|
|
46
46
|
export declare type NotificationProps = ExtractPropTypes<typeof notificationProps>;
|
|
@@ -1,153 +1,75 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, openBlock, createBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, resolveDynamicComponent, createCommentVNode, toDisplayString, renderSlot, createElementBlock, Fragment, vShow, withModifiers, createVNode } from 'vue';
|
|
2
|
-
import { useTimeoutFn, useEventListener } from '@vueuse/core';
|
|
3
1
|
import '../../../utils/index.mjs';
|
|
4
|
-
import '../../../
|
|
5
|
-
import {
|
|
6
|
-
import '../../config-provider/index.mjs';
|
|
7
|
-
import { notificationProps, notificationEmits } from './notification2.mjs';
|
|
8
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
9
|
-
import { useGlobalComponentSettings } from '../../config-provider/src/hooks/use-global-config.mjs';
|
|
10
|
-
import { CloseComponents, TypeComponentsMap } from '../../../utils/vue/icon.mjs';
|
|
11
|
-
import { EVENT_CODE } from '../../../constants/aria.mjs';
|
|
2
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
12
4
|
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
nextZIndex();
|
|
77
|
-
visible.value = true;
|
|
78
|
-
});
|
|
79
|
-
useEventListener(document, "keydown", onKeydown);
|
|
80
|
-
expose({
|
|
81
|
-
visible,
|
|
82
|
-
close
|
|
83
|
-
});
|
|
84
|
-
return (_ctx, _cache) => {
|
|
85
|
-
return openBlock(), createBlock(Transition, {
|
|
86
|
-
name: unref(ns).b("fade"),
|
|
87
|
-
onBeforeLeave: _ctx.onClose,
|
|
88
|
-
onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy")),
|
|
89
|
-
persisted: ""
|
|
90
|
-
}, {
|
|
91
|
-
default: withCtx(() => [
|
|
92
|
-
withDirectives(createElementVNode("div", {
|
|
93
|
-
id: _ctx.id,
|
|
94
|
-
class: normalizeClass([unref(ns).b(), _ctx.customClass, unref(horizontalClass)]),
|
|
95
|
-
style: normalizeStyle(unref(positionStyle)),
|
|
96
|
-
role: "alert",
|
|
97
|
-
onMouseenter: clearTimer,
|
|
98
|
-
onMouseleave: startTimer,
|
|
99
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
100
|
-
}, [
|
|
101
|
-
unref(iconComponent) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
102
|
-
key: 0,
|
|
103
|
-
class: normalizeClass([unref(ns).e("icon"), unref(typeClass)])
|
|
104
|
-
}, {
|
|
105
|
-
default: withCtx(() => [
|
|
106
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true),
|
|
110
|
-
createElementVNode("div", {
|
|
111
|
-
class: normalizeClass(unref(ns).e("group"))
|
|
112
|
-
}, [
|
|
113
|
-
createElementVNode("h2", {
|
|
114
|
-
class: normalizeClass(unref(ns).e("title")),
|
|
115
|
-
textContent: toDisplayString(_ctx.title)
|
|
116
|
-
}, null, 10, _hoisted_2),
|
|
117
|
-
withDirectives(createElementVNode("div", {
|
|
118
|
-
class: normalizeClass(unref(ns).e("content")),
|
|
119
|
-
style: normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
|
|
120
|
-
}, [
|
|
121
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
122
|
-
!_ctx.dangerouslyUseHTMLString ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(_ctx.message), 1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
123
|
-
createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),
|
|
124
|
-
createElementVNode("p", { innerHTML: _ctx.message }, null, 8, _hoisted_4)
|
|
125
|
-
], 2112))
|
|
126
|
-
])
|
|
127
|
-
], 6), [
|
|
128
|
-
[vShow, _ctx.message]
|
|
129
|
-
]),
|
|
130
|
-
_ctx.showClose ? (openBlock(), createBlock(unref(ElIcon), {
|
|
131
|
-
key: 0,
|
|
132
|
-
class: normalizeClass(unref(ns).e("closeBtn")),
|
|
133
|
-
onClick: withModifiers(close, ["stop"])
|
|
134
|
-
}, {
|
|
135
|
-
default: withCtx(() => [
|
|
136
|
-
createVNode(unref(Close))
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
|
|
140
|
-
], 2)
|
|
141
|
-
], 46, _hoisted_1), [
|
|
142
|
-
[vShow, visible.value]
|
|
143
|
-
])
|
|
144
|
-
]),
|
|
145
|
-
_: 3
|
|
146
|
-
}, 8, ["name", "onBeforeLeave"]);
|
|
147
|
-
};
|
|
5
|
+
const notificationTypes = [
|
|
6
|
+
"success",
|
|
7
|
+
"info",
|
|
8
|
+
"warning",
|
|
9
|
+
"error"
|
|
10
|
+
];
|
|
11
|
+
const notificationProps = buildProps({
|
|
12
|
+
customClass: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
dangerouslyUseHTMLString: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false
|
|
19
|
+
},
|
|
20
|
+
duration: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 4500
|
|
23
|
+
},
|
|
24
|
+
icon: {
|
|
25
|
+
type: iconPropType
|
|
26
|
+
},
|
|
27
|
+
id: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ""
|
|
30
|
+
},
|
|
31
|
+
message: {
|
|
32
|
+
type: definePropType([String, Object]),
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
offset: {
|
|
36
|
+
type: Number,
|
|
37
|
+
default: 0
|
|
38
|
+
},
|
|
39
|
+
onClick: {
|
|
40
|
+
type: definePropType(Function),
|
|
41
|
+
default: () => void 0
|
|
42
|
+
},
|
|
43
|
+
onClose: {
|
|
44
|
+
type: definePropType(Function),
|
|
45
|
+
required: true
|
|
46
|
+
},
|
|
47
|
+
position: {
|
|
48
|
+
type: String,
|
|
49
|
+
values: ["top-right", "top-left", "bottom-right", "bottom-left"],
|
|
50
|
+
default: "top-right"
|
|
51
|
+
},
|
|
52
|
+
showClose: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
},
|
|
56
|
+
title: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: ""
|
|
59
|
+
},
|
|
60
|
+
type: {
|
|
61
|
+
type: String,
|
|
62
|
+
values: [...notificationTypes, ""],
|
|
63
|
+
default: ""
|
|
64
|
+
},
|
|
65
|
+
zIndex: {
|
|
66
|
+
type: Number,
|
|
67
|
+
default: 0
|
|
148
68
|
}
|
|
149
69
|
});
|
|
150
|
-
|
|
70
|
+
const notificationEmits = {
|
|
71
|
+
destroy: () => true
|
|
72
|
+
};
|
|
151
73
|
|
|
152
|
-
export {
|
|
74
|
+
export { notificationEmits, notificationProps, notificationTypes };
|
|
153
75
|
//# sourceMappingURL=notification.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.mjs","sources":["../../../../../../packages/components/notification/src/notification.
|
|
1
|
+
{"version":3,"file":"notification.mjs","sources":["../../../../../../packages/components/notification/src/notification.ts"],"sourcesContent":["import { buildProps, definePropType, iconPropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, VNode } from 'vue'\nimport type Notification from './notification.vue'\n\nexport const notificationTypes = [\n 'success',\n 'info',\n 'warning',\n 'error',\n] as const\n\nexport const notificationProps = buildProps({\n customClass: {\n type: String,\n default: '',\n },\n dangerouslyUseHTMLString: {\n type: Boolean,\n default: false,\n },\n duration: {\n type: Number,\n default: 4500,\n },\n icon: {\n type: iconPropType,\n },\n id: {\n type: String,\n default: '',\n },\n message: {\n type: definePropType<string | VNode>([String, Object]),\n default: '',\n },\n offset: {\n type: Number,\n default: 0,\n },\n onClick: {\n type: definePropType<() => void>(Function),\n default: () => undefined,\n },\n onClose: {\n type: definePropType<() => void>(Function),\n required: true,\n },\n position: {\n type: String,\n values: ['top-right', 'top-left', 'bottom-right', 'bottom-left'],\n default: 'top-right',\n },\n showClose: {\n type: Boolean,\n default: true,\n },\n title: {\n type: String,\n default: '',\n },\n type: {\n type: String,\n values: [...notificationTypes, ''],\n default: '',\n },\n zIndex: {\n type: Number,\n default: 0,\n },\n} as const)\nexport type NotificationProps = ExtractPropTypes<typeof notificationProps>\n\nexport const notificationEmits = {\n destroy: () => true,\n}\nexport type NotificationEmits = typeof notificationEmits\n\nexport type NotificationInstance = InstanceType<typeof Notification>\n\nexport type NotificationOptions = Omit<NotificationProps, 'id'> & {\n appendTo?: HTMLElement | string\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>\n | string\n | VNode\n\nexport type NotifyFn = ((\n options?: NotificationParams\n) => NotificationHandle) & { closeAll: () => void }\n\nexport type NotifyTypedFn = (\n options?: NotificationParamsTyped\n) => NotificationHandle\n\nexport interface Notify extends NotifyFn {\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"],"names":[],"mappings":";;;;AACY,MAAC,iBAAiB,GAAG;AACjC,EAAE,SAAS;AACX,EAAE,MAAM;AACR,EAAE,SAAS;AACX,EAAE,OAAO;AACT,EAAE;AACU,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,wBAAwB,EAAE;AAC5B,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,IAAI,OAAO,EAAE,MAAM,KAAK,CAAC;AACzB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,CAAC;AACpE,IAAI,OAAO,EAAE,WAAW;AACxB,GAAG;AACH,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,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,GAAG,iBAAiB,EAAE,EAAE,CAAC;AACtC,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,CAAC,EAAE;AACS,MAAC,iBAAiB,GAAG;AACjC,EAAE,OAAO,EAAE,MAAM,IAAI;AACrB;;;;"}
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
readonly position: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
|
|
39
39
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
40
40
|
readonly title: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
41
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
|
|
42
42
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
43
43
|
}, {
|
|
44
44
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
readonly position: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
|
|
81
81
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
82
82
|
readonly title: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
83
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
83
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
|
|
84
84
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
85
85
|
}>> & {
|
|
86
86
|
onDestroy?: (() => any) | undefined;
|
|
@@ -226,12 +226,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
readonly position: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
|
|
227
227
|
readonly showClose: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
228
228
|
readonly title: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
229
|
-
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
229
|
+
readonly type: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
|
|
230
230
|
readonly zIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
231
231
|
}>> & {
|
|
232
232
|
onDestroy?: (() => any) | undefined;
|
|
233
233
|
}, {
|
|
234
|
-
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
234
|
+
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown>;
|
|
235
235
|
readonly zIndex: number;
|
|
236
236
|
readonly offset: number;
|
|
237
237
|
readonly position: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown>;
|