primevue 3.26.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -8
- package/accordion/Accordion.d.ts +46 -2
- package/accordion/Accordion.vue +29 -13
- package/accordion/accordion.cjs.js +60 -33
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +58 -34
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +59 -35
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +76 -1
- package/accordiontab/AccordionTab.vue +3 -0
- package/accordiontab/accordiontab.cjs.js +6 -0
- package/accordiontab/accordiontab.cjs.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +2 -0
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +7 -2
- package/accordiontab/accordiontab.min.js +1 -1
- package/api/Api.d.ts +292 -284
- package/autocomplete/AutoComplete.d.ts +15 -3
- package/autocomplete/AutoComplete.vue +25 -10
- package/autocomplete/autocomplete.cjs.js +62 -36
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +60 -37
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +61 -38
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +5 -0
- package/avatar/Avatar.vue +5 -6
- package/avatar/avatar.cjs.js +25 -20
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +26 -21
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +25 -20
- package/avatar/avatar.min.js +1 -1
- package/badge/Badge.d.ts +1 -1
- package/basecomponent/BaseComponent.vue +26 -0
- package/basecomponent/basecomponent.cjs.js +28 -0
- package/basecomponent/basecomponent.cjs.min.js +1 -0
- package/basecomponent/basecomponent.esm.js +26 -0
- package/basecomponent/basecomponent.esm.min.js +1 -0
- package/basecomponent/basecomponent.js +30 -0
- package/basecomponent/basecomponent.min.js +1 -0
- package/basecomponent/package.json +8 -0
- package/baseicon/BaseIcon.vue +66 -0
- package/baseicon/baseicon.cjs.js +66 -0
- package/baseicon/baseicon.cjs.min.js +1 -0
- package/baseicon/baseicon.esm.js +64 -0
- package/baseicon/baseicon.esm.min.js +1 -0
- package/baseicon/baseicon.js +68 -0
- package/baseicon/baseicon.min.js +1 -0
- package/baseicon/package.json +8 -0
- package/breadcrumb/Breadcrumb.d.ts +18 -0
- package/breadcrumb/Breadcrumb.vue +8 -4
- package/breadcrumb/BreadcrumbItem.vue +7 -10
- package/breadcrumb/breadcrumb.cjs.js +46 -35
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +43 -36
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +47 -37
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +21 -2
- package/button/Button.vue +23 -8
- package/button/button.cjs.js +54 -25
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +54 -26
- package/button/button.esm.min.js +1 -1
- package/button/button.js +55 -27
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +25 -5
- package/calendar/Calendar.vue +57 -24
- package/calendar/calendar.cjs.js +85 -44
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +81 -45
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +82 -46
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +51 -1
- package/card/Card.vue +15 -14
- package/card/card.cjs.js +33 -65
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +30 -66
- package/card/card.esm.min.js +1 -1
- package/card/card.js +34 -67
- package/card/card.min.js +1 -1
- package/carousel/Carousel.d.ts +8 -0
- package/carousel/Carousel.vue +16 -2
- package/carousel/carousel.cjs.js +20 -6
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +17 -7
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +18 -8
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +16 -3
- package/cascadeselect/CascadeSelect.vue +16 -9
- package/cascadeselect/CascadeSelectSub.vue +10 -1
- package/cascadeselect/cascadeselect.cjs.js +46 -14
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +43 -14
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +45 -16
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/Checkbox.d.ts +13 -2
- package/checkbox/Checkbox.vue +7 -1
- package/checkbox/checkbox.cjs.js +11 -3
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +8 -4
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +12 -5
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +20 -1
- package/chip/Chip.vue +13 -10
- package/chip/chip.cjs.js +46 -31
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +43 -32
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +47 -33
- package/chip/chip.min.js +1 -1
- package/chips/Chips.d.ts +12 -1
- package/chips/Chips.vue +8 -2
- package/chips/chips.cjs.js +22 -11
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +19 -12
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +23 -13
- package/chips/chips.min.js +1 -1
- package/column/Column.d.ts +77 -1
- package/column/Column.vue +1 -1
- package/column/column.cjs.js +1 -1
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- package/column/column.min.js +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +1 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +1 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +23 -1
- package/confirmdialog/ConfirmDialog.vue +18 -3
- package/confirmdialog/confirmdialog.cjs.js +36 -11
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +37 -12
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +36 -11
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +23 -1
- package/confirmpopup/ConfirmPopup.vue +18 -3
- package/confirmpopup/confirmpopup.cjs.js +35 -9
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +36 -10
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +35 -9
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +23 -0
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/ContextMenuSub.vue +17 -8
- package/contextmenu/contextmenu.cjs.js +48 -23
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +48 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +49 -25
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +2685 -315
- package/core/core.min.js +106 -12
- package/datatable/BodyCell.vue +44 -13
- package/datatable/ColumnFilter.vue +59 -17
- package/datatable/DataTable.d.ts +43 -5
- package/datatable/DataTable.vue +49 -11
- package/datatable/FooterCell.vue +1 -1
- package/datatable/HeaderCell.vue +36 -15
- package/datatable/HeaderCheckbox.vue +11 -2
- package/datatable/RowCheckbox.vue +11 -2
- package/datatable/TableBody.vue +32 -18
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +10 -0
- package/datatable/datatable.cjs.js +442 -154
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +427 -155
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +428 -156
- package/datatable/datatable.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +12 -2
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +13 -2
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +25 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +21 -12
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +25 -13
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/deferredcontent/DeferredContent.d.ts +49 -1
- package/deferredcontent/DeferredContent.vue +4 -1
- package/deferredcontent/deferredcontent.cjs.js +8 -4
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +5 -5
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +9 -6
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.d.ts +18 -4
- package/dialog/Dialog.vue +22 -13
- package/dialog/dialog.cjs.js +29 -17
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +27 -18
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +28 -19
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +36 -0
- package/divider/Divider.vue +5 -2
- package/divider/divider.cjs.js +15 -10
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +12 -11
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +16 -12
- package/divider/divider.min.js +1 -1
- package/dropdown/Dropdown.d.ts +41 -5
- package/dropdown/Dropdown.vue +28 -14
- package/dropdown/dropdown.cjs.js +70 -32
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +67 -33
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +68 -34
- package/dropdown/dropdown.min.js +1 -1
- package/fieldset/Fieldset.d.ts +73 -0
- package/fieldset/Fieldset.vue +18 -17
- package/fieldset/fieldset.cjs.js +33 -34
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +31 -35
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +32 -36
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileContent.vue +13 -2
- package/fileupload/FileUpload.d.ts +28 -3
- package/fileupload/FileUpload.vue +35 -16
- package/fileupload/fileupload.cjs.js +89 -29
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +87 -30
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +88 -31
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/Galleria.d.ts +20 -0
- package/galleria/Galleria.vue +2 -2
- package/galleria/GalleriaContent.vue +7 -2
- package/galleria/GalleriaItem.vue +8 -2
- package/galleria/GalleriaThumbnails.vue +12 -20
- package/galleria/galleria.cjs.js +60 -64
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +56 -65
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +57 -66
- package/galleria/galleria.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +37 -0
- package/icons/angledoubledown/index.cjs.min.js +1 -0
- package/icons/angledoubledown/index.d.ts +12 -0
- package/icons/angledoubledown/index.esm.js +31 -0
- package/icons/angledoubledown/index.esm.min.js +1 -0
- package/icons/angledoubledown/index.js +39 -0
- package/icons/angledoubledown/index.min.js +1 -0
- package/icons/angledoubledown/index.vue +18 -0
- package/icons/angledoubledown/package.json +9 -0
- package/icons/angledoubleleft/index.cjs.js +37 -0
- package/icons/angledoubleleft/index.cjs.min.js +1 -0
- package/icons/angledoubleleft/index.d.ts +12 -0
- package/icons/angledoubleleft/index.esm.js +31 -0
- package/icons/angledoubleleft/index.esm.min.js +1 -0
- package/icons/angledoubleleft/index.js +39 -0
- package/icons/angledoubleleft/index.min.js +1 -0
- package/icons/angledoubleleft/index.vue +18 -0
- package/icons/angledoubleleft/package.json +9 -0
- package/icons/angledoubleright/index.cjs.js +37 -0
- package/icons/angledoubleright/index.cjs.min.js +1 -0
- package/icons/angledoubleright/index.d.ts +12 -0
- package/icons/angledoubleright/index.esm.js +31 -0
- package/icons/angledoubleright/index.esm.min.js +1 -0
- package/icons/angledoubleright/index.js +39 -0
- package/icons/angledoubleright/index.min.js +1 -0
- package/icons/angledoubleright/index.vue +18 -0
- package/icons/angledoubleright/package.json +9 -0
- package/icons/angledoubleup/index.cjs.js +37 -0
- package/icons/angledoubleup/index.cjs.min.js +1 -0
- package/icons/angledoubleup/index.d.ts +12 -0
- package/icons/angledoubleup/index.esm.js +31 -0
- package/icons/angledoubleup/index.esm.min.js +1 -0
- package/icons/angledoubleup/index.js +39 -0
- package/icons/angledoubleup/index.min.js +1 -0
- package/icons/angledoubleup/index.vue +18 -0
- package/icons/angledoubleup/package.json +9 -0
- package/icons/angledown/index.cjs.js +35 -0
- package/icons/angledown/index.cjs.min.js +1 -0
- package/icons/angledown/index.d.ts +12 -0
- package/icons/angledown/index.esm.js +29 -0
- package/icons/angledown/index.esm.min.js +1 -0
- package/icons/angledown/index.js +37 -0
- package/icons/angledown/index.min.js +1 -0
- package/icons/angledown/index.vue +16 -0
- package/icons/angledown/package.json +9 -0
- package/icons/angleleft/index.cjs.js +35 -0
- package/icons/angleleft/index.cjs.min.js +1 -0
- package/icons/angleleft/index.d.ts +12 -0
- package/icons/angleleft/index.esm.js +29 -0
- package/icons/angleleft/index.esm.min.js +1 -0
- package/icons/angleleft/index.js +37 -0
- package/icons/angleleft/index.min.js +1 -0
- package/icons/angleleft/index.vue +16 -0
- package/icons/angleleft/package.json +9 -0
- package/icons/angleright/index.cjs.js +35 -0
- package/icons/angleright/index.cjs.min.js +1 -0
- package/icons/angleright/index.d.ts +12 -0
- package/icons/angleright/index.esm.js +29 -0
- package/icons/angleright/index.esm.min.js +1 -0
- package/icons/angleright/index.js +37 -0
- package/icons/angleright/index.min.js +1 -0
- package/icons/angleright/index.vue +16 -0
- package/icons/angleright/package.json +9 -0
- package/icons/angleup/index.cjs.js +35 -0
- package/icons/angleup/index.cjs.min.js +1 -0
- package/icons/angleup/index.d.ts +12 -0
- package/icons/angleup/index.esm.js +29 -0
- package/icons/angleup/index.esm.min.js +1 -0
- package/icons/angleup/index.js +37 -0
- package/icons/angleup/index.min.js +1 -0
- package/icons/angleup/index.vue +16 -0
- package/icons/angleup/package.json +9 -0
- package/icons/arrowdown/index.cjs.js +49 -0
- package/icons/arrowdown/index.cjs.min.js +1 -0
- package/icons/arrowdown/index.d.ts +12 -0
- package/icons/arrowdown/index.esm.js +43 -0
- package/icons/arrowdown/index.esm.min.js +1 -0
- package/icons/arrowdown/index.js +51 -0
- package/icons/arrowdown/index.min.js +1 -0
- package/icons/arrowdown/index.vue +25 -0
- package/icons/arrowdown/package.json +9 -0
- package/icons/arrowup/index.cjs.js +49 -0
- package/icons/arrowup/index.cjs.min.js +1 -0
- package/icons/arrowup/index.d.ts +12 -0
- package/icons/arrowup/index.esm.js +43 -0
- package/icons/arrowup/index.esm.min.js +1 -0
- package/icons/arrowup/index.js +51 -0
- package/icons/arrowup/index.min.js +1 -0
- package/icons/arrowup/index.vue +25 -0
- package/icons/arrowup/package.json +9 -0
- package/icons/ban/index.cjs.js +47 -0
- package/icons/ban/index.cjs.min.js +1 -0
- package/icons/ban/index.d.ts +12 -0
- package/icons/ban/index.esm.js +41 -0
- package/icons/ban/index.esm.min.js +1 -0
- package/icons/ban/index.js +49 -0
- package/icons/ban/index.min.js +1 -0
- package/icons/ban/index.vue +23 -0
- package/icons/ban/package.json +9 -0
- package/icons/bars/index.cjs.js +37 -0
- package/icons/bars/index.cjs.min.js +1 -0
- package/icons/bars/index.d.ts +12 -0
- package/icons/bars/index.esm.js +31 -0
- package/icons/bars/index.esm.min.js +1 -0
- package/icons/bars/index.js +39 -0
- package/icons/bars/index.min.js +1 -0
- package/icons/bars/index.vue +18 -0
- package/icons/bars/package.json +9 -0
- package/icons/calendar/index.cjs.js +35 -0
- package/icons/calendar/index.cjs.min.js +1 -0
- package/icons/calendar/index.d.ts +12 -0
- package/icons/calendar/index.esm.js +29 -0
- package/icons/calendar/index.esm.min.js +1 -0
- package/icons/calendar/index.js +37 -0
- package/icons/calendar/index.min.js +1 -0
- package/icons/calendar/index.vue +16 -0
- package/icons/calendar/package.json +9 -0
- package/icons/check/index.cjs.js +35 -0
- package/icons/check/index.cjs.min.js +1 -0
- package/icons/check/index.d.ts +12 -0
- package/icons/check/index.esm.js +29 -0
- package/icons/check/index.esm.min.js +1 -0
- package/icons/check/index.js +37 -0
- package/icons/check/index.min.js +1 -0
- package/icons/check/index.vue +16 -0
- package/icons/check/package.json +9 -0
- package/icons/chevrondown/index.cjs.js +35 -0
- package/icons/chevrondown/index.cjs.min.js +1 -0
- package/icons/chevrondown/index.d.ts +12 -0
- package/icons/chevrondown/index.esm.js +29 -0
- package/icons/chevrondown/index.esm.min.js +1 -0
- package/icons/chevrondown/index.js +37 -0
- package/icons/chevrondown/index.min.js +1 -0
- package/icons/chevrondown/index.vue +16 -0
- package/icons/chevrondown/package.json +9 -0
- package/icons/chevronleft/index.cjs.js +35 -0
- package/icons/chevronleft/index.cjs.min.js +1 -0
- package/icons/chevronleft/index.d.ts +12 -0
- package/icons/chevronleft/index.esm.js +29 -0
- package/icons/chevronleft/index.esm.min.js +1 -0
- package/icons/chevronleft/index.js +37 -0
- package/icons/chevronleft/index.min.js +1 -0
- package/icons/chevronleft/index.vue +16 -0
- package/icons/chevronleft/package.json +9 -0
- package/icons/chevronright/index.cjs.js +35 -0
- package/icons/chevronright/index.cjs.min.js +1 -0
- package/icons/chevronright/index.d.ts +12 -0
- package/icons/chevronright/index.esm.js +29 -0
- package/icons/chevronright/index.esm.min.js +1 -0
- package/icons/chevronright/index.js +37 -0
- package/icons/chevronright/index.min.js +1 -0
- package/icons/chevronright/index.vue +16 -0
- package/icons/chevronright/package.json +9 -0
- package/icons/chevronup/index.cjs.js +35 -0
- package/icons/chevronup/index.cjs.min.js +1 -0
- package/icons/chevronup/index.d.ts +12 -0
- package/icons/chevronup/index.esm.js +29 -0
- package/icons/chevronup/index.esm.min.js +1 -0
- package/icons/chevronup/index.js +37 -0
- package/icons/chevronup/index.min.js +1 -0
- package/icons/chevronup/index.vue +16 -0
- package/icons/chevronup/package.json +9 -0
- package/icons/exclamationtriangle/index.cjs.js +32 -0
- package/icons/exclamationtriangle/index.cjs.min.js +1 -0
- package/icons/exclamationtriangle/index.d.ts +12 -0
- package/icons/exclamationtriangle/index.esm.js +26 -0
- package/icons/exclamationtriangle/index.esm.min.js +1 -0
- package/icons/exclamationtriangle/index.js +34 -0
- package/icons/exclamationtriangle/index.min.js +1 -0
- package/icons/exclamationtriangle/index.vue +31 -0
- package/icons/exclamationtriangle/package.json +9 -0
- package/icons/eye/index.cjs.js +37 -0
- package/icons/eye/index.cjs.min.js +1 -0
- package/icons/eye/index.d.ts +12 -0
- package/icons/eye/index.esm.js +31 -0
- package/icons/eye/index.esm.min.js +1 -0
- package/icons/eye/index.js +39 -0
- package/icons/eye/index.min.js +1 -0
- package/icons/eye/index.vue +18 -0
- package/icons/eye/package.json +9 -0
- package/icons/eyeslash/index.cjs.js +49 -0
- package/icons/eyeslash/index.cjs.min.js +1 -0
- package/icons/eyeslash/index.d.ts +12 -0
- package/icons/eyeslash/index.esm.js +43 -0
- package/icons/eyeslash/index.esm.min.js +1 -0
- package/icons/eyeslash/index.js +51 -0
- package/icons/eyeslash/index.min.js +1 -0
- package/icons/eyeslash/index.vue +25 -0
- package/icons/eyeslash/package.json +9 -0
- package/icons/filter/index.cjs.js +47 -0
- package/icons/filter/index.cjs.min.js +1 -0
- package/icons/filter/index.d.ts +12 -0
- package/icons/filter/index.esm.js +41 -0
- package/icons/filter/index.esm.min.js +1 -0
- package/icons/filter/index.js +49 -0
- package/icons/filter/index.min.js +1 -0
- package/icons/filter/index.vue +23 -0
- package/icons/filter/package.json +9 -0
- package/icons/filterslash/index.cjs.js +49 -0
- package/icons/filterslash/index.cjs.min.js +1 -0
- package/icons/filterslash/index.d.ts +12 -0
- package/icons/filterslash/index.esm.js +43 -0
- package/icons/filterslash/index.esm.min.js +1 -0
- package/icons/filterslash/index.js +51 -0
- package/icons/filterslash/index.min.js +1 -0
- package/icons/filterslash/index.vue +25 -0
- package/icons/filterslash/package.json +9 -0
- package/icons/index.d.ts +12 -0
- package/icons/infocircle/index.cjs.js +49 -0
- package/icons/infocircle/index.cjs.min.js +1 -0
- package/icons/infocircle/index.d.ts +12 -0
- package/icons/infocircle/index.esm.js +43 -0
- package/icons/infocircle/index.esm.min.js +1 -0
- package/icons/infocircle/index.js +51 -0
- package/icons/infocircle/index.min.js +1 -0
- package/icons/infocircle/index.vue +25 -0
- package/icons/infocircle/package.json +9 -0
- package/icons/minus/index.cjs.js +35 -0
- package/icons/minus/index.cjs.min.js +1 -0
- package/icons/minus/index.d.ts +12 -0
- package/icons/minus/index.esm.js +29 -0
- package/icons/minus/index.esm.min.js +1 -0
- package/icons/minus/index.js +37 -0
- package/icons/minus/index.min.js +1 -0
- package/icons/minus/index.vue +16 -0
- package/icons/minus/package.json +9 -0
- package/icons/pencil/index.cjs.js +47 -0
- package/icons/pencil/index.cjs.min.js +1 -0
- package/icons/pencil/index.d.ts +12 -0
- package/icons/pencil/index.esm.js +41 -0
- package/icons/pencil/index.esm.min.js +1 -0
- package/icons/pencil/index.js +49 -0
- package/icons/pencil/index.min.js +1 -0
- package/icons/pencil/index.vue +23 -0
- package/icons/pencil/package.json +9 -0
- package/icons/plus/index.cjs.js +47 -0
- package/icons/plus/index.cjs.min.js +1 -0
- package/icons/plus/index.d.ts +12 -0
- package/icons/plus/index.esm.js +41 -0
- package/icons/plus/index.esm.min.js +1 -0
- package/icons/plus/index.js +49 -0
- package/icons/plus/index.min.js +1 -0
- package/icons/plus/index.vue +23 -0
- package/icons/plus/package.json +9 -0
- package/icons/refresh/index.cjs.js +49 -0
- package/icons/refresh/index.cjs.min.js +1 -0
- package/icons/refresh/index.d.ts +12 -0
- package/icons/refresh/index.esm.js +43 -0
- package/icons/refresh/index.esm.min.js +1 -0
- package/icons/refresh/index.js +51 -0
- package/icons/refresh/index.min.js +1 -0
- package/icons/refresh/index.vue +25 -0
- package/icons/refresh/package.json +9 -0
- package/icons/search/index.cjs.js +49 -0
- package/icons/search/index.cjs.min.js +1 -0
- package/icons/search/index.d.ts +12 -0
- package/icons/search/index.esm.js +43 -0
- package/icons/search/index.esm.min.js +1 -0
- package/icons/search/index.js +51 -0
- package/icons/search/index.min.js +1 -0
- package/icons/search/index.vue +25 -0
- package/icons/search/package.json +9 -0
- package/icons/searchminus/index.cjs.js +49 -0
- package/icons/searchminus/index.cjs.min.js +1 -0
- package/icons/searchminus/index.d.ts +12 -0
- package/icons/searchminus/index.esm.js +43 -0
- package/icons/searchminus/index.esm.min.js +1 -0
- package/icons/searchminus/index.js +51 -0
- package/icons/searchminus/index.min.js +1 -0
- package/icons/searchminus/index.vue +25 -0
- package/icons/searchminus/package.json +9 -0
- package/icons/searchplus/index.cjs.js +49 -0
- package/icons/searchplus/index.cjs.min.js +1 -0
- package/icons/searchplus/index.d.ts +12 -0
- package/icons/searchplus/index.esm.js +43 -0
- package/icons/searchplus/index.esm.min.js +1 -0
- package/icons/searchplus/index.js +51 -0
- package/icons/searchplus/index.min.js +1 -0
- package/icons/searchplus/index.vue +25 -0
- package/icons/searchplus/package.json +9 -0
- package/icons/sortalt/index.cjs.js +32 -0
- package/icons/sortalt/index.cjs.min.js +1 -0
- package/icons/sortalt/index.d.ts +12 -0
- package/icons/sortalt/index.esm.js +26 -0
- package/icons/sortalt/index.esm.min.js +1 -0
- package/icons/sortalt/index.js +34 -0
- package/icons/sortalt/index.min.js +1 -0
- package/icons/sortalt/index.vue +29 -0
- package/icons/sortalt/package.json +9 -0
- package/icons/sortamountdown/index.cjs.js +32 -0
- package/icons/sortamountdown/index.cjs.min.js +1 -0
- package/icons/sortamountdown/index.d.ts +12 -0
- package/icons/sortamountdown/index.esm.js +26 -0
- package/icons/sortamountdown/index.esm.min.js +1 -0
- package/icons/sortamountdown/index.js +34 -0
- package/icons/sortamountdown/index.min.js +1 -0
- package/icons/sortamountdown/index.vue +43 -0
- package/icons/sortamountdown/package.json +9 -0
- package/icons/sortamountupalt/index.cjs.js +32 -0
- package/icons/sortamountupalt/index.cjs.min.js +1 -0
- package/icons/sortamountupalt/index.d.ts +12 -0
- package/icons/sortamountupalt/index.esm.js +26 -0
- package/icons/sortamountupalt/index.esm.min.js +1 -0
- package/icons/sortamountupalt/index.js +34 -0
- package/icons/sortamountupalt/index.min.js +1 -0
- package/icons/sortamountupalt/index.vue +43 -0
- package/icons/sortamountupalt/package.json +9 -0
- package/icons/spinner/index.cjs.js +47 -0
- package/icons/spinner/index.cjs.min.js +1 -0
- package/icons/spinner/index.d.ts +12 -0
- package/icons/spinner/index.esm.js +41 -0
- package/icons/spinner/index.esm.min.js +1 -0
- package/icons/spinner/index.js +49 -0
- package/icons/spinner/index.min.js +1 -0
- package/icons/spinner/index.vue +23 -0
- package/icons/spinner/package.json +9 -0
- package/icons/star/index.cjs.js +47 -0
- package/icons/star/index.cjs.min.js +1 -0
- package/icons/star/index.d.ts +12 -0
- package/icons/star/index.esm.js +41 -0
- package/icons/star/index.esm.min.js +1 -0
- package/icons/star/index.js +49 -0
- package/icons/star/index.min.js +1 -0
- package/icons/star/index.vue +23 -0
- package/icons/star/package.json +9 -0
- package/icons/starfill/index.cjs.js +47 -0
- package/icons/starfill/index.cjs.min.js +1 -0
- package/icons/starfill/index.d.ts +12 -0
- package/icons/starfill/index.esm.js +41 -0
- package/icons/starfill/index.esm.min.js +1 -0
- package/icons/starfill/index.js +49 -0
- package/icons/starfill/index.min.js +1 -0
- package/icons/starfill/index.vue +23 -0
- package/icons/starfill/package.json +9 -0
- package/icons/thlarge/index.cjs.js +49 -0
- package/icons/thlarge/index.cjs.min.js +1 -0
- package/icons/thlarge/index.d.ts +12 -0
- package/icons/thlarge/index.esm.js +43 -0
- package/icons/thlarge/index.esm.min.js +1 -0
- package/icons/thlarge/index.js +51 -0
- package/icons/thlarge/index.min.js +1 -0
- package/icons/thlarge/index.vue +25 -0
- package/icons/thlarge/package.json +9 -0
- package/icons/times/index.cjs.js +35 -0
- package/icons/times/index.cjs.min.js +1 -0
- package/icons/times/index.d.ts +12 -0
- package/icons/times/index.esm.js +29 -0
- package/icons/times/index.esm.min.js +1 -0
- package/icons/times/index.js +37 -0
- package/icons/times/index.min.js +1 -0
- package/icons/times/index.vue +16 -0
- package/icons/times/package.json +9 -0
- package/icons/timescircle/index.cjs.js +49 -0
- package/icons/timescircle/index.cjs.min.js +1 -0
- package/icons/timescircle/index.d.ts +12 -0
- package/icons/timescircle/index.esm.js +43 -0
- package/icons/timescircle/index.esm.min.js +1 -0
- package/icons/timescircle/index.js +51 -0
- package/icons/timescircle/index.min.js +1 -0
- package/icons/timescircle/index.vue +25 -0
- package/icons/timescircle/package.json +9 -0
- package/icons/trash/index.cjs.js +49 -0
- package/icons/trash/index.cjs.min.js +1 -0
- package/icons/trash/index.d.ts +12 -0
- package/icons/trash/index.esm.js +43 -0
- package/icons/trash/index.esm.min.js +1 -0
- package/icons/trash/index.js +51 -0
- package/icons/trash/index.min.js +1 -0
- package/icons/trash/index.vue +25 -0
- package/icons/trash/package.json +9 -0
- package/icons/undo/index.cjs.js +49 -0
- package/icons/undo/index.cjs.min.js +1 -0
- package/icons/undo/index.d.ts +12 -0
- package/icons/undo/index.esm.js +43 -0
- package/icons/undo/index.esm.min.js +1 -0
- package/icons/undo/index.js +51 -0
- package/icons/undo/index.min.js +1 -0
- package/icons/undo/index.vue +25 -0
- package/icons/undo/package.json +9 -0
- package/icons/upload/index.cjs.js +49 -0
- package/icons/upload/index.cjs.min.js +1 -0
- package/icons/upload/index.d.ts +12 -0
- package/icons/upload/index.esm.js +43 -0
- package/icons/upload/index.esm.min.js +1 -0
- package/icons/upload/index.js +51 -0
- package/icons/upload/index.min.js +1 -0
- package/icons/upload/index.vue +25 -0
- package/icons/upload/package.json +9 -0
- package/icons/windowmaximize/index.cjs.js +49 -0
- package/icons/windowmaximize/index.cjs.min.js +1 -0
- package/icons/windowmaximize/index.d.ts +12 -0
- package/icons/windowmaximize/index.esm.js +43 -0
- package/icons/windowmaximize/index.esm.min.js +1 -0
- package/icons/windowmaximize/index.js +51 -0
- package/icons/windowmaximize/index.min.js +1 -0
- package/icons/windowmaximize/index.vue +25 -0
- package/icons/windowmaximize/package.json +9 -0
- package/icons/windowminimize/index.cjs.js +49 -0
- package/icons/windowminimize/index.cjs.min.js +1 -0
- package/icons/windowminimize/index.d.ts +12 -0
- package/icons/windowminimize/index.esm.js +43 -0
- package/icons/windowminimize/index.esm.min.js +1 -0
- package/icons/windowminimize/index.js +51 -0
- package/icons/windowminimize/index.min.js +1 -0
- package/icons/windowminimize/index.vue +25 -0
- package/icons/windowminimize/package.json +9 -0
- package/image/Image.d.ts +25 -0
- package/image/Image.vue +38 -12
- package/image/image.cjs.js +68 -42
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +63 -43
- package/image/image.esm.min.js +1 -1
- package/image/image.js +64 -44
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +10 -1
- package/inlinemessage/InlineMessage.vue +19 -11
- package/inlinemessage/inlinemessage.cjs.js +27 -13
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +21 -14
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +25 -15
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +5 -1
- package/inplace/Inplace.vue +11 -3
- package/inplace/inplace.cjs.js +15 -4
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +15 -5
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +16 -6
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +13 -4
- package/inputnumber/InputNumber.vue +35 -7
- package/inputnumber/inputnumber.cjs.js +53 -19
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +52 -20
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +53 -21
- package/inputnumber/inputnumber.min.js +1 -1
- package/listbox/Listbox.d.ts +6 -2
- package/listbox/Listbox.vue +8 -3
- package/listbox/listbox.cjs.js +10 -5
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +10 -6
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +11 -7
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +23 -0
- package/megamenu/MegaMenu.vue +1 -1
- package/megamenu/MegaMenuSub.vue +19 -11
- package/megamenu/megamenu.cjs.js +48 -23
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +46 -23
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +48 -25
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +14 -0
- package/menu/Menu.vue +2 -2
- package/menu/Menuitem.vue +12 -5
- package/menu/menu.cjs.js +34 -17
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +35 -18
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +34 -17
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +31 -0
- package/menubar/Menubar.vue +7 -3
- package/menubar/MenubarSub.vue +19 -11
- package/menubar/menubar.cjs.js +65 -35
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +63 -36
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +64 -37
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +21 -2
- package/message/Message.vue +30 -18
- package/message/message.cjs.js +45 -22
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +41 -23
- package/message/message.esm.min.js +1 -1
- package/message/message.js +42 -24
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +86 -7
- package/multiselect/MultiSelect.vue +44 -19
- package/multiselect/multiselect.cjs.js +99 -34
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +94 -35
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +95 -36
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +16 -0
- package/orderlist/OrderList.vue +37 -5
- package/orderlist/orderlist.cjs.js +49 -9
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +46 -10
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +47 -11
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +10 -0
- package/organizationchart/OrganizationChartNode.vue +8 -1
- package/organizationchart/organizationchart.cjs.js +21 -3
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +16 -3
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +21 -5
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +9 -0
- package/overlaypanel/OverlayPanel.vue +10 -2
- package/overlaypanel/overlaypanel.cjs.js +15 -6
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +15 -7
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +16 -8
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +2 -3
- package/paginator/FirstPageLink.vue +11 -1
- package/paginator/LastPageLink.vue +11 -1
- package/paginator/NextPageLink.vue +11 -1
- package/paginator/Paginator.d.ts +17 -1
- package/paginator/Paginator.vue +4 -4
- package/paginator/PrevPageLink.vue +11 -1
- package/paginator/paginator.cjs.js +70 -34
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +67 -35
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +68 -36
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +91 -0
- package/panel/Panel.vue +21 -8
- package/panel/panel.cjs.js +40 -26
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +38 -27
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +39 -28
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +37 -0
- package/panelmenu/PanelMenu.vue +13 -8
- package/panelmenu/PanelMenuList.vue +3 -3
- package/panelmenu/PanelMenuSub.vue +19 -11
- package/panelmenu/panelmenu.cjs.js +80 -42
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +79 -43
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +80 -44
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +20 -2
- package/password/Password.vue +13 -7
- package/password/password.cjs.js +30 -12
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +29 -13
- package/password/password.esm.min.js +1 -1
- package/password/password.js +30 -14
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +56 -0
- package/picklist/PickList.vue +134 -30
- package/picklist/picklist.cjs.js +166 -58
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +159 -59
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +160 -60
- package/picklist/picklist.min.js +1 -1
- package/rating/Rating.d.ts +3 -3
- package/rating/Rating.vue +14 -15
- package/rating/rating.cjs.js +26 -21
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +21 -22
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +25 -23
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +3 -1
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +80 -1
- package/resources/themes/arya-green/theme.css +80 -1
- package/resources/themes/arya-orange/theme.css +80 -1
- package/resources/themes/arya-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +80 -1
- package/resources/themes/fluent-light/theme.css +80 -1
- package/resources/themes/lara-dark-blue/theme.css +80 -1
- package/resources/themes/lara-dark-indigo/theme.css +80 -1
- package/resources/themes/lara-dark-purple/theme.css +80 -1
- package/resources/themes/lara-dark-teal/theme.css +80 -1
- package/resources/themes/lara-light-blue/theme.css +80 -1
- package/resources/themes/lara-light-indigo/theme.css +80 -1
- package/resources/themes/lara-light-purple/theme.css +80 -1
- package/resources/themes/lara-light-teal/theme.css +80 -1
- package/resources/themes/luna-amber/theme.css +80 -1
- package/resources/themes/luna-blue/theme.css +80 -1
- package/resources/themes/luna-green/theme.css +80 -1
- package/resources/themes/luna-pink/theme.css +80 -1
- package/resources/themes/md-dark-deeppurple/theme.css +80 -1
- package/resources/themes/md-dark-indigo/theme.css +80 -1
- package/resources/themes/md-light-deeppurple/theme.css +80 -1
- package/resources/themes/md-light-indigo/theme.css +80 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-dark-indigo/theme.css +80 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-light-indigo/theme.css +80 -1
- package/resources/themes/mira/theme.css +80 -1
- package/resources/themes/nano/theme.css +80 -1
- package/resources/themes/nova/theme.css +80 -1
- package/resources/themes/nova-accent/theme.css +80 -1
- package/resources/themes/nova-alt/theme.css +80 -1
- package/resources/themes/nova-vue/theme.css +80 -1
- package/resources/themes/rhea/theme.css +80 -1
- package/resources/themes/saga-blue/theme.css +80 -1
- package/resources/themes/saga-green/theme.css +80 -1
- package/resources/themes/saga-orange/theme.css +80 -1
- package/resources/themes/saga-purple/theme.css +80 -1
- package/resources/themes/soho-dark/theme.css +80 -1
- package/resources/themes/soho-light/theme.css +80 -1
- package/resources/themes/tailwind-light/theme.css +80 -1
- package/resources/themes/vela-blue/theme.css +80 -1
- package/resources/themes/vela-green/theme.css +80 -1
- package/resources/themes/vela-orange/theme.css +80 -1
- package/resources/themes/vela-purple/theme.css +80 -1
- package/resources/themes/viva-dark/theme.css +80 -1
- package/resources/themes/viva-light/theme.css +80 -1
- package/scrollpanel/ScrollPanel.d.ts +74 -0
- package/scrollpanel/ScrollPanel.vue +7 -3
- package/scrollpanel/scrollpanel.cjs.js +19 -15
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +16 -16
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +20 -17
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/ScrollTop.d.ts +8 -2
- package/scrolltop/ScrollTop.vue +8 -6
- package/scrolltop/scrolltop.cjs.js +15 -8
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +12 -9
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +16 -10
- package/scrolltop/scrolltop.min.js +1 -1
- package/sidebar/Sidebar.d.ts +5 -1
- package/sidebar/Sidebar.vue +7 -3
- package/sidebar/sidebar.cjs.js +10 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +10 -6
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +11 -7
- package/sidebar/sidebar.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +12 -1
- package/speeddial/SpeedDial.vue +16 -8
- package/speeddial/speeddial.cjs.js +25 -8
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +25 -9
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +26 -10
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +11 -1
- package/splitbutton/SplitButton.vue +18 -5
- package/splitbutton/splitbutton.cjs.js +27 -8
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +27 -9
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +28 -10
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +51 -0
- package/splitter/Splitter.vue +5 -2
- package/splitter/splitter.cjs.js +14 -10
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +11 -11
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +15 -12
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +32 -0
- package/splitterpanel/SplitterPanel.vue +4 -1
- package/splitterpanel/splitterpanel.cjs.js +10 -4
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +7 -5
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +11 -6
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +14 -0
- package/tabmenu/TabMenu.vue +4 -2
- package/tabmenu/tabmenu.cjs.js +20 -8
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +21 -9
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +20 -8
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +52 -2
- package/tabpanel/TabPanel.vue +2 -0
- package/tabpanel/tabpanel.cjs.js +6 -0
- package/tabpanel/tabpanel.cjs.min.js +1 -1
- package/tabpanel/tabpanel.esm.js +2 -0
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +7 -2
- package/tabpanel/tabpanel.min.js +1 -1
- package/tabview/TabView.d.ts +108 -3
- package/tabview/TabView.vue +52 -15
- package/tabview/tabview.cjs.js +81 -60
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +79 -61
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +80 -62
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +6 -1
- package/tag/Tag.vue +2 -1
- package/tag/tag.cjs.js +10 -5
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +11 -6
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +10 -5
- package/tag/tag.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +23 -0
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/TieredMenuSub.vue +17 -8
- package/tieredmenu/tieredmenu.cjs.js +49 -24
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +49 -25
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +50 -26
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +14 -5
- package/toast/Toast.vue +6 -6
- package/toast/ToastMessage.vue +26 -7
- package/toast/toast.cjs.js +42 -17
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +38 -18
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +39 -19
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +18 -2
- package/togglebutton/ToggleButton.vue +4 -2
- package/togglebutton/togglebutton.cjs.js +12 -7
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +13 -8
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +12 -7
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +44 -0
- package/toolbar/Toolbar.vue +6 -4
- package/toolbar/toolbar.cjs.js +15 -12
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +12 -13
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +16 -14
- package/toolbar/toolbar.min.js +1 -1
- package/tree/Tree.d.ts +35 -5
- package/tree/Tree.vue +13 -7
- package/tree/TreeNode.vue +20 -9
- package/tree/tree.cjs.js +73 -25
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +68 -26
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +69 -27
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +34 -0
- package/treeselect/TreeSelect.vue +20 -6
- package/treeselect/treeselect.cjs.js +44 -11
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +44 -12
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +45 -13
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +22 -11
- package/treetable/HeaderCell.vue +28 -13
- package/treetable/TreeTable.d.ts +44 -3
- package/treetable/TreeTable.vue +32 -6
- package/treetable/TreeTableRow.vue +6 -0
- package/treetable/treetable.cjs.js +176 -41
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +168 -41
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +170 -43
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +16 -2
- package/tristatecheckbox/TriStateCheckbox.vue +16 -20
- package/tristatecheckbox/tristatecheckbox.cjs.js +23 -22
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +19 -23
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +23 -24
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +5 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +5 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -0
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +148 -8
- package/vetur-tags.json +64 -24
- package/virtualscroller/VirtualScroller.d.ts +4 -0
- package/virtualscroller/VirtualScroller.vue +13 -2
- package/virtualscroller/virtualscroller.cjs.js +19 -7
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +16 -8
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +20 -9
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1343 -136
- package/fullcalendar/FullCalendar.d.ts +0 -34
- package/fullcalendar/FullCalendar.vue +0 -64
- package/fullcalendar/fullcalendar.cjs.js +0 -67
- package/fullcalendar/fullcalendar.cjs.min.js +0 -1
- package/fullcalendar/fullcalendar.esm.js +0 -65
- package/fullcalendar/fullcalendar.esm.min.js +0 -1
- package/fullcalendar/fullcalendar.js +0 -67
- package/fullcalendar/fullcalendar.min.js +0 -1
- package/fullcalendar/package.json +0 -9
package/image/image.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/focustrap"),i=require("primevue/portal"),
|
|
1
|
+
"use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/eye"),i=require("primevue/icons/refresh"),o=require("primevue/icons/searchminus"),a=require("primevue/icons/searchplus"),n=require("primevue/icons/times"),r=require("primevue/icons/undo"),l=require("primevue/portal"),s=require("primevue/utils"),c=require("vue");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),u=m(t),d=m(i),v=m(o),h=m(a),f=m(n),g=m(r),k={name:"Image",inheritAttrs:!1,emits:["show","hide","error"],props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0}},mask:null,data:()=>({maskVisible:!1,previewVisible:!1,rotate:0,scale:1}),beforeUnmount(){this.mask&&s.ZIndexUtils.clear(this.container)},methods:{maskRef(e){this.mask=e},toolbarRef(e){this.toolbarRef=e},onImageClick(){this.preview&&(this.maskVisible=!0,setTimeout((()=>{this.previewVisible=!0}),25))},onPreviewImageClick(){this.previewClick=!0},onMaskClick(){this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown(e){if("Escape"===e.code)this.onMaskClick(),setTimeout((()=>{s.DomHandler.focus(this.$refs.previewButton)}),25),e.preventDefault()},onError(){this.$emit("error")},rotateRight(){this.rotate+=90,this.previewClick=!0},rotateLeft(){this.rotate-=90,this.previewClick=!0},zoomIn(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter(){s.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter(){this.focus(),this.$emit("show")},onBeforeLeave(){s.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave(){this.$emit("hide")},onAfterLeave(e){s.ZIndexUtils.clear(e),this.maskVisible=!1},focus(){let e=this.mask.querySelector("[autofocus]");e&&e.focus()}},computed:{containerClass(){return["p-image p-component",this.class,{"p-image-preview-container":this.preview}]},maskClass:()=>["p-image-mask p-component-overlay p-component-overlay-enter"],rotateClass(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},zoomDisabled(){return this.scale<=.5||this.scale>=1.5},rightAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:m(l).default,EyeIcon:u.default,RefreshIcon:d.default,UndoIcon:g.default,SearchMinusIcon:v.default,SearchPlusIcon:h.default,TimesIcon:f.default},directives:{focustrap:p.default}};const b=["aria-modal"],y={class:"p-image-toolbar"},w=["aria-label"],C=["aria-label"],I=["disabled","aria-label"],E=["disabled","aria-label"],V=["aria-label"],L={key:0},B=["src"];!function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n}\n.p-image-preview-container > img {\n cursor: pointer;\n}\n.p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n}\n.p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n.p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-image-preview-enter-from,\n.p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n"),k.render=function(e,t,i,o,a,n){const r=c.resolveComponent("RefreshIcon"),l=c.resolveComponent("UndoIcon"),s=c.resolveComponent("SearchMinusIcon"),m=c.resolveComponent("SearchPlusIcon"),p=c.resolveComponent("TimesIcon"),u=c.resolveComponent("Portal"),d=c.resolveDirective("focustrap");return c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(n.containerClass),style:c.normalizeStyle(i.style)},[c.createElementVNode("img",c.mergeProps(e.$attrs,{style:i.imageStyle,class:i.imageClass,onError:t[0]||(t[0]=(...e)=>n.onError&&n.onError(...e))}),null,16),i.preview?(c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,ref:"previewButton",class:"p-image-preview-indicator",onClick:t[1]||(t[1]=(...e)=>n.onImageClick&&n.onImageClick(...e))},i.previewButtonProps),[c.renderSlot(e.$slots,"indicatoricon",{},(()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i.indicatorIcon?"i":"EyeIcon"),{class:"p-image-preview-icon"}))]))],16)):c.createCommentVNode("",!0),c.createVNode(u,null,{default:c.withCtx((()=>[a.maskVisible?c.withDirectives((c.openBlock(),c.createElementBlock("div",{key:0,ref:n.maskRef,role:"dialog",class:c.normalizeClass(n.maskClass),"aria-modal":a.maskVisible,onClick:t[8]||(t[8]=(...e)=>n.onMaskClick&&n.onMaskClick(...e)),onKeydown:t[9]||(t[9]=(...e)=>n.onMaskKeydown&&n.onMaskKeydown(...e))},[c.createElementVNode("div",y,[c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[2]||(t[2]=(...e)=>n.rotateRight&&n.rotateRight(...e)),type:"button","aria-label":n.rightAriaLabel},[c.renderSlot(e.$slots,"refresh",{},(()=>[c.createVNode(r)]))],8,w),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[3]||(t[3]=(...e)=>n.rotateLeft&&n.rotateLeft(...e)),type:"button","aria-label":n.leftAriaLabel},[c.renderSlot(e.$slots,"undo",{},(()=>[c.createVNode(l)]))],8,C),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[4]||(t[4]=(...e)=>n.zoomOut&&n.zoomOut(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomOutAriaLabel},[c.renderSlot(e.$slots,"zoomout",{},(()=>[c.createVNode(s)]))],8,I),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[5]||(t[5]=(...e)=>n.zoomIn&&n.zoomIn(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomInAriaLabel},[c.renderSlot(e.$slots,"zoomin",{},(()=>[c.createVNode(m)]))],8,E),c.createElementVNode("button",{class:"p-image-action p-link",type:"button",onClick:t[6]||(t[6]=(...t)=>e.hidePreview&&e.hidePreview(...t)),"aria-label":n.closeAriaLabel,autofocus:""},[c.renderSlot(e.$slots,"close",{},(()=>[c.createVNode(p)]))],8,V)]),c.createVNode(c.Transition,{name:"p-image-preview",onBeforeEnter:n.onBeforeEnter,onEnter:n.onEnter,onLeave:n.onLeave,onBeforeLeave:n.onBeforeLeave,onAfterLeave:n.onAfterLeave},{default:c.withCtx((()=>[a.previewVisible?(c.openBlock(),c.createElementBlock("div",L,[c.createElementVNode("img",{src:e.$attrs.src,class:"p-image-preview",style:c.normalizeStyle(n.imagePreviewStyle),onClick:t[7]||(t[7]=(...e)=>n.onPreviewImageClick&&n.onPreviewImageClick(...e))},null,12,B)])):c.createCommentVNode("",!0)])),_:1},8,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],42,b)),[[d]]):c.createCommentVNode("",!0)])),_:3})],6)},module.exports=k;
|
package/image/image.esm.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import FocusTrap from 'primevue/focustrap';
|
|
2
|
+
import EyeIcon from 'primevue/icons/eye';
|
|
3
|
+
import RefreshIcon from 'primevue/icons/refresh';
|
|
4
|
+
import SearchMinusIcon from 'primevue/icons/searchminus';
|
|
5
|
+
import SearchPlusIcon from 'primevue/icons/searchplus';
|
|
6
|
+
import TimesIcon from 'primevue/icons/times';
|
|
7
|
+
import UndoIcon from 'primevue/icons/undo';
|
|
2
8
|
import Portal from 'primevue/portal';
|
|
3
9
|
import { ZIndexUtils, DomHandler } from 'primevue/utils';
|
|
4
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, mergeProps, renderSlot, createCommentVNode, createVNode, withCtx, withDirectives, Transition } from 'vue';
|
|
10
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, mergeProps, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, createVNode, withCtx, withDirectives, Transition } from 'vue';
|
|
5
11
|
|
|
6
12
|
var script = {
|
|
7
13
|
name: 'Image',
|
|
@@ -31,6 +37,10 @@ var script = {
|
|
|
31
37
|
previewButtonProps: {
|
|
32
38
|
type: null,
|
|
33
39
|
default: null
|
|
40
|
+
},
|
|
41
|
+
indicatorIcon: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: undefined
|
|
34
44
|
}
|
|
35
45
|
},
|
|
36
46
|
mask: null,
|
|
@@ -169,45 +179,35 @@ var script = {
|
|
|
169
179
|
}
|
|
170
180
|
},
|
|
171
181
|
components: {
|
|
172
|
-
Portal: Portal
|
|
182
|
+
Portal: Portal,
|
|
183
|
+
EyeIcon: EyeIcon,
|
|
184
|
+
RefreshIcon: RefreshIcon,
|
|
185
|
+
UndoIcon: UndoIcon,
|
|
186
|
+
SearchMinusIcon: SearchMinusIcon,
|
|
187
|
+
SearchPlusIcon: SearchPlusIcon,
|
|
188
|
+
TimesIcon: TimesIcon
|
|
173
189
|
},
|
|
174
190
|
directives: {
|
|
175
191
|
focustrap: FocusTrap
|
|
176
192
|
}
|
|
177
193
|
};
|
|
178
194
|
|
|
179
|
-
const _hoisted_1 =
|
|
180
|
-
const _hoisted_2 =
|
|
181
|
-
const _hoisted_3 =
|
|
195
|
+
const _hoisted_1 = ["aria-modal"];
|
|
196
|
+
const _hoisted_2 = { class: "p-image-toolbar" };
|
|
197
|
+
const _hoisted_3 = ["aria-label"];
|
|
182
198
|
const _hoisted_4 = ["aria-label"];
|
|
183
|
-
const _hoisted_5 =
|
|
184
|
-
const _hoisted_6 = [
|
|
185
|
-
_hoisted_5
|
|
186
|
-
];
|
|
199
|
+
const _hoisted_5 = ["disabled", "aria-label"];
|
|
200
|
+
const _hoisted_6 = ["disabled", "aria-label"];
|
|
187
201
|
const _hoisted_7 = ["aria-label"];
|
|
188
|
-
const _hoisted_8 =
|
|
189
|
-
const _hoisted_9 = [
|
|
190
|
-
_hoisted_8
|
|
191
|
-
];
|
|
192
|
-
const _hoisted_10 = ["disabled", "aria-label"];
|
|
193
|
-
const _hoisted_11 = /*#__PURE__*/createElementVNode("i", { class: "pi pi-search-minus" }, null, -1);
|
|
194
|
-
const _hoisted_12 = [
|
|
195
|
-
_hoisted_11
|
|
196
|
-
];
|
|
197
|
-
const _hoisted_13 = ["disabled", "aria-label"];
|
|
198
|
-
const _hoisted_14 = /*#__PURE__*/createElementVNode("i", { class: "pi pi-search-plus" }, null, -1);
|
|
199
|
-
const _hoisted_15 = [
|
|
200
|
-
_hoisted_14
|
|
201
|
-
];
|
|
202
|
-
const _hoisted_16 = ["aria-label"];
|
|
203
|
-
const _hoisted_17 = /*#__PURE__*/createElementVNode("i", { class: "pi pi-times" }, null, -1);
|
|
204
|
-
const _hoisted_18 = [
|
|
205
|
-
_hoisted_17
|
|
206
|
-
];
|
|
207
|
-
const _hoisted_19 = { key: 0 };
|
|
208
|
-
const _hoisted_20 = ["src"];
|
|
202
|
+
const _hoisted_8 = { key: 0 };
|
|
203
|
+
const _hoisted_9 = ["src"];
|
|
209
204
|
|
|
210
205
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
206
|
+
const _component_RefreshIcon = resolveComponent("RefreshIcon");
|
|
207
|
+
const _component_UndoIcon = resolveComponent("UndoIcon");
|
|
208
|
+
const _component_SearchMinusIcon = resolveComponent("SearchMinusIcon");
|
|
209
|
+
const _component_SearchPlusIcon = resolveComponent("SearchPlusIcon");
|
|
210
|
+
const _component_TimesIcon = resolveComponent("TimesIcon");
|
|
211
211
|
const _component_Portal = resolveComponent("Portal");
|
|
212
212
|
const _directive_focustrap = resolveDirective("focustrap");
|
|
213
213
|
|
|
@@ -227,8 +227,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
227
227
|
class: "p-image-preview-indicator",
|
|
228
228
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.onImageClick && $options.onImageClick(...args)))
|
|
229
229
|
}, $props.previewButtonProps), [
|
|
230
|
-
renderSlot(_ctx.$slots, "
|
|
231
|
-
|
|
230
|
+
renderSlot(_ctx.$slots, "indicatoricon", {}, () => [
|
|
231
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.indicatorIcon ? 'i' : 'EyeIcon'), { class: "p-image-preview-icon" }))
|
|
232
232
|
])
|
|
233
233
|
], 16))
|
|
234
234
|
: createCommentVNode("", true),
|
|
@@ -244,40 +244,60 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
244
|
onClick: _cache[8] || (_cache[8] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args))),
|
|
245
245
|
onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onMaskKeydown && $options.onMaskKeydown(...args)))
|
|
246
246
|
}, [
|
|
247
|
-
createElementVNode("div",
|
|
247
|
+
createElementVNode("div", _hoisted_2, [
|
|
248
248
|
createElementVNode("button", {
|
|
249
249
|
class: "p-image-action p-link",
|
|
250
250
|
onClick: _cache[2] || (_cache[2] = (...args) => ($options.rotateRight && $options.rotateRight(...args))),
|
|
251
251
|
type: "button",
|
|
252
252
|
"aria-label": $options.rightAriaLabel
|
|
253
|
-
},
|
|
253
|
+
}, [
|
|
254
|
+
renderSlot(_ctx.$slots, "refresh", {}, () => [
|
|
255
|
+
createVNode(_component_RefreshIcon)
|
|
256
|
+
])
|
|
257
|
+
], 8, _hoisted_3),
|
|
254
258
|
createElementVNode("button", {
|
|
255
259
|
class: "p-image-action p-link",
|
|
256
260
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.rotateLeft && $options.rotateLeft(...args))),
|
|
257
261
|
type: "button",
|
|
258
262
|
"aria-label": $options.leftAriaLabel
|
|
259
|
-
},
|
|
263
|
+
}, [
|
|
264
|
+
renderSlot(_ctx.$slots, "undo", {}, () => [
|
|
265
|
+
createVNode(_component_UndoIcon)
|
|
266
|
+
])
|
|
267
|
+
], 8, _hoisted_4),
|
|
260
268
|
createElementVNode("button", {
|
|
261
269
|
class: "p-image-action p-link",
|
|
262
270
|
onClick: _cache[4] || (_cache[4] = (...args) => ($options.zoomOut && $options.zoomOut(...args))),
|
|
263
271
|
type: "button",
|
|
264
272
|
disabled: $options.zoomDisabled,
|
|
265
273
|
"aria-label": $options.zoomOutAriaLabel
|
|
266
|
-
},
|
|
274
|
+
}, [
|
|
275
|
+
renderSlot(_ctx.$slots, "zoomout", {}, () => [
|
|
276
|
+
createVNode(_component_SearchMinusIcon)
|
|
277
|
+
])
|
|
278
|
+
], 8, _hoisted_5),
|
|
267
279
|
createElementVNode("button", {
|
|
268
280
|
class: "p-image-action p-link",
|
|
269
281
|
onClick: _cache[5] || (_cache[5] = (...args) => ($options.zoomIn && $options.zoomIn(...args))),
|
|
270
282
|
type: "button",
|
|
271
283
|
disabled: $options.zoomDisabled,
|
|
272
284
|
"aria-label": $options.zoomInAriaLabel
|
|
273
|
-
},
|
|
285
|
+
}, [
|
|
286
|
+
renderSlot(_ctx.$slots, "zoomin", {}, () => [
|
|
287
|
+
createVNode(_component_SearchPlusIcon)
|
|
288
|
+
])
|
|
289
|
+
], 8, _hoisted_6),
|
|
274
290
|
createElementVNode("button", {
|
|
275
291
|
class: "p-image-action p-link",
|
|
276
292
|
type: "button",
|
|
277
293
|
onClick: _cache[6] || (_cache[6] = (...args) => (_ctx.hidePreview && _ctx.hidePreview(...args))),
|
|
278
294
|
"aria-label": $options.closeAriaLabel,
|
|
279
295
|
autofocus: ""
|
|
280
|
-
},
|
|
296
|
+
}, [
|
|
297
|
+
renderSlot(_ctx.$slots, "close", {}, () => [
|
|
298
|
+
createVNode(_component_TimesIcon)
|
|
299
|
+
])
|
|
300
|
+
], 8, _hoisted_7)
|
|
281
301
|
]),
|
|
282
302
|
createVNode(Transition, {
|
|
283
303
|
name: "p-image-preview",
|
|
@@ -289,24 +309,24 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
289
309
|
}, {
|
|
290
310
|
default: withCtx(() => [
|
|
291
311
|
($data.previewVisible)
|
|
292
|
-
? (openBlock(), createElementBlock("div",
|
|
312
|
+
? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
293
313
|
createElementVNode("img", {
|
|
294
314
|
src: _ctx.$attrs.src,
|
|
295
315
|
class: "p-image-preview",
|
|
296
316
|
style: normalizeStyle($options.imagePreviewStyle),
|
|
297
317
|
onClick: _cache[7] || (_cache[7] = (...args) => ($options.onPreviewImageClick && $options.onPreviewImageClick(...args)))
|
|
298
|
-
}, null, 12,
|
|
318
|
+
}, null, 12, _hoisted_9)
|
|
299
319
|
]))
|
|
300
320
|
: createCommentVNode("", true)
|
|
301
321
|
]),
|
|
302
322
|
_: 1
|
|
303
323
|
}, 8, ["onBeforeEnter", "onEnter", "onLeave", "onBeforeLeave", "onAfterLeave"])
|
|
304
|
-
], 42,
|
|
324
|
+
], 42, _hoisted_1)), [
|
|
305
325
|
[_directive_focustrap]
|
|
306
326
|
])
|
|
307
327
|
: createCommentVNode("", true)
|
|
308
328
|
]),
|
|
309
|
-
_:
|
|
329
|
+
_: 3
|
|
310
330
|
})
|
|
311
331
|
], 6))
|
|
312
332
|
}
|
|
@@ -338,7 +358,7 @@ function styleInject(css, ref) {
|
|
|
338
358
|
}
|
|
339
359
|
}
|
|
340
360
|
|
|
341
|
-
var css_248z = "\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-
|
|
361
|
+
var css_248z = "\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n}\n.p-image-preview-container > img {\n cursor: pointer;\n}\n.p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n}\n.p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n.p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-image-preview-enter-from,\n.p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n";
|
|
342
362
|
styleInject(css_248z);
|
|
343
363
|
|
|
344
364
|
script.render = render;
|
package/image/image.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/focustrap";import i from"primevue/portal";import{ZIndexUtils as
|
|
1
|
+
import e from"primevue/focustrap";import i from"primevue/icons/eye";import t from"primevue/icons/refresh";import o from"primevue/icons/searchminus";import a from"primevue/icons/searchplus";import n from"primevue/icons/times";import r from"primevue/icons/undo";import s from"primevue/portal";import{ZIndexUtils as l,DomHandler as c}from"primevue/utils";import{resolveComponent as m,resolveDirective as p,openBlock as u,createElementBlock as v,normalizeClass as f,normalizeStyle as h,createElementVNode as d,mergeProps as g,renderSlot as b,createBlock as k,resolveDynamicComponent as y,createCommentVNode as w,createVNode as C,withCtx as I,withDirectives as L,Transition as $}from"vue";var z={name:"Image",inheritAttrs:!1,emits:["show","hide","error"],props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0}},mask:null,data:()=>({maskVisible:!1,previewVisible:!1,rotate:0,scale:1}),beforeUnmount(){this.mask&&l.clear(this.container)},methods:{maskRef(e){this.mask=e},toolbarRef(e){this.toolbarRef=e},onImageClick(){this.preview&&(this.maskVisible=!0,setTimeout((()=>{this.previewVisible=!0}),25))},onPreviewImageClick(){this.previewClick=!0},onMaskClick(){this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown(e){if("Escape"===e.code)this.onMaskClick(),setTimeout((()=>{c.focus(this.$refs.previewButton)}),25),e.preventDefault()},onError(){this.$emit("error")},rotateRight(){this.rotate+=90,this.previewClick=!0},rotateLeft(){this.rotate-=90,this.previewClick=!0},zoomIn(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter(){l.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter(){this.focus(),this.$emit("show")},onBeforeLeave(){c.addClass(this.mask,"p-component-overlay-leave")},onLeave(){this.$emit("hide")},onAfterLeave(e){l.clear(e),this.maskVisible=!1},focus(){let e=this.mask.querySelector("[autofocus]");e&&e.focus()}},computed:{containerClass(){return["p-image p-component",this.class,{"p-image-preview-container":this.preview}]},maskClass:()=>["p-image-mask p-component-overlay p-component-overlay-enter"],rotateClass(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},zoomDisabled(){return this.scale<=.5||this.scale>=1.5},rightAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:s,EyeIcon:i,RefreshIcon:t,UndoIcon:r,SearchMinusIcon:o,SearchPlusIcon:a,TimesIcon:n},directives:{focustrap:e}};const E=["aria-modal"],A={class:"p-image-toolbar"},B=["aria-label"],P=["aria-label"],S=["disabled","aria-label"],x=["disabled","aria-label"],R=["aria-label"],M={key:0},V=["src"];!function(e,i){void 0===i&&(i={});var t=i.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n}\n.p-image-preview-container > img {\n cursor: pointer;\n}\n.p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n}\n.p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n.p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-image-preview-enter-from,\n.p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n"),z.render=function(e,i,t,o,a,n){const r=m("RefreshIcon"),s=m("UndoIcon"),l=m("SearchMinusIcon"),c=m("SearchPlusIcon"),z=m("TimesIcon"),T=m("Portal"),O=p("focustrap");return u(),v("span",{class:f(n.containerClass),style:h(t.style)},[d("img",g(e.$attrs,{style:t.imageStyle,class:t.imageClass,onError:i[0]||(i[0]=(...e)=>n.onError&&n.onError(...e))}),null,16),t.preview?(u(),v("button",g({key:0,ref:"previewButton",class:"p-image-preview-indicator",onClick:i[1]||(i[1]=(...e)=>n.onImageClick&&n.onImageClick(...e))},t.previewButtonProps),[b(e.$slots,"indicatoricon",{},(()=>[(u(),k(y(t.indicatorIcon?"i":"EyeIcon"),{class:"p-image-preview-icon"}))]))],16)):w("",!0),C(T,null,{default:I((()=>[a.maskVisible?L((u(),v("div",{key:0,ref:n.maskRef,role:"dialog",class:f(n.maskClass),"aria-modal":a.maskVisible,onClick:i[8]||(i[8]=(...e)=>n.onMaskClick&&n.onMaskClick(...e)),onKeydown:i[9]||(i[9]=(...e)=>n.onMaskKeydown&&n.onMaskKeydown(...e))},[d("div",A,[d("button",{class:"p-image-action p-link",onClick:i[2]||(i[2]=(...e)=>n.rotateRight&&n.rotateRight(...e)),type:"button","aria-label":n.rightAriaLabel},[b(e.$slots,"refresh",{},(()=>[C(r)]))],8,B),d("button",{class:"p-image-action p-link",onClick:i[3]||(i[3]=(...e)=>n.rotateLeft&&n.rotateLeft(...e)),type:"button","aria-label":n.leftAriaLabel},[b(e.$slots,"undo",{},(()=>[C(s)]))],8,P),d("button",{class:"p-image-action p-link",onClick:i[4]||(i[4]=(...e)=>n.zoomOut&&n.zoomOut(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomOutAriaLabel},[b(e.$slots,"zoomout",{},(()=>[C(l)]))],8,S),d("button",{class:"p-image-action p-link",onClick:i[5]||(i[5]=(...e)=>n.zoomIn&&n.zoomIn(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomInAriaLabel},[b(e.$slots,"zoomin",{},(()=>[C(c)]))],8,x),d("button",{class:"p-image-action p-link",type:"button",onClick:i[6]||(i[6]=(...i)=>e.hidePreview&&e.hidePreview(...i)),"aria-label":n.closeAriaLabel,autofocus:""},[b(e.$slots,"close",{},(()=>[C(z)]))],8,R)]),C($,{name:"p-image-preview",onBeforeEnter:n.onBeforeEnter,onEnter:n.onEnter,onLeave:n.onLeave,onBeforeLeave:n.onBeforeLeave,onAfterLeave:n.onAfterLeave},{default:I((()=>[a.previewVisible?(u(),v("div",M,[d("img",{src:e.$attrs.src,class:"p-image-preview",style:h(n.imagePreviewStyle),onClick:i[7]||(i[7]=(...e)=>n.onPreviewImageClick&&n.onPreviewImageClick(...e))},null,12,V)])):w("",!0)])),_:1},8,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],42,E)),[[O]]):w("",!0)])),_:3})],6)};export{z as default};
|
package/image/image.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
2
|
+
this.primevue.image = (function (FocusTrap, EyeIcon, RefreshIcon, SearchMinusIcon, SearchPlusIcon, TimesIcon, UndoIcon, Portal, utils, vue) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
6
|
|
|
7
7
|
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
8
|
+
var EyeIcon__default = /*#__PURE__*/_interopDefaultLegacy(EyeIcon);
|
|
9
|
+
var RefreshIcon__default = /*#__PURE__*/_interopDefaultLegacy(RefreshIcon);
|
|
10
|
+
var SearchMinusIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchMinusIcon);
|
|
11
|
+
var SearchPlusIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchPlusIcon);
|
|
12
|
+
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
13
|
+
var UndoIcon__default = /*#__PURE__*/_interopDefaultLegacy(UndoIcon);
|
|
8
14
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
9
15
|
|
|
10
16
|
var script = {
|
|
@@ -35,6 +41,10 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
35
41
|
previewButtonProps: {
|
|
36
42
|
type: null,
|
|
37
43
|
default: null
|
|
44
|
+
},
|
|
45
|
+
indicatorIcon: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: undefined
|
|
38
48
|
}
|
|
39
49
|
},
|
|
40
50
|
mask: null,
|
|
@@ -173,45 +183,35 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
173
183
|
}
|
|
174
184
|
},
|
|
175
185
|
components: {
|
|
176
|
-
Portal: Portal__default["default"]
|
|
186
|
+
Portal: Portal__default["default"],
|
|
187
|
+
EyeIcon: EyeIcon__default["default"],
|
|
188
|
+
RefreshIcon: RefreshIcon__default["default"],
|
|
189
|
+
UndoIcon: UndoIcon__default["default"],
|
|
190
|
+
SearchMinusIcon: SearchMinusIcon__default["default"],
|
|
191
|
+
SearchPlusIcon: SearchPlusIcon__default["default"],
|
|
192
|
+
TimesIcon: TimesIcon__default["default"]
|
|
177
193
|
},
|
|
178
194
|
directives: {
|
|
179
195
|
focustrap: FocusTrap__default["default"]
|
|
180
196
|
}
|
|
181
197
|
};
|
|
182
198
|
|
|
183
|
-
const _hoisted_1 =
|
|
184
|
-
const _hoisted_2 =
|
|
185
|
-
const _hoisted_3 =
|
|
199
|
+
const _hoisted_1 = ["aria-modal"];
|
|
200
|
+
const _hoisted_2 = { class: "p-image-toolbar" };
|
|
201
|
+
const _hoisted_3 = ["aria-label"];
|
|
186
202
|
const _hoisted_4 = ["aria-label"];
|
|
187
|
-
const _hoisted_5 =
|
|
188
|
-
const _hoisted_6 = [
|
|
189
|
-
_hoisted_5
|
|
190
|
-
];
|
|
203
|
+
const _hoisted_5 = ["disabled", "aria-label"];
|
|
204
|
+
const _hoisted_6 = ["disabled", "aria-label"];
|
|
191
205
|
const _hoisted_7 = ["aria-label"];
|
|
192
|
-
const _hoisted_8 =
|
|
193
|
-
const _hoisted_9 = [
|
|
194
|
-
_hoisted_8
|
|
195
|
-
];
|
|
196
|
-
const _hoisted_10 = ["disabled", "aria-label"];
|
|
197
|
-
const _hoisted_11 = /*#__PURE__*/vue.createElementVNode("i", { class: "pi pi-search-minus" }, null, -1);
|
|
198
|
-
const _hoisted_12 = [
|
|
199
|
-
_hoisted_11
|
|
200
|
-
];
|
|
201
|
-
const _hoisted_13 = ["disabled", "aria-label"];
|
|
202
|
-
const _hoisted_14 = /*#__PURE__*/vue.createElementVNode("i", { class: "pi pi-search-plus" }, null, -1);
|
|
203
|
-
const _hoisted_15 = [
|
|
204
|
-
_hoisted_14
|
|
205
|
-
];
|
|
206
|
-
const _hoisted_16 = ["aria-label"];
|
|
207
|
-
const _hoisted_17 = /*#__PURE__*/vue.createElementVNode("i", { class: "pi pi-times" }, null, -1);
|
|
208
|
-
const _hoisted_18 = [
|
|
209
|
-
_hoisted_17
|
|
210
|
-
];
|
|
211
|
-
const _hoisted_19 = { key: 0 };
|
|
212
|
-
const _hoisted_20 = ["src"];
|
|
206
|
+
const _hoisted_8 = { key: 0 };
|
|
207
|
+
const _hoisted_9 = ["src"];
|
|
213
208
|
|
|
214
209
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
210
|
+
const _component_RefreshIcon = vue.resolveComponent("RefreshIcon");
|
|
211
|
+
const _component_UndoIcon = vue.resolveComponent("UndoIcon");
|
|
212
|
+
const _component_SearchMinusIcon = vue.resolveComponent("SearchMinusIcon");
|
|
213
|
+
const _component_SearchPlusIcon = vue.resolveComponent("SearchPlusIcon");
|
|
214
|
+
const _component_TimesIcon = vue.resolveComponent("TimesIcon");
|
|
215
215
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
216
216
|
const _directive_focustrap = vue.resolveDirective("focustrap");
|
|
217
217
|
|
|
@@ -231,8 +231,8 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
231
231
|
class: "p-image-preview-indicator",
|
|
232
232
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.onImageClick && $options.onImageClick(...args)))
|
|
233
233
|
}, $props.previewButtonProps), [
|
|
234
|
-
vue.renderSlot(_ctx.$slots, "
|
|
235
|
-
|
|
234
|
+
vue.renderSlot(_ctx.$slots, "indicatoricon", {}, () => [
|
|
235
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.indicatorIcon ? 'i' : 'EyeIcon'), { class: "p-image-preview-icon" }))
|
|
236
236
|
])
|
|
237
237
|
], 16))
|
|
238
238
|
: vue.createCommentVNode("", true),
|
|
@@ -248,40 +248,60 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
248
248
|
onClick: _cache[8] || (_cache[8] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args))),
|
|
249
249
|
onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onMaskKeydown && $options.onMaskKeydown(...args)))
|
|
250
250
|
}, [
|
|
251
|
-
vue.createElementVNode("div",
|
|
251
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
252
252
|
vue.createElementVNode("button", {
|
|
253
253
|
class: "p-image-action p-link",
|
|
254
254
|
onClick: _cache[2] || (_cache[2] = (...args) => ($options.rotateRight && $options.rotateRight(...args))),
|
|
255
255
|
type: "button",
|
|
256
256
|
"aria-label": $options.rightAriaLabel
|
|
257
|
-
},
|
|
257
|
+
}, [
|
|
258
|
+
vue.renderSlot(_ctx.$slots, "refresh", {}, () => [
|
|
259
|
+
vue.createVNode(_component_RefreshIcon)
|
|
260
|
+
])
|
|
261
|
+
], 8, _hoisted_3),
|
|
258
262
|
vue.createElementVNode("button", {
|
|
259
263
|
class: "p-image-action p-link",
|
|
260
264
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.rotateLeft && $options.rotateLeft(...args))),
|
|
261
265
|
type: "button",
|
|
262
266
|
"aria-label": $options.leftAriaLabel
|
|
263
|
-
},
|
|
267
|
+
}, [
|
|
268
|
+
vue.renderSlot(_ctx.$slots, "undo", {}, () => [
|
|
269
|
+
vue.createVNode(_component_UndoIcon)
|
|
270
|
+
])
|
|
271
|
+
], 8, _hoisted_4),
|
|
264
272
|
vue.createElementVNode("button", {
|
|
265
273
|
class: "p-image-action p-link",
|
|
266
274
|
onClick: _cache[4] || (_cache[4] = (...args) => ($options.zoomOut && $options.zoomOut(...args))),
|
|
267
275
|
type: "button",
|
|
268
276
|
disabled: $options.zoomDisabled,
|
|
269
277
|
"aria-label": $options.zoomOutAriaLabel
|
|
270
|
-
},
|
|
278
|
+
}, [
|
|
279
|
+
vue.renderSlot(_ctx.$slots, "zoomout", {}, () => [
|
|
280
|
+
vue.createVNode(_component_SearchMinusIcon)
|
|
281
|
+
])
|
|
282
|
+
], 8, _hoisted_5),
|
|
271
283
|
vue.createElementVNode("button", {
|
|
272
284
|
class: "p-image-action p-link",
|
|
273
285
|
onClick: _cache[5] || (_cache[5] = (...args) => ($options.zoomIn && $options.zoomIn(...args))),
|
|
274
286
|
type: "button",
|
|
275
287
|
disabled: $options.zoomDisabled,
|
|
276
288
|
"aria-label": $options.zoomInAriaLabel
|
|
277
|
-
},
|
|
289
|
+
}, [
|
|
290
|
+
vue.renderSlot(_ctx.$slots, "zoomin", {}, () => [
|
|
291
|
+
vue.createVNode(_component_SearchPlusIcon)
|
|
292
|
+
])
|
|
293
|
+
], 8, _hoisted_6),
|
|
278
294
|
vue.createElementVNode("button", {
|
|
279
295
|
class: "p-image-action p-link",
|
|
280
296
|
type: "button",
|
|
281
297
|
onClick: _cache[6] || (_cache[6] = (...args) => (_ctx.hidePreview && _ctx.hidePreview(...args))),
|
|
282
298
|
"aria-label": $options.closeAriaLabel,
|
|
283
299
|
autofocus: ""
|
|
284
|
-
},
|
|
300
|
+
}, [
|
|
301
|
+
vue.renderSlot(_ctx.$slots, "close", {}, () => [
|
|
302
|
+
vue.createVNode(_component_TimesIcon)
|
|
303
|
+
])
|
|
304
|
+
], 8, _hoisted_7)
|
|
285
305
|
]),
|
|
286
306
|
vue.createVNode(vue.Transition, {
|
|
287
307
|
name: "p-image-preview",
|
|
@@ -293,24 +313,24 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
293
313
|
}, {
|
|
294
314
|
default: vue.withCtx(() => [
|
|
295
315
|
($data.previewVisible)
|
|
296
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
316
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
297
317
|
vue.createElementVNode("img", {
|
|
298
318
|
src: _ctx.$attrs.src,
|
|
299
319
|
class: "p-image-preview",
|
|
300
320
|
style: vue.normalizeStyle($options.imagePreviewStyle),
|
|
301
321
|
onClick: _cache[7] || (_cache[7] = (...args) => ($options.onPreviewImageClick && $options.onPreviewImageClick(...args)))
|
|
302
|
-
}, null, 12,
|
|
322
|
+
}, null, 12, _hoisted_9)
|
|
303
323
|
]))
|
|
304
324
|
: vue.createCommentVNode("", true)
|
|
305
325
|
]),
|
|
306
326
|
_: 1
|
|
307
327
|
}, 8, ["onBeforeEnter", "onEnter", "onLeave", "onBeforeLeave", "onAfterLeave"])
|
|
308
|
-
], 42,
|
|
328
|
+
], 42, _hoisted_1)), [
|
|
309
329
|
[_directive_focustrap]
|
|
310
330
|
])
|
|
311
331
|
: vue.createCommentVNode("", true)
|
|
312
332
|
]),
|
|
313
|
-
_:
|
|
333
|
+
_: 3
|
|
314
334
|
})
|
|
315
335
|
], 6))
|
|
316
336
|
}
|
|
@@ -342,11 +362,11 @@ this.primevue.image = (function (FocusTrap, Portal, utils, vue) {
|
|
|
342
362
|
}
|
|
343
363
|
}
|
|
344
364
|
|
|
345
|
-
var css_248z = "\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-
|
|
365
|
+
var css_248z = "\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n}\n.p-image-preview-container > img {\n cursor: pointer;\n}\n.p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n}\n.p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n.p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-image-preview-enter-from,\n.p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n";
|
|
346
366
|
styleInject(css_248z);
|
|
347
367
|
|
|
348
368
|
script.render = render;
|
|
349
369
|
|
|
350
370
|
return script;
|
|
351
371
|
|
|
352
|
-
})(primevue.focustrap, primevue.portal, primevue.utils, Vue);
|
|
372
|
+
})(primevue.focustrap, primevue.icons.eye, primevue.icons.refresh, primevue.icons.searchminus, primevue.icons.searchplus, primevue.icons.times, primevue.icons.undo, primevue.portal, primevue.utils, Vue);
|
package/image/image.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.image=function(e,i,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.image=function(e,t,i,o,a,n,r,l,s,c){"use strict";function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),u=m(t),d=m(i),v=m(o),h=m(a),f=m(n),g=m(r),k={name:"Image",inheritAttrs:!1,emits:["show","hide","error"],props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0}},mask:null,data:()=>({maskVisible:!1,previewVisible:!1,rotate:0,scale:1}),beforeUnmount(){this.mask&&s.ZIndexUtils.clear(this.container)},methods:{maskRef(e){this.mask=e},toolbarRef(e){this.toolbarRef=e},onImageClick(){this.preview&&(this.maskVisible=!0,setTimeout((()=>{this.previewVisible=!0}),25))},onPreviewImageClick(){this.previewClick=!0},onMaskClick(){this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown(e){if("Escape"===e.code)this.onMaskClick(),setTimeout((()=>{s.DomHandler.focus(this.$refs.previewButton)}),25),e.preventDefault()},onError(){this.$emit("error")},rotateRight(){this.rotate+=90,this.previewClick=!0},rotateLeft(){this.rotate-=90,this.previewClick=!0},zoomIn(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter(){s.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter(){this.focus(),this.$emit("show")},onBeforeLeave(){s.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave(){this.$emit("hide")},onAfterLeave(e){s.ZIndexUtils.clear(e),this.maskVisible=!1},focus(){let e=this.mask.querySelector("[autofocus]");e&&e.focus()}},computed:{containerClass(){return["p-image p-component",this.class,{"p-image-preview-container":this.preview}]},maskClass:()=>["p-image-mask p-component-overlay p-component-overlay-enter"],rotateClass(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},zoomDisabled(){return this.scale<=.5||this.scale>=1.5},rightAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:m(l).default,EyeIcon:u.default,RefreshIcon:d.default,UndoIcon:g.default,SearchMinusIcon:v.default,SearchPlusIcon:h.default,TimesIcon:f.default},directives:{focustrap:p.default}};const b=["aria-modal"],y={class:"p-image-toolbar"},w=["aria-label"],C=["aria-label"],I=["disabled","aria-label"],E=["disabled","aria-label"],V=["aria-label"],L={key:0},B=["src"];return function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-image-preview-container {\n position: relative;\n display: inline-block;\n}\n.p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n}\n.p-image-preview-container > img {\n cursor: pointer;\n}\n.p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n}\n.p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n.p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-image-preview-enter-from,\n.p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n"),k.render=function(e,t,i,o,a,n){const r=c.resolveComponent("RefreshIcon"),l=c.resolveComponent("UndoIcon"),s=c.resolveComponent("SearchMinusIcon"),m=c.resolveComponent("SearchPlusIcon"),p=c.resolveComponent("TimesIcon"),u=c.resolveComponent("Portal"),d=c.resolveDirective("focustrap");return c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(n.containerClass),style:c.normalizeStyle(i.style)},[c.createElementVNode("img",c.mergeProps(e.$attrs,{style:i.imageStyle,class:i.imageClass,onError:t[0]||(t[0]=(...e)=>n.onError&&n.onError(...e))}),null,16),i.preview?(c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,ref:"previewButton",class:"p-image-preview-indicator",onClick:t[1]||(t[1]=(...e)=>n.onImageClick&&n.onImageClick(...e))},i.previewButtonProps),[c.renderSlot(e.$slots,"indicatoricon",{},(()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i.indicatorIcon?"i":"EyeIcon"),{class:"p-image-preview-icon"}))]))],16)):c.createCommentVNode("",!0),c.createVNode(u,null,{default:c.withCtx((()=>[a.maskVisible?c.withDirectives((c.openBlock(),c.createElementBlock("div",{key:0,ref:n.maskRef,role:"dialog",class:c.normalizeClass(n.maskClass),"aria-modal":a.maskVisible,onClick:t[8]||(t[8]=(...e)=>n.onMaskClick&&n.onMaskClick(...e)),onKeydown:t[9]||(t[9]=(...e)=>n.onMaskKeydown&&n.onMaskKeydown(...e))},[c.createElementVNode("div",y,[c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[2]||(t[2]=(...e)=>n.rotateRight&&n.rotateRight(...e)),type:"button","aria-label":n.rightAriaLabel},[c.renderSlot(e.$slots,"refresh",{},(()=>[c.createVNode(r)]))],8,w),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[3]||(t[3]=(...e)=>n.rotateLeft&&n.rotateLeft(...e)),type:"button","aria-label":n.leftAriaLabel},[c.renderSlot(e.$slots,"undo",{},(()=>[c.createVNode(l)]))],8,C),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[4]||(t[4]=(...e)=>n.zoomOut&&n.zoomOut(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomOutAriaLabel},[c.renderSlot(e.$slots,"zoomout",{},(()=>[c.createVNode(s)]))],8,I),c.createElementVNode("button",{class:"p-image-action p-link",onClick:t[5]||(t[5]=(...e)=>n.zoomIn&&n.zoomIn(...e)),type:"button",disabled:n.zoomDisabled,"aria-label":n.zoomInAriaLabel},[c.renderSlot(e.$slots,"zoomin",{},(()=>[c.createVNode(m)]))],8,E),c.createElementVNode("button",{class:"p-image-action p-link",type:"button",onClick:t[6]||(t[6]=(...t)=>e.hidePreview&&e.hidePreview(...t)),"aria-label":n.closeAriaLabel,autofocus:""},[c.renderSlot(e.$slots,"close",{},(()=>[c.createVNode(p)]))],8,V)]),c.createVNode(c.Transition,{name:"p-image-preview",onBeforeEnter:n.onBeforeEnter,onEnter:n.onEnter,onLeave:n.onLeave,onBeforeLeave:n.onBeforeLeave,onAfterLeave:n.onAfterLeave},{default:c.withCtx((()=>[a.previewVisible?(c.openBlock(),c.createElementBlock("div",L,[c.createElementVNode("img",{src:e.$attrs.src,class:"p-image-preview",style:c.normalizeStyle(n.imagePreviewStyle),onClick:t[7]||(t[7]=(...e)=>n.onPreviewImageClick&&n.onPreviewImageClick(...e))},null,12,B)])):c.createCommentVNode("",!0)])),_:1},8,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],42,b)),[[d]]):c.createCommentVNode("",!0)])),_:3})],6)},k}(primevue.focustrap,primevue.icons.eye,primevue.icons.refresh,primevue.icons.searchminus,primevue.icons.searchplus,primevue.icons.times,primevue.icons.undo,primevue.portal,primevue.utils,Vue);
|
|
@@ -18,7 +18,12 @@ export interface InlineMessageProps {
|
|
|
18
18
|
* Severity level of the message.
|
|
19
19
|
* @defaultValue info
|
|
20
20
|
*/
|
|
21
|
-
severity?: 'success' | 'info' | 'warn' | 'error' | undefined;
|
|
21
|
+
severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Display a custom icon for the message.
|
|
24
|
+
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
25
|
+
*/
|
|
26
|
+
icon?: string | undefined;
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
29
|
* Defines valid slots in InlineMessage slots.
|
|
@@ -28,6 +33,10 @@ export interface InlineMessageSlots {
|
|
|
28
33
|
* Default custom slot.
|
|
29
34
|
*/
|
|
30
35
|
default(): VNode[];
|
|
36
|
+
/**
|
|
37
|
+
* Custom message icon template.
|
|
38
|
+
*/
|
|
39
|
+
icon(): VNode[];
|
|
31
40
|
}
|
|
32
41
|
|
|
33
42
|
export interface InlineMessageEmits {}
|