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
|
@@ -2905,10 +2905,103 @@ if (typeof window !== 'undefined') {
|
|
|
2905
2905
|
// Indicate to webpack that this file can be concatenated
|
|
2906
2906
|
/* harmony default export */ var setPublicPath = (null);
|
|
2907
2907
|
|
|
2908
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2909
|
-
var render = function () {
|
|
2910
|
-
var
|
|
2911
|
-
|
|
2908
|
+
// 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&
|
|
2909
|
+
var render = function render() {
|
|
2910
|
+
var _vm = this,
|
|
2911
|
+
_c = _vm._self._c;
|
|
2912
|
+
return _c('div', {
|
|
2913
|
+
staticClass: "p-galleria-item-wrapper"
|
|
2914
|
+
}, [_c('div', {
|
|
2915
|
+
staticClass: "p-galleria-item-container"
|
|
2916
|
+
}, [_vm.showItemNavigators ? _c('button', {
|
|
2917
|
+
directives: [{
|
|
2918
|
+
name: "ripple",
|
|
2919
|
+
rawName: "v-ripple"
|
|
2920
|
+
}],
|
|
2921
|
+
class: _vm.navBackwardClass,
|
|
2922
|
+
attrs: {
|
|
2923
|
+
"type": "button",
|
|
2924
|
+
"disabled": _vm.isNavBackwardDisabled()
|
|
2925
|
+
},
|
|
2926
|
+
on: {
|
|
2927
|
+
"click": function click($event) {
|
|
2928
|
+
return _vm.navBackward($event);
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
}, [_c('span', {
|
|
2932
|
+
staticClass: "p-galleria-item-prev-icon pi pi-chevron-left"
|
|
2933
|
+
})]) : _vm._e(), _c('div', {
|
|
2934
|
+
staticClass: "p-galleria-item"
|
|
2935
|
+
}, [_c('GalleriaItemSlot', {
|
|
2936
|
+
attrs: {
|
|
2937
|
+
"type": "item",
|
|
2938
|
+
"item": _vm.activeItem,
|
|
2939
|
+
"templates": _vm.templates
|
|
2940
|
+
}
|
|
2941
|
+
})], 1), _vm.showItemNavigators ? _c('button', {
|
|
2942
|
+
directives: [{
|
|
2943
|
+
name: "ripple",
|
|
2944
|
+
rawName: "v-ripple"
|
|
2945
|
+
}],
|
|
2946
|
+
class: _vm.navForwardClass,
|
|
2947
|
+
attrs: {
|
|
2948
|
+
"type": "button",
|
|
2949
|
+
"disabled": _vm.isNavForwardDisabled()
|
|
2950
|
+
},
|
|
2951
|
+
on: {
|
|
2952
|
+
"click": function click($event) {
|
|
2953
|
+
return _vm.navForward($event);
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
}, [_c('span', {
|
|
2957
|
+
staticClass: "p-galleria-item-next-icon pi pi-chevron-right"
|
|
2958
|
+
})]) : _vm._e(), _vm.templates['caption'] ? _c('div', {
|
|
2959
|
+
staticClass: "p-galleria-caption"
|
|
2960
|
+
}, [_c('GalleriaItemSlot', {
|
|
2961
|
+
attrs: {
|
|
2962
|
+
"type": "caption",
|
|
2963
|
+
"item": _vm.activeItem,
|
|
2964
|
+
"templates": _vm.templates
|
|
2965
|
+
}
|
|
2966
|
+
})], 1) : _vm._e()]), _vm.showIndicators ? _c('ul', {
|
|
2967
|
+
staticClass: "p-galleria-indicators p-reset"
|
|
2968
|
+
}, _vm._l(_vm.value, function (item, index) {
|
|
2969
|
+
return _c('li', {
|
|
2970
|
+
key: "p-galleria-indicator-".concat(index),
|
|
2971
|
+
class: ['p-galleria-indicator', {
|
|
2972
|
+
'p-highlight': _vm.isIndicatorItemActive(index)
|
|
2973
|
+
}],
|
|
2974
|
+
attrs: {
|
|
2975
|
+
"tabindex": "0"
|
|
2976
|
+
},
|
|
2977
|
+
on: {
|
|
2978
|
+
"click": function click($event) {
|
|
2979
|
+
return _vm.onIndicatorClick(index);
|
|
2980
|
+
},
|
|
2981
|
+
"mouseenter": function mouseenter($event) {
|
|
2982
|
+
return _vm.onIndicatorMouseEnter(index);
|
|
2983
|
+
},
|
|
2984
|
+
"keydown": function keydown($event) {
|
|
2985
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
2986
|
+
return _vm.onIndicatorKeyDown(index);
|
|
2987
|
+
}
|
|
2988
|
+
}
|
|
2989
|
+
}, [!_vm.templates['indicator'] ? _c('button', {
|
|
2990
|
+
staticClass: "p-link",
|
|
2991
|
+
attrs: {
|
|
2992
|
+
"type": "button",
|
|
2993
|
+
"tabindex": "-1"
|
|
2994
|
+
}
|
|
2995
|
+
}) : _vm._e(), _c('GalleriaItemSlot', {
|
|
2996
|
+
attrs: {
|
|
2997
|
+
"type": "indicator",
|
|
2998
|
+
"index": index,
|
|
2999
|
+
"templates": _vm.templates
|
|
3000
|
+
}
|
|
3001
|
+
})], 1);
|
|
3002
|
+
}), 0) : _vm._e()]);
|
|
3003
|
+
};
|
|
3004
|
+
var staticRenderFns = [];
|
|
2912
3005
|
|
|
2913
3006
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
2914
3007
|
|
|
@@ -2939,15 +3032,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
2939
3032
|
},
|
|
2940
3033
|
render: function render(createElement, context) {
|
|
2941
3034
|
var _context$props = context.props,
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
3035
|
+
item = _context$props.item,
|
|
3036
|
+
index = _context$props.index,
|
|
3037
|
+
templates = _context$props.templates,
|
|
3038
|
+
type = _context$props.type;
|
|
2946
3039
|
var template = templates && templates[type];
|
|
2947
|
-
|
|
2948
3040
|
if (template) {
|
|
2949
3041
|
var content;
|
|
2950
|
-
|
|
2951
3042
|
switch (type) {
|
|
2952
3043
|
case 'item':
|
|
2953
3044
|
case 'caption':
|
|
@@ -2956,21 +3047,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
2956
3047
|
item: item
|
|
2957
3048
|
});
|
|
2958
3049
|
break;
|
|
2959
|
-
|
|
2960
3050
|
case 'indicator':
|
|
2961
3051
|
content = template({
|
|
2962
3052
|
index: index
|
|
2963
3053
|
});
|
|
2964
3054
|
break;
|
|
2965
|
-
|
|
2966
3055
|
default:
|
|
2967
3056
|
content = template({});
|
|
2968
3057
|
break;
|
|
2969
3058
|
}
|
|
2970
|
-
|
|
2971
3059
|
return content ? [content] : null;
|
|
2972
3060
|
}
|
|
2973
|
-
|
|
2974
3061
|
return null;
|
|
2975
3062
|
}
|
|
2976
3063
|
});
|
|
@@ -2983,20 +3070,19 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
2983
3070
|
// This module is a runtime utility for cleaner component module output and will
|
|
2984
3071
|
// be included in the final webpack user bundle.
|
|
2985
3072
|
|
|
2986
|
-
function normalizeComponent
|
|
3073
|
+
function normalizeComponent(
|
|
2987
3074
|
scriptExports,
|
|
2988
3075
|
render,
|
|
2989
3076
|
staticRenderFns,
|
|
2990
3077
|
functionalTemplate,
|
|
2991
3078
|
injectStyles,
|
|
2992
3079
|
scopeId,
|
|
2993
|
-
moduleIdentifier
|
|
3080
|
+
moduleIdentifier /* server only */,
|
|
2994
3081
|
shadowMode /* vue-cli only */
|
|
2995
3082
|
) {
|
|
2996
3083
|
// Vue.extend constructor export interop
|
|
2997
|
-
var options =
|
|
2998
|
-
? scriptExports.options
|
|
2999
|
-
: scriptExports
|
|
3084
|
+
var options =
|
|
3085
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3000
3086
|
|
|
3001
3087
|
// render functions
|
|
3002
3088
|
if (render) {
|
|
@@ -3016,7 +3102,8 @@ function normalizeComponent (
|
|
|
3016
3102
|
}
|
|
3017
3103
|
|
|
3018
3104
|
var hook
|
|
3019
|
-
if (moduleIdentifier) {
|
|
3105
|
+
if (moduleIdentifier) {
|
|
3106
|
+
// server build
|
|
3020
3107
|
hook = function (context) {
|
|
3021
3108
|
// 2.3 injection
|
|
3022
3109
|
context =
|
|
@@ -3042,11 +3129,11 @@ function normalizeComponent (
|
|
|
3042
3129
|
} else if (injectStyles) {
|
|
3043
3130
|
hook = shadowMode
|
|
3044
3131
|
? function () {
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3132
|
+
injectStyles.call(
|
|
3133
|
+
this,
|
|
3134
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
3135
|
+
)
|
|
3136
|
+
}
|
|
3050
3137
|
: injectStyles
|
|
3051
3138
|
}
|
|
3052
3139
|
|
|
@@ -3057,16 +3144,14 @@ function normalizeComponent (
|
|
|
3057
3144
|
options._injectStyles = hook
|
|
3058
3145
|
// register for functional component in vue file
|
|
3059
3146
|
var originalRender = options.render
|
|
3060
|
-
options.render = function renderWithStyleInjection
|
|
3147
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
3061
3148
|
hook.call(context)
|
|
3062
3149
|
return originalRender(h, context)
|
|
3063
3150
|
}
|
|
3064
3151
|
} else {
|
|
3065
3152
|
// inject component registration as beforeCreate hook
|
|
3066
3153
|
var existing = options.beforeCreate
|
|
3067
|
-
options.beforeCreate = existing
|
|
3068
|
-
? [].concat(existing, hook)
|
|
3069
|
-
: [hook]
|
|
3154
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
3070
3155
|
}
|
|
3071
3156
|
}
|
|
3072
3157
|
|
|
@@ -3138,26 +3223,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3138
3223
|
|
|
3139
3224
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3140
3225
|
|
|
3141
|
-
|
|
3142
3226
|
function _defineProperties(target, props) {
|
|
3143
3227
|
for (var i = 0; i < props.length; i++) {
|
|
3144
3228
|
var descriptor = props[i];
|
|
3145
3229
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3146
3230
|
descriptor.configurable = true;
|
|
3147
3231
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3148
|
-
|
|
3149
3232
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3150
3233
|
}
|
|
3151
3234
|
}
|
|
3152
|
-
|
|
3153
3235
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3154
3236
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3155
3237
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3156
|
-
|
|
3157
3238
|
define_property_default()(Constructor, "prototype", {
|
|
3158
3239
|
writable: false
|
|
3159
3240
|
});
|
|
3160
|
-
|
|
3161
3241
|
return Constructor;
|
|
3162
3242
|
}
|
|
3163
3243
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3173,18 +3253,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3173
3253
|
|
|
3174
3254
|
|
|
3175
3255
|
|
|
3176
|
-
|
|
3177
3256
|
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; } } }; }
|
|
3178
|
-
|
|
3179
3257
|
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); }
|
|
3180
|
-
|
|
3181
3258
|
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; }
|
|
3182
|
-
|
|
3183
3259
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3184
3260
|
function DomHandler() {
|
|
3185
3261
|
_classCallCheck(this, DomHandler);
|
|
3186
3262
|
}
|
|
3187
|
-
|
|
3188
3263
|
_createClass(DomHandler, null, [{
|
|
3189
3264
|
key: "innerWidth",
|
|
3190
3265
|
value: function innerWidth(el) {
|
|
@@ -3218,12 +3293,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3218
3293
|
value: function getOuterWidth(el, margin) {
|
|
3219
3294
|
if (el) {
|
|
3220
3295
|
var width = el.offsetWidth;
|
|
3221
|
-
|
|
3222
3296
|
if (margin) {
|
|
3223
3297
|
var style = getComputedStyle(el);
|
|
3224
3298
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3225
3299
|
}
|
|
3226
|
-
|
|
3227
3300
|
return width;
|
|
3228
3301
|
} else {
|
|
3229
3302
|
return 0;
|
|
@@ -3234,12 +3307,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3234
3307
|
value: function getOuterHeight(el, margin) {
|
|
3235
3308
|
if (el) {
|
|
3236
3309
|
var height = el.offsetHeight;
|
|
3237
|
-
|
|
3238
3310
|
if (margin) {
|
|
3239
3311
|
var style = getComputedStyle(el);
|
|
3240
3312
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3241
3313
|
}
|
|
3242
|
-
|
|
3243
3314
|
return height;
|
|
3244
3315
|
} else {
|
|
3245
3316
|
return 0;
|
|
@@ -3250,12 +3321,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3250
3321
|
value: function getClientHeight(el, margin) {
|
|
3251
3322
|
if (el) {
|
|
3252
3323
|
var height = el.clientHeight;
|
|
3253
|
-
|
|
3254
3324
|
if (margin) {
|
|
3255
3325
|
var style = getComputedStyle(el);
|
|
3256
3326
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3257
3327
|
}
|
|
3258
|
-
|
|
3259
3328
|
return height;
|
|
3260
3329
|
} else {
|
|
3261
3330
|
return 0;
|
|
@@ -3265,11 +3334,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3265
3334
|
key: "getViewport",
|
|
3266
3335
|
value: function getViewport() {
|
|
3267
3336
|
var win = window,
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3337
|
+
d = document,
|
|
3338
|
+
e = d.documentElement,
|
|
3339
|
+
g = d.getElementsByTagName('body')[0],
|
|
3340
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3341
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3273
3342
|
return {
|
|
3274
3343
|
width: w,
|
|
3275
3344
|
height: h
|
|
@@ -3300,12 +3369,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3300
3369
|
value: function index(element) {
|
|
3301
3370
|
var children = element.parentNode.childNodes;
|
|
3302
3371
|
var num = 0;
|
|
3303
|
-
|
|
3304
3372
|
for (var i = 0; i < children.length; i++) {
|
|
3305
3373
|
if (children[i] === element) return num;
|
|
3306
3374
|
if (children[i].nodeType === 1) num++;
|
|
3307
3375
|
}
|
|
3308
|
-
|
|
3309
3376
|
return -1;
|
|
3310
3377
|
}
|
|
3311
3378
|
}, {
|
|
@@ -3313,13 +3380,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3313
3380
|
value: function addMultipleClasses(element, className) {
|
|
3314
3381
|
if (element.classList) {
|
|
3315
3382
|
var styles = className.split(' ');
|
|
3316
|
-
|
|
3317
3383
|
for (var i = 0; i < styles.length; i++) {
|
|
3318
3384
|
element.classList.add(styles[i]);
|
|
3319
3385
|
}
|
|
3320
3386
|
} else {
|
|
3321
3387
|
var _styles = className.split(' ');
|
|
3322
|
-
|
|
3323
3388
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3324
3389
|
element.className += ' ' + _styles[_i];
|
|
3325
3390
|
}
|
|
@@ -3341,7 +3406,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3341
3406
|
if (element) {
|
|
3342
3407
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3343
3408
|
}
|
|
3344
|
-
|
|
3345
3409
|
return false;
|
|
3346
3410
|
}
|
|
3347
3411
|
}, {
|
|
@@ -3386,11 +3450,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3386
3450
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3387
3451
|
var viewport = this.getViewport();
|
|
3388
3452
|
var top, left;
|
|
3389
|
-
|
|
3390
3453
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3391
3454
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3392
3455
|
element.style.transformOrigin = 'bottom';
|
|
3393
|
-
|
|
3394
3456
|
if (top < 0) {
|
|
3395
3457
|
top = windowScrollTop;
|
|
3396
3458
|
}
|
|
@@ -3398,7 +3460,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3398
3460
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3399
3461
|
element.style.transformOrigin = 'top';
|
|
3400
3462
|
}
|
|
3401
|
-
|
|
3402
3463
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3403
3464
|
element.style.top = top + 'px';
|
|
3404
3465
|
element.style.left = left + 'px';
|
|
@@ -3414,11 +3475,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3414
3475
|
var targetOffset = target.getBoundingClientRect();
|
|
3415
3476
|
var viewport = this.getViewport();
|
|
3416
3477
|
var top, left;
|
|
3417
|
-
|
|
3418
3478
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3419
3479
|
top = -1 * elementDimensions.height;
|
|
3420
3480
|
element.style.transformOrigin = 'bottom';
|
|
3421
|
-
|
|
3422
3481
|
if (targetOffset.top + top < 0) {
|
|
3423
3482
|
top = -1 * targetOffset.top;
|
|
3424
3483
|
}
|
|
@@ -3426,7 +3485,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3426
3485
|
top = targetHeight;
|
|
3427
3486
|
element.style.transformOrigin = 'top';
|
|
3428
3487
|
}
|
|
3429
|
-
|
|
3430
3488
|
if (elementDimensions.width > viewport.width) {
|
|
3431
3489
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3432
3490
|
left = targetOffset.left * -1;
|
|
@@ -3437,7 +3495,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3437
3495
|
// element fits on screen (align with target)
|
|
3438
3496
|
left = 0;
|
|
3439
3497
|
}
|
|
3440
|
-
|
|
3441
3498
|
element.style.top = top + 'px';
|
|
3442
3499
|
element.style.left = left + 'px';
|
|
3443
3500
|
}
|
|
@@ -3451,35 +3508,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3451
3508
|
key: "getScrollableParents",
|
|
3452
3509
|
value: function getScrollableParents(element) {
|
|
3453
3510
|
var scrollableParents = [];
|
|
3454
|
-
|
|
3455
3511
|
if (element) {
|
|
3456
3512
|
var parents = this.getParents(element);
|
|
3457
3513
|
var overflowRegex = /(auto|scroll)/;
|
|
3458
|
-
|
|
3459
3514
|
var overflowCheck = function overflowCheck(node) {
|
|
3460
3515
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3461
3516
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3462
3517
|
};
|
|
3463
|
-
|
|
3464
3518
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3465
|
-
|
|
3466
|
-
|
|
3519
|
+
_step;
|
|
3467
3520
|
try {
|
|
3468
3521
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3469
3522
|
var parent = _step.value;
|
|
3470
3523
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3471
|
-
|
|
3472
3524
|
if (scrollSelectors) {
|
|
3473
3525
|
var selectors = scrollSelectors.split(',');
|
|
3474
|
-
|
|
3475
3526
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3476
|
-
|
|
3477
|
-
|
|
3527
|
+
_step2;
|
|
3478
3528
|
try {
|
|
3479
3529
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3480
3530
|
var selector = _step2.value;
|
|
3481
3531
|
var el = this.findSingle(parent, selector);
|
|
3482
|
-
|
|
3483
3532
|
if (el && overflowCheck(el)) {
|
|
3484
3533
|
scrollableParents.push(el);
|
|
3485
3534
|
}
|
|
@@ -3497,7 +3546,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3497
3546
|
_iterator.f();
|
|
3498
3547
|
}
|
|
3499
3548
|
}
|
|
3500
|
-
|
|
3501
3549
|
return scrollableParents;
|
|
3502
3550
|
}
|
|
3503
3551
|
}, {
|
|
@@ -3538,34 +3586,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3538
3586
|
element.style.opacity = 0;
|
|
3539
3587
|
var last = +new Date();
|
|
3540
3588
|
var opacity = 0;
|
|
3541
|
-
|
|
3542
3589
|
var tick = function tick() {
|
|
3543
3590
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3544
3591
|
element.style.opacity = opacity;
|
|
3545
3592
|
last = +new Date();
|
|
3546
|
-
|
|
3547
3593
|
if (+opacity < 1) {
|
|
3548
3594
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3549
3595
|
}
|
|
3550
3596
|
};
|
|
3551
|
-
|
|
3552
3597
|
tick();
|
|
3553
3598
|
}
|
|
3554
3599
|
}, {
|
|
3555
3600
|
key: "fadeOut",
|
|
3556
3601
|
value: function fadeOut(element, ms) {
|
|
3557
3602
|
var opacity = 1,
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3603
|
+
interval = 50,
|
|
3604
|
+
duration = ms,
|
|
3605
|
+
gap = interval / duration;
|
|
3561
3606
|
var fading = setInterval(function () {
|
|
3562
3607
|
opacity -= gap;
|
|
3563
|
-
|
|
3564
3608
|
if (opacity <= 0) {
|
|
3565
3609
|
opacity = 0;
|
|
3566
3610
|
clearInterval(fading);
|
|
3567
3611
|
}
|
|
3568
|
-
|
|
3569
3612
|
element.style.opacity = opacity;
|
|
3570
3613
|
}, interval);
|
|
3571
3614
|
}
|
|
@@ -3592,7 +3635,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3592
3635
|
var scroll = container.scrollTop;
|
|
3593
3636
|
var elementHeight = container.clientHeight;
|
|
3594
3637
|
var itemHeight = this.getOuterHeight(item);
|
|
3595
|
-
|
|
3596
3638
|
if (offset < 0) {
|
|
3597
3639
|
container.scrollTop = scroll + offset;
|
|
3598
3640
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3611,7 +3653,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3611
3653
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3612
3654
|
try {
|
|
3613
3655
|
document['selection'].empty();
|
|
3614
|
-
} catch (error) {
|
|
3656
|
+
} catch (error) {
|
|
3657
|
+
//ignore IE bug
|
|
3615
3658
|
}
|
|
3616
3659
|
}
|
|
3617
3660
|
}
|
|
@@ -3633,19 +3676,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3633
3676
|
if (!this.browser) {
|
|
3634
3677
|
var matched = this.resolveUserAgent();
|
|
3635
3678
|
this.browser = {};
|
|
3636
|
-
|
|
3637
3679
|
if (matched.browser) {
|
|
3638
3680
|
this.browser[matched.browser] = true;
|
|
3639
3681
|
this.browser['version'] = matched.version;
|
|
3640
3682
|
}
|
|
3641
|
-
|
|
3642
3683
|
if (this.browser['chrome']) {
|
|
3643
3684
|
this.browser['webkit'] = true;
|
|
3644
3685
|
} else if (this.browser['webkit']) {
|
|
3645
3686
|
this.browser['safari'] = true;
|
|
3646
3687
|
}
|
|
3647
3688
|
}
|
|
3648
|
-
|
|
3649
3689
|
return this.browser;
|
|
3650
3690
|
}
|
|
3651
3691
|
}, {
|
|
@@ -3673,10 +3713,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3673
3713
|
value: function getFocusableElements(element) {
|
|
3674
3714
|
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])");
|
|
3675
3715
|
var visibleFocusableElements = [];
|
|
3676
|
-
|
|
3677
3716
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3678
|
-
|
|
3679
|
-
|
|
3717
|
+
_step3;
|
|
3680
3718
|
try {
|
|
3681
3719
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3682
3720
|
var focusableElement = _step3.value;
|
|
@@ -3687,7 +3725,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3687
3725
|
} finally {
|
|
3688
3726
|
_iterator3.f();
|
|
3689
3727
|
}
|
|
3690
|
-
|
|
3691
3728
|
return visibleFocusableElements;
|
|
3692
3729
|
}
|
|
3693
3730
|
}, {
|
|
@@ -3730,55 +3767,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3730
3767
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3731
3768
|
}
|
|
3732
3769
|
}]);
|
|
3733
|
-
|
|
3734
3770
|
return DomHandler;
|
|
3735
3771
|
}();
|
|
3736
3772
|
|
|
3737
|
-
|
|
3738
3773
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3739
3774
|
|
|
3740
|
-
|
|
3741
3775
|
function bindEvents(el) {
|
|
3742
3776
|
el.addEventListener('mousedown', onMouseDown);
|
|
3743
3777
|
}
|
|
3744
|
-
|
|
3745
3778
|
function unbindEvents(el) {
|
|
3746
3779
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3747
3780
|
}
|
|
3748
|
-
|
|
3749
3781
|
function create(el) {
|
|
3750
3782
|
var ink = document.createElement('span');
|
|
3751
3783
|
ink.className = 'p-ink';
|
|
3752
3784
|
el.appendChild(ink);
|
|
3753
3785
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3754
3786
|
}
|
|
3755
|
-
|
|
3756
3787
|
function remove(el) {
|
|
3757
3788
|
var ink = getInk(el);
|
|
3758
|
-
|
|
3759
3789
|
if (ink) {
|
|
3760
3790
|
unbindEvents(el);
|
|
3761
3791
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3762
3792
|
ink.remove();
|
|
3763
3793
|
}
|
|
3764
3794
|
}
|
|
3765
|
-
|
|
3766
3795
|
function onMouseDown(event) {
|
|
3767
3796
|
var target = event.currentTarget;
|
|
3768
3797
|
var ink = getInk(target);
|
|
3769
|
-
|
|
3770
3798
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3771
3799
|
return;
|
|
3772
3800
|
}
|
|
3773
|
-
|
|
3774
3801
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3775
|
-
|
|
3776
3802
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3777
3803
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3778
3804
|
ink.style.height = d + 'px';
|
|
3779
3805
|
ink.style.width = d + 'px';
|
|
3780
3806
|
}
|
|
3781
|
-
|
|
3782
3807
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3783
3808
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3784
3809
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3786,21 +3811,17 @@ function onMouseDown(event) {
|
|
|
3786
3811
|
ink.style.left = x + 'px';
|
|
3787
3812
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3788
3813
|
}
|
|
3789
|
-
|
|
3790
3814
|
function onAnimationEnd(event) {
|
|
3791
3815
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3792
3816
|
}
|
|
3793
|
-
|
|
3794
3817
|
function getInk(el) {
|
|
3795
3818
|
for (var i = 0; i < el.children.length; i++) {
|
|
3796
3819
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3797
3820
|
return el.children[i];
|
|
3798
3821
|
}
|
|
3799
3822
|
}
|
|
3800
|
-
|
|
3801
3823
|
return null;
|
|
3802
3824
|
}
|
|
3803
|
-
|
|
3804
3825
|
var Ripple = {
|
|
3805
3826
|
inserted: function inserted(el, binding, vnode) {
|
|
3806
3827
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3815,33 +3836,6 @@ var Ripple = {
|
|
|
3815
3836
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3816
3837
|
// 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&
|
|
3817
3838
|
|
|
3818
|
-
//
|
|
3819
|
-
//
|
|
3820
|
-
//
|
|
3821
|
-
//
|
|
3822
|
-
//
|
|
3823
|
-
//
|
|
3824
|
-
//
|
|
3825
|
-
//
|
|
3826
|
-
//
|
|
3827
|
-
//
|
|
3828
|
-
//
|
|
3829
|
-
//
|
|
3830
|
-
//
|
|
3831
|
-
//
|
|
3832
|
-
//
|
|
3833
|
-
//
|
|
3834
|
-
//
|
|
3835
|
-
//
|
|
3836
|
-
//
|
|
3837
|
-
//
|
|
3838
|
-
//
|
|
3839
|
-
//
|
|
3840
|
-
//
|
|
3841
|
-
//
|
|
3842
|
-
//
|
|
3843
|
-
//
|
|
3844
|
-
//
|
|
3845
3839
|
|
|
3846
3840
|
|
|
3847
3841
|
/* harmony default export */ var GalleriaItemvue_type_script_lang_js_ = ({
|
|
@@ -3907,7 +3901,6 @@ var Ripple = {
|
|
|
3907
3901
|
navBackward: function navBackward(e) {
|
|
3908
3902
|
this.stopSlideShow();
|
|
3909
3903
|
this.prev();
|
|
3910
|
-
|
|
3911
3904
|
if (e && e.cancelable) {
|
|
3912
3905
|
e.preventDefault();
|
|
3913
3906
|
}
|
|
@@ -3915,7 +3908,6 @@ var Ripple = {
|
|
|
3915
3908
|
navForward: function navForward(e) {
|
|
3916
3909
|
this.stopSlideShow();
|
|
3917
3910
|
this.next();
|
|
3918
|
-
|
|
3919
3911
|
if (e && e.cancelable) {
|
|
3920
3912
|
e.preventDefault();
|
|
3921
3913
|
}
|