element-ps 2.0.14 → 2.0.17
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 +0 -10
- package/dist/index.full.min.js +5 -5
- 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 +0 -10
- package/es/components/affix/index.d.ts +1 -1
- package/es/components/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +82 -19
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix.vue.d.ts +1 -1
- package/es/components/affix/src/affix2.mjs +19 -82
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +22 -22
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +94 -58
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +22 -22
- package/es/components/autocomplete/src/autocomplete2.mjs +58 -94
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +61 -29
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +29 -61
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/badge/index.d.ts +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +17 -54
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/badge/src/badge2.mjs +54 -17
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -46
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +46 -11
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/button/index.mjs +2 -2
- package/es/components/button/src/button-group.mjs +1 -1
- package/es/components/button/src/button.mjs +48 -96
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +96 -48
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/calendar/src/calendar2.mjs +1 -1
- package/es/components/calendar/src/date-table.mjs +27 -146
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +146 -27
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +15 -35
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +35 -15
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +2 -2
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.mjs +201 -43
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/carousel/src/carousel2.mjs +43 -201
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +12 -12
- package/es/components/cascader/src/index.mjs +1 -1
- package/es/components/cascader/src/index.vue.d.ts +6 -6
- package/es/components/cascader-panel/index.d.ts +2 -2
- package/es/components/cascader-panel/src/config.mjs +1 -1
- package/es/components/cascader-panel/src/index.mjs +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +200 -120
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +120 -200
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +1 -1
- package/es/components/check-tag/index.mjs +2 -2
- package/es/components/check-tag/src/check-tag.mjs +20 -7
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag2.mjs +7 -20
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.d.ts +1 -1
- package/es/components/collection/index.mjs +1 -1
- package/es/components/collection/src/collection.mjs +63 -10
- package/es/components/collection/src/collection.mjs.map +1 -1
- package/es/components/collection/src/collection2.mjs +10 -63
- package/es/components/collection/src/collection2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +4 -4
- package/es/components/descriptions/src/description-item.d.ts +1 -1
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/src/dialog-content.mjs +79 -34
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +34 -79
- 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/dialog2.mjs +1 -1
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +117 -23
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer2.mjs +23 -117
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown2.mjs +2 -2
- package/es/components/empty/index.d.ts +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +56 -11
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty.vue.d.ts +1 -1
- package/es/components/empty/src/empty2.mjs +11 -56
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/form/src/form-item2.mjs +1 -4
- 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 -35
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +35 -8
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.d.ts +4 -4
- package/es/components/image/index.mjs +2 -2
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.mjs +170 -46
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +4 -4
- package/es/components/image/src/image2.mjs +46 -170
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/index.mjs +30 -30
- package/es/components/input/index.d.ts +2 -2
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/src/input.mjs +85 -296
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +2 -2
- package/es/components/input/src/input2.mjs +296 -85
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +4 -4
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +46 -171
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +4 -4
- package/es/components/input-number/src/input-number2.mjs +171 -46
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +19 -43
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +43 -19
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item.mjs +65 -15
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +15 -65
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +1 -1
- package/es/components/popconfirm/index.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popover/index.d.ts +12 -12
- package/es/components/popover/src/index.vue.d.ts +6 -6
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/popper/index.mjs +4 -4
- package/es/components/popper/src/arrow.mjs +7 -31
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +31 -7
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +3 -3
- package/es/components/popper/src/popper.mjs +20 -27
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/popper/src/popper2.mjs +27 -20
- package/es/components/popper/src/popper2.mjs.map +1 -1
- package/es/components/popper/src/utils.d.ts +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-group.mjs +37 -18
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +18 -37
- 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 +84 -169
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +169 -84
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +28 -73
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +73 -28
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/roving-focus-group/index.mjs +3 -3
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +29 -27
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -29
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.mjs +2 -10
- package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -1
- package/es/components/row/index.d.ts +3 -3
- package/es/components/row/src/row.d.ts +4 -4
- package/es/components/scrollbar/index.d.ts +1 -1
- package/es/components/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar.mjs +22 -35
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar.vue.d.ts +1 -1
- package/es/components/scrollbar/src/bar2.mjs +35 -22
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
- package/es/components/scrollbar/src/thumb.mjs +59 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -59
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/index.d.ts +18 -18
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select/src/select.vue.d.ts +18 -18
- package/es/components/select/src/useSelect.d.ts +17 -17
- package/es/components/select-v2/index.d.ts +38 -38
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +19 -19
- package/es/components/select-v2/src/useSelect.d.ts +17 -17
- package/es/components/skeleton/index.d.ts +9 -9
- package/es/components/skeleton/index.mjs +4 -4
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton-item.mjs +18 -23
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
- package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.mjs +22 -49
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
- package/es/components/skeleton/src/skeleton2.mjs +49 -22
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/space/index.d.ts +2 -2
- package/es/components/space/src/space.d.ts +2 -2
- package/es/components/steps/index.d.ts +1 -1
- package/es/components/steps/src/index.vue.d.ts +1 -1
- package/es/components/switch/index.d.ts +2 -2
- package/es/components/switch/index.mjs +2 -2
- package/es/components/switch/src/switch.mjs +81 -176
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +2 -2
- package/es/components/switch/src/switch2.mjs +176 -81
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +17 -17
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +76 -7
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +7 -76
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +17 -17
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -1
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/es/components/time-picker/src/time-picker-com/useTimePicker.d.ts +2 -2
- package/es/components/time-select/index.d.ts +6 -6
- package/es/components/time-select/src/time-select.vue.d.ts +3 -3
- package/es/components/timeline/index.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/tooltip.mjs +51 -64
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/es/components/tooltip/src/tooltip2.mjs +64 -51
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.mjs +1 -1
- package/es/components/tooltip-v2/index.d.ts +47 -47
- package/es/components/tooltip-v2/index.mjs +4 -4
- package/es/components/tooltip-v2/src/arrow.mjs +38 -22
- package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
- package/es/components/tooltip-v2/src/arrow.vue.d.ts +2 -2
- package/es/components/tooltip-v2/src/arrow2.mjs +22 -38
- package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.d.ts +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +6 -6
- package/es/components/tooltip-v2/src/root.mjs +81 -17
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +17 -81
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +74 -21
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +47 -47
- package/es/components/tooltip-v2/src/tooltip2.mjs +21 -74
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-list.mjs +155 -26
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +26 -155
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/es/index.mjs +30 -30
- package/es/utils/vue/vnode.d.ts +6 -6
- package/lib/components/affix/index.d.ts +1 -1
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +82 -19
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +1 -1
- package/lib/components/affix/src/affix2.js +19 -82
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +22 -22
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +94 -58
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +22 -22
- package/lib/components/autocomplete/src/autocomplete2.js +58 -94
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +61 -29
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +29 -61
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/badge/index.d.ts +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +17 -54
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/badge/src/badge2.js +54 -17
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -46
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +46 -11
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/src/button-group.js +1 -1
- package/lib/components/button/src/button.js +50 -96
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +96 -50
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/calendar/src/calendar2.js +1 -1
- package/lib/components/calendar/src/date-table.js +30 -151
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +151 -30
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +15 -35
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +35 -15
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +2 -2
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.js +201 -43
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/carousel/src/carousel2.js +43 -201
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +12 -12
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +6 -6
- package/lib/components/cascader-panel/index.d.ts +2 -2
- package/lib/components/cascader-panel/src/config.js +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +200 -121
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +121 -200
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +1 -1
- package/lib/components/check-tag/index.js +2 -2
- package/lib/components/check-tag/src/check-tag.js +20 -7
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag2.js +7 -20
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.d.ts +1 -1
- package/lib/components/collection/index.js +1 -1
- package/lib/components/collection/src/collection.js +63 -9
- package/lib/components/collection/src/collection.js.map +1 -1
- package/lib/components/collection/src/collection2.js +9 -63
- package/lib/components/collection/src/collection2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +4 -4
- package/lib/components/descriptions/src/description-item.d.ts +1 -1
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/src/dialog-content.js +78 -33
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +33 -78
- 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/dialog2.js +1 -1
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +117 -23
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer2.js +23 -117
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown2.js +2 -2
- package/lib/components/empty/index.d.ts +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +56 -11
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty.vue.d.ts +1 -1
- package/lib/components/empty/src/empty2.js +11 -56
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/form/src/form-item2.js +0 -3
- 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 -35
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +35 -8
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.d.ts +4 -4
- package/lib/components/image/index.js +2 -2
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.js +170 -46
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +4 -4
- package/lib/components/image/src/image2.js +46 -170
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/index.js +30 -30
- package/lib/components/input/index.d.ts +2 -2
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/src/input.js +84 -295
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +2 -2
- package/lib/components/input/src/input2.js +295 -84
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +4 -4
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +46 -171
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +4 -4
- package/lib/components/input-number/src/input-number2.js +171 -46
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +19 -43
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +43 -19
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item.js +65 -16
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +16 -65
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/pagination/index.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +1 -1
- package/lib/components/popconfirm/index.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popover/index.d.ts +12 -12
- package/lib/components/popover/src/index.vue.d.ts +6 -6
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/popper/index.js +4 -4
- package/lib/components/popper/src/arrow.js +7 -31
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +31 -7
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +3 -3
- package/lib/components/popper/src/popper.js +21 -27
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/popper/src/popper2.js +27 -21
- package/lib/components/popper/src/popper2.js.map +1 -1
- package/lib/components/popper/src/utils.d.ts +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-group.js +37 -18
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +18 -37
- 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 +84 -169
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +169 -84
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +30 -73
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +73 -30
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/roving-focus-group/index.js +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js +33 -27
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group2.js +27 -33
- package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -9
- package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -1
- package/lib/components/row/index.d.ts +3 -3
- package/lib/components/row/src/row.d.ts +4 -4
- package/lib/components/scrollbar/index.d.ts +1 -1
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar.js +22 -35
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/bar2.js +35 -22
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +1 -1
- package/lib/components/scrollbar/src/thumb.js +59 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -59
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/index.d.ts +18 -18
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select/src/select.vue.d.ts +18 -18
- package/lib/components/select/src/useSelect.d.ts +17 -17
- package/lib/components/select-v2/index.d.ts +38 -38
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +19 -19
- package/lib/components/select-v2/src/useSelect.d.ts +17 -17
- package/lib/components/skeleton/index.d.ts +9 -9
- package/lib/components/skeleton/index.js +4 -4
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton-item.js +18 -23
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
- package/lib/components/skeleton/src/skeleton-item2.js +23 -18
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.js +22 -49
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
- package/lib/components/skeleton/src/skeleton2.js +49 -22
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/space/index.d.ts +2 -2
- package/lib/components/space/src/space.d.ts +2 -2
- package/lib/components/steps/index.d.ts +1 -1
- package/lib/components/steps/src/index.vue.d.ts +1 -1
- package/lib/components/switch/index.d.ts +2 -2
- package/lib/components/switch/index.js +2 -2
- package/lib/components/switch/src/switch.js +81 -176
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/lib/components/switch/src/switch2.js +176 -81
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +17 -17
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +76 -7
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +7 -76
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +17 -17
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker-com/useTimePicker.d.ts +2 -2
- package/lib/components/time-select/index.d.ts +6 -6
- package/lib/components/time-select/src/time-select.vue.d.ts +3 -3
- package/lib/components/timeline/index.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/index.js +2 -2
- package/lib/components/tooltip/src/tooltip.js +50 -65
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/lib/components/tooltip/src/tooltip2.js +65 -50
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.js +1 -1
- package/lib/components/tooltip-v2/index.d.ts +47 -47
- package/lib/components/tooltip-v2/index.js +4 -4
- package/lib/components/tooltip-v2/src/arrow.js +38 -23
- package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
- package/lib/components/tooltip-v2/src/arrow.vue.d.ts +2 -2
- package/lib/components/tooltip-v2/src/arrow2.js +23 -38
- package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip-v2/src/root.js +81 -17
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +17 -81
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +74 -21
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +47 -47
- package/lib/components/tooltip-v2/src/tooltip2.js +21 -74
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-list.js +155 -27
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +27 -155
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/lib/index.js +30 -30
- package/lib/utils/vue/vnode.d.ts +6 -6
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
readonly arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
9
9
|
readonly effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
10
10
|
readonly contentClass: StringConstructor;
|
|
11
|
-
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
11
|
+
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
12
12
|
readonly reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
13
13
|
readonly offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
14
14
|
readonly strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
readonly arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
39
39
|
readonly effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
40
40
|
readonly contentClass: StringConstructor;
|
|
41
|
-
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
41
|
+
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
42
42
|
readonly reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
43
43
|
readonly offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
44
44
|
readonly strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
readonly arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
71
71
|
readonly effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
72
72
|
readonly contentClass: StringConstructor;
|
|
73
|
-
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
73
|
+
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
74
74
|
readonly reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
75
75
|
readonly offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
76
76
|
readonly strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -94,17 +94,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
}>>>;
|
|
95
95
|
arrowProps: {
|
|
96
96
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
97
|
-
readonly offset?: number | undefined;
|
|
98
|
-
readonly height?: number | undefined;
|
|
99
|
-
readonly width?: number | undefined;
|
|
100
|
-
readonly effect?: string | undefined;
|
|
101
97
|
readonly style?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown> | undefined;
|
|
102
98
|
readonly open?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
99
|
+
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown> | undefined;
|
|
100
|
+
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
101
|
+
readonly width?: number | undefined;
|
|
102
|
+
readonly height?: number | undefined;
|
|
103
|
+
readonly offset?: number | undefined;
|
|
104
|
+
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
105
|
+
readonly effect?: string | undefined;
|
|
103
106
|
readonly onClick?: ((e: Event) => boolean | void) | undefined;
|
|
104
107
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
105
108
|
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
106
|
-
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
|
|
107
|
-
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
108
109
|
readonly teleported?: boolean | undefined;
|
|
109
110
|
readonly ariaLabel?: string | undefined;
|
|
110
111
|
readonly showArrow?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -119,23 +120,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
readonly onMouseDown?: ((e: Event) => boolean | void) | undefined;
|
|
120
121
|
readonly arrowPadding?: number | undefined;
|
|
121
122
|
readonly transitionProps?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").TransitionProps | null>, unknown, unknown> | undefined;
|
|
122
|
-
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
123
123
|
readonly alwaysOn?: boolean | undefined;
|
|
124
124
|
readonly fullTransition?: boolean | undefined;
|
|
125
125
|
};
|
|
126
126
|
contentProps: {
|
|
127
127
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
128
|
-
readonly offset?: number | undefined;
|
|
129
|
-
readonly height?: number | undefined;
|
|
130
|
-
readonly width?: number | undefined;
|
|
131
|
-
readonly effect?: string | undefined;
|
|
132
128
|
readonly style?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown> | undefined;
|
|
133
129
|
readonly open?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
130
|
+
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown> | undefined;
|
|
131
|
+
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
132
|
+
readonly width?: number | undefined;
|
|
133
|
+
readonly height?: number | undefined;
|
|
134
|
+
readonly offset?: number | undefined;
|
|
135
|
+
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
136
|
+
readonly effect?: string | undefined;
|
|
134
137
|
readonly onClick?: ((e: Event) => boolean | void) | undefined;
|
|
135
138
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
136
139
|
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
137
|
-
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
|
|
138
|
-
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
139
140
|
readonly teleported?: boolean | undefined;
|
|
140
141
|
readonly ariaLabel?: string | undefined;
|
|
141
142
|
readonly showArrow?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -150,23 +151,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
151
|
readonly onMouseDown?: ((e: Event) => boolean | void) | undefined;
|
|
151
152
|
readonly arrowPadding?: number | undefined;
|
|
152
153
|
readonly transitionProps?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").TransitionProps | null>, unknown, unknown> | undefined;
|
|
153
|
-
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
154
154
|
readonly alwaysOn?: boolean | undefined;
|
|
155
155
|
readonly fullTransition?: boolean | undefined;
|
|
156
156
|
};
|
|
157
157
|
rootProps: {
|
|
158
158
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
159
|
-
readonly offset?: number | undefined;
|
|
160
|
-
readonly height?: number | undefined;
|
|
161
|
-
readonly width?: number | undefined;
|
|
162
|
-
readonly effect?: string | undefined;
|
|
163
159
|
readonly style?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown> | undefined;
|
|
164
160
|
readonly open?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
161
|
+
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown> | undefined;
|
|
162
|
+
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
163
|
+
readonly width?: number | undefined;
|
|
164
|
+
readonly height?: number | undefined;
|
|
165
|
+
readonly offset?: number | undefined;
|
|
166
|
+
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
167
|
+
readonly effect?: string | undefined;
|
|
165
168
|
readonly onClick?: ((e: Event) => boolean | void) | undefined;
|
|
166
169
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
167
170
|
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
168
|
-
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
|
|
169
|
-
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
170
171
|
readonly teleported?: boolean | undefined;
|
|
171
172
|
readonly ariaLabel?: string | undefined;
|
|
172
173
|
readonly showArrow?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -181,23 +182,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
182
|
readonly onMouseDown?: ((e: Event) => boolean | void) | undefined;
|
|
182
183
|
readonly arrowPadding?: number | undefined;
|
|
183
184
|
readonly transitionProps?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").TransitionProps | null>, unknown, unknown> | undefined;
|
|
184
|
-
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
185
185
|
readonly alwaysOn?: boolean | undefined;
|
|
186
186
|
readonly fullTransition?: boolean | undefined;
|
|
187
187
|
};
|
|
188
188
|
triggerProps: {
|
|
189
189
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
190
|
-
readonly offset?: number | undefined;
|
|
191
|
-
readonly height?: number | undefined;
|
|
192
|
-
readonly width?: number | undefined;
|
|
193
|
-
readonly effect?: string | undefined;
|
|
194
190
|
readonly style?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown> | undefined;
|
|
195
191
|
readonly open?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
192
|
+
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown> | undefined;
|
|
193
|
+
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
194
|
+
readonly width?: number | undefined;
|
|
195
|
+
readonly height?: number | undefined;
|
|
196
|
+
readonly offset?: number | undefined;
|
|
197
|
+
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
198
|
+
readonly effect?: string | undefined;
|
|
196
199
|
readonly onClick?: ((e: Event) => boolean | void) | undefined;
|
|
197
200
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
198
201
|
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
199
|
-
readonly placement?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
|
|
200
|
-
readonly strategy?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown> | undefined;
|
|
201
202
|
readonly teleported?: boolean | undefined;
|
|
202
203
|
readonly ariaLabel?: string | undefined;
|
|
203
204
|
readonly showArrow?: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -212,7 +213,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
213
|
readonly onMouseDown?: ((e: Event) => boolean | void) | undefined;
|
|
213
214
|
readonly arrowPadding?: number | undefined;
|
|
214
215
|
readonly transitionProps?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").TransitionProps | null>, unknown, unknown> | undefined;
|
|
215
|
-
readonly to?: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
216
216
|
readonly alwaysOn?: boolean | undefined;
|
|
217
217
|
readonly fullTransition?: boolean | undefined;
|
|
218
218
|
};
|
|
@@ -307,9 +307,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
307
307
|
height: import("../../../utils").BuildPropReturn<NumberConstructor, 10, unknown, unknown, unknown>;
|
|
308
308
|
style: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, null, unknown, unknown, unknown>;
|
|
309
309
|
}>>, {
|
|
310
|
-
height: number;
|
|
311
|
-
width: number;
|
|
312
310
|
style: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown>;
|
|
311
|
+
width: number;
|
|
312
|
+
height: number;
|
|
313
313
|
}>;
|
|
314
314
|
TooltipV2Content: import("vue").DefineComponent<{
|
|
315
315
|
nowrap: BooleanConstructor;
|
|
@@ -317,7 +317,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
317
|
arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
318
318
|
effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
319
319
|
contentClass: StringConstructor;
|
|
320
|
-
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
320
|
+
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
321
321
|
reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
322
322
|
offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
323
323
|
strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -329,7 +329,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
329
329
|
arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
330
330
|
effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
331
331
|
contentClass: StringConstructor;
|
|
332
|
-
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
332
|
+
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
333
333
|
reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
334
334
|
offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
335
335
|
strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -339,7 +339,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
339
339
|
}>>;
|
|
340
340
|
triggerRef: import("vue").Ref<HTMLElement | null>;
|
|
341
341
|
contentId: import("vue").Ref<string>;
|
|
342
|
-
placement: import("vue").Ref<import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
342
|
+
placement: import("vue").Ref<import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>>;
|
|
343
343
|
strategy: import("vue").Ref<import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown>>;
|
|
344
344
|
arrowRef: import("vue").Ref<HTMLElement | null>;
|
|
345
345
|
referenceRef: import("vue").Ref<HTMLElement | import("@floating-ui/dom").VirtualElement | undefined>;
|
|
@@ -429,17 +429,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
429
429
|
arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
430
430
|
effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
431
431
|
contentClass: StringConstructor;
|
|
432
|
-
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
432
|
+
placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
433
433
|
reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
434
434
|
offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
435
435
|
strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
436
436
|
showArrow: import("../../../utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
437
437
|
}>>, {
|
|
438
|
+
placement: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
439
|
+
strategy: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown>;
|
|
438
440
|
offset: number;
|
|
439
441
|
effect: string;
|
|
440
442
|
nowrap: boolean;
|
|
441
|
-
placement: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
442
|
-
strategy: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown>;
|
|
443
443
|
showArrow: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
444
444
|
reference: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, unknown, unknown>;
|
|
445
445
|
arrowPadding: number;
|
|
@@ -523,7 +523,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
523
523
|
readonly arrowPadding: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<number>, 5, unknown, unknown, unknown>;
|
|
524
524
|
readonly effect: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
525
525
|
readonly contentClass: StringConstructor;
|
|
526
|
-
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "
|
|
526
|
+
readonly placement: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "bottom", unknown, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
527
527
|
readonly reference: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<HTMLElement | import("@floating-ui/dom").VirtualElement | null>, null, unknown, unknown, unknown>;
|
|
528
528
|
readonly offset: import("../../../utils").BuildPropReturn<NumberConstructor, 8, unknown, unknown, unknown>;
|
|
529
529
|
readonly strategy: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "absolute", unknown, "fixed" | "absolute", unknown>;
|
|
@@ -543,17 +543,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
543
543
|
readonly onOpenChange: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<(state: boolean) => void>, unknown, unknown, unknown, unknown>;
|
|
544
544
|
readonly 'onUpdate:open': import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<(state: boolean) => void>, unknown, unknown, unknown, unknown>;
|
|
545
545
|
}>>, {
|
|
546
|
-
offset: number;
|
|
547
|
-
height: number;
|
|
548
|
-
width: number;
|
|
549
|
-
effect: string;
|
|
550
546
|
style: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").CSSProperties | null>, unknown, unknown>;
|
|
551
547
|
open: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
548
|
+
placement: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end", unknown>;
|
|
549
|
+
strategy: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown>;
|
|
550
|
+
width: number;
|
|
551
|
+
height: number;
|
|
552
|
+
offset: number;
|
|
553
|
+
to: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
554
|
+
effect: string;
|
|
552
555
|
onClick: (e: Event) => boolean | void;
|
|
553
556
|
onFocus: (e: Event) => boolean | void;
|
|
554
557
|
onBlur: (e: Event) => boolean | void;
|
|
555
|
-
placement: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Placement>, "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
556
|
-
strategy: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("@floating-ui/core").Strategy>, "fixed" | "absolute", unknown>;
|
|
557
558
|
teleported: boolean;
|
|
558
559
|
showArrow: import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
559
560
|
onMouseLeave: (e: Event) => boolean | void;
|
|
@@ -566,7 +567,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
566
567
|
onMouseDown: (e: Event) => boolean | void;
|
|
567
568
|
arrowPadding: number;
|
|
568
569
|
transitionProps: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<import("vue").TransitionProps | null>, unknown, unknown>;
|
|
569
|
-
to: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").RendererElement | null | undefined>, unknown, unknown>;
|
|
570
570
|
alwaysOn: boolean;
|
|
571
571
|
fullTransition: boolean;
|
|
572
572
|
}>;
|
|
@@ -1,80 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { tooltipV2ArrowProps } from './arrow.mjs';
|
|
4
|
-
import { tooltipV2ContentProps } from './content2.mjs';
|
|
5
|
-
import { tooltipV2RootProps } from './root.mjs';
|
|
6
|
-
import { tooltipV2Props } from './tooltip.mjs';
|
|
1
|
+
import '../../../utils/index.mjs';
|
|
2
|
+
import { tooltipV2RootProps } from './root2.mjs';
|
|
7
3
|
import { tooltipV2TriggerProps } from './trigger.mjs';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import TooltipV2Trigger from './trigger2.mjs';
|
|
12
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
4
|
+
import { tooltipV2ArrowProps } from './arrow2.mjs';
|
|
5
|
+
import { tooltipV2ContentProps } from './content2.mjs';
|
|
6
|
+
import { buildProps, definePropType } from '../../../utils/vue/props.mjs';
|
|
13
7
|
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
...
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
default: withCtx(({ open }) => [
|
|
30
|
-
createVNode(TooltipV2Trigger, mergeProps(unref(triggerProps), { nowrap: "" }), {
|
|
31
|
-
default: withCtx(() => [
|
|
32
|
-
renderSlot(_ctx.$slots, "trigger")
|
|
33
|
-
]),
|
|
34
|
-
_: 3
|
|
35
|
-
}, 16),
|
|
36
|
-
(openBlock(), createBlock(Teleport, {
|
|
37
|
-
to: _ctx.to,
|
|
38
|
-
disabled: !_ctx.teleported
|
|
39
|
-
}, [
|
|
40
|
-
_ctx.fullTransition ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, _ctx.transitionProps)), {
|
|
41
|
-
default: withCtx(() => [
|
|
42
|
-
_ctx.alwaysOn || open ? (openBlock(), createBlock(TooltipV2Content, normalizeProps(mergeProps({ key: 0 }, unref(contentProps))), {
|
|
43
|
-
arrow: withCtx(({ style, side }) => [
|
|
44
|
-
_ctx.showArrow ? (openBlock(), createBlock(TooltipV2Arrow, mergeProps({ key: 0 }, unref(arrowProps), {
|
|
45
|
-
style,
|
|
46
|
-
side
|
|
47
|
-
}), null, 16, ["style", "side"])) : createCommentVNode("v-if", true)
|
|
48
|
-
]),
|
|
49
|
-
default: withCtx(() => [
|
|
50
|
-
renderSlot(_ctx.$slots, "default")
|
|
51
|
-
]),
|
|
52
|
-
_: 3
|
|
53
|
-
}, 16)) : createCommentVNode("v-if", true)
|
|
54
|
-
]),
|
|
55
|
-
_: 2
|
|
56
|
-
}, 1040)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
57
|
-
_ctx.alwaysOn || open ? (openBlock(), createBlock(TooltipV2Content, normalizeProps(mergeProps({ key: 0 }, unref(contentProps))), {
|
|
58
|
-
arrow: withCtx(({ style, side }) => [
|
|
59
|
-
_ctx.showArrow ? (openBlock(), createBlock(TooltipV2Arrow, mergeProps({ key: 0 }, unref(arrowProps), {
|
|
60
|
-
style,
|
|
61
|
-
side
|
|
62
|
-
}), null, 16, ["style", "side"])) : createCommentVNode("v-if", true)
|
|
63
|
-
]),
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
renderSlot(_ctx.$slots, "default")
|
|
66
|
-
]),
|
|
67
|
-
_: 3
|
|
68
|
-
}, 16)) : createCommentVNode("v-if", true)
|
|
69
|
-
], 2112))
|
|
70
|
-
], 8, ["to", "disabled"]))
|
|
71
|
-
]),
|
|
72
|
-
_: 3
|
|
73
|
-
}, 16);
|
|
74
|
-
};
|
|
8
|
+
const tooltipV2Props = buildProps({
|
|
9
|
+
...tooltipV2RootProps,
|
|
10
|
+
...tooltipV2ArrowProps,
|
|
11
|
+
...tooltipV2TriggerProps,
|
|
12
|
+
...tooltipV2ContentProps,
|
|
13
|
+
alwaysOn: Boolean,
|
|
14
|
+
fullTransition: Boolean,
|
|
15
|
+
transitionProps: {
|
|
16
|
+
type: definePropType(Object),
|
|
17
|
+
default: null
|
|
18
|
+
},
|
|
19
|
+
teleported: Boolean,
|
|
20
|
+
to: {
|
|
21
|
+
type: definePropType(String),
|
|
22
|
+
default: "body"
|
|
75
23
|
}
|
|
76
24
|
});
|
|
77
|
-
var TooltipV2 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/meng/workspace/element-ps/packages/components/tooltip-v2/src/tooltip.vue"]]);
|
|
78
25
|
|
|
79
|
-
export {
|
|
26
|
+
export { tooltipV2Props };
|
|
80
27
|
//# sourceMappingURL=tooltip2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/tooltip.
|
|
1
|
+
{"version":3,"file":"tooltip2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/tooltip.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-ps/utils'\nimport { tooltipV2RootProps } from './root'\nimport { tooltipV2TriggerProps } from './trigger'\nimport { tooltipV2ArrowProps } from './arrow'\nimport { tooltipV2ContentProps } from './content'\n\nimport type { ExtractPropTypes, TeleportProps, TransitionProps } from 'vue'\n\nexport const tooltipV2Props = buildProps({\n ...tooltipV2RootProps,\n ...tooltipV2ArrowProps,\n ...tooltipV2TriggerProps,\n ...tooltipV2ContentProps,\n alwaysOn: Boolean,\n fullTransition: Boolean,\n transitionProps: {\n type: definePropType<TransitionProps | null>(Object),\n default: null,\n },\n teleported: Boolean,\n to: {\n type: definePropType<TeleportProps['to']>(String),\n default: 'body',\n },\n} as const)\n\nexport type TooltipV2Props = ExtractPropTypes<typeof tooltipV2Props>\n"],"names":[],"mappings":";;;;;;;AAKY,MAAC,cAAc,GAAG,UAAU,CAAC;AACzC,EAAE,GAAG,kBAAkB;AACvB,EAAE,GAAG,mBAAmB;AACxB,EAAE,GAAG,qBAAqB;AAC1B,EAAE,GAAG,qBAAqB;AAC1B,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,cAAc,EAAE,OAAO;AACzB,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -2,7 +2,7 @@ import '../../utils/index.mjs';
|
|
|
2
2
|
import Upload from './src/upload2.mjs';
|
|
3
3
|
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './src/upload.mjs';
|
|
4
4
|
export { uploadContentProps } from './src/upload-content2.mjs';
|
|
5
|
-
export { uploadListEmits, uploadListProps } from './src/upload-
|
|
5
|
+
export { uploadListEmits, uploadListProps } from './src/upload-list2.mjs';
|
|
6
6
|
export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger.mjs';
|
|
7
7
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
8
8
|
|
|
@@ -1,31 +1,160 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, TransitionGroup, normalizeClass, unref, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode, createElementVNode, createVNode, toDisplayString, normalizeStyle } from 'vue';
|
|
2
|
+
import { PsIcon } from '../../icon/index.mjs';
|
|
3
|
+
import { Document, CircleCheck, Check, Close, ZoomIn, Delete } from '@element-plus/icons-vue';
|
|
4
|
+
import '../../../hooks/index.mjs';
|
|
5
|
+
import { PsProgress } from '../../progress/index.mjs';
|
|
6
|
+
import { uploadListProps } from './upload-list2.mjs';
|
|
7
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
8
|
+
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
9
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
6
10
|
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
const _hoisted_1 = ["src"];
|
|
12
|
+
const __default__ = {
|
|
13
|
+
name: "PsUploadList"
|
|
14
|
+
};
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
|
+
...__default__,
|
|
17
|
+
props: uploadListProps,
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const { t } = useLocale();
|
|
21
|
+
const nsUpload = useNamespace("upload");
|
|
22
|
+
const nsIcon = useNamespace("icon");
|
|
23
|
+
const nsList = useNamespace("list");
|
|
24
|
+
const focusing = ref(false);
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createBlock(TransitionGroup, {
|
|
27
|
+
tag: "ul",
|
|
28
|
+
class: normalizeClass([
|
|
29
|
+
unref(nsUpload).b("list"),
|
|
30
|
+
unref(nsUpload).bm("list", _ctx.listType),
|
|
31
|
+
unref(nsUpload).is("disabled", _ctx.disabled)
|
|
32
|
+
]),
|
|
33
|
+
name: unref(nsList).b()
|
|
34
|
+
}, {
|
|
35
|
+
default: withCtx(() => [
|
|
36
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.files, (file) => {
|
|
37
|
+
return openBlock(), createElementBlock("li", {
|
|
38
|
+
key: file.uid || file.name,
|
|
39
|
+
class: normalizeClass([
|
|
40
|
+
unref(nsUpload).be("list", "item"),
|
|
41
|
+
unref(nsUpload).is(file.status),
|
|
42
|
+
{ focusing: focusing.value }
|
|
43
|
+
]),
|
|
44
|
+
tabindex: "0"
|
|
45
|
+
}, [
|
|
46
|
+
renderSlot(_ctx.$slots, "default", { file }, () => [
|
|
47
|
+
_ctx.listType === "picture" || file.status !== "uploading" && _ctx.listType === "picture-card" ? (openBlock(), createElementBlock("img", {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-thumbnail")),
|
|
50
|
+
src: file.url,
|
|
51
|
+
alt: ""
|
|
52
|
+
}, null, 10, _hoisted_1)) : createCommentVNode("v-if", true),
|
|
53
|
+
_ctx.listType !== "picture" && (file.status === "uploading" || _ctx.listType !== "picture-card") ? (openBlock(), createElementBlock("div", {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-info"))
|
|
56
|
+
}, [
|
|
57
|
+
createElementVNode("a", {
|
|
58
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-name"))
|
|
59
|
+
}, [
|
|
60
|
+
createVNode(unref(PsIcon), {
|
|
61
|
+
class: normalizeClass(unref(nsIcon).m("document"))
|
|
62
|
+
}, {
|
|
63
|
+
default: withCtx(() => [
|
|
64
|
+
createVNode(unref(Document))
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
}, 8, ["class"]),
|
|
68
|
+
createElementVNode("span", {
|
|
69
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-file-name"))
|
|
70
|
+
}, toDisplayString(file.name), 3)
|
|
71
|
+
], 2),
|
|
72
|
+
file.status === "uploading" ? (openBlock(), createBlock(unref(PsProgress), {
|
|
73
|
+
key: 0,
|
|
74
|
+
type: _ctx.listType === "picture-card" ? "circle" : "line",
|
|
75
|
+
"stroke-width": _ctx.listType === "picture-card" ? 6 : 2,
|
|
76
|
+
percentage: Number(file.percentage),
|
|
77
|
+
style: normalizeStyle(_ctx.listType === "picture-card" ? "" : "margin-top: 0.5rem")
|
|
78
|
+
}, null, 8, ["type", "stroke-width", "percentage", "style"])) : createCommentVNode("v-if", true)
|
|
79
|
+
], 2)) : createCommentVNode("v-if", true),
|
|
80
|
+
createElementVNode("label", {
|
|
81
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-status-label"))
|
|
82
|
+
}, [
|
|
83
|
+
_ctx.listType === "text" ? (openBlock(), createBlock(unref(PsIcon), {
|
|
84
|
+
key: 0,
|
|
85
|
+
class: normalizeClass([unref(nsIcon).m("upload-success"), unref(nsIcon).m("circle-check")])
|
|
86
|
+
}, {
|
|
87
|
+
default: withCtx(() => [
|
|
88
|
+
createVNode(unref(CircleCheck))
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["class"])) : ["picture-card", "picture"].includes(_ctx.listType) ? (openBlock(), createBlock(unref(PsIcon), {
|
|
92
|
+
key: 1,
|
|
93
|
+
class: normalizeClass([unref(nsIcon).m("upload-success"), unref(nsIcon).m("check")])
|
|
94
|
+
}, {
|
|
95
|
+
default: withCtx(() => [
|
|
96
|
+
createVNode(unref(Check))
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
100
|
+
], 2),
|
|
101
|
+
!_ctx.disabled ? (openBlock(), createBlock(unref(PsIcon), {
|
|
102
|
+
key: 2,
|
|
103
|
+
class: normalizeClass(unref(nsIcon).m("close"))
|
|
104
|
+
}, {
|
|
105
|
+
default: withCtx(() => [
|
|
106
|
+
createVNode(unref(Close))
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true),
|
|
110
|
+
createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),
|
|
111
|
+
createCommentVNode(" This is a bug which needs to be fixed "),
|
|
112
|
+
createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
|
|
113
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("i", {
|
|
114
|
+
key: 3,
|
|
115
|
+
class: normalizeClass(unref(nsIcon).m("close-tip"))
|
|
116
|
+
}, toDisplayString(unref(t)("el.upload.deleteTip")), 3)) : createCommentVNode("v-if", true),
|
|
117
|
+
_ctx.listType === "picture-card" ? (openBlock(), createElementBlock("span", {
|
|
118
|
+
key: 4,
|
|
119
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-actions"))
|
|
120
|
+
}, [
|
|
121
|
+
createElementVNode("span", {
|
|
122
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-preview"))
|
|
123
|
+
}, [
|
|
124
|
+
createVNode(unref(PsIcon), {
|
|
125
|
+
class: normalizeClass(unref(nsIcon).m("zoom-in"))
|
|
126
|
+
}, {
|
|
127
|
+
default: withCtx(() => [
|
|
128
|
+
createVNode(unref(ZoomIn))
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["class"])
|
|
132
|
+
], 2),
|
|
133
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("span", {
|
|
134
|
+
key: 0,
|
|
135
|
+
class: normalizeClass(unref(nsUpload).be("list", "item-delete"))
|
|
136
|
+
}, [
|
|
137
|
+
createVNode(unref(PsIcon), {
|
|
138
|
+
class: normalizeClass(unref(nsIcon).m("delete"))
|
|
139
|
+
}, {
|
|
140
|
+
default: withCtx(() => [
|
|
141
|
+
createVNode(unref(Delete))
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, ["class"])
|
|
145
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
146
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
147
|
+
])
|
|
148
|
+
], 2);
|
|
149
|
+
}), 128)),
|
|
150
|
+
renderSlot(_ctx.$slots, "append")
|
|
151
|
+
]),
|
|
152
|
+
_: 3
|
|
153
|
+
}, 8, ["class", "name"]);
|
|
154
|
+
};
|
|
24
155
|
}
|
|
25
156
|
});
|
|
26
|
-
|
|
27
|
-
remove: (file) => !!file
|
|
28
|
-
};
|
|
157
|
+
var UploadList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/meng/workspace/element-ps/packages/components/upload/src/upload-list.vue"]]);
|
|
29
158
|
|
|
30
|
-
export {
|
|
159
|
+
export { UploadList as default };
|
|
31
160
|
//# sourceMappingURL=upload-list.mjs.map
|