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.esm.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import FocusTrap from 'primevue/focustrap';
|
|
2
|
+
import Portal from 'primevue/portal';
|
|
1
3
|
import { DomHandler, UniqueComponentId, ZIndexUtils } from 'primevue/utils';
|
|
2
4
|
import Ripple from 'primevue/ripple';
|
|
3
|
-
import { resolveDirective, openBlock, createElementBlock, createElementVNode, withDirectives, normalizeClass, createCommentVNode, createBlock, resolveDynamicComponent, Fragment, renderList,
|
|
4
|
-
import Portal from 'primevue/portal';
|
|
5
|
+
import { resolveDirective, openBlock, createElementBlock, createElementVNode, withDirectives, normalizeClass, createCommentVNode, createBlock, resolveDynamicComponent, Fragment, renderList, mergeProps, normalizeStyle, resolveComponent, createVNode, withCtx, Transition } from 'vue';
|
|
5
6
|
|
|
6
|
-
var script$
|
|
7
|
+
var script$3 = {
|
|
7
8
|
name: 'GalleriaItem',
|
|
8
9
|
emits: ['start-slideshow', 'stop-slideshow', 'update:activeIndex'],
|
|
9
10
|
props: {
|
|
@@ -42,6 +43,10 @@ var script$4 = {
|
|
|
42
43
|
templates: {
|
|
43
44
|
type: null,
|
|
44
45
|
default: null
|
|
46
|
+
},
|
|
47
|
+
id: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: null
|
|
45
50
|
}
|
|
46
51
|
},
|
|
47
52
|
mounted() {
|
|
@@ -94,10 +99,21 @@ var script$4 = {
|
|
|
94
99
|
this.$emit('update:activeIndex', index);
|
|
95
100
|
}
|
|
96
101
|
},
|
|
97
|
-
onIndicatorKeyDown(index) {
|
|
98
|
-
|
|
102
|
+
onIndicatorKeyDown(event, index) {
|
|
103
|
+
switch (event.code) {
|
|
104
|
+
case 'Enter':
|
|
105
|
+
case 'Space':
|
|
106
|
+
this.stopSlideShow();
|
|
99
107
|
|
|
100
|
-
|
|
108
|
+
this.$emit('update:activeIndex', index);
|
|
109
|
+
event.preventDefault();
|
|
110
|
+
break;
|
|
111
|
+
|
|
112
|
+
case 'ArrowDown':
|
|
113
|
+
case 'ArrowUp':
|
|
114
|
+
event.preventDefault();
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
101
117
|
},
|
|
102
118
|
isIndicatorItemActive(index) {
|
|
103
119
|
return this.activeIndex === index;
|
|
@@ -107,6 +123,12 @@ var script$4 = {
|
|
|
107
123
|
},
|
|
108
124
|
isNavForwardDisabled() {
|
|
109
125
|
return !this.circular && this.activeIndex === this.value.length - 1;
|
|
126
|
+
},
|
|
127
|
+
ariaSlideNumber(value) {
|
|
128
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g, value) : undefined;
|
|
129
|
+
},
|
|
130
|
+
ariaPageLabel(value) {
|
|
131
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
110
132
|
}
|
|
111
133
|
},
|
|
112
134
|
computed: {
|
|
@@ -128,6 +150,9 @@ var script$4 = {
|
|
|
128
150
|
'p-disabled': this.isNavForwardDisabled()
|
|
129
151
|
}
|
|
130
152
|
];
|
|
153
|
+
},
|
|
154
|
+
ariaSlideLabel() {
|
|
155
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slide : undefined;
|
|
131
156
|
}
|
|
132
157
|
},
|
|
133
158
|
directives: {
|
|
@@ -135,15 +160,15 @@ var script$4 = {
|
|
|
135
160
|
}
|
|
136
161
|
};
|
|
137
162
|
|
|
138
|
-
const _hoisted_1$
|
|
163
|
+
const _hoisted_1$3 = { class: "p-galleria-item-wrapper" };
|
|
139
164
|
const _hoisted_2$2 = { class: "p-galleria-item-container" };
|
|
140
165
|
const _hoisted_3$2 = ["disabled"];
|
|
141
166
|
const _hoisted_4$2 = /*#__PURE__*/createElementVNode("span", { class: "p-galleria-item-prev-icon pi pi-chevron-left" }, null, -1);
|
|
142
167
|
const _hoisted_5$2 = [
|
|
143
168
|
_hoisted_4$2
|
|
144
169
|
];
|
|
145
|
-
const _hoisted_6$
|
|
146
|
-
const _hoisted_7 = ["disabled"];
|
|
170
|
+
const _hoisted_6$2 = ["id", "aria-label", "aria-roledescription"];
|
|
171
|
+
const _hoisted_7$1 = ["disabled"];
|
|
147
172
|
const _hoisted_8 = /*#__PURE__*/createElementVNode("span", { class: "p-galleria-item-next-icon pi pi-chevron-right" }, null, -1);
|
|
148
173
|
const _hoisted_9 = [
|
|
149
174
|
_hoisted_8
|
|
@@ -156,7 +181,7 @@ const _hoisted_11 = {
|
|
|
156
181
|
key: 0,
|
|
157
182
|
class: "p-galleria-indicators p-reset"
|
|
158
183
|
};
|
|
159
|
-
const _hoisted_12 = ["onClick", "onMouseenter", "onKeydown"];
|
|
184
|
+
const _hoisted_12 = ["aria-label", "aria-selected", "aria-controls", "onClick", "onMouseenter", "onKeydown"];
|
|
160
185
|
const _hoisted_13 = {
|
|
161
186
|
key: 0,
|
|
162
187
|
type: "button",
|
|
@@ -167,7 +192,7 @@ const _hoisted_13 = {
|
|
|
167
192
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
168
193
|
const _directive_ripple = resolveDirective("ripple");
|
|
169
194
|
|
|
170
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
195
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
171
196
|
createElementVNode("div", _hoisted_2$2, [
|
|
172
197
|
($props.showItemNavigators)
|
|
173
198
|
? withDirectives((openBlock(), createElementBlock("button", {
|
|
@@ -180,14 +205,20 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
180
205
|
[_directive_ripple]
|
|
181
206
|
])
|
|
182
207
|
: createCommentVNode("", true),
|
|
183
|
-
createElementVNode("div",
|
|
208
|
+
createElementVNode("div", {
|
|
209
|
+
id: $props.id + '_item_' + $props.activeIndex,
|
|
210
|
+
class: "p-galleria-item",
|
|
211
|
+
role: "group",
|
|
212
|
+
"aria-label": $options.ariaSlideNumber($props.activeIndex + 1),
|
|
213
|
+
"aria-roledescription": $options.ariaSlideLabel
|
|
214
|
+
}, [
|
|
184
215
|
($props.templates.item)
|
|
185
216
|
? (openBlock(), createBlock(resolveDynamicComponent($props.templates.item), {
|
|
186
217
|
key: 0,
|
|
187
218
|
item: $options.activeItem
|
|
188
219
|
}, null, 8, ["item"]))
|
|
189
220
|
: createCommentVNode("", true)
|
|
190
|
-
]),
|
|
221
|
+
], 8, _hoisted_6$2),
|
|
191
222
|
($props.showItemNavigators)
|
|
192
223
|
? withDirectives((openBlock(), createElementBlock("button", {
|
|
193
224
|
key: 1,
|
|
@@ -195,7 +226,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
226
|
class: normalizeClass($options.navForwardClass),
|
|
196
227
|
onClick: _cache[1] || (_cache[1] = $event => ($options.navForward($event))),
|
|
197
228
|
disabled: $options.isNavForwardDisabled()
|
|
198
|
-
}, _hoisted_9, 10, _hoisted_7)), [
|
|
229
|
+
}, _hoisted_9, 10, _hoisted_7$1)), [
|
|
199
230
|
[_directive_ripple]
|
|
200
231
|
])
|
|
201
232
|
: createCommentVNode("", true),
|
|
@@ -215,11 +246,14 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
215
246
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.value, (item, index) => {
|
|
216
247
|
return (openBlock(), createElementBlock("li", {
|
|
217
248
|
key: `p-galleria-indicator-${index}`,
|
|
249
|
+
class: normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }]),
|
|
218
250
|
tabindex: "0",
|
|
251
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
252
|
+
"aria-selected": $props.activeIndex === index,
|
|
253
|
+
"aria-controls": $props.id + '_item_' + index,
|
|
219
254
|
onClick: $event => ($options.onIndicatorClick(index)),
|
|
220
255
|
onMouseenter: $event => ($options.onIndicatorMouseEnter(index)),
|
|
221
|
-
onKeydown:
|
|
222
|
-
class: normalizeClass(['p-galleria-indicator', { 'p-highlight': $options.isIndicatorItemActive(index) }])
|
|
256
|
+
onKeydown: $event => ($options.onIndicatorKeyDown($event, index))
|
|
223
257
|
}, [
|
|
224
258
|
(!$props.templates['indicator'])
|
|
225
259
|
? (openBlock(), createElementBlock("button", _hoisted_13))
|
|
@@ -237,9 +271,9 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
237
271
|
]))
|
|
238
272
|
}
|
|
239
273
|
|
|
240
|
-
script$
|
|
274
|
+
script$3.render = render$3;
|
|
241
275
|
|
|
242
|
-
var script$
|
|
276
|
+
var script$2 = {
|
|
243
277
|
name: 'GalleriaThumbnails',
|
|
244
278
|
emits: ['stop-slideshow', 'update:activeIndex'],
|
|
245
279
|
props: {
|
|
@@ -286,6 +320,14 @@ var script$3 = {
|
|
|
286
320
|
templates: {
|
|
287
321
|
type: null,
|
|
288
322
|
default: null
|
|
323
|
+
},
|
|
324
|
+
prevButtonProps: {
|
|
325
|
+
type: null,
|
|
326
|
+
default: null
|
|
327
|
+
},
|
|
328
|
+
nextButtonProps: {
|
|
329
|
+
type: null,
|
|
330
|
+
default: null
|
|
289
331
|
}
|
|
290
332
|
},
|
|
291
333
|
startPos: null,
|
|
@@ -454,6 +496,86 @@ var script$3 = {
|
|
|
454
496
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
455
497
|
}
|
|
456
498
|
},
|
|
499
|
+
onThumbnailKeydown(event, index) {
|
|
500
|
+
if (event.code === 'Enter' || event.code === 'Space') {
|
|
501
|
+
this.onItemClick(index);
|
|
502
|
+
event.preventDefault();
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
switch (event.code) {
|
|
506
|
+
case 'ArrowRight':
|
|
507
|
+
this.onRightKey();
|
|
508
|
+
break;
|
|
509
|
+
|
|
510
|
+
case 'ArrowLeft':
|
|
511
|
+
this.onLeftKey();
|
|
512
|
+
break;
|
|
513
|
+
|
|
514
|
+
case 'Home':
|
|
515
|
+
this.onHomeKey();
|
|
516
|
+
event.preventDefault();
|
|
517
|
+
break;
|
|
518
|
+
|
|
519
|
+
case 'End':
|
|
520
|
+
this.onEndKey();
|
|
521
|
+
event.preventDefault();
|
|
522
|
+
break;
|
|
523
|
+
|
|
524
|
+
case 'ArrowUp':
|
|
525
|
+
case 'ArrowDown':
|
|
526
|
+
event.preventDefault();
|
|
527
|
+
break;
|
|
528
|
+
|
|
529
|
+
case 'Tab':
|
|
530
|
+
this.onTabKey();
|
|
531
|
+
break;
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
onRightKey() {
|
|
535
|
+
const indicators = DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
536
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
537
|
+
|
|
538
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
539
|
+
},
|
|
540
|
+
onLeftKey() {
|
|
541
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
542
|
+
|
|
543
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
544
|
+
},
|
|
545
|
+
onHomeKey() {
|
|
546
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
547
|
+
|
|
548
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
549
|
+
},
|
|
550
|
+
onEndKey() {
|
|
551
|
+
const indicators = DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
552
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
553
|
+
|
|
554
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
555
|
+
},
|
|
556
|
+
onTabKey() {
|
|
557
|
+
const indicators = [...DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
558
|
+
const highlightedIndex = indicators.findIndex((ind) => DomHandler.hasClass(ind, 'p-galleria-thumbnail-item-current'));
|
|
559
|
+
|
|
560
|
+
const activeIndicator = DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"');
|
|
561
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
562
|
+
|
|
563
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
564
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
565
|
+
},
|
|
566
|
+
findFocusedIndicatorIndex() {
|
|
567
|
+
const indicators = [...DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item')];
|
|
568
|
+
const activeIndicator = DomHandler.findSingle(this.$refs.itemsContainer, '.p-galleria-thumbnail-item > [tabindex="0"]');
|
|
569
|
+
|
|
570
|
+
return indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
571
|
+
},
|
|
572
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
573
|
+
const indicators = DomHandler.find(this.$refs.itemsContainer, '.p-galleria-thumbnail-item');
|
|
574
|
+
|
|
575
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
576
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
577
|
+
indicators[nextInd].children[0].focus();
|
|
578
|
+
},
|
|
457
579
|
onTransitionEnd() {
|
|
458
580
|
if (this.$refs.itemsContainer) {
|
|
459
581
|
DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
@@ -587,6 +709,9 @@ var script$3 = {
|
|
|
587
709
|
},
|
|
588
710
|
isItemActive(index) {
|
|
589
711
|
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
712
|
+
},
|
|
713
|
+
ariaPageLabel(value) {
|
|
714
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
590
715
|
}
|
|
591
716
|
},
|
|
592
717
|
computed: {
|
|
@@ -623,6 +748,12 @@ var script$3 = {
|
|
|
623
748
|
'pi-chevron-down': this.isVertical
|
|
624
749
|
}
|
|
625
750
|
];
|
|
751
|
+
},
|
|
752
|
+
ariaPrevButtonLabel() {
|
|
753
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.prevPageLabel : undefined;
|
|
754
|
+
},
|
|
755
|
+
ariaNextButtonLabel() {
|
|
756
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.nextPageLabel : undefined;
|
|
626
757
|
}
|
|
627
758
|
},
|
|
628
759
|
directives: {
|
|
@@ -630,29 +761,31 @@ var script$3 = {
|
|
|
630
761
|
}
|
|
631
762
|
};
|
|
632
763
|
|
|
633
|
-
const _hoisted_1$
|
|
764
|
+
const _hoisted_1$2 = { class: "p-galleria-thumbnail-wrapper" };
|
|
634
765
|
const _hoisted_2$1 = { class: "p-galleria-thumbnail-container" };
|
|
635
|
-
const _hoisted_3$1 = ["disabled"];
|
|
636
|
-
const _hoisted_4$1 = ["
|
|
637
|
-
const _hoisted_5$1 = ["
|
|
766
|
+
const _hoisted_3$1 = ["disabled", "aria-label"];
|
|
767
|
+
const _hoisted_4$1 = ["aria-selected", "aria-controls", "onKeydown"];
|
|
768
|
+
const _hoisted_5$1 = ["tabindex", "aria-label", "aria-current", "onClick"];
|
|
769
|
+
const _hoisted_6$1 = ["disabled", "aria-label"];
|
|
638
770
|
|
|
639
771
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
640
772
|
const _directive_ripple = resolveDirective("ripple");
|
|
641
773
|
|
|
642
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
774
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
643
775
|
createElementVNode("div", _hoisted_2$1, [
|
|
644
776
|
($props.showThumbnailNavigators)
|
|
645
|
-
? withDirectives((openBlock(), createElementBlock("button", {
|
|
777
|
+
? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
646
778
|
key: 0,
|
|
647
|
-
class:
|
|
648
|
-
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event))),
|
|
779
|
+
class: $options.navBackwardClass,
|
|
649
780
|
disabled: $options.isNavBackwardDisabled(),
|
|
650
|
-
type: "button"
|
|
651
|
-
|
|
781
|
+
type: "button",
|
|
782
|
+
"aria-label": $options.ariaPrevButtonLabel,
|
|
783
|
+
onClick: _cache[0] || (_cache[0] = $event => ($options.navBackward($event)))
|
|
784
|
+
}, $props.prevButtonProps), [
|
|
652
785
|
createElementVNode("span", {
|
|
653
786
|
class: normalizeClass($options.navBackwardIconClass)
|
|
654
787
|
}, null, 2)
|
|
655
|
-
],
|
|
788
|
+
], 16, _hoisted_3$1)), [
|
|
656
789
|
[_directive_ripple]
|
|
657
790
|
])
|
|
658
791
|
: createCommentVNode("", true),
|
|
@@ -663,6 +796,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
663
796
|
createElementVNode("div", {
|
|
664
797
|
ref: "itemsContainer",
|
|
665
798
|
class: "p-galleria-thumbnail-items",
|
|
799
|
+
role: "tablist",
|
|
666
800
|
onTransitionend: _cache[1] || (_cache[1] = (...args) => ($options.onTransitionEnd && $options.onTransitionEnd(...args))),
|
|
667
801
|
onTouchstart: _cache[2] || (_cache[2] = $event => ($options.onTouchStart($event))),
|
|
668
802
|
onTouchmove: _cache[3] || (_cache[3] = $event => ($options.onTouchMove($event))),
|
|
@@ -679,13 +813,18 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
679
813
|
'p-galleria-thumbnail-item-start': $options.firstItemAciveIndex() === index,
|
|
680
814
|
'p-galleria-thumbnail-item-end': $options.lastItemActiveIndex() === index
|
|
681
815
|
}
|
|
682
|
-
])
|
|
816
|
+
]),
|
|
817
|
+
role: "tab",
|
|
818
|
+
"aria-selected": $props.activeIndex === index,
|
|
819
|
+
"aria-controls": $props.containerId + '_item_' + index,
|
|
820
|
+
onKeydown: $event => ($options.onThumbnailKeydown($event, index))
|
|
683
821
|
}, [
|
|
684
822
|
createElementVNode("div", {
|
|
685
823
|
class: "p-galleria-thumbnail-item-content",
|
|
686
|
-
tabindex: $
|
|
687
|
-
|
|
688
|
-
|
|
824
|
+
tabindex: $props.activeIndex === index ? '0' : '-1',
|
|
825
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
826
|
+
"aria-current": $props.activeIndex === index ? 'page' : undefined,
|
|
827
|
+
onClick: $event => ($options.onItemClick(index))
|
|
689
828
|
}, [
|
|
690
829
|
($props.templates.thumbnail)
|
|
691
830
|
? (openBlock(), createBlock(resolveDynamicComponent($props.templates.thumbnail), {
|
|
@@ -693,23 +832,24 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
693
832
|
item: item
|
|
694
833
|
}, null, 8, ["item"]))
|
|
695
834
|
: createCommentVNode("", true)
|
|
696
|
-
],
|
|
697
|
-
],
|
|
835
|
+
], 8, _hoisted_5$1)
|
|
836
|
+
], 42, _hoisted_4$1))
|
|
698
837
|
}), 128))
|
|
699
838
|
], 544)
|
|
700
839
|
], 4),
|
|
701
840
|
($props.showThumbnailNavigators)
|
|
702
|
-
? withDirectives((openBlock(), createElementBlock("button", {
|
|
841
|
+
? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
703
842
|
key: 1,
|
|
704
|
-
class:
|
|
705
|
-
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event))),
|
|
843
|
+
class: $options.navForwardClass,
|
|
706
844
|
disabled: $options.isNavForwardDisabled(),
|
|
707
|
-
type: "button"
|
|
708
|
-
|
|
845
|
+
type: "button",
|
|
846
|
+
"aria-label": $options.ariaNextButtonLabel,
|
|
847
|
+
onClick: _cache[5] || (_cache[5] = $event => ($options.navForward($event)))
|
|
848
|
+
}, $props.nextButtonProps), [
|
|
709
849
|
createElementVNode("span", {
|
|
710
850
|
class: normalizeClass($options.navForwardIconClass)
|
|
711
851
|
}, null, 2)
|
|
712
|
-
],
|
|
852
|
+
], 16, _hoisted_6$1)), [
|
|
713
853
|
[_directive_ripple]
|
|
714
854
|
])
|
|
715
855
|
: createCommentVNode("", true)
|
|
@@ -717,59 +857,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
717
857
|
]))
|
|
718
858
|
}
|
|
719
859
|
|
|
720
|
-
script$
|
|
721
|
-
|
|
722
|
-
var script$2 = {
|
|
723
|
-
functional: true,
|
|
724
|
-
props: {
|
|
725
|
-
item: {
|
|
726
|
-
type: null,
|
|
727
|
-
default: null
|
|
728
|
-
},
|
|
729
|
-
index: {
|
|
730
|
-
type: Number,
|
|
731
|
-
default: 0
|
|
732
|
-
},
|
|
733
|
-
templates: {
|
|
734
|
-
type: null,
|
|
735
|
-
default: null
|
|
736
|
-
},
|
|
737
|
-
type: {
|
|
738
|
-
type: String,
|
|
739
|
-
default: null
|
|
740
|
-
}
|
|
741
|
-
},
|
|
742
|
-
render(createElement, context) {
|
|
743
|
-
const { item, index, templates, type } = context.props;
|
|
744
|
-
const template = templates && templates[type];
|
|
745
|
-
|
|
746
|
-
if (template) {
|
|
747
|
-
let content;
|
|
748
|
-
|
|
749
|
-
switch (type) {
|
|
750
|
-
case 'item':
|
|
751
|
-
case 'caption':
|
|
752
|
-
case 'thumbnail':
|
|
753
|
-
content = template({
|
|
754
|
-
item
|
|
755
|
-
});
|
|
756
|
-
break;
|
|
757
|
-
case 'indicator':
|
|
758
|
-
content = template({
|
|
759
|
-
index
|
|
760
|
-
});
|
|
761
|
-
break;
|
|
762
|
-
default:
|
|
763
|
-
content = template({});
|
|
764
|
-
break;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
return content ? [content] : null;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
return null;
|
|
771
|
-
}
|
|
772
|
-
};
|
|
860
|
+
script$2.render = render$2;
|
|
773
861
|
|
|
774
862
|
var script$1 = {
|
|
775
863
|
name: 'GalleriaContent',
|
|
@@ -851,29 +939,32 @@ var script$1 = {
|
|
|
851
939
|
indicatorPosClass,
|
|
852
940
|
this.$attrs.containerClass
|
|
853
941
|
];
|
|
942
|
+
},
|
|
943
|
+
closeAriaLabel() {
|
|
944
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
|
854
945
|
}
|
|
855
946
|
},
|
|
856
947
|
components: {
|
|
857
|
-
GalleriaItem: script$
|
|
858
|
-
GalleriaThumbnails: script$
|
|
859
|
-
GalleriaItemSlot: script$2
|
|
948
|
+
GalleriaItem: script$3,
|
|
949
|
+
GalleriaThumbnails: script$2
|
|
860
950
|
},
|
|
861
951
|
directives: {
|
|
862
952
|
ripple: Ripple
|
|
863
953
|
}
|
|
864
954
|
};
|
|
865
955
|
|
|
866
|
-
const _hoisted_1 = ["id"];
|
|
867
|
-
const _hoisted_2 =
|
|
868
|
-
const _hoisted_3 =
|
|
869
|
-
|
|
956
|
+
const _hoisted_1$1 = ["id"];
|
|
957
|
+
const _hoisted_2 = ["aria-label"];
|
|
958
|
+
const _hoisted_3 = /*#__PURE__*/createElementVNode("span", { class: "p-galleria-close-icon pi pi-times" }, null, -1);
|
|
959
|
+
const _hoisted_4 = [
|
|
960
|
+
_hoisted_3
|
|
870
961
|
];
|
|
871
|
-
const
|
|
962
|
+
const _hoisted_5 = {
|
|
872
963
|
key: 1,
|
|
873
964
|
class: "p-galleria-header"
|
|
874
965
|
};
|
|
875
|
-
const
|
|
876
|
-
const
|
|
966
|
+
const _hoisted_6 = ["aria-live"];
|
|
967
|
+
const _hoisted_7 = {
|
|
877
968
|
key: 2,
|
|
878
969
|
class: "p-galleria-footer"
|
|
879
970
|
};
|
|
@@ -884,29 +975,35 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
884
975
|
const _directive_ripple = resolveDirective("ripple");
|
|
885
976
|
|
|
886
977
|
return (_ctx.$attrs.value && _ctx.$attrs.value.length > 0)
|
|
887
|
-
? (openBlock(), createElementBlock("div", {
|
|
978
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
888
979
|
key: 0,
|
|
889
980
|
id: $data.id,
|
|
890
|
-
class:
|
|
891
|
-
style:
|
|
892
|
-
}, [
|
|
981
|
+
class: $options.galleriaClass,
|
|
982
|
+
style: _ctx.$attrs.containerStyle
|
|
983
|
+
}, _ctx.$attrs.containerProps), [
|
|
893
984
|
(_ctx.$attrs.fullScreen)
|
|
894
985
|
? withDirectives((openBlock(), createElementBlock("button", {
|
|
895
986
|
key: 0,
|
|
987
|
+
autofocus: "",
|
|
896
988
|
type: "button",
|
|
897
989
|
class: "p-galleria-close p-link",
|
|
990
|
+
"aria-label": $options.closeAriaLabel,
|
|
898
991
|
onClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('mask-hide')))
|
|
899
|
-
},
|
|
992
|
+
}, _hoisted_4, 8, _hoisted_2)), [
|
|
900
993
|
[_directive_ripple]
|
|
901
994
|
])
|
|
902
995
|
: createCommentVNode("", true),
|
|
903
996
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['header'])
|
|
904
|
-
? (openBlock(), createElementBlock("div",
|
|
997
|
+
? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
905
998
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.$attrs.templates['header'])))
|
|
906
999
|
]))
|
|
907
1000
|
: createCommentVNode("", true),
|
|
908
|
-
createElementVNode("div",
|
|
1001
|
+
createElementVNode("div", {
|
|
1002
|
+
class: "p-galleria-content",
|
|
1003
|
+
"aria-live": _ctx.$attrs.autoPlay ? 'polite' : 'off'
|
|
1004
|
+
}, [
|
|
909
1005
|
createVNode(_component_GalleriaItem, {
|
|
1006
|
+
id: $data.id,
|
|
910
1007
|
activeIndex: $data.activeIndex,
|
|
911
1008
|
"onUpdate:activeIndex": _cache[1] || (_cache[1] = $event => (($data.activeIndex) = $event)),
|
|
912
1009
|
slideShowActive: $data.slideShowActive,
|
|
@@ -920,7 +1017,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
920
1017
|
autoPlay: _ctx.$attrs.autoPlay,
|
|
921
1018
|
onStartSlideshow: $options.startSlideShow,
|
|
922
1019
|
onStopSlideshow: $options.stopSlideShow
|
|
923
|
-
}, null, 8, ["activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
1020
|
+
}, null, 8, ["id", "activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow"]),
|
|
924
1021
|
(_ctx.$attrs.showThumbnails)
|
|
925
1022
|
? (openBlock(), createBlock(_component_GalleriaThumbnails, {
|
|
926
1023
|
key: 0,
|
|
@@ -937,16 +1034,18 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
937
1034
|
isVertical: $options.isVertical(),
|
|
938
1035
|
contentHeight: _ctx.$attrs.verticalThumbnailViewPortHeight,
|
|
939
1036
|
showThumbnailNavigators: _ctx.$attrs.showThumbnailNavigators,
|
|
1037
|
+
prevButtonProps: _ctx.$attrs.prevButtonProps,
|
|
1038
|
+
nextButtonProps: _ctx.$attrs.nextButtonProps,
|
|
940
1039
|
onStopSlideshow: $options.stopSlideShow
|
|
941
|
-
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "onStopSlideshow"]))
|
|
1040
|
+
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "prevButtonProps", "nextButtonProps", "onStopSlideshow"]))
|
|
942
1041
|
: createCommentVNode("", true)
|
|
943
|
-
]),
|
|
1042
|
+
], 8, _hoisted_6),
|
|
944
1043
|
(_ctx.$attrs.templates && _ctx.$attrs.templates['footer'])
|
|
945
|
-
? (openBlock(), createElementBlock("div",
|
|
1044
|
+
? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
946
1045
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.$attrs.templates['footer'])))
|
|
947
1046
|
]))
|
|
948
1047
|
: createCommentVNode("", true)
|
|
949
|
-
],
|
|
1048
|
+
], 16, _hoisted_1$1))
|
|
950
1049
|
: createCommentVNode("", true)
|
|
951
1050
|
}
|
|
952
1051
|
|
|
@@ -1045,8 +1144,26 @@ var script = {
|
|
|
1045
1144
|
type: String,
|
|
1046
1145
|
default: null
|
|
1047
1146
|
},
|
|
1048
|
-
containerStyle:
|
|
1049
|
-
|
|
1147
|
+
containerStyle: {
|
|
1148
|
+
type: null,
|
|
1149
|
+
default: null
|
|
1150
|
+
},
|
|
1151
|
+
containerClass: {
|
|
1152
|
+
type: null,
|
|
1153
|
+
default: null
|
|
1154
|
+
},
|
|
1155
|
+
containerProps: {
|
|
1156
|
+
type: null,
|
|
1157
|
+
default: null
|
|
1158
|
+
},
|
|
1159
|
+
prevButtonProps: {
|
|
1160
|
+
type: null,
|
|
1161
|
+
default: null
|
|
1162
|
+
},
|
|
1163
|
+
nextButtonProps: {
|
|
1164
|
+
type: null,
|
|
1165
|
+
default: null
|
|
1166
|
+
}
|
|
1050
1167
|
},
|
|
1051
1168
|
container: null,
|
|
1052
1169
|
mask: null,
|
|
@@ -1079,6 +1196,7 @@ var script = {
|
|
|
1079
1196
|
onEnter(el) {
|
|
1080
1197
|
this.mask.style.zIndex = String(parseInt(el.style.zIndex, 10) - 1);
|
|
1081
1198
|
DomHandler.addClass(document.body, 'p-overflow-hidden');
|
|
1199
|
+
this.focus();
|
|
1082
1200
|
},
|
|
1083
1201
|
onBeforeLeave() {
|
|
1084
1202
|
DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
|
@@ -1101,6 +1219,13 @@ var script = {
|
|
|
1101
1219
|
},
|
|
1102
1220
|
maskRef(el) {
|
|
1103
1221
|
this.mask = el;
|
|
1222
|
+
},
|
|
1223
|
+
focus() {
|
|
1224
|
+
let focusTarget = this.container.$el.querySelector('[autofocus]');
|
|
1225
|
+
|
|
1226
|
+
if (focusTarget) {
|
|
1227
|
+
focusTarget.focus();
|
|
1228
|
+
}
|
|
1104
1229
|
}
|
|
1105
1230
|
},
|
|
1106
1231
|
computed: {
|
|
@@ -1118,12 +1243,18 @@ var script = {
|
|
|
1118
1243
|
components: {
|
|
1119
1244
|
GalleriaContent: script$1,
|
|
1120
1245
|
Portal: Portal
|
|
1246
|
+
},
|
|
1247
|
+
directives: {
|
|
1248
|
+
focustrap: FocusTrap
|
|
1121
1249
|
}
|
|
1122
1250
|
};
|
|
1123
1251
|
|
|
1252
|
+
const _hoisted_1 = ["role", "aria-modal"];
|
|
1253
|
+
|
|
1124
1254
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1125
1255
|
const _component_GalleriaContent = resolveComponent("GalleriaContent");
|
|
1126
1256
|
const _component_Portal = resolveComponent("Portal");
|
|
1257
|
+
const _directive_focustrap = resolveDirective("focustrap");
|
|
1127
1258
|
|
|
1128
1259
|
return ($props.fullScreen)
|
|
1129
1260
|
? (openBlock(), createBlock(_component_Portal, { key: 0 }, {
|
|
@@ -1132,7 +1263,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1132
1263
|
? (openBlock(), createElementBlock("div", {
|
|
1133
1264
|
key: 0,
|
|
1134
1265
|
ref: $options.maskRef,
|
|
1135
|
-
class: normalizeClass($options.maskContentClass)
|
|
1266
|
+
class: normalizeClass($options.maskContentClass),
|
|
1267
|
+
role: $props.fullScreen ? 'dialog' : 'region',
|
|
1268
|
+
"aria-modal": $props.fullScreen ? 'true' : undefined
|
|
1136
1269
|
}, [
|
|
1137
1270
|
createVNode(Transition, {
|
|
1138
1271
|
name: "p-galleria",
|
|
@@ -1144,19 +1277,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1144
1277
|
}, {
|
|
1145
1278
|
default: withCtx(() => [
|
|
1146
1279
|
($props.visible)
|
|
1147
|
-
? (openBlock(), createBlock(_component_GalleriaContent, mergeProps({
|
|
1280
|
+
? withDirectives((openBlock(), createBlock(_component_GalleriaContent, mergeProps({
|
|
1148
1281
|
key: 0,
|
|
1149
1282
|
ref: $options.containerRef
|
|
1150
1283
|
}, _ctx.$props, {
|
|
1151
1284
|
onMaskHide: $options.maskHide,
|
|
1152
1285
|
templates: _ctx.$slots,
|
|
1153
1286
|
onActiveitemChange: $options.onActiveItemChange
|
|
1154
|
-
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"]))
|
|
1287
|
+
}), null, 16, ["onMaskHide", "templates", "onActiveitemChange"])), [
|
|
1288
|
+
[_directive_focustrap]
|
|
1289
|
+
])
|
|
1155
1290
|
: createCommentVNode("", true)
|
|
1156
1291
|
]),
|
|
1157
1292
|
_: 1
|
|
1158
1293
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])
|
|
1159
|
-
],
|
|
1294
|
+
], 10, _hoisted_1))
|
|
1160
1295
|
: createCommentVNode("", true)
|
|
1161
1296
|
]),
|
|
1162
1297
|
_: 1
|
|
@@ -1194,7 +1329,7 @@ function styleInject(css, ref) {
|
|
|
1194
1329
|
}
|
|
1195
1330
|
}
|
|
1196
1331
|
|
|
1197
|
-
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";
|
|
1332
|
+
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";
|
|
1198
1333
|
styleInject(css_248z);
|
|
1199
1334
|
|
|
1200
1335
|
script.render = render;
|