primevue 2.9.2 → 2.10.1
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/LICENSE.md +2 -2
- package/README.md +150 -3
- package/accordion/accordion.common.js +66 -72
- package/accordion/accordion.umd.js +66 -72
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +73 -103
- package/accordiontab/accordiontab.umd.js +73 -103
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +241 -293
- package/autocomplete/autocomplete.umd.js +241 -293
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +64 -61
- package/avatar/avatar.umd.js +64 -61
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +44 -47
- package/avatargroup/avatargroup.umd.js +44 -47
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +22 -23
- package/badge/badge.umd.js +22 -23
- package/badge/badge.umd.min.js +1 -1
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +79 -138
- package/blockui/blockui.umd.js +79 -138
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +130 -90
- package/breadcrumb/breadcrumb.umd.js +130 -90
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/Button.d.ts +2 -0
- package/button/Button.vue +10 -1
- package/button/button.common.js +64 -109
- package/button/button.umd.js +64 -109
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +714 -721
- package/calendar/calendar.umd.js +714 -721
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +59 -62
- package/card/card.umd.js +59 -62
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +190 -231
- package/carousel/carousel.umd.js +190 -231
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +230 -294
- package/cascadeselect/cascadeselect.umd.js +230 -294
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +77 -74
- package/chart/chart.umd.js +77 -74
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +70 -87
- package/checkbox/checkbox.umd.js +70 -87
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +66 -52
- package/chip/chip.umd.js +66 -52
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -96
- package/chips/chips.umd.js +122 -96
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +149 -193
- package/colorpicker/colorpicker.umd.js +149 -193
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/column.common.js +13 -15
- package/column/column.umd.js +13 -15
- package/columngroup/columngroup.common.js +20 -25
- package/columngroup/columngroup.umd.js +20 -25
- package/columngroup/columngroup.umd.min.js +1 -1
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +247 -218
- package/confirmdialog/confirmdialog.umd.js +247 -218
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +154 -196
- package/confirmpopup/confirmpopup.umd.js +154 -196
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +216 -206
- package/contextmenu/contextmenu.umd.js +216 -206
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +138 -134
- package/contextmenu/contextmenusub.umd.js +138 -134
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +3 -4
- package/datatable/BodyCell.vue +11 -2
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +2 -12
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/bodycell.common.js +283 -246
- package/datatable/bodycell.umd.js +283 -246
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +516 -422
- package/datatable/columnfilter.umd.js +516 -422
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +13 -15
- package/datatable/columnslot.umd.js +13 -15
- package/datatable/datatable.common.js +2250 -1551
- package/datatable/datatable.umd.js +2250 -1551
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/footercell.common.js +56 -142
- package/datatable/footercell.umd.js +56 -142
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +666 -483
- package/datatable/headercell.umd.js +666 -483
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +59 -33
- package/datatable/headercheckbox.umd.js +59 -33
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +61 -30
- package/datatable/rowcheckbox.umd.js +61 -30
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +54 -27
- package/datatable/rowradiobutton.umd.js +54 -27
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +461 -321
- package/datatable/tablebody.umd.js +461 -321
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +94 -175
- package/datatable/tablefooter.umd.js +94 -175
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +872 -539
- package/datatable/tableheader.umd.js +872 -539
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +36 -29
- package/datatable/tableloadingbody.umd.js +36 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +851 -720
- package/dataview/dataview.umd.js +851 -720
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +22 -28
- package/deferredcontent/deferredcontent.umd.js +22 -28
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +152 -179
- package/dialog/dialog.umd.js +152 -179
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +49 -49
- package/divider/divider.umd.js +49 -49
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +179 -95
- package/dock/dock.umd.js +179 -95
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +132 -54
- package/dock/docksub.umd.js +132 -54
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +233 -289
- package/dropdown/dropdown.umd.js +233 -289
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +194 -104
- package/editor/editor.umd.js +194 -104
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +133 -165
- package/fieldset/fieldset.umd.js +133 -165
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +431 -373
- package/fileupload/fileupload.umd.js +431 -373
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -64
- package/fullcalendar/fullcalendar.umd.js +75 -64
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +403 -299
- package/galleria/galleria.umd.js +403 -299
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +324 -235
- package/galleria/galleriacontent.umd.js +324 -235
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +127 -135
- package/galleria/galleriaitem.umd.js +127 -135
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +17 -25
- package/galleria/galleriaitemslot.umd.js +17 -25
- package/galleria/galleriathumbnails.common.js +125 -171
- package/galleria/galleriathumbnails.umd.js +125 -171
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +174 -163
- package/imagepreview/imagepreview.umd.js +174 -163
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +61 -57
- package/inlinemessage/inlinemessage.umd.js +61 -57
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +139 -170
- package/inplace/inplace.umd.js +139 -170
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +51 -174
- package/inputmask/inputmask.umd.js +51 -174
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +6 -3
- package/inputnumber/inputnumber.common.js +205 -293
- package/inputnumber/inputnumber.umd.js +205 -293
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +219 -37
- package/inputswitch/inputswitch.umd.js +219 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +27 -28
- package/inputtext/inputtext.umd.js +27 -28
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +102 -74
- package/knob/knob.umd.js +102 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +163 -237
- package/listbox/listbox.umd.js +163 -237
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +273 -230
- package/megamenu/megamenu.umd.js +273 -230
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +201 -203
- package/menu/menu.umd.js +201 -203
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +95 -116
- package/menu/menuitem.umd.js +95 -116
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +223 -214
- package/menubar/menubar.umd.js +223 -214
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +142 -149
- package/menubar/menubarsub.umd.js +142 -149
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +108 -157
- package/message/message.umd.js +108 -157
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +291 -315
- package/multiselect/multiselect.umd.js +291 -315
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +206 -263
- package/orderlist/orderlist.umd.js +206 -263
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +188 -190
- package/organizationchart/organizationchart.umd.js +188 -190
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +122 -124
- package/organizationchart/organizationchartnode.umd.js +122 -124
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +108 -176
- package/overlaypanel/overlaypanel.umd.js +108 -176
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +3 -3
- package/paginator/currentpagereport.common.js +22 -22
- package/paginator/currentpagereport.umd.js +22 -22
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +44 -102
- package/paginator/firstpagelink.umd.js +44 -102
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +254 -300
- package/paginator/jumptopagedropdown.umd.js +254 -300
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +225 -303
- package/paginator/jumptopageinput.umd.js +225 -303
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +44 -102
- package/paginator/lastpagelink.umd.js +44 -102
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +44 -102
- package/paginator/nextpagelink.umd.js +44 -102
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +54 -102
- package/paginator/pagelinks.umd.js +54 -102
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +741 -654
- package/paginator/paginator.umd.js +741 -654
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +44 -102
- package/paginator/prevpagelink.umd.js +44 -102
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +253 -300
- package/paginator/rowsperpagedropdown.umd.js +253 -300
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +129 -164
- package/panel/panel.umd.js +129 -164
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +235 -129
- package/panelmenu/panelmenu.umd.js +235 -129
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +110 -55
- package/panelmenu/panelmenusub.umd.js +110 -55
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +64 -14
- package/password/password.common.js +243 -239
- package/password/password.umd.js +243 -239
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +332 -323
- package/picklist/picklist.umd.js +332 -323
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +83 -76
- package/progressbar/progressbar.umd.js +83 -76
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +545 -45
- package/progressspinner/progressspinner.umd.js +545 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +68 -83
- package/radiobutton/radiobutton.umd.js +68 -83
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +92 -68
- package/rating/rating.umd.js +92 -68
- package/rating/rating.umd.min.js +1 -1
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +20 -25
- package/row/row.umd.js +20 -25
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +103 -154
- package/scrollpanel/scrollpanel.umd.js +103 -154
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +90 -132
- package/scrolltop/scrolltop.umd.js +90 -132
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +91 -171
- package/selectbutton/selectbutton.umd.js +91 -171
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +115 -166
- package/sidebar/sidebar.umd.js +115 -166
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +57 -57
- package/skeleton/skeleton.umd.js +57 -57
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +175 -166
- package/slider/slider.umd.js +175 -166
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +186 -204
- package/speeddial/speeddial.umd.js +186 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +327 -279
- package/splitbutton/splitbutton.umd.js +327 -279
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +70 -143
- package/splitter/splitter.umd.js +70 -143
- package/splitter/splitter.umd.min.js +1 -1
- package/splitterpanel/splitterpanel.common.js +13 -15
- package/splitterpanel/splitterpanel.umd.js +13 -15
- package/steps/steps.common.js +112 -77
- package/steps/steps.umd.js +112 -77
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +139 -165
- package/tabmenu/tabmenu.umd.js +139 -165
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +31 -26
- package/tabpanel/tabpanel.umd.js +31 -26
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +178 -220
- package/tabview/tabview.umd.js +178 -220
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +59 -59
- package/tag/tag.umd.js +59 -59
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +96 -68
- package/terminal/terminal.umd.js +96 -68
- package/terminal/terminal.umd.min.js +1 -1
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2083 -91
- package/textarea/textarea.umd.js +2083 -91
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +214 -219
- package/tieredmenu/tieredmenu.umd.js +214 -219
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +142 -145
- package/tieredmenu/tieredmenusub.umd.js +142 -145
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +101 -134
- package/timeline/timeline.umd.js +101 -134
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +145 -182
- package/toast/toast.umd.js +145 -182
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +70 -115
- package/toast/toastmessage.umd.js +70 -115
- package/toast/toastmessage.umd.min.js +1 -1
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +54 -103
- package/togglebutton/togglebutton.umd.js +54 -103
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +46 -47
- package/toolbar/toolbar.umd.js +46 -47
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +227 -316
- package/tree/tree.umd.js +227 -316
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +108 -158
- package/tree/treenode.umd.js +108 -158
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +49 -141
- package/treetable/footercell.umd.js +49 -141
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +68 -153
- package/treetable/headercell.umd.js +68 -153
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1086 -1044
- package/treetable/treetable.umd.js +1086 -1044
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablecolumnslot.common.js +13 -15
- package/treetable/treetablecolumnslot.umd.js +13 -15
- package/treetable/treetablerow.common.js +113 -194
- package/treetable/treetablerow.umd.js +113 -194
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +115 -214
- package/treetable/treetablerowloader.umd.js +115 -214
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +28 -1
|
@@ -4286,10 +4286,108 @@ if (typeof window !== 'undefined') {
|
|
|
4286
4286
|
// Indicate to webpack that this file can be concatenated
|
|
4287
4287
|
/* harmony default export */ var setPublicPath = (null);
|
|
4288
4288
|
|
|
4289
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4290
|
-
var render = function () {
|
|
4291
|
-
var
|
|
4292
|
-
|
|
4289
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaContent.vue?vue&type=template&id=6754eac0&
|
|
4290
|
+
var render = function render() {
|
|
4291
|
+
var _vm = this,
|
|
4292
|
+
_c = _vm._self._c;
|
|
4293
|
+
return _vm.$attrs.value && _vm.$attrs.value.length > 0 ? _c('div', {
|
|
4294
|
+
class: _vm.galleriaClass,
|
|
4295
|
+
style: _vm.$attrs.containerStyle,
|
|
4296
|
+
attrs: {
|
|
4297
|
+
"id": _vm.id
|
|
4298
|
+
}
|
|
4299
|
+
}, [_vm.$attrs.fullScreen ? _c('button', {
|
|
4300
|
+
directives: [{
|
|
4301
|
+
name: "ripple",
|
|
4302
|
+
rawName: "v-ripple"
|
|
4303
|
+
}],
|
|
4304
|
+
staticClass: "p-galleria-close p-link",
|
|
4305
|
+
attrs: {
|
|
4306
|
+
"type": "button"
|
|
4307
|
+
},
|
|
4308
|
+
on: {
|
|
4309
|
+
"click": function click($event) {
|
|
4310
|
+
return _vm.$emit('maskHide');
|
|
4311
|
+
}
|
|
4312
|
+
}
|
|
4313
|
+
}, [_c('span', {
|
|
4314
|
+
staticClass: "p-galleria-close-icon pi pi-times"
|
|
4315
|
+
})]) : _vm._e(), _vm.$attrs.templates && _vm.$attrs.templates['header'] ? _c('div', {
|
|
4316
|
+
staticClass: "p-galleria-header"
|
|
4317
|
+
}, [_c('GalleriaItemSlot', {
|
|
4318
|
+
attrs: {
|
|
4319
|
+
"type": "header",
|
|
4320
|
+
"templates": _vm.$attrs.templates
|
|
4321
|
+
}
|
|
4322
|
+
})], 1) : _vm._e(), _c('div', {
|
|
4323
|
+
staticClass: "p-galleria-content"
|
|
4324
|
+
}, [_c('GalleriaItem', {
|
|
4325
|
+
attrs: {
|
|
4326
|
+
"value": _vm.$attrs.value,
|
|
4327
|
+
"activeIndex": _vm.activeIndex,
|
|
4328
|
+
"circular": _vm.$attrs.circular,
|
|
4329
|
+
"templates": _vm.$attrs.templates,
|
|
4330
|
+
"showIndicators": _vm.$attrs.showIndicators,
|
|
4331
|
+
"changeItemOnIndicatorHover": _vm.$attrs.changeItemOnIndicatorHover,
|
|
4332
|
+
"showItemNavigators": _vm.$attrs.showItemNavigators,
|
|
4333
|
+
"autoPlay": _vm.$attrs.autoPlay,
|
|
4334
|
+
"slideShowActive": _vm.slideShowActive
|
|
4335
|
+
},
|
|
4336
|
+
on: {
|
|
4337
|
+
"update:activeIndex": function updateActiveIndex($event) {
|
|
4338
|
+
_vm.activeIndex = $event;
|
|
4339
|
+
},
|
|
4340
|
+
"update:active-index": function updateActiveIndex($event) {
|
|
4341
|
+
_vm.activeIndex = $event;
|
|
4342
|
+
},
|
|
4343
|
+
"update:slideShowActive": function updateSlideShowActive($event) {
|
|
4344
|
+
_vm.slideShowActive = $event;
|
|
4345
|
+
},
|
|
4346
|
+
"update:slide-show-active": function updateSlideShowActive($event) {
|
|
4347
|
+
_vm.slideShowActive = $event;
|
|
4348
|
+
},
|
|
4349
|
+
"startSlideShow": _vm.startSlideShow,
|
|
4350
|
+
"stopSlideShow": _vm.stopSlideShow
|
|
4351
|
+
}
|
|
4352
|
+
}), _vm.$attrs.showThumbnails ? _c('GalleriaThumbnails', {
|
|
4353
|
+
attrs: {
|
|
4354
|
+
"containerId": _vm.id,
|
|
4355
|
+
"value": _vm.$attrs.value,
|
|
4356
|
+
"activeIndex": _vm.activeIndex,
|
|
4357
|
+
"templates": _vm.$attrs.templates,
|
|
4358
|
+
"numVisible": _vm.$attrs.numVisible,
|
|
4359
|
+
"responsiveOptions": _vm.$attrs.responsiveOptions,
|
|
4360
|
+
"circular": _vm.$attrs.circular,
|
|
4361
|
+
"isVertical": _vm.isVertical(),
|
|
4362
|
+
"contentHeight": _vm.$attrs.verticalThumbnailViewPortHeight,
|
|
4363
|
+
"showThumbnailNavigators": _vm.$attrs.showThumbnailNavigators,
|
|
4364
|
+
"slideShowActive": _vm.slideShowActive
|
|
4365
|
+
},
|
|
4366
|
+
on: {
|
|
4367
|
+
"update:activeIndex": function updateActiveIndex($event) {
|
|
4368
|
+
_vm.activeIndex = $event;
|
|
4369
|
+
},
|
|
4370
|
+
"update:active-index": function updateActiveIndex($event) {
|
|
4371
|
+
_vm.activeIndex = $event;
|
|
4372
|
+
},
|
|
4373
|
+
"update:slideShowActive": function updateSlideShowActive($event) {
|
|
4374
|
+
_vm.slideShowActive = $event;
|
|
4375
|
+
},
|
|
4376
|
+
"update:slide-show-active": function updateSlideShowActive($event) {
|
|
4377
|
+
_vm.slideShowActive = $event;
|
|
4378
|
+
},
|
|
4379
|
+
"stopSlideShow": _vm.stopSlideShow
|
|
4380
|
+
}
|
|
4381
|
+
}) : _vm._e()], 1), _vm.$attrs.templates && _vm.$attrs.templates['footer'] ? _c('div', {
|
|
4382
|
+
staticClass: "p-galleria-footer"
|
|
4383
|
+
}, [_c('GalleriaItemSlot', {
|
|
4384
|
+
attrs: {
|
|
4385
|
+
"type": "footer",
|
|
4386
|
+
"templates": _vm.$attrs.templates
|
|
4387
|
+
}
|
|
4388
|
+
})], 1) : _vm._e()]) : _vm._e();
|
|
4389
|
+
};
|
|
4390
|
+
var staticRenderFns = [];
|
|
4293
4391
|
|
|
4294
4392
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaContent.vue?vue&type=template&id=6754eac0&
|
|
4295
4393
|
|
|
@@ -4303,10 +4401,103 @@ var lastId = 0;
|
|
|
4303
4401
|
lastId++;
|
|
4304
4402
|
return "".concat(prefix).concat(lastId);
|
|
4305
4403
|
});
|
|
4306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4307
|
-
var GalleriaItemvue_type_template_id_5bdfe994_render = function () {
|
|
4308
|
-
var
|
|
4309
|
-
|
|
4404
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
4405
|
+
var GalleriaItemvue_type_template_id_5bdfe994_render = function render() {
|
|
4406
|
+
var _vm = this,
|
|
4407
|
+
_c = _vm._self._c;
|
|
4408
|
+
return _c('div', {
|
|
4409
|
+
staticClass: "p-galleria-item-wrapper"
|
|
4410
|
+
}, [_c('div', {
|
|
4411
|
+
staticClass: "p-galleria-item-container"
|
|
4412
|
+
}, [_vm.showItemNavigators ? _c('button', {
|
|
4413
|
+
directives: [{
|
|
4414
|
+
name: "ripple",
|
|
4415
|
+
rawName: "v-ripple"
|
|
4416
|
+
}],
|
|
4417
|
+
class: _vm.navBackwardClass,
|
|
4418
|
+
attrs: {
|
|
4419
|
+
"type": "button",
|
|
4420
|
+
"disabled": _vm.isNavBackwardDisabled()
|
|
4421
|
+
},
|
|
4422
|
+
on: {
|
|
4423
|
+
"click": function click($event) {
|
|
4424
|
+
return _vm.navBackward($event);
|
|
4425
|
+
}
|
|
4426
|
+
}
|
|
4427
|
+
}, [_c('span', {
|
|
4428
|
+
staticClass: "p-galleria-item-prev-icon pi pi-chevron-left"
|
|
4429
|
+
})]) : _vm._e(), _c('div', {
|
|
4430
|
+
staticClass: "p-galleria-item"
|
|
4431
|
+
}, [_c('GalleriaItemSlot', {
|
|
4432
|
+
attrs: {
|
|
4433
|
+
"type": "item",
|
|
4434
|
+
"item": _vm.activeItem,
|
|
4435
|
+
"templates": _vm.templates
|
|
4436
|
+
}
|
|
4437
|
+
})], 1), _vm.showItemNavigators ? _c('button', {
|
|
4438
|
+
directives: [{
|
|
4439
|
+
name: "ripple",
|
|
4440
|
+
rawName: "v-ripple"
|
|
4441
|
+
}],
|
|
4442
|
+
class: _vm.navForwardClass,
|
|
4443
|
+
attrs: {
|
|
4444
|
+
"type": "button",
|
|
4445
|
+
"disabled": _vm.isNavForwardDisabled()
|
|
4446
|
+
},
|
|
4447
|
+
on: {
|
|
4448
|
+
"click": function click($event) {
|
|
4449
|
+
return _vm.navForward($event);
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
}, [_c('span', {
|
|
4453
|
+
staticClass: "p-galleria-item-next-icon pi pi-chevron-right"
|
|
4454
|
+
})]) : _vm._e(), _vm.templates['caption'] ? _c('div', {
|
|
4455
|
+
staticClass: "p-galleria-caption"
|
|
4456
|
+
}, [_c('GalleriaItemSlot', {
|
|
4457
|
+
attrs: {
|
|
4458
|
+
"type": "caption",
|
|
4459
|
+
"item": _vm.activeItem,
|
|
4460
|
+
"templates": _vm.templates
|
|
4461
|
+
}
|
|
4462
|
+
})], 1) : _vm._e()]), _vm.showIndicators ? _c('ul', {
|
|
4463
|
+
staticClass: "p-galleria-indicators p-reset"
|
|
4464
|
+
}, _vm._l(_vm.value, function (item, index) {
|
|
4465
|
+
return _c('li', {
|
|
4466
|
+
key: "p-galleria-indicator-".concat(index),
|
|
4467
|
+
class: ['p-galleria-indicator', {
|
|
4468
|
+
'p-highlight': _vm.isIndicatorItemActive(index)
|
|
4469
|
+
}],
|
|
4470
|
+
attrs: {
|
|
4471
|
+
"tabindex": "0"
|
|
4472
|
+
},
|
|
4473
|
+
on: {
|
|
4474
|
+
"click": function click($event) {
|
|
4475
|
+
return _vm.onIndicatorClick(index);
|
|
4476
|
+
},
|
|
4477
|
+
"mouseenter": function mouseenter($event) {
|
|
4478
|
+
return _vm.onIndicatorMouseEnter(index);
|
|
4479
|
+
},
|
|
4480
|
+
"keydown": function keydown($event) {
|
|
4481
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
4482
|
+
return _vm.onIndicatorKeyDown(index);
|
|
4483
|
+
}
|
|
4484
|
+
}
|
|
4485
|
+
}, [!_vm.templates['indicator'] ? _c('button', {
|
|
4486
|
+
staticClass: "p-link",
|
|
4487
|
+
attrs: {
|
|
4488
|
+
"type": "button",
|
|
4489
|
+
"tabindex": "-1"
|
|
4490
|
+
}
|
|
4491
|
+
}) : _vm._e(), _c('GalleriaItemSlot', {
|
|
4492
|
+
attrs: {
|
|
4493
|
+
"type": "indicator",
|
|
4494
|
+
"index": index,
|
|
4495
|
+
"templates": _vm.templates
|
|
4496
|
+
}
|
|
4497
|
+
})], 1);
|
|
4498
|
+
}), 0) : _vm._e()]);
|
|
4499
|
+
};
|
|
4500
|
+
var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
4310
4501
|
|
|
4311
4502
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
4312
4503
|
|
|
@@ -4337,15 +4528,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4337
4528
|
},
|
|
4338
4529
|
render: function render(createElement, context) {
|
|
4339
4530
|
var _context$props = context.props,
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4531
|
+
item = _context$props.item,
|
|
4532
|
+
index = _context$props.index,
|
|
4533
|
+
templates = _context$props.templates,
|
|
4534
|
+
type = _context$props.type;
|
|
4344
4535
|
var template = templates && templates[type];
|
|
4345
|
-
|
|
4346
4536
|
if (template) {
|
|
4347
4537
|
var content;
|
|
4348
|
-
|
|
4349
4538
|
switch (type) {
|
|
4350
4539
|
case 'item':
|
|
4351
4540
|
case 'caption':
|
|
@@ -4354,21 +4543,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4354
4543
|
item: item
|
|
4355
4544
|
});
|
|
4356
4545
|
break;
|
|
4357
|
-
|
|
4358
4546
|
case 'indicator':
|
|
4359
4547
|
content = template({
|
|
4360
4548
|
index: index
|
|
4361
4549
|
});
|
|
4362
4550
|
break;
|
|
4363
|
-
|
|
4364
4551
|
default:
|
|
4365
4552
|
content = template({});
|
|
4366
4553
|
break;
|
|
4367
4554
|
}
|
|
4368
|
-
|
|
4369
4555
|
return content ? [content] : null;
|
|
4370
4556
|
}
|
|
4371
|
-
|
|
4372
4557
|
return null;
|
|
4373
4558
|
}
|
|
4374
4559
|
});
|
|
@@ -4381,20 +4566,19 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4381
4566
|
// This module is a runtime utility for cleaner component module output and will
|
|
4382
4567
|
// be included in the final webpack user bundle.
|
|
4383
4568
|
|
|
4384
|
-
function normalizeComponent
|
|
4569
|
+
function normalizeComponent(
|
|
4385
4570
|
scriptExports,
|
|
4386
4571
|
render,
|
|
4387
4572
|
staticRenderFns,
|
|
4388
4573
|
functionalTemplate,
|
|
4389
4574
|
injectStyles,
|
|
4390
4575
|
scopeId,
|
|
4391
|
-
moduleIdentifier
|
|
4576
|
+
moduleIdentifier /* server only */,
|
|
4392
4577
|
shadowMode /* vue-cli only */
|
|
4393
4578
|
) {
|
|
4394
4579
|
// Vue.extend constructor export interop
|
|
4395
|
-
var options =
|
|
4396
|
-
? scriptExports.options
|
|
4397
|
-
: scriptExports
|
|
4580
|
+
var options =
|
|
4581
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4398
4582
|
|
|
4399
4583
|
// render functions
|
|
4400
4584
|
if (render) {
|
|
@@ -4414,7 +4598,8 @@ function normalizeComponent (
|
|
|
4414
4598
|
}
|
|
4415
4599
|
|
|
4416
4600
|
var hook
|
|
4417
|
-
if (moduleIdentifier) {
|
|
4601
|
+
if (moduleIdentifier) {
|
|
4602
|
+
// server build
|
|
4418
4603
|
hook = function (context) {
|
|
4419
4604
|
// 2.3 injection
|
|
4420
4605
|
context =
|
|
@@ -4440,11 +4625,11 @@ function normalizeComponent (
|
|
|
4440
4625
|
} else if (injectStyles) {
|
|
4441
4626
|
hook = shadowMode
|
|
4442
4627
|
? function () {
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4628
|
+
injectStyles.call(
|
|
4629
|
+
this,
|
|
4630
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4631
|
+
)
|
|
4632
|
+
}
|
|
4448
4633
|
: injectStyles
|
|
4449
4634
|
}
|
|
4450
4635
|
|
|
@@ -4455,16 +4640,14 @@ function normalizeComponent (
|
|
|
4455
4640
|
options._injectStyles = hook
|
|
4456
4641
|
// register for functional component in vue file
|
|
4457
4642
|
var originalRender = options.render
|
|
4458
|
-
options.render = function renderWithStyleInjection
|
|
4643
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4459
4644
|
hook.call(context)
|
|
4460
4645
|
return originalRender(h, context)
|
|
4461
4646
|
}
|
|
4462
4647
|
} else {
|
|
4463
4648
|
// inject component registration as beforeCreate hook
|
|
4464
4649
|
var existing = options.beforeCreate
|
|
4465
|
-
options.beforeCreate = existing
|
|
4466
|
-
? [].concat(existing, hook)
|
|
4467
|
-
: [hook]
|
|
4650
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4468
4651
|
}
|
|
4469
4652
|
}
|
|
4470
4653
|
|
|
@@ -4533,26 +4716,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4533
4716
|
|
|
4534
4717
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4535
4718
|
|
|
4536
|
-
|
|
4537
4719
|
function _defineProperties(target, props) {
|
|
4538
4720
|
for (var i = 0; i < props.length; i++) {
|
|
4539
4721
|
var descriptor = props[i];
|
|
4540
4722
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4541
4723
|
descriptor.configurable = true;
|
|
4542
4724
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4543
|
-
|
|
4544
4725
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4545
4726
|
}
|
|
4546
4727
|
}
|
|
4547
|
-
|
|
4548
4728
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4549
4729
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4550
4730
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4551
|
-
|
|
4552
4731
|
define_property_default()(Constructor, "prototype", {
|
|
4553
4732
|
writable: false
|
|
4554
4733
|
});
|
|
4555
|
-
|
|
4556
4734
|
return Constructor;
|
|
4557
4735
|
}
|
|
4558
4736
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4568,18 +4746,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4568
4746
|
|
|
4569
4747
|
|
|
4570
4748
|
|
|
4571
|
-
|
|
4572
4749
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
4573
|
-
|
|
4574
4750
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4575
|
-
|
|
4576
4751
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
4577
|
-
|
|
4578
4752
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4579
4753
|
function DomHandler() {
|
|
4580
4754
|
_classCallCheck(this, DomHandler);
|
|
4581
4755
|
}
|
|
4582
|
-
|
|
4583
4756
|
_createClass(DomHandler, null, [{
|
|
4584
4757
|
key: "innerWidth",
|
|
4585
4758
|
value: function innerWidth(el) {
|
|
@@ -4613,12 +4786,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4613
4786
|
value: function getOuterWidth(el, margin) {
|
|
4614
4787
|
if (el) {
|
|
4615
4788
|
var width = el.offsetWidth;
|
|
4616
|
-
|
|
4617
4789
|
if (margin) {
|
|
4618
4790
|
var style = getComputedStyle(el);
|
|
4619
4791
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4620
4792
|
}
|
|
4621
|
-
|
|
4622
4793
|
return width;
|
|
4623
4794
|
} else {
|
|
4624
4795
|
return 0;
|
|
@@ -4629,12 +4800,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4629
4800
|
value: function getOuterHeight(el, margin) {
|
|
4630
4801
|
if (el) {
|
|
4631
4802
|
var height = el.offsetHeight;
|
|
4632
|
-
|
|
4633
4803
|
if (margin) {
|
|
4634
4804
|
var style = getComputedStyle(el);
|
|
4635
4805
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4636
4806
|
}
|
|
4637
|
-
|
|
4638
4807
|
return height;
|
|
4639
4808
|
} else {
|
|
4640
4809
|
return 0;
|
|
@@ -4645,12 +4814,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4645
4814
|
value: function getClientHeight(el, margin) {
|
|
4646
4815
|
if (el) {
|
|
4647
4816
|
var height = el.clientHeight;
|
|
4648
|
-
|
|
4649
4817
|
if (margin) {
|
|
4650
4818
|
var style = getComputedStyle(el);
|
|
4651
4819
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4652
4820
|
}
|
|
4653
|
-
|
|
4654
4821
|
return height;
|
|
4655
4822
|
} else {
|
|
4656
4823
|
return 0;
|
|
@@ -4660,11 +4827,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4660
4827
|
key: "getViewport",
|
|
4661
4828
|
value: function getViewport() {
|
|
4662
4829
|
var win = window,
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4830
|
+
d = document,
|
|
4831
|
+
e = d.documentElement,
|
|
4832
|
+
g = d.getElementsByTagName('body')[0],
|
|
4833
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4834
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4668
4835
|
return {
|
|
4669
4836
|
width: w,
|
|
4670
4837
|
height: h
|
|
@@ -4695,12 +4862,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4695
4862
|
value: function index(element) {
|
|
4696
4863
|
var children = element.parentNode.childNodes;
|
|
4697
4864
|
var num = 0;
|
|
4698
|
-
|
|
4699
4865
|
for (var i = 0; i < children.length; i++) {
|
|
4700
4866
|
if (children[i] === element) return num;
|
|
4701
4867
|
if (children[i].nodeType === 1) num++;
|
|
4702
4868
|
}
|
|
4703
|
-
|
|
4704
4869
|
return -1;
|
|
4705
4870
|
}
|
|
4706
4871
|
}, {
|
|
@@ -4708,13 +4873,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4708
4873
|
value: function addMultipleClasses(element, className) {
|
|
4709
4874
|
if (element.classList) {
|
|
4710
4875
|
var styles = className.split(' ');
|
|
4711
|
-
|
|
4712
4876
|
for (var i = 0; i < styles.length; i++) {
|
|
4713
4877
|
element.classList.add(styles[i]);
|
|
4714
4878
|
}
|
|
4715
4879
|
} else {
|
|
4716
4880
|
var _styles = className.split(' ');
|
|
4717
|
-
|
|
4718
4881
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4719
4882
|
element.className += ' ' + _styles[_i];
|
|
4720
4883
|
}
|
|
@@ -4736,7 +4899,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4736
4899
|
if (element) {
|
|
4737
4900
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4738
4901
|
}
|
|
4739
|
-
|
|
4740
4902
|
return false;
|
|
4741
4903
|
}
|
|
4742
4904
|
}, {
|
|
@@ -4781,11 +4943,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4781
4943
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4782
4944
|
var viewport = this.getViewport();
|
|
4783
4945
|
var top, left;
|
|
4784
|
-
|
|
4785
4946
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4786
4947
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4787
4948
|
element.style.transformOrigin = 'bottom';
|
|
4788
|
-
|
|
4789
4949
|
if (top < 0) {
|
|
4790
4950
|
top = windowScrollTop;
|
|
4791
4951
|
}
|
|
@@ -4793,7 +4953,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4793
4953
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4794
4954
|
element.style.transformOrigin = 'top';
|
|
4795
4955
|
}
|
|
4796
|
-
|
|
4797
4956
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4798
4957
|
element.style.top = top + 'px';
|
|
4799
4958
|
element.style.left = left + 'px';
|
|
@@ -4809,11 +4968,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4809
4968
|
var targetOffset = target.getBoundingClientRect();
|
|
4810
4969
|
var viewport = this.getViewport();
|
|
4811
4970
|
var top, left;
|
|
4812
|
-
|
|
4813
4971
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4814
4972
|
top = -1 * elementDimensions.height;
|
|
4815
4973
|
element.style.transformOrigin = 'bottom';
|
|
4816
|
-
|
|
4817
4974
|
if (targetOffset.top + top < 0) {
|
|
4818
4975
|
top = -1 * targetOffset.top;
|
|
4819
4976
|
}
|
|
@@ -4821,7 +4978,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4821
4978
|
top = targetHeight;
|
|
4822
4979
|
element.style.transformOrigin = 'top';
|
|
4823
4980
|
}
|
|
4824
|
-
|
|
4825
4981
|
if (elementDimensions.width > viewport.width) {
|
|
4826
4982
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4827
4983
|
left = targetOffset.left * -1;
|
|
@@ -4832,7 +4988,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4832
4988
|
// element fits on screen (align with target)
|
|
4833
4989
|
left = 0;
|
|
4834
4990
|
}
|
|
4835
|
-
|
|
4836
4991
|
element.style.top = top + 'px';
|
|
4837
4992
|
element.style.left = left + 'px';
|
|
4838
4993
|
}
|
|
@@ -4846,35 +5001,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4846
5001
|
key: "getScrollableParents",
|
|
4847
5002
|
value: function getScrollableParents(element) {
|
|
4848
5003
|
var scrollableParents = [];
|
|
4849
|
-
|
|
4850
5004
|
if (element) {
|
|
4851
5005
|
var parents = this.getParents(element);
|
|
4852
5006
|
var overflowRegex = /(auto|scroll)/;
|
|
4853
|
-
|
|
4854
5007
|
var overflowCheck = function overflowCheck(node) {
|
|
4855
5008
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4856
5009
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4857
5010
|
};
|
|
4858
|
-
|
|
4859
5011
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4860
|
-
|
|
4861
|
-
|
|
5012
|
+
_step;
|
|
4862
5013
|
try {
|
|
4863
5014
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4864
5015
|
var parent = _step.value;
|
|
4865
5016
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4866
|
-
|
|
4867
5017
|
if (scrollSelectors) {
|
|
4868
5018
|
var selectors = scrollSelectors.split(',');
|
|
4869
|
-
|
|
4870
5019
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4871
|
-
|
|
4872
|
-
|
|
5020
|
+
_step2;
|
|
4873
5021
|
try {
|
|
4874
5022
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4875
5023
|
var selector = _step2.value;
|
|
4876
5024
|
var el = this.findSingle(parent, selector);
|
|
4877
|
-
|
|
4878
5025
|
if (el && overflowCheck(el)) {
|
|
4879
5026
|
scrollableParents.push(el);
|
|
4880
5027
|
}
|
|
@@ -4892,7 +5039,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4892
5039
|
_iterator.f();
|
|
4893
5040
|
}
|
|
4894
5041
|
}
|
|
4895
|
-
|
|
4896
5042
|
return scrollableParents;
|
|
4897
5043
|
}
|
|
4898
5044
|
}, {
|
|
@@ -4933,34 +5079,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4933
5079
|
element.style.opacity = 0;
|
|
4934
5080
|
var last = +new Date();
|
|
4935
5081
|
var opacity = 0;
|
|
4936
|
-
|
|
4937
5082
|
var tick = function tick() {
|
|
4938
5083
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4939
5084
|
element.style.opacity = opacity;
|
|
4940
5085
|
last = +new Date();
|
|
4941
|
-
|
|
4942
5086
|
if (+opacity < 1) {
|
|
4943
5087
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4944
5088
|
}
|
|
4945
5089
|
};
|
|
4946
|
-
|
|
4947
5090
|
tick();
|
|
4948
5091
|
}
|
|
4949
5092
|
}, {
|
|
4950
5093
|
key: "fadeOut",
|
|
4951
5094
|
value: function fadeOut(element, ms) {
|
|
4952
5095
|
var opacity = 1,
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
5096
|
+
interval = 50,
|
|
5097
|
+
duration = ms,
|
|
5098
|
+
gap = interval / duration;
|
|
4956
5099
|
var fading = setInterval(function () {
|
|
4957
5100
|
opacity -= gap;
|
|
4958
|
-
|
|
4959
5101
|
if (opacity <= 0) {
|
|
4960
5102
|
opacity = 0;
|
|
4961
5103
|
clearInterval(fading);
|
|
4962
5104
|
}
|
|
4963
|
-
|
|
4964
5105
|
element.style.opacity = opacity;
|
|
4965
5106
|
}, interval);
|
|
4966
5107
|
}
|
|
@@ -4987,7 +5128,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4987
5128
|
var scroll = container.scrollTop;
|
|
4988
5129
|
var elementHeight = container.clientHeight;
|
|
4989
5130
|
var itemHeight = this.getOuterHeight(item);
|
|
4990
|
-
|
|
4991
5131
|
if (offset < 0) {
|
|
4992
5132
|
container.scrollTop = scroll + offset;
|
|
4993
5133
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5006,7 +5146,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5006
5146
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5007
5147
|
try {
|
|
5008
5148
|
document['selection'].empty();
|
|
5009
|
-
} catch (error) {
|
|
5149
|
+
} catch (error) {
|
|
5150
|
+
//ignore IE bug
|
|
5010
5151
|
}
|
|
5011
5152
|
}
|
|
5012
5153
|
}
|
|
@@ -5028,19 +5169,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5028
5169
|
if (!this.browser) {
|
|
5029
5170
|
var matched = this.resolveUserAgent();
|
|
5030
5171
|
this.browser = {};
|
|
5031
|
-
|
|
5032
5172
|
if (matched.browser) {
|
|
5033
5173
|
this.browser[matched.browser] = true;
|
|
5034
5174
|
this.browser['version'] = matched.version;
|
|
5035
5175
|
}
|
|
5036
|
-
|
|
5037
5176
|
if (this.browser['chrome']) {
|
|
5038
5177
|
this.browser['webkit'] = true;
|
|
5039
5178
|
} else if (this.browser['webkit']) {
|
|
5040
5179
|
this.browser['safari'] = true;
|
|
5041
5180
|
}
|
|
5042
5181
|
}
|
|
5043
|
-
|
|
5044
5182
|
return this.browser;
|
|
5045
5183
|
}
|
|
5046
5184
|
}, {
|
|
@@ -5068,10 +5206,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5068
5206
|
value: function getFocusableElements(element) {
|
|
5069
5207
|
var focusableElements = DomHandler.find(element, "button:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [href][clientHeight][clientWidth]:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n input:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), select:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n textarea:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), [tabIndex]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [contenteditable]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden])");
|
|
5070
5208
|
var visibleFocusableElements = [];
|
|
5071
|
-
|
|
5072
5209
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5073
|
-
|
|
5074
|
-
|
|
5210
|
+
_step3;
|
|
5075
5211
|
try {
|
|
5076
5212
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5077
5213
|
var focusableElement = _step3.value;
|
|
@@ -5082,7 +5218,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5082
5218
|
} finally {
|
|
5083
5219
|
_iterator3.f();
|
|
5084
5220
|
}
|
|
5085
|
-
|
|
5086
5221
|
return visibleFocusableElements;
|
|
5087
5222
|
}
|
|
5088
5223
|
}, {
|
|
@@ -5125,55 +5260,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5125
5260
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5126
5261
|
}
|
|
5127
5262
|
}]);
|
|
5128
|
-
|
|
5129
5263
|
return DomHandler;
|
|
5130
5264
|
}();
|
|
5131
5265
|
|
|
5132
|
-
|
|
5133
5266
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5134
5267
|
|
|
5135
|
-
|
|
5136
5268
|
function bindEvents(el) {
|
|
5137
5269
|
el.addEventListener('mousedown', onMouseDown);
|
|
5138
5270
|
}
|
|
5139
|
-
|
|
5140
5271
|
function unbindEvents(el) {
|
|
5141
5272
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5142
5273
|
}
|
|
5143
|
-
|
|
5144
5274
|
function create(el) {
|
|
5145
5275
|
var ink = document.createElement('span');
|
|
5146
5276
|
ink.className = 'p-ink';
|
|
5147
5277
|
el.appendChild(ink);
|
|
5148
5278
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5149
5279
|
}
|
|
5150
|
-
|
|
5151
5280
|
function remove(el) {
|
|
5152
5281
|
var ink = getInk(el);
|
|
5153
|
-
|
|
5154
5282
|
if (ink) {
|
|
5155
5283
|
unbindEvents(el);
|
|
5156
5284
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5157
5285
|
ink.remove();
|
|
5158
5286
|
}
|
|
5159
5287
|
}
|
|
5160
|
-
|
|
5161
5288
|
function onMouseDown(event) {
|
|
5162
5289
|
var target = event.currentTarget;
|
|
5163
5290
|
var ink = getInk(target);
|
|
5164
|
-
|
|
5165
5291
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5166
5292
|
return;
|
|
5167
5293
|
}
|
|
5168
|
-
|
|
5169
5294
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5170
|
-
|
|
5171
5295
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5172
5296
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5173
5297
|
ink.style.height = d + 'px';
|
|
5174
5298
|
ink.style.width = d + 'px';
|
|
5175
5299
|
}
|
|
5176
|
-
|
|
5177
5300
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5178
5301
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5179
5302
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5181,21 +5304,17 @@ function onMouseDown(event) {
|
|
|
5181
5304
|
ink.style.left = x + 'px';
|
|
5182
5305
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5183
5306
|
}
|
|
5184
|
-
|
|
5185
5307
|
function onAnimationEnd(event) {
|
|
5186
5308
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5187
5309
|
}
|
|
5188
|
-
|
|
5189
5310
|
function getInk(el) {
|
|
5190
5311
|
for (var i = 0; i < el.children.length; i++) {
|
|
5191
5312
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5192
5313
|
return el.children[i];
|
|
5193
5314
|
}
|
|
5194
5315
|
}
|
|
5195
|
-
|
|
5196
5316
|
return null;
|
|
5197
5317
|
}
|
|
5198
|
-
|
|
5199
5318
|
var Ripple = {
|
|
5200
5319
|
inserted: function inserted(el, binding, vnode) {
|
|
5201
5320
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5210,33 +5329,6 @@ var Ripple = {
|
|
|
5210
5329
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
5211
5330
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaItem.vue?vue&type=script&lang=js&
|
|
5212
5331
|
|
|
5213
|
-
//
|
|
5214
|
-
//
|
|
5215
|
-
//
|
|
5216
|
-
//
|
|
5217
|
-
//
|
|
5218
|
-
//
|
|
5219
|
-
//
|
|
5220
|
-
//
|
|
5221
|
-
//
|
|
5222
|
-
//
|
|
5223
|
-
//
|
|
5224
|
-
//
|
|
5225
|
-
//
|
|
5226
|
-
//
|
|
5227
|
-
//
|
|
5228
|
-
//
|
|
5229
|
-
//
|
|
5230
|
-
//
|
|
5231
|
-
//
|
|
5232
|
-
//
|
|
5233
|
-
//
|
|
5234
|
-
//
|
|
5235
|
-
//
|
|
5236
|
-
//
|
|
5237
|
-
//
|
|
5238
|
-
//
|
|
5239
|
-
//
|
|
5240
5332
|
|
|
5241
5333
|
|
|
5242
5334
|
/* harmony default export */ var GalleriaItemvue_type_script_lang_js_ = ({
|
|
@@ -5302,7 +5394,6 @@ var Ripple = {
|
|
|
5302
5394
|
navBackward: function navBackward(e) {
|
|
5303
5395
|
this.stopSlideShow();
|
|
5304
5396
|
this.prev();
|
|
5305
|
-
|
|
5306
5397
|
if (e && e.cancelable) {
|
|
5307
5398
|
e.preventDefault();
|
|
5308
5399
|
}
|
|
@@ -5310,7 +5401,6 @@ var Ripple = {
|
|
|
5310
5401
|
navForward: function navForward(e) {
|
|
5311
5402
|
this.stopSlideShow();
|
|
5312
5403
|
this.next();
|
|
5313
|
-
|
|
5314
5404
|
if (e && e.cancelable) {
|
|
5315
5405
|
e.preventDefault();
|
|
5316
5406
|
}
|
|
@@ -5383,14 +5473,101 @@ var GalleriaItem_component = normalizeComponent(
|
|
|
5383
5473
|
)
|
|
5384
5474
|
|
|
5385
5475
|
/* harmony default export */ var GalleriaItem = (GalleriaItem_component.exports);
|
|
5386
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5387
|
-
var GalleriaThumbnailsvue_type_template_id_11247977_render = function () {
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5476
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
5477
|
+
var GalleriaThumbnailsvue_type_template_id_11247977_render = function render() {
|
|
5478
|
+
var _vm = this,
|
|
5479
|
+
_c = _vm._self._c;
|
|
5480
|
+
return _c('div', {
|
|
5481
|
+
staticClass: "p-galleria-thumbnail-wrapper"
|
|
5482
|
+
}, [_c('div', {
|
|
5483
|
+
staticClass: "p-galleria-thumbnail-container"
|
|
5484
|
+
}, [_vm.showThumbnailNavigators ? _c('button', {
|
|
5485
|
+
directives: [{
|
|
5486
|
+
name: "ripple",
|
|
5487
|
+
rawName: "v-ripple"
|
|
5488
|
+
}],
|
|
5489
|
+
class: _vm.navBackwardClass,
|
|
5490
|
+
attrs: {
|
|
5491
|
+
"disabled": _vm.isNavBackwardDisabled(),
|
|
5492
|
+
"type": "button"
|
|
5493
|
+
},
|
|
5494
|
+
on: {
|
|
5495
|
+
"click": function click($event) {
|
|
5496
|
+
return _vm.navBackward($event);
|
|
5497
|
+
}
|
|
5498
|
+
}
|
|
5499
|
+
}, [_c('span', {
|
|
5500
|
+
class: _vm.navBackwardIconClass
|
|
5501
|
+
})]) : _vm._e(), _c('div', {
|
|
5502
|
+
staticClass: "p-galleria-thumbnail-items-container",
|
|
5503
|
+
style: {
|
|
5504
|
+
'height': _vm.isVertical ? _vm.contentHeight : ''
|
|
5505
|
+
}
|
|
5506
|
+
}, [_c('div', {
|
|
5507
|
+
ref: "itemsContainer",
|
|
5508
|
+
staticClass: "p-galleria-thumbnail-items",
|
|
5509
|
+
on: {
|
|
5510
|
+
"transitionend": _vm.onTransitionEnd,
|
|
5511
|
+
"touchstart": function touchstart($event) {
|
|
5512
|
+
return _vm.onTouchStart($event);
|
|
5513
|
+
},
|
|
5514
|
+
"touchmove": function touchmove($event) {
|
|
5515
|
+
return _vm.onTouchMove($event);
|
|
5516
|
+
},
|
|
5517
|
+
"touchend": function touchend($event) {
|
|
5518
|
+
return _vm.onTouchEnd($event);
|
|
5519
|
+
}
|
|
5520
|
+
}
|
|
5521
|
+
}, _vm._l(_vm.value, function (item, index) {
|
|
5522
|
+
return _c('div', {
|
|
5523
|
+
key: "p-galleria-thumbnail-item-".concat(index),
|
|
5524
|
+
class: ['p-galleria-thumbnail-item', {
|
|
5525
|
+
'p-galleria-thumbnail-item-current': _vm.activeIndex === index,
|
|
5526
|
+
'p-galleria-thumbnail-item-active': _vm.isItemActive(index),
|
|
5527
|
+
'p-galleria-thumbnail-item-start': _vm.firstItemAciveIndex() === index,
|
|
5528
|
+
'p-galleria-thumbnail-item-end': _vm.lastItemActiveIndex() === index
|
|
5529
|
+
}]
|
|
5530
|
+
}, [_c('div', {
|
|
5531
|
+
staticClass: "p-galleria-thumbnail-item-content",
|
|
5532
|
+
attrs: {
|
|
5533
|
+
"tabindex": _vm.isItemActive(index) ? 0 : null
|
|
5534
|
+
},
|
|
5535
|
+
on: {
|
|
5536
|
+
"click": function click($event) {
|
|
5537
|
+
return _vm.onItemClick(index);
|
|
5538
|
+
},
|
|
5539
|
+
"keydown": function keydown($event) {
|
|
5540
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
5541
|
+
return _vm.onItemClick(index);
|
|
5542
|
+
}
|
|
5543
|
+
}
|
|
5544
|
+
}, [_c('GalleriaItemSlot', {
|
|
5545
|
+
attrs: {
|
|
5546
|
+
"type": "thumbnail",
|
|
5547
|
+
"item": item,
|
|
5548
|
+
"templates": _vm.templates
|
|
5549
|
+
}
|
|
5550
|
+
})], 1)]);
|
|
5551
|
+
}), 0)]), _vm.showThumbnailNavigators ? _c('button', {
|
|
5552
|
+
directives: [{
|
|
5553
|
+
name: "ripple",
|
|
5554
|
+
rawName: "v-ripple"
|
|
5555
|
+
}],
|
|
5556
|
+
class: _vm.navForwardClass,
|
|
5557
|
+
attrs: {
|
|
5558
|
+
"disabled": _vm.isNavForwardDisabled(),
|
|
5559
|
+
"type": "button"
|
|
5560
|
+
},
|
|
5561
|
+
on: {
|
|
5562
|
+
"click": function click($event) {
|
|
5563
|
+
return _vm.navForward($event);
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
}, [_c('span', {
|
|
5567
|
+
class: _vm.navForwardIconClass
|
|
5568
|
+
})]) : _vm._e()])]);
|
|
5569
|
+
};
|
|
5570
|
+
var GalleriaThumbnailsvue_type_template_id_11247977_staticRenderFns = [];
|
|
5394
5571
|
|
|
5395
5572
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
5396
5573
|
|
|
@@ -5404,11 +5581,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
5404
5581
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
5405
5582
|
function arrayLikeToArray_arrayLikeToArray(arr, len) {
|
|
5406
5583
|
if (len == null || len > arr.length) len = arr.length;
|
|
5407
|
-
|
|
5408
5584
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
5409
5585
|
arr2[i] = arr[i];
|
|
5410
5586
|
}
|
|
5411
|
-
|
|
5412
5587
|
return arr2;
|
|
5413
5588
|
}
|
|
5414
5589
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -5463,33 +5638,6 @@ function _toConsumableArray(arr) {
|
|
|
5463
5638
|
|
|
5464
5639
|
|
|
5465
5640
|
|
|
5466
|
-
//
|
|
5467
|
-
//
|
|
5468
|
-
//
|
|
5469
|
-
//
|
|
5470
|
-
//
|
|
5471
|
-
//
|
|
5472
|
-
//
|
|
5473
|
-
//
|
|
5474
|
-
//
|
|
5475
|
-
//
|
|
5476
|
-
//
|
|
5477
|
-
//
|
|
5478
|
-
//
|
|
5479
|
-
//
|
|
5480
|
-
//
|
|
5481
|
-
//
|
|
5482
|
-
//
|
|
5483
|
-
//
|
|
5484
|
-
//
|
|
5485
|
-
//
|
|
5486
|
-
//
|
|
5487
|
-
//
|
|
5488
|
-
//
|
|
5489
|
-
//
|
|
5490
|
-
//
|
|
5491
|
-
//
|
|
5492
|
-
//
|
|
5493
5641
|
|
|
5494
5642
|
|
|
5495
5643
|
|
|
@@ -5566,14 +5714,12 @@ function _toConsumableArray(arr) {
|
|
|
5566
5714
|
mounted: function mounted() {
|
|
5567
5715
|
this.createStyle();
|
|
5568
5716
|
this.calculatePosition();
|
|
5569
|
-
|
|
5570
5717
|
if (this.responsiveOptions) {
|
|
5571
5718
|
this.bindDocumentListeners();
|
|
5572
5719
|
}
|
|
5573
5720
|
},
|
|
5574
5721
|
updated: function updated() {
|
|
5575
5722
|
var totalShiftedItems = this.totalShiftedItems;
|
|
5576
|
-
|
|
5577
5723
|
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5578
5724
|
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
5579
5725
|
totalShiftedItems = 0;
|
|
@@ -5584,18 +5730,14 @@ function _toConsumableArray(arr) {
|
|
|
5584
5730
|
} else {
|
|
5585
5731
|
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
5586
5732
|
}
|
|
5587
|
-
|
|
5588
5733
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
5589
5734
|
this.totalShiftedItems = totalShiftedItems;
|
|
5590
5735
|
}
|
|
5591
|
-
|
|
5592
5736
|
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
5593
|
-
|
|
5594
5737
|
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5595
5738
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5596
5739
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5597
5740
|
}
|
|
5598
|
-
|
|
5599
5741
|
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
5600
5742
|
this.d_oldNumVisible = this.d_numVisible;
|
|
5601
5743
|
}
|
|
@@ -5604,7 +5746,6 @@ function _toConsumableArray(arr) {
|
|
|
5604
5746
|
if (this.responsiveOptions) {
|
|
5605
5747
|
this.unbindDocumentListeners();
|
|
5606
5748
|
}
|
|
5607
|
-
|
|
5608
5749
|
if (this.thumbnailsStyle) {
|
|
5609
5750
|
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
5610
5751
|
}
|
|
@@ -5612,13 +5753,11 @@ function _toConsumableArray(arr) {
|
|
|
5612
5753
|
methods: {
|
|
5613
5754
|
step: function step(dir) {
|
|
5614
5755
|
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
5615
|
-
|
|
5616
5756
|
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
5617
5757
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5618
5758
|
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
5619
5759
|
totalShiftedItems = 0;
|
|
5620
5760
|
}
|
|
5621
|
-
|
|
5622
5761
|
if (this.circular) {
|
|
5623
5762
|
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
5624
5763
|
totalShiftedItems = 0;
|
|
@@ -5626,13 +5765,11 @@ function _toConsumableArray(arr) {
|
|
|
5626
5765
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5627
5766
|
}
|
|
5628
5767
|
}
|
|
5629
|
-
|
|
5630
5768
|
if (this.$refs.itemsContainer) {
|
|
5631
5769
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5632
5770
|
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
5633
5771
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5634
5772
|
}
|
|
5635
|
-
|
|
5636
5773
|
this.totalShiftedItems = totalShiftedItems;
|
|
5637
5774
|
},
|
|
5638
5775
|
stopSlideShow: function stopSlideShow() {
|
|
@@ -5648,14 +5785,11 @@ function _toConsumableArray(arr) {
|
|
|
5648
5785
|
this.stopSlideShow();
|
|
5649
5786
|
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
5650
5787
|
var diff = prevItemIndex + this.totalShiftedItems;
|
|
5651
|
-
|
|
5652
5788
|
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
5653
5789
|
this.step(1);
|
|
5654
5790
|
}
|
|
5655
|
-
|
|
5656
5791
|
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
5657
5792
|
this.$emit('update:activeIndex', activeIndex);
|
|
5658
|
-
|
|
5659
5793
|
if (e.cancelable) {
|
|
5660
5794
|
e.preventDefault();
|
|
5661
5795
|
}
|
|
@@ -5663,14 +5797,11 @@ function _toConsumableArray(arr) {
|
|
|
5663
5797
|
navForward: function navForward(e) {
|
|
5664
5798
|
this.stopSlideShow();
|
|
5665
5799
|
var nextItemIndex = this.d_activeIndex + 1;
|
|
5666
|
-
|
|
5667
5800
|
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
5668
5801
|
this.step(-1);
|
|
5669
5802
|
}
|
|
5670
|
-
|
|
5671
5803
|
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
5672
5804
|
this.$emit('update:activeIndex', activeIndex);
|
|
5673
|
-
|
|
5674
5805
|
if (e.cancelable) {
|
|
5675
5806
|
e.preventDefault();
|
|
5676
5807
|
}
|
|
@@ -5678,25 +5809,20 @@ function _toConsumableArray(arr) {
|
|
|
5678
5809
|
onItemClick: function onItemClick(index) {
|
|
5679
5810
|
this.stopSlideShow();
|
|
5680
5811
|
var selectedItemIndex = index;
|
|
5681
|
-
|
|
5682
5812
|
if (selectedItemIndex !== this.d_activeIndex) {
|
|
5683
5813
|
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
5684
5814
|
var dir = 0;
|
|
5685
|
-
|
|
5686
5815
|
if (selectedItemIndex < this.d_activeIndex) {
|
|
5687
5816
|
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
5688
|
-
|
|
5689
5817
|
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
5690
5818
|
this.step(dir);
|
|
5691
5819
|
}
|
|
5692
5820
|
} else {
|
|
5693
5821
|
dir = this.getMedianItemIndex() - diff;
|
|
5694
|
-
|
|
5695
5822
|
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
5696
5823
|
this.step(dir);
|
|
5697
5824
|
}
|
|
5698
5825
|
}
|
|
5699
|
-
|
|
5700
5826
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
5701
5827
|
}
|
|
5702
5828
|
},
|
|
@@ -5720,7 +5846,6 @@ function _toConsumableArray(arr) {
|
|
|
5720
5846
|
},
|
|
5721
5847
|
onTouchEnd: function onTouchEnd(e) {
|
|
5722
5848
|
var touchobj = e.changedTouches[0];
|
|
5723
|
-
|
|
5724
5849
|
if (this.isVertical) {
|
|
5725
5850
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
5726
5851
|
} else {
|
|
@@ -5745,9 +5870,7 @@ function _toConsumableArray(arr) {
|
|
|
5745
5870
|
this.thumbnailsStyle.type = 'text/css';
|
|
5746
5871
|
document.body.appendChild(this.thumbnailsStyle);
|
|
5747
5872
|
}
|
|
5748
|
-
|
|
5749
5873
|
var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
5750
|
-
|
|
5751
5874
|
if (this.responsiveOptions) {
|
|
5752
5875
|
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
5753
5876
|
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
@@ -5759,13 +5882,11 @@ function _toConsumableArray(arr) {
|
|
|
5759
5882
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
5760
5883
|
return -1 * result;
|
|
5761
5884
|
});
|
|
5762
|
-
|
|
5763
5885
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5764
5886
|
var res = this.sortedResponsiveOptions[i];
|
|
5765
5887
|
innerHTML += "\n @media screen and (max-width: ".concat(res.breakpoint, ") {\n #").concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / res.numVisible, "%\n }\n }\n ");
|
|
5766
5888
|
}
|
|
5767
5889
|
}
|
|
5768
|
-
|
|
5769
5890
|
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
5770
5891
|
},
|
|
5771
5892
|
calculatePosition: function calculatePosition() {
|
|
@@ -5774,15 +5895,12 @@ function _toConsumableArray(arr) {
|
|
|
5774
5895
|
var matchedResponsiveData = {
|
|
5775
5896
|
numVisible: this.numVisible
|
|
5776
5897
|
};
|
|
5777
|
-
|
|
5778
5898
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5779
5899
|
var res = this.sortedResponsiveOptions[i];
|
|
5780
|
-
|
|
5781
5900
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
5782
5901
|
matchedResponsiveData = res;
|
|
5783
5902
|
}
|
|
5784
5903
|
}
|
|
5785
|
-
|
|
5786
5904
|
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
5787
5905
|
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
5788
5906
|
}
|
|
@@ -5790,12 +5908,10 @@ function _toConsumableArray(arr) {
|
|
|
5790
5908
|
},
|
|
5791
5909
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
5792
5910
|
var _this = this;
|
|
5793
|
-
|
|
5794
5911
|
if (!this.documentResizeListener) {
|
|
5795
5912
|
this.documentResizeListener = function () {
|
|
5796
5913
|
_this.calculatePosition();
|
|
5797
5914
|
};
|
|
5798
|
-
|
|
5799
5915
|
window.addEventListener('resize', this.documentResizeListener);
|
|
5800
5916
|
}
|
|
5801
5917
|
},
|
|
@@ -5876,31 +5992,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
5876
5992
|
/* harmony default export */ var GalleriaThumbnails = (GalleriaThumbnails_component.exports);
|
|
5877
5993
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaContent.vue?vue&type=script&lang=js&
|
|
5878
5994
|
|
|
5879
|
-
//
|
|
5880
|
-
//
|
|
5881
|
-
//
|
|
5882
|
-
//
|
|
5883
|
-
//
|
|
5884
|
-
//
|
|
5885
|
-
//
|
|
5886
|
-
//
|
|
5887
|
-
//
|
|
5888
|
-
//
|
|
5889
|
-
//
|
|
5890
|
-
//
|
|
5891
|
-
//
|
|
5892
|
-
//
|
|
5893
|
-
//
|
|
5894
|
-
//
|
|
5895
|
-
//
|
|
5896
|
-
//
|
|
5897
|
-
//
|
|
5898
|
-
//
|
|
5899
|
-
//
|
|
5900
|
-
//
|
|
5901
|
-
//
|
|
5902
|
-
//
|
|
5903
|
-
//
|
|
5904
5995
|
|
|
5905
5996
|
|
|
5906
5997
|
|
|
@@ -5944,7 +6035,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
5944
6035
|
},
|
|
5945
6036
|
startSlideShow: function startSlideShow() {
|
|
5946
6037
|
var _this = this;
|
|
5947
|
-
|
|
5948
6038
|
this.interval = setInterval(function () {
|
|
5949
6039
|
var activeIndex = _this.$attrs.circular && _this.$attrs.value.length - 1 === _this.activeIndex ? 0 : _this.activeIndex + 1;
|
|
5950
6040
|
_this.activeIndex = activeIndex;
|
|
@@ -5955,7 +6045,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
5955
6045
|
if (this.interval) {
|
|
5956
6046
|
clearInterval(this.interval);
|
|
5957
6047
|
}
|
|
5958
|
-
|
|
5959
6048
|
this.slideShowActive = false;
|
|
5960
6049
|
},
|
|
5961
6050
|
getPositionClass: function getPositionClass(preClassName, position) {
|