primevue 3.20.0 → 3.22.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 +3 -15
- package/accordion/accordion.cjs.js +1 -1
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -1
- package/accordion/accordion.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +9 -1
- package/autocomplete/AutoComplete.vue +41 -22
- package/autocomplete/autocomplete.cjs.js +53 -25
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +53 -25
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +53 -25
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +1 -1
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +1 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -1
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +1 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -1
- package/avatargroup/avatargroup.min.js +1 -1
- package/badgedirective/badgedirective.cjs.js +1 -1
- package/badgedirective/badgedirective.cjs.min.js +1 -1
- package/badgedirective/badgedirective.esm.js +1 -1
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +1 -1
- package/badgedirective/badgedirective.min.js +1 -1
- package/breadcrumb/Breadcrumb.vue +1 -1
- package/breadcrumb/breadcrumb.cjs.js +2 -3
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +2 -3
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +2 -3
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/Calendar.d.ts +1 -1
- package/calendar/Calendar.vue +3 -2
- package/calendar/calendar.cjs.js +4 -3
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +4 -3
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +4 -3
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.d.ts +9 -1
- package/carousel/Carousel.vue +144 -19
- package/carousel/carousel.cjs.js +159 -45
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +160 -46
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +160 -46
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.vue +9 -4
- package/cascadeselect/cascadeselect.cjs.js +9 -4
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +9 -4
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +9 -4
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +5 -0
- package/chart/Chart.vue +5 -1
- package/chart/chart.cjs.js +6 -2
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -3
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +6 -2
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.vue +1 -3
- package/checkbox/checkbox.cjs.js +3 -4
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +4 -5
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +3 -4
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +1 -1
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +1 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -1
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +1 -1
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -1
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.vue +5 -7
- package/colorpicker/colorpicker.cjs.js +5 -7
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +5 -7
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +6 -8
- package/colorpicker/colorpicker.min.js +1 -1
- package/config/PrimeVue.d.ts +37 -0
- package/config/config.cjs.js +38 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +38 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +38 -1
- package/config/config.min.js +1 -1
- package/confirmationservice/ConfirmationService.d.ts +1 -1
- package/confirmdialog/ConfirmDialog.vue +1 -1
- package/confirmdialog/confirmdialog.cjs.js +6 -3
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +7 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +6 -3
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +11 -10
- package/confirmpopup/confirmpopup.cjs.js +15 -13
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +15 -13
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +15 -13
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenuSub.vue +3 -5
- package/contextmenu/contextmenu.cjs.js +4 -6
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +4 -6
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +4 -6
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +537 -261
- package/core/core.min.js +13 -13
- package/datatable/BodyCell.vue +39 -14
- package/datatable/ColumnFilter.vue +67 -41
- package/datatable/DataTable.d.ts +11 -3
- package/datatable/DataTable.vue +162 -25
- package/datatable/HeaderCell.vue +12 -6
- package/datatable/HeaderCheckbox.vue +17 -14
- package/datatable/RowCheckbox.vue +28 -13
- package/datatable/RowRadioButton.vue +11 -3
- package/datatable/TableBody.vue +25 -7
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +9 -3
- package/datatable/TableLoadingBody.vue +1 -1
- package/datatable/datatable.cjs.js +540 -269
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +539 -269
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +539 -269
- package/datatable/datatable.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +23 -3
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +40 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +40 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +40 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/dialog/Dialog.vue +12 -7
- package/dialog/dialog.cjs.js +15 -10
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +15 -10
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +15 -10
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +1 -1
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +1 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -1
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +1 -1
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +1 -1
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +1 -1
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.vue +24 -16
- package/dropdown/dropdown.cjs.js +25 -17
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +25 -17
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +25 -17
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.vue +7 -1
- package/editor/editor.cjs.js +35 -6
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +35 -6
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +35 -6
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.vue +1 -1
- package/fieldset/fieldset.cjs.js +2 -2
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +2 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.d.ts +51 -1
- package/fileupload/FileUpload.vue +2 -2
- package/fileupload/fileupload.cjs.js +3 -3
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +3 -3
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +3 -3
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/focustrap.cjs.js +86 -64
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +85 -63
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +86 -64
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/Galleria.d.ts +15 -3
- package/galleria/Galleria.vue +36 -6
- package/galleria/GalleriaContent.vue +11 -7
- package/galleria/GalleriaItem.vue +36 -6
- package/galleria/GalleriaThumbnails.vue +108 -4
- package/galleria/galleria.cjs.js +259 -123
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +258 -123
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +259 -124
- package/galleria/galleria.min.js +1 -1
- package/image/Image.vue +71 -13
- package/image/image.cjs.js +113 -40
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +113 -41
- package/image/image.esm.min.js +1 -1
- package/image/image.js +113 -41
- package/image/image.min.js +1 -1
- package/inlinemessage/inlinemessage.cjs.js +1 -1
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +1 -1
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +1 -1
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/inplace.cjs.js +1 -1
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +1 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +1 -1
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.vue +11 -20
- package/inputnumber/inputnumber.cjs.js +12 -21
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +12 -21
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +12 -21
- package/inputnumber/inputnumber.min.js +1 -1
- package/knob/knob.cjs.js +1 -1
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +1 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +1 -1
- package/knob/knob.min.js +1 -1
- package/listbox/Listbox.vue +12 -8
- package/listbox/listbox.cjs.js +13 -9
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +13 -9
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +14 -10
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.vue +10 -1
- package/megamenu/MegaMenuSub.vue +3 -5
- package/megamenu/megamenu.cjs.js +14 -7
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +14 -7
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +14 -7
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.vue +8 -2
- package/menu/menu.cjs.js +9 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +9 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +9 -3
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.vue +7 -2
- package/menubar/MenubarSub.vue +3 -5
- package/menubar/menubar.cjs.js +11 -8
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +11 -8
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +11 -8
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +5 -1
- package/message/Message.vue +15 -5
- package/message/message.cjs.js +24 -10
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +25 -11
- package/message/message.esm.min.js +1 -1
- package/message/message.js +24 -10
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.vue +53 -36
- package/multiselect/multiselect.cjs.js +54 -37
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +55 -38
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +54 -37
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +33 -1
- package/orderlist/OrderList.vue +265 -63
- package/orderlist/orderlist.cjs.js +280 -70
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +281 -71
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +281 -71
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChartNode.vue +7 -1
- package/organizationchart/organizationchart.cjs.js +8 -2
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +9 -3
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +8 -2
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +1 -1
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +1 -1
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +2 -2
- package/paginator/CurrentPageReport.vue +0 -1
- package/paginator/JumpToPageDropdown.vue +0 -1
- package/paginator/JumpToPageInput.vue +19 -4
- package/paginator/PageLinks.vue +16 -1
- package/paginator/Paginator.vue +24 -11
- package/paginator/RowsPerPageDropdown.vue +0 -1
- package/paginator/paginator.cjs.js +51 -20
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +51 -20
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +51 -20
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.vue +2 -2
- package/panel/panel.cjs.js +3 -3
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +3 -3
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +4 -4
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.vue +4 -4
- package/panelmenu/PanelMenuList.vue +57 -0
- package/panelmenu/PanelMenuSub.vue +3 -5
- package/panelmenu/panelmenu.cjs.js +78 -10
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +78 -10
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +78 -10
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.vue +5 -0
- package/password/password.cjs.js +1 -1
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +1 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +1 -1
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +45 -1
- package/picklist/PickList.vue +305 -58
- package/picklist/picklist.cjs.js +350 -89
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +351 -90
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +351 -90
- package/picklist/picklist.min.js +1 -1
- package/progressbar/progressbar.cjs.js +1 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +1 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -1
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +0 -47
- package/progressspinner/progressspinner.cjs.js +1 -1
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +1 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -1
- package/progressspinner/progressspinner.min.js +1 -1
- package/rating/Rating.d.ts +1 -0
- package/rating/rating.cjs.js +1 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +1 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -1
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +2 -6
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +77 -14
- package/resources/themes/arya-green/theme.css +77 -14
- package/resources/themes/arya-orange/theme.css +77 -14
- package/resources/themes/arya-purple/theme.css +77 -14
- package/resources/themes/bootstrap4-dark-blue/theme.css +77 -14
- package/resources/themes/bootstrap4-dark-purple/theme.css +77 -14
- package/resources/themes/bootstrap4-light-blue/theme.css +77 -14
- package/resources/themes/bootstrap4-light-purple/theme.css +77 -14
- package/resources/themes/fluent-light/theme.css +77 -14
- package/resources/themes/lara-dark-blue/theme.css +81 -14
- package/resources/themes/lara-dark-indigo/theme.css +81 -14
- package/resources/themes/lara-dark-purple/theme.css +81 -14
- package/resources/themes/lara-dark-teal/theme.css +81 -14
- package/resources/themes/lara-light-blue/theme.css +81 -14
- package/resources/themes/lara-light-indigo/theme.css +81 -14
- package/resources/themes/lara-light-purple/theme.css +81 -14
- package/resources/themes/lara-light-teal/theme.css +81 -14
- package/resources/themes/luna-amber/theme.css +77 -14
- package/resources/themes/luna-blue/theme.css +77 -14
- package/resources/themes/luna-green/theme.css +77 -14
- package/resources/themes/luna-pink/theme.css +77 -14
- package/resources/themes/md-dark-deeppurple/theme.css +101 -20
- package/resources/themes/md-dark-indigo/theme.css +101 -20
- package/resources/themes/md-light-deeppurple/theme.css +101 -20
- package/resources/themes/md-light-indigo/theme.css +101 -20
- package/resources/themes/mdc-dark-deeppurple/theme.css +101 -20
- package/resources/themes/mdc-dark-indigo/theme.css +101 -20
- package/resources/themes/mdc-light-deeppurple/theme.css +101 -20
- package/resources/themes/mdc-light-indigo/theme.css +101 -20
- package/resources/themes/nova/theme.css +77 -14
- package/resources/themes/nova-accent/theme.css +77 -14
- package/resources/themes/nova-alt/theme.css +77 -14
- package/resources/themes/nova-vue/theme.css +77 -14
- package/resources/themes/rhea/theme.css +77 -14
- package/resources/themes/saga-blue/theme.css +77 -14
- package/resources/themes/saga-green/theme.css +77 -14
- package/resources/themes/saga-orange/theme.css +77 -14
- package/resources/themes/saga-purple/theme.css +77 -14
- package/resources/themes/tailwind-light/theme.css +81 -14
- package/resources/themes/vela-blue/theme.css +77 -14
- package/resources/themes/vela-green/theme.css +77 -14
- package/resources/themes/vela-orange/theme.css +77 -14
- package/resources/themes/vela-purple/theme.css +77 -14
- package/scrollpanel/scrollpanel.cjs.js +1 -1
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +1 -1
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +1 -1
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +1 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -1
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/SelectButton.vue +1 -1
- package/selectbutton/selectbutton.cjs.js +1 -1
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +2 -2
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/Sidebar.d.ts +4 -0
- package/sidebar/Sidebar.vue +210 -142
- package/sidebar/sidebar.cjs.js +146 -121
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +147 -122
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +146 -121
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +1 -1
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +1 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -1
- package/skeleton/skeleton.min.js +1 -1
- package/slider/slider.cjs.js +1 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +1 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +1 -1
- package/slider/slider.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +19 -1
- package/speeddial/SpeedDial.vue +254 -7
- package/speeddial/speeddial.cjs.js +255 -14
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +256 -15
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +255 -14
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +20 -4
- package/splitbutton/SplitButton.vue +56 -8
- package/splitbutton/splitbutton.cjs.js +57 -17
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +57 -17
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +57 -17
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.vue +1 -1
- package/splitter/splitter.cjs.js +1 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +1 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +1 -1
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +1 -1
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +1 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +1 -1
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.vue +4 -16
- package/tabmenu/tabmenu.cjs.js +19 -16
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +19 -16
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +19 -16
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/TabView.vue +2 -2
- package/tabview/tabview.cjs.js +3 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +3 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +3 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +1 -1
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +1 -1
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +1 -1
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +1 -1
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +1 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +1 -1
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/TieredMenu.vue +13 -3
- package/tieredmenu/TieredMenuSub.vue +3 -5
- package/tieredmenu/tieredmenu.cjs.js +17 -9
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +17 -9
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +17 -9
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +1 -1
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +1 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -1
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +5 -1
- package/toast/Toast.vue +5 -0
- package/toast/ToastMessage.vue +36 -8
- package/toast/toast.cjs.js +49 -13
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +50 -14
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +49 -13
- package/toast/toast.min.js +1 -1
- package/toolbar/Toolbar.d.ts +6 -0
- package/toolbar/Toolbar.vue +12 -2
- package/toolbar/toolbar.cjs.js +7 -3
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +7 -3
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +7 -3
- package/toolbar/toolbar.min.js +1 -1
- package/tree/Tree.d.ts +8 -0
- package/tree/Tree.vue +10 -2
- package/tree/TreeNode.vue +174 -37
- package/tree/tree.cjs.js +193 -59
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +193 -59
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +193 -59
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.vue +40 -26
- package/treeselect/treeselect.cjs.js +46 -30
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +44 -28
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +45 -29
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +4 -4
- package/treetable/HeaderCell.vue +4 -2
- package/treetable/TreeTable.d.ts +4 -0
- package/treetable/TreeTable.vue +43 -17
- package/treetable/TreeTableRow.vue +200 -59
- package/treetable/treetable.cjs.js +798 -621
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +795 -618
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +795 -618
- package/treetable/treetable.min.js +1 -1
- package/utils/utils.cjs.js +67 -47
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +67 -47
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +67 -47
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +35 -283
- package/vetur-tags.json +26 -89
- package/virtualscroller/virtualscroller.cjs.js +1 -1
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +1 -1
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +1 -1
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +94 -998
- package/galleria/GalleriaItemSlot.vue +0 -53
package/galleria/galleria.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.galleria = (function (utils, Ripple, vue
|
|
2
|
+
this.primevue.galleria = (function (FocusTrap, Portal, utils, Ripple, 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
|
-
var
|
|
7
|
+
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
8
8
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
9
|
+
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
9
10
|
|
|
10
|
-
var script$
|
|
11
|
+
var script$3 = {
|
|
11
12
|
name: 'GalleriaItem',
|
|
12
13
|
emits: ['start-slideshow', 'stop-slideshow', 'update:activeIndex'],
|
|
13
14
|
props: {
|
|
@@ -46,6 +47,10 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
46
47
|
templates: {
|
|
47
48
|
type: null,
|
|
48
49
|
default: null
|
|
50
|
+
},
|
|
51
|
+
id: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: null
|
|
49
54
|
}
|
|
50
55
|
},
|
|
51
56
|
mounted() {
|
|
@@ -98,10 +103,21 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
98
103
|
this.$emit('update:activeIndex', index);
|
|
99
104
|
}
|
|
100
105
|
},
|
|
101
|
-
onIndicatorKeyDown(index) {
|
|
102
|
-
|
|
106
|
+
onIndicatorKeyDown(event, index) {
|
|
107
|
+
switch (event.code) {
|
|
108
|
+
case 'Enter':
|
|
109
|
+
case 'Space':
|
|
110
|
+
this.stopSlideShow();
|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
this.$emit('update:activeIndex', index);
|
|
113
|
+
event.preventDefault();
|
|
114
|
+
break;
|
|
115
|
+
|
|
116
|
+
case 'ArrowDown':
|
|
117
|
+
case 'ArrowUp':
|
|
118
|
+
event.preventDefault();
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
105
121
|
},
|
|
106
122
|
isIndicatorItemActive(index) {
|
|
107
123
|
return this.activeIndex === index;
|
|
@@ -111,6 +127,12 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
111
127
|
},
|
|
112
128
|
isNavForwardDisabled() {
|
|
113
129
|
return !this.circular && this.activeIndex === this.value.length - 1;
|
|
130
|
+
},
|
|
131
|
+
ariaSlideNumber(value) {
|
|
132
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g, value) : undefined;
|
|
133
|
+
},
|
|
134
|
+
ariaPageLabel(value) {
|
|
135
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
114
136
|
}
|
|
115
137
|
},
|
|
116
138
|
computed: {
|
|
@@ -132,6 +154,9 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
132
154
|
'p-disabled': this.isNavForwardDisabled()
|
|
133
155
|
}
|
|
134
156
|
];
|
|
157
|
+
},
|
|
158
|
+
ariaSlideLabel() {
|
|
159
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slide : undefined;
|
|
135
160
|
}
|
|
136
161
|
},
|
|
137
162
|
directives: {
|
|
@@ -139,15 +164,15 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
139
164
|
}
|
|
140
165
|
};
|
|
141
166
|
|
|
142
|
-
const _hoisted_1$
|
|
167
|
+
const _hoisted_1$3 = { class: "p-galleria-item-wrapper" };
|
|
143
168
|
const _hoisted_2$2 = { class: "p-galleria-item-container" };
|
|
144
169
|
const _hoisted_3$2 = ["disabled"];
|
|
145
170
|
const _hoisted_4$2 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-item-prev-icon pi pi-chevron-left" }, null, -1);
|
|
146
171
|
const _hoisted_5$2 = [
|
|
147
172
|
_hoisted_4$2
|
|
148
173
|
];
|
|
149
|
-
const _hoisted_6$
|
|
150
|
-
const _hoisted_7 = ["disabled"];
|
|
174
|
+
const _hoisted_6$2 = ["id", "aria-label", "aria-roledescription"];
|
|
175
|
+
const _hoisted_7$1 = ["disabled"];
|
|
151
176
|
const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-item-next-icon pi pi-chevron-right" }, null, -1);
|
|
152
177
|
const _hoisted_9 = [
|
|
153
178
|
_hoisted_8
|
|
@@ -160,7 +185,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
160
185
|
key: 0,
|
|
161
186
|
class: "p-galleria-indicators p-reset"
|
|
162
187
|
};
|
|
163
|
-
const _hoisted_12 = ["onClick", "onMouseenter", "onKeydown"];
|
|
188
|
+
const _hoisted_12 = ["aria-label", "aria-selected", "aria-controls", "onClick", "onMouseenter", "onKeydown"];
|
|
164
189
|
const _hoisted_13 = {
|
|
165
190
|
key: 0,
|
|
166
191
|
type: "button",
|
|
@@ -171,7 +196,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
171
196
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
172
197
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
173
198
|
|
|
174
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
199
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
|
|
175
200
|
vue.createElementVNode("div", _hoisted_2$2, [
|
|
176
201
|
($props.showItemNavigators)
|
|
177
202
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -184,14 +209,20 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
184
209
|
[_directive_ripple]
|
|
185
210
|
])
|
|
186
211
|
: vue.createCommentVNode("", true),
|
|
187
|
-
vue.createElementVNode("div",
|
|
212
|
+
vue.createElementVNode("div", {
|
|
213
|
+
id: $props.id + '_item_' + $props.activeIndex,
|
|
214
|
+
class: "p-galleria-item",
|
|
215
|
+
role: "group",
|
|
216
|
+
"aria-label": $options.ariaSlideNumber($props.activeIndex + 1),
|
|
217
|
+
"aria-roledescription": $options.ariaSlideLabel
|
|
218
|
+
}, [
|
|
188
219
|
($props.templates.item)
|
|
189
220
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.item), {
|
|
190
221
|
key: 0,
|
|
191
222
|
item: $options.activeItem
|
|
192
223
|
}, null, 8, ["item"]))
|
|
193
224
|
: vue.createCommentVNode("", true)
|
|
194
|
-
]),
|
|
225
|
+
], 8, _hoisted_6$2),
|
|
195
226
|
($props.showItemNavigators)
|
|
196
227
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
197
228
|
key: 1,
|
|
@@ -199,7 +230,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
199
230
|
class: vue.normalizeClass($options.navForwardClass),
|
|
200
231
|
onClick: _cache[1] || (_cache[1] = $event => ($options.navForward($event))),
|
|
201
232
|
disabled: $options.isNavForwardDisabled()
|
|
202
|
-
}, _hoisted_9, 10, _hoisted_7)), [
|
|
233
|
+
}, _hoisted_9, 10, _hoisted_7$1)), [
|
|
203
234
|
[_directive_ripple]
|
|
204
235
|
])
|
|
205
236
|
: vue.createCommentVNode("", true),
|
|
@@ -219,11 +250,14 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
219
250
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, (item, index) => {
|
|
220
251
|
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
221
252
|
key: `p-galleria-indicator-${index}`,
|
|
253
|
+
class: vue.normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }]),
|
|
222
254
|
tabindex: "0",
|
|
255
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
256
|
+
"aria-selected": $props.activeIndex === index,
|
|
257
|
+
"aria-controls": $props.id + '_item_' + index,
|
|
223
258
|
onClick: $event => ($options.onIndicatorClick(index)),
|
|
224
259
|
onMouseenter: $event => ($options.onIndicatorMouseEnter(index)),
|
|
225
|
-
onKeydown:
|
|
226
|
-
class: vue.normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }])
|
|
260
|
+
onKeydown: $event => ($options.onIndicatorKeyDown($event, index))
|
|
227
261
|
}, [
|
|
228
262
|
(!$props.templates['indicator'])
|
|
229
263
|
? (vue.openBlock(), vue.createElementBlock("button", _hoisted_13))
|
|
@@ -241,9 +275,9 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
241
275
|
]))
|
|
242
276
|
}
|
|
243
277
|
|
|
244
|
-
script$
|
|
278
|
+
script$3.render = render$3;
|
|
245
279
|
|
|
246
|
-
var script$
|
|
280
|
+
var script$2 = {
|
|
247
281
|
name: 'GalleriaThumbnails',
|
|
248
282
|
emits: ['stop-slideshow', 'update:activeIndex'],
|
|
249
283
|
props: {
|
|
@@ -290,6 +324,14 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
290
324
|
templates: {
|
|
291
325
|
type: null,
|
|
292
326
|
default: null
|
|
327
|
+
},
|
|
328
|
+
prevButtonProps: {
|
|
329
|
+
type: null,
|
|
330
|
+
default: null
|
|
331
|
+
},
|
|
332
|
+
nextButtonProps: {
|
|
333
|
+
type: null,
|
|
334
|
+
default: null
|
|
293
335
|
}
|
|
294
336
|
},
|
|
295
337
|
startPos: null,
|
|
@@ -458,6 +500,86 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
458
500
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
459
501
|
}
|
|
460
502
|
},
|
|
503
|
+
onThumbnailKeydown(event, index) {
|
|
504
|
+
if (event.code === 'Enter' || event.code === 'Space') {
|
|
505
|
+
this.onItemClick(index);
|
|
506
|
+
event.preventDefault();
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
switch (event.code) {
|
|
510
|
+
case 'ArrowRight':
|
|
511
|
+
this.onRightKey();
|
|
512
|
+
break;
|
|
513
|
+
|
|
514
|
+
case 'ArrowLeft':
|
|
515
|
+
this.onLeftKey();
|
|
516
|
+
break;
|
|
517
|
+
|
|
518
|
+
case 'Home':
|
|
519
|
+
this.onHomeKey();
|
|
520
|
+
event.preventDefault();
|
|
521
|
+
break;
|
|
522
|
+
|
|
523
|
+
case 'End':
|
|
524
|
+
this.onEndKey();
|
|
525
|
+
event.preventDefault();
|
|
526
|
+
break;
|
|
527
|
+
|
|
528
|
+
case 'ArrowUp':
|
|
529
|
+
case 'ArrowDown':
|
|
530
|
+
event.preventDefault();
|
|
531
|
+
break;
|
|
532
|
+
|
|
533
|
+
case 'Tab':
|
|
534
|
+
this.onTabKey();
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
onRightKey() {
|
|
539
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
540
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
541
|
+
|
|
542
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
543
|
+
},
|
|
544
|
+
onLeftKey() {
|
|
545
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
546
|
+
|
|
547
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
548
|
+
},
|
|
549
|
+
onHomeKey() {
|
|
550
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
551
|
+
|
|
552
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
553
|
+
},
|
|
554
|
+
onEndKey() {
|
|
555
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
556
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
557
|
+
|
|
558
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
559
|
+
},
|
|
560
|
+
onTabKey() {
|
|
561
|
+
const indicators = [...utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
562
|
+
const highlightedIndex = indicators.findIndex((ind) => utils.DomHandler.hasClass(ind, 'p-galleria-thumbnail-item-current'));
|
|
563
|
+
|
|
564
|
+
const activeIndicator = utils.DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"');
|
|
565
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
566
|
+
|
|
567
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
568
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
569
|
+
},
|
|
570
|
+
findFocusedIndicatorIndex() {
|
|
571
|
+
const indicators = [...utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
572
|
+
const activeIndicator = utils.DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"]');
|
|
573
|
+
|
|
574
|
+
return indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
575
|
+
},
|
|
576
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
577
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
578
|
+
|
|
579
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
580
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
581
|
+
indicators[nextInd].children[0].focus();
|
|
582
|
+
},
|
|
461
583
|
onTransitionEnd() {
|
|
462
584
|
if (this.$refs.itemsContainer) {
|
|
463
585
|
utils.DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
@@ -591,6 +713,9 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
591
713
|
},
|
|
592
714
|
isItemActive(index) {
|
|
593
715
|
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
716
|
+
},
|
|
717
|
+
ariaPageLabel(value) {
|
|
718
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
594
719
|
}
|
|
595
720
|
},
|
|
596
721
|
computed: {
|
|
@@ -627,6 +752,12 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
627
752
|
'pi-chevron-down': this.isVertical
|
|
628
753
|
}
|
|
629
754
|
];
|
|
755
|
+
},
|
|
756
|
+
ariaPrevButtonLabel() {
|
|
757
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.prevPageLabel : undefined;
|
|
758
|
+
},
|
|
759
|
+
ariaNextButtonLabel() {
|
|
760
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.nextPageLabel : undefined;
|
|
630
761
|
}
|
|
631
762
|
},
|
|
632
763
|
directives: {
|
|
@@ -634,29 +765,31 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
634
765
|
}
|
|
635
766
|
};
|
|
636
767
|
|
|
637
|
-
const _hoisted_1$
|
|
768
|
+
const _hoisted_1$2 = { class: "p-galleria-thumbnail-wrapper" };
|
|
638
769
|
const _hoisted_2$1 = { class: "p-galleria-thumbnail-container" };
|
|
639
|
-
const _hoisted_3$1 = ["disabled"];
|
|
640
|
-
const _hoisted_4$1 = ["
|
|
641
|
-
const _hoisted_5$1 = ["
|
|
770
|
+
const _hoisted_3$1 = ["disabled", "aria-label"];
|
|
771
|
+
const _hoisted_4$1 = ["aria-selected", "aria-controls", "onKeydown"];
|
|
772
|
+
const _hoisted_5$1 = ["tabindex", "aria-label", "aria-current", "onClick"];
|
|
773
|
+
const _hoisted_6$1 = ["disabled", "aria-label"];
|
|
642
774
|
|
|
643
775
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
644
776
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
645
777
|
|
|
646
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
778
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
|
|
647
779
|
vue.createElementVNode("div", _hoisted_2$1, [
|
|
648
780
|
($props.showThumbnailNavigators)
|
|
649
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
781
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
650
782
|
key: 0,
|
|
651
|
-
class:
|
|
652
|
-
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event))),
|
|
783
|
+
class: $options.navBackwardClass,
|
|
653
784
|
disabled: $options.isNavBackwardDisabled(),
|
|
654
|
-
type: "button"
|
|
655
|
-
|
|
785
|
+
type: "button",
|
|
786
|
+
"aria-label": $options.ariaPrevButtonLabel,
|
|
787
|
+
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event)))
|
|
788
|
+
}, $props.prevButtonProps), [
|
|
656
789
|
vue.createElementVNode("span", {
|
|
657
790
|
class: vue.normalizeClass($options.navBackwardIconClass)
|
|
658
791
|
}, null, 2)
|
|
659
|
-
],
|
|
792
|
+
], 16, _hoisted_3$1)), [
|
|
660
793
|
[_directive_ripple]
|
|
661
794
|
])
|
|
662
795
|
: vue.createCommentVNode("", true),
|
|
@@ -667,6 +800,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
667
800
|
vue.createElementVNode("div", {
|
|
668
801
|
ref: "itemsContainer",
|
|
669
802
|
class: "p-galleria-thumbnail-items",
|
|
803
|
+
role: "tablist",
|
|
670
804
|
onTransitionend: _cache[1] || (_cache[1] = (...args) => ($options.onTransitionEnd && $options.onTransitionEnd(...args))),
|
|
671
805
|
onTouchstart: _cache[2] || (_cache[2] = $event => ($options.onTouchStart($event))),
|
|
672
806
|
onTouchmove: _cache[3] || (_cache[3] = $event => ($options.onTouchMove($event))),
|
|
@@ -683,13 +817,18 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
683
817
|
'p-galleria-thumbnail-item-start': $options.firstItemAciveIndex() === index,
|
|
684
818
|
'p-galleria-thumbnail-item-end': $options.lastItemActiveIndex() === index
|
|
685
819
|
}
|
|
686
|
-
])
|
|
820
|
+
]),
|
|
821
|
+
role: "tab",
|
|
822
|
+
"aria-selected": $props.activeIndex === index,
|
|
823
|
+
"aria-controls": $props.containerId + '_item_' + index,
|
|
824
|
+
onKeydown: $event => ($options.onThumbnailKeydown($event, index))
|
|
687
825
|
}, [
|
|
688
826
|
vue.createElementVNode("div", {
|
|
689
827
|
class: "p-galleria-thumbnail-item-content",
|
|
690
|
-
tabindex: $
|
|
691
|
-
|
|
692
|
-
|
|
828
|
+
tabindex: $props.activeIndex === index ? '0' : '-1',
|
|
829
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
830
|
+
"aria-current": $props.activeIndex === index ? 'page' : undefined,
|
|
831
|
+
onClick: $event => ($options.onItemClick(index))
|
|
693
832
|
}, [
|
|
694
833
|
($props.templates.thumbnail)
|
|
695
834
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.thumbnail), {
|
|
@@ -697,23 +836,24 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
697
836
|
item: item
|
|
698
837
|
}, null, 8, ["item"]))
|
|
699
838
|
: vue.createCommentVNode("", true)
|
|
700
|
-
],
|
|
701
|
-
],
|
|
839
|
+
], 8, _hoisted_5$1)
|
|
840
|
+
], 42, _hoisted_4$1))
|
|
702
841
|
}), 128))
|
|
703
842
|
], 544)
|
|
704
843
|
], 4),
|
|
705
844
|
($props.showThumbnailNavigators)
|
|
706
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
845
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
707
846
|
key: 1,
|
|
708
|
-
class:
|
|
709
|
-
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event))),
|
|
847
|
+
class: $options.navForwardClass,
|
|
710
848
|
disabled: $options.isNavForwardDisabled(),
|
|
711
|
-
type: "button"
|
|
712
|
-
|
|
849
|
+
type: "button",
|
|
850
|
+
"aria-label": $options.ariaNextButtonLabel,
|
|
851
|
+
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event)))
|
|
852
|
+
}, $props.nextButtonProps), [
|
|
713
853
|
vue.createElementVNode("span", {
|
|
714
854
|
class: vue.normalizeClass($options.navForwardIconClass)
|
|
715
855
|
}, null, 2)
|
|
716
|
-
],
|
|
856
|
+
], 16, _hoisted_6$1)), [
|
|
717
857
|
[_directive_ripple]
|
|
718
858
|
])
|
|
719
859
|
: vue.createCommentVNode("", true)
|
|
@@ -721,59 +861,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
721
861
|
]))
|
|
722
862
|
}
|
|
723
863
|
|
|
724
|
-
script$
|
|
725
|
-
|
|
726
|
-
var script$2 = {
|
|
727
|
-
functional: true,
|
|
728
|
-
props: {
|
|
729
|
-
item: {
|
|
730
|
-
type: null,
|
|
731
|
-
default: null
|
|
732
|
-
},
|
|
733
|
-
index: {
|
|
734
|
-
type: Number,
|
|
735
|
-
default: 0
|
|
736
|
-
},
|
|
737
|
-
templates: {
|
|
738
|
-
type: null,
|
|
739
|
-
default: null
|
|
740
|
-
},
|
|
741
|
-
type: {
|
|
742
|
-
type: String,
|
|
743
|
-
default: null
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
render(createElement, context) {
|
|
747
|
-
const { item, index, templates, type } = context.props;
|
|
748
|
-
const template = templates && templates[type];
|
|
749
|
-
|
|
750
|
-
if (template) {
|
|
751
|
-
let content;
|
|
752
|
-
|
|
753
|
-
switch (type) {
|
|
754
|
-
case 'item':
|
|
755
|
-
case 'caption':
|
|
756
|
-
case 'thumbnail':
|
|
757
|
-
content = template({
|
|
758
|
-
item
|
|
759
|
-
});
|
|
760
|
-
break;
|
|
761
|
-
case 'indicator':
|
|
762
|
-
content = template({
|
|
763
|
-
index
|
|
764
|
-
});
|
|
765
|
-
break;
|
|
766
|
-
default:
|
|
767
|
-
content = template({});
|
|
768
|
-
break;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
return content ? [content] : null;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
return null;
|
|
775
|
-
}
|
|
776
|
-
};
|
|
864
|
+
script$2.render = render$2;
|
|
777
865
|
|
|
778
866
|
var script$1 = {
|
|
779
867
|
name: 'GalleriaContent',
|
|
@@ -855,29 +943,32 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
855
943
|
indicatorPosClass,
|
|
856
944
|
this.$attrs.containerClass
|
|
857
945
|
];
|
|
946
|
+
},
|
|
947
|
+
closeAriaLabel() {
|
|
948
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
|
858
949
|
}
|
|
859
950
|
},
|
|
860
951
|
components: {
|
|
861
|
-
GalleriaItem: script$
|
|
862
|
-
GalleriaThumbnails: script$
|
|
863
|
-
GalleriaItemSlot: script$2
|
|
952
|
+
GalleriaItem: script$3,
|
|
953
|
+
GalleriaThumbnails: script$2
|
|
864
954
|
},
|
|
865
955
|
directives: {
|
|
866
956
|
ripple: Ripple__default["default"]
|
|
867
957
|
}
|
|
868
958
|
};
|
|
869
959
|
|
|
870
|
-
const _hoisted_1 = ["id"];
|
|
871
|
-
const _hoisted_2 =
|
|
872
|
-
const _hoisted_3 =
|
|
873
|
-
|
|
960
|
+
const _hoisted_1$1 = ["id"];
|
|
961
|
+
const _hoisted_2 = ["aria-label"];
|
|
962
|
+
const _hoisted_3 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-close-icon pi pi-times" }, null, -1);
|
|
963
|
+
const _hoisted_4 = [
|
|
964
|
+
_hoisted_3
|
|
874
965
|
];
|
|
875
|
-
const
|
|
966
|
+
const _hoisted_5 = {
|
|
876
967
|
key: 1,
|
|
877
968
|
class: "p-galleria-header"
|
|
878
969
|
};
|
|
879
|
-
const
|
|
880
|
-
const
|
|
970
|
+
const _hoisted_6 = ["aria-live"];
|
|
971
|
+
const _hoisted_7 = {
|
|
881
972
|
key: 2,
|
|
882
973
|
class: "p-galleria-footer"
|
|
883
974
|
};
|
|
@@ -888,29 +979,35 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
888
979
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
889
980
|
|
|
890
981
|
return (_ctx.$attrs.value && _ctx.$attrs.value.length > 0)
|
|
891
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
982
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
892
983
|
key: 0,
|
|
893
984
|
id: $data.id,
|
|
894
|
-
class:
|
|
895
|
-
style:
|
|
896
|
-
}, [
|
|
985
|
+
class: $options.galleriaClass,
|
|
986
|
+
style: _ctx.$attrs.containerStyle
|
|
987
|
+
}, _ctx.$attrs.containerProps), [
|
|
897
988
|
(_ctx.$attrs.fullScreen)
|
|
898
989
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
899
990
|
key: 0,
|
|
991
|
+
autofocus: "",
|
|
900
992
|
type: "button",
|
|
901
993
|
class: "p-galleria-close p-link",
|
|
994
|
+
"aria-label": $options.closeAriaLabel,
|
|
902
995
|
onClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('mask-hide')))
|
|
903
|
-
},
|
|
996
|
+
}, _hoisted_4, 8, _hoisted_2)), [
|
|
904
997
|
[_directive_ripple]
|
|
905
998
|
])
|
|
906
999
|
: vue.createCommentVNode("", true),
|
|
907
1000
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['header'])
|
|
908
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
1001
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
909
1002
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$attrs.templates['header'])))
|
|
910
1003
|
]))
|
|
911
1004
|
: vue.createCommentVNode("", true),
|
|
912
|
-
vue.createElementVNode("div",
|
|
1005
|
+
vue.createElementVNode("div", {
|
|
1006
|
+
class: "p-galleria-content",
|
|
1007
|
+
"aria-live": _ctx.$attrs.autoPlay ? 'polite' : 'off'
|
|
1008
|
+
}, [
|
|
913
1009
|
vue.createVNode(_component_GalleriaItem, {
|
|
1010
|
+
id: $data.id,
|
|
914
1011
|
activeIndex: $data.activeIndex,
|
|
915
1012
|
"onUpdate:activeIndex": _cache[1] || (_cache[1] = $event => (($data.activeIndex) = $event)),
|
|
916
1013
|
slideShowActive: $data.slideShowActive,
|
|
@@ -924,7 +1021,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
924
1021
|
autoPlay: _ctx.$attrs.autoPlay,
|
|
925
1022
|
onStartSlideshow: $options.startSlideShow,
|
|
926
1023
|
onStopSlideshow: $options.stopSlideShow
|
|
927
|
-
}, null, 8, ["activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
1024
|
+
}, null, 8, ["id", "activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
928
1025
|
(_ctx.$attrs.showThumbnails)
|
|
929
1026
|
? (vue.openBlock(), vue.createBlock(_component_GalleriaThumbnails, {
|
|
930
1027
|
key: 0,
|
|
@@ -941,16 +1038,18 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
941
1038
|
isVertical: $options.isVertical(),
|
|
942
1039
|
contentHeight: _ctx.$attrs.verticalThumbnailViewPortHeight,
|
|
943
1040
|
showThumbnailNavigators: _ctx.$attrs.showThumbnailNavigators,
|
|
1041
|
+
prevButtonProps: _ctx.$attrs.prevButtonProps,
|
|
1042
|
+
nextButtonProps: _ctx.$attrs.nextButtonProps,
|
|
944
1043
|
onStopSlideshow: $options.stopSlideShow
|
|
945
|
-
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "onStopSlideshow"]))
|
|
1044
|
+
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "prevButtonProps", "nextButtonProps", "onStopSlideshow"]))
|
|
946
1045
|
: vue.createCommentVNode("", true)
|
|
947
|
-
]),
|
|
1046
|
+
], 8, _hoisted_6),
|
|
948
1047
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['footer'])
|
|
949
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
1048
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
950
1049
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$attrs.templates['footer'])))
|
|
951
1050
|
]))
|
|
952
1051
|
: vue.createCommentVNode("", true)
|
|
953
|
-
],
|
|
1052
|
+
], 16, _hoisted_1$1))
|
|
954
1053
|
: vue.createCommentVNode("", true)
|
|
955
1054
|
}
|
|
956
1055
|
|
|
@@ -1049,8 +1148,26 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1049
1148
|
type: String,
|
|
1050
1149
|
default: null
|
|
1051
1150
|
},
|
|
1052
|
-
containerStyle:
|
|
1053
|
-
|
|
1151
|
+
containerStyle: {
|
|
1152
|
+
type: null,
|
|
1153
|
+
default: null
|
|
1154
|
+
},
|
|
1155
|
+
containerClass: {
|
|
1156
|
+
type: null,
|
|
1157
|
+
default: null
|
|
1158
|
+
},
|
|
1159
|
+
containerProps: {
|
|
1160
|
+
type: null,
|
|
1161
|
+
default: null
|
|
1162
|
+
},
|
|
1163
|
+
prevButtonProps: {
|
|
1164
|
+
type: null,
|
|
1165
|
+
default: null
|
|
1166
|
+
},
|
|
1167
|
+
nextButtonProps: {
|
|
1168
|
+
type: null,
|
|
1169
|
+
default: null
|
|
1170
|
+
}
|
|
1054
1171
|
},
|
|
1055
1172
|
container: null,
|
|
1056
1173
|
mask: null,
|
|
@@ -1083,6 +1200,7 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1083
1200
|
onEnter(el) {
|
|
1084
1201
|
this.mask.style.zIndex = String(parseInt(el.style.zIndex, 10) - 1);
|
|
1085
1202
|
utils.DomHandler.addClass(document.body, 'p-overflow-hidden');
|
|
1203
|
+
this.focus();
|
|
1086
1204
|
},
|
|
1087
1205
|
onBeforeLeave() {
|
|
1088
1206
|
utils.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
|
@@ -1105,6 +1223,13 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1105
1223
|
},
|
|
1106
1224
|
maskRef(el) {
|
|
1107
1225
|
this.mask = el;
|
|
1226
|
+
},
|
|
1227
|
+
focus() {
|
|
1228
|
+
let focusTarget = this.container.$el.querySelector('[autofocus]');
|
|
1229
|
+
|
|
1230
|
+
if (focusTarget) {
|
|
1231
|
+
focusTarget.focus();
|
|
1232
|
+
}
|
|
1108
1233
|
}
|
|
1109
1234
|
},
|
|
1110
1235
|
computed: {
|
|
@@ -1122,12 +1247,18 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1122
1247
|
components: {
|
|
1123
1248
|
GalleriaContent: script$1,
|
|
1124
1249
|
Portal: Portal__default["default"]
|
|
1250
|
+
},
|
|
1251
|
+
directives: {
|
|
1252
|
+
focustrap: FocusTrap__default["default"]
|
|
1125
1253
|
}
|
|
1126
1254
|
};
|
|
1127
1255
|
|
|
1256
|
+
const _hoisted_1 = ["role", "aria-modal"];
|
|
1257
|
+
|
|
1128
1258
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1129
1259
|
const _component_GalleriaContent = vue.resolveComponent("GalleriaContent");
|
|
1130
1260
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
1261
|
+
const _directive_focustrap = vue.resolveDirective("focustrap");
|
|
1131
1262
|
|
|
1132
1263
|
return ($props.fullScreen)
|
|
1133
1264
|
? (vue.openBlock(), vue.createBlock(_component_Portal, { key: 0 }, {
|
|
@@ -1136,7 +1267,9 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1136
1267
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1137
1268
|
key: 0,
|
|
1138
1269
|
ref: $options.maskRef,
|
|
1139
|
-
class: vue.normalizeClass($options.maskContentClass)
|
|
1270
|
+
class: vue.normalizeClass($options.maskContentClass),
|
|
1271
|
+
role: $props.fullScreen ? 'dialog' : 'region',
|
|
1272
|
+
"aria-modal": $props.fullScreen ? 'true' : undefined
|
|
1140
1273
|
}, [
|
|
1141
1274
|
vue.createVNode(vue.Transition, {
|
|
1142
1275
|
name: "p-galleria",
|
|
@@ -1148,19 +1281,21 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1148
1281
|
}, {
|
|
1149
1282
|
default: vue.withCtx(() => [
|
|
1150
1283
|
($props.visible)
|
|
1151
|
-
? (vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
|
|
1284
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
|
|
1152
1285
|
key: 0,
|
|
1153
1286
|
ref: $options.containerRef
|
|
1154
1287
|
}, _ctx.$props, {
|
|
1155
1288
|
onMaskHide: $options.maskHide,
|
|
1156
1289
|
templates: _ctx.$slots,
|
|
1157
1290
|
onActiveitemChange: $options.onActiveItemChange
|
|
1158
|
-
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"]))
|
|
1291
|
+
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"])), [
|
|
1292
|
+
[_directive_focustrap]
|
|
1293
|
+
])
|
|
1159
1294
|
: vue.createCommentVNode("", true)
|
|
1160
1295
|
]),
|
|
1161
1296
|
_: 1
|
|
1162
1297
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])
|
|
1163
|
-
],
|
|
1298
|
+
], 10, _hoisted_1))
|
|
1164
1299
|
: vue.createCommentVNode("", true)
|
|
1165
1300
|
]),
|
|
1166
1301
|
_: 1
|
|
@@ -1198,11 +1333,11 @@ this.primevue.galleria = (function (utils, Ripple, vue, Portal) {
|
|
|
1198
1333
|
}
|
|
1199
1334
|
}
|
|
1200
1335
|
|
|
1201
|
-
var css_248z = "\n.p-galleria-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-galleria-item-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n position: relative;\n}\n.p-galleria-item-container {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 100%;\n}\n.p-galleria-item-nav {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n}\n.p-galleria-item-prev {\n left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-galleria-item-next {\n right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-galleria-item {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n height: 100%;\n width: 100%;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-nav {\n pointer-events: none;\n opacity: 0;\n -webkit-transition: opacity 0.2s ease-in-out;\n transition: opacity 0.2s ease-in-out;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav {\n pointer-events: all;\n opacity: 1;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled {\n pointer-events: none;\n}\n.p-galleria-caption {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n/* Thumbnails */\n.p-galleria-thumbnail-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n overflow: auto;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-galleria-thumbnail-prev,\n.p-galleria-thumbnail-next {\n -ms-flex-item-align: center;\n align-self: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n.p-galleria-thumbnail-prev span,\n.p-galleria-thumbnail-next span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-galleria-thumbnail-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.p-galleria-thumbnail-items-container {\n overflow: hidden;\n width: 100%;\n}\n.p-galleria-thumbnail-items {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-galleria-thumbnail-item {\n overflow: auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n}\n.p-galleria-thumbnail-item:hover {\n opacity: 1;\n -webkit-transition: opacity 0.3s;\n transition: opacity 0.3s;\n}\n.p-galleria-thumbnail-item-current {\n opacity: 1;\n}\n\n/* Positions */\n/* Thumbnails */\n.p-galleria-thumbnails-left .p-galleria-content,\n.p-galleria-thumbnails-right .p-galleria-content {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-right .p-galleria-item-wrapper {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-top .p-galleria-item-wrapper {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,\n.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-container,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-items,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-items {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n}\n\n/* Indicators */\n.p-galleria-indicators {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-galleria-indicator > button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-galleria-indicators-left .p-galleria-item-wrapper,\n.p-galleria-indicators-right .p-galleria-item-wrapper {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-galleria-indicators-left .p-galleria-item-container,\n.p-galleria-indicators-top .p-galleria-item-container {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n}\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-top .p-galleria-indicators {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n}\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-right .p-galleria-indicators {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-galleria-indicator-onitem .p-galleria-indicators {\n position: absolute;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators {\n top: 0;\n left: 0;\n width: 100%;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators {\n right: 0;\n top: 0;\n height: 100%;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators {\n bottom: 0;\n left: 0;\n width: 100%;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators {\n left: 0;\n top: 0;\n height: 100%;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n\n/* FullScreen */\n.p-galleria-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-galleria-close {\n position: absolute;\n top: 0;\n right: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n}\n.p-galleria-mask .p-galleria-item-nav {\n position: fixed;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n/* Animation */\n.p-galleria-enter-active {\n -webkit-transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-galleria-leave-active {\n -webkit-transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-galleria-enter-from,\n.p-galleria-leave-to {\n opacity: 0;\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n}\n.p-galleria-enter-active .p-galleria-item-nav {\n opacity: 0;\n}\n\n/* Keyboard Support */\n.p-items-hidden .p-galleria-thumbnail-item {\n visibility: hidden;\n}\n.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {\n visibility: visible;\n}\n";
|
|
1336
|
+
var css_248z = "\n.p-galleria-content {\n display: flex;\n flex-direction: column;\n}\n.p-galleria-item-wrapper {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.p-galleria-item-container {\n position: relative;\n display: flex;\n height: 100%;\n}\n.p-galleria-item-nav {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n.p-galleria-item-prev {\n left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-galleria-item-next {\n right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-galleria-item {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-nav {\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav {\n pointer-events: all;\n opacity: 1;\n}\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled {\n pointer-events: none;\n}\n.p-galleria-caption {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n/* Thumbnails */\n.p-galleria-thumbnail-wrapper {\n display: flex;\n flex-direction: column;\n overflow: auto;\n flex-shrink: 0;\n}\n.p-galleria-thumbnail-prev,\n.p-galleria-thumbnail-next {\n align-self: center;\n flex: 0 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n.p-galleria-thumbnail-prev span,\n.p-galleria-thumbnail-next span {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.p-galleria-thumbnail-container {\n display: flex;\n flex-direction: row;\n}\n.p-galleria-thumbnail-items-container {\n overflow: hidden;\n width: 100%;\n}\n.p-galleria-thumbnail-items {\n display: flex;\n}\n.p-galleria-thumbnail-item {\n overflow: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n}\n.p-galleria-thumbnail-item:hover {\n opacity: 1;\n transition: opacity 0.3s;\n}\n.p-galleria-thumbnail-item-current {\n opacity: 1;\n}\n\n/* Positions */\n/* Thumbnails */\n.p-galleria-thumbnails-left .p-galleria-content,\n.p-galleria-thumbnails-right .p-galleria-content {\n flex-direction: row;\n}\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-right .p-galleria-item-wrapper {\n flex-direction: row;\n}\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-top .p-galleria-item-wrapper {\n order: 2;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,\n.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper {\n order: 1;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-container,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-container {\n flex-direction: column;\n flex-grow: 1;\n}\n.p-galleria-thumbnails-left .p-galleria-thumbnail-items,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-items {\n flex-direction: column;\n height: 100%;\n}\n\n/* Indicators */\n.p-galleria-indicators {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-galleria-indicator > button {\n display: inline-flex;\n align-items: center;\n}\n.p-galleria-indicators-left .p-galleria-item-wrapper,\n.p-galleria-indicators-right .p-galleria-item-wrapper {\n flex-direction: row;\n align-items: center;\n}\n.p-galleria-indicators-left .p-galleria-item-container,\n.p-galleria-indicators-top .p-galleria-item-container {\n order: 2;\n}\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-top .p-galleria-indicators {\n order: 1;\n}\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-right .p-galleria-indicators {\n flex-direction: column;\n}\n.p-galleria-indicator-onitem .p-galleria-indicators {\n position: absolute;\n display: flex;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators {\n top: 0;\n left: 0;\n width: 100%;\n align-items: flex-start;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators {\n right: 0;\n top: 0;\n height: 100%;\n align-items: flex-end;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators {\n bottom: 0;\n left: 0;\n width: 100%;\n align-items: flex-end;\n}\n.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators {\n left: 0;\n top: 0;\n height: 100%;\n align-items: flex-start;\n}\n\n/* FullScreen */\n.p-galleria-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-galleria-close {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n.p-galleria-mask .p-galleria-item-nav {\n position: fixed;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n/* Animation */\n.p-galleria-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-galleria-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.p-galleria-enter-from,\n.p-galleria-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n.p-galleria-enter-active .p-galleria-item-nav {\n opacity: 0;\n}\n\n/* Keyboard Support */\n.p-items-hidden .p-galleria-thumbnail-item {\n visibility: hidden;\n}\n.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {\n visibility: visible;\n}\n";
|
|
1202
1337
|
styleInject(css_248z);
|
|
1203
1338
|
|
|
1204
1339
|
script.render = render;
|
|
1205
1340
|
|
|
1206
1341
|
return script;
|
|
1207
1342
|
|
|
1208
|
-
})(primevue.
|
|
1343
|
+
})(primevue.focustrap, primevue.portal, primevue.utils, primevue.ripple, Vue);
|