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,14 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button v-ripple :class="containerClass" type="button">
|
|
3
|
-
<
|
|
3
|
+
<component :is="template || 'AngleRightIcon'" class="p-paginator-icon" />
|
|
4
4
|
</button>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
+
import AngleRightIcon from 'primevue/icons/angleright';
|
|
8
9
|
import Ripple from 'primevue/ripple';
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
name: 'NextPageLink',
|
|
13
|
+
props: {
|
|
14
|
+
template: {
|
|
15
|
+
type: Function,
|
|
16
|
+
default: null
|
|
17
|
+
}
|
|
18
|
+
},
|
|
12
19
|
computed: {
|
|
13
20
|
containerClass() {
|
|
14
21
|
return [
|
|
@@ -19,6 +26,9 @@ export default {
|
|
|
19
26
|
];
|
|
20
27
|
}
|
|
21
28
|
},
|
|
29
|
+
components: {
|
|
30
|
+
AngleRightIcon: AngleRightIcon
|
|
31
|
+
},
|
|
22
32
|
directives: {
|
|
23
33
|
ripple: Ripple
|
|
24
34
|
}
|
package/paginator/Paginator.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* Paginator is a generic component to display content in paged format.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* [Live Demo](https://primevue.org/paginator)
|
|
6
6
|
*
|
|
7
7
|
* @module paginator
|
|
8
8
|
*
|
|
@@ -120,6 +120,22 @@ export interface PaginatorSlots {
|
|
|
120
120
|
*/
|
|
121
121
|
state: PageState;
|
|
122
122
|
}): VNode[];
|
|
123
|
+
/**
|
|
124
|
+
* Custom first page link icon template.
|
|
125
|
+
*/
|
|
126
|
+
firstpagelinkicon(): VNode[];
|
|
127
|
+
/**
|
|
128
|
+
* Custom previous page link icon template.
|
|
129
|
+
*/
|
|
130
|
+
prevpagelinkicon(): VNode[];
|
|
131
|
+
/**
|
|
132
|
+
* Custom finextrst page link icon template.
|
|
133
|
+
*/
|
|
134
|
+
nextpagelinkicon(): VNode[];
|
|
135
|
+
/**
|
|
136
|
+
* Custom last page link icon template.
|
|
137
|
+
*/
|
|
138
|
+
lastpagelinkicon(): VNode[];
|
|
123
139
|
}
|
|
124
140
|
|
|
125
141
|
/**
|
package/paginator/Paginator.vue
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
<slot name="start" :state="currentState"></slot>
|
|
6
6
|
</div>
|
|
7
7
|
<template v-for="item in value" :key="item">
|
|
8
|
-
<FirstPageLink v-if="item === 'FirstPageLink'" :aria-label="getAriaLabel('firstPageLabel')" @click="changePageToFirst($event)" :disabled="isFirstPage || empty" />
|
|
9
|
-
<PrevPageLink v-else-if="item === 'PrevPageLink'" :aria-label="getAriaLabel('prevPageLabel')" @click="changePageToPrev($event)" :disabled="isFirstPage || empty" />
|
|
10
|
-
<NextPageLink v-else-if="item === 'NextPageLink'" :aria-label="getAriaLabel('nextPageLabel')" @click="changePageToNext($event)" :disabled="isLastPage || empty" />
|
|
11
|
-
<LastPageLink v-else-if="item === 'LastPageLink'" :aria-label="getAriaLabel('lastPageLabel')" @click="changePageToLast($event)" :disabled="isLastPage || empty" />
|
|
8
|
+
<FirstPageLink v-if="item === 'FirstPageLink'" :aria-label="getAriaLabel('firstPageLabel')" :template="$slots.firstpagelinkicon" @click="changePageToFirst($event)" :disabled="isFirstPage || empty" />
|
|
9
|
+
<PrevPageLink v-else-if="item === 'PrevPageLink'" :aria-label="getAriaLabel('prevPageLabel')" :template="$slots.prevpagelinkicon" @click="changePageToPrev($event)" :disabled="isFirstPage || empty" />
|
|
10
|
+
<NextPageLink v-else-if="item === 'NextPageLink'" :aria-label="getAriaLabel('nextPageLabel')" :template="$slots.nextpagelinkicon" @click="changePageToNext($event)" :disabled="isLastPage || empty" />
|
|
11
|
+
<LastPageLink v-else-if="item === 'LastPageLink'" :aria-label="getAriaLabel('lastPageLabel')" :template="$slots.lastpagelinkicon" @click="changePageToLast($event)" :disabled="isLastPage || empty" />
|
|
12
12
|
<PageLinks v-else-if="item === 'PageLinks'" :aria-label="getAriaLabel('pageLabel')" :value="pageLinks" :page="page" @click="changePageLink($event)" />
|
|
13
13
|
<CurrentPageReport
|
|
14
14
|
v-else-if="item === 'CurrentPageReport'"
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button v-ripple :class="containerClass" type="button">
|
|
3
|
-
<
|
|
3
|
+
<component :is="template || 'AngleLeftIcon'" class="p-paginator-icon" />
|
|
4
4
|
</button>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
+
import AngleLeftIcon from 'primevue/icons/angleleft';
|
|
8
9
|
import Ripple from 'primevue/ripple';
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
name: 'PrevPageLink',
|
|
13
|
+
props: {
|
|
14
|
+
template: {
|
|
15
|
+
type: Function,
|
|
16
|
+
default: null
|
|
17
|
+
}
|
|
18
|
+
},
|
|
12
19
|
computed: {
|
|
13
20
|
containerClass() {
|
|
14
21
|
return [
|
|
@@ -19,6 +26,9 @@ export default {
|
|
|
19
26
|
];
|
|
20
27
|
}
|
|
21
28
|
},
|
|
29
|
+
components: {
|
|
30
|
+
AngleLeftIcon: AngleLeftIcon
|
|
31
|
+
},
|
|
22
32
|
directives: {
|
|
23
33
|
ripple: Ripple
|
|
24
34
|
}
|
|
@@ -2,15 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
var utils = require('primevue/utils');
|
|
4
4
|
var vue = require('vue');
|
|
5
|
+
var AngleDoubleLeftIcon = require('primevue/icons/angledoubleleft');
|
|
5
6
|
var Ripple = require('primevue/ripple');
|
|
6
7
|
var Dropdown = require('primevue/dropdown');
|
|
7
8
|
var InputNumber = require('primevue/inputnumber');
|
|
9
|
+
var AngleDoubleRightIcon = require('primevue/icons/angledoubleright');
|
|
10
|
+
var AngleRightIcon = require('primevue/icons/angleright');
|
|
11
|
+
var AngleLeftIcon = require('primevue/icons/angleleft');
|
|
8
12
|
|
|
9
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
14
|
|
|
15
|
+
var AngleDoubleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleLeftIcon);
|
|
11
16
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
12
17
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
13
18
|
var InputNumber__default = /*#__PURE__*/_interopDefaultLegacy(InputNumber);
|
|
19
|
+
var AngleDoubleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleRightIcon);
|
|
20
|
+
var AngleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleRightIcon);
|
|
21
|
+
var AngleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleLeftIcon);
|
|
14
22
|
|
|
15
23
|
var script$9 = {
|
|
16
24
|
name: 'CurrentPageReport',
|
|
@@ -59,16 +67,22 @@ var script$9 = {
|
|
|
59
67
|
}
|
|
60
68
|
};
|
|
61
69
|
|
|
62
|
-
const _hoisted_1$
|
|
70
|
+
const _hoisted_1$2 = { class: "p-paginator-current" };
|
|
63
71
|
|
|
64
72
|
function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
|
-
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
73
|
+
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$2, vue.toDisplayString($options.text), 1))
|
|
66
74
|
}
|
|
67
75
|
|
|
68
76
|
script$9.render = render$9;
|
|
69
77
|
|
|
70
78
|
var script$8 = {
|
|
71
79
|
name: 'FirstPageLink',
|
|
80
|
+
props: {
|
|
81
|
+
template: {
|
|
82
|
+
type: Function,
|
|
83
|
+
default: null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
72
86
|
computed: {
|
|
73
87
|
containerClass() {
|
|
74
88
|
return [
|
|
@@ -79,23 +93,23 @@ var script$8 = {
|
|
|
79
93
|
];
|
|
80
94
|
}
|
|
81
95
|
},
|
|
96
|
+
components: {
|
|
97
|
+
AngleDoubleLeftIcon: AngleDoubleLeftIcon__default["default"]
|
|
98
|
+
},
|
|
82
99
|
directives: {
|
|
83
100
|
ripple: Ripple__default["default"]
|
|
84
101
|
}
|
|
85
102
|
};
|
|
86
103
|
|
|
87
|
-
const _hoisted_1$5 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-paginator-icon pi pi-angle-double-left" }, null, -1);
|
|
88
|
-
const _hoisted_2$5 = [
|
|
89
|
-
_hoisted_1$5
|
|
90
|
-
];
|
|
91
|
-
|
|
92
104
|
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
93
105
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
94
106
|
|
|
95
107
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
96
108
|
class: vue.normalizeClass($options.containerClass),
|
|
97
109
|
type: "button"
|
|
98
|
-
},
|
|
110
|
+
}, [
|
|
111
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleLeftIcon'), { class: "p-paginator-icon" }))
|
|
112
|
+
], 2)), [
|
|
99
113
|
[_directive_ripple]
|
|
100
114
|
])
|
|
101
115
|
}
|
|
@@ -201,6 +215,12 @@ script$6.render = render$6;
|
|
|
201
215
|
|
|
202
216
|
var script$5 = {
|
|
203
217
|
name: 'LastPageLink',
|
|
218
|
+
props: {
|
|
219
|
+
template: {
|
|
220
|
+
type: Function,
|
|
221
|
+
default: null
|
|
222
|
+
}
|
|
223
|
+
},
|
|
204
224
|
computed: {
|
|
205
225
|
containerClass() {
|
|
206
226
|
return [
|
|
@@ -211,23 +231,23 @@ var script$5 = {
|
|
|
211
231
|
];
|
|
212
232
|
}
|
|
213
233
|
},
|
|
234
|
+
components: {
|
|
235
|
+
AngleDoubleRightIcon: AngleDoubleRightIcon__default["default"]
|
|
236
|
+
},
|
|
214
237
|
directives: {
|
|
215
238
|
ripple: Ripple__default["default"]
|
|
216
239
|
}
|
|
217
240
|
};
|
|
218
241
|
|
|
219
|
-
const _hoisted_1$4 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-paginator-icon pi pi-angle-double-right" }, null, -1);
|
|
220
|
-
const _hoisted_2$4 = [
|
|
221
|
-
_hoisted_1$4
|
|
222
|
-
];
|
|
223
|
-
|
|
224
242
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
225
243
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
226
244
|
|
|
227
245
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
228
246
|
class: vue.normalizeClass($options.containerClass),
|
|
229
247
|
type: "button"
|
|
230
|
-
},
|
|
248
|
+
}, [
|
|
249
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleRightIcon'), { class: "p-paginator-icon" }))
|
|
250
|
+
], 2)), [
|
|
231
251
|
[_directive_ripple]
|
|
232
252
|
])
|
|
233
253
|
}
|
|
@@ -236,6 +256,12 @@ script$5.render = render$5;
|
|
|
236
256
|
|
|
237
257
|
var script$4 = {
|
|
238
258
|
name: 'NextPageLink',
|
|
259
|
+
props: {
|
|
260
|
+
template: {
|
|
261
|
+
type: Function,
|
|
262
|
+
default: null
|
|
263
|
+
}
|
|
264
|
+
},
|
|
239
265
|
computed: {
|
|
240
266
|
containerClass() {
|
|
241
267
|
return [
|
|
@@ -246,23 +272,23 @@ var script$4 = {
|
|
|
246
272
|
];
|
|
247
273
|
}
|
|
248
274
|
},
|
|
275
|
+
components: {
|
|
276
|
+
AngleRightIcon: AngleRightIcon__default["default"]
|
|
277
|
+
},
|
|
249
278
|
directives: {
|
|
250
279
|
ripple: Ripple__default["default"]
|
|
251
280
|
}
|
|
252
281
|
};
|
|
253
282
|
|
|
254
|
-
const _hoisted_1$3 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-paginator-icon pi pi-angle-right" }, null, -1);
|
|
255
|
-
const _hoisted_2$3 = [
|
|
256
|
-
_hoisted_1$3
|
|
257
|
-
];
|
|
258
|
-
|
|
259
283
|
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
260
284
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
261
285
|
|
|
262
286
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
263
287
|
class: vue.normalizeClass($options.containerClass),
|
|
264
288
|
type: "button"
|
|
265
|
-
},
|
|
289
|
+
}, [
|
|
290
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleRightIcon'), { class: "p-paginator-icon" }))
|
|
291
|
+
], 2)), [
|
|
266
292
|
[_directive_ripple]
|
|
267
293
|
])
|
|
268
294
|
}
|
|
@@ -294,13 +320,13 @@ var script$3 = {
|
|
|
294
320
|
}
|
|
295
321
|
};
|
|
296
322
|
|
|
297
|
-
const _hoisted_1$
|
|
298
|
-
const _hoisted_2$
|
|
323
|
+
const _hoisted_1$1 = { class: "p-paginator-pages" };
|
|
324
|
+
const _hoisted_2$1 = ["aria-label", "aria-current", "onClick"];
|
|
299
325
|
|
|
300
326
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
301
327
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
302
328
|
|
|
303
|
-
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
329
|
+
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1, [
|
|
304
330
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, (pageLink) => {
|
|
305
331
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
306
332
|
key: pageLink,
|
|
@@ -311,7 +337,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
311
337
|
onClick: $event => ($options.onPageLinkClick($event, pageLink))
|
|
312
338
|
}, [
|
|
313
339
|
vue.createTextVNode(vue.toDisplayString(pageLink), 1)
|
|
314
|
-
], 10, _hoisted_2$
|
|
340
|
+
], 10, _hoisted_2$1)), [
|
|
315
341
|
[_directive_ripple]
|
|
316
342
|
])
|
|
317
343
|
}), 128))
|
|
@@ -322,6 +348,12 @@ script$3.render = render$3;
|
|
|
322
348
|
|
|
323
349
|
var script$2 = {
|
|
324
350
|
name: 'PrevPageLink',
|
|
351
|
+
props: {
|
|
352
|
+
template: {
|
|
353
|
+
type: Function,
|
|
354
|
+
default: null
|
|
355
|
+
}
|
|
356
|
+
},
|
|
325
357
|
computed: {
|
|
326
358
|
containerClass() {
|
|
327
359
|
return [
|
|
@@ -332,23 +364,23 @@ var script$2 = {
|
|
|
332
364
|
];
|
|
333
365
|
}
|
|
334
366
|
},
|
|
367
|
+
components: {
|
|
368
|
+
AngleLeftIcon: AngleLeftIcon__default["default"]
|
|
369
|
+
},
|
|
335
370
|
directives: {
|
|
336
371
|
ripple: Ripple__default["default"]
|
|
337
372
|
}
|
|
338
373
|
};
|
|
339
374
|
|
|
340
|
-
const _hoisted_1$1 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-paginator-icon pi pi-angle-left" }, null, -1);
|
|
341
|
-
const _hoisted_2$1 = [
|
|
342
|
-
_hoisted_1$1
|
|
343
|
-
];
|
|
344
|
-
|
|
345
375
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
346
376
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
347
377
|
|
|
348
378
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
349
379
|
class: vue.normalizeClass($options.containerClass),
|
|
350
380
|
type: "button"
|
|
351
|
-
},
|
|
381
|
+
}, [
|
|
382
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleLeftIcon'), { class: "p-paginator-icon" }))
|
|
383
|
+
], 2)), [
|
|
352
384
|
[_directive_ripple]
|
|
353
385
|
])
|
|
354
386
|
}
|
|
@@ -717,30 +749,34 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
717
749
|
? (vue.openBlock(), vue.createBlock(_component_FirstPageLink, {
|
|
718
750
|
key: 0,
|
|
719
751
|
"aria-label": $options.getAriaLabel('firstPageLabel'),
|
|
752
|
+
template: _ctx.$slots.firstpagelinkicon,
|
|
720
753
|
onClick: _cache[0] || (_cache[0] = $event => ($options.changePageToFirst($event))),
|
|
721
754
|
disabled: $options.isFirstPage || $options.empty
|
|
722
|
-
}, null, 8, ["aria-label", "disabled"]))
|
|
755
|
+
}, null, 8, ["aria-label", "template", "disabled"]))
|
|
723
756
|
: (item === 'PrevPageLink')
|
|
724
757
|
? (vue.openBlock(), vue.createBlock(_component_PrevPageLink, {
|
|
725
758
|
key: 1,
|
|
726
759
|
"aria-label": $options.getAriaLabel('prevPageLabel'),
|
|
760
|
+
template: _ctx.$slots.prevpagelinkicon,
|
|
727
761
|
onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToPrev($event))),
|
|
728
762
|
disabled: $options.isFirstPage || $options.empty
|
|
729
|
-
}, null, 8, ["aria-label", "disabled"]))
|
|
763
|
+
}, null, 8, ["aria-label", "template", "disabled"]))
|
|
730
764
|
: (item === 'NextPageLink')
|
|
731
765
|
? (vue.openBlock(), vue.createBlock(_component_NextPageLink, {
|
|
732
766
|
key: 2,
|
|
733
767
|
"aria-label": $options.getAriaLabel('nextPageLabel'),
|
|
768
|
+
template: _ctx.$slots.nextpagelinkicon,
|
|
734
769
|
onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToNext($event))),
|
|
735
770
|
disabled: $options.isLastPage || $options.empty
|
|
736
|
-
}, null, 8, ["aria-label", "disabled"]))
|
|
771
|
+
}, null, 8, ["aria-label", "template", "disabled"]))
|
|
737
772
|
: (item === 'LastPageLink')
|
|
738
773
|
? (vue.openBlock(), vue.createBlock(_component_LastPageLink, {
|
|
739
774
|
key: 3,
|
|
740
775
|
"aria-label": $options.getAriaLabel('lastPageLabel'),
|
|
776
|
+
template: _ctx.$slots.lastpagelinkicon,
|
|
741
777
|
onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToLast($event))),
|
|
742
778
|
disabled: $options.isLastPage || $options.empty
|
|
743
|
-
}, null, 8, ["aria-label", "disabled"]))
|
|
779
|
+
}, null, 8, ["aria-label", "template", "disabled"]))
|
|
744
780
|
: (item === 'PageLinks')
|
|
745
781
|
? (vue.openBlock(), vue.createBlock(_component_PageLinks, {
|
|
746
782
|
key: 4,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/utils"),t=require("vue"),a=require("primevue/ripple"),n=require("primevue/dropdown"),r=require("primevue/inputnumber");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(a),s=o(n),l=o(r),p={name:"CurrentPageReport",props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text(){return this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords)}}};const g={class:"p-paginator-current"};p.render=function(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("span",g,t.toDisplayString(i.text),1)};var c={name:"FirstPageLink",computed:{containerClass(){return["p-paginator-first p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},directives:{ripple:i.default}};const u=[t.createElementVNode("span",{class:"p-paginator-icon pi pi-angle-double-left"},null,-1)];c.render=function(e,a,n,r,o,i){const s=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},u,2)),[[s]])};var d={name:"JumpToPageDropdown",emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},methods:{onChange(e){this.$emit("page-change",e)}},computed:{pageOptions(){let e=[];for(let t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:s.default}};d.render=function(e,a,n,r,o,i){const s=t.resolveComponent("JTPDropdown");return t.openBlock(),t.createBlock(s,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":a[0]||(a[0]=e=>i.onChange(e)),class:"p-paginator-page-options",disabled:n.disabled},null,8,["modelValue","options","disabled"])};var m={name:"JumpToPageInput",inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data(){return{d_page:this.page}},watch:{page(e){this.d_page=e}},methods:{onChange(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:l.default}};m.render=function(e,a,n,r,o,i){const s=t.resolveComponent("JTPInput");return t.openBlock(),t.createBlock(s,{ref:"jtpInput",modelValue:o.d_page,class:"p-paginator-page-input","aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange},null,8,["modelValue","aria-label","disabled","onUpdate:modelValue"])};var h={name:"LastPageLink",computed:{containerClass(){return["p-paginator-last p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},directives:{ripple:i.default}};const P=[t.createElementVNode("span",{class:"p-paginator-icon pi pi-angle-double-right"},null,-1)];h.render=function(e,a,n,r,o,i){const s=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},P,2)),[[s]])};var k={name:"NextPageLink",computed:{containerClass(){return["p-paginator-next p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},directives:{ripple:i.default}};const f=[t.createElementVNode("span",{class:"p-paginator-icon pi pi-angle-right"},null,-1)];k.render=function(e,a,n,r,o,i){const s=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},f,2)),[[s]])};var b={name:"PageLinks",inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{onPageLinkClick(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{},directives:{ripple:i.default}};const v={class:"p-paginator-pages"},C=["aria-label","aria-current","onClick"];b.render=function(e,a,n,r,o,i){const s=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("span",v,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(e=>t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:e,class:t.normalizeClass(["p-paginator-page p-paginator-element p-link",{"p-highlight":e-1===n.page}]),type:"button","aria-label":i.ariaPageLabel(e),"aria-current":e-1===n.page?"page":void 0,onClick:t=>i.onPageLinkClick(t,e)},[t.createTextVNode(t.toDisplayString(e),1)],10,C)),[[s]]))),128))])};var L={name:"PrevPageLink",computed:{containerClass(){return["p-paginator-prev p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},directives:{ripple:i.default}};const w=[t.createElementVNode("span",{class:"p-paginator-icon pi pi-angle-left"},null,-1)];L.render=function(e,a,n,r,o,i){const s=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},w,2)),[[s]])};var y={name:"RowsPerPageDropdown",emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean},methods:{onChange(e){this.$emit("rows-change",e)}},computed:{rowsOptions(){let e=[];if(this.options)for(let t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:s.default}};y.render=function(e,a,n,r,o,i){const s=t.resolveComponent("RPPDropdown");return t.openBlock(),t.createBlock(s,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":a[0]||(a[0]=e=>i.onChange(e)),class:"p-paginator-rpp-options",disabled:n.disabled},null,8,["modelValue","options","disabled"])};var B={name:"Paginator",emits:["update:first","update:rows","page"],props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},data(){return{d_first:this.first,d_rows:this.rows}},watch:{first(e){this.d_first=e},rows(e){this.d_rows=e},totalRecords(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage(e){const t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;const a={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",a)}},changePageToFirst(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev(e){this.changePage(this.page-1),e.preventDefault()},changePageLink(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange(e){this.d_rows=e,this.changePage(this.page)},createStyle(){if(this.hasBreakpoints()){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";const t=Object.keys(this.template),a={};t.sort(((e,t)=>parseInt(e)-parseInt(t))).forEach((e=>{a[e]=this.template[e]}));for(const[t,[n]]of Object.entries(Object.entries(a))){const r=Object.entries(a)[t-1]?`and (min-width:${Object.keys(a)[t-1]})`:"";e+="default"===n?`\n @media screen ${r} {\n .paginator[${this.attributeSelector}],\n .p-paginator-default{\n display: flex !important;\n }\n }\n `:`\n .paginator[${this.attributeSelector}], .p-paginator-${n} {\n display: none !important;\n }\n @media screen ${r} and (max-width: ${n}) {\n .paginator[${this.attributeSelector}], .p-paginator-${n} {\n display: flex !important;\n }\n .paginator[${this.attributeSelector}],\n .p-paginator-default{\n display: none !important;\n }\n }\n `}this.styleElement.innerHTML=e}},hasBreakpoints(){return"object"==typeof this.template},getPaginatorClasses(e){return[{"p-paginator-default":!this.hasBreakpoints(),[`p-paginator-${e}`]:this.hasBreakpoints()}]},setPaginatorAttribute(){this.$refs.paginator&&this.$refs.paginator.length>=0&&[...this.$refs.paginator].forEach((e=>{e.setAttribute(this.attributeSelector,"")}))},getAriaLabel(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems(){let e={};if(this.hasBreakpoints()){e=this.template,e.default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown");for(const t in e)e[t]=this.template[t].split(" ").map((e=>e.trim()));return e}return e.default=this.template.split(" ").map((e=>e.trim())),e},page(){return Math.floor(this.d_first/this.d_rows)},pageCount(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage(){return 0===this.page},isLastPage(){return this.page===this.pageCount-1},calculatePageLinkBoundaries(){const e=this.pageCount,t=Math.min(this.pageLinkSize,e);let a=Math.max(0,Math.ceil(this.page-t/2)),n=Math.min(e-1,a+t-1);const r=this.pageLinkSize-(n-a+1);return a=Math.max(0,a-r),[a,n]},pageLinks(){let e=[],t=this.calculatePageLinkBoundaries,a=t[0],n=t[1];for(var r=a;r<=n;r++)e.push(r+1);return e},currentState(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty(){return 0===this.pageCount},currentPage(){return this.pageCount>0?this.page+1:0},attributeSelector:()=>e.UniqueComponentId()},components:{CurrentPageReport:p,FirstPageLink:c,LastPageLink:h,NextPageLink:k,PageLinks:b,PrevPageLink:L,RowsPerPageDropdown:y,JumpToPageDropdown:d,JumpToPageInput:m}};const N={key:0},$={key:0,class:"p-paginator-left-content"},D={key:1,class:"p-paginator-right-content"};!function(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===a&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}("\n.p-paginator-default {\n display: flex;\n}\n.p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n}\n.p-paginator-left-content {\n margin-right: auto;\n}\n.p-paginator-right-content {\n margin-left: auto;\n}\n.p-paginator-page,\n.p-paginator-next,\n.p-paginator-last,\n.p-paginator-first,\n.p-paginator-prev,\n.p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n}\n.p-paginator-element:focus {\n z-index: 1;\n position: relative;\n}\n"),B.render=function(e,a,n,r,o,i){const s=t.resolveComponent("FirstPageLink"),l=t.resolveComponent("PrevPageLink"),p=t.resolveComponent("NextPageLink"),g=t.resolveComponent("LastPageLink"),c=t.resolveComponent("PageLinks"),u=t.resolveComponent("CurrentPageReport"),d=t.resolveComponent("RowsPerPageDropdown"),m=t.resolveComponent("JumpToPageDropdown"),h=t.resolveComponent("JumpToPageInput");return n.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(t.openBlock(),t.createElementBlock("nav",N,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.templateItems,((r,P)=>(t.openBlock(),t.createElementBlock("div",{key:P,ref_for:!0,ref:"paginator",class:t.normalizeClass(["p-paginator p-component",i.getPaginatorClasses(P)])},[e.$slots.start?(t.openBlock(),t.createElementBlock("div",$,[t.renderSlot(e.$slots,"start",{state:i.currentState})])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r,(e=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e},["FirstPageLink"===e?(t.openBlock(),t.createBlock(s,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),onClick:a[0]||(a[0]=e=>i.changePageToFirst(e)),disabled:i.isFirstPage||i.empty},null,8,["aria-label","disabled"])):"PrevPageLink"===e?(t.openBlock(),t.createBlock(l,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),onClick:a[1]||(a[1]=e=>i.changePageToPrev(e)),disabled:i.isFirstPage||i.empty},null,8,["aria-label","disabled"])):"NextPageLink"===e?(t.openBlock(),t.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),onClick:a[2]||(a[2]=e=>i.changePageToNext(e)),disabled:i.isLastPage||i.empty},null,8,["aria-label","disabled"])):"LastPageLink"===e?(t.openBlock(),t.createBlock(g,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),onClick:a[3]||(a[3]=e=>i.changePageToLast(e)),disabled:i.isLastPage||i.empty},null,8,["aria-label","disabled"])):"PageLinks"===e?(t.openBlock(),t.createBlock(c,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:a[4]||(a[4]=e=>i.changePageLink(e))},null,8,["aria-label","value","page"])):"CurrentPageReport"===e?(t.openBlock(),t.createBlock(u,{key:5,"aria-live":"polite",template:n.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:o.d_first,rows:o.d_rows,totalRecords:n.totalRecords},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords"])):"RowsPerPageDropdown"===e&&n.rowsPerPageOptions?(t.openBlock(),t.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:o.d_rows,options:n.rowsPerPageOptions,onRowsChange:a[5]||(a[5]=e=>i.onRowChange(e)),disabled:i.empty},null,8,["aria-label","rows","options","disabled"])):"JumpToPageDropdown"===e?(t.openBlock(),t.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:a[6]||(a[6]=e=>i.changePage(e)),disabled:i.empty},null,8,["aria-label","page","pageCount","disabled"])):"JumpToPageInput"===e?(t.openBlock(),t.createBlock(h,{key:8,page:i.currentPage,onPageChange:a[7]||(a[7]=e=>i.changePage(e)),disabled:i.empty},null,8,["page","disabled"])):t.createCommentVNode("",!0)],64)))),128)),e.$slots.end?(t.openBlock(),t.createElementBlock("div",D,[t.renderSlot(e.$slots,"end",{state:i.currentState})])):t.createCommentVNode("",!0)],2)))),128))])):t.createCommentVNode("",!0)},module.exports=B;
|
|
1
|
+
"use strict";var e=require("primevue/utils"),t=require("vue"),a=require("primevue/icons/angledoubleleft"),n=require("primevue/ripple"),o=require("primevue/dropdown"),r=require("primevue/inputnumber"),i=require("primevue/icons/angledoubleright"),l=require("primevue/icons/angleright"),s=require("primevue/icons/angleleft");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=p(a),g=p(n),u=p(o),d=p(r),m=p(i),h=p(l),k=p(s),P={name:"CurrentPageReport",props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text(){return this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords)}}};const f={class:"p-paginator-current"};P.render=function(e,a,n,o,r,i){return t.openBlock(),t.createElementBlock("span",f,t.toDisplayString(i.text),1)};var b={name:"FirstPageLink",props:{template:{type:Function,default:null}},computed:{containerClass(){return["p-paginator-first p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},components:{AngleDoubleLeftIcon:c.default},directives:{ripple:g.default}};b.render=function(e,a,n,o,r,i){const l=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.template||"AngleDoubleLeftIcon"),{class:"p-paginator-icon"}))],2)),[[l]])};var v={name:"JumpToPageDropdown",emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},methods:{onChange(e){this.$emit("page-change",e)}},computed:{pageOptions(){let e=[];for(let t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:u.default}};v.render=function(e,a,n,o,r,i){const l=t.resolveComponent("JTPDropdown");return t.openBlock(),t.createBlock(l,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":a[0]||(a[0]=e=>i.onChange(e)),class:"p-paginator-page-options",disabled:n.disabled},null,8,["modelValue","options","disabled"])};var C={name:"JumpToPageInput",inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data(){return{d_page:this.page}},watch:{page(e){this.d_page=e}},methods:{onChange(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:d.default}};C.render=function(e,a,n,o,r,i){const l=t.resolveComponent("JTPInput");return t.openBlock(),t.createBlock(l,{ref:"jtpInput",modelValue:r.d_page,class:"p-paginator-page-input","aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange},null,8,["modelValue","aria-label","disabled","onUpdate:modelValue"])};var y={name:"LastPageLink",props:{template:{type:Function,default:null}},computed:{containerClass(){return["p-paginator-last p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},components:{AngleDoubleRightIcon:m.default},directives:{ripple:g.default}};y.render=function(e,a,n,o,r,i){const l=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.template||"AngleDoubleRightIcon"),{class:"p-paginator-icon"}))],2)),[[l]])};var L={name:"NextPageLink",props:{template:{type:Function,default:null}},computed:{containerClass(){return["p-paginator-next p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},components:{AngleRightIcon:h.default},directives:{ripple:g.default}};L.render=function(e,a,n,o,r,i){const l=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.template||"AngleRightIcon"),{class:"p-paginator-icon"}))],2)),[[l]])};var w={name:"PageLinks",inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{onPageLinkClick(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{},directives:{ripple:g.default}};const B={class:"p-paginator-pages"},D=["aria-label","aria-current","onClick"];w.render=function(e,a,n,o,r,i){const l=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("span",B,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(e=>t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:e,class:t.normalizeClass(["p-paginator-page p-paginator-element p-link",{"p-highlight":e-1===n.page}]),type:"button","aria-label":i.ariaPageLabel(e),"aria-current":e-1===n.page?"page":void 0,onClick:t=>i.onPageLinkClick(t,e)},[t.createTextVNode(t.toDisplayString(e),1)],10,D)),[[l]]))),128))])};var $={name:"PrevPageLink",props:{template:{type:Function,default:null}},computed:{containerClass(){return["p-paginator-prev p-paginator-element p-link",{"p-disabled":this.$attrs.disabled}]}},components:{AngleLeftIcon:k.default},directives:{ripple:g.default}};$.render=function(e,a,n,o,r,i){const l=t.resolveDirective("ripple");return t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(i.containerClass),type:"button"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.template||"AngleLeftIcon"),{class:"p-paginator-icon"}))],2)),[[l]])};var N={name:"RowsPerPageDropdown",emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean},methods:{onChange(e){this.$emit("rows-change",e)}},computed:{rowsOptions(){let e=[];if(this.options)for(let t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:u.default}};N.render=function(e,a,n,o,r,i){const l=t.resolveComponent("RPPDropdown");return t.openBlock(),t.createBlock(l,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":a[0]||(a[0]=e=>i.onChange(e)),class:"p-paginator-rpp-options",disabled:n.disabled},null,8,["modelValue","options","disabled"])};var R={name:"Paginator",emits:["update:first","update:rows","page"],props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},data(){return{d_first:this.first,d_rows:this.rows}},watch:{first(e){this.d_first=e},rows(e){this.d_rows=e},totalRecords(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage(e){const t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;const a={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",a)}},changePageToFirst(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev(e){this.changePage(this.page-1),e.preventDefault()},changePageLink(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange(e){this.d_rows=e,this.changePage(this.page)},createStyle(){if(this.hasBreakpoints()){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";const t=Object.keys(this.template),a={};t.sort(((e,t)=>parseInt(e)-parseInt(t))).forEach((e=>{a[e]=this.template[e]}));for(const[t,[n]]of Object.entries(Object.entries(a))){const o=Object.entries(a)[t-1]?`and (min-width:${Object.keys(a)[t-1]})`:"";e+="default"===n?`\n @media screen ${o} {\n .paginator[${this.attributeSelector}],\n .p-paginator-default{\n display: flex !important;\n }\n }\n `:`\n .paginator[${this.attributeSelector}], .p-paginator-${n} {\n display: none !important;\n }\n @media screen ${o} and (max-width: ${n}) {\n .paginator[${this.attributeSelector}], .p-paginator-${n} {\n display: flex !important;\n }\n .paginator[${this.attributeSelector}],\n .p-paginator-default{\n display: none !important;\n }\n }\n `}this.styleElement.innerHTML=e}},hasBreakpoints(){return"object"==typeof this.template},getPaginatorClasses(e){return[{"p-paginator-default":!this.hasBreakpoints(),[`p-paginator-${e}`]:this.hasBreakpoints()}]},setPaginatorAttribute(){this.$refs.paginator&&this.$refs.paginator.length>=0&&[...this.$refs.paginator].forEach((e=>{e.setAttribute(this.attributeSelector,"")}))},getAriaLabel(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems(){let e={};if(this.hasBreakpoints()){e=this.template,e.default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown");for(const t in e)e[t]=this.template[t].split(" ").map((e=>e.trim()));return e}return e.default=this.template.split(" ").map((e=>e.trim())),e},page(){return Math.floor(this.d_first/this.d_rows)},pageCount(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage(){return 0===this.page},isLastPage(){return this.page===this.pageCount-1},calculatePageLinkBoundaries(){const e=this.pageCount,t=Math.min(this.pageLinkSize,e);let a=Math.max(0,Math.ceil(this.page-t/2)),n=Math.min(e-1,a+t-1);const o=this.pageLinkSize-(n-a+1);return a=Math.max(0,a-o),[a,n]},pageLinks(){let e=[],t=this.calculatePageLinkBoundaries,a=t[0],n=t[1];for(var o=a;o<=n;o++)e.push(o+1);return e},currentState(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty(){return 0===this.pageCount},currentPage(){return this.pageCount>0?this.page+1:0},attributeSelector:()=>e.UniqueComponentId()},components:{CurrentPageReport:P,FirstPageLink:b,LastPageLink:y,NextPageLink:L,PageLinks:w,PrevPageLink:$,RowsPerPageDropdown:N,JumpToPageDropdown:v,JumpToPageInput:C}};const x={key:0},T={key:0,class:"p-paginator-left-content"},A={key:1,class:"p-paginator-right-content"};!function(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===a&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-paginator-default {\n display: flex;\n}\n.p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n}\n.p-paginator-left-content {\n margin-right: auto;\n}\n.p-paginator-right-content {\n margin-left: auto;\n}\n.p-paginator-page,\n.p-paginator-next,\n.p-paginator-last,\n.p-paginator-first,\n.p-paginator-prev,\n.p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n}\n.p-paginator-element:focus {\n z-index: 1;\n position: relative;\n}\n"),R.render=function(e,a,n,o,r,i){const l=t.resolveComponent("FirstPageLink"),s=t.resolveComponent("PrevPageLink"),p=t.resolveComponent("NextPageLink"),c=t.resolveComponent("LastPageLink"),g=t.resolveComponent("PageLinks"),u=t.resolveComponent("CurrentPageReport"),d=t.resolveComponent("RowsPerPageDropdown"),m=t.resolveComponent("JumpToPageDropdown"),h=t.resolveComponent("JumpToPageInput");return n.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(t.openBlock(),t.createElementBlock("nav",x,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.templateItems,((o,k)=>(t.openBlock(),t.createElementBlock("div",{key:k,ref_for:!0,ref:"paginator",class:t.normalizeClass(["p-paginator p-component",i.getPaginatorClasses(k)])},[e.$slots.start?(t.openBlock(),t.createElementBlock("div",T,[t.renderSlot(e.$slots,"start",{state:i.currentState})])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o,(o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o},["FirstPageLink"===o?(t.openBlock(),t.createBlock(l,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:a[0]||(a[0]=e=>i.changePageToFirst(e)),disabled:i.isFirstPage||i.empty},null,8,["aria-label","template","disabled"])):"PrevPageLink"===o?(t.openBlock(),t.createBlock(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:a[1]||(a[1]=e=>i.changePageToPrev(e)),disabled:i.isFirstPage||i.empty},null,8,["aria-label","template","disabled"])):"NextPageLink"===o?(t.openBlock(),t.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:a[2]||(a[2]=e=>i.changePageToNext(e)),disabled:i.isLastPage||i.empty},null,8,["aria-label","template","disabled"])):"LastPageLink"===o?(t.openBlock(),t.createBlock(c,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:a[3]||(a[3]=e=>i.changePageToLast(e)),disabled:i.isLastPage||i.empty},null,8,["aria-label","template","disabled"])):"PageLinks"===o?(t.openBlock(),t.createBlock(g,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:a[4]||(a[4]=e=>i.changePageLink(e))},null,8,["aria-label","value","page"])):"CurrentPageReport"===o?(t.openBlock(),t.createBlock(u,{key:5,"aria-live":"polite",template:n.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:r.d_first,rows:r.d_rows,totalRecords:n.totalRecords},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords"])):"RowsPerPageDropdown"===o&&n.rowsPerPageOptions?(t.openBlock(),t.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:r.d_rows,options:n.rowsPerPageOptions,onRowsChange:a[5]||(a[5]=e=>i.onRowChange(e)),disabled:i.empty},null,8,["aria-label","rows","options","disabled"])):"JumpToPageDropdown"===o?(t.openBlock(),t.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:a[6]||(a[6]=e=>i.changePage(e)),disabled:i.empty},null,8,["aria-label","page","pageCount","disabled"])):"JumpToPageInput"===o?(t.openBlock(),t.createBlock(h,{key:8,page:i.currentPage,onPageChange:a[7]||(a[7]=e=>i.changePage(e)),disabled:i.empty},null,8,["page","disabled"])):t.createCommentVNode("",!0)],64)))),128)),e.$slots.end?(t.openBlock(),t.createElementBlock("div",A,[t.renderSlot(e.$slots,"end",{state:i.currentState})])):t.createCommentVNode("",!0)],2)))),128))])):t.createCommentVNode("",!0)},module.exports=R;
|