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