primevue 2.10.0 → 2.10.2
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 +150 -3
- package/accordion/accordion.common.js +2 -7
- package/accordion/accordion.umd.js +2 -7
- package/accordiontab/accordiontab.common.js +1203 -104
- package/accordiontab/accordiontab.umd.js +1203 -104
- 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 +3 -56
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +78 -133
- package/api/api.umd.js +78 -133
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +54 -131
- package/api/filterservice.umd.js +54 -131
- package/api/filterservice.umd.min.js +1 -1
- 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 +84 -246
- package/autocomplete/autocomplete.umd.js +84 -246
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +2 -4
- package/avatar/avatar.umd.js +2 -4
- package/avatargroup/avatargroup.common.js +2 -4
- package/avatargroup/avatargroup.umd.js +2 -4
- package/badge/badge.common.js +2 -4
- package/badge/badge.umd.js +2 -4
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +1183 -89
- package/badgedirective/badgedirective.umd.js +1183 -89
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/blockui.common.js +1180 -86
- package/blockui/blockui.umd.js +1180 -86
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +7 -12
- package/breadcrumb/breadcrumb.umd.js +7 -12
- package/breadcrumb/breadcrumbitem.common.js +5 -8
- package/breadcrumb/breadcrumbitem.umd.js +5 -8
- package/button/button.common.js +1211 -125
- package/button/button.umd.js +1211 -125
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +9 -7
- package/calendar/calendar.common.js +224 -613
- package/calendar/calendar.umd.js +224 -613
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +2 -4
- package/card/card.umd.js +2 -4
- package/carousel/carousel.common.js +1190 -146
- package/carousel/carousel.umd.js +1190 -146
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/cascadeselect.common.js +136 -286
- package/cascadeselect/cascadeselect.umd.js +136 -286
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +69 -185
- package/cascadeselect/cascadeselectsub.umd.js +69 -185
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +2 -9
- package/chart/chart.umd.js +2 -9
- package/checkbox/checkbox.common.js +58 -116
- package/checkbox/checkbox.umd.js +58 -116
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +2 -4
- package/chip/chip.umd.js +2 -4
- package/chips/chips.common.js +12 -59
- package/chips/chips.umd.js +12 -59
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +1197 -140
- package/colorpicker/colorpicker.umd.js +1197 -140
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +2 -4
- package/columngroup/columngroup.umd.js +2 -4
- package/config/PrimeVue.js +4 -6
- package/config/primevue.common.js +124 -155
- package/config/primevue.umd.js +124 -155
- 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 +1252 -186
- package/confirmdialog/confirmdialog.umd.js +1252 -186
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +1212 -152
- package/confirmpopup/confirmpopup.umd.js +1212 -152
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +1209 -140
- package/contextmenu/contextmenu.umd.js +1209 -140
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +1187 -107
- package/contextmenu/contextmenusub.umd.js +1187 -107
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/TableBody.vue +1 -0
- package/datatable/bodycell.common.js +87 -215
- package/datatable/bodycell.umd.js +87 -215
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +97 -299
- package/datatable/columnfilter.umd.js +97 -299
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/datatable.common.js +258 -950
- package/datatable/datatable.umd.js +258 -950
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -5
- package/datatable/footercell.common.js +83 -170
- package/datatable/footercell.umd.js +83 -170
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +101 -318
- package/datatable/headercell.umd.js +101 -318
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +2 -4
- package/datatable/headercheckbox.umd.js +2 -4
- package/datatable/rowcheckbox.common.js +2 -4
- package/datatable/rowcheckbox.umd.js +2 -4
- package/datatable/rowradiobutton.common.js +2 -4
- package/datatable/rowradiobutton.umd.js +2 -4
- package/datatable/tablebody.common.js +91 -243
- package/datatable/tablebody.umd.js +91 -243
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +88 -204
- package/datatable/tablefooter.umd.js +88 -204
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +104 -342
- package/datatable/tableheader.umd.js +104 -342
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +2 -4
- package/datatable/tableloadingbody.umd.js +2 -4
- package/dataview/dataview.common.js +172 -464
- package/dataview/dataview.umd.js +172 -464
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
- package/deferredcontent/deferredcontent.common.js +2 -7
- package/deferredcontent/deferredcontent.umd.js +2 -7
- package/dialog/dialog.common.js +1191 -115
- package/dialog/dialog.umd.js +1191 -115
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +2 -4
- package/divider/divider.umd.js +2 -4
- package/dock/dock.common.js +7 -14
- package/dock/dock.umd.js +7 -14
- package/dock/docksub.common.js +5 -9
- package/dock/docksub.umd.js +5 -9
- package/dropdown/dropdown.common.js +91 -240
- package/dropdown/dropdown.umd.js +91 -240
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +8 -21
- package/editor/editor.umd.js +8 -21
- package/fieldset/fieldset.common.js +1211 -125
- package/fieldset/fieldset.umd.js +1211 -125
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +86 -192
- package/fileupload/fileupload.umd.js +86 -192
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +1304 -36
- package/fullcalendar/fullcalendar.umd.js +1304 -36
- package/fullcalendar/fullcalendar.umd.min.js +3 -3
- package/galleria/demo.html +3 -3
- package/galleria/galleria.common.js +86 -200
- package/galleria/galleria.umd.js +86 -200
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +84 -190
- package/galleria/galleriacontent.umd.js +84 -190
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +1212 -134
- package/galleria/galleriaitem.umd.js +1212 -134
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +4 -10
- package/galleria/galleriaitemslot.umd.js +4 -10
- package/galleria/galleriathumbnails.common.js +76 -174
- package/galleria/galleriathumbnails.umd.js +76 -174
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +1176 -79
- package/imagepreview/imagepreview.umd.js +1176 -79
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +2 -5
- package/inlinemessage/inlinemessage.umd.js +2 -5
- package/inplace/inplace.common.js +1189 -105
- package/inplace/inplace.umd.js +1189 -105
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +1237 -217
- package/inputmask/inputmask.umd.js +1237 -217
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +2 -2
- package/inputnumber/inputnumber.common.js +136 -286
- package/inputnumber/inputnumber.umd.js +136 -286
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +2 -5
- package/inputswitch/inputswitch.umd.js +2 -5
- package/inputtext/inputtext.common.js +1177 -31
- package/inputtext/inputtext.umd.js +1177 -31
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +4 -5
- package/knob/knob.umd.js +4 -5
- package/listbox/listbox.common.js +76 -213
- package/listbox/listbox.umd.js +76 -213
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/megamenu.common.js +1186 -121
- package/megamenu/megamenu.umd.js +1186 -121
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +1203 -138
- package/menu/menu.umd.js +1203 -138
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +1214 -128
- package/menu/menuitem.umd.js +1214 -128
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +1204 -141
- package/menubar/menubar.umd.js +1204 -141
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +1202 -135
- package/menubar/menubarsub.umd.js +1202 -135
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +1187 -102
- package/message/message.umd.js +1187 -102
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.vue +1 -1
- package/multiselect/multiselect.common.js +139 -304
- package/multiselect/multiselect.umd.js +139 -304
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +88 -230
- package/orderlist/orderlist.umd.js +88 -230
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +1200 -111
- package/organizationchart/organizationchart.umd.js +1200 -111
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +1186 -87
- package/organizationchart/organizationchartnode.umd.js +1186 -87
- 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.d.ts +3 -1
- package/overlaypanel/OverlayPanel.vue +2 -0
- package/overlaypanel/overlaypanel.common.js +1223 -158
- package/overlaypanel/overlaypanel.umd.js +1223 -158
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +2 -4
- package/paginator/currentpagereport.umd.js +2 -4
- package/paginator/firstpagelink.common.js +1211 -125
- package/paginator/firstpagelink.umd.js +1211 -125
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +93 -246
- package/paginator/jumptopagedropdown.umd.js +93 -246
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +142 -294
- package/paginator/jumptopageinput.umd.js +142 -294
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +1211 -125
- package/paginator/lastpagelink.umd.js +1211 -125
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +1211 -125
- package/paginator/nextpagelink.umd.js +1211 -125
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +1211 -125
- package/paginator/pagelinks.umd.js +1211 -125
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +186 -472
- package/paginator/paginator.umd.js +186 -472
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +1211 -125
- package/paginator/prevpagelink.umd.js +1211 -125
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +93 -246
- package/paginator/rowsperpagedropdown.umd.js +93 -246
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +1211 -125
- package/panel/panel.umd.js +1211 -125
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +10 -22
- package/panelmenu/panelmenu.umd.js +10 -22
- package/panelmenu/panelmenusub.common.js +5 -11
- package/panelmenu/panelmenusub.umd.js +5 -11
- package/password/Password.vue +40 -12
- package/password/password.common.js +1306 -212
- package/password/password.umd.js +1306 -212
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +88 -262
- package/picklist/picklist.umd.js +88 -262
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +2 -4
- package/progressbar/progressbar.umd.js +2 -4
- package/progressspinner/progressspinner.common.js +2 -5
- package/progressspinner/progressspinner.umd.js +2 -5
- package/radiobutton/radiobutton.common.js +53 -91
- package/radiobutton/radiobutton.umd.js +53 -91
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +2 -4
- package/rating/rating.umd.js +2 -4
- package/resources/primevue.css +0 -0
- package/resources/primevue.min.css +0 -0
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +1178 -90
- package/ripple/ripple.umd.js +1178 -90
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +2 -4
- package/row/row.umd.js +2 -4
- package/scrollpanel/scrollpanel.common.js +1190 -103
- package/scrollpanel/scrollpanel.umd.js +1190 -103
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +1183 -87
- package/scrolltop/scrolltop.umd.js +1183 -87
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +74 -200
- package/selectbutton/selectbutton.umd.js +74 -200
- 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 +1223 -145
- package/sidebar/sidebar.umd.js +1223 -145
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +2 -4
- package/skeleton/skeleton.umd.js +2 -4
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +121 -188
- package/slider/slider.umd.js +121 -188
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +1269 -204
- package/speeddial/speeddial.umd.js +1269 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +1209 -148
- package/splitbutton/splitbutton.umd.js +1209 -148
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +1182 -101
- package/splitter/splitter.umd.js +1182 -101
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/steps.common.js +5 -9
- package/steps/steps.umd.js +5 -9
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +1199 -133
- package/styleclass/styleclass.umd.js +1199 -133
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/TabMenu.vue +1 -9
- package/tabmenu/tabmenu.common.js +1215 -206
- package/tabmenu/tabmenu.umd.js +1215 -206
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +2 -5
- package/tabpanel/tabpanel.umd.js +2 -5
- package/tabview/tabview.common.js +86 -185
- package/tabview/tabview.umd.js +86 -185
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +2 -4
- package/tag/tag.umd.js +2 -4
- package/terminal/terminal.common.js +2 -4
- package/terminal/terminal.umd.js +2 -4
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +3233 -94
- package/textarea/textarea.umd.js +3233 -94
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +4 -3
- package/tieredmenu/tieredmenu.common.js +1199 -149
- package/tieredmenu/tieredmenu.umd.js +1199 -149
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +1206 -136
- package/tieredmenu/tieredmenusub.umd.js +1206 -136
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +53 -90
- package/timeline/timeline.umd.js +53 -90
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +74 -146
- package/toast/toast.umd.js +74 -146
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +1187 -102
- package/toast/toastmessage.umd.js +1187 -102
- 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 +1211 -125
- package/togglebutton/togglebutton.umd.js +1211 -125
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +2 -4
- package/toolbar/toolbar.umd.js +2 -4
- package/tooltip/Tooltip.js +7 -87
- package/tooltip/tooltip.common.js +84 -201
- package/tooltip/tooltip.umd.js +84 -201
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/demo.html +3 -3
- package/tree/tree.common.js +100 -281
- package/tree/tree.umd.js +100 -281
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +1240 -183
- package/tree/treenode.umd.js +1240 -183
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/demo.html +3 -3
- package/treetable/footercell.common.js +83 -170
- package/treetable/footercell.umd.js +83 -170
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +83 -178
- package/treetable/headercell.umd.js +83 -178
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +220 -702
- package/treetable/treetable.umd.js +220 -702
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +91 -211
- package/treetable/treetablerow.umd.js +91 -211
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +94 -232
- package/treetable/treetablerowloader.umd.js +94 -232
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +2 -12
- package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
- package/utils/ConnectedOverlayScrollHandler.js +4 -13
- package/utils/DomHandler.js +18 -63
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +15 -59
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +1183 -88
- package/utils/connectedoverlayscrollhandler.umd.js +1183 -88
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/domhandler.common.js +1187 -85
- package/utils/domhandler.umd.js +1187 -85
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +51 -86
- package/utils/objectutils.umd.js +51 -86
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +81 -170
- package/utils/utils.umd.js +81 -170
- package/utils/utils.umd.min.js +1 -1
- package/web-types.json +8 -1
|
@@ -1461,6 +1461,14 @@ module.exports = __webpack_require__("8e60") ? function (object, key, value) {
|
|
|
1461
1461
|
};
|
|
1462
1462
|
|
|
1463
1463
|
|
|
1464
|
+
/***/ }),
|
|
1465
|
+
|
|
1466
|
+
/***/ "366e":
|
|
1467
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1468
|
+
|
|
1469
|
+
module.exports = __webpack_require__("ccb9").f('toPrimitive');
|
|
1470
|
+
|
|
1471
|
+
|
|
1464
1472
|
/***/ }),
|
|
1465
1473
|
|
|
1466
1474
|
/***/ "36c3":
|
|
@@ -2141,13 +2149,6 @@ module.exports = function (exec, skipClosing) {
|
|
|
2141
2149
|
};
|
|
2142
2150
|
|
|
2143
2151
|
|
|
2144
|
-
/***/ }),
|
|
2145
|
-
|
|
2146
|
-
/***/ "5d58":
|
|
2147
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2148
|
-
|
|
2149
|
-
module.exports = __webpack_require__("d8d6");
|
|
2150
|
-
|
|
2151
2152
|
/***/ }),
|
|
2152
2153
|
|
|
2153
2154
|
/***/ "5dbc":
|
|
@@ -2400,13 +2401,6 @@ var meta = module.exports = {
|
|
|
2400
2401
|
};
|
|
2401
2402
|
|
|
2402
2403
|
|
|
2403
|
-
/***/ }),
|
|
2404
|
-
|
|
2405
|
-
/***/ "67bb":
|
|
2406
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2407
|
-
|
|
2408
|
-
module.exports = __webpack_require__("f921");
|
|
2409
|
-
|
|
2410
2404
|
/***/ }),
|
|
2411
2405
|
|
|
2412
2406
|
/***/ "6821":
|
|
@@ -2610,13 +2604,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
2610
2604
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
2611
2605
|
|
|
2612
2606
|
|
|
2613
|
-
/***/ }),
|
|
2614
|
-
|
|
2615
|
-
/***/ "774e":
|
|
2616
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2617
|
-
|
|
2618
|
-
module.exports = __webpack_require__("d2d5");
|
|
2619
|
-
|
|
2620
2607
|
/***/ }),
|
|
2621
2608
|
|
|
2622
2609
|
/***/ "77f1":
|
|
@@ -2810,13 +2797,6 @@ module.exports = function () { /* empty */ };
|
|
|
2810
2797
|
module.exports = {};
|
|
2811
2798
|
|
|
2812
2799
|
|
|
2813
|
-
/***/ }),
|
|
2814
|
-
|
|
2815
|
-
/***/ "85f2":
|
|
2816
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2817
|
-
|
|
2818
|
-
module.exports = __webpack_require__("454f");
|
|
2819
|
-
|
|
2820
2800
|
/***/ }),
|
|
2821
2801
|
|
|
2822
2802
|
/***/ "86cc":
|
|
@@ -3439,13 +3419,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
3439
3419
|
});
|
|
3440
3420
|
|
|
3441
3421
|
|
|
3442
|
-
/***/ }),
|
|
3443
|
-
|
|
3444
|
-
/***/ "a745":
|
|
3445
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3446
|
-
|
|
3447
|
-
module.exports = __webpack_require__("f410");
|
|
3448
|
-
|
|
3449
3422
|
/***/ }),
|
|
3450
3423
|
|
|
3451
3424
|
/***/ "aa77":
|
|
@@ -4286,11 +4259,10 @@ if (typeof window !== 'undefined') {
|
|
|
4286
4259
|
// Indicate to webpack that this file can be concatenated
|
|
4287
4260
|
/* harmony default export */ var setPublicPath = (null);
|
|
4288
4261
|
|
|
4289
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4262
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"51d147ac-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&
|
|
4290
4263
|
var render = function render() {
|
|
4291
4264
|
var _vm = this,
|
|
4292
|
-
|
|
4293
|
-
|
|
4265
|
+
_c = _vm._self._c;
|
|
4294
4266
|
return _c('div', {
|
|
4295
4267
|
staticClass: "p-galleria-thumbnail-wrapper"
|
|
4296
4268
|
}, [_c('div', {
|
|
@@ -4381,7 +4353,6 @@ var render = function render() {
|
|
|
4381
4353
|
class: _vm.navForwardIconClass
|
|
4382
4354
|
})]) : _vm._e()])]);
|
|
4383
4355
|
};
|
|
4384
|
-
|
|
4385
4356
|
var staticRenderFns = [];
|
|
4386
4357
|
|
|
4387
4358
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
@@ -4389,18 +4360,14 @@ var staticRenderFns = [];
|
|
|
4389
4360
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.sort.js
|
|
4390
4361
|
var es6_array_sort = __webpack_require__("55dd");
|
|
4391
4362
|
|
|
4392
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4393
|
-
var is_array = __webpack_require__("
|
|
4363
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/is-array.js
|
|
4364
|
+
var is_array = __webpack_require__("f410");
|
|
4394
4365
|
var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
4395
4366
|
|
|
4396
4367
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4397
4368
|
function _arrayLikeToArray(arr, len) {
|
|
4398
4369
|
if (len == null || len > arr.length) len = arr.length;
|
|
4399
|
-
|
|
4400
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4401
|
-
arr2[i] = arr[i];
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4370
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4404
4371
|
return arr2;
|
|
4405
4372
|
}
|
|
4406
4373
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4409,16 +4376,16 @@ function _arrayLikeToArray(arr, len) {
|
|
|
4409
4376
|
function _arrayWithoutHoles(arr) {
|
|
4410
4377
|
if (is_array_default()(arr)) return _arrayLikeToArray(arr);
|
|
4411
4378
|
}
|
|
4412
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4413
|
-
var symbol = __webpack_require__("
|
|
4379
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/index.js
|
|
4380
|
+
var symbol = __webpack_require__("f921");
|
|
4414
4381
|
var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
|
|
4415
4382
|
|
|
4416
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4417
|
-
var iterator = __webpack_require__("
|
|
4383
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/iterator.js
|
|
4384
|
+
var iterator = __webpack_require__("d8d6");
|
|
4418
4385
|
var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
4419
4386
|
|
|
4420
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4421
|
-
var from = __webpack_require__("
|
|
4387
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/from.js
|
|
4388
|
+
var from = __webpack_require__("d2d5");
|
|
4422
4389
|
var from_default = /*#__PURE__*/__webpack_require__.n(from);
|
|
4423
4390
|
|
|
4424
4391
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArray.js
|
|
@@ -4478,15 +4445,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4478
4445
|
},
|
|
4479
4446
|
render: function render(createElement, context) {
|
|
4480
4447
|
var _context$props = context.props,
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4448
|
+
item = _context$props.item,
|
|
4449
|
+
index = _context$props.index,
|
|
4450
|
+
templates = _context$props.templates,
|
|
4451
|
+
type = _context$props.type;
|
|
4485
4452
|
var template = templates && templates[type];
|
|
4486
|
-
|
|
4487
4453
|
if (template) {
|
|
4488
4454
|
var content;
|
|
4489
|
-
|
|
4490
4455
|
switch (type) {
|
|
4491
4456
|
case 'item':
|
|
4492
4457
|
case 'caption':
|
|
@@ -4495,21 +4460,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4495
4460
|
item: item
|
|
4496
4461
|
});
|
|
4497
4462
|
break;
|
|
4498
|
-
|
|
4499
4463
|
case 'indicator':
|
|
4500
4464
|
content = template({
|
|
4501
4465
|
index: index
|
|
4502
4466
|
});
|
|
4503
4467
|
break;
|
|
4504
|
-
|
|
4505
4468
|
default:
|
|
4506
4469
|
content = template({});
|
|
4507
4470
|
break;
|
|
4508
4471
|
}
|
|
4509
|
-
|
|
4510
4472
|
return content ? [content] : null;
|
|
4511
4473
|
}
|
|
4512
|
-
|
|
4513
4474
|
return null;
|
|
4514
4475
|
}
|
|
4515
4476
|
});
|
|
@@ -4669,10 +4630,46 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4669
4630
|
throw new TypeError("Cannot call a class as a function");
|
|
4670
4631
|
}
|
|
4671
4632
|
}
|
|
4672
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4673
|
-
var define_property = __webpack_require__("
|
|
4633
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/object/define-property.js
|
|
4634
|
+
var define_property = __webpack_require__("454f");
|
|
4674
4635
|
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
4675
4636
|
|
|
4637
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
4638
|
+
|
|
4639
|
+
|
|
4640
|
+
function _typeof(obj) {
|
|
4641
|
+
"@babel/helpers - typeof";
|
|
4642
|
+
|
|
4643
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
4644
|
+
return typeof obj;
|
|
4645
|
+
} : function (obj) {
|
|
4646
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
4647
|
+
}, _typeof(obj);
|
|
4648
|
+
}
|
|
4649
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/to-primitive.js
|
|
4650
|
+
var to_primitive = __webpack_require__("366e");
|
|
4651
|
+
var to_primitive_default = /*#__PURE__*/__webpack_require__.n(to_primitive);
|
|
4652
|
+
|
|
4653
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPrimitive.js
|
|
4654
|
+
|
|
4655
|
+
|
|
4656
|
+
function _toPrimitive(input, hint) {
|
|
4657
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
4658
|
+
var prim = input[to_primitive_default.a];
|
|
4659
|
+
if (prim !== undefined) {
|
|
4660
|
+
var res = prim.call(input, hint || "default");
|
|
4661
|
+
if (_typeof(res) !== "object") return res;
|
|
4662
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4663
|
+
}
|
|
4664
|
+
return (hint === "string" ? String : Number)(input);
|
|
4665
|
+
}
|
|
4666
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPropertyKey.js
|
|
4667
|
+
|
|
4668
|
+
|
|
4669
|
+
function _toPropertyKey(arg) {
|
|
4670
|
+
var key = _toPrimitive(arg, "string");
|
|
4671
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
4672
|
+
}
|
|
4676
4673
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4677
4674
|
|
|
4678
4675
|
|
|
@@ -4682,19 +4679,15 @@ function _defineProperties(target, props) {
|
|
|
4682
4679
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4683
4680
|
descriptor.configurable = true;
|
|
4684
4681
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4685
|
-
|
|
4686
|
-
define_property_default()(target, descriptor.key, descriptor);
|
|
4682
|
+
define_property_default()(target, _toPropertyKey(descriptor.key), descriptor);
|
|
4687
4683
|
}
|
|
4688
4684
|
}
|
|
4689
|
-
|
|
4690
4685
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4691
4686
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4692
4687
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4693
|
-
|
|
4694
4688
|
define_property_default()(Constructor, "prototype", {
|
|
4695
4689
|
writable: false
|
|
4696
4690
|
});
|
|
4697
|
-
|
|
4698
4691
|
return Constructor;
|
|
4699
4692
|
}
|
|
4700
4693
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4710,18 +4703,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4710
4703
|
|
|
4711
4704
|
|
|
4712
4705
|
|
|
4713
|
-
|
|
4714
4706
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_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; } } }; }
|
|
4715
|
-
|
|
4716
4707
|
function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_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 DomHandler_arrayLikeToArray(o, minLen); }
|
|
4717
|
-
|
|
4718
|
-
function DomHandler_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; }
|
|
4719
|
-
|
|
4708
|
+
function DomHandler_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; }
|
|
4720
4709
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4721
4710
|
function DomHandler() {
|
|
4722
4711
|
_classCallCheck(this, DomHandler);
|
|
4723
4712
|
}
|
|
4724
|
-
|
|
4725
4713
|
_createClass(DomHandler, null, [{
|
|
4726
4714
|
key: "innerWidth",
|
|
4727
4715
|
value: function innerWidth(el) {
|
|
@@ -4755,12 +4743,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4755
4743
|
value: function getOuterWidth(el, margin) {
|
|
4756
4744
|
if (el) {
|
|
4757
4745
|
var width = el.offsetWidth;
|
|
4758
|
-
|
|
4759
4746
|
if (margin) {
|
|
4760
4747
|
var style = getComputedStyle(el);
|
|
4761
4748
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4762
4749
|
}
|
|
4763
|
-
|
|
4764
4750
|
return width;
|
|
4765
4751
|
} else {
|
|
4766
4752
|
return 0;
|
|
@@ -4771,12 +4757,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4771
4757
|
value: function getOuterHeight(el, margin) {
|
|
4772
4758
|
if (el) {
|
|
4773
4759
|
var height = el.offsetHeight;
|
|
4774
|
-
|
|
4775
4760
|
if (margin) {
|
|
4776
4761
|
var style = getComputedStyle(el);
|
|
4777
4762
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4778
4763
|
}
|
|
4779
|
-
|
|
4780
4764
|
return height;
|
|
4781
4765
|
} else {
|
|
4782
4766
|
return 0;
|
|
@@ -4787,12 +4771,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4787
4771
|
value: function getClientHeight(el, margin) {
|
|
4788
4772
|
if (el) {
|
|
4789
4773
|
var height = el.clientHeight;
|
|
4790
|
-
|
|
4791
4774
|
if (margin) {
|
|
4792
4775
|
var style = getComputedStyle(el);
|
|
4793
4776
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4794
4777
|
}
|
|
4795
|
-
|
|
4796
4778
|
return height;
|
|
4797
4779
|
} else {
|
|
4798
4780
|
return 0;
|
|
@@ -4802,11 +4784,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4802
4784
|
key: "getViewport",
|
|
4803
4785
|
value: function getViewport() {
|
|
4804
4786
|
var win = window,
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4787
|
+
d = document,
|
|
4788
|
+
e = d.documentElement,
|
|
4789
|
+
g = d.getElementsByTagName('body')[0],
|
|
4790
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4791
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4810
4792
|
return {
|
|
4811
4793
|
width: w,
|
|
4812
4794
|
height: h
|
|
@@ -4837,12 +4819,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4837
4819
|
value: function index(element) {
|
|
4838
4820
|
var children = element.parentNode.childNodes;
|
|
4839
4821
|
var num = 0;
|
|
4840
|
-
|
|
4841
4822
|
for (var i = 0; i < children.length; i++) {
|
|
4842
4823
|
if (children[i] === element) return num;
|
|
4843
4824
|
if (children[i].nodeType === 1) num++;
|
|
4844
4825
|
}
|
|
4845
|
-
|
|
4846
4826
|
return -1;
|
|
4847
4827
|
}
|
|
4848
4828
|
}, {
|
|
@@ -4850,13 +4830,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4850
4830
|
value: function addMultipleClasses(element, className) {
|
|
4851
4831
|
if (element.classList) {
|
|
4852
4832
|
var styles = className.split(' ');
|
|
4853
|
-
|
|
4854
4833
|
for (var i = 0; i < styles.length; i++) {
|
|
4855
4834
|
element.classList.add(styles[i]);
|
|
4856
4835
|
}
|
|
4857
4836
|
} else {
|
|
4858
4837
|
var _styles = className.split(' ');
|
|
4859
|
-
|
|
4860
4838
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4861
4839
|
element.className += ' ' + _styles[_i];
|
|
4862
4840
|
}
|
|
@@ -4878,7 +4856,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4878
4856
|
if (element) {
|
|
4879
4857
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4880
4858
|
}
|
|
4881
|
-
|
|
4882
4859
|
return false;
|
|
4883
4860
|
}
|
|
4884
4861
|
}, {
|
|
@@ -4923,11 +4900,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4923
4900
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4924
4901
|
var viewport = this.getViewport();
|
|
4925
4902
|
var top, left;
|
|
4926
|
-
|
|
4927
4903
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4928
4904
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4929
4905
|
element.style.transformOrigin = 'bottom';
|
|
4930
|
-
|
|
4931
4906
|
if (top < 0) {
|
|
4932
4907
|
top = windowScrollTop;
|
|
4933
4908
|
}
|
|
@@ -4935,7 +4910,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4935
4910
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4936
4911
|
element.style.transformOrigin = 'top';
|
|
4937
4912
|
}
|
|
4938
|
-
|
|
4939
4913
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4940
4914
|
element.style.top = top + 'px';
|
|
4941
4915
|
element.style.left = left + 'px';
|
|
@@ -4951,11 +4925,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4951
4925
|
var targetOffset = target.getBoundingClientRect();
|
|
4952
4926
|
var viewport = this.getViewport();
|
|
4953
4927
|
var top, left;
|
|
4954
|
-
|
|
4955
4928
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4956
4929
|
top = -1 * elementDimensions.height;
|
|
4957
4930
|
element.style.transformOrigin = 'bottom';
|
|
4958
|
-
|
|
4959
4931
|
if (targetOffset.top + top < 0) {
|
|
4960
4932
|
top = -1 * targetOffset.top;
|
|
4961
4933
|
}
|
|
@@ -4963,7 +4935,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4963
4935
|
top = targetHeight;
|
|
4964
4936
|
element.style.transformOrigin = 'top';
|
|
4965
4937
|
}
|
|
4966
|
-
|
|
4967
4938
|
if (elementDimensions.width > viewport.width) {
|
|
4968
4939
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4969
4940
|
left = targetOffset.left * -1;
|
|
@@ -4974,7 +4945,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4974
4945
|
// element fits on screen (align with target)
|
|
4975
4946
|
left = 0;
|
|
4976
4947
|
}
|
|
4977
|
-
|
|
4978
4948
|
element.style.top = top + 'px';
|
|
4979
4949
|
element.style.left = left + 'px';
|
|
4980
4950
|
}
|
|
@@ -4988,35 +4958,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4988
4958
|
key: "getScrollableParents",
|
|
4989
4959
|
value: function getScrollableParents(element) {
|
|
4990
4960
|
var scrollableParents = [];
|
|
4991
|
-
|
|
4992
4961
|
if (element) {
|
|
4993
4962
|
var parents = this.getParents(element);
|
|
4994
4963
|
var overflowRegex = /(auto|scroll)/;
|
|
4995
|
-
|
|
4996
4964
|
var overflowCheck = function overflowCheck(node) {
|
|
4997
4965
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4998
4966
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4999
4967
|
};
|
|
5000
|
-
|
|
5001
4968
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
5002
|
-
|
|
5003
|
-
|
|
4969
|
+
_step;
|
|
5004
4970
|
try {
|
|
5005
4971
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5006
4972
|
var parent = _step.value;
|
|
5007
4973
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5008
|
-
|
|
5009
4974
|
if (scrollSelectors) {
|
|
5010
4975
|
var selectors = scrollSelectors.split(',');
|
|
5011
|
-
|
|
5012
4976
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
5013
|
-
|
|
5014
|
-
|
|
4977
|
+
_step2;
|
|
5015
4978
|
try {
|
|
5016
4979
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5017
4980
|
var selector = _step2.value;
|
|
5018
4981
|
var el = this.findSingle(parent, selector);
|
|
5019
|
-
|
|
5020
4982
|
if (el && overflowCheck(el)) {
|
|
5021
4983
|
scrollableParents.push(el);
|
|
5022
4984
|
}
|
|
@@ -5034,7 +4996,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5034
4996
|
_iterator.f();
|
|
5035
4997
|
}
|
|
5036
4998
|
}
|
|
5037
|
-
|
|
5038
4999
|
return scrollableParents;
|
|
5039
5000
|
}
|
|
5040
5001
|
}, {
|
|
@@ -5075,34 +5036,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5075
5036
|
element.style.opacity = 0;
|
|
5076
5037
|
var last = +new Date();
|
|
5077
5038
|
var opacity = 0;
|
|
5078
|
-
|
|
5079
5039
|
var tick = function tick() {
|
|
5080
5040
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5081
5041
|
element.style.opacity = opacity;
|
|
5082
5042
|
last = +new Date();
|
|
5083
|
-
|
|
5084
5043
|
if (+opacity < 1) {
|
|
5085
5044
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5086
5045
|
}
|
|
5087
5046
|
};
|
|
5088
|
-
|
|
5089
5047
|
tick();
|
|
5090
5048
|
}
|
|
5091
5049
|
}, {
|
|
5092
5050
|
key: "fadeOut",
|
|
5093
5051
|
value: function fadeOut(element, ms) {
|
|
5094
5052
|
var opacity = 1,
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5053
|
+
interval = 50,
|
|
5054
|
+
duration = ms,
|
|
5055
|
+
gap = interval / duration;
|
|
5098
5056
|
var fading = setInterval(function () {
|
|
5099
5057
|
opacity -= gap;
|
|
5100
|
-
|
|
5101
5058
|
if (opacity <= 0) {
|
|
5102
5059
|
opacity = 0;
|
|
5103
5060
|
clearInterval(fading);
|
|
5104
5061
|
}
|
|
5105
|
-
|
|
5106
5062
|
element.style.opacity = opacity;
|
|
5107
5063
|
}, interval);
|
|
5108
5064
|
}
|
|
@@ -5129,7 +5085,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5129
5085
|
var scroll = container.scrollTop;
|
|
5130
5086
|
var elementHeight = container.clientHeight;
|
|
5131
5087
|
var itemHeight = this.getOuterHeight(item);
|
|
5132
|
-
|
|
5133
5088
|
if (offset < 0) {
|
|
5134
5089
|
container.scrollTop = scroll + offset;
|
|
5135
5090
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5148,7 +5103,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5148
5103
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5149
5104
|
try {
|
|
5150
5105
|
document['selection'].empty();
|
|
5151
|
-
} catch (error) {
|
|
5106
|
+
} catch (error) {
|
|
5107
|
+
//ignore IE bug
|
|
5152
5108
|
}
|
|
5153
5109
|
}
|
|
5154
5110
|
}
|
|
@@ -5170,19 +5126,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5170
5126
|
if (!this.browser) {
|
|
5171
5127
|
var matched = this.resolveUserAgent();
|
|
5172
5128
|
this.browser = {};
|
|
5173
|
-
|
|
5174
5129
|
if (matched.browser) {
|
|
5175
5130
|
this.browser[matched.browser] = true;
|
|
5176
5131
|
this.browser['version'] = matched.version;
|
|
5177
5132
|
}
|
|
5178
|
-
|
|
5179
5133
|
if (this.browser['chrome']) {
|
|
5180
5134
|
this.browser['webkit'] = true;
|
|
5181
5135
|
} else if (this.browser['webkit']) {
|
|
5182
5136
|
this.browser['safari'] = true;
|
|
5183
5137
|
}
|
|
5184
5138
|
}
|
|
5185
|
-
|
|
5186
5139
|
return this.browser;
|
|
5187
5140
|
}
|
|
5188
5141
|
}, {
|
|
@@ -5210,10 +5163,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5210
5163
|
value: function getFocusableElements(element) {
|
|
5211
5164
|
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])");
|
|
5212
5165
|
var visibleFocusableElements = [];
|
|
5213
|
-
|
|
5214
5166
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5215
|
-
|
|
5216
|
-
|
|
5167
|
+
_step3;
|
|
5217
5168
|
try {
|
|
5218
5169
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5219
5170
|
var focusableElement = _step3.value;
|
|
@@ -5224,7 +5175,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5224
5175
|
} finally {
|
|
5225
5176
|
_iterator3.f();
|
|
5226
5177
|
}
|
|
5227
|
-
|
|
5228
5178
|
return visibleFocusableElements;
|
|
5229
5179
|
}
|
|
5230
5180
|
}, {
|
|
@@ -5267,55 +5217,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5267
5217
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5268
5218
|
}
|
|
5269
5219
|
}]);
|
|
5270
|
-
|
|
5271
5220
|
return DomHandler;
|
|
5272
5221
|
}();
|
|
5273
5222
|
|
|
5274
|
-
|
|
5275
5223
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5276
5224
|
|
|
5277
|
-
|
|
5278
5225
|
function bindEvents(el) {
|
|
5279
5226
|
el.addEventListener('mousedown', onMouseDown);
|
|
5280
5227
|
}
|
|
5281
|
-
|
|
5282
5228
|
function unbindEvents(el) {
|
|
5283
5229
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5284
5230
|
}
|
|
5285
|
-
|
|
5286
5231
|
function create(el) {
|
|
5287
5232
|
var ink = document.createElement('span');
|
|
5288
5233
|
ink.className = 'p-ink';
|
|
5289
5234
|
el.appendChild(ink);
|
|
5290
5235
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5291
5236
|
}
|
|
5292
|
-
|
|
5293
5237
|
function remove(el) {
|
|
5294
5238
|
var ink = getInk(el);
|
|
5295
|
-
|
|
5296
5239
|
if (ink) {
|
|
5297
5240
|
unbindEvents(el);
|
|
5298
5241
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5299
5242
|
ink.remove();
|
|
5300
5243
|
}
|
|
5301
5244
|
}
|
|
5302
|
-
|
|
5303
5245
|
function onMouseDown(event) {
|
|
5304
5246
|
var target = event.currentTarget;
|
|
5305
5247
|
var ink = getInk(target);
|
|
5306
|
-
|
|
5307
5248
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5308
5249
|
return;
|
|
5309
5250
|
}
|
|
5310
|
-
|
|
5311
5251
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5312
|
-
|
|
5313
5252
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5314
5253
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5315
5254
|
ink.style.height = d + 'px';
|
|
5316
5255
|
ink.style.width = d + 'px';
|
|
5317
5256
|
}
|
|
5318
|
-
|
|
5319
5257
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5320
5258
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5321
5259
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5323,21 +5261,17 @@ function onMouseDown(event) {
|
|
|
5323
5261
|
ink.style.left = x + 'px';
|
|
5324
5262
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5325
5263
|
}
|
|
5326
|
-
|
|
5327
5264
|
function onAnimationEnd(event) {
|
|
5328
5265
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5329
5266
|
}
|
|
5330
|
-
|
|
5331
5267
|
function getInk(el) {
|
|
5332
5268
|
for (var i = 0; i < el.children.length; i++) {
|
|
5333
5269
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5334
5270
|
return el.children[i];
|
|
5335
5271
|
}
|
|
5336
5272
|
}
|
|
5337
|
-
|
|
5338
5273
|
return null;
|
|
5339
5274
|
}
|
|
5340
|
-
|
|
5341
5275
|
var Ripple = {
|
|
5342
5276
|
inserted: function inserted(el, binding, vnode) {
|
|
5343
5277
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5430,14 +5364,12 @@ var Ripple = {
|
|
|
5430
5364
|
mounted: function mounted() {
|
|
5431
5365
|
this.createStyle();
|
|
5432
5366
|
this.calculatePosition();
|
|
5433
|
-
|
|
5434
5367
|
if (this.responsiveOptions) {
|
|
5435
5368
|
this.bindDocumentListeners();
|
|
5436
5369
|
}
|
|
5437
5370
|
},
|
|
5438
5371
|
updated: function updated() {
|
|
5439
5372
|
var totalShiftedItems = this.totalShiftedItems;
|
|
5440
|
-
|
|
5441
5373
|
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5442
5374
|
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
5443
5375
|
totalShiftedItems = 0;
|
|
@@ -5448,18 +5380,14 @@ var Ripple = {
|
|
|
5448
5380
|
} else {
|
|
5449
5381
|
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
5450
5382
|
}
|
|
5451
|
-
|
|
5452
5383
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
5453
5384
|
this.totalShiftedItems = totalShiftedItems;
|
|
5454
5385
|
}
|
|
5455
|
-
|
|
5456
5386
|
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)");
|
|
5457
|
-
|
|
5458
5387
|
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5459
5388
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5460
5389
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5461
5390
|
}
|
|
5462
|
-
|
|
5463
5391
|
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
5464
5392
|
this.d_oldNumVisible = this.d_numVisible;
|
|
5465
5393
|
}
|
|
@@ -5468,7 +5396,6 @@ var Ripple = {
|
|
|
5468
5396
|
if (this.responsiveOptions) {
|
|
5469
5397
|
this.unbindDocumentListeners();
|
|
5470
5398
|
}
|
|
5471
|
-
|
|
5472
5399
|
if (this.thumbnailsStyle) {
|
|
5473
5400
|
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
5474
5401
|
}
|
|
@@ -5476,13 +5403,11 @@ var Ripple = {
|
|
|
5476
5403
|
methods: {
|
|
5477
5404
|
step: function step(dir) {
|
|
5478
5405
|
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
5479
|
-
|
|
5480
5406
|
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
5481
5407
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5482
5408
|
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
5483
5409
|
totalShiftedItems = 0;
|
|
5484
5410
|
}
|
|
5485
|
-
|
|
5486
5411
|
if (this.circular) {
|
|
5487
5412
|
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
5488
5413
|
totalShiftedItems = 0;
|
|
@@ -5490,13 +5415,11 @@ var Ripple = {
|
|
|
5490
5415
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5491
5416
|
}
|
|
5492
5417
|
}
|
|
5493
|
-
|
|
5494
5418
|
if (this.$refs.itemsContainer) {
|
|
5495
5419
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5496
5420
|
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)");
|
|
5497
5421
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5498
5422
|
}
|
|
5499
|
-
|
|
5500
5423
|
this.totalShiftedItems = totalShiftedItems;
|
|
5501
5424
|
},
|
|
5502
5425
|
stopSlideShow: function stopSlideShow() {
|
|
@@ -5512,14 +5435,11 @@ var Ripple = {
|
|
|
5512
5435
|
this.stopSlideShow();
|
|
5513
5436
|
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
5514
5437
|
var diff = prevItemIndex + this.totalShiftedItems;
|
|
5515
|
-
|
|
5516
5438
|
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
5517
5439
|
this.step(1);
|
|
5518
5440
|
}
|
|
5519
|
-
|
|
5520
5441
|
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
5521
5442
|
this.$emit('update:activeIndex', activeIndex);
|
|
5522
|
-
|
|
5523
5443
|
if (e.cancelable) {
|
|
5524
5444
|
e.preventDefault();
|
|
5525
5445
|
}
|
|
@@ -5527,14 +5447,11 @@ var Ripple = {
|
|
|
5527
5447
|
navForward: function navForward(e) {
|
|
5528
5448
|
this.stopSlideShow();
|
|
5529
5449
|
var nextItemIndex = this.d_activeIndex + 1;
|
|
5530
|
-
|
|
5531
5450
|
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
5532
5451
|
this.step(-1);
|
|
5533
5452
|
}
|
|
5534
|
-
|
|
5535
5453
|
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
5536
5454
|
this.$emit('update:activeIndex', activeIndex);
|
|
5537
|
-
|
|
5538
5455
|
if (e.cancelable) {
|
|
5539
5456
|
e.preventDefault();
|
|
5540
5457
|
}
|
|
@@ -5542,25 +5459,20 @@ var Ripple = {
|
|
|
5542
5459
|
onItemClick: function onItemClick(index) {
|
|
5543
5460
|
this.stopSlideShow();
|
|
5544
5461
|
var selectedItemIndex = index;
|
|
5545
|
-
|
|
5546
5462
|
if (selectedItemIndex !== this.d_activeIndex) {
|
|
5547
5463
|
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
5548
5464
|
var dir = 0;
|
|
5549
|
-
|
|
5550
5465
|
if (selectedItemIndex < this.d_activeIndex) {
|
|
5551
5466
|
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
5552
|
-
|
|
5553
5467
|
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
5554
5468
|
this.step(dir);
|
|
5555
5469
|
}
|
|
5556
5470
|
} else {
|
|
5557
5471
|
dir = this.getMedianItemIndex() - diff;
|
|
5558
|
-
|
|
5559
5472
|
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
5560
5473
|
this.step(dir);
|
|
5561
5474
|
}
|
|
5562
5475
|
}
|
|
5563
|
-
|
|
5564
5476
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
5565
5477
|
}
|
|
5566
5478
|
},
|
|
@@ -5584,7 +5496,6 @@ var Ripple = {
|
|
|
5584
5496
|
},
|
|
5585
5497
|
onTouchEnd: function onTouchEnd(e) {
|
|
5586
5498
|
var touchobj = e.changedTouches[0];
|
|
5587
|
-
|
|
5588
5499
|
if (this.isVertical) {
|
|
5589
5500
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
5590
5501
|
} else {
|
|
@@ -5609,9 +5520,7 @@ var Ripple = {
|
|
|
5609
5520
|
this.thumbnailsStyle.type = 'text/css';
|
|
5610
5521
|
document.body.appendChild(this.thumbnailsStyle);
|
|
5611
5522
|
}
|
|
5612
|
-
|
|
5613
5523
|
var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
5614
|
-
|
|
5615
5524
|
if (this.responsiveOptions) {
|
|
5616
5525
|
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
5617
5526
|
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
@@ -5623,13 +5532,11 @@ var Ripple = {
|
|
|
5623
5532
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
5624
5533
|
return -1 * result;
|
|
5625
5534
|
});
|
|
5626
|
-
|
|
5627
5535
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5628
5536
|
var res = this.sortedResponsiveOptions[i];
|
|
5629
5537
|
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 ");
|
|
5630
5538
|
}
|
|
5631
5539
|
}
|
|
5632
|
-
|
|
5633
5540
|
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
5634
5541
|
},
|
|
5635
5542
|
calculatePosition: function calculatePosition() {
|
|
@@ -5638,15 +5545,12 @@ var Ripple = {
|
|
|
5638
5545
|
var matchedResponsiveData = {
|
|
5639
5546
|
numVisible: this.numVisible
|
|
5640
5547
|
};
|
|
5641
|
-
|
|
5642
5548
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5643
5549
|
var res = this.sortedResponsiveOptions[i];
|
|
5644
|
-
|
|
5645
5550
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
5646
5551
|
matchedResponsiveData = res;
|
|
5647
5552
|
}
|
|
5648
5553
|
}
|
|
5649
|
-
|
|
5650
5554
|
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
5651
5555
|
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
5652
5556
|
}
|
|
@@ -5654,12 +5558,10 @@ var Ripple = {
|
|
|
5654
5558
|
},
|
|
5655
5559
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
5656
5560
|
var _this = this;
|
|
5657
|
-
|
|
5658
5561
|
if (!this.documentResizeListener) {
|
|
5659
5562
|
this.documentResizeListener = function () {
|
|
5660
5563
|
_this.calculatePosition();
|
|
5661
5564
|
};
|
|
5662
|
-
|
|
5663
5565
|
window.addEventListener('resize', this.documentResizeListener);
|
|
5664
5566
|
}
|
|
5665
5567
|
},
|