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
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ PrimeVue is available at [npm](https://www.npmjs.com/package/primevue).
|
|
|
15
15
|
|
|
16
16
|
````
|
|
17
17
|
// with npm
|
|
18
|
-
npm install primevue
|
|
18
|
+
npm install primevue
|
|
19
19
|
|
|
20
20
|
// with yarn
|
|
21
|
-
yarn add primevue
|
|
21
|
+
yarn add primevue
|
|
22
22
|
````
|
|
23
23
|
|
|
24
24
|
## Plugin
|
|
@@ -44,9 +44,6 @@ import 'primevue/resources/themes/lara-light-blue/theme.css';
|
|
|
44
44
|
|
|
45
45
|
// core
|
|
46
46
|
import 'primevue/resources/primevue.min.css';
|
|
47
|
-
|
|
48
|
-
// icons
|
|
49
|
-
import 'primeicons/primeicons.css';
|
|
50
47
|
```
|
|
51
48
|
|
|
52
49
|
Each PrimeVue theme has its own font family so it is suggested to apply it to your application for a unified look.
|
|
@@ -96,8 +93,7 @@ Open the nuxt configuration file and add the css dependencies.
|
|
|
96
93
|
export default defineNuxtConfig({
|
|
97
94
|
css: [
|
|
98
95
|
"primevue/resources/themes/lara-light-blue/theme.css",
|
|
99
|
-
"primevue/resources/primevue.css"
|
|
100
|
-
"primeicons/primeicons.css"
|
|
96
|
+
"primevue/resources/primevue.css"
|
|
101
97
|
],
|
|
102
98
|
build: {
|
|
103
99
|
transpile: ["primevue"]
|
|
@@ -142,7 +138,7 @@ We've created various samples for the popular options in the Vue ecosystem. Visi
|
|
|
142
138
|
|
|
143
139
|
### Astro
|
|
144
140
|
<a href="https://github.com/primefaces/primevue-examples/tree/main/astro-quickstart">
|
|
145
|
-
<img src="https://primefaces.org/cdn/primevue/images/logos/
|
|
141
|
+
<img src="https://primefaces.org/cdn/primevue/images/logos/astro.svg" alt="astro" width="112" height="112">
|
|
146
142
|
</a>
|
|
147
143
|
|
|
148
144
|
## Contributors
|
package/accordion/Accordion.d.ts
CHANGED
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
import { VNode } from 'vue';
|
|
11
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
12
12
|
|
|
13
|
+
export declare type AccordionPassThroughOptionType = AccordionPassThroughAttributes | ((options: AccordionPassThroughMethodOptions) => AccordionPassThroughAttributes) | null | undefined;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Custom passthrough(pt) option method.
|
|
17
|
+
*/
|
|
18
|
+
export interface AccordionPassThroughMethodOptions {
|
|
19
|
+
props: AccordionProps;
|
|
20
|
+
state: AccordionState;
|
|
21
|
+
}
|
|
13
22
|
/**
|
|
14
23
|
* Custom tab open event.
|
|
15
24
|
* @see {@link AccordionEmits.tab-open}
|
|
@@ -40,6 +49,38 @@ export interface AccordionTabCloseEvent extends AccordionTabOpenEvent {}
|
|
|
40
49
|
*/
|
|
41
50
|
export interface AccordionClickEvent extends AccordionTabOpenEvent {}
|
|
42
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Custom passthrough(pt) options.
|
|
54
|
+
* @see {@link AccordionProps.pt}
|
|
55
|
+
*/
|
|
56
|
+
export interface AccordionPassThroughOptions {
|
|
57
|
+
/**
|
|
58
|
+
* Uses to pass attributes to the root's DOM element.
|
|
59
|
+
*/
|
|
60
|
+
root?: AccordionPassThroughOptionType;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Custom passthrough attributes for each DOM elements
|
|
65
|
+
*/
|
|
66
|
+
export interface AccordionPassThroughAttributes {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Defines current inline state in Accordion component.
|
|
72
|
+
*/
|
|
73
|
+
export interface AccordionState {
|
|
74
|
+
/**
|
|
75
|
+
* Current id state as a string
|
|
76
|
+
*/
|
|
77
|
+
id: string;
|
|
78
|
+
/**
|
|
79
|
+
* Current active index state.
|
|
80
|
+
*/
|
|
81
|
+
d_activeIndex: number | number[];
|
|
82
|
+
}
|
|
83
|
+
|
|
43
84
|
/**
|
|
44
85
|
* Defines valid properties in Accordion component.
|
|
45
86
|
*/
|
|
@@ -61,12 +102,10 @@ export interface AccordionProps {
|
|
|
61
102
|
lazy?: boolean | undefined;
|
|
62
103
|
/**
|
|
63
104
|
* Icon of a collapsed tab.
|
|
64
|
-
* @defaultValue pi pi-chevron-right
|
|
65
105
|
*/
|
|
66
106
|
expandIcon?: string | undefined;
|
|
67
107
|
/**
|
|
68
108
|
* Icon of an expanded tab.
|
|
69
|
-
* @defaultValue pi pi-chevron-down
|
|
70
109
|
*/
|
|
71
110
|
collapseIcon?: string | undefined;
|
|
72
111
|
/**
|
|
@@ -79,6 +118,11 @@ export interface AccordionProps {
|
|
|
79
118
|
* @defaultValue false
|
|
80
119
|
*/
|
|
81
120
|
selectOnFocus?: boolean | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Uses to pass attributes to DOM elements inside the component.
|
|
123
|
+
* @type {AccordionPassThroughOptions}
|
|
124
|
+
*/
|
|
125
|
+
pt?: AccordionPassThroughOptions;
|
|
82
126
|
}
|
|
83
127
|
|
|
84
128
|
/**
|
package/accordion/Accordion.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="p-accordion p-component">
|
|
3
|
-
<div v-for="(tab, i) of tabs" :key="getKey(tab, i)" :class="getTabClass(i)" :data-index="i">
|
|
4
|
-
<div :style="getTabProp(tab, 'headerStyle')" :class="getTabHeaderClass(tab, i)" v-bind="getTabProp(tab, 'headerProps')">
|
|
2
|
+
<div class="p-accordion p-component" v-bind="ptm('root')">
|
|
3
|
+
<div v-for="(tab, i) of tabs" :key="getKey(tab, i)" :class="getTabClass(i)" :data-index="i" v-bind="getTabPT(tab, 'root')">
|
|
4
|
+
<div :style="getTabProp(tab, 'headerStyle')" :class="getTabHeaderClass(tab, i)" v-bind="{ ...getTabProp(tab, 'headerProps'), ...getTabPT(tab, 'header') }">
|
|
5
5
|
<a
|
|
6
6
|
:id="getTabHeaderActionId(i)"
|
|
7
7
|
class="p-accordion-header-link p-accordion-header-action"
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
:aria-controls="getTabContentId(i)"
|
|
13
13
|
@click="onTabClick($event, tab, i)"
|
|
14
14
|
@keydown="onTabKeyDown($event, tab, i)"
|
|
15
|
-
v-bind="getTabProp(tab, '
|
|
15
|
+
v-bind="{ ...getTabProp(tab, 'headeractionprops'), ...getTabPT(tab, 'headeraction') }"
|
|
16
16
|
>
|
|
17
|
-
<
|
|
18
|
-
<
|
|
17
|
+
<component v-if="tab.children && tab.children.headericon" :is="tab.children.headericon" :isTabActive="isTabActive(i)" :index="i"></component>
|
|
18
|
+
<component v-else-if="isTabActive(i)" :is="collapseIcon ? 'span' : 'ChevronDownIcon'" :class="['p-accordion-toggle-icon', collapseIcon]" aria-hidden="true" v-bind="getTabPT(tab, 'headericon')" />
|
|
19
|
+
<component v-else :is="expandIcon ? 'span' : 'ChevronRightIcon'" :class="['p-accordion-toggle-icon', expandIcon]" aria-hidden="true" v-bind="getTabPT(tab, 'headericon')" />
|
|
20
|
+
<span v-if="tab.props && tab.props.header" class="p-accordion-header-text" v-bind="getTabPT(tab, 'headertitle')">{{ tab.props.header }}</span>
|
|
19
21
|
<component v-if="tab.children && tab.children.header" :is="tab.children.header"></component>
|
|
20
22
|
</a>
|
|
21
23
|
</div>
|
|
@@ -28,9 +30,9 @@
|
|
|
28
30
|
:class="getTabContentClass(tab)"
|
|
29
31
|
role="region"
|
|
30
32
|
:aria-labelledby="getTabHeaderActionId(i)"
|
|
31
|
-
v-bind="getTabProp(tab, 'contentProps')"
|
|
33
|
+
v-bind="{ ...getTabProp(tab, 'contentProps'), ...getTabPT(tab, 'toggleablecontent') }"
|
|
32
34
|
>
|
|
33
|
-
<div class="p-accordion-content">
|
|
35
|
+
<div class="p-accordion-content" v-bind="getTabPT(tab, 'content')">
|
|
34
36
|
<component :is="tab"></component>
|
|
35
37
|
</div>
|
|
36
38
|
</div>
|
|
@@ -40,11 +42,15 @@
|
|
|
40
42
|
</template>
|
|
41
43
|
|
|
42
44
|
<script>
|
|
45
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
46
|
+
import ChevronDownIcon from 'primevue/icons/chevrondown';
|
|
47
|
+
import ChevronRightIcon from 'primevue/icons/chevronright';
|
|
43
48
|
import Ripple from 'primevue/ripple';
|
|
44
49
|
import { DomHandler, UniqueComponentId } from 'primevue/utils';
|
|
45
50
|
|
|
46
51
|
export default {
|
|
47
52
|
name: 'Accordion',
|
|
53
|
+
extends: BaseComponent,
|
|
48
54
|
emits: ['update:activeIndex', 'tab-open', 'tab-close', 'tab-click'],
|
|
49
55
|
props: {
|
|
50
56
|
multiple: {
|
|
@@ -61,11 +67,11 @@ export default {
|
|
|
61
67
|
},
|
|
62
68
|
expandIcon: {
|
|
63
69
|
type: String,
|
|
64
|
-
default:
|
|
70
|
+
default: undefined
|
|
65
71
|
},
|
|
66
72
|
collapseIcon: {
|
|
67
73
|
type: String,
|
|
68
|
-
default:
|
|
74
|
+
default: undefined
|
|
69
75
|
},
|
|
70
76
|
tabindex: {
|
|
71
77
|
type: Number,
|
|
@@ -112,6 +118,15 @@ export default {
|
|
|
112
118
|
getTabContentId(index) {
|
|
113
119
|
return `${this.id}_${index}_content`;
|
|
114
120
|
},
|
|
121
|
+
getTabPT(tab, key) {
|
|
122
|
+
return this.ptmo(this.getTabProp(tab, 'pt'), key, {
|
|
123
|
+
props: tab.props,
|
|
124
|
+
parent: {
|
|
125
|
+
props: this.$props,
|
|
126
|
+
state: this.$data
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
},
|
|
115
130
|
onTabClick(event, tab, index) {
|
|
116
131
|
this.changeActiveIndex(event, tab, index);
|
|
117
132
|
this.$emit('tab-click', { originalEvent: event, index });
|
|
@@ -240,9 +255,6 @@ export default {
|
|
|
240
255
|
}
|
|
241
256
|
];
|
|
242
257
|
},
|
|
243
|
-
getTabHeaderIconClass(i) {
|
|
244
|
-
return ['p-accordion-toggle-icon', this.isTabActive(i) ? this.collapseIcon : this.expandIcon];
|
|
245
|
-
},
|
|
246
258
|
getTabContentClass(tab) {
|
|
247
259
|
return ['p-toggleable-content', this.getTabProp(tab, 'contentClass')];
|
|
248
260
|
}
|
|
@@ -264,6 +276,10 @@ export default {
|
|
|
264
276
|
}, []);
|
|
265
277
|
}
|
|
266
278
|
},
|
|
279
|
+
components: {
|
|
280
|
+
ChevronDownIcon,
|
|
281
|
+
ChevronRightIcon
|
|
282
|
+
},
|
|
267
283
|
directives: {
|
|
268
284
|
ripple: Ripple
|
|
269
285
|
}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var BaseComponent = require('primevue/basecomponent');
|
|
4
|
+
var ChevronDownIcon = require('primevue/icons/chevrondown');
|
|
5
|
+
var ChevronRightIcon = require('primevue/icons/chevronright');
|
|
3
6
|
var Ripple = require('primevue/ripple');
|
|
4
7
|
var utils = require('primevue/utils');
|
|
5
8
|
var vue = require('vue');
|
|
6
9
|
|
|
7
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
11
|
|
|
12
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
13
|
+
var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
|
|
14
|
+
var ChevronRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronRightIcon);
|
|
9
15
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
10
16
|
|
|
11
17
|
var script = {
|
|
12
18
|
name: 'Accordion',
|
|
19
|
+
extends: BaseComponent__default["default"],
|
|
13
20
|
emits: ['update:activeIndex', 'tab-open', 'tab-close', 'tab-click'],
|
|
14
21
|
props: {
|
|
15
22
|
multiple: {
|
|
@@ -26,11 +33,11 @@ var script = {
|
|
|
26
33
|
},
|
|
27
34
|
expandIcon: {
|
|
28
35
|
type: String,
|
|
29
|
-
default:
|
|
36
|
+
default: undefined
|
|
30
37
|
},
|
|
31
38
|
collapseIcon: {
|
|
32
39
|
type: String,
|
|
33
|
-
default:
|
|
40
|
+
default: undefined
|
|
34
41
|
},
|
|
35
42
|
tabindex: {
|
|
36
43
|
type: Number,
|
|
@@ -77,6 +84,15 @@ var script = {
|
|
|
77
84
|
getTabContentId(index) {
|
|
78
85
|
return `${this.id}_${index}_content`;
|
|
79
86
|
},
|
|
87
|
+
getTabPT(tab, key) {
|
|
88
|
+
return this.ptmo(this.getTabProp(tab, 'pt'), key, {
|
|
89
|
+
props: tab.props,
|
|
90
|
+
parent: {
|
|
91
|
+
props: this.$props,
|
|
92
|
+
state: this.$data
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
},
|
|
80
96
|
onTabClick(event, tab, index) {
|
|
81
97
|
this.changeActiveIndex(event, tab, index);
|
|
82
98
|
this.$emit('tab-click', { originalEvent: event, index });
|
|
@@ -202,9 +218,6 @@ var script = {
|
|
|
202
218
|
}
|
|
203
219
|
];
|
|
204
220
|
},
|
|
205
|
-
getTabHeaderIconClass(i) {
|
|
206
|
-
return ['p-accordion-toggle-icon', this.isTabActive(i) ? this.collapseIcon : this.expandIcon];
|
|
207
|
-
},
|
|
208
221
|
getTabContentClass(tab) {
|
|
209
222
|
return ['p-toggleable-content', this.getTabProp(tab, 'contentClass')];
|
|
210
223
|
}
|
|
@@ -226,33 +239,31 @@ var script = {
|
|
|
226
239
|
}, []);
|
|
227
240
|
}
|
|
228
241
|
},
|
|
242
|
+
components: {
|
|
243
|
+
ChevronDownIcon: ChevronDownIcon__default["default"],
|
|
244
|
+
ChevronRightIcon: ChevronRightIcon__default["default"]
|
|
245
|
+
},
|
|
229
246
|
directives: {
|
|
230
247
|
ripple: Ripple__default["default"]
|
|
231
248
|
}
|
|
232
249
|
};
|
|
233
250
|
|
|
234
|
-
const _hoisted_1 =
|
|
235
|
-
const _hoisted_2 = ["
|
|
236
|
-
const _hoisted_3 = ["id", "
|
|
237
|
-
const _hoisted_4 = {
|
|
238
|
-
key: 0,
|
|
239
|
-
class: "p-accordion-header-text"
|
|
240
|
-
};
|
|
241
|
-
const _hoisted_5 = ["id", "aria-labelledby"];
|
|
242
|
-
const _hoisted_6 = { class: "p-accordion-content" };
|
|
251
|
+
const _hoisted_1 = ["data-index"];
|
|
252
|
+
const _hoisted_2 = ["id", "tabindex", "aria-disabled", "aria-expanded", "aria-controls", "onClick", "onKeydown"];
|
|
253
|
+
const _hoisted_3 = ["id", "aria-labelledby"];
|
|
243
254
|
|
|
244
255
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
245
|
-
return (vue.openBlock(), vue.createElementBlock("div",
|
|
256
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "p-accordion p-component" }, _ctx.ptm('root')), [
|
|
246
257
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.tabs, (tab, i) => {
|
|
247
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
258
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
248
259
|
key: $options.getKey(tab, i),
|
|
249
|
-
class:
|
|
260
|
+
class: $options.getTabClass(i),
|
|
250
261
|
"data-index": i
|
|
251
|
-
}, [
|
|
262
|
+
}, $options.getTabPT(tab, 'root')), [
|
|
252
263
|
vue.createElementVNode("div", vue.mergeProps({
|
|
253
264
|
style: $options.getTabProp(tab, 'headerStyle'),
|
|
254
265
|
class: $options.getTabHeaderClass(tab, i)
|
|
255
|
-
},
|
|
266
|
+
}, { ...$options.getTabProp(tab, 'headerProps'), ...$options.getTabPT(tab, 'header') }), [
|
|
256
267
|
vue.createElementVNode("a", vue.mergeProps({
|
|
257
268
|
id: $options.getTabHeaderActionId(i),
|
|
258
269
|
class: "p-accordion-header-link p-accordion-header-action",
|
|
@@ -263,18 +274,34 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
263
274
|
"aria-controls": $options.getTabContentId(i),
|
|
264
275
|
onClick: $event => ($options.onTabClick($event, tab, i)),
|
|
265
276
|
onKeydown: $event => ($options.onTabKeyDown($event, tab, i))
|
|
266
|
-
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
277
|
+
}, { ...$options.getTabProp(tab, 'headeractionprops'), ...$options.getTabPT(tab, 'headeraction') }), [
|
|
278
|
+
(tab.children && tab.children.headericon)
|
|
279
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tab.children.headericon), {
|
|
280
|
+
key: 0,
|
|
281
|
+
isTabActive: $options.isTabActive(i),
|
|
282
|
+
index: i
|
|
283
|
+
}, null, 8, ["isTabActive", "index"]))
|
|
284
|
+
: ($options.isTabActive(i))
|
|
285
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.collapseIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
286
|
+
key: 1,
|
|
287
|
+
class: ['p-accordion-toggle-icon', $props.collapseIcon],
|
|
288
|
+
"aria-hidden": "true"
|
|
289
|
+
}, $options.getTabPT(tab, 'headericon')), null, 16, ["class"]))
|
|
290
|
+
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.expandIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
291
|
+
key: 2,
|
|
292
|
+
class: ['p-accordion-toggle-icon', $props.expandIcon],
|
|
293
|
+
"aria-hidden": "true"
|
|
294
|
+
}, $options.getTabPT(tab, 'headericon')), null, 16, ["class"])),
|
|
271
295
|
(tab.props && tab.props.header)
|
|
272
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
296
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
297
|
+
key: 3,
|
|
298
|
+
class: "p-accordion-header-text"
|
|
299
|
+
}, $options.getTabPT(tab, 'headertitle')), vue.toDisplayString(tab.props.header), 17))
|
|
273
300
|
: vue.createCommentVNode("", true),
|
|
274
301
|
(tab.children && tab.children.header)
|
|
275
|
-
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tab.children.header), { key:
|
|
302
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tab.children.header), { key: 4 }))
|
|
276
303
|
: vue.createCommentVNode("", true)
|
|
277
|
-
], 16,
|
|
304
|
+
], 16, _hoisted_2)
|
|
278
305
|
], 16),
|
|
279
306
|
vue.createVNode(vue.Transition, { name: "p-toggleable-content" }, {
|
|
280
307
|
default: vue.withCtx(() => [
|
|
@@ -286,20 +313,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
286
313
|
class: $options.getTabContentClass(tab),
|
|
287
314
|
role: "region",
|
|
288
315
|
"aria-labelledby": $options.getTabHeaderActionId(i)
|
|
289
|
-
},
|
|
290
|
-
vue.createElementVNode("div",
|
|
316
|
+
}, { ...$options.getTabProp(tab, 'contentProps'), ...$options.getTabPT(tab, 'toggleablecontent') }), [
|
|
317
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-accordion-content" }, $options.getTabPT(tab, 'content')), [
|
|
291
318
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tab)))
|
|
292
|
-
])
|
|
293
|
-
], 16,
|
|
319
|
+
], 16)
|
|
320
|
+
], 16, _hoisted_3)), [
|
|
294
321
|
[vue.vShow, $props.lazy ? true : $options.isTabActive(i)]
|
|
295
322
|
])
|
|
296
323
|
: vue.createCommentVNode("", true)
|
|
297
324
|
]),
|
|
298
325
|
_: 2
|
|
299
326
|
}, 1024)
|
|
300
|
-
],
|
|
327
|
+
], 16, _hoisted_1))
|
|
301
328
|
}), 128))
|
|
302
|
-
]))
|
|
329
|
+
], 16))
|
|
303
330
|
}
|
|
304
331
|
|
|
305
332
|
function styleInject(css, ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/icons/chevrondown"),n=require("primevue/icons/chevronright"),a=require("primevue/ripple"),i=require("primevue/utils"),o=require("vue");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=r(e),c=r(t),s=r(n),l=r(a),p={name:"Accordion",extends:d.default,emits:["update:activeIndex","tab-open","tab-close","tab-click"],props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},data(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||i.UniqueComponentId()},activeIndex(e){this.d_activeIndex=e}},mounted(){this.id=this.id||i.UniqueComponentId()},methods:{isAccordionTab:e=>"AccordionTab"===e.type.name,isTabActive(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:(e,t)=>e.props?e.props[t]:void 0,getKey(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId(e){return`${this.id}_${e}_header_action`},getTabContentId(e){return`${this.id}_${e}_content`},getTabPT(e,t){return this.ptmo(this.getTabProp(e,"pt"),t,{props:e.props,parent:{props:this.$props,state:this.$data}})},onTabClick(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey(e){const t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey(e){const t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey(e){const t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey(e){const t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction(e,t=!1){const n=t?e:e.nextElementSibling,a=i.DomHandler.findSingle(n,".p-accordion-header");return a?i.DomHandler.hasClass(a,"p-disabled")?this.findNextHeaderAction(a.parentElement):i.DomHandler.findSingle(a,".p-accordion-header-action"):null},findPrevHeaderAction(e,t=!1){const n=t?e:e.previousElementSibling,a=i.DomHandler.findSingle(n,".p-accordion-header");return a?i.DomHandler.hasClass(a,"p-disabled")?this.findPrevHeaderAction(a.parentElement):i.DomHandler.findSingle(a,".p-accordion-header-action"):null},findFirstHeaderAction(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex(e,t,n){if(!this.getTabProp(t,"disabled")){const t=this.isTabActive(n),a=t?"tab-close":"tab-open";this.multiple?t?this.d_activeIndex=this.d_activeIndex.filter((e=>e!==n)):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(a,{originalEvent:e,index:n})}},changeFocusedTab(e,t){if(t&&(i.DomHandler.focus(t),this.selectOnFocus)){const n=parseInt(t.parentElement.parentElement.dataset.index,10),a=this.tabs[n];this.changeActiveIndex(e,a,n)}},getTabClass(e){return["p-accordion-tab",{"p-accordion-tab-active":this.isTabActive(e)}]},getTabHeaderClass(e,t){return["p-accordion-header",this.getTabProp(e,"headerClass"),{"p-highlight":this.isTabActive(t),"p-disabled":this.getTabProp(e,"disabled")}]},getTabContentClass(e){return["p-toggleable-content",this.getTabProp(e,"contentClass")]}},computed:{tabs(){return this.$slots.default().reduce(((e,t)=>(this.isAccordionTab(t)?e.push(t):t.children&&t.children instanceof Array&&t.children.forEach((t=>{this.isAccordionTab(t)&&e.push(t)})),e)),[])}},components:{ChevronDownIcon:c.default,ChevronRightIcon:s.default},directives:{ripple:l.default}};const h=["data-index"],b=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],u=["id","aria-labelledby"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-accordion-header-action {\n cursor: pointer;\n display: flex;\n align-items: center;\n user-select: none;\n position: relative;\n text-decoration: none;\n}\n.p-accordion-header-action:focus {\n z-index: 1;\n}\n.p-accordion-header-text {\n line-height: 1;\n}\n"),p.render=function(e,t,n,a,i,r){return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:"p-accordion p-component"},e.ptm("root")),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.tabs,((e,t)=>(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:r.getKey(e,t),class:r.getTabClass(t),"data-index":t},r.getTabPT(e,"root")),[o.createElementVNode("div",o.mergeProps({style:r.getTabProp(e,"headerStyle"),class:r.getTabHeaderClass(e,t)},{...r.getTabProp(e,"headerProps"),...r.getTabPT(e,"header")}),[o.createElementVNode("a",o.mergeProps({id:r.getTabHeaderActionId(t),class:"p-accordion-header-link p-accordion-header-action",tabindex:r.getTabProp(e,"disabled")?-1:n.tabindex,role:"button","aria-disabled":r.getTabProp(e,"disabled"),"aria-expanded":r.isTabActive(t),"aria-controls":r.getTabContentId(t),onClick:n=>r.onTabClick(n,e,t),onKeydown:n=>r.onTabKeyDown(n,e,t)},{...r.getTabProp(e,"headeractionprops"),...r.getTabPT(e,"headeraction")}),[e.children&&e.children.headericon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.children.headericon),{key:0,isTabActive:r.isTabActive(t),index:t},null,8,["isTabActive","index"])):r.isTabActive(t)?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.collapseIcon?"span":"ChevronDownIcon"),o.mergeProps({key:1,class:["p-accordion-toggle-icon",n.collapseIcon],"aria-hidden":"true"},r.getTabPT(e,"headericon")),null,16,["class"])):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.expandIcon?"span":"ChevronRightIcon"),o.mergeProps({key:2,class:["p-accordion-toggle-icon",n.expandIcon],"aria-hidden":"true"},r.getTabPT(e,"headericon")),null,16,["class"])),e.props&&e.props.header?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:3,class:"p-accordion-header-text"},r.getTabPT(e,"headertitle")),o.toDisplayString(e.props.header),17)):o.createCommentVNode("",!0),e.children&&e.children.header?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.children.header),{key:4})):o.createCommentVNode("",!0)],16,b)],16),o.createVNode(o.Transition,{name:"p-toggleable-content"},{default:o.withCtx((()=>[!n.lazy||r.isTabActive(t)?o.withDirectives((o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,id:r.getTabContentId(t),style:r.getTabProp(e,"contentStyle"),class:r.getTabContentClass(e),role:"region","aria-labelledby":r.getTabHeaderActionId(t)},{...r.getTabProp(e,"contentProps"),...r.getTabPT(e,"toggleablecontent")}),[o.createElementVNode("div",o.mergeProps({class:"p-accordion-content"},r.getTabPT(e,"content")),[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e)))],16)],16,u)),[[o.vShow,!!n.lazy||r.isTabActive(t)]]):o.createCommentVNode("",!0)])),_:2},1024)],16,h)))),128))],16)},module.exports=p;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
2
|
+
import ChevronDownIcon from 'primevue/icons/chevrondown';
|
|
3
|
+
import ChevronRightIcon from 'primevue/icons/chevronright';
|
|
1
4
|
import Ripple from 'primevue/ripple';
|
|
2
5
|
import { UniqueComponentId, DomHandler } from 'primevue/utils';
|
|
3
|
-
import { openBlock, createElementBlock, Fragment, renderList,
|
|
6
|
+
import { openBlock, createElementBlock, mergeProps, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createVNode, Transition, withCtx, withDirectives, vShow } from 'vue';
|
|
4
7
|
|
|
5
8
|
var script = {
|
|
6
9
|
name: 'Accordion',
|
|
10
|
+
extends: BaseComponent,
|
|
7
11
|
emits: ['update:activeIndex', 'tab-open', 'tab-close', 'tab-click'],
|
|
8
12
|
props: {
|
|
9
13
|
multiple: {
|
|
@@ -20,11 +24,11 @@ var script = {
|
|
|
20
24
|
},
|
|
21
25
|
expandIcon: {
|
|
22
26
|
type: String,
|
|
23
|
-
default:
|
|
27
|
+
default: undefined
|
|
24
28
|
},
|
|
25
29
|
collapseIcon: {
|
|
26
30
|
type: String,
|
|
27
|
-
default:
|
|
31
|
+
default: undefined
|
|
28
32
|
},
|
|
29
33
|
tabindex: {
|
|
30
34
|
type: Number,
|
|
@@ -71,6 +75,15 @@ var script = {
|
|
|
71
75
|
getTabContentId(index) {
|
|
72
76
|
return `${this.id}_${index}_content`;
|
|
73
77
|
},
|
|
78
|
+
getTabPT(tab, key) {
|
|
79
|
+
return this.ptmo(this.getTabProp(tab, 'pt'), key, {
|
|
80
|
+
props: tab.props,
|
|
81
|
+
parent: {
|
|
82
|
+
props: this.$props,
|
|
83
|
+
state: this.$data
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
},
|
|
74
87
|
onTabClick(event, tab, index) {
|
|
75
88
|
this.changeActiveIndex(event, tab, index);
|
|
76
89
|
this.$emit('tab-click', { originalEvent: event, index });
|
|
@@ -196,9 +209,6 @@ var script = {
|
|
|
196
209
|
}
|
|
197
210
|
];
|
|
198
211
|
},
|
|
199
|
-
getTabHeaderIconClass(i) {
|
|
200
|
-
return ['p-accordion-toggle-icon', this.isTabActive(i) ? this.collapseIcon : this.expandIcon];
|
|
201
|
-
},
|
|
202
212
|
getTabContentClass(tab) {
|
|
203
213
|
return ['p-toggleable-content', this.getTabProp(tab, 'contentClass')];
|
|
204
214
|
}
|
|
@@ -220,33 +230,31 @@ var script = {
|
|
|
220
230
|
}, []);
|
|
221
231
|
}
|
|
222
232
|
},
|
|
233
|
+
components: {
|
|
234
|
+
ChevronDownIcon,
|
|
235
|
+
ChevronRightIcon
|
|
236
|
+
},
|
|
223
237
|
directives: {
|
|
224
238
|
ripple: Ripple
|
|
225
239
|
}
|
|
226
240
|
};
|
|
227
241
|
|
|
228
|
-
const _hoisted_1 =
|
|
229
|
-
const _hoisted_2 = ["
|
|
230
|
-
const _hoisted_3 = ["id", "
|
|
231
|
-
const _hoisted_4 = {
|
|
232
|
-
key: 0,
|
|
233
|
-
class: "p-accordion-header-text"
|
|
234
|
-
};
|
|
235
|
-
const _hoisted_5 = ["id", "aria-labelledby"];
|
|
236
|
-
const _hoisted_6 = { class: "p-accordion-content" };
|
|
242
|
+
const _hoisted_1 = ["data-index"];
|
|
243
|
+
const _hoisted_2 = ["id", "tabindex", "aria-disabled", "aria-expanded", "aria-controls", "onClick", "onKeydown"];
|
|
244
|
+
const _hoisted_3 = ["id", "aria-labelledby"];
|
|
237
245
|
|
|
238
246
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
239
|
-
return (openBlock(), createElementBlock("div",
|
|
247
|
+
return (openBlock(), createElementBlock("div", mergeProps({ class: "p-accordion p-component" }, _ctx.ptm('root')), [
|
|
240
248
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tabs, (tab, i) => {
|
|
241
|
-
return (openBlock(), createElementBlock("div", {
|
|
249
|
+
return (openBlock(), createElementBlock("div", mergeProps({
|
|
242
250
|
key: $options.getKey(tab, i),
|
|
243
|
-
class:
|
|
251
|
+
class: $options.getTabClass(i),
|
|
244
252
|
"data-index": i
|
|
245
|
-
}, [
|
|
253
|
+
}, $options.getTabPT(tab, 'root')), [
|
|
246
254
|
createElementVNode("div", mergeProps({
|
|
247
255
|
style: $options.getTabProp(tab, 'headerStyle'),
|
|
248
256
|
class: $options.getTabHeaderClass(tab, i)
|
|
249
|
-
},
|
|
257
|
+
}, { ...$options.getTabProp(tab, 'headerProps'), ...$options.getTabPT(tab, 'header') }), [
|
|
250
258
|
createElementVNode("a", mergeProps({
|
|
251
259
|
id: $options.getTabHeaderActionId(i),
|
|
252
260
|
class: "p-accordion-header-link p-accordion-header-action",
|
|
@@ -257,18 +265,34 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
257
265
|
"aria-controls": $options.getTabContentId(i),
|
|
258
266
|
onClick: $event => ($options.onTabClick($event, tab, i)),
|
|
259
267
|
onKeydown: $event => ($options.onTabKeyDown($event, tab, i))
|
|
260
|
-
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
268
|
+
}, { ...$options.getTabProp(tab, 'headeractionprops'), ...$options.getTabPT(tab, 'headeraction') }), [
|
|
269
|
+
(tab.children && tab.children.headericon)
|
|
270
|
+
? (openBlock(), createBlock(resolveDynamicComponent(tab.children.headericon), {
|
|
271
|
+
key: 0,
|
|
272
|
+
isTabActive: $options.isTabActive(i),
|
|
273
|
+
index: i
|
|
274
|
+
}, null, 8, ["isTabActive", "index"]))
|
|
275
|
+
: ($options.isTabActive(i))
|
|
276
|
+
? (openBlock(), createBlock(resolveDynamicComponent($props.collapseIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
277
|
+
key: 1,
|
|
278
|
+
class: ['p-accordion-toggle-icon', $props.collapseIcon],
|
|
279
|
+
"aria-hidden": "true"
|
|
280
|
+
}, $options.getTabPT(tab, 'headericon')), null, 16, ["class"]))
|
|
281
|
+
: (openBlock(), createBlock(resolveDynamicComponent($props.expandIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
282
|
+
key: 2,
|
|
283
|
+
class: ['p-accordion-toggle-icon', $props.expandIcon],
|
|
284
|
+
"aria-hidden": "true"
|
|
285
|
+
}, $options.getTabPT(tab, 'headericon')), null, 16, ["class"])),
|
|
265
286
|
(tab.props && tab.props.header)
|
|
266
|
-
? (openBlock(), createElementBlock("span",
|
|
287
|
+
? (openBlock(), createElementBlock("span", mergeProps({
|
|
288
|
+
key: 3,
|
|
289
|
+
class: "p-accordion-header-text"
|
|
290
|
+
}, $options.getTabPT(tab, 'headertitle')), toDisplayString(tab.props.header), 17))
|
|
267
291
|
: createCommentVNode("", true),
|
|
268
292
|
(tab.children && tab.children.header)
|
|
269
|
-
? (openBlock(), createBlock(resolveDynamicComponent(tab.children.header), { key:
|
|
293
|
+
? (openBlock(), createBlock(resolveDynamicComponent(tab.children.header), { key: 4 }))
|
|
270
294
|
: createCommentVNode("", true)
|
|
271
|
-
], 16,
|
|
295
|
+
], 16, _hoisted_2)
|
|
272
296
|
], 16),
|
|
273
297
|
createVNode(Transition, { name: "p-toggleable-content" }, {
|
|
274
298
|
default: withCtx(() => [
|
|
@@ -280,20 +304,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
280
304
|
class: $options.getTabContentClass(tab),
|
|
281
305
|
role: "region",
|
|
282
306
|
"aria-labelledby": $options.getTabHeaderActionId(i)
|
|
283
|
-
},
|
|
284
|
-
createElementVNode("div",
|
|
307
|
+
}, { ...$options.getTabProp(tab, 'contentProps'), ...$options.getTabPT(tab, 'toggleablecontent') }), [
|
|
308
|
+
createElementVNode("div", mergeProps({ class: "p-accordion-content" }, $options.getTabPT(tab, 'content')), [
|
|
285
309
|
(openBlock(), createBlock(resolveDynamicComponent(tab)))
|
|
286
|
-
])
|
|
287
|
-
], 16,
|
|
310
|
+
], 16)
|
|
311
|
+
], 16, _hoisted_3)), [
|
|
288
312
|
[vShow, $props.lazy ? true : $options.isTabActive(i)]
|
|
289
313
|
])
|
|
290
314
|
: createCommentVNode("", true)
|
|
291
315
|
]),
|
|
292
316
|
_: 2
|
|
293
317
|
}, 1024)
|
|
294
|
-
],
|
|
318
|
+
], 16, _hoisted_1))
|
|
295
319
|
}), 128))
|
|
296
|
-
]))
|
|
320
|
+
], 16))
|
|
297
321
|
}
|
|
298
322
|
|
|
299
323
|
function styleInject(css, ref) {
|