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
|
@@ -1452,6 +1452,14 @@ module.exports = __webpack_require__("8e60") ? function (object, key, value) {
|
|
|
1452
1452
|
};
|
|
1453
1453
|
|
|
1454
1454
|
|
|
1455
|
+
/***/ }),
|
|
1456
|
+
|
|
1457
|
+
/***/ "366e":
|
|
1458
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1459
|
+
|
|
1460
|
+
module.exports = __webpack_require__("ccb9").f('toPrimitive');
|
|
1461
|
+
|
|
1462
|
+
|
|
1455
1463
|
/***/ }),
|
|
1456
1464
|
|
|
1457
1465
|
/***/ "36c3":
|
|
@@ -2132,13 +2140,6 @@ module.exports = function (exec, skipClosing) {
|
|
|
2132
2140
|
};
|
|
2133
2141
|
|
|
2134
2142
|
|
|
2135
|
-
/***/ }),
|
|
2136
|
-
|
|
2137
|
-
/***/ "5d58":
|
|
2138
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2139
|
-
|
|
2140
|
-
module.exports = __webpack_require__("d8d6");
|
|
2141
|
-
|
|
2142
2143
|
/***/ }),
|
|
2143
2144
|
|
|
2144
2145
|
/***/ "5dbc":
|
|
@@ -2391,13 +2392,6 @@ var meta = module.exports = {
|
|
|
2391
2392
|
};
|
|
2392
2393
|
|
|
2393
2394
|
|
|
2394
|
-
/***/ }),
|
|
2395
|
-
|
|
2396
|
-
/***/ "67bb":
|
|
2397
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2398
|
-
|
|
2399
|
-
module.exports = __webpack_require__("f921");
|
|
2400
|
-
|
|
2401
2395
|
/***/ }),
|
|
2402
2396
|
|
|
2403
2397
|
/***/ "6821":
|
|
@@ -2601,13 +2595,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
2601
2595
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
2602
2596
|
|
|
2603
2597
|
|
|
2604
|
-
/***/ }),
|
|
2605
|
-
|
|
2606
|
-
/***/ "774e":
|
|
2607
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2608
|
-
|
|
2609
|
-
module.exports = __webpack_require__("d2d5");
|
|
2610
|
-
|
|
2611
2598
|
/***/ }),
|
|
2612
2599
|
|
|
2613
2600
|
/***/ "77f1":
|
|
@@ -2801,13 +2788,6 @@ module.exports = function () { /* empty */ };
|
|
|
2801
2788
|
module.exports = {};
|
|
2802
2789
|
|
|
2803
2790
|
|
|
2804
|
-
/***/ }),
|
|
2805
|
-
|
|
2806
|
-
/***/ "85f2":
|
|
2807
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2808
|
-
|
|
2809
|
-
module.exports = __webpack_require__("454f");
|
|
2810
|
-
|
|
2811
2791
|
/***/ }),
|
|
2812
2792
|
|
|
2813
2793
|
/***/ "86cc":
|
|
@@ -3430,13 +3410,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
3430
3410
|
});
|
|
3431
3411
|
|
|
3432
3412
|
|
|
3433
|
-
/***/ }),
|
|
3434
|
-
|
|
3435
|
-
/***/ "a745":
|
|
3436
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3437
|
-
|
|
3438
|
-
module.exports = __webpack_require__("f410");
|
|
3439
|
-
|
|
3440
3413
|
/***/ }),
|
|
3441
3414
|
|
|
3442
3415
|
/***/ "aa77":
|
|
@@ -4277,11 +4250,10 @@ if (typeof window !== 'undefined') {
|
|
|
4277
4250
|
// Indicate to webpack that this file can be concatenated
|
|
4278
4251
|
/* harmony default export */ var setPublicPath = (null);
|
|
4279
4252
|
|
|
4280
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4253
|
+
// 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&
|
|
4281
4254
|
var render = function render() {
|
|
4282
4255
|
var _vm = this,
|
|
4283
|
-
|
|
4284
|
-
|
|
4256
|
+
_c = _vm._self._c;
|
|
4285
4257
|
return _c('div', {
|
|
4286
4258
|
staticClass: "p-galleria-thumbnail-wrapper"
|
|
4287
4259
|
}, [_c('div', {
|
|
@@ -4372,7 +4344,6 @@ var render = function render() {
|
|
|
4372
4344
|
class: _vm.navForwardIconClass
|
|
4373
4345
|
})]) : _vm._e()])]);
|
|
4374
4346
|
};
|
|
4375
|
-
|
|
4376
4347
|
var staticRenderFns = [];
|
|
4377
4348
|
|
|
4378
4349
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
@@ -4380,18 +4351,14 @@ var staticRenderFns = [];
|
|
|
4380
4351
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.sort.js
|
|
4381
4352
|
var es6_array_sort = __webpack_require__("55dd");
|
|
4382
4353
|
|
|
4383
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4384
|
-
var is_array = __webpack_require__("
|
|
4354
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/is-array.js
|
|
4355
|
+
var is_array = __webpack_require__("f410");
|
|
4385
4356
|
var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
4386
4357
|
|
|
4387
4358
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4388
4359
|
function _arrayLikeToArray(arr, len) {
|
|
4389
4360
|
if (len == null || len > arr.length) len = arr.length;
|
|
4390
|
-
|
|
4391
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4392
|
-
arr2[i] = arr[i];
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4361
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4395
4362
|
return arr2;
|
|
4396
4363
|
}
|
|
4397
4364
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4400,16 +4367,16 @@ function _arrayLikeToArray(arr, len) {
|
|
|
4400
4367
|
function _arrayWithoutHoles(arr) {
|
|
4401
4368
|
if (is_array_default()(arr)) return _arrayLikeToArray(arr);
|
|
4402
4369
|
}
|
|
4403
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4404
|
-
var symbol = __webpack_require__("
|
|
4370
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/index.js
|
|
4371
|
+
var symbol = __webpack_require__("f921");
|
|
4405
4372
|
var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
|
|
4406
4373
|
|
|
4407
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4408
|
-
var iterator = __webpack_require__("
|
|
4374
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/iterator.js
|
|
4375
|
+
var iterator = __webpack_require__("d8d6");
|
|
4409
4376
|
var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
4410
4377
|
|
|
4411
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4412
|
-
var from = __webpack_require__("
|
|
4378
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/from.js
|
|
4379
|
+
var from = __webpack_require__("d2d5");
|
|
4413
4380
|
var from_default = /*#__PURE__*/__webpack_require__.n(from);
|
|
4414
4381
|
|
|
4415
4382
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArray.js
|
|
@@ -4469,15 +4436,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4469
4436
|
},
|
|
4470
4437
|
render: function render(createElement, context) {
|
|
4471
4438
|
var _context$props = context.props,
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4439
|
+
item = _context$props.item,
|
|
4440
|
+
index = _context$props.index,
|
|
4441
|
+
templates = _context$props.templates,
|
|
4442
|
+
type = _context$props.type;
|
|
4476
4443
|
var template = templates && templates[type];
|
|
4477
|
-
|
|
4478
4444
|
if (template) {
|
|
4479
4445
|
var content;
|
|
4480
|
-
|
|
4481
4446
|
switch (type) {
|
|
4482
4447
|
case 'item':
|
|
4483
4448
|
case 'caption':
|
|
@@ -4486,21 +4451,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
4486
4451
|
item: item
|
|
4487
4452
|
});
|
|
4488
4453
|
break;
|
|
4489
|
-
|
|
4490
4454
|
case 'indicator':
|
|
4491
4455
|
content = template({
|
|
4492
4456
|
index: index
|
|
4493
4457
|
});
|
|
4494
4458
|
break;
|
|
4495
|
-
|
|
4496
4459
|
default:
|
|
4497
4460
|
content = template({});
|
|
4498
4461
|
break;
|
|
4499
4462
|
}
|
|
4500
|
-
|
|
4501
4463
|
return content ? [content] : null;
|
|
4502
4464
|
}
|
|
4503
|
-
|
|
4504
4465
|
return null;
|
|
4505
4466
|
}
|
|
4506
4467
|
});
|
|
@@ -4660,10 +4621,46 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4660
4621
|
throw new TypeError("Cannot call a class as a function");
|
|
4661
4622
|
}
|
|
4662
4623
|
}
|
|
4663
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4664
|
-
var define_property = __webpack_require__("
|
|
4624
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/object/define-property.js
|
|
4625
|
+
var define_property = __webpack_require__("454f");
|
|
4665
4626
|
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
4666
4627
|
|
|
4628
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
4629
|
+
|
|
4630
|
+
|
|
4631
|
+
function _typeof(obj) {
|
|
4632
|
+
"@babel/helpers - typeof";
|
|
4633
|
+
|
|
4634
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
4635
|
+
return typeof obj;
|
|
4636
|
+
} : function (obj) {
|
|
4637
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
4638
|
+
}, _typeof(obj);
|
|
4639
|
+
}
|
|
4640
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/to-primitive.js
|
|
4641
|
+
var to_primitive = __webpack_require__("366e");
|
|
4642
|
+
var to_primitive_default = /*#__PURE__*/__webpack_require__.n(to_primitive);
|
|
4643
|
+
|
|
4644
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPrimitive.js
|
|
4645
|
+
|
|
4646
|
+
|
|
4647
|
+
function _toPrimitive(input, hint) {
|
|
4648
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
4649
|
+
var prim = input[to_primitive_default.a];
|
|
4650
|
+
if (prim !== undefined) {
|
|
4651
|
+
var res = prim.call(input, hint || "default");
|
|
4652
|
+
if (_typeof(res) !== "object") return res;
|
|
4653
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4654
|
+
}
|
|
4655
|
+
return (hint === "string" ? String : Number)(input);
|
|
4656
|
+
}
|
|
4657
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPropertyKey.js
|
|
4658
|
+
|
|
4659
|
+
|
|
4660
|
+
function _toPropertyKey(arg) {
|
|
4661
|
+
var key = _toPrimitive(arg, "string");
|
|
4662
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
4663
|
+
}
|
|
4667
4664
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4668
4665
|
|
|
4669
4666
|
|
|
@@ -4673,19 +4670,15 @@ function _defineProperties(target, props) {
|
|
|
4673
4670
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4674
4671
|
descriptor.configurable = true;
|
|
4675
4672
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4676
|
-
|
|
4677
|
-
define_property_default()(target, descriptor.key, descriptor);
|
|
4673
|
+
define_property_default()(target, _toPropertyKey(descriptor.key), descriptor);
|
|
4678
4674
|
}
|
|
4679
4675
|
}
|
|
4680
|
-
|
|
4681
4676
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4682
4677
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4683
4678
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4684
|
-
|
|
4685
4679
|
define_property_default()(Constructor, "prototype", {
|
|
4686
4680
|
writable: false
|
|
4687
4681
|
});
|
|
4688
|
-
|
|
4689
4682
|
return Constructor;
|
|
4690
4683
|
}
|
|
4691
4684
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4701,18 +4694,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4701
4694
|
|
|
4702
4695
|
|
|
4703
4696
|
|
|
4704
|
-
|
|
4705
4697
|
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; } } }; }
|
|
4706
|
-
|
|
4707
4698
|
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); }
|
|
4708
|
-
|
|
4709
|
-
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; }
|
|
4710
|
-
|
|
4699
|
+
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; }
|
|
4711
4700
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4712
4701
|
function DomHandler() {
|
|
4713
4702
|
_classCallCheck(this, DomHandler);
|
|
4714
4703
|
}
|
|
4715
|
-
|
|
4716
4704
|
_createClass(DomHandler, null, [{
|
|
4717
4705
|
key: "innerWidth",
|
|
4718
4706
|
value: function innerWidth(el) {
|
|
@@ -4746,12 +4734,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4746
4734
|
value: function getOuterWidth(el, margin) {
|
|
4747
4735
|
if (el) {
|
|
4748
4736
|
var width = el.offsetWidth;
|
|
4749
|
-
|
|
4750
4737
|
if (margin) {
|
|
4751
4738
|
var style = getComputedStyle(el);
|
|
4752
4739
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4753
4740
|
}
|
|
4754
|
-
|
|
4755
4741
|
return width;
|
|
4756
4742
|
} else {
|
|
4757
4743
|
return 0;
|
|
@@ -4762,12 +4748,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4762
4748
|
value: function getOuterHeight(el, margin) {
|
|
4763
4749
|
if (el) {
|
|
4764
4750
|
var height = el.offsetHeight;
|
|
4765
|
-
|
|
4766
4751
|
if (margin) {
|
|
4767
4752
|
var style = getComputedStyle(el);
|
|
4768
4753
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4769
4754
|
}
|
|
4770
|
-
|
|
4771
4755
|
return height;
|
|
4772
4756
|
} else {
|
|
4773
4757
|
return 0;
|
|
@@ -4778,12 +4762,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4778
4762
|
value: function getClientHeight(el, margin) {
|
|
4779
4763
|
if (el) {
|
|
4780
4764
|
var height = el.clientHeight;
|
|
4781
|
-
|
|
4782
4765
|
if (margin) {
|
|
4783
4766
|
var style = getComputedStyle(el);
|
|
4784
4767
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4785
4768
|
}
|
|
4786
|
-
|
|
4787
4769
|
return height;
|
|
4788
4770
|
} else {
|
|
4789
4771
|
return 0;
|
|
@@ -4793,11 +4775,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4793
4775
|
key: "getViewport",
|
|
4794
4776
|
value: function getViewport() {
|
|
4795
4777
|
var win = window,
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4778
|
+
d = document,
|
|
4779
|
+
e = d.documentElement,
|
|
4780
|
+
g = d.getElementsByTagName('body')[0],
|
|
4781
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4782
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4801
4783
|
return {
|
|
4802
4784
|
width: w,
|
|
4803
4785
|
height: h
|
|
@@ -4828,12 +4810,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4828
4810
|
value: function index(element) {
|
|
4829
4811
|
var children = element.parentNode.childNodes;
|
|
4830
4812
|
var num = 0;
|
|
4831
|
-
|
|
4832
4813
|
for (var i = 0; i < children.length; i++) {
|
|
4833
4814
|
if (children[i] === element) return num;
|
|
4834
4815
|
if (children[i].nodeType === 1) num++;
|
|
4835
4816
|
}
|
|
4836
|
-
|
|
4837
4817
|
return -1;
|
|
4838
4818
|
}
|
|
4839
4819
|
}, {
|
|
@@ -4841,13 +4821,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4841
4821
|
value: function addMultipleClasses(element, className) {
|
|
4842
4822
|
if (element.classList) {
|
|
4843
4823
|
var styles = className.split(' ');
|
|
4844
|
-
|
|
4845
4824
|
for (var i = 0; i < styles.length; i++) {
|
|
4846
4825
|
element.classList.add(styles[i]);
|
|
4847
4826
|
}
|
|
4848
4827
|
} else {
|
|
4849
4828
|
var _styles = className.split(' ');
|
|
4850
|
-
|
|
4851
4829
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4852
4830
|
element.className += ' ' + _styles[_i];
|
|
4853
4831
|
}
|
|
@@ -4869,7 +4847,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4869
4847
|
if (element) {
|
|
4870
4848
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4871
4849
|
}
|
|
4872
|
-
|
|
4873
4850
|
return false;
|
|
4874
4851
|
}
|
|
4875
4852
|
}, {
|
|
@@ -4914,11 +4891,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4914
4891
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4915
4892
|
var viewport = this.getViewport();
|
|
4916
4893
|
var top, left;
|
|
4917
|
-
|
|
4918
4894
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4919
4895
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4920
4896
|
element.style.transformOrigin = 'bottom';
|
|
4921
|
-
|
|
4922
4897
|
if (top < 0) {
|
|
4923
4898
|
top = windowScrollTop;
|
|
4924
4899
|
}
|
|
@@ -4926,7 +4901,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4926
4901
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4927
4902
|
element.style.transformOrigin = 'top';
|
|
4928
4903
|
}
|
|
4929
|
-
|
|
4930
4904
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4931
4905
|
element.style.top = top + 'px';
|
|
4932
4906
|
element.style.left = left + 'px';
|
|
@@ -4942,11 +4916,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4942
4916
|
var targetOffset = target.getBoundingClientRect();
|
|
4943
4917
|
var viewport = this.getViewport();
|
|
4944
4918
|
var top, left;
|
|
4945
|
-
|
|
4946
4919
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4947
4920
|
top = -1 * elementDimensions.height;
|
|
4948
4921
|
element.style.transformOrigin = 'bottom';
|
|
4949
|
-
|
|
4950
4922
|
if (targetOffset.top + top < 0) {
|
|
4951
4923
|
top = -1 * targetOffset.top;
|
|
4952
4924
|
}
|
|
@@ -4954,7 +4926,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4954
4926
|
top = targetHeight;
|
|
4955
4927
|
element.style.transformOrigin = 'top';
|
|
4956
4928
|
}
|
|
4957
|
-
|
|
4958
4929
|
if (elementDimensions.width > viewport.width) {
|
|
4959
4930
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4960
4931
|
left = targetOffset.left * -1;
|
|
@@ -4965,7 +4936,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4965
4936
|
// element fits on screen (align with target)
|
|
4966
4937
|
left = 0;
|
|
4967
4938
|
}
|
|
4968
|
-
|
|
4969
4939
|
element.style.top = top + 'px';
|
|
4970
4940
|
element.style.left = left + 'px';
|
|
4971
4941
|
}
|
|
@@ -4979,35 +4949,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4979
4949
|
key: "getScrollableParents",
|
|
4980
4950
|
value: function getScrollableParents(element) {
|
|
4981
4951
|
var scrollableParents = [];
|
|
4982
|
-
|
|
4983
4952
|
if (element) {
|
|
4984
4953
|
var parents = this.getParents(element);
|
|
4985
4954
|
var overflowRegex = /(auto|scroll)/;
|
|
4986
|
-
|
|
4987
4955
|
var overflowCheck = function overflowCheck(node) {
|
|
4988
4956
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4989
4957
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4990
4958
|
};
|
|
4991
|
-
|
|
4992
4959
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4993
|
-
|
|
4994
|
-
|
|
4960
|
+
_step;
|
|
4995
4961
|
try {
|
|
4996
4962
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4997
4963
|
var parent = _step.value;
|
|
4998
4964
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4999
|
-
|
|
5000
4965
|
if (scrollSelectors) {
|
|
5001
4966
|
var selectors = scrollSelectors.split(',');
|
|
5002
|
-
|
|
5003
4967
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
5004
|
-
|
|
5005
|
-
|
|
4968
|
+
_step2;
|
|
5006
4969
|
try {
|
|
5007
4970
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5008
4971
|
var selector = _step2.value;
|
|
5009
4972
|
var el = this.findSingle(parent, selector);
|
|
5010
|
-
|
|
5011
4973
|
if (el && overflowCheck(el)) {
|
|
5012
4974
|
scrollableParents.push(el);
|
|
5013
4975
|
}
|
|
@@ -5025,7 +4987,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5025
4987
|
_iterator.f();
|
|
5026
4988
|
}
|
|
5027
4989
|
}
|
|
5028
|
-
|
|
5029
4990
|
return scrollableParents;
|
|
5030
4991
|
}
|
|
5031
4992
|
}, {
|
|
@@ -5066,34 +5027,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5066
5027
|
element.style.opacity = 0;
|
|
5067
5028
|
var last = +new Date();
|
|
5068
5029
|
var opacity = 0;
|
|
5069
|
-
|
|
5070
5030
|
var tick = function tick() {
|
|
5071
5031
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5072
5032
|
element.style.opacity = opacity;
|
|
5073
5033
|
last = +new Date();
|
|
5074
|
-
|
|
5075
5034
|
if (+opacity < 1) {
|
|
5076
5035
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5077
5036
|
}
|
|
5078
5037
|
};
|
|
5079
|
-
|
|
5080
5038
|
tick();
|
|
5081
5039
|
}
|
|
5082
5040
|
}, {
|
|
5083
5041
|
key: "fadeOut",
|
|
5084
5042
|
value: function fadeOut(element, ms) {
|
|
5085
5043
|
var opacity = 1,
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5044
|
+
interval = 50,
|
|
5045
|
+
duration = ms,
|
|
5046
|
+
gap = interval / duration;
|
|
5089
5047
|
var fading = setInterval(function () {
|
|
5090
5048
|
opacity -= gap;
|
|
5091
|
-
|
|
5092
5049
|
if (opacity <= 0) {
|
|
5093
5050
|
opacity = 0;
|
|
5094
5051
|
clearInterval(fading);
|
|
5095
5052
|
}
|
|
5096
|
-
|
|
5097
5053
|
element.style.opacity = opacity;
|
|
5098
5054
|
}, interval);
|
|
5099
5055
|
}
|
|
@@ -5120,7 +5076,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5120
5076
|
var scroll = container.scrollTop;
|
|
5121
5077
|
var elementHeight = container.clientHeight;
|
|
5122
5078
|
var itemHeight = this.getOuterHeight(item);
|
|
5123
|
-
|
|
5124
5079
|
if (offset < 0) {
|
|
5125
5080
|
container.scrollTop = scroll + offset;
|
|
5126
5081
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5139,7 +5094,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5139
5094
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5140
5095
|
try {
|
|
5141
5096
|
document['selection'].empty();
|
|
5142
|
-
} catch (error) {
|
|
5097
|
+
} catch (error) {
|
|
5098
|
+
//ignore IE bug
|
|
5143
5099
|
}
|
|
5144
5100
|
}
|
|
5145
5101
|
}
|
|
@@ -5161,19 +5117,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5161
5117
|
if (!this.browser) {
|
|
5162
5118
|
var matched = this.resolveUserAgent();
|
|
5163
5119
|
this.browser = {};
|
|
5164
|
-
|
|
5165
5120
|
if (matched.browser) {
|
|
5166
5121
|
this.browser[matched.browser] = true;
|
|
5167
5122
|
this.browser['version'] = matched.version;
|
|
5168
5123
|
}
|
|
5169
|
-
|
|
5170
5124
|
if (this.browser['chrome']) {
|
|
5171
5125
|
this.browser['webkit'] = true;
|
|
5172
5126
|
} else if (this.browser['webkit']) {
|
|
5173
5127
|
this.browser['safari'] = true;
|
|
5174
5128
|
}
|
|
5175
5129
|
}
|
|
5176
|
-
|
|
5177
5130
|
return this.browser;
|
|
5178
5131
|
}
|
|
5179
5132
|
}, {
|
|
@@ -5201,10 +5154,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5201
5154
|
value: function getFocusableElements(element) {
|
|
5202
5155
|
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])");
|
|
5203
5156
|
var visibleFocusableElements = [];
|
|
5204
|
-
|
|
5205
5157
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5206
|
-
|
|
5207
|
-
|
|
5158
|
+
_step3;
|
|
5208
5159
|
try {
|
|
5209
5160
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5210
5161
|
var focusableElement = _step3.value;
|
|
@@ -5215,7 +5166,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5215
5166
|
} finally {
|
|
5216
5167
|
_iterator3.f();
|
|
5217
5168
|
}
|
|
5218
|
-
|
|
5219
5169
|
return visibleFocusableElements;
|
|
5220
5170
|
}
|
|
5221
5171
|
}, {
|
|
@@ -5258,55 +5208,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5258
5208
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5259
5209
|
}
|
|
5260
5210
|
}]);
|
|
5261
|
-
|
|
5262
5211
|
return DomHandler;
|
|
5263
5212
|
}();
|
|
5264
5213
|
|
|
5265
|
-
|
|
5266
5214
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5267
5215
|
|
|
5268
|
-
|
|
5269
5216
|
function bindEvents(el) {
|
|
5270
5217
|
el.addEventListener('mousedown', onMouseDown);
|
|
5271
5218
|
}
|
|
5272
|
-
|
|
5273
5219
|
function unbindEvents(el) {
|
|
5274
5220
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5275
5221
|
}
|
|
5276
|
-
|
|
5277
5222
|
function create(el) {
|
|
5278
5223
|
var ink = document.createElement('span');
|
|
5279
5224
|
ink.className = 'p-ink';
|
|
5280
5225
|
el.appendChild(ink);
|
|
5281
5226
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5282
5227
|
}
|
|
5283
|
-
|
|
5284
5228
|
function remove(el) {
|
|
5285
5229
|
var ink = getInk(el);
|
|
5286
|
-
|
|
5287
5230
|
if (ink) {
|
|
5288
5231
|
unbindEvents(el);
|
|
5289
5232
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5290
5233
|
ink.remove();
|
|
5291
5234
|
}
|
|
5292
5235
|
}
|
|
5293
|
-
|
|
5294
5236
|
function onMouseDown(event) {
|
|
5295
5237
|
var target = event.currentTarget;
|
|
5296
5238
|
var ink = getInk(target);
|
|
5297
|
-
|
|
5298
5239
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5299
5240
|
return;
|
|
5300
5241
|
}
|
|
5301
|
-
|
|
5302
5242
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5303
|
-
|
|
5304
5243
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5305
5244
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5306
5245
|
ink.style.height = d + 'px';
|
|
5307
5246
|
ink.style.width = d + 'px';
|
|
5308
5247
|
}
|
|
5309
|
-
|
|
5310
5248
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5311
5249
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5312
5250
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5314,21 +5252,17 @@ function onMouseDown(event) {
|
|
|
5314
5252
|
ink.style.left = x + 'px';
|
|
5315
5253
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5316
5254
|
}
|
|
5317
|
-
|
|
5318
5255
|
function onAnimationEnd(event) {
|
|
5319
5256
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5320
5257
|
}
|
|
5321
|
-
|
|
5322
5258
|
function getInk(el) {
|
|
5323
5259
|
for (var i = 0; i < el.children.length; i++) {
|
|
5324
5260
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5325
5261
|
return el.children[i];
|
|
5326
5262
|
}
|
|
5327
5263
|
}
|
|
5328
|
-
|
|
5329
5264
|
return null;
|
|
5330
5265
|
}
|
|
5331
|
-
|
|
5332
5266
|
var Ripple = {
|
|
5333
5267
|
inserted: function inserted(el, binding, vnode) {
|
|
5334
5268
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5421,14 +5355,12 @@ var Ripple = {
|
|
|
5421
5355
|
mounted: function mounted() {
|
|
5422
5356
|
this.createStyle();
|
|
5423
5357
|
this.calculatePosition();
|
|
5424
|
-
|
|
5425
5358
|
if (this.responsiveOptions) {
|
|
5426
5359
|
this.bindDocumentListeners();
|
|
5427
5360
|
}
|
|
5428
5361
|
},
|
|
5429
5362
|
updated: function updated() {
|
|
5430
5363
|
var totalShiftedItems = this.totalShiftedItems;
|
|
5431
|
-
|
|
5432
5364
|
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5433
5365
|
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
5434
5366
|
totalShiftedItems = 0;
|
|
@@ -5439,18 +5371,14 @@ var Ripple = {
|
|
|
5439
5371
|
} else {
|
|
5440
5372
|
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
5441
5373
|
}
|
|
5442
|
-
|
|
5443
5374
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
5444
5375
|
this.totalShiftedItems = totalShiftedItems;
|
|
5445
5376
|
}
|
|
5446
|
-
|
|
5447
5377
|
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)");
|
|
5448
|
-
|
|
5449
5378
|
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
5450
5379
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5451
5380
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5452
5381
|
}
|
|
5453
|
-
|
|
5454
5382
|
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
5455
5383
|
this.d_oldNumVisible = this.d_numVisible;
|
|
5456
5384
|
}
|
|
@@ -5459,7 +5387,6 @@ var Ripple = {
|
|
|
5459
5387
|
if (this.responsiveOptions) {
|
|
5460
5388
|
this.unbindDocumentListeners();
|
|
5461
5389
|
}
|
|
5462
|
-
|
|
5463
5390
|
if (this.thumbnailsStyle) {
|
|
5464
5391
|
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
5465
5392
|
}
|
|
@@ -5467,13 +5394,11 @@ var Ripple = {
|
|
|
5467
5394
|
methods: {
|
|
5468
5395
|
step: function step(dir) {
|
|
5469
5396
|
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
5470
|
-
|
|
5471
5397
|
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
5472
5398
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5473
5399
|
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
5474
5400
|
totalShiftedItems = 0;
|
|
5475
5401
|
}
|
|
5476
|
-
|
|
5477
5402
|
if (this.circular) {
|
|
5478
5403
|
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
5479
5404
|
totalShiftedItems = 0;
|
|
@@ -5481,13 +5406,11 @@ var Ripple = {
|
|
|
5481
5406
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
5482
5407
|
}
|
|
5483
5408
|
}
|
|
5484
|
-
|
|
5485
5409
|
if (this.$refs.itemsContainer) {
|
|
5486
5410
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
5487
5411
|
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)");
|
|
5488
5412
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
5489
5413
|
}
|
|
5490
|
-
|
|
5491
5414
|
this.totalShiftedItems = totalShiftedItems;
|
|
5492
5415
|
},
|
|
5493
5416
|
stopSlideShow: function stopSlideShow() {
|
|
@@ -5503,14 +5426,11 @@ var Ripple = {
|
|
|
5503
5426
|
this.stopSlideShow();
|
|
5504
5427
|
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
5505
5428
|
var diff = prevItemIndex + this.totalShiftedItems;
|
|
5506
|
-
|
|
5507
5429
|
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
5508
5430
|
this.step(1);
|
|
5509
5431
|
}
|
|
5510
|
-
|
|
5511
5432
|
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
5512
5433
|
this.$emit('update:activeIndex', activeIndex);
|
|
5513
|
-
|
|
5514
5434
|
if (e.cancelable) {
|
|
5515
5435
|
e.preventDefault();
|
|
5516
5436
|
}
|
|
@@ -5518,14 +5438,11 @@ var Ripple = {
|
|
|
5518
5438
|
navForward: function navForward(e) {
|
|
5519
5439
|
this.stopSlideShow();
|
|
5520
5440
|
var nextItemIndex = this.d_activeIndex + 1;
|
|
5521
|
-
|
|
5522
5441
|
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
5523
5442
|
this.step(-1);
|
|
5524
5443
|
}
|
|
5525
|
-
|
|
5526
5444
|
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
5527
5445
|
this.$emit('update:activeIndex', activeIndex);
|
|
5528
|
-
|
|
5529
5446
|
if (e.cancelable) {
|
|
5530
5447
|
e.preventDefault();
|
|
5531
5448
|
}
|
|
@@ -5533,25 +5450,20 @@ var Ripple = {
|
|
|
5533
5450
|
onItemClick: function onItemClick(index) {
|
|
5534
5451
|
this.stopSlideShow();
|
|
5535
5452
|
var selectedItemIndex = index;
|
|
5536
|
-
|
|
5537
5453
|
if (selectedItemIndex !== this.d_activeIndex) {
|
|
5538
5454
|
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
5539
5455
|
var dir = 0;
|
|
5540
|
-
|
|
5541
5456
|
if (selectedItemIndex < this.d_activeIndex) {
|
|
5542
5457
|
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
5543
|
-
|
|
5544
5458
|
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
5545
5459
|
this.step(dir);
|
|
5546
5460
|
}
|
|
5547
5461
|
} else {
|
|
5548
5462
|
dir = this.getMedianItemIndex() - diff;
|
|
5549
|
-
|
|
5550
5463
|
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
5551
5464
|
this.step(dir);
|
|
5552
5465
|
}
|
|
5553
5466
|
}
|
|
5554
|
-
|
|
5555
5467
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
5556
5468
|
}
|
|
5557
5469
|
},
|
|
@@ -5575,7 +5487,6 @@ var Ripple = {
|
|
|
5575
5487
|
},
|
|
5576
5488
|
onTouchEnd: function onTouchEnd(e) {
|
|
5577
5489
|
var touchobj = e.changedTouches[0];
|
|
5578
|
-
|
|
5579
5490
|
if (this.isVertical) {
|
|
5580
5491
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
5581
5492
|
} else {
|
|
@@ -5600,9 +5511,7 @@ var Ripple = {
|
|
|
5600
5511
|
this.thumbnailsStyle.type = 'text/css';
|
|
5601
5512
|
document.body.appendChild(this.thumbnailsStyle);
|
|
5602
5513
|
}
|
|
5603
|
-
|
|
5604
5514
|
var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
5605
|
-
|
|
5606
5515
|
if (this.responsiveOptions) {
|
|
5607
5516
|
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
5608
5517
|
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
@@ -5614,13 +5523,11 @@ var Ripple = {
|
|
|
5614
5523
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
5615
5524
|
return -1 * result;
|
|
5616
5525
|
});
|
|
5617
|
-
|
|
5618
5526
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5619
5527
|
var res = this.sortedResponsiveOptions[i];
|
|
5620
5528
|
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 ");
|
|
5621
5529
|
}
|
|
5622
5530
|
}
|
|
5623
|
-
|
|
5624
5531
|
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
5625
5532
|
},
|
|
5626
5533
|
calculatePosition: function calculatePosition() {
|
|
@@ -5629,15 +5536,12 @@ var Ripple = {
|
|
|
5629
5536
|
var matchedResponsiveData = {
|
|
5630
5537
|
numVisible: this.numVisible
|
|
5631
5538
|
};
|
|
5632
|
-
|
|
5633
5539
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
5634
5540
|
var res = this.sortedResponsiveOptions[i];
|
|
5635
|
-
|
|
5636
5541
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
5637
5542
|
matchedResponsiveData = res;
|
|
5638
5543
|
}
|
|
5639
5544
|
}
|
|
5640
|
-
|
|
5641
5545
|
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
5642
5546
|
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
5643
5547
|
}
|
|
@@ -5645,12 +5549,10 @@ var Ripple = {
|
|
|
5645
5549
|
},
|
|
5646
5550
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
5647
5551
|
var _this = this;
|
|
5648
|
-
|
|
5649
5552
|
if (!this.documentResizeListener) {
|
|
5650
5553
|
this.documentResizeListener = function () {
|
|
5651
5554
|
_this.calculatePosition();
|
|
5652
5555
|
};
|
|
5653
|
-
|
|
5654
5556
|
window.addEventListener('resize', this.documentResizeListener);
|
|
5655
5557
|
}
|
|
5656
5558
|
},
|