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.cjs.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var FocusTrap = require('primevue/focustrap');
|
|
4
|
+
var Portal = require('primevue/portal');
|
|
3
5
|
var utils = require('primevue/utils');
|
|
4
6
|
var Ripple = require('primevue/ripple');
|
|
5
7
|
var vue = require('vue');
|
|
6
|
-
var Portal = require('primevue/portal');
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
10
|
-
var
|
|
11
|
+
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
11
12
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
13
|
+
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
12
14
|
|
|
13
|
-
var script$
|
|
15
|
+
var script$3 = {
|
|
14
16
|
name: 'GalleriaItem',
|
|
15
17
|
emits: ['start-slideshow', 'stop-slideshow', 'update:activeIndex'],
|
|
16
18
|
props: {
|
|
@@ -49,6 +51,10 @@ var script$4 = {
|
|
|
49
51
|
templates: {
|
|
50
52
|
type: null,
|
|
51
53
|
default: null
|
|
54
|
+
},
|
|
55
|
+
id: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: null
|
|
52
58
|
}
|
|
53
59
|
},
|
|
54
60
|
mounted() {
|
|
@@ -101,10 +107,21 @@ var script$4 = {
|
|
|
101
107
|
this.$emit('update:activeIndex', index);
|
|
102
108
|
}
|
|
103
109
|
},
|
|
104
|
-
onIndicatorKeyDown(index) {
|
|
105
|
-
|
|
110
|
+
onIndicatorKeyDown(event, index) {
|
|
111
|
+
switch (event.code) {
|
|
112
|
+
case 'Enter':
|
|
113
|
+
case 'Space':
|
|
114
|
+
this.stopSlideShow();
|
|
106
115
|
|
|
107
|
-
|
|
116
|
+
this.$emit('update:activeIndex', index);
|
|
117
|
+
event.preventDefault();
|
|
118
|
+
break;
|
|
119
|
+
|
|
120
|
+
case 'ArrowDown':
|
|
121
|
+
case 'ArrowUp':
|
|
122
|
+
event.preventDefault();
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
108
125
|
},
|
|
109
126
|
isIndicatorItemActive(index) {
|
|
110
127
|
return this.activeIndex === index;
|
|
@@ -114,6 +131,12 @@ var script$4 = {
|
|
|
114
131
|
},
|
|
115
132
|
isNavForwardDisabled() {
|
|
116
133
|
return !this.circular && this.activeIndex === this.value.length - 1;
|
|
134
|
+
},
|
|
135
|
+
ariaSlideNumber(value) {
|
|
136
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g, value) : undefined;
|
|
137
|
+
},
|
|
138
|
+
ariaPageLabel(value) {
|
|
139
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
117
140
|
}
|
|
118
141
|
},
|
|
119
142
|
computed: {
|
|
@@ -135,6 +158,9 @@ var script$4 = {
|
|
|
135
158
|
'p-disabled': this.isNavForwardDisabled()
|
|
136
159
|
}
|
|
137
160
|
];
|
|
161
|
+
},
|
|
162
|
+
ariaSlideLabel() {
|
|
163
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slide : undefined;
|
|
138
164
|
}
|
|
139
165
|
},
|
|
140
166
|
directives: {
|
|
@@ -142,15 +168,15 @@ var script$4 = {
|
|
|
142
168
|
}
|
|
143
169
|
};
|
|
144
170
|
|
|
145
|
-
const _hoisted_1$
|
|
171
|
+
const _hoisted_1$3 = { class: "p-galleria-item-wrapper" };
|
|
146
172
|
const _hoisted_2$2 = { class: "p-galleria-item-container" };
|
|
147
173
|
const _hoisted_3$2 = ["disabled"];
|
|
148
174
|
const _hoisted_4$2 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-item-prev-icon pi pi-chevron-left" }, null, -1);
|
|
149
175
|
const _hoisted_5$2 = [
|
|
150
176
|
_hoisted_4$2
|
|
151
177
|
];
|
|
152
|
-
const _hoisted_6$
|
|
153
|
-
const _hoisted_7 = ["disabled"];
|
|
178
|
+
const _hoisted_6$2 = ["id", "aria-label", "aria-roledescription"];
|
|
179
|
+
const _hoisted_7$1 = ["disabled"];
|
|
154
180
|
const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-item-next-icon pi pi-chevron-right" }, null, -1);
|
|
155
181
|
const _hoisted_9 = [
|
|
156
182
|
_hoisted_8
|
|
@@ -163,7 +189,7 @@ const _hoisted_11 = {
|
|
|
163
189
|
key: 0,
|
|
164
190
|
class: "p-galleria-indicators p-reset"
|
|
165
191
|
};
|
|
166
|
-
const _hoisted_12 = ["onClick", "onMouseenter", "onKeydown"];
|
|
192
|
+
const _hoisted_12 = ["aria-label", "aria-selected", "aria-controls", "onClick", "onMouseenter", "onKeydown"];
|
|
167
193
|
const _hoisted_13 = {
|
|
168
194
|
key: 0,
|
|
169
195
|
type: "button",
|
|
@@ -174,7 +200,7 @@ const _hoisted_13 = {
|
|
|
174
200
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
175
201
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
176
202
|
|
|
177
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
203
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
|
|
178
204
|
vue.createElementVNode("div", _hoisted_2$2, [
|
|
179
205
|
($props.showItemNavigators)
|
|
180
206
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -187,14 +213,20 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
187
213
|
[_directive_ripple]
|
|
188
214
|
])
|
|
189
215
|
: vue.createCommentVNode("", true),
|
|
190
|
-
vue.createElementVNode("div",
|
|
216
|
+
vue.createElementVNode("div", {
|
|
217
|
+
id: $props.id + '_item_' + $props.activeIndex,
|
|
218
|
+
class: "p-galleria-item",
|
|
219
|
+
role: "group",
|
|
220
|
+
"aria-label": $options.ariaSlideNumber($props.activeIndex + 1),
|
|
221
|
+
"aria-roledescription": $options.ariaSlideLabel
|
|
222
|
+
}, [
|
|
191
223
|
($props.templates.item)
|
|
192
224
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.item), {
|
|
193
225
|
key: 0,
|
|
194
226
|
item: $options.activeItem
|
|
195
227
|
}, null, 8, ["item"]))
|
|
196
228
|
: vue.createCommentVNode("", true)
|
|
197
|
-
]),
|
|
229
|
+
], 8, _hoisted_6$2),
|
|
198
230
|
($props.showItemNavigators)
|
|
199
231
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
200
232
|
key: 1,
|
|
@@ -202,7 +234,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
202
234
|
class: vue.normalizeClass($options.navForwardClass),
|
|
203
235
|
onClick: _cache[1] || (_cache[1] = $event => ($options.navForward($event))),
|
|
204
236
|
disabled: $options.isNavForwardDisabled()
|
|
205
|
-
}, _hoisted_9, 10, _hoisted_7)), [
|
|
237
|
+
}, _hoisted_9, 10, _hoisted_7$1)), [
|
|
206
238
|
[_directive_ripple]
|
|
207
239
|
])
|
|
208
240
|
: vue.createCommentVNode("", true),
|
|
@@ -222,11 +254,14 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
254
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, (item, index) => {
|
|
223
255
|
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
224
256
|
key: `p-galleria-indicator-${index}`,
|
|
257
|
+
class: vue.normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }]),
|
|
225
258
|
tabindex: "0",
|
|
259
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
260
|
+
"aria-selected": $props.activeIndex === index,
|
|
261
|
+
"aria-controls": $props.id + '_item_' + index,
|
|
226
262
|
onClick: $event => ($options.onIndicatorClick(index)),
|
|
227
263
|
onMouseenter: $event => ($options.onIndicatorMouseEnter(index)),
|
|
228
|
-
onKeydown:
|
|
229
|
-
class: vue.normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }])
|
|
264
|
+
onKeydown: $event => ($options.onIndicatorKeyDown($event, index))
|
|
230
265
|
}, [
|
|
231
266
|
(!$props.templates['indicator'])
|
|
232
267
|
? (vue.openBlock(), vue.createElementBlock("button", _hoisted_13))
|
|
@@ -244,9 +279,9 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
279
|
]))
|
|
245
280
|
}
|
|
246
281
|
|
|
247
|
-
script$
|
|
282
|
+
script$3.render = render$3;
|
|
248
283
|
|
|
249
|
-
var script$
|
|
284
|
+
var script$2 = {
|
|
250
285
|
name: 'GalleriaThumbnails',
|
|
251
286
|
emits: ['stop-slideshow', 'update:activeIndex'],
|
|
252
287
|
props: {
|
|
@@ -293,6 +328,14 @@ var script$3 = {
|
|
|
293
328
|
templates: {
|
|
294
329
|
type: null,
|
|
295
330
|
default: null
|
|
331
|
+
},
|
|
332
|
+
prevButtonProps: {
|
|
333
|
+
type: null,
|
|
334
|
+
default: null
|
|
335
|
+
},
|
|
336
|
+
nextButtonProps: {
|
|
337
|
+
type: null,
|
|
338
|
+
default: null
|
|
296
339
|
}
|
|
297
340
|
},
|
|
298
341
|
startPos: null,
|
|
@@ -461,6 +504,86 @@ var script$3 = {
|
|
|
461
504
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
462
505
|
}
|
|
463
506
|
},
|
|
507
|
+
onThumbnailKeydown(event, index) {
|
|
508
|
+
if (event.code === 'Enter' || event.code === 'Space') {
|
|
509
|
+
this.onItemClick(index);
|
|
510
|
+
event.preventDefault();
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
switch (event.code) {
|
|
514
|
+
case 'ArrowRight':
|
|
515
|
+
this.onRightKey();
|
|
516
|
+
break;
|
|
517
|
+
|
|
518
|
+
case 'ArrowLeft':
|
|
519
|
+
this.onLeftKey();
|
|
520
|
+
break;
|
|
521
|
+
|
|
522
|
+
case 'Home':
|
|
523
|
+
this.onHomeKey();
|
|
524
|
+
event.preventDefault();
|
|
525
|
+
break;
|
|
526
|
+
|
|
527
|
+
case 'End':
|
|
528
|
+
this.onEndKey();
|
|
529
|
+
event.preventDefault();
|
|
530
|
+
break;
|
|
531
|
+
|
|
532
|
+
case 'ArrowUp':
|
|
533
|
+
case 'ArrowDown':
|
|
534
|
+
event.preventDefault();
|
|
535
|
+
break;
|
|
536
|
+
|
|
537
|
+
case 'Tab':
|
|
538
|
+
this.onTabKey();
|
|
539
|
+
break;
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
onRightKey() {
|
|
543
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
544
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
545
|
+
|
|
546
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
547
|
+
},
|
|
548
|
+
onLeftKey() {
|
|
549
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
550
|
+
|
|
551
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
552
|
+
},
|
|
553
|
+
onHomeKey() {
|
|
554
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
555
|
+
|
|
556
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
557
|
+
},
|
|
558
|
+
onEndKey() {
|
|
559
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
560
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
561
|
+
|
|
562
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
563
|
+
},
|
|
564
|
+
onTabKey() {
|
|
565
|
+
const indicators = [...utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
566
|
+
const highlightedIndex = indicators.findIndex((ind) => utils.DomHandler.hasClass(ind, 'p-galleria-thumbnail-item-current'));
|
|
567
|
+
|
|
568
|
+
const activeIndicator = utils.DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"');
|
|
569
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
570
|
+
|
|
571
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
572
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
573
|
+
},
|
|
574
|
+
findFocusedIndicatorIndex() {
|
|
575
|
+
const indicators = [...utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
576
|
+
const activeIndicator = utils.DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"]');
|
|
577
|
+
|
|
578
|
+
return indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
579
|
+
},
|
|
580
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
581
|
+
const indicators = utils.DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
582
|
+
|
|
583
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
584
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
585
|
+
indicators[nextInd].children[0].focus();
|
|
586
|
+
},
|
|
464
587
|
onTransitionEnd() {
|
|
465
588
|
if (this.$refs.itemsContainer) {
|
|
466
589
|
utils.DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
@@ -594,6 +717,9 @@ var script$3 = {
|
|
|
594
717
|
},
|
|
595
718
|
isItemActive(index) {
|
|
596
719
|
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
720
|
+
},
|
|
721
|
+
ariaPageLabel(value) {
|
|
722
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
597
723
|
}
|
|
598
724
|
},
|
|
599
725
|
computed: {
|
|
@@ -630,6 +756,12 @@ var script$3 = {
|
|
|
630
756
|
'pi-chevron-down': this.isVertical
|
|
631
757
|
}
|
|
632
758
|
];
|
|
759
|
+
},
|
|
760
|
+
ariaPrevButtonLabel() {
|
|
761
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.prevPageLabel : undefined;
|
|
762
|
+
},
|
|
763
|
+
ariaNextButtonLabel() {
|
|
764
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.nextPageLabel : undefined;
|
|
633
765
|
}
|
|
634
766
|
},
|
|
635
767
|
directives: {
|
|
@@ -637,29 +769,31 @@ var script$3 = {
|
|
|
637
769
|
}
|
|
638
770
|
};
|
|
639
771
|
|
|
640
|
-
const _hoisted_1$
|
|
772
|
+
const _hoisted_1$2 = { class: "p-galleria-thumbnail-wrapper" };
|
|
641
773
|
const _hoisted_2$1 = { class: "p-galleria-thumbnail-container" };
|
|
642
|
-
const _hoisted_3$1 = ["disabled"];
|
|
643
|
-
const _hoisted_4$1 = ["
|
|
644
|
-
const _hoisted_5$1 = ["
|
|
774
|
+
const _hoisted_3$1 = ["disabled", "aria-label"];
|
|
775
|
+
const _hoisted_4$1 = ["aria-selected", "aria-controls", "onKeydown"];
|
|
776
|
+
const _hoisted_5$1 = ["tabindex", "aria-label", "aria-current", "onClick"];
|
|
777
|
+
const _hoisted_6$1 = ["disabled", "aria-label"];
|
|
645
778
|
|
|
646
779
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
647
780
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
648
781
|
|
|
649
|
-
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
782
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
|
|
650
783
|
vue.createElementVNode("div", _hoisted_2$1, [
|
|
651
784
|
($props.showThumbnailNavigators)
|
|
652
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
785
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
653
786
|
key: 0,
|
|
654
|
-
class:
|
|
655
|
-
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event))),
|
|
787
|
+
class: $options.navBackwardClass,
|
|
656
788
|
disabled: $options.isNavBackwardDisabled(),
|
|
657
|
-
type: "button"
|
|
658
|
-
|
|
789
|
+
type: "button",
|
|
790
|
+
"aria-label": $options.ariaPrevButtonLabel,
|
|
791
|
+
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event)))
|
|
792
|
+
}, $props.prevButtonProps), [
|
|
659
793
|
vue.createElementVNode("span", {
|
|
660
794
|
class: vue.normalizeClass($options.navBackwardIconClass)
|
|
661
795
|
}, null, 2)
|
|
662
|
-
],
|
|
796
|
+
], 16, _hoisted_3$1)), [
|
|
663
797
|
[_directive_ripple]
|
|
664
798
|
])
|
|
665
799
|
: vue.createCommentVNode("", true),
|
|
@@ -670,6 +804,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
670
804
|
vue.createElementVNode("div", {
|
|
671
805
|
ref: "itemsContainer",
|
|
672
806
|
class: "p-galleria-thumbnail-items",
|
|
807
|
+
role: "tablist",
|
|
673
808
|
onTransitionend: _cache[1] || (_cache[1] = (...args) => ($options.onTransitionEnd && $options.onTransitionEnd(...args))),
|
|
674
809
|
onTouchstart: _cache[2] || (_cache[2] = $event => ($options.onTouchStart($event))),
|
|
675
810
|
onTouchmove: _cache[3] || (_cache[3] = $event => ($options.onTouchMove($event))),
|
|
@@ -686,13 +821,18 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
686
821
|
'p-galleria-thumbnail-item-start': $options.firstItemAciveIndex() === index,
|
|
687
822
|
'p-galleria-thumbnail-item-end': $options.lastItemActiveIndex() === index
|
|
688
823
|
}
|
|
689
|
-
])
|
|
824
|
+
]),
|
|
825
|
+
role: "tab",
|
|
826
|
+
"aria-selected": $props.activeIndex === index,
|
|
827
|
+
"aria-controls": $props.containerId + '_item_' + index,
|
|
828
|
+
onKeydown: $event => ($options.onThumbnailKeydown($event, index))
|
|
690
829
|
}, [
|
|
691
830
|
vue.createElementVNode("div", {
|
|
692
831
|
class: "p-galleria-thumbnail-item-content",
|
|
693
|
-
tabindex: $
|
|
694
|
-
|
|
695
|
-
|
|
832
|
+
tabindex: $props.activeIndex === index ? '0' : '-1',
|
|
833
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
834
|
+
"aria-current": $props.activeIndex === index ? 'page' : undefined,
|
|
835
|
+
onClick: $event => ($options.onItemClick(index))
|
|
696
836
|
}, [
|
|
697
837
|
($props.templates.thumbnail)
|
|
698
838
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.thumbnail), {
|
|
@@ -700,23 +840,24 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
700
840
|
item: item
|
|
701
841
|
}, null, 8, ["item"]))
|
|
702
842
|
: vue.createCommentVNode("", true)
|
|
703
|
-
],
|
|
704
|
-
],
|
|
843
|
+
], 8, _hoisted_5$1)
|
|
844
|
+
], 42, _hoisted_4$1))
|
|
705
845
|
}), 128))
|
|
706
846
|
], 544)
|
|
707
847
|
], 4),
|
|
708
848
|
($props.showThumbnailNavigators)
|
|
709
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
849
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
710
850
|
key: 1,
|
|
711
|
-
class:
|
|
712
|
-
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event))),
|
|
851
|
+
class: $options.navForwardClass,
|
|
713
852
|
disabled: $options.isNavForwardDisabled(),
|
|
714
|
-
type: "button"
|
|
715
|
-
|
|
853
|
+
type: "button",
|
|
854
|
+
"aria-label": $options.ariaNextButtonLabel,
|
|
855
|
+
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event)))
|
|
856
|
+
}, $props.nextButtonProps), [
|
|
716
857
|
vue.createElementVNode("span", {
|
|
717
858
|
class: vue.normalizeClass($options.navForwardIconClass)
|
|
718
859
|
}, null, 2)
|
|
719
|
-
],
|
|
860
|
+
], 16, _hoisted_6$1)), [
|
|
720
861
|
[_directive_ripple]
|
|
721
862
|
])
|
|
722
863
|
: vue.createCommentVNode("", true)
|
|
@@ -724,59 +865,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
724
865
|
]))
|
|
725
866
|
}
|
|
726
867
|
|
|
727
|
-
script$
|
|
728
|
-
|
|
729
|
-
var script$2 = {
|
|
730
|
-
functional: true,
|
|
731
|
-
props: {
|
|
732
|
-
item: {
|
|
733
|
-
type: null,
|
|
734
|
-
default: null
|
|
735
|
-
},
|
|
736
|
-
index: {
|
|
737
|
-
type: Number,
|
|
738
|
-
default: 0
|
|
739
|
-
},
|
|
740
|
-
templates: {
|
|
741
|
-
type: null,
|
|
742
|
-
default: null
|
|
743
|
-
},
|
|
744
|
-
type: {
|
|
745
|
-
type: String,
|
|
746
|
-
default: null
|
|
747
|
-
}
|
|
748
|
-
},
|
|
749
|
-
render(createElement, context) {
|
|
750
|
-
const { item, index, templates, type } = context.props;
|
|
751
|
-
const template = templates && templates[type];
|
|
752
|
-
|
|
753
|
-
if (template) {
|
|
754
|
-
let content;
|
|
755
|
-
|
|
756
|
-
switch (type) {
|
|
757
|
-
case 'item':
|
|
758
|
-
case 'caption':
|
|
759
|
-
case 'thumbnail':
|
|
760
|
-
content = template({
|
|
761
|
-
item
|
|
762
|
-
});
|
|
763
|
-
break;
|
|
764
|
-
case 'indicator':
|
|
765
|
-
content = template({
|
|
766
|
-
index
|
|
767
|
-
});
|
|
768
|
-
break;
|
|
769
|
-
default:
|
|
770
|
-
content = template({});
|
|
771
|
-
break;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
return content ? [content] : null;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
return null;
|
|
778
|
-
}
|
|
779
|
-
};
|
|
868
|
+
script$2.render = render$2;
|
|
780
869
|
|
|
781
870
|
var script$1 = {
|
|
782
871
|
name: 'GalleriaContent',
|
|
@@ -858,29 +947,32 @@ var script$1 = {
|
|
|
858
947
|
indicatorPosClass,
|
|
859
948
|
this.$attrs.containerClass
|
|
860
949
|
];
|
|
950
|
+
},
|
|
951
|
+
closeAriaLabel() {
|
|
952
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
|
861
953
|
}
|
|
862
954
|
},
|
|
863
955
|
components: {
|
|
864
|
-
GalleriaItem: script$
|
|
865
|
-
GalleriaThumbnails: script$
|
|
866
|
-
GalleriaItemSlot: script$2
|
|
956
|
+
GalleriaItem: script$3,
|
|
957
|
+
GalleriaThumbnails: script$2
|
|
867
958
|
},
|
|
868
959
|
directives: {
|
|
869
960
|
ripple: Ripple__default["default"]
|
|
870
961
|
}
|
|
871
962
|
};
|
|
872
963
|
|
|
873
|
-
const _hoisted_1 = ["id"];
|
|
874
|
-
const _hoisted_2 =
|
|
875
|
-
const _hoisted_3 =
|
|
876
|
-
|
|
964
|
+
const _hoisted_1$1 = ["id"];
|
|
965
|
+
const _hoisted_2 = ["aria-label"];
|
|
966
|
+
const _hoisted_3 = /*#__PURE__*/vue.createElementVNode("span", { class: "p-galleria-close-icon pi pi-times" }, null, -1);
|
|
967
|
+
const _hoisted_4 = [
|
|
968
|
+
_hoisted_3
|
|
877
969
|
];
|
|
878
|
-
const
|
|
970
|
+
const _hoisted_5 = {
|
|
879
971
|
key: 1,
|
|
880
972
|
class: "p-galleria-header"
|
|
881
973
|
};
|
|
882
|
-
const
|
|
883
|
-
const
|
|
974
|
+
const _hoisted_6 = ["aria-live"];
|
|
975
|
+
const _hoisted_7 = {
|
|
884
976
|
key: 2,
|
|
885
977
|
class: "p-galleria-footer"
|
|
886
978
|
};
|
|
@@ -891,29 +983,35 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
891
983
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
892
984
|
|
|
893
985
|
return (_ctx.$attrs.value && _ctx.$attrs.value.length > 0)
|
|
894
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
986
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
895
987
|
key: 0,
|
|
896
988
|
id: $data.id,
|
|
897
|
-
class:
|
|
898
|
-
style:
|
|
899
|
-
}, [
|
|
989
|
+
class: $options.galleriaClass,
|
|
990
|
+
style: _ctx.$attrs.containerStyle
|
|
991
|
+
}, _ctx.$attrs.containerProps), [
|
|
900
992
|
(_ctx.$attrs.fullScreen)
|
|
901
993
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
902
994
|
key: 0,
|
|
995
|
+
autofocus: "",
|
|
903
996
|
type: "button",
|
|
904
997
|
class: "p-galleria-close p-link",
|
|
998
|
+
"aria-label": $options.closeAriaLabel,
|
|
905
999
|
onClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('mask-hide')))
|
|
906
|
-
},
|
|
1000
|
+
}, _hoisted_4, 8, _hoisted_2)), [
|
|
907
1001
|
[_directive_ripple]
|
|
908
1002
|
])
|
|
909
1003
|
: vue.createCommentVNode("", true),
|
|
910
1004
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['header'])
|
|
911
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
1005
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
912
1006
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$attrs.templates['header'])))
|
|
913
1007
|
]))
|
|
914
1008
|
: vue.createCommentVNode("", true),
|
|
915
|
-
vue.createElementVNode("div",
|
|
1009
|
+
vue.createElementVNode("div", {
|
|
1010
|
+
class: "p-galleria-content",
|
|
1011
|
+
"aria-live": _ctx.$attrs.autoPlay ? 'polite' : 'off'
|
|
1012
|
+
}, [
|
|
916
1013
|
vue.createVNode(_component_GalleriaItem, {
|
|
1014
|
+
id: $data.id,
|
|
917
1015
|
activeIndex: $data.activeIndex,
|
|
918
1016
|
"onUpdate:activeIndex": _cache[1] || (_cache[1] = $event => (($data.activeIndex) = $event)),
|
|
919
1017
|
slideShowActive: $data.slideShowActive,
|
|
@@ -927,7 +1025,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
927
1025
|
autoPlay: _ctx.$attrs.autoPlay,
|
|
928
1026
|
onStartSlideshow: $options.startSlideShow,
|
|
929
1027
|
onStopSlideshow: $options.stopSlideShow
|
|
930
|
-
}, null, 8, ["activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
1028
|
+
}, null, 8, ["id", "activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
931
1029
|
(_ctx.$attrs.showThumbnails)
|
|
932
1030
|
? (vue.openBlock(), vue.createBlock(_component_GalleriaThumbnails, {
|
|
933
1031
|
key: 0,
|
|
@@ -944,16 +1042,18 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
944
1042
|
isVertical: $options.isVertical(),
|
|
945
1043
|
contentHeight: _ctx.$attrs.verticalThumbnailViewPortHeight,
|
|
946
1044
|
showThumbnailNavigators: _ctx.$attrs.showThumbnailNavigators,
|
|
1045
|
+
prevButtonProps: _ctx.$attrs.prevButtonProps,
|
|
1046
|
+
nextButtonProps: _ctx.$attrs.nextButtonProps,
|
|
947
1047
|
onStopSlideshow: $options.stopSlideShow
|
|
948
|
-
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "onStopSlideshow"]))
|
|
1048
|
+
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "prevButtonProps", "nextButtonProps", "onStopSlideshow"]))
|
|
949
1049
|
: vue.createCommentVNode("", true)
|
|
950
|
-
]),
|
|
1050
|
+
], 8, _hoisted_6),
|
|
951
1051
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['footer'])
|
|
952
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
1052
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
953
1053
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$attrs.templates['footer'])))
|
|
954
1054
|
]))
|
|
955
1055
|
: vue.createCommentVNode("", true)
|
|
956
|
-
],
|
|
1056
|
+
], 16, _hoisted_1$1))
|
|
957
1057
|
: vue.createCommentVNode("", true)
|
|
958
1058
|
}
|
|
959
1059
|
|
|
@@ -1052,8 +1152,26 @@ var script = {
|
|
|
1052
1152
|
type: String,
|
|
1053
1153
|
default: null
|
|
1054
1154
|
},
|
|
1055
|
-
containerStyle:
|
|
1056
|
-
|
|
1155
|
+
containerStyle: {
|
|
1156
|
+
type: null,
|
|
1157
|
+
default: null
|
|
1158
|
+
},
|
|
1159
|
+
containerClass: {
|
|
1160
|
+
type: null,
|
|
1161
|
+
default: null
|
|
1162
|
+
},
|
|
1163
|
+
containerProps: {
|
|
1164
|
+
type: null,
|
|
1165
|
+
default: null
|
|
1166
|
+
},
|
|
1167
|
+
prevButtonProps: {
|
|
1168
|
+
type: null,
|
|
1169
|
+
default: null
|
|
1170
|
+
},
|
|
1171
|
+
nextButtonProps: {
|
|
1172
|
+
type: null,
|
|
1173
|
+
default: null
|
|
1174
|
+
}
|
|
1057
1175
|
},
|
|
1058
1176
|
container: null,
|
|
1059
1177
|
mask: null,
|
|
@@ -1086,6 +1204,7 @@ var script = {
|
|
|
1086
1204
|
onEnter(el) {
|
|
1087
1205
|
this.mask.style.zIndex = String(parseInt(el.style.zIndex, 10) - 1);
|
|
1088
1206
|
utils.DomHandler.addClass(document.body, 'p-overflow-hidden');
|
|
1207
|
+
this.focus();
|
|
1089
1208
|
},
|
|
1090
1209
|
onBeforeLeave() {
|
|
1091
1210
|
utils.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
|
@@ -1108,6 +1227,13 @@ var script = {
|
|
|
1108
1227
|
},
|
|
1109
1228
|
maskRef(el) {
|
|
1110
1229
|
this.mask = el;
|
|
1230
|
+
},
|
|
1231
|
+
focus() {
|
|
1232
|
+
let focusTarget = this.container.$el.querySelector('[autofocus]');
|
|
1233
|
+
|
|
1234
|
+
if (focusTarget) {
|
|
1235
|
+
focusTarget.focus();
|
|
1236
|
+
}
|
|
1111
1237
|
}
|
|
1112
1238
|
},
|
|
1113
1239
|
computed: {
|
|
@@ -1125,12 +1251,18 @@ var script = {
|
|
|
1125
1251
|
components: {
|
|
1126
1252
|
GalleriaContent: script$1,
|
|
1127
1253
|
Portal: Portal__default["default"]
|
|
1254
|
+
},
|
|
1255
|
+
directives: {
|
|
1256
|
+
focustrap: FocusTrap__default["default"]
|
|
1128
1257
|
}
|
|
1129
1258
|
};
|
|
1130
1259
|
|
|
1260
|
+
const _hoisted_1 = ["role", "aria-modal"];
|
|
1261
|
+
|
|
1131
1262
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1132
1263
|
const _component_GalleriaContent = vue.resolveComponent("GalleriaContent");
|
|
1133
1264
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
1265
|
+
const _directive_focustrap = vue.resolveDirective("focustrap");
|
|
1134
1266
|
|
|
1135
1267
|
return ($props.fullScreen)
|
|
1136
1268
|
? (vue.openBlock(), vue.createBlock(_component_Portal, { key: 0 }, {
|
|
@@ -1139,7 +1271,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1139
1271
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1140
1272
|
key: 0,
|
|
1141
1273
|
ref: $options.maskRef,
|
|
1142
|
-
class: vue.normalizeClass($options.maskContentClass)
|
|
1274
|
+
class: vue.normalizeClass($options.maskContentClass),
|
|
1275
|
+
role: $props.fullScreen ? 'dialog' : 'region',
|
|
1276
|
+
"aria-modal": $props.fullScreen ? 'true' : undefined
|
|
1143
1277
|
}, [
|
|
1144
1278
|
vue.createVNode(vue.Transition, {
|
|
1145
1279
|
name: "p-galleria",
|
|
@@ -1151,19 +1285,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1151
1285
|
}, {
|
|
1152
1286
|
default: vue.withCtx(() => [
|
|
1153
1287
|
($props.visible)
|
|
1154
|
-
? (vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
|
|
1288
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
|
|
1155
1289
|
key: 0,
|
|
1156
1290
|
ref: $options.containerRef
|
|
1157
1291
|
}, _ctx.$props, {
|
|
1158
1292
|
onMaskHide: $options.maskHide,
|
|
1159
1293
|
templates: _ctx.$slots,
|
|
1160
1294
|
onActiveitemChange: $options.onActiveItemChange
|
|
1161
|
-
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"]))
|
|
1295
|
+
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"])), [
|
|
1296
|
+
[_directive_focustrap]
|
|
1297
|
+
])
|
|
1162
1298
|
: vue.createCommentVNode("", true)
|
|
1163
1299
|
]),
|
|
1164
1300
|
_: 1
|
|
1165
1301
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])
|
|
1166
|
-
],
|
|
1302
|
+
], 10, _hoisted_1))
|
|
1167
1303
|
: vue.createCommentVNode("", true)
|
|
1168
1304
|
]),
|
|
1169
1305
|
_: 1
|
|
@@ -1201,7 +1337,7 @@ function styleInject(css, ref) {
|
|
|
1201
1337
|
}
|
|
1202
1338
|
}
|
|
1203
1339
|
|
|
1204
|
-
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";
|
|
1340
|
+
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";
|
|
1205
1341
|
styleInject(css_248z);
|
|
1206
1342
|
|
|
1207
1343
|
script.render = render;
|