primevue 3.26.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -8
- package/accordion/Accordion.d.ts +46 -2
- package/accordion/Accordion.vue +29 -13
- package/accordion/accordion.cjs.js +60 -33
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +58 -34
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +59 -35
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +76 -1
- package/accordiontab/AccordionTab.vue +3 -0
- package/accordiontab/accordiontab.cjs.js +6 -0
- package/accordiontab/accordiontab.cjs.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +2 -0
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +7 -2
- package/accordiontab/accordiontab.min.js +1 -1
- package/api/Api.d.ts +292 -284
- package/autocomplete/AutoComplete.d.ts +15 -3
- package/autocomplete/AutoComplete.vue +25 -10
- package/autocomplete/autocomplete.cjs.js +62 -36
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +60 -37
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +61 -38
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +5 -0
- package/avatar/Avatar.vue +5 -6
- package/avatar/avatar.cjs.js +25 -20
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +26 -21
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +25 -20
- package/avatar/avatar.min.js +1 -1
- package/badge/Badge.d.ts +1 -1
- package/basecomponent/BaseComponent.vue +26 -0
- package/basecomponent/basecomponent.cjs.js +28 -0
- package/basecomponent/basecomponent.cjs.min.js +1 -0
- package/basecomponent/basecomponent.esm.js +26 -0
- package/basecomponent/basecomponent.esm.min.js +1 -0
- package/basecomponent/basecomponent.js +30 -0
- package/basecomponent/basecomponent.min.js +1 -0
- package/basecomponent/package.json +8 -0
- package/baseicon/BaseIcon.vue +66 -0
- package/baseicon/baseicon.cjs.js +66 -0
- package/baseicon/baseicon.cjs.min.js +1 -0
- package/baseicon/baseicon.esm.js +64 -0
- package/baseicon/baseicon.esm.min.js +1 -0
- package/baseicon/baseicon.js +68 -0
- package/baseicon/baseicon.min.js +1 -0
- package/baseicon/package.json +8 -0
- package/breadcrumb/Breadcrumb.d.ts +18 -0
- package/breadcrumb/Breadcrumb.vue +8 -4
- package/breadcrumb/BreadcrumbItem.vue +7 -10
- package/breadcrumb/breadcrumb.cjs.js +46 -35
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +43 -36
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +47 -37
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +21 -2
- package/button/Button.vue +23 -8
- package/button/button.cjs.js +54 -25
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +54 -26
- package/button/button.esm.min.js +1 -1
- package/button/button.js +55 -27
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +25 -5
- package/calendar/Calendar.vue +57 -24
- package/calendar/calendar.cjs.js +85 -44
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +81 -45
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +82 -46
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +51 -1
- package/card/Card.vue +15 -14
- package/card/card.cjs.js +33 -65
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +30 -66
- package/card/card.esm.min.js +1 -1
- package/card/card.js +34 -67
- package/card/card.min.js +1 -1
- package/carousel/Carousel.d.ts +8 -0
- package/carousel/Carousel.vue +16 -2
- package/carousel/carousel.cjs.js +20 -6
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +17 -7
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +18 -8
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +16 -3
- package/cascadeselect/CascadeSelect.vue +16 -9
- package/cascadeselect/CascadeSelectSub.vue +10 -1
- package/cascadeselect/cascadeselect.cjs.js +46 -14
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +43 -14
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +45 -16
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/Checkbox.d.ts +13 -2
- package/checkbox/Checkbox.vue +7 -1
- package/checkbox/checkbox.cjs.js +11 -3
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +8 -4
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +12 -5
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +20 -1
- package/chip/Chip.vue +13 -10
- package/chip/chip.cjs.js +46 -31
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +43 -32
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +47 -33
- package/chip/chip.min.js +1 -1
- package/chips/Chips.d.ts +12 -1
- package/chips/Chips.vue +8 -2
- package/chips/chips.cjs.js +22 -11
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +19 -12
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +23 -13
- package/chips/chips.min.js +1 -1
- package/column/Column.d.ts +77 -1
- package/column/Column.vue +1 -1
- package/column/column.cjs.js +1 -1
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- package/column/column.min.js +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +1 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +1 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +23 -1
- package/confirmdialog/ConfirmDialog.vue +18 -3
- package/confirmdialog/confirmdialog.cjs.js +36 -11
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +37 -12
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +36 -11
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +23 -1
- package/confirmpopup/ConfirmPopup.vue +18 -3
- package/confirmpopup/confirmpopup.cjs.js +35 -9
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +36 -10
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +35 -9
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +23 -0
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/ContextMenuSub.vue +17 -8
- package/contextmenu/contextmenu.cjs.js +48 -23
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +48 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +49 -25
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +2685 -315
- package/core/core.min.js +106 -12
- package/datatable/BodyCell.vue +44 -13
- package/datatable/ColumnFilter.vue +59 -17
- package/datatable/DataTable.d.ts +43 -5
- package/datatable/DataTable.vue +49 -11
- package/datatable/FooterCell.vue +1 -1
- package/datatable/HeaderCell.vue +36 -15
- package/datatable/HeaderCheckbox.vue +11 -2
- package/datatable/RowCheckbox.vue +11 -2
- package/datatable/TableBody.vue +32 -18
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +10 -0
- package/datatable/datatable.cjs.js +442 -154
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +427 -155
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +428 -156
- package/datatable/datatable.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +12 -2
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +13 -2
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +25 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +21 -12
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +25 -13
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/deferredcontent/DeferredContent.d.ts +49 -1
- package/deferredcontent/DeferredContent.vue +4 -1
- package/deferredcontent/deferredcontent.cjs.js +8 -4
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +5 -5
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +9 -6
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.d.ts +18 -4
- package/dialog/Dialog.vue +22 -13
- package/dialog/dialog.cjs.js +29 -17
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +27 -18
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +28 -19
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +36 -0
- package/divider/Divider.vue +5 -2
- package/divider/divider.cjs.js +15 -10
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +12 -11
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +16 -12
- package/divider/divider.min.js +1 -1
- package/dropdown/Dropdown.d.ts +41 -5
- package/dropdown/Dropdown.vue +28 -14
- package/dropdown/dropdown.cjs.js +70 -32
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +67 -33
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +68 -34
- package/dropdown/dropdown.min.js +1 -1
- package/fieldset/Fieldset.d.ts +73 -0
- package/fieldset/Fieldset.vue +18 -17
- package/fieldset/fieldset.cjs.js +33 -34
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +31 -35
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +32 -36
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileContent.vue +13 -2
- package/fileupload/FileUpload.d.ts +28 -3
- package/fileupload/FileUpload.vue +35 -16
- package/fileupload/fileupload.cjs.js +89 -29
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +87 -30
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +88 -31
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/Galleria.d.ts +20 -0
- package/galleria/Galleria.vue +2 -2
- package/galleria/GalleriaContent.vue +7 -2
- package/galleria/GalleriaItem.vue +8 -2
- package/galleria/GalleriaThumbnails.vue +12 -20
- package/galleria/galleria.cjs.js +60 -64
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +56 -65
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +57 -66
- package/galleria/galleria.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +37 -0
- package/icons/angledoubledown/index.cjs.min.js +1 -0
- package/icons/angledoubledown/index.d.ts +12 -0
- package/icons/angledoubledown/index.esm.js +31 -0
- package/icons/angledoubledown/index.esm.min.js +1 -0
- package/icons/angledoubledown/index.js +39 -0
- package/icons/angledoubledown/index.min.js +1 -0
- package/icons/angledoubledown/index.vue +18 -0
- package/icons/angledoubledown/package.json +9 -0
- package/icons/angledoubleleft/index.cjs.js +37 -0
- package/icons/angledoubleleft/index.cjs.min.js +1 -0
- package/icons/angledoubleleft/index.d.ts +12 -0
- package/icons/angledoubleleft/index.esm.js +31 -0
- package/icons/angledoubleleft/index.esm.min.js +1 -0
- package/icons/angledoubleleft/index.js +39 -0
- package/icons/angledoubleleft/index.min.js +1 -0
- package/icons/angledoubleleft/index.vue +18 -0
- package/icons/angledoubleleft/package.json +9 -0
- package/icons/angledoubleright/index.cjs.js +37 -0
- package/icons/angledoubleright/index.cjs.min.js +1 -0
- package/icons/angledoubleright/index.d.ts +12 -0
- package/icons/angledoubleright/index.esm.js +31 -0
- package/icons/angledoubleright/index.esm.min.js +1 -0
- package/icons/angledoubleright/index.js +39 -0
- package/icons/angledoubleright/index.min.js +1 -0
- package/icons/angledoubleright/index.vue +18 -0
- package/icons/angledoubleright/package.json +9 -0
- package/icons/angledoubleup/index.cjs.js +37 -0
- package/icons/angledoubleup/index.cjs.min.js +1 -0
- package/icons/angledoubleup/index.d.ts +12 -0
- package/icons/angledoubleup/index.esm.js +31 -0
- package/icons/angledoubleup/index.esm.min.js +1 -0
- package/icons/angledoubleup/index.js +39 -0
- package/icons/angledoubleup/index.min.js +1 -0
- package/icons/angledoubleup/index.vue +18 -0
- package/icons/angledoubleup/package.json +9 -0
- package/icons/angledown/index.cjs.js +35 -0
- package/icons/angledown/index.cjs.min.js +1 -0
- package/icons/angledown/index.d.ts +12 -0
- package/icons/angledown/index.esm.js +29 -0
- package/icons/angledown/index.esm.min.js +1 -0
- package/icons/angledown/index.js +37 -0
- package/icons/angledown/index.min.js +1 -0
- package/icons/angledown/index.vue +16 -0
- package/icons/angledown/package.json +9 -0
- package/icons/angleleft/index.cjs.js +35 -0
- package/icons/angleleft/index.cjs.min.js +1 -0
- package/icons/angleleft/index.d.ts +12 -0
- package/icons/angleleft/index.esm.js +29 -0
- package/icons/angleleft/index.esm.min.js +1 -0
- package/icons/angleleft/index.js +37 -0
- package/icons/angleleft/index.min.js +1 -0
- package/icons/angleleft/index.vue +16 -0
- package/icons/angleleft/package.json +9 -0
- package/icons/angleright/index.cjs.js +35 -0
- package/icons/angleright/index.cjs.min.js +1 -0
- package/icons/angleright/index.d.ts +12 -0
- package/icons/angleright/index.esm.js +29 -0
- package/icons/angleright/index.esm.min.js +1 -0
- package/icons/angleright/index.js +37 -0
- package/icons/angleright/index.min.js +1 -0
- package/icons/angleright/index.vue +16 -0
- package/icons/angleright/package.json +9 -0
- package/icons/angleup/index.cjs.js +35 -0
- package/icons/angleup/index.cjs.min.js +1 -0
- package/icons/angleup/index.d.ts +12 -0
- package/icons/angleup/index.esm.js +29 -0
- package/icons/angleup/index.esm.min.js +1 -0
- package/icons/angleup/index.js +37 -0
- package/icons/angleup/index.min.js +1 -0
- package/icons/angleup/index.vue +16 -0
- package/icons/angleup/package.json +9 -0
- package/icons/arrowdown/index.cjs.js +49 -0
- package/icons/arrowdown/index.cjs.min.js +1 -0
- package/icons/arrowdown/index.d.ts +12 -0
- package/icons/arrowdown/index.esm.js +43 -0
- package/icons/arrowdown/index.esm.min.js +1 -0
- package/icons/arrowdown/index.js +51 -0
- package/icons/arrowdown/index.min.js +1 -0
- package/icons/arrowdown/index.vue +25 -0
- package/icons/arrowdown/package.json +9 -0
- package/icons/arrowup/index.cjs.js +49 -0
- package/icons/arrowup/index.cjs.min.js +1 -0
- package/icons/arrowup/index.d.ts +12 -0
- package/icons/arrowup/index.esm.js +43 -0
- package/icons/arrowup/index.esm.min.js +1 -0
- package/icons/arrowup/index.js +51 -0
- package/icons/arrowup/index.min.js +1 -0
- package/icons/arrowup/index.vue +25 -0
- package/icons/arrowup/package.json +9 -0
- package/icons/ban/index.cjs.js +47 -0
- package/icons/ban/index.cjs.min.js +1 -0
- package/icons/ban/index.d.ts +12 -0
- package/icons/ban/index.esm.js +41 -0
- package/icons/ban/index.esm.min.js +1 -0
- package/icons/ban/index.js +49 -0
- package/icons/ban/index.min.js +1 -0
- package/icons/ban/index.vue +23 -0
- package/icons/ban/package.json +9 -0
- package/icons/bars/index.cjs.js +37 -0
- package/icons/bars/index.cjs.min.js +1 -0
- package/icons/bars/index.d.ts +12 -0
- package/icons/bars/index.esm.js +31 -0
- package/icons/bars/index.esm.min.js +1 -0
- package/icons/bars/index.js +39 -0
- package/icons/bars/index.min.js +1 -0
- package/icons/bars/index.vue +18 -0
- package/icons/bars/package.json +9 -0
- package/icons/calendar/index.cjs.js +35 -0
- package/icons/calendar/index.cjs.min.js +1 -0
- package/icons/calendar/index.d.ts +12 -0
- package/icons/calendar/index.esm.js +29 -0
- package/icons/calendar/index.esm.min.js +1 -0
- package/icons/calendar/index.js +37 -0
- package/icons/calendar/index.min.js +1 -0
- package/icons/calendar/index.vue +16 -0
- package/icons/calendar/package.json +9 -0
- package/icons/check/index.cjs.js +35 -0
- package/icons/check/index.cjs.min.js +1 -0
- package/icons/check/index.d.ts +12 -0
- package/icons/check/index.esm.js +29 -0
- package/icons/check/index.esm.min.js +1 -0
- package/icons/check/index.js +37 -0
- package/icons/check/index.min.js +1 -0
- package/icons/check/index.vue +16 -0
- package/icons/check/package.json +9 -0
- package/icons/chevrondown/index.cjs.js +35 -0
- package/icons/chevrondown/index.cjs.min.js +1 -0
- package/icons/chevrondown/index.d.ts +12 -0
- package/icons/chevrondown/index.esm.js +29 -0
- package/icons/chevrondown/index.esm.min.js +1 -0
- package/icons/chevrondown/index.js +37 -0
- package/icons/chevrondown/index.min.js +1 -0
- package/icons/chevrondown/index.vue +16 -0
- package/icons/chevrondown/package.json +9 -0
- package/icons/chevronleft/index.cjs.js +35 -0
- package/icons/chevronleft/index.cjs.min.js +1 -0
- package/icons/chevronleft/index.d.ts +12 -0
- package/icons/chevronleft/index.esm.js +29 -0
- package/icons/chevronleft/index.esm.min.js +1 -0
- package/icons/chevronleft/index.js +37 -0
- package/icons/chevronleft/index.min.js +1 -0
- package/icons/chevronleft/index.vue +16 -0
- package/icons/chevronleft/package.json +9 -0
- package/icons/chevronright/index.cjs.js +35 -0
- package/icons/chevronright/index.cjs.min.js +1 -0
- package/icons/chevronright/index.d.ts +12 -0
- package/icons/chevronright/index.esm.js +29 -0
- package/icons/chevronright/index.esm.min.js +1 -0
- package/icons/chevronright/index.js +37 -0
- package/icons/chevronright/index.min.js +1 -0
- package/icons/chevronright/index.vue +16 -0
- package/icons/chevronright/package.json +9 -0
- package/icons/chevronup/index.cjs.js +35 -0
- package/icons/chevronup/index.cjs.min.js +1 -0
- package/icons/chevronup/index.d.ts +12 -0
- package/icons/chevronup/index.esm.js +29 -0
- package/icons/chevronup/index.esm.min.js +1 -0
- package/icons/chevronup/index.js +37 -0
- package/icons/chevronup/index.min.js +1 -0
- package/icons/chevronup/index.vue +16 -0
- package/icons/chevronup/package.json +9 -0
- package/icons/exclamationtriangle/index.cjs.js +32 -0
- package/icons/exclamationtriangle/index.cjs.min.js +1 -0
- package/icons/exclamationtriangle/index.d.ts +12 -0
- package/icons/exclamationtriangle/index.esm.js +26 -0
- package/icons/exclamationtriangle/index.esm.min.js +1 -0
- package/icons/exclamationtriangle/index.js +34 -0
- package/icons/exclamationtriangle/index.min.js +1 -0
- package/icons/exclamationtriangle/index.vue +31 -0
- package/icons/exclamationtriangle/package.json +9 -0
- package/icons/eye/index.cjs.js +37 -0
- package/icons/eye/index.cjs.min.js +1 -0
- package/icons/eye/index.d.ts +12 -0
- package/icons/eye/index.esm.js +31 -0
- package/icons/eye/index.esm.min.js +1 -0
- package/icons/eye/index.js +39 -0
- package/icons/eye/index.min.js +1 -0
- package/icons/eye/index.vue +18 -0
- package/icons/eye/package.json +9 -0
- package/icons/eyeslash/index.cjs.js +49 -0
- package/icons/eyeslash/index.cjs.min.js +1 -0
- package/icons/eyeslash/index.d.ts +12 -0
- package/icons/eyeslash/index.esm.js +43 -0
- package/icons/eyeslash/index.esm.min.js +1 -0
- package/icons/eyeslash/index.js +51 -0
- package/icons/eyeslash/index.min.js +1 -0
- package/icons/eyeslash/index.vue +25 -0
- package/icons/eyeslash/package.json +9 -0
- package/icons/filter/index.cjs.js +47 -0
- package/icons/filter/index.cjs.min.js +1 -0
- package/icons/filter/index.d.ts +12 -0
- package/icons/filter/index.esm.js +41 -0
- package/icons/filter/index.esm.min.js +1 -0
- package/icons/filter/index.js +49 -0
- package/icons/filter/index.min.js +1 -0
- package/icons/filter/index.vue +23 -0
- package/icons/filter/package.json +9 -0
- package/icons/filterslash/index.cjs.js +49 -0
- package/icons/filterslash/index.cjs.min.js +1 -0
- package/icons/filterslash/index.d.ts +12 -0
- package/icons/filterslash/index.esm.js +43 -0
- package/icons/filterslash/index.esm.min.js +1 -0
- package/icons/filterslash/index.js +51 -0
- package/icons/filterslash/index.min.js +1 -0
- package/icons/filterslash/index.vue +25 -0
- package/icons/filterslash/package.json +9 -0
- package/icons/index.d.ts +12 -0
- package/icons/infocircle/index.cjs.js +49 -0
- package/icons/infocircle/index.cjs.min.js +1 -0
- package/icons/infocircle/index.d.ts +12 -0
- package/icons/infocircle/index.esm.js +43 -0
- package/icons/infocircle/index.esm.min.js +1 -0
- package/icons/infocircle/index.js +51 -0
- package/icons/infocircle/index.min.js +1 -0
- package/icons/infocircle/index.vue +25 -0
- package/icons/infocircle/package.json +9 -0
- package/icons/minus/index.cjs.js +35 -0
- package/icons/minus/index.cjs.min.js +1 -0
- package/icons/minus/index.d.ts +12 -0
- package/icons/minus/index.esm.js +29 -0
- package/icons/minus/index.esm.min.js +1 -0
- package/icons/minus/index.js +37 -0
- package/icons/minus/index.min.js +1 -0
- package/icons/minus/index.vue +16 -0
- package/icons/minus/package.json +9 -0
- package/icons/pencil/index.cjs.js +47 -0
- package/icons/pencil/index.cjs.min.js +1 -0
- package/icons/pencil/index.d.ts +12 -0
- package/icons/pencil/index.esm.js +41 -0
- package/icons/pencil/index.esm.min.js +1 -0
- package/icons/pencil/index.js +49 -0
- package/icons/pencil/index.min.js +1 -0
- package/icons/pencil/index.vue +23 -0
- package/icons/pencil/package.json +9 -0
- package/icons/plus/index.cjs.js +47 -0
- package/icons/plus/index.cjs.min.js +1 -0
- package/icons/plus/index.d.ts +12 -0
- package/icons/plus/index.esm.js +41 -0
- package/icons/plus/index.esm.min.js +1 -0
- package/icons/plus/index.js +49 -0
- package/icons/plus/index.min.js +1 -0
- package/icons/plus/index.vue +23 -0
- package/icons/plus/package.json +9 -0
- package/icons/refresh/index.cjs.js +49 -0
- package/icons/refresh/index.cjs.min.js +1 -0
- package/icons/refresh/index.d.ts +12 -0
- package/icons/refresh/index.esm.js +43 -0
- package/icons/refresh/index.esm.min.js +1 -0
- package/icons/refresh/index.js +51 -0
- package/icons/refresh/index.min.js +1 -0
- package/icons/refresh/index.vue +25 -0
- package/icons/refresh/package.json +9 -0
- package/icons/search/index.cjs.js +49 -0
- package/icons/search/index.cjs.min.js +1 -0
- package/icons/search/index.d.ts +12 -0
- package/icons/search/index.esm.js +43 -0
- package/icons/search/index.esm.min.js +1 -0
- package/icons/search/index.js +51 -0
- package/icons/search/index.min.js +1 -0
- package/icons/search/index.vue +25 -0
- package/icons/search/package.json +9 -0
- package/icons/searchminus/index.cjs.js +49 -0
- package/icons/searchminus/index.cjs.min.js +1 -0
- package/icons/searchminus/index.d.ts +12 -0
- package/icons/searchminus/index.esm.js +43 -0
- package/icons/searchminus/index.esm.min.js +1 -0
- package/icons/searchminus/index.js +51 -0
- package/icons/searchminus/index.min.js +1 -0
- package/icons/searchminus/index.vue +25 -0
- package/icons/searchminus/package.json +9 -0
- package/icons/searchplus/index.cjs.js +49 -0
- package/icons/searchplus/index.cjs.min.js +1 -0
- package/icons/searchplus/index.d.ts +12 -0
- package/icons/searchplus/index.esm.js +43 -0
- package/icons/searchplus/index.esm.min.js +1 -0
- package/icons/searchplus/index.js +51 -0
- package/icons/searchplus/index.min.js +1 -0
- package/icons/searchplus/index.vue +25 -0
- package/icons/searchplus/package.json +9 -0
- package/icons/sortalt/index.cjs.js +32 -0
- package/icons/sortalt/index.cjs.min.js +1 -0
- package/icons/sortalt/index.d.ts +12 -0
- package/icons/sortalt/index.esm.js +26 -0
- package/icons/sortalt/index.esm.min.js +1 -0
- package/icons/sortalt/index.js +34 -0
- package/icons/sortalt/index.min.js +1 -0
- package/icons/sortalt/index.vue +29 -0
- package/icons/sortalt/package.json +9 -0
- package/icons/sortamountdown/index.cjs.js +32 -0
- package/icons/sortamountdown/index.cjs.min.js +1 -0
- package/icons/sortamountdown/index.d.ts +12 -0
- package/icons/sortamountdown/index.esm.js +26 -0
- package/icons/sortamountdown/index.esm.min.js +1 -0
- package/icons/sortamountdown/index.js +34 -0
- package/icons/sortamountdown/index.min.js +1 -0
- package/icons/sortamountdown/index.vue +43 -0
- package/icons/sortamountdown/package.json +9 -0
- package/icons/sortamountupalt/index.cjs.js +32 -0
- package/icons/sortamountupalt/index.cjs.min.js +1 -0
- package/icons/sortamountupalt/index.d.ts +12 -0
- package/icons/sortamountupalt/index.esm.js +26 -0
- package/icons/sortamountupalt/index.esm.min.js +1 -0
- package/icons/sortamountupalt/index.js +34 -0
- package/icons/sortamountupalt/index.min.js +1 -0
- package/icons/sortamountupalt/index.vue +43 -0
- package/icons/sortamountupalt/package.json +9 -0
- package/icons/spinner/index.cjs.js +47 -0
- package/icons/spinner/index.cjs.min.js +1 -0
- package/icons/spinner/index.d.ts +12 -0
- package/icons/spinner/index.esm.js +41 -0
- package/icons/spinner/index.esm.min.js +1 -0
- package/icons/spinner/index.js +49 -0
- package/icons/spinner/index.min.js +1 -0
- package/icons/spinner/index.vue +23 -0
- package/icons/spinner/package.json +9 -0
- package/icons/star/index.cjs.js +47 -0
- package/icons/star/index.cjs.min.js +1 -0
- package/icons/star/index.d.ts +12 -0
- package/icons/star/index.esm.js +41 -0
- package/icons/star/index.esm.min.js +1 -0
- package/icons/star/index.js +49 -0
- package/icons/star/index.min.js +1 -0
- package/icons/star/index.vue +23 -0
- package/icons/star/package.json +9 -0
- package/icons/starfill/index.cjs.js +47 -0
- package/icons/starfill/index.cjs.min.js +1 -0
- package/icons/starfill/index.d.ts +12 -0
- package/icons/starfill/index.esm.js +41 -0
- package/icons/starfill/index.esm.min.js +1 -0
- package/icons/starfill/index.js +49 -0
- package/icons/starfill/index.min.js +1 -0
- package/icons/starfill/index.vue +23 -0
- package/icons/starfill/package.json +9 -0
- package/icons/thlarge/index.cjs.js +49 -0
- package/icons/thlarge/index.cjs.min.js +1 -0
- package/icons/thlarge/index.d.ts +12 -0
- package/icons/thlarge/index.esm.js +43 -0
- package/icons/thlarge/index.esm.min.js +1 -0
- package/icons/thlarge/index.js +51 -0
- package/icons/thlarge/index.min.js +1 -0
- package/icons/thlarge/index.vue +25 -0
- package/icons/thlarge/package.json +9 -0
- package/icons/times/index.cjs.js +35 -0
- package/icons/times/index.cjs.min.js +1 -0
- package/icons/times/index.d.ts +12 -0
- package/icons/times/index.esm.js +29 -0
- package/icons/times/index.esm.min.js +1 -0
- package/icons/times/index.js +37 -0
- package/icons/times/index.min.js +1 -0
- package/icons/times/index.vue +16 -0
- package/icons/times/package.json +9 -0
- package/icons/timescircle/index.cjs.js +49 -0
- package/icons/timescircle/index.cjs.min.js +1 -0
- package/icons/timescircle/index.d.ts +12 -0
- package/icons/timescircle/index.esm.js +43 -0
- package/icons/timescircle/index.esm.min.js +1 -0
- package/icons/timescircle/index.js +51 -0
- package/icons/timescircle/index.min.js +1 -0
- package/icons/timescircle/index.vue +25 -0
- package/icons/timescircle/package.json +9 -0
- package/icons/trash/index.cjs.js +49 -0
- package/icons/trash/index.cjs.min.js +1 -0
- package/icons/trash/index.d.ts +12 -0
- package/icons/trash/index.esm.js +43 -0
- package/icons/trash/index.esm.min.js +1 -0
- package/icons/trash/index.js +51 -0
- package/icons/trash/index.min.js +1 -0
- package/icons/trash/index.vue +25 -0
- package/icons/trash/package.json +9 -0
- package/icons/undo/index.cjs.js +49 -0
- package/icons/undo/index.cjs.min.js +1 -0
- package/icons/undo/index.d.ts +12 -0
- package/icons/undo/index.esm.js +43 -0
- package/icons/undo/index.esm.min.js +1 -0
- package/icons/undo/index.js +51 -0
- package/icons/undo/index.min.js +1 -0
- package/icons/undo/index.vue +25 -0
- package/icons/undo/package.json +9 -0
- package/icons/upload/index.cjs.js +49 -0
- package/icons/upload/index.cjs.min.js +1 -0
- package/icons/upload/index.d.ts +12 -0
- package/icons/upload/index.esm.js +43 -0
- package/icons/upload/index.esm.min.js +1 -0
- package/icons/upload/index.js +51 -0
- package/icons/upload/index.min.js +1 -0
- package/icons/upload/index.vue +25 -0
- package/icons/upload/package.json +9 -0
- package/icons/windowmaximize/index.cjs.js +49 -0
- package/icons/windowmaximize/index.cjs.min.js +1 -0
- package/icons/windowmaximize/index.d.ts +12 -0
- package/icons/windowmaximize/index.esm.js +43 -0
- package/icons/windowmaximize/index.esm.min.js +1 -0
- package/icons/windowmaximize/index.js +51 -0
- package/icons/windowmaximize/index.min.js +1 -0
- package/icons/windowmaximize/index.vue +25 -0
- package/icons/windowmaximize/package.json +9 -0
- package/icons/windowminimize/index.cjs.js +49 -0
- package/icons/windowminimize/index.cjs.min.js +1 -0
- package/icons/windowminimize/index.d.ts +12 -0
- package/icons/windowminimize/index.esm.js +43 -0
- package/icons/windowminimize/index.esm.min.js +1 -0
- package/icons/windowminimize/index.js +51 -0
- package/icons/windowminimize/index.min.js +1 -0
- package/icons/windowminimize/index.vue +25 -0
- package/icons/windowminimize/package.json +9 -0
- package/image/Image.d.ts +25 -0
- package/image/Image.vue +38 -12
- package/image/image.cjs.js +68 -42
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +63 -43
- package/image/image.esm.min.js +1 -1
- package/image/image.js +64 -44
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +10 -1
- package/inlinemessage/InlineMessage.vue +19 -11
- package/inlinemessage/inlinemessage.cjs.js +27 -13
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +21 -14
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +25 -15
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +5 -1
- package/inplace/Inplace.vue +11 -3
- package/inplace/inplace.cjs.js +15 -4
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +15 -5
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +16 -6
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +13 -4
- package/inputnumber/InputNumber.vue +35 -7
- package/inputnumber/inputnumber.cjs.js +53 -19
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +52 -20
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +53 -21
- package/inputnumber/inputnumber.min.js +1 -1
- package/listbox/Listbox.d.ts +6 -2
- package/listbox/Listbox.vue +8 -3
- package/listbox/listbox.cjs.js +10 -5
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +10 -6
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +11 -7
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +23 -0
- package/megamenu/MegaMenu.vue +1 -1
- package/megamenu/MegaMenuSub.vue +19 -11
- package/megamenu/megamenu.cjs.js +48 -23
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +46 -23
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +48 -25
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +14 -0
- package/menu/Menu.vue +2 -2
- package/menu/Menuitem.vue +12 -5
- package/menu/menu.cjs.js +34 -17
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +35 -18
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +34 -17
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +31 -0
- package/menubar/Menubar.vue +7 -3
- package/menubar/MenubarSub.vue +19 -11
- package/menubar/menubar.cjs.js +65 -35
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +63 -36
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +64 -37
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +21 -2
- package/message/Message.vue +30 -18
- package/message/message.cjs.js +45 -22
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +41 -23
- package/message/message.esm.min.js +1 -1
- package/message/message.js +42 -24
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +86 -7
- package/multiselect/MultiSelect.vue +44 -19
- package/multiselect/multiselect.cjs.js +99 -34
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +94 -35
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +95 -36
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +16 -0
- package/orderlist/OrderList.vue +37 -5
- package/orderlist/orderlist.cjs.js +49 -9
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +46 -10
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +47 -11
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +10 -0
- package/organizationchart/OrganizationChartNode.vue +8 -1
- package/organizationchart/organizationchart.cjs.js +21 -3
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +16 -3
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +21 -5
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +9 -0
- package/overlaypanel/OverlayPanel.vue +10 -2
- package/overlaypanel/overlaypanel.cjs.js +15 -6
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +15 -7
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +16 -8
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +2 -3
- package/paginator/FirstPageLink.vue +11 -1
- package/paginator/LastPageLink.vue +11 -1
- package/paginator/NextPageLink.vue +11 -1
- package/paginator/Paginator.d.ts +17 -1
- package/paginator/Paginator.vue +4 -4
- package/paginator/PrevPageLink.vue +11 -1
- package/paginator/paginator.cjs.js +70 -34
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +67 -35
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +68 -36
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +91 -0
- package/panel/Panel.vue +21 -8
- package/panel/panel.cjs.js +40 -26
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +38 -27
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +39 -28
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +37 -0
- package/panelmenu/PanelMenu.vue +13 -8
- package/panelmenu/PanelMenuList.vue +3 -3
- package/panelmenu/PanelMenuSub.vue +19 -11
- package/panelmenu/panelmenu.cjs.js +80 -42
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +79 -43
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +80 -44
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +20 -2
- package/password/Password.vue +13 -7
- package/password/password.cjs.js +30 -12
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +29 -13
- package/password/password.esm.min.js +1 -1
- package/password/password.js +30 -14
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +56 -0
- package/picklist/PickList.vue +134 -30
- package/picklist/picklist.cjs.js +166 -58
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +159 -59
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +160 -60
- package/picklist/picklist.min.js +1 -1
- package/rating/Rating.d.ts +3 -3
- package/rating/Rating.vue +14 -15
- package/rating/rating.cjs.js +26 -21
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +21 -22
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +25 -23
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +3 -1
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +80 -1
- package/resources/themes/arya-green/theme.css +80 -1
- package/resources/themes/arya-orange/theme.css +80 -1
- package/resources/themes/arya-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +80 -1
- package/resources/themes/fluent-light/theme.css +80 -1
- package/resources/themes/lara-dark-blue/theme.css +80 -1
- package/resources/themes/lara-dark-indigo/theme.css +80 -1
- package/resources/themes/lara-dark-purple/theme.css +80 -1
- package/resources/themes/lara-dark-teal/theme.css +80 -1
- package/resources/themes/lara-light-blue/theme.css +80 -1
- package/resources/themes/lara-light-indigo/theme.css +80 -1
- package/resources/themes/lara-light-purple/theme.css +80 -1
- package/resources/themes/lara-light-teal/theme.css +80 -1
- package/resources/themes/luna-amber/theme.css +80 -1
- package/resources/themes/luna-blue/theme.css +80 -1
- package/resources/themes/luna-green/theme.css +80 -1
- package/resources/themes/luna-pink/theme.css +80 -1
- package/resources/themes/md-dark-deeppurple/theme.css +80 -1
- package/resources/themes/md-dark-indigo/theme.css +80 -1
- package/resources/themes/md-light-deeppurple/theme.css +80 -1
- package/resources/themes/md-light-indigo/theme.css +80 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-dark-indigo/theme.css +80 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-light-indigo/theme.css +80 -1
- package/resources/themes/mira/theme.css +80 -1
- package/resources/themes/nano/theme.css +80 -1
- package/resources/themes/nova/theme.css +80 -1
- package/resources/themes/nova-accent/theme.css +80 -1
- package/resources/themes/nova-alt/theme.css +80 -1
- package/resources/themes/nova-vue/theme.css +80 -1
- package/resources/themes/rhea/theme.css +80 -1
- package/resources/themes/saga-blue/theme.css +80 -1
- package/resources/themes/saga-green/theme.css +80 -1
- package/resources/themes/saga-orange/theme.css +80 -1
- package/resources/themes/saga-purple/theme.css +80 -1
- package/resources/themes/soho-dark/theme.css +80 -1
- package/resources/themes/soho-light/theme.css +80 -1
- package/resources/themes/tailwind-light/theme.css +80 -1
- package/resources/themes/vela-blue/theme.css +80 -1
- package/resources/themes/vela-green/theme.css +80 -1
- package/resources/themes/vela-orange/theme.css +80 -1
- package/resources/themes/vela-purple/theme.css +80 -1
- package/resources/themes/viva-dark/theme.css +80 -1
- package/resources/themes/viva-light/theme.css +80 -1
- package/scrollpanel/ScrollPanel.d.ts +74 -0
- package/scrollpanel/ScrollPanel.vue +7 -3
- package/scrollpanel/scrollpanel.cjs.js +19 -15
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +16 -16
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +20 -17
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/ScrollTop.d.ts +8 -2
- package/scrolltop/ScrollTop.vue +8 -6
- package/scrolltop/scrolltop.cjs.js +15 -8
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +12 -9
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +16 -10
- package/scrolltop/scrolltop.min.js +1 -1
- package/sidebar/Sidebar.d.ts +5 -1
- package/sidebar/Sidebar.vue +7 -3
- package/sidebar/sidebar.cjs.js +10 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +10 -6
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +11 -7
- package/sidebar/sidebar.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +12 -1
- package/speeddial/SpeedDial.vue +16 -8
- package/speeddial/speeddial.cjs.js +25 -8
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +25 -9
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +26 -10
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +11 -1
- package/splitbutton/SplitButton.vue +18 -5
- package/splitbutton/splitbutton.cjs.js +27 -8
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +27 -9
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +28 -10
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +51 -0
- package/splitter/Splitter.vue +5 -2
- package/splitter/splitter.cjs.js +14 -10
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +11 -11
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +15 -12
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +32 -0
- package/splitterpanel/SplitterPanel.vue +4 -1
- package/splitterpanel/splitterpanel.cjs.js +10 -4
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +7 -5
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +11 -6
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +14 -0
- package/tabmenu/TabMenu.vue +4 -2
- package/tabmenu/tabmenu.cjs.js +20 -8
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +21 -9
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +20 -8
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +52 -2
- package/tabpanel/TabPanel.vue +2 -0
- package/tabpanel/tabpanel.cjs.js +6 -0
- package/tabpanel/tabpanel.cjs.min.js +1 -1
- package/tabpanel/tabpanel.esm.js +2 -0
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +7 -2
- package/tabpanel/tabpanel.min.js +1 -1
- package/tabview/TabView.d.ts +108 -3
- package/tabview/TabView.vue +52 -15
- package/tabview/tabview.cjs.js +81 -60
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +79 -61
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +80 -62
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +6 -1
- package/tag/Tag.vue +2 -1
- package/tag/tag.cjs.js +10 -5
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +11 -6
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +10 -5
- package/tag/tag.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +23 -0
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/TieredMenuSub.vue +17 -8
- package/tieredmenu/tieredmenu.cjs.js +49 -24
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +49 -25
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +50 -26
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +14 -5
- package/toast/Toast.vue +6 -6
- package/toast/ToastMessage.vue +26 -7
- package/toast/toast.cjs.js +42 -17
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +38 -18
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +39 -19
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +18 -2
- package/togglebutton/ToggleButton.vue +4 -2
- package/togglebutton/togglebutton.cjs.js +12 -7
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +13 -8
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +12 -7
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +44 -0
- package/toolbar/Toolbar.vue +6 -4
- package/toolbar/toolbar.cjs.js +15 -12
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +12 -13
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +16 -14
- package/toolbar/toolbar.min.js +1 -1
- package/tree/Tree.d.ts +35 -5
- package/tree/Tree.vue +13 -7
- package/tree/TreeNode.vue +20 -9
- package/tree/tree.cjs.js +73 -25
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +68 -26
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +69 -27
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +34 -0
- package/treeselect/TreeSelect.vue +20 -6
- package/treeselect/treeselect.cjs.js +44 -11
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +44 -12
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +45 -13
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +22 -11
- package/treetable/HeaderCell.vue +28 -13
- package/treetable/TreeTable.d.ts +44 -3
- package/treetable/TreeTable.vue +32 -6
- package/treetable/TreeTableRow.vue +6 -0
- package/treetable/treetable.cjs.js +176 -41
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +168 -41
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +170 -43
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +16 -2
- package/tristatecheckbox/TriStateCheckbox.vue +16 -20
- package/tristatecheckbox/tristatecheckbox.cjs.js +23 -22
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +19 -23
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +23 -24
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +5 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +5 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -0
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +148 -8
- package/vetur-tags.json +64 -24
- package/virtualscroller/VirtualScroller.d.ts +4 -0
- package/virtualscroller/VirtualScroller.vue +13 -2
- package/virtualscroller/virtualscroller.cjs.js +19 -7
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +16 -8
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +20 -9
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1343 -136
- package/fullcalendar/FullCalendar.d.ts +0 -34
- package/fullcalendar/FullCalendar.vue +0 -64
- package/fullcalendar/fullcalendar.cjs.js +0 -67
- package/fullcalendar/fullcalendar.cjs.min.js +0 -1
- package/fullcalendar/fullcalendar.esm.js +0 -65
- package/fullcalendar/fullcalendar.esm.min.js +0 -1
- package/fullcalendar/fullcalendar.js +0 -67
- package/fullcalendar/fullcalendar.min.js +0 -1
- package/fullcalendar/package.json +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/button"),t=require("primevue/confirmationeventbus"),n=require("primevue/focustrap"),i=require("primevue/overlayeventbus"),o=require("primevue/portal"),r=require("primevue/utils"),s=require("vue");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(e),a=c(t),p=c(n),u=c(i),f=c(o),
|
|
1
|
+
"use strict";var e=require("primevue/button"),t=require("primevue/confirmationeventbus"),n=require("primevue/focustrap"),i=require("primevue/overlayeventbus"),o=require("primevue/portal"),r=require("primevue/utils"),s=require("vue");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(e),a=c(t),p=c(n),u=c(i),f=c(o),m={name:"ConfirmPopup",inheritAttrs:!1,props:{group:String},data:()=>({visible:!1,confirmation:null,autoFocusAccept:null,autoFocusReject:null}),target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,confirmListener:null,closeListener:null,mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.target=e.target,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},a.default.on("confirm",this.confirmListener),a.default.on("close",this.closeListener)},beforeUnmount(){a.default.off("confirm",this.confirmListener),a.default.off("close",this.closeListener),this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindResizeListener(),this.container&&(r.ZIndexUtils.clear(this.container),this.container=null),this.target=null,this.confirmation=null},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1},onAcceptKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.accept(),r.DomHandler.focus(this.target),e.preventDefault())},onRejectKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.reject(),r.DomHandler.focus(this.target),e.preventDefault())},onEnter(e){this.autoFocusAccept=void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus,this.autoFocusReject="reject"===this.confirmation.defaultFocus,this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),r.ZIndexUtils.set("overlay",e,this.$primevue.config.zIndex.overlay)},onAfterEnter(){this.focus()},onLeave(){this.autoFocusAccept=null,this.autoFocusReject=null,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener()},onAfterLeave(e){r.ZIndexUtils.clear(e)},alignOverlay(){r.DomHandler.absolutePosition(this.container,this.target);const e=r.DomHandler.getOffset(this.container),t=r.DomHandler.getOffset(this.target);let n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty("--overlayArrowLeft",`${n}px`),e.top<t.top&&r.DomHandler.addClass(this.container,"p-confirm-popup-flipped")},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.visible&&this.container&&!this.container.contains(e.target)&&!this.isTargetClicked(e)?(this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1):this.alignOverlay()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new r.ConnectedOverlayScrollHandler(this.target,(()=>{this.visible&&(this.visible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.visible&&!r.DomHandler.isTouchDevice()&&(this.visible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},focus(){let e=this.container.querySelector("[autofocus]");e&&e.focus({preventScroll:!0})},isTargetClicked(e){return this.target&&(this.target===e.target||this.target.contains(e.target))},containerRef(e){this.container=e},onOverlayClick(e){u.default.emit("overlay-click",{originalEvent:e,target:this.target})},onOverlayKeydown(e){"Escape"===e.code&&(a.default.emit("close",this.closeListener),r.DomHandler.focus(this.target))}},computed:{containerClass(){return["p-confirm-popup p-component",{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},message(){return this.confirmation?this.confirmation.message:null},iconClass(){return["p-confirm-popup-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-popup-accept p-button-sm",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-popup-reject p-button-sm",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]}},components:{CPButton:l.default,Portal:f.default},directives:{focustrap:p.default}};const d=["aria-modal"],h={key:0,class:"p-confirm-popup-content"},v={class:"p-confirm-popup-message"},b={class:"p-confirm-popup-footer"};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-confirm-popup {\n position: absolute;\n margin-top: 10px;\n top: 0;\n left: 0;\n}\n.p-confirm-popup-flipped {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n/* Animation */\n.p-confirm-popup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n.p-confirm-popup-leave-to {\n opacity: 0;\n}\n.p-confirm-popup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n.p-confirm-popup-leave-active {\n transition: opacity 0.1s linear;\n}\n.p-confirm-popup:after,\n.p-confirm-popup:before {\n bottom: 100%;\n left: calc(var(--overlayArrowLeft, 0) + 1.25rem);\n content: ' ';\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.p-confirm-popup:after {\n border-width: 8px;\n margin-left: -8px;\n}\n.p-confirm-popup:before {\n border-width: 10px;\n margin-left: -10px;\n}\n.p-confirm-popup-flipped:after,\n.p-confirm-popup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-bottom-color: transparent;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-bottom-color: transparent;\n}\n.p-confirm-popup .p-confirm-popup-content {\n display: flex;\n align-items: center;\n}\n"),m.render=function(e,t,n,i,o,r){const c=s.resolveComponent("CPButton"),l=s.resolveComponent("Portal"),a=s.resolveDirective("focustrap");return s.openBlock(),s.createBlock(l,null,{default:s.withCtx((()=>[s.createVNode(s.Transition,{name:"p-confirm-popup",onEnter:r.onEnter,onAfterEnter:r.onAfterEnter,onLeave:r.onLeave,onAfterLeave:r.onAfterLeave},{default:s.withCtx((()=>[o.visible?s.withDirectives((s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:r.containerRef,role:"alertdialog",class:r.containerClass,"aria-modal":o.visible,onClick:t[2]||(t[2]=(...e)=>r.onOverlayClick&&r.onOverlayClick(...e)),onKeydown:t[3]||(t[3]=(...e)=>r.onOverlayKeydown&&r.onOverlayKeydown(...e))},e.$attrs),[e.$slots.message?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.$slots.message),{key:1,message:o.confirmation},null,8,["message"])):(s.openBlock(),s.createElementBlock("div",h,[s.renderSlot(e.$slots,"icon",{class:"p-confirm-popup-icon"},(()=>[e.$slots.icon?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.$slots.icon),{key:0,class:"p-confirm-popup-icon"})):o.confirmation.icon?(s.openBlock(),s.createElementBlock("span",{key:1,class:s.normalizeClass(r.iconClass)},null,2)):s.createCommentVNode("",!0)])),s.createElementVNode("span",v,s.toDisplayString(o.confirmation.message),1)])),s.createElementVNode("div",b,[s.createVNode(c,{label:r.rejectLabel,class:s.normalizeClass(r.rejectClass),onClick:t[0]||(t[0]=e=>r.reject()),onKeydown:r.onRejectKeydown,autofocus:o.autoFocusReject},{icon:s.withCtx((t=>[s.renderSlot(e.$slots,"rejecticon",{},(()=>[s.createElementVNode("span",{class:s.normalizeClass([r.rejectIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"]),s.createVNode(c,{label:r.acceptLabel,class:s.normalizeClass(r.acceptClass),onClick:t[1]||(t[1]=e=>r.accept()),onKeydown:r.onAcceptKeydown,autofocus:o.autoFocusAccept},{icon:s.withCtx((t=>[s.renderSlot(e.$slots,"accepticon",{},(()=>[s.createElementVNode("span",{class:s.normalizeClass([r.acceptIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"])])],16,d)),[[a]]):s.createCommentVNode("",!0)])),_:3},8,["onEnter","onAfterEnter","onLeave","onAfterLeave"])])),_:3})},module.exports=m;
|
|
@@ -4,7 +4,7 @@ import FocusTrap from 'primevue/focustrap';
|
|
|
4
4
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
5
5
|
import Portal from 'primevue/portal';
|
|
6
6
|
import { ZIndexUtils, DomHandler, ConnectedOverlayScrollHandler } from 'primevue/utils';
|
|
7
|
-
import { resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createVNode, Transition, withDirectives, createElementBlock, mergeProps,
|
|
7
|
+
import { resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createVNode, Transition, withDirectives, createElementBlock, mergeProps, renderSlot, resolveDynamicComponent, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
8
8
|
|
|
9
9
|
var script = {
|
|
10
10
|
name: 'ConfirmPopup',
|
|
@@ -312,9 +312,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
312
312
|
}, _ctx.$attrs), [
|
|
313
313
|
(!_ctx.$slots.message)
|
|
314
314
|
? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
renderSlot(_ctx.$slots, "icon", { class: "p-confirm-popup-icon" }, () => [
|
|
316
|
+
(_ctx.$slots.icon)
|
|
317
|
+
? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.icon), {
|
|
318
|
+
key: 0,
|
|
319
|
+
class: "p-confirm-popup-icon"
|
|
320
|
+
}))
|
|
321
|
+
: ($data.confirmation.icon)
|
|
322
|
+
? (openBlock(), createElementBlock("span", {
|
|
323
|
+
key: 1,
|
|
324
|
+
class: normalizeClass($options.iconClass)
|
|
325
|
+
}, null, 2))
|
|
326
|
+
: createCommentVNode("", true)
|
|
327
|
+
]),
|
|
318
328
|
createElementVNode("span", _hoisted_3, toDisplayString($data.confirmation.message), 1)
|
|
319
329
|
]))
|
|
320
330
|
: (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.message), {
|
|
@@ -324,30 +334,46 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
324
334
|
createElementVNode("div", _hoisted_4, [
|
|
325
335
|
createVNode(_component_CPButton, {
|
|
326
336
|
label: $options.rejectLabel,
|
|
327
|
-
icon: $options.rejectIcon,
|
|
328
337
|
class: normalizeClass($options.rejectClass),
|
|
329
338
|
onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
|
|
330
339
|
onKeydown: $options.onRejectKeydown,
|
|
331
340
|
autofocus: $data.autoFocusReject
|
|
332
|
-
},
|
|
341
|
+
}, {
|
|
342
|
+
icon: withCtx((iconProps) => [
|
|
343
|
+
renderSlot(_ctx.$slots, "rejecticon", {}, () => [
|
|
344
|
+
createElementVNode("span", {
|
|
345
|
+
class: normalizeClass([$options.rejectIcon, iconProps.class])
|
|
346
|
+
}, null, 2)
|
|
347
|
+
])
|
|
348
|
+
]),
|
|
349
|
+
_: 3
|
|
350
|
+
}, 8, ["label", "class", "onKeydown", "autofocus"]),
|
|
333
351
|
createVNode(_component_CPButton, {
|
|
334
352
|
label: $options.acceptLabel,
|
|
335
|
-
icon: $options.acceptIcon,
|
|
336
353
|
class: normalizeClass($options.acceptClass),
|
|
337
354
|
onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
|
|
338
355
|
onKeydown: $options.onAcceptKeydown,
|
|
339
356
|
autofocus: $data.autoFocusAccept
|
|
340
|
-
},
|
|
357
|
+
}, {
|
|
358
|
+
icon: withCtx((iconProps) => [
|
|
359
|
+
renderSlot(_ctx.$slots, "accepticon", {}, () => [
|
|
360
|
+
createElementVNode("span", {
|
|
361
|
+
class: normalizeClass([$options.acceptIcon, iconProps.class])
|
|
362
|
+
}, null, 2)
|
|
363
|
+
])
|
|
364
|
+
]),
|
|
365
|
+
_: 3
|
|
366
|
+
}, 8, ["label", "class", "onKeydown", "autofocus"])
|
|
341
367
|
])
|
|
342
368
|
], 16, _hoisted_1)), [
|
|
343
369
|
[_directive_focustrap]
|
|
344
370
|
])
|
|
345
371
|
: createCommentVNode("", true)
|
|
346
372
|
]),
|
|
347
|
-
_:
|
|
373
|
+
_: 3
|
|
348
374
|
}, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
|
|
349
375
|
]),
|
|
350
|
-
_:
|
|
376
|
+
_: 3
|
|
351
377
|
}))
|
|
352
378
|
}
|
|
353
379
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/button";import t from"primevue/confirmationeventbus";import
|
|
1
|
+
import e from"primevue/button";import t from"primevue/confirmationeventbus";import n from"primevue/focustrap";import i from"primevue/overlayeventbus";import o from"primevue/portal";import{ZIndexUtils as s,DomHandler as r,ConnectedOverlayScrollHandler as c}from"primevue/utils";import{resolveComponent as l,resolveDirective as a,openBlock as p,createBlock as u,withCtx as f,createVNode as m,Transition as h,withDirectives as d,createElementBlock as v,mergeProps as b,renderSlot as L,resolveDynamicComponent as g,normalizeClass as y,createCommentVNode as C,createElementVNode as k,toDisplayString as j}from"vue";var w={name:"ConfirmPopup",inheritAttrs:!1,props:{group:String},data:()=>({visible:!1,confirmation:null,autoFocusAccept:null,autoFocusReject:null}),target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,confirmListener:null,closeListener:null,mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.target=e.target,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},t.on("confirm",this.confirmListener),t.on("close",this.closeListener)},beforeUnmount(){t.off("confirm",this.confirmListener),t.off("close",this.closeListener),this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindResizeListener(),this.container&&(s.clear(this.container),this.container=null),this.target=null,this.confirmation=null},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1},onAcceptKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.accept(),r.focus(this.target),e.preventDefault())},onRejectKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.reject(),r.focus(this.target),e.preventDefault())},onEnter(e){this.autoFocusAccept=void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus,this.autoFocusReject="reject"===this.confirmation.defaultFocus,this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),s.set("overlay",e,this.$primevue.config.zIndex.overlay)},onAfterEnter(){this.focus()},onLeave(){this.autoFocusAccept=null,this.autoFocusReject=null,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener()},onAfterLeave(e){s.clear(e)},alignOverlay(){r.absolutePosition(this.container,this.target);const e=r.getOffset(this.container),t=r.getOffset(this.target);let n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty("--overlayArrowLeft",`${n}px`),e.top<t.top&&r.addClass(this.container,"p-confirm-popup-flipped")},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.visible&&this.container&&!this.container.contains(e.target)&&!this.isTargetClicked(e)?(this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1):this.alignOverlay()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new c(this.target,(()=>{this.visible&&(this.visible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.visible&&!r.isTouchDevice()&&(this.visible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},focus(){let e=this.container.querySelector("[autofocus]");e&&e.focus({preventScroll:!0})},isTargetClicked(e){return this.target&&(this.target===e.target||this.target.contains(e.target))},containerRef(e){this.container=e},onOverlayClick(e){i.emit("overlay-click",{originalEvent:e,target:this.target})},onOverlayKeydown(e){"Escape"===e.code&&(t.emit("close",this.closeListener),r.focus(this.target))}},computed:{containerClass(){return["p-confirm-popup p-component",{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},message(){return this.confirmation?this.confirmation.message:null},iconClass(){return["p-confirm-popup-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-popup-accept p-button-sm",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-popup-reject p-button-sm",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]}},components:{CPButton:e,Portal:o},directives:{focustrap:n}};const A=["aria-modal"],E={key:0,class:"p-confirm-popup-content"},z={class:"p-confirm-popup-message"},S={class:"p-confirm-popup-footer"};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-confirm-popup {\n position: absolute;\n margin-top: 10px;\n top: 0;\n left: 0;\n}\n.p-confirm-popup-flipped {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n/* Animation */\n.p-confirm-popup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n.p-confirm-popup-leave-to {\n opacity: 0;\n}\n.p-confirm-popup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n.p-confirm-popup-leave-active {\n transition: opacity 0.1s linear;\n}\n.p-confirm-popup:after,\n.p-confirm-popup:before {\n bottom: 100%;\n left: calc(var(--overlayArrowLeft, 0) + 1.25rem);\n content: ' ';\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.p-confirm-popup:after {\n border-width: 8px;\n margin-left: -8px;\n}\n.p-confirm-popup:before {\n border-width: 10px;\n margin-left: -10px;\n}\n.p-confirm-popup-flipped:after,\n.p-confirm-popup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-bottom-color: transparent;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-bottom-color: transparent;\n}\n.p-confirm-popup .p-confirm-popup-content {\n display: flex;\n align-items: center;\n}\n"),w.render=function(e,t,n,i,o,s){const r=l("CPButton"),c=l("Portal"),w=a("focustrap");return p(),u(c,null,{default:f((()=>[m(h,{name:"p-confirm-popup",onEnter:s.onEnter,onAfterEnter:s.onAfterEnter,onLeave:s.onLeave,onAfterLeave:s.onAfterLeave},{default:f((()=>[o.visible?d((p(),v("div",b({key:0,ref:s.containerRef,role:"alertdialog",class:s.containerClass,"aria-modal":o.visible,onClick:t[2]||(t[2]=(...e)=>s.onOverlayClick&&s.onOverlayClick(...e)),onKeydown:t[3]||(t[3]=(...e)=>s.onOverlayKeydown&&s.onOverlayKeydown(...e))},e.$attrs),[e.$slots.message?(p(),u(g(e.$slots.message),{key:1,message:o.confirmation},null,8,["message"])):(p(),v("div",E,[L(e.$slots,"icon",{class:"p-confirm-popup-icon"},(()=>[e.$slots.icon?(p(),u(g(e.$slots.icon),{key:0,class:"p-confirm-popup-icon"})):o.confirmation.icon?(p(),v("span",{key:1,class:y(s.iconClass)},null,2)):C("",!0)])),k("span",z,j(o.confirmation.message),1)])),k("div",S,[m(r,{label:s.rejectLabel,class:y(s.rejectClass),onClick:t[0]||(t[0]=e=>s.reject()),onKeydown:s.onRejectKeydown,autofocus:o.autoFocusReject},{icon:f((t=>[L(e.$slots,"rejecticon",{},(()=>[k("span",{class:y([s.rejectIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"]),m(r,{label:s.acceptLabel,class:y(s.acceptClass),onClick:t[1]||(t[1]=e=>s.accept()),onKeydown:s.onAcceptKeydown,autofocus:o.autoFocusAccept},{icon:f((t=>[L(e.$slots,"accepticon",{},(()=>[k("span",{class:y([s.acceptIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"])])],16,A)),[[w]]):C("",!0)])),_:3},8,["onEnter","onAfterEnter","onLeave","onAfterLeave"])])),_:3})};export{w as default};
|
|
@@ -316,9 +316,19 @@ this.primevue.confirmpopup = (function (Button, ConfirmationEventBus, FocusTrap,
|
|
|
316
316
|
}, _ctx.$attrs), [
|
|
317
317
|
(!_ctx.$slots.message)
|
|
318
318
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
319
|
-
vue.
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
vue.renderSlot(_ctx.$slots, "icon", { class: "p-confirm-popup-icon" }, () => [
|
|
320
|
+
(_ctx.$slots.icon)
|
|
321
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.icon), {
|
|
322
|
+
key: 0,
|
|
323
|
+
class: "p-confirm-popup-icon"
|
|
324
|
+
}))
|
|
325
|
+
: ($data.confirmation.icon)
|
|
326
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
327
|
+
key: 1,
|
|
328
|
+
class: vue.normalizeClass($options.iconClass)
|
|
329
|
+
}, null, 2))
|
|
330
|
+
: vue.createCommentVNode("", true)
|
|
331
|
+
]),
|
|
322
332
|
vue.createElementVNode("span", _hoisted_3, vue.toDisplayString($data.confirmation.message), 1)
|
|
323
333
|
]))
|
|
324
334
|
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.message), {
|
|
@@ -328,30 +338,46 @@ this.primevue.confirmpopup = (function (Button, ConfirmationEventBus, FocusTrap,
|
|
|
328
338
|
vue.createElementVNode("div", _hoisted_4, [
|
|
329
339
|
vue.createVNode(_component_CPButton, {
|
|
330
340
|
label: $options.rejectLabel,
|
|
331
|
-
icon: $options.rejectIcon,
|
|
332
341
|
class: vue.normalizeClass($options.rejectClass),
|
|
333
342
|
onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
|
|
334
343
|
onKeydown: $options.onRejectKeydown,
|
|
335
344
|
autofocus: $data.autoFocusReject
|
|
336
|
-
},
|
|
345
|
+
}, {
|
|
346
|
+
icon: vue.withCtx((iconProps) => [
|
|
347
|
+
vue.renderSlot(_ctx.$slots, "rejecticon", {}, () => [
|
|
348
|
+
vue.createElementVNode("span", {
|
|
349
|
+
class: vue.normalizeClass([$options.rejectIcon, iconProps.class])
|
|
350
|
+
}, null, 2)
|
|
351
|
+
])
|
|
352
|
+
]),
|
|
353
|
+
_: 3
|
|
354
|
+
}, 8, ["label", "class", "onKeydown", "autofocus"]),
|
|
337
355
|
vue.createVNode(_component_CPButton, {
|
|
338
356
|
label: $options.acceptLabel,
|
|
339
|
-
icon: $options.acceptIcon,
|
|
340
357
|
class: vue.normalizeClass($options.acceptClass),
|
|
341
358
|
onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
|
|
342
359
|
onKeydown: $options.onAcceptKeydown,
|
|
343
360
|
autofocus: $data.autoFocusAccept
|
|
344
|
-
},
|
|
361
|
+
}, {
|
|
362
|
+
icon: vue.withCtx((iconProps) => [
|
|
363
|
+
vue.renderSlot(_ctx.$slots, "accepticon", {}, () => [
|
|
364
|
+
vue.createElementVNode("span", {
|
|
365
|
+
class: vue.normalizeClass([$options.acceptIcon, iconProps.class])
|
|
366
|
+
}, null, 2)
|
|
367
|
+
])
|
|
368
|
+
]),
|
|
369
|
+
_: 3
|
|
370
|
+
}, 8, ["label", "class", "onKeydown", "autofocus"])
|
|
345
371
|
])
|
|
346
372
|
], 16, _hoisted_1)), [
|
|
347
373
|
[_directive_focustrap]
|
|
348
374
|
])
|
|
349
375
|
: vue.createCommentVNode("", true)
|
|
350
376
|
]),
|
|
351
|
-
_:
|
|
377
|
+
_: 3
|
|
352
378
|
}, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
|
|
353
379
|
]),
|
|
354
|
-
_:
|
|
380
|
+
_: 3
|
|
355
381
|
}))
|
|
356
382
|
}
|
|
357
383
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.confirmpopup=function(e,t,n,i,o,r,s){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(e),a=c(t),p=c(n),u=c(i),f=c(o),m={name:"ConfirmPopup",inheritAttrs:!1,props:{group:String},data:()=>({visible:!1,confirmation:null,autoFocusAccept:null,autoFocusReject:null}),target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,confirmListener:null,closeListener:null,mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.target=e.target,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},a.default.on("confirm",this.confirmListener),a.default.on("close",this.closeListener)},beforeUnmount(){a.default.off("confirm",this.confirmListener),a.default.off("close",this.closeListener),this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindResizeListener(),this.container&&(r.ZIndexUtils.clear(this.container),this.container=null),this.target=null,this.confirmation=null},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1},onAcceptKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.accept(),r.DomHandler.focus(this.target),e.preventDefault())},onRejectKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.reject(),r.DomHandler.focus(this.target),e.preventDefault())},onEnter(e){this.autoFocusAccept=void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus,this.autoFocusReject="reject"===this.confirmation.defaultFocus,this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),r.ZIndexUtils.set("overlay",e,this.$primevue.config.zIndex.overlay)},onAfterEnter(){this.focus()},onLeave(){this.autoFocusAccept=null,this.autoFocusReject=null,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener()},onAfterLeave(e){r.ZIndexUtils.clear(e)},alignOverlay(){r.DomHandler.absolutePosition(this.container,this.target);const e=r.DomHandler.getOffset(this.container),t=r.DomHandler.getOffset(this.target);let n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty("--overlayArrowLeft",`${n}px`),e.top<t.top&&r.DomHandler.addClass(this.container,"p-confirm-popup-flipped")},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.visible&&this.container&&!this.container.contains(e.target)&&!this.isTargetClicked(e)?(this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1):this.alignOverlay()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new r.ConnectedOverlayScrollHandler(this.target,(()=>{this.visible&&(this.visible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.visible&&!r.DomHandler.isTouchDevice()&&(this.visible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},focus(){let e=this.container.querySelector("[autofocus]");e&&e.focus({preventScroll:!0})},isTargetClicked(e){return this.target&&(this.target===e.target||this.target.contains(e.target))},containerRef(e){this.container=e},onOverlayClick(e){u.default.emit("overlay-click",{originalEvent:e,target:this.target})},onOverlayKeydown(e){"Escape"===e.code&&(a.default.emit("close",this.closeListener),r.DomHandler.focus(this.target))}},computed:{containerClass(){return["p-confirm-popup p-component",{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},message(){return this.confirmation?this.confirmation.message:null},iconClass(){return["p-confirm-popup-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-popup-accept p-button-sm",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-popup-reject p-button-sm",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]}},components:{CPButton:l.default,Portal:f.default},directives:{focustrap:p.default}};const d=["aria-modal"],h={key:0,class:"p-confirm-popup-content"},v={class:"p-confirm-popup-message"},b={class:"p-confirm-popup-footer"};return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-confirm-popup {\n position: absolute;\n margin-top: 10px;\n top: 0;\n left: 0;\n}\n.p-confirm-popup-flipped {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n/* Animation */\n.p-confirm-popup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n.p-confirm-popup-leave-to {\n opacity: 0;\n}\n.p-confirm-popup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n.p-confirm-popup-leave-active {\n transition: opacity 0.1s linear;\n}\n.p-confirm-popup:after,\n.p-confirm-popup:before {\n bottom: 100%;\n left: calc(var(--overlayArrowLeft, 0) + 1.25rem);\n content: ' ';\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.p-confirm-popup:after {\n border-width: 8px;\n margin-left: -8px;\n}\n.p-confirm-popup:before {\n border-width: 10px;\n margin-left: -10px;\n}\n.p-confirm-popup-flipped:after,\n.p-confirm-popup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-bottom-color: transparent;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-bottom-color: transparent;\n}\n.p-confirm-popup .p-confirm-popup-content {\n display: flex;\n align-items: center;\n}\n"),m.render=function(e,t,n,i,o,r){const c=s.resolveComponent("CPButton"),l=s.resolveComponent("Portal"),a=s.resolveDirective("focustrap");return s.openBlock(),s.createBlock(l,null,{default:s.withCtx((()=>[s.createVNode(s.Transition,{name:"p-confirm-popup",onEnter:r.onEnter,onAfterEnter:r.onAfterEnter,onLeave:r.onLeave,onAfterLeave:r.onAfterLeave},{default:s.withCtx((()=>[o.visible?s.withDirectives((s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:r.containerRef,role:"alertdialog",class:r.containerClass,"aria-modal":o.visible,onClick:t[2]||(t[2]=(...e)=>r.onOverlayClick&&r.onOverlayClick(...e)),onKeydown:t[3]||(t[3]=(...e)=>r.onOverlayKeydown&&r.onOverlayKeydown(...e))},e.$attrs),[e.$slots.message?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.$slots.message),{key:1,message:o.confirmation},null,8,["message"])):(s.openBlock(),s.createElementBlock("div",h,[s.
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.confirmpopup=function(e,t,n,i,o,r,s){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(e),a=c(t),p=c(n),u=c(i),f=c(o),m={name:"ConfirmPopup",inheritAttrs:!1,props:{group:String},data:()=>({visible:!1,confirmation:null,autoFocusAccept:null,autoFocusReject:null}),target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,confirmListener:null,closeListener:null,mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.target=e.target,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},a.default.on("confirm",this.confirmListener),a.default.on("close",this.closeListener)},beforeUnmount(){a.default.off("confirm",this.confirmListener),a.default.off("close",this.closeListener),this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindResizeListener(),this.container&&(r.ZIndexUtils.clear(this.container),this.container=null),this.target=null,this.confirmation=null},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1},onAcceptKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.accept(),r.DomHandler.focus(this.target),e.preventDefault())},onRejectKeydown(e){"Space"!==e.code&&"Enter"!==e.code||(this.reject(),r.DomHandler.focus(this.target),e.preventDefault())},onEnter(e){this.autoFocusAccept=void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus,this.autoFocusReject="reject"===this.confirmation.defaultFocus,this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),r.ZIndexUtils.set("overlay",e,this.$primevue.config.zIndex.overlay)},onAfterEnter(){this.focus()},onLeave(){this.autoFocusAccept=null,this.autoFocusReject=null,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener()},onAfterLeave(e){r.ZIndexUtils.clear(e)},alignOverlay(){r.DomHandler.absolutePosition(this.container,this.target);const e=r.DomHandler.getOffset(this.container),t=r.DomHandler.getOffset(this.target);let n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty("--overlayArrowLeft",`${n}px`),e.top<t.top&&r.DomHandler.addClass(this.container,"p-confirm-popup-flipped")},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.visible&&this.container&&!this.container.contains(e.target)&&!this.isTargetClicked(e)?(this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1):this.alignOverlay()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new r.ConnectedOverlayScrollHandler(this.target,(()=>{this.visible&&(this.visible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.visible&&!r.DomHandler.isTouchDevice()&&(this.visible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},focus(){let e=this.container.querySelector("[autofocus]");e&&e.focus({preventScroll:!0})},isTargetClicked(e){return this.target&&(this.target===e.target||this.target.contains(e.target))},containerRef(e){this.container=e},onOverlayClick(e){u.default.emit("overlay-click",{originalEvent:e,target:this.target})},onOverlayKeydown(e){"Escape"===e.code&&(a.default.emit("close",this.closeListener),r.DomHandler.focus(this.target))}},computed:{containerClass(){return["p-confirm-popup p-component",{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},message(){return this.confirmation?this.confirmation.message:null},iconClass(){return["p-confirm-popup-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-popup-accept p-button-sm",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-popup-reject p-button-sm",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]}},components:{CPButton:l.default,Portal:f.default},directives:{focustrap:p.default}};const d=["aria-modal"],h={key:0,class:"p-confirm-popup-content"},v={class:"p-confirm-popup-message"},b={class:"p-confirm-popup-footer"};return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-confirm-popup {\n position: absolute;\n margin-top: 10px;\n top: 0;\n left: 0;\n}\n.p-confirm-popup-flipped {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n/* Animation */\n.p-confirm-popup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n.p-confirm-popup-leave-to {\n opacity: 0;\n}\n.p-confirm-popup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n.p-confirm-popup-leave-active {\n transition: opacity 0.1s linear;\n}\n.p-confirm-popup:after,\n.p-confirm-popup:before {\n bottom: 100%;\n left: calc(var(--overlayArrowLeft, 0) + 1.25rem);\n content: ' ';\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.p-confirm-popup:after {\n border-width: 8px;\n margin-left: -8px;\n}\n.p-confirm-popup:before {\n border-width: 10px;\n margin-left: -10px;\n}\n.p-confirm-popup-flipped:after,\n.p-confirm-popup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-bottom-color: transparent;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-bottom-color: transparent;\n}\n.p-confirm-popup .p-confirm-popup-content {\n display: flex;\n align-items: center;\n}\n"),m.render=function(e,t,n,i,o,r){const c=s.resolveComponent("CPButton"),l=s.resolveComponent("Portal"),a=s.resolveDirective("focustrap");return s.openBlock(),s.createBlock(l,null,{default:s.withCtx((()=>[s.createVNode(s.Transition,{name:"p-confirm-popup",onEnter:r.onEnter,onAfterEnter:r.onAfterEnter,onLeave:r.onLeave,onAfterLeave:r.onAfterLeave},{default:s.withCtx((()=>[o.visible?s.withDirectives((s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:r.containerRef,role:"alertdialog",class:r.containerClass,"aria-modal":o.visible,onClick:t[2]||(t[2]=(...e)=>r.onOverlayClick&&r.onOverlayClick(...e)),onKeydown:t[3]||(t[3]=(...e)=>r.onOverlayKeydown&&r.onOverlayKeydown(...e))},e.$attrs),[e.$slots.message?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.$slots.message),{key:1,message:o.confirmation},null,8,["message"])):(s.openBlock(),s.createElementBlock("div",h,[s.renderSlot(e.$slots,"icon",{class:"p-confirm-popup-icon"},(()=>[e.$slots.icon?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.$slots.icon),{key:0,class:"p-confirm-popup-icon"})):o.confirmation.icon?(s.openBlock(),s.createElementBlock("span",{key:1,class:s.normalizeClass(r.iconClass)},null,2)):s.createCommentVNode("",!0)])),s.createElementVNode("span",v,s.toDisplayString(o.confirmation.message),1)])),s.createElementVNode("div",b,[s.createVNode(c,{label:r.rejectLabel,class:s.normalizeClass(r.rejectClass),onClick:t[0]||(t[0]=e=>r.reject()),onKeydown:r.onRejectKeydown,autofocus:o.autoFocusReject},{icon:s.withCtx((t=>[s.renderSlot(e.$slots,"rejecticon",{},(()=>[s.createElementVNode("span",{class:s.normalizeClass([r.rejectIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"]),s.createVNode(c,{label:r.acceptLabel,class:s.normalizeClass(r.acceptClass),onClick:t[1]||(t[1]=e=>r.accept()),onKeydown:r.onAcceptKeydown,autofocus:o.autoFocusAccept},{icon:s.withCtx((t=>[s.renderSlot(e.$slots,"accepticon",{},(()=>[s.createElementVNode("span",{class:s.normalizeClass([r.acceptIcon,t.class])},null,2)]))])),_:3},8,["label","class","onKeydown","autofocus"])])],16,d)),[[a]]):s.createCommentVNode("",!0)])),_:3},8,["onEnter","onAfterEnter","onLeave","onAfterLeave"])])),_:3})},m}(primevue.button,primevue.confirmationeventbus,primevue.focustrap,primevue.overlayeventbus,primevue.portal,primevue.utils,Vue);
|
|
@@ -73,6 +73,29 @@ export interface ContextMenuSlots {
|
|
|
73
73
|
*/
|
|
74
74
|
item: MenuItem;
|
|
75
75
|
}): VNode[];
|
|
76
|
+
/**
|
|
77
|
+
* Custom item icon template.
|
|
78
|
+
* @param {Object} scope - item icon slot's params.
|
|
79
|
+
*/
|
|
80
|
+
itemicon(scope: {
|
|
81
|
+
/**
|
|
82
|
+
* Menuitem instance
|
|
83
|
+
*/
|
|
84
|
+
item: MenuItem;
|
|
85
|
+
/**
|
|
86
|
+
* Style class of the item icon element.
|
|
87
|
+
*/
|
|
88
|
+
class: any;
|
|
89
|
+
}): VNode[];
|
|
90
|
+
/**
|
|
91
|
+
* Custom submenu icon template.
|
|
92
|
+
*/
|
|
93
|
+
submenuicon(scope: {
|
|
94
|
+
/**
|
|
95
|
+
* Whether item is active
|
|
96
|
+
*/
|
|
97
|
+
active: boolean;
|
|
98
|
+
}): VNode[];
|
|
76
99
|
}
|
|
77
100
|
|
|
78
101
|
/**
|
|
@@ -17,20 +17,25 @@
|
|
|
17
17
|
:aria-posinset="getAriaPosInset(index)"
|
|
18
18
|
>
|
|
19
19
|
<div class="p-menuitem-content" @click="onItemClick($event, processedItem)" @mouseenter="onItemMouseEnter($event, processedItem)">
|
|
20
|
-
<template v-if="!
|
|
20
|
+
<template v-if="!templates.item">
|
|
21
21
|
<router-link v-if="getItemProp(processedItem, 'to') && !isItemDisabled(processedItem)" v-slot="{ navigate, href, isActive, isExactActive }" :to="getItemProp(processedItem, 'to')" custom>
|
|
22
22
|
<a v-ripple :href="href" :class="getItemActionClass(processedItem, { isActive, isExactActive })" tabindex="-1" aria-hidden="true" @click="onItemActionClick($event, navigate)">
|
|
23
|
-
<
|
|
23
|
+
<component v-if="templates.itemicon" :is="templates.itemicon" :item="processedItem.item" :class="getItemIconClass(processedItem)" />
|
|
24
|
+
<span v-else-if="getItemProp(processedItem, 'icon')" :class="getItemIconClass(processedItem)" />
|
|
24
25
|
<span class="p-menuitem-text">{{ getItemLabel(processedItem) }}</span>
|
|
25
26
|
</a>
|
|
26
27
|
</router-link>
|
|
27
28
|
<a v-else v-ripple :href="getItemProp(processedItem, 'url')" :class="getItemActionClass(processedItem)" :target="getItemProp(processedItem, 'target')" tabindex="-1" aria-hidden="true">
|
|
28
|
-
<
|
|
29
|
+
<component v-if="templates.itemicon" :is="templates.itemicon" :item="processedItem.item" :class="getItemIconClass(processedItem)" />
|
|
30
|
+
<span v-else-if="getItemProp(processedItem, 'icon')" :class="getItemIconClass(processedItem)" />
|
|
29
31
|
<span class="p-menuitem-text">{{ getItemLabel(processedItem) }}</span>
|
|
30
|
-
<
|
|
32
|
+
<template v-if="getItemProp(processedItem, 'items')">
|
|
33
|
+
<component v-if="templates.submenuicon" :is="templates.submenuicon" :active="isItemActive(processedItem)" class="p-submenu-icon" />
|
|
34
|
+
<AngleRightIcon v-else class="p-submenu-icon" />
|
|
35
|
+
</template>
|
|
31
36
|
</a>
|
|
32
37
|
</template>
|
|
33
|
-
<component v-else :is="
|
|
38
|
+
<component v-else :is="templates.item" :item="processedItem.item"></component>
|
|
34
39
|
</div>
|
|
35
40
|
<ContextMenuSub
|
|
36
41
|
v-if="isItemVisible(processedItem) && isItemGroup(processedItem)"
|
|
@@ -40,7 +45,7 @@
|
|
|
40
45
|
:menuId="menuId"
|
|
41
46
|
:focusedItemId="focusedItemId"
|
|
42
47
|
:items="processedItem.items"
|
|
43
|
-
:
|
|
48
|
+
:templates="templates"
|
|
44
49
|
:activeItemPath="activeItemPath"
|
|
45
50
|
:exact="exact"
|
|
46
51
|
:level="level + 1"
|
|
@@ -56,6 +61,7 @@
|
|
|
56
61
|
</template>
|
|
57
62
|
|
|
58
63
|
<script>
|
|
64
|
+
import AngleRightIcon from 'primevue/icons/angleright';
|
|
59
65
|
import Ripple from 'primevue/ripple';
|
|
60
66
|
import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|
61
67
|
|
|
@@ -87,8 +93,8 @@ export default {
|
|
|
87
93
|
type: Number,
|
|
88
94
|
default: 0
|
|
89
95
|
},
|
|
90
|
-
|
|
91
|
-
type:
|
|
96
|
+
templates: {
|
|
97
|
+
type: Object,
|
|
92
98
|
default: null
|
|
93
99
|
},
|
|
94
100
|
exact: {
|
|
@@ -189,6 +195,9 @@ export default {
|
|
|
189
195
|
return ['p-menuitem-separator', this.getItemProp(processedItem, 'class')];
|
|
190
196
|
}
|
|
191
197
|
},
|
|
198
|
+
components: {
|
|
199
|
+
AngleRightIcon: AngleRightIcon
|
|
200
|
+
},
|
|
192
201
|
directives: {
|
|
193
202
|
ripple: Ripple
|
|
194
203
|
}
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var Portal = require('primevue/portal');
|
|
4
4
|
var utils = require('primevue/utils');
|
|
5
|
+
var AngleRightIcon = require('primevue/icons/angleright');
|
|
5
6
|
var Ripple = require('primevue/ripple');
|
|
6
7
|
var vue = require('vue');
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
10
11
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
12
|
+
var AngleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleRightIcon);
|
|
11
13
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
12
14
|
|
|
13
15
|
var script$1 = {
|
|
@@ -38,8 +40,8 @@ var script$1 = {
|
|
|
38
40
|
type: Number,
|
|
39
41
|
default: 0
|
|
40
42
|
},
|
|
41
|
-
|
|
42
|
-
type:
|
|
43
|
+
templates: {
|
|
44
|
+
type: Object,
|
|
43
45
|
default: null
|
|
44
46
|
},
|
|
45
47
|
exact: {
|
|
@@ -140,6 +142,9 @@ var script$1 = {
|
|
|
140
142
|
return ['p-menuitem-separator', this.getItemProp(processedItem, 'class')];
|
|
141
143
|
}
|
|
142
144
|
},
|
|
145
|
+
components: {
|
|
146
|
+
AngleRightIcon: AngleRightIcon__default["default"]
|
|
147
|
+
},
|
|
143
148
|
directives: {
|
|
144
149
|
ripple: Ripple__default["default"]
|
|
145
150
|
}
|
|
@@ -155,14 +160,11 @@ const _hoisted_4 = ["href", "onClick"];
|
|
|
155
160
|
const _hoisted_5 = { class: "p-menuitem-text" };
|
|
156
161
|
const _hoisted_6 = ["href", "target"];
|
|
157
162
|
const _hoisted_7 = { class: "p-menuitem-text" };
|
|
158
|
-
const _hoisted_8 =
|
|
159
|
-
key: 1,
|
|
160
|
-
class: "p-submenu-icon pi pi-angle-right"
|
|
161
|
-
};
|
|
162
|
-
const _hoisted_9 = ["id"];
|
|
163
|
+
const _hoisted_8 = ["id"];
|
|
163
164
|
|
|
164
165
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
165
166
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
167
|
+
const _component_AngleRightIcon = vue.resolveComponent("AngleRightIcon");
|
|
166
168
|
const _component_ContextMenuSub = vue.resolveComponent("ContextMenuSub", true);
|
|
167
169
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
168
170
|
|
|
@@ -197,7 +199,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
197
199
|
onClick: $event => ($options.onItemClick($event, processedItem)),
|
|
198
200
|
onMouseenter: $event => ($options.onItemMouseEnter($event, processedItem))
|
|
199
201
|
}, [
|
|
200
|
-
(!$props.
|
|
202
|
+
(!$props.templates.item)
|
|
201
203
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
202
204
|
($options.getItemProp(processedItem, 'to') && !$options.isItemDisabled(processedItem))
|
|
203
205
|
? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
|
@@ -213,12 +215,18 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
215
|
"aria-hidden": "true",
|
|
214
216
|
onClick: $event => ($options.onItemActionClick($event, navigate))
|
|
215
217
|
}, [
|
|
216
|
-
($
|
|
217
|
-
? (vue.openBlock(), vue.
|
|
218
|
+
($props.templates.itemicon)
|
|
219
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
218
220
|
key: 0,
|
|
221
|
+
item: processedItem.item,
|
|
219
222
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
220
|
-
}, null,
|
|
221
|
-
:
|
|
223
|
+
}, null, 8, ["item", "class"]))
|
|
224
|
+
: ($options.getItemProp(processedItem, 'icon'))
|
|
225
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
226
|
+
key: 1,
|
|
227
|
+
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
228
|
+
}, null, 2))
|
|
229
|
+
: vue.createCommentVNode("", true),
|
|
222
230
|
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString($options.getItemLabel(processedItem)), 1)
|
|
223
231
|
], 10, _hoisted_4)), [
|
|
224
232
|
[_directive_ripple]
|
|
@@ -234,21 +242,38 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
234
242
|
tabindex: "-1",
|
|
235
243
|
"aria-hidden": "true"
|
|
236
244
|
}, [
|
|
237
|
-
($
|
|
238
|
-
? (vue.openBlock(), vue.
|
|
245
|
+
($props.templates.itemicon)
|
|
246
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
239
247
|
key: 0,
|
|
248
|
+
item: processedItem.item,
|
|
240
249
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
241
|
-
}, null,
|
|
242
|
-
:
|
|
250
|
+
}, null, 8, ["item", "class"]))
|
|
251
|
+
: ($options.getItemProp(processedItem, 'icon'))
|
|
252
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
253
|
+
key: 1,
|
|
254
|
+
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
255
|
+
}, null, 2))
|
|
256
|
+
: vue.createCommentVNode("", true),
|
|
243
257
|
vue.createElementVNode("span", _hoisted_7, vue.toDisplayString($options.getItemLabel(processedItem)), 1),
|
|
244
258
|
($options.getItemProp(processedItem, 'items'))
|
|
245
|
-
? (vue.openBlock(), vue.createElementBlock(
|
|
259
|
+
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
260
|
+
($props.templates.submenuicon)
|
|
261
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.submenuicon), {
|
|
262
|
+
key: 0,
|
|
263
|
+
active: $options.isItemActive(processedItem),
|
|
264
|
+
class: "p-submenu-icon"
|
|
265
|
+
}, null, 8, ["active"]))
|
|
266
|
+
: (vue.openBlock(), vue.createBlock(_component_AngleRightIcon, {
|
|
267
|
+
key: 1,
|
|
268
|
+
class: "p-submenu-icon"
|
|
269
|
+
}))
|
|
270
|
+
], 64))
|
|
246
271
|
: vue.createCommentVNode("", true)
|
|
247
272
|
], 10, _hoisted_6)), [
|
|
248
273
|
[_directive_ripple]
|
|
249
274
|
])
|
|
250
275
|
], 64))
|
|
251
|
-
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.
|
|
276
|
+
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.item), {
|
|
252
277
|
key: 1,
|
|
253
278
|
item: processedItem.item
|
|
254
279
|
}, null, 8, ["item"]))
|
|
@@ -262,14 +287,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
262
287
|
menuId: $props.menuId,
|
|
263
288
|
focusedItemId: $props.focusedItemId,
|
|
264
289
|
items: processedItem.items,
|
|
265
|
-
|
|
290
|
+
templates: $props.templates,
|
|
266
291
|
activeItemPath: $props.activeItemPath,
|
|
267
292
|
exact: $props.exact,
|
|
268
293
|
level: $props.level + 1,
|
|
269
294
|
visible: $options.isItemActive(processedItem) && $options.isItemGroup(processedItem),
|
|
270
295
|
onItemClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('item-click', $event))),
|
|
271
296
|
onItemMouseenter: _cache[1] || (_cache[1] = $event => (_ctx.$emit('item-mouseenter', $event)))
|
|
272
|
-
}, null, 8, ["id", "menuId", "focusedItemId", "items", "
|
|
297
|
+
}, null, 8, ["id", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "level", "visible"]))
|
|
273
298
|
: vue.createCommentVNode("", true)
|
|
274
299
|
], 14, _hoisted_2))
|
|
275
300
|
: vue.createCommentVNode("", true),
|
|
@@ -280,7 +305,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
280
305
|
style: vue.normalizeStyle($options.getItemProp(processedItem, 'style')),
|
|
281
306
|
class: vue.normalizeClass($options.getSeparatorItemClass(processedItem)),
|
|
282
307
|
role: "separator"
|
|
283
|
-
}, null, 14,
|
|
308
|
+
}, null, 14, _hoisted_8))
|
|
284
309
|
: vue.createCommentVNode("", true)
|
|
285
310
|
], 64))
|
|
286
311
|
}), 128))
|
|
@@ -915,7 +940,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
915
940
|
menuId: $data.id,
|
|
916
941
|
focusedItemId: $data.focused ? $options.focusedItemId : undefined,
|
|
917
942
|
items: $options.processedItems,
|
|
918
|
-
|
|
943
|
+
templates: _ctx.$slots,
|
|
919
944
|
activeItemPath: $data.activeItemPath,
|
|
920
945
|
exact: $props.exact,
|
|
921
946
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
@@ -927,7 +952,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
927
952
|
onKeydown: $options.onKeyDown,
|
|
928
953
|
onItemClick: $options.onItemClick,
|
|
929
954
|
onItemMouseenter: $options.onItemMouseEnter
|
|
930
|
-
}, null, 8, ["id", "tabindex", "aria-activedescendant", "menuId", "focusedItemId", "items", "
|
|
955
|
+
}, null, 8, ["id", "tabindex", "aria-activedescendant", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "aria-labelledby", "aria-label", "visible", "onFocus", "onBlur", "onKeydown", "onItemClick", "onItemMouseenter"])
|
|
931
956
|
], 16))
|
|
932
957
|
: vue.createCommentVNode("", true)
|
|
933
958
|
]),
|