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
|
@@ -965,6 +965,22 @@ var $exports = module.exports = function (name) {
|
|
|
965
965
|
$exports.store = store;
|
|
966
966
|
|
|
967
967
|
|
|
968
|
+
/***/ }),
|
|
969
|
+
|
|
970
|
+
/***/ "2c02":
|
|
971
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
972
|
+
|
|
973
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
974
|
+
|
|
975
|
+
// load the styles
|
|
976
|
+
var content = __webpack_require__("569b");
|
|
977
|
+
if(content.__esModule) content = content.default;
|
|
978
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
979
|
+
if(content.locals) module.exports = content.locals;
|
|
980
|
+
// add the styles to the DOM
|
|
981
|
+
var add = __webpack_require__("499e").default
|
|
982
|
+
var update = add("426becb7", content, true, {"sourceMap":false,"shadowMode":false});
|
|
983
|
+
|
|
968
984
|
/***/ }),
|
|
969
985
|
|
|
970
986
|
/***/ "2d00":
|
|
@@ -1576,17 +1592,6 @@ module.exports = patchedExec;
|
|
|
1576
1592
|
exports.f = {}.propertyIsEnumerable;
|
|
1577
1593
|
|
|
1578
1594
|
|
|
1579
|
-
/***/ }),
|
|
1580
|
-
|
|
1581
|
-
/***/ "5487":
|
|
1582
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1583
|
-
|
|
1584
|
-
"use strict";
|
|
1585
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a9f7");
|
|
1586
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1587
|
-
/* unused harmony reexport * */
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
1595
|
/***/ }),
|
|
1591
1596
|
|
|
1592
1597
|
/***/ "5537":
|
|
@@ -1639,7 +1644,7 @@ $export($export.P + $export.F * (fails(function () {
|
|
|
1639
1644
|
|
|
1640
1645
|
/***/ }),
|
|
1641
1646
|
|
|
1642
|
-
/***/ "
|
|
1647
|
+
/***/ "569b":
|
|
1643
1648
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1644
1649
|
|
|
1645
1650
|
exports = module.exports = __webpack_require__("2350")(false);
|
|
@@ -2757,22 +2762,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
2757
2762
|
});
|
|
2758
2763
|
|
|
2759
2764
|
|
|
2760
|
-
/***/ }),
|
|
2761
|
-
|
|
2762
|
-
/***/ "a9f7":
|
|
2763
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2764
|
-
|
|
2765
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2766
|
-
|
|
2767
|
-
// load the styles
|
|
2768
|
-
var content = __webpack_require__("57f6");
|
|
2769
|
-
if(content.__esModule) content = content.default;
|
|
2770
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2771
|
-
if(content.locals) module.exports = content.locals;
|
|
2772
|
-
// add the styles to the DOM
|
|
2773
|
-
var add = __webpack_require__("499e").default
|
|
2774
|
-
var update = add("7be5b558", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2775
|
-
|
|
2776
2765
|
/***/ }),
|
|
2777
2766
|
|
|
2778
2767
|
/***/ "aa77":
|
|
@@ -3335,19 +3324,140 @@ if (typeof window !== 'undefined') {
|
|
|
3335
3324
|
// Indicate to webpack that this file can be concatenated
|
|
3336
3325
|
/* harmony default export */ var setPublicPath = (null);
|
|
3337
3326
|
|
|
3338
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3339
|
-
var render = function () {
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3327
|
+
// 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/carousel/Carousel.vue?vue&type=template&id=6265cde7&
|
|
3328
|
+
var render = function render() {
|
|
3329
|
+
var _vm = this,
|
|
3330
|
+
_c = _vm._self._c;
|
|
3331
|
+
return _c('div', {
|
|
3332
|
+
class: ['p-carousel p-component', {
|
|
3333
|
+
'p-carousel-vertical': _vm.isVertical(),
|
|
3334
|
+
'p-carousel-horizontal': !_vm.isVertical()
|
|
3335
|
+
}],
|
|
3336
|
+
attrs: {
|
|
3337
|
+
"id": _vm.id
|
|
3338
|
+
}
|
|
3339
|
+
}, [_vm.$scopedSlots.header ? _c('div', {
|
|
3340
|
+
staticClass: "p-carousel-header"
|
|
3341
|
+
}, [_vm._t("header")], 2) : _vm._e(), _c('div', {
|
|
3342
|
+
class: _vm.contentClasses
|
|
3343
|
+
}, [_c('div', {
|
|
3344
|
+
class: _vm.containerClasses
|
|
3345
|
+
}, [_c('button', {
|
|
3346
|
+
directives: [{
|
|
3347
|
+
name: "ripple",
|
|
3348
|
+
rawName: "v-ripple"
|
|
3349
|
+
}],
|
|
3350
|
+
class: ['p-carousel-prev p-link', {
|
|
3351
|
+
'p-disabled': _vm.backwardIsDisabled
|
|
3352
|
+
}],
|
|
3353
|
+
attrs: {
|
|
3354
|
+
"disabled": _vm.backwardIsDisabled,
|
|
3355
|
+
"type": "button"
|
|
3356
|
+
},
|
|
3357
|
+
on: {
|
|
3358
|
+
"click": _vm.navBackward
|
|
3359
|
+
}
|
|
3360
|
+
}, [_c('span', {
|
|
3361
|
+
class: ['p-carousel-prev-icon pi', {
|
|
3362
|
+
'pi-chevron-left': !_vm.isVertical(),
|
|
3363
|
+
'pi-chevron-up': _vm.isVertical()
|
|
3364
|
+
}]
|
|
3365
|
+
})]), _c('div', {
|
|
3366
|
+
staticClass: "p-carousel-items-content",
|
|
3367
|
+
style: [{
|
|
3368
|
+
'height': _vm.isVertical() ? _vm.verticalViewPortHeight : 'auto'
|
|
3369
|
+
}],
|
|
3370
|
+
on: {
|
|
3371
|
+
"touchend": _vm.onTouchEnd,
|
|
3372
|
+
"touchstart": _vm.onTouchStart,
|
|
3373
|
+
"touchmove": _vm.onTouchMove
|
|
3374
|
+
}
|
|
3375
|
+
}, [_c('div', {
|
|
3376
|
+
ref: "itemsContainer",
|
|
3377
|
+
staticClass: "p-carousel-items-container",
|
|
3378
|
+
on: {
|
|
3379
|
+
"transitionend": _vm.onTransitionEnd
|
|
3380
|
+
}
|
|
3381
|
+
}, [_vm.isCircular() ? _vm._l(_vm.value.slice(-1 * _vm.d_numVisible), function (item, index) {
|
|
3382
|
+
return _c('div', {
|
|
3383
|
+
key: index + '_scloned',
|
|
3384
|
+
class: ['p-carousel-item p-carousel-item-cloned', {
|
|
3385
|
+
'p-carousel-item-active': _vm.totalShiftedItems * -1 === _vm.value.length + _vm.d_numVisible,
|
|
3386
|
+
'p-carousel-item-start': 0 === index,
|
|
3387
|
+
'p-carousel-item-end': _vm.value.slice(-1 * _vm.d_numVisible).length - 1 === index
|
|
3388
|
+
}]
|
|
3389
|
+
}, [_vm._t("item", null, {
|
|
3390
|
+
"data": item,
|
|
3391
|
+
"index": index
|
|
3392
|
+
})], 2);
|
|
3393
|
+
}) : _vm._e(), _vm._l(_vm.value, function (item, index) {
|
|
3394
|
+
return _c('div', {
|
|
3395
|
+
key: index,
|
|
3396
|
+
class: ['p-carousel-item', {
|
|
3397
|
+
'p-carousel-item-active': _vm.firstIndex() <= index && _vm.lastIndex() >= index,
|
|
3398
|
+
'p-carousel-item-start': _vm.firstIndex() === index,
|
|
3399
|
+
'p-carousel-item-end': _vm.lastIndex() === index
|
|
3400
|
+
}]
|
|
3401
|
+
}, [_vm._t("item", null, {
|
|
3402
|
+
"data": item,
|
|
3403
|
+
"index": index
|
|
3404
|
+
})], 2);
|
|
3405
|
+
}), _vm.isCircular() ? _vm._l(_vm.value.slice(0, _vm.d_numVisible), function (item, index) {
|
|
3406
|
+
return _c('div', {
|
|
3407
|
+
key: index + '_fcloned',
|
|
3408
|
+
class: ['p-carousel-item p-carousel-item-cloned', {
|
|
3409
|
+
'p-carousel-item-active': _vm.totalShiftedItems === 0,
|
|
3410
|
+
'p-carousel-item-start': 0 === index,
|
|
3411
|
+
'p-carousel-item-end': _vm.value.slice(0, _vm.d_numVisible).length - 1 === index
|
|
3412
|
+
}]
|
|
3413
|
+
}, [_vm._t("item", null, {
|
|
3414
|
+
"data": item,
|
|
3415
|
+
"index": index
|
|
3416
|
+
})], 2);
|
|
3417
|
+
}) : _vm._e()], 2)]), _c('button', {
|
|
3418
|
+
directives: [{
|
|
3419
|
+
name: "ripple",
|
|
3420
|
+
rawName: "v-ripple"
|
|
3421
|
+
}],
|
|
3422
|
+
class: ['p-carousel-next p-link', {
|
|
3423
|
+
'p-disabled': _vm.forwardIsDisabled
|
|
3424
|
+
}],
|
|
3425
|
+
attrs: {
|
|
3426
|
+
"disabled": _vm.forwardIsDisabled,
|
|
3427
|
+
"type": "button"
|
|
3428
|
+
},
|
|
3429
|
+
on: {
|
|
3430
|
+
"click": _vm.navForward
|
|
3431
|
+
}
|
|
3432
|
+
}, [_c('span', {
|
|
3433
|
+
class: ['p-carousel-prev-icon pi', {
|
|
3434
|
+
'pi-chevron-right': !_vm.isVertical(),
|
|
3435
|
+
'pi-chevron-down': _vm.isVertical()
|
|
3436
|
+
}]
|
|
3437
|
+
})])]), _c('ul', {
|
|
3438
|
+
class: _vm.indicatorsContentClasses
|
|
3439
|
+
}, _vm._l(_vm.totalIndicators, function (indicator, i) {
|
|
3440
|
+
return _c('li', {
|
|
3441
|
+
key: 'p-carousel-indicator-' + i,
|
|
3442
|
+
class: ['p-carousel-indicator', {
|
|
3443
|
+
'p-highlight': _vm.d_page === i
|
|
3444
|
+
}]
|
|
3445
|
+
}, [_c('button', {
|
|
3446
|
+
staticClass: "p-link",
|
|
3447
|
+
attrs: {
|
|
3448
|
+
"type": "button"
|
|
3449
|
+
},
|
|
3450
|
+
on: {
|
|
3451
|
+
"click": function click($event) {
|
|
3452
|
+
return _vm.onIndicatorClick($event, i);
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
})]);
|
|
3456
|
+
}), 0)]), _vm.$scopedSlots.footer ? _c('div', {
|
|
3457
|
+
staticClass: "p-carousel-footer"
|
|
3458
|
+
}, [_vm._t("footer")], 2) : _vm._e()]);
|
|
3459
|
+
};
|
|
3460
|
+
var staticRenderFns = [];
|
|
3351
3461
|
|
|
3352
3462
|
// CONCATENATED MODULE: ./src/components/carousel/Carousel.vue?vue&type=template&id=6265cde7&
|
|
3353
3463
|
|
|
@@ -3406,26 +3516,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3406
3516
|
|
|
3407
3517
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3408
3518
|
|
|
3409
|
-
|
|
3410
3519
|
function _defineProperties(target, props) {
|
|
3411
3520
|
for (var i = 0; i < props.length; i++) {
|
|
3412
3521
|
var descriptor = props[i];
|
|
3413
3522
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3414
3523
|
descriptor.configurable = true;
|
|
3415
3524
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3416
|
-
|
|
3417
3525
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3418
3526
|
}
|
|
3419
3527
|
}
|
|
3420
|
-
|
|
3421
3528
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3422
3529
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3423
3530
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3424
|
-
|
|
3425
3531
|
define_property_default()(Constructor, "prototype", {
|
|
3426
3532
|
writable: false
|
|
3427
3533
|
});
|
|
3428
|
-
|
|
3429
3534
|
return Constructor;
|
|
3430
3535
|
}
|
|
3431
3536
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3441,18 +3546,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3441
3546
|
|
|
3442
3547
|
|
|
3443
3548
|
|
|
3444
|
-
|
|
3445
3549
|
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; } } }; }
|
|
3446
|
-
|
|
3447
3550
|
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); }
|
|
3448
|
-
|
|
3449
3551
|
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; }
|
|
3450
|
-
|
|
3451
3552
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3452
3553
|
function DomHandler() {
|
|
3453
3554
|
_classCallCheck(this, DomHandler);
|
|
3454
3555
|
}
|
|
3455
|
-
|
|
3456
3556
|
_createClass(DomHandler, null, [{
|
|
3457
3557
|
key: "innerWidth",
|
|
3458
3558
|
value: function innerWidth(el) {
|
|
@@ -3486,12 +3586,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3486
3586
|
value: function getOuterWidth(el, margin) {
|
|
3487
3587
|
if (el) {
|
|
3488
3588
|
var width = el.offsetWidth;
|
|
3489
|
-
|
|
3490
3589
|
if (margin) {
|
|
3491
3590
|
var style = getComputedStyle(el);
|
|
3492
3591
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3493
3592
|
}
|
|
3494
|
-
|
|
3495
3593
|
return width;
|
|
3496
3594
|
} else {
|
|
3497
3595
|
return 0;
|
|
@@ -3502,12 +3600,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3502
3600
|
value: function getOuterHeight(el, margin) {
|
|
3503
3601
|
if (el) {
|
|
3504
3602
|
var height = el.offsetHeight;
|
|
3505
|
-
|
|
3506
3603
|
if (margin) {
|
|
3507
3604
|
var style = getComputedStyle(el);
|
|
3508
3605
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3509
3606
|
}
|
|
3510
|
-
|
|
3511
3607
|
return height;
|
|
3512
3608
|
} else {
|
|
3513
3609
|
return 0;
|
|
@@ -3518,12 +3614,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3518
3614
|
value: function getClientHeight(el, margin) {
|
|
3519
3615
|
if (el) {
|
|
3520
3616
|
var height = el.clientHeight;
|
|
3521
|
-
|
|
3522
3617
|
if (margin) {
|
|
3523
3618
|
var style = getComputedStyle(el);
|
|
3524
3619
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3525
3620
|
}
|
|
3526
|
-
|
|
3527
3621
|
return height;
|
|
3528
3622
|
} else {
|
|
3529
3623
|
return 0;
|
|
@@ -3533,11 +3627,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3533
3627
|
key: "getViewport",
|
|
3534
3628
|
value: function getViewport() {
|
|
3535
3629
|
var win = window,
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3630
|
+
d = document,
|
|
3631
|
+
e = d.documentElement,
|
|
3632
|
+
g = d.getElementsByTagName('body')[0],
|
|
3633
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3634
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3541
3635
|
return {
|
|
3542
3636
|
width: w,
|
|
3543
3637
|
height: h
|
|
@@ -3568,12 +3662,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3568
3662
|
value: function index(element) {
|
|
3569
3663
|
var children = element.parentNode.childNodes;
|
|
3570
3664
|
var num = 0;
|
|
3571
|
-
|
|
3572
3665
|
for (var i = 0; i < children.length; i++) {
|
|
3573
3666
|
if (children[i] === element) return num;
|
|
3574
3667
|
if (children[i].nodeType === 1) num++;
|
|
3575
3668
|
}
|
|
3576
|
-
|
|
3577
3669
|
return -1;
|
|
3578
3670
|
}
|
|
3579
3671
|
}, {
|
|
@@ -3581,13 +3673,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3581
3673
|
value: function addMultipleClasses(element, className) {
|
|
3582
3674
|
if (element.classList) {
|
|
3583
3675
|
var styles = className.split(' ');
|
|
3584
|
-
|
|
3585
3676
|
for (var i = 0; i < styles.length; i++) {
|
|
3586
3677
|
element.classList.add(styles[i]);
|
|
3587
3678
|
}
|
|
3588
3679
|
} else {
|
|
3589
3680
|
var _styles = className.split(' ');
|
|
3590
|
-
|
|
3591
3681
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3592
3682
|
element.className += ' ' + _styles[_i];
|
|
3593
3683
|
}
|
|
@@ -3609,7 +3699,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3609
3699
|
if (element) {
|
|
3610
3700
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3611
3701
|
}
|
|
3612
|
-
|
|
3613
3702
|
return false;
|
|
3614
3703
|
}
|
|
3615
3704
|
}, {
|
|
@@ -3654,11 +3743,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3654
3743
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3655
3744
|
var viewport = this.getViewport();
|
|
3656
3745
|
var top, left;
|
|
3657
|
-
|
|
3658
3746
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3659
3747
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3660
3748
|
element.style.transformOrigin = 'bottom';
|
|
3661
|
-
|
|
3662
3749
|
if (top < 0) {
|
|
3663
3750
|
top = windowScrollTop;
|
|
3664
3751
|
}
|
|
@@ -3666,7 +3753,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3666
3753
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3667
3754
|
element.style.transformOrigin = 'top';
|
|
3668
3755
|
}
|
|
3669
|
-
|
|
3670
3756
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3671
3757
|
element.style.top = top + 'px';
|
|
3672
3758
|
element.style.left = left + 'px';
|
|
@@ -3682,11 +3768,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3682
3768
|
var targetOffset = target.getBoundingClientRect();
|
|
3683
3769
|
var viewport = this.getViewport();
|
|
3684
3770
|
var top, left;
|
|
3685
|
-
|
|
3686
3771
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3687
3772
|
top = -1 * elementDimensions.height;
|
|
3688
3773
|
element.style.transformOrigin = 'bottom';
|
|
3689
|
-
|
|
3690
3774
|
if (targetOffset.top + top < 0) {
|
|
3691
3775
|
top = -1 * targetOffset.top;
|
|
3692
3776
|
}
|
|
@@ -3694,7 +3778,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3694
3778
|
top = targetHeight;
|
|
3695
3779
|
element.style.transformOrigin = 'top';
|
|
3696
3780
|
}
|
|
3697
|
-
|
|
3698
3781
|
if (elementDimensions.width > viewport.width) {
|
|
3699
3782
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3700
3783
|
left = targetOffset.left * -1;
|
|
@@ -3705,7 +3788,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3705
3788
|
// element fits on screen (align with target)
|
|
3706
3789
|
left = 0;
|
|
3707
3790
|
}
|
|
3708
|
-
|
|
3709
3791
|
element.style.top = top + 'px';
|
|
3710
3792
|
element.style.left = left + 'px';
|
|
3711
3793
|
}
|
|
@@ -3719,35 +3801,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3719
3801
|
key: "getScrollableParents",
|
|
3720
3802
|
value: function getScrollableParents(element) {
|
|
3721
3803
|
var scrollableParents = [];
|
|
3722
|
-
|
|
3723
3804
|
if (element) {
|
|
3724
3805
|
var parents = this.getParents(element);
|
|
3725
3806
|
var overflowRegex = /(auto|scroll)/;
|
|
3726
|
-
|
|
3727
3807
|
var overflowCheck = function overflowCheck(node) {
|
|
3728
3808
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3729
3809
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3730
3810
|
};
|
|
3731
|
-
|
|
3732
3811
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3733
|
-
|
|
3734
|
-
|
|
3812
|
+
_step;
|
|
3735
3813
|
try {
|
|
3736
3814
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3737
3815
|
var parent = _step.value;
|
|
3738
3816
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3739
|
-
|
|
3740
3817
|
if (scrollSelectors) {
|
|
3741
3818
|
var selectors = scrollSelectors.split(',');
|
|
3742
|
-
|
|
3743
3819
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3744
|
-
|
|
3745
|
-
|
|
3820
|
+
_step2;
|
|
3746
3821
|
try {
|
|
3747
3822
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3748
3823
|
var selector = _step2.value;
|
|
3749
3824
|
var el = this.findSingle(parent, selector);
|
|
3750
|
-
|
|
3751
3825
|
if (el && overflowCheck(el)) {
|
|
3752
3826
|
scrollableParents.push(el);
|
|
3753
3827
|
}
|
|
@@ -3765,7 +3839,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3765
3839
|
_iterator.f();
|
|
3766
3840
|
}
|
|
3767
3841
|
}
|
|
3768
|
-
|
|
3769
3842
|
return scrollableParents;
|
|
3770
3843
|
}
|
|
3771
3844
|
}, {
|
|
@@ -3806,34 +3879,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3806
3879
|
element.style.opacity = 0;
|
|
3807
3880
|
var last = +new Date();
|
|
3808
3881
|
var opacity = 0;
|
|
3809
|
-
|
|
3810
3882
|
var tick = function tick() {
|
|
3811
3883
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3812
3884
|
element.style.opacity = opacity;
|
|
3813
3885
|
last = +new Date();
|
|
3814
|
-
|
|
3815
3886
|
if (+opacity < 1) {
|
|
3816
3887
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3817
3888
|
}
|
|
3818
3889
|
};
|
|
3819
|
-
|
|
3820
3890
|
tick();
|
|
3821
3891
|
}
|
|
3822
3892
|
}, {
|
|
3823
3893
|
key: "fadeOut",
|
|
3824
3894
|
value: function fadeOut(element, ms) {
|
|
3825
3895
|
var opacity = 1,
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3896
|
+
interval = 50,
|
|
3897
|
+
duration = ms,
|
|
3898
|
+
gap = interval / duration;
|
|
3829
3899
|
var fading = setInterval(function () {
|
|
3830
3900
|
opacity -= gap;
|
|
3831
|
-
|
|
3832
3901
|
if (opacity <= 0) {
|
|
3833
3902
|
opacity = 0;
|
|
3834
3903
|
clearInterval(fading);
|
|
3835
3904
|
}
|
|
3836
|
-
|
|
3837
3905
|
element.style.opacity = opacity;
|
|
3838
3906
|
}, interval);
|
|
3839
3907
|
}
|
|
@@ -3860,7 +3928,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3860
3928
|
var scroll = container.scrollTop;
|
|
3861
3929
|
var elementHeight = container.clientHeight;
|
|
3862
3930
|
var itemHeight = this.getOuterHeight(item);
|
|
3863
|
-
|
|
3864
3931
|
if (offset < 0) {
|
|
3865
3932
|
container.scrollTop = scroll + offset;
|
|
3866
3933
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3879,7 +3946,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3879
3946
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3880
3947
|
try {
|
|
3881
3948
|
document['selection'].empty();
|
|
3882
|
-
} catch (error) {
|
|
3949
|
+
} catch (error) {
|
|
3950
|
+
//ignore IE bug
|
|
3883
3951
|
}
|
|
3884
3952
|
}
|
|
3885
3953
|
}
|
|
@@ -3901,19 +3969,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3901
3969
|
if (!this.browser) {
|
|
3902
3970
|
var matched = this.resolveUserAgent();
|
|
3903
3971
|
this.browser = {};
|
|
3904
|
-
|
|
3905
3972
|
if (matched.browser) {
|
|
3906
3973
|
this.browser[matched.browser] = true;
|
|
3907
3974
|
this.browser['version'] = matched.version;
|
|
3908
3975
|
}
|
|
3909
|
-
|
|
3910
3976
|
if (this.browser['chrome']) {
|
|
3911
3977
|
this.browser['webkit'] = true;
|
|
3912
3978
|
} else if (this.browser['webkit']) {
|
|
3913
3979
|
this.browser['safari'] = true;
|
|
3914
3980
|
}
|
|
3915
3981
|
}
|
|
3916
|
-
|
|
3917
3982
|
return this.browser;
|
|
3918
3983
|
}
|
|
3919
3984
|
}, {
|
|
@@ -3941,10 +4006,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3941
4006
|
value: function getFocusableElements(element) {
|
|
3942
4007
|
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])");
|
|
3943
4008
|
var visibleFocusableElements = [];
|
|
3944
|
-
|
|
3945
4009
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3946
|
-
|
|
3947
|
-
|
|
4010
|
+
_step3;
|
|
3948
4011
|
try {
|
|
3949
4012
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3950
4013
|
var focusableElement = _step3.value;
|
|
@@ -3955,7 +4018,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3955
4018
|
} finally {
|
|
3956
4019
|
_iterator3.f();
|
|
3957
4020
|
}
|
|
3958
|
-
|
|
3959
4021
|
return visibleFocusableElements;
|
|
3960
4022
|
}
|
|
3961
4023
|
}, {
|
|
@@ -3998,55 +4060,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3998
4060
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3999
4061
|
}
|
|
4000
4062
|
}]);
|
|
4001
|
-
|
|
4002
4063
|
return DomHandler;
|
|
4003
4064
|
}();
|
|
4004
4065
|
|
|
4005
|
-
|
|
4006
4066
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
4007
4067
|
|
|
4008
|
-
|
|
4009
4068
|
function bindEvents(el) {
|
|
4010
4069
|
el.addEventListener('mousedown', onMouseDown);
|
|
4011
4070
|
}
|
|
4012
|
-
|
|
4013
4071
|
function unbindEvents(el) {
|
|
4014
4072
|
el.removeEventListener('mousedown', onMouseDown);
|
|
4015
4073
|
}
|
|
4016
|
-
|
|
4017
4074
|
function create(el) {
|
|
4018
4075
|
var ink = document.createElement('span');
|
|
4019
4076
|
ink.className = 'p-ink';
|
|
4020
4077
|
el.appendChild(ink);
|
|
4021
4078
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
4022
4079
|
}
|
|
4023
|
-
|
|
4024
4080
|
function remove(el) {
|
|
4025
4081
|
var ink = getInk(el);
|
|
4026
|
-
|
|
4027
4082
|
if (ink) {
|
|
4028
4083
|
unbindEvents(el);
|
|
4029
4084
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
4030
4085
|
ink.remove();
|
|
4031
4086
|
}
|
|
4032
4087
|
}
|
|
4033
|
-
|
|
4034
4088
|
function onMouseDown(event) {
|
|
4035
4089
|
var target = event.currentTarget;
|
|
4036
4090
|
var ink = getInk(target);
|
|
4037
|
-
|
|
4038
4091
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
4039
4092
|
return;
|
|
4040
4093
|
}
|
|
4041
|
-
|
|
4042
4094
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
4043
|
-
|
|
4044
4095
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
4045
4096
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4046
4097
|
ink.style.height = d + 'px';
|
|
4047
4098
|
ink.style.width = d + 'px';
|
|
4048
4099
|
}
|
|
4049
|
-
|
|
4050
4100
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4051
4101
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4052
4102
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4054,21 +4104,17 @@ function onMouseDown(event) {
|
|
|
4054
4104
|
ink.style.left = x + 'px';
|
|
4055
4105
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4056
4106
|
}
|
|
4057
|
-
|
|
4058
4107
|
function onAnimationEnd(event) {
|
|
4059
4108
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4060
4109
|
}
|
|
4061
|
-
|
|
4062
4110
|
function getInk(el) {
|
|
4063
4111
|
for (var i = 0; i < el.children.length; i++) {
|
|
4064
4112
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4065
4113
|
return el.children[i];
|
|
4066
4114
|
}
|
|
4067
4115
|
}
|
|
4068
|
-
|
|
4069
4116
|
return null;
|
|
4070
4117
|
}
|
|
4071
|
-
|
|
4072
4118
|
var Ripple = {
|
|
4073
4119
|
inserted: function inserted(el, binding, vnode) {
|
|
4074
4120
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4084,60 +4130,6 @@ var Ripple = {
|
|
|
4084
4130
|
// 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/carousel/Carousel.vue?vue&type=script&lang=js&
|
|
4085
4131
|
|
|
4086
4132
|
|
|
4087
|
-
//
|
|
4088
|
-
//
|
|
4089
|
-
//
|
|
4090
|
-
//
|
|
4091
|
-
//
|
|
4092
|
-
//
|
|
4093
|
-
//
|
|
4094
|
-
//
|
|
4095
|
-
//
|
|
4096
|
-
//
|
|
4097
|
-
//
|
|
4098
|
-
//
|
|
4099
|
-
//
|
|
4100
|
-
//
|
|
4101
|
-
//
|
|
4102
|
-
//
|
|
4103
|
-
//
|
|
4104
|
-
//
|
|
4105
|
-
//
|
|
4106
|
-
//
|
|
4107
|
-
//
|
|
4108
|
-
//
|
|
4109
|
-
//
|
|
4110
|
-
//
|
|
4111
|
-
//
|
|
4112
|
-
//
|
|
4113
|
-
//
|
|
4114
|
-
//
|
|
4115
|
-
//
|
|
4116
|
-
//
|
|
4117
|
-
//
|
|
4118
|
-
//
|
|
4119
|
-
//
|
|
4120
|
-
//
|
|
4121
|
-
//
|
|
4122
|
-
//
|
|
4123
|
-
//
|
|
4124
|
-
//
|
|
4125
|
-
//
|
|
4126
|
-
//
|
|
4127
|
-
//
|
|
4128
|
-
//
|
|
4129
|
-
//
|
|
4130
|
-
//
|
|
4131
|
-
//
|
|
4132
|
-
//
|
|
4133
|
-
//
|
|
4134
|
-
//
|
|
4135
|
-
//
|
|
4136
|
-
//
|
|
4137
|
-
//
|
|
4138
|
-
//
|
|
4139
|
-
//
|
|
4140
|
-
//
|
|
4141
4133
|
|
|
4142
4134
|
|
|
4143
4135
|
|
|
@@ -4217,27 +4209,21 @@ var Ripple = {
|
|
|
4217
4209
|
step: function step(dir, page) {
|
|
4218
4210
|
var totalShiftedItems = this.totalShiftedItems;
|
|
4219
4211
|
var isCircular = this.isCircular();
|
|
4220
|
-
|
|
4221
4212
|
if (page != null) {
|
|
4222
4213
|
totalShiftedItems = this.d_numScroll * page * -1;
|
|
4223
|
-
|
|
4224
4214
|
if (isCircular) {
|
|
4225
4215
|
totalShiftedItems -= this.d_numVisible;
|
|
4226
4216
|
}
|
|
4227
|
-
|
|
4228
4217
|
this.isRemainingItemsAdded = false;
|
|
4229
4218
|
} else {
|
|
4230
4219
|
totalShiftedItems += this.d_numScroll * dir;
|
|
4231
|
-
|
|
4232
4220
|
if (this.isRemainingItemsAdded) {
|
|
4233
4221
|
totalShiftedItems += this.remainingItems - this.d_numScroll * dir;
|
|
4234
4222
|
this.isRemainingItemsAdded = false;
|
|
4235
4223
|
}
|
|
4236
|
-
|
|
4237
4224
|
var originalShiftedItems = isCircular ? totalShiftedItems + this.d_numVisible : totalShiftedItems;
|
|
4238
4225
|
page = Math.abs(Math.floor(originalShiftedItems / this.d_numScroll));
|
|
4239
4226
|
}
|
|
4240
|
-
|
|
4241
4227
|
if (isCircular && this.d_page === this.totalIndicators - 1 && dir === -1) {
|
|
4242
4228
|
totalShiftedItems = -1 * (this.value.length + this.d_numVisible);
|
|
4243
4229
|
page = 0;
|
|
@@ -4248,13 +4234,11 @@ var Ripple = {
|
|
|
4248
4234
|
totalShiftedItems += this.remainingItems * -1 - this.d_numScroll * dir;
|
|
4249
4235
|
this.isRemainingItemsAdded = true;
|
|
4250
4236
|
}
|
|
4251
|
-
|
|
4252
4237
|
if (this.$refs.itemsContainer) {
|
|
4253
4238
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
4254
4239
|
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)");
|
|
4255
4240
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
4256
4241
|
}
|
|
4257
|
-
|
|
4258
4242
|
this.totalShiftedItems = totalShiftedItems;
|
|
4259
4243
|
this.$emit('update:page', page);
|
|
4260
4244
|
this.d_page = page;
|
|
@@ -4266,29 +4250,23 @@ var Ripple = {
|
|
|
4266
4250
|
numVisible: this.numVisible,
|
|
4267
4251
|
numScroll: this.numScroll
|
|
4268
4252
|
};
|
|
4269
|
-
|
|
4270
4253
|
for (var i = 0; i < this.responsiveOptions.length; i++) {
|
|
4271
4254
|
var res = this.responsiveOptions[i];
|
|
4272
|
-
|
|
4273
4255
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
4274
4256
|
matchedResponsiveOptionsData = res;
|
|
4275
4257
|
}
|
|
4276
4258
|
}
|
|
4277
|
-
|
|
4278
4259
|
if (this.d_numScroll !== matchedResponsiveOptionsData.numScroll) {
|
|
4279
4260
|
var page = this.d_page;
|
|
4280
4261
|
page = parseInt(page * this.d_numScroll / matchedResponsiveOptionsData.numScroll);
|
|
4281
4262
|
this.totalShiftedItems = matchedResponsiveOptionsData.numScroll * page * -1;
|
|
4282
|
-
|
|
4283
4263
|
if (this.isCircular()) {
|
|
4284
4264
|
this.totalShiftedItems -= matchedResponsiveOptionsData.numVisible;
|
|
4285
4265
|
}
|
|
4286
|
-
|
|
4287
4266
|
this.d_numScroll = matchedResponsiveOptionsData.numScroll;
|
|
4288
4267
|
this.$emit('update:page', page);
|
|
4289
4268
|
this.d_page = page;
|
|
4290
4269
|
}
|
|
4291
|
-
|
|
4292
4270
|
if (this.d_numVisible !== matchedResponsiveOptionsData.numVisible) {
|
|
4293
4271
|
this.d_numVisible = matchedResponsiveOptionsData.numVisible;
|
|
4294
4272
|
}
|
|
@@ -4298,9 +4276,7 @@ var Ripple = {
|
|
|
4298
4276
|
if (this.d_circular || this.d_page !== 0) {
|
|
4299
4277
|
this.step(1, index);
|
|
4300
4278
|
}
|
|
4301
|
-
|
|
4302
4279
|
this.allowAutoplay = false;
|
|
4303
|
-
|
|
4304
4280
|
if (e.cancelable) {
|
|
4305
4281
|
e.preventDefault();
|
|
4306
4282
|
}
|
|
@@ -4309,16 +4285,13 @@ var Ripple = {
|
|
|
4309
4285
|
if (this.d_circular || this.d_page < this.totalIndicators - 1) {
|
|
4310
4286
|
this.step(-1, index);
|
|
4311
4287
|
}
|
|
4312
|
-
|
|
4313
4288
|
this.allowAutoplay = false;
|
|
4314
|
-
|
|
4315
4289
|
if (e.cancelable) {
|
|
4316
4290
|
e.preventDefault();
|
|
4317
4291
|
}
|
|
4318
4292
|
},
|
|
4319
4293
|
onIndicatorClick: function onIndicatorClick(e, index) {
|
|
4320
4294
|
var page = this.d_page;
|
|
4321
|
-
|
|
4322
4295
|
if (index > page) {
|
|
4323
4296
|
this.navForward(e, index);
|
|
4324
4297
|
} else if (index < page) {
|
|
@@ -4329,7 +4302,6 @@ var Ripple = {
|
|
|
4329
4302
|
if (this.$refs.itemsContainer) {
|
|
4330
4303
|
DomHandler_DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
4331
4304
|
this.$refs.itemsContainer.style.transition = '';
|
|
4332
|
-
|
|
4333
4305
|
if ((this.d_page === 0 || this.d_page === this.totalIndicators - 1) && this.isCircular()) {
|
|
4334
4306
|
this.$refs.itemsContainer.style.transform = this.isVertical() ? "translate3d(0, ".concat(this.totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(this.totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
4335
4307
|
}
|
|
@@ -4349,7 +4321,6 @@ var Ripple = {
|
|
|
4349
4321
|
},
|
|
4350
4322
|
onTouchEnd: function onTouchEnd(e) {
|
|
4351
4323
|
var touchobj = e.changedTouches[0];
|
|
4352
|
-
|
|
4353
4324
|
if (this.isVertical()) {
|
|
4354
4325
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
4355
4326
|
} else {
|
|
@@ -4369,12 +4340,10 @@ var Ripple = {
|
|
|
4369
4340
|
},
|
|
4370
4341
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
4371
4342
|
var _this = this;
|
|
4372
|
-
|
|
4373
4343
|
if (!this.documentResizeListener) {
|
|
4374
4344
|
this.documentResizeListener = function (e) {
|
|
4375
4345
|
_this.calculatePosition(e);
|
|
4376
4346
|
};
|
|
4377
|
-
|
|
4378
4347
|
window.addEventListener('resize', this.documentResizeListener);
|
|
4379
4348
|
}
|
|
4380
4349
|
},
|
|
@@ -4386,7 +4355,6 @@ var Ripple = {
|
|
|
4386
4355
|
},
|
|
4387
4356
|
startAutoplay: function startAutoplay() {
|
|
4388
4357
|
var _this2 = this;
|
|
4389
|
-
|
|
4390
4358
|
this.interval = setInterval(function () {
|
|
4391
4359
|
if (_this2.d_page === _this2.totalIndicators - 1) {
|
|
4392
4360
|
_this2.step(-1, 0);
|
|
@@ -4406,9 +4374,7 @@ var Ripple = {
|
|
|
4406
4374
|
this.carouselStyle.type = 'text/css';
|
|
4407
4375
|
document.body.appendChild(this.carouselStyle);
|
|
4408
4376
|
}
|
|
4409
|
-
|
|
4410
4377
|
var innerHTML = "\n #".concat(this.id, " .p-carousel-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
4411
|
-
|
|
4412
4378
|
if (this.responsiveOptions) {
|
|
4413
4379
|
this.responsiveOptions.sort(function (data1, data2) {
|
|
4414
4380
|
var value1 = data1.breakpoint;
|
|
@@ -4419,13 +4385,11 @@ var Ripple = {
|
|
|
4419
4385
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
4420
4386
|
return -1 * result;
|
|
4421
4387
|
});
|
|
4422
|
-
|
|
4423
4388
|
for (var i = 0; i < this.responsiveOptions.length; i++) {
|
|
4424
4389
|
var res = this.responsiveOptions[i];
|
|
4425
4390
|
innerHTML += "\n @media screen and (max-width: ".concat(res.breakpoint, ") {\n #").concat(this.id, " .p-carousel-item {\n flex: 1 0 ").concat(100 / res.numVisible, "%\n }\n }\n ");
|
|
4426
4391
|
}
|
|
4427
4392
|
}
|
|
4428
|
-
|
|
4429
4393
|
this.carouselStyle.innerHTML = innerHTML;
|
|
4430
4394
|
},
|
|
4431
4395
|
isVertical: function isVertical() {
|
|
@@ -4447,7 +4411,6 @@ var Ripple = {
|
|
|
4447
4411
|
mounted: function mounted() {
|
|
4448
4412
|
this.createStyle();
|
|
4449
4413
|
this.calculatePosition();
|
|
4450
|
-
|
|
4451
4414
|
if (this.responsiveOptions) {
|
|
4452
4415
|
this.bindDocumentListeners();
|
|
4453
4416
|
}
|
|
@@ -4456,63 +4419,51 @@ var Ripple = {
|
|
|
4456
4419
|
var isCircular = this.isCircular();
|
|
4457
4420
|
var stateChanged = false;
|
|
4458
4421
|
var totalShiftedItems = this.totalShiftedItems;
|
|
4459
|
-
|
|
4460
4422
|
if (this.autoplayInterval) {
|
|
4461
4423
|
this.stopAutoplay();
|
|
4462
4424
|
}
|
|
4463
|
-
|
|
4464
4425
|
if (this.d_oldNumScroll !== this.d_numScroll || this.d_oldNumVisible !== this.d_numVisible || this.d_oldValue.length !== this.value.length) {
|
|
4465
4426
|
this.remainingItems = (this.value.length - this.d_numVisible) % this.d_numScroll;
|
|
4466
4427
|
var page = this.d_page;
|
|
4467
|
-
|
|
4468
4428
|
if (this.totalIndicators !== 0 && page >= this.totalIndicators) {
|
|
4469
4429
|
page = this.totalIndicators - 1;
|
|
4470
4430
|
this.$emit('update:page', page);
|
|
4471
4431
|
this.d_page = page;
|
|
4472
4432
|
stateChanged = true;
|
|
4473
4433
|
}
|
|
4474
|
-
|
|
4475
4434
|
totalShiftedItems = page * this.d_numScroll * -1;
|
|
4476
|
-
|
|
4477
4435
|
if (isCircular) {
|
|
4478
4436
|
totalShiftedItems -= this.d_numVisible;
|
|
4479
4437
|
}
|
|
4480
|
-
|
|
4481
4438
|
if (page === this.totalIndicators - 1 && this.remainingItems > 0) {
|
|
4482
4439
|
totalShiftedItems += -1 * this.remainingItems + this.d_numScroll;
|
|
4483
4440
|
this.isRemainingItemsAdded = true;
|
|
4484
4441
|
} else {
|
|
4485
4442
|
this.isRemainingItemsAdded = false;
|
|
4486
4443
|
}
|
|
4487
|
-
|
|
4488
4444
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
4489
4445
|
this.totalShiftedItems = totalShiftedItems;
|
|
4490
4446
|
stateChanged = true;
|
|
4491
4447
|
}
|
|
4492
|
-
|
|
4493
4448
|
this.d_oldNumScroll = this.d_numScroll;
|
|
4494
4449
|
this.d_oldNumVisible = this.d_numVisible;
|
|
4495
4450
|
this.d_oldValue = this.value;
|
|
4496
4451
|
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)");
|
|
4497
4452
|
}
|
|
4498
|
-
|
|
4499
4453
|
if (isCircular) {
|
|
4500
4454
|
if (this.d_page === 0) {
|
|
4501
4455
|
totalShiftedItems = -1 * this.d_numVisible;
|
|
4502
4456
|
} else if (totalShiftedItems === 0) {
|
|
4503
4457
|
totalShiftedItems = -1 * this.value.length;
|
|
4504
|
-
|
|
4505
4458
|
if (this.remainingItems > 0) {
|
|
4506
4459
|
this.isRemainingItemsAdded = true;
|
|
4507
4460
|
}
|
|
4508
4461
|
}
|
|
4509
|
-
|
|
4510
4462
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
4511
4463
|
this.totalShiftedItems = totalShiftedItems;
|
|
4512
4464
|
stateChanged = true;
|
|
4513
4465
|
}
|
|
4514
4466
|
}
|
|
4515
|
-
|
|
4516
4467
|
if (!stateChanged && this.isAutoplay()) {
|
|
4517
4468
|
this.startAutoplay();
|
|
4518
4469
|
}
|
|
@@ -4521,7 +4472,6 @@ var Ripple = {
|
|
|
4521
4472
|
if (this.responsiveOptions) {
|
|
4522
4473
|
this.unbindDocumentListeners();
|
|
4523
4474
|
}
|
|
4524
|
-
|
|
4525
4475
|
if (this.autoplayInterval) {
|
|
4526
4476
|
this.stopAutoplay();
|
|
4527
4477
|
}
|
|
@@ -4553,8 +4503,8 @@ var Ripple = {
|
|
|
4553
4503
|
});
|
|
4554
4504
|
// CONCATENATED MODULE: ./src/components/carousel/Carousel.vue?vue&type=script&lang=js&
|
|
4555
4505
|
/* harmony default export */ var carousel_Carouselvue_type_script_lang_js_ = (Carouselvue_type_script_lang_js_);
|
|
4556
|
-
// EXTERNAL MODULE: ./src/components/carousel/Carousel.vue?vue&type=style&index=0&lang=css&
|
|
4557
|
-
var
|
|
4506
|
+
// EXTERNAL MODULE: ./src/components/carousel/Carousel.vue?vue&type=style&index=0&id=6265cde7&prod&lang=css&
|
|
4507
|
+
var Carouselvue_type_style_index_0_id_6265cde7_prod_lang_css_ = __webpack_require__("fd1a");
|
|
4558
4508
|
|
|
4559
4509
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4560
4510
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4563,20 +4513,19 @@ var Carouselvue_type_style_index_0_lang_css_ = __webpack_require__("5487");
|
|
|
4563
4513
|
// This module is a runtime utility for cleaner component module output and will
|
|
4564
4514
|
// be included in the final webpack user bundle.
|
|
4565
4515
|
|
|
4566
|
-
function normalizeComponent
|
|
4516
|
+
function normalizeComponent(
|
|
4567
4517
|
scriptExports,
|
|
4568
4518
|
render,
|
|
4569
4519
|
staticRenderFns,
|
|
4570
4520
|
functionalTemplate,
|
|
4571
4521
|
injectStyles,
|
|
4572
4522
|
scopeId,
|
|
4573
|
-
moduleIdentifier
|
|
4523
|
+
moduleIdentifier /* server only */,
|
|
4574
4524
|
shadowMode /* vue-cli only */
|
|
4575
4525
|
) {
|
|
4576
4526
|
// Vue.extend constructor export interop
|
|
4577
|
-
var options =
|
|
4578
|
-
? scriptExports.options
|
|
4579
|
-
: scriptExports
|
|
4527
|
+
var options =
|
|
4528
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4580
4529
|
|
|
4581
4530
|
// render functions
|
|
4582
4531
|
if (render) {
|
|
@@ -4596,7 +4545,8 @@ function normalizeComponent (
|
|
|
4596
4545
|
}
|
|
4597
4546
|
|
|
4598
4547
|
var hook
|
|
4599
|
-
if (moduleIdentifier) {
|
|
4548
|
+
if (moduleIdentifier) {
|
|
4549
|
+
// server build
|
|
4600
4550
|
hook = function (context) {
|
|
4601
4551
|
// 2.3 injection
|
|
4602
4552
|
context =
|
|
@@ -4622,11 +4572,11 @@ function normalizeComponent (
|
|
|
4622
4572
|
} else if (injectStyles) {
|
|
4623
4573
|
hook = shadowMode
|
|
4624
4574
|
? function () {
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4575
|
+
injectStyles.call(
|
|
4576
|
+
this,
|
|
4577
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4578
|
+
)
|
|
4579
|
+
}
|
|
4630
4580
|
: injectStyles
|
|
4631
4581
|
}
|
|
4632
4582
|
|
|
@@ -4637,16 +4587,14 @@ function normalizeComponent (
|
|
|
4637
4587
|
options._injectStyles = hook
|
|
4638
4588
|
// register for functional component in vue file
|
|
4639
4589
|
var originalRender = options.render
|
|
4640
|
-
options.render = function renderWithStyleInjection
|
|
4590
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4641
4591
|
hook.call(context)
|
|
4642
4592
|
return originalRender(h, context)
|
|
4643
4593
|
}
|
|
4644
4594
|
} else {
|
|
4645
4595
|
// inject component registration as beforeCreate hook
|
|
4646
4596
|
var existing = options.beforeCreate
|
|
4647
|
-
options.beforeCreate = existing
|
|
4648
|
-
? [].concat(existing, hook)
|
|
4649
|
-
: [hook]
|
|
4597
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4650
4598
|
}
|
|
4651
4599
|
}
|
|
4652
4600
|
|
|
@@ -4684,6 +4632,17 @@ var component = normalizeComponent(
|
|
|
4684
4632
|
|
|
4685
4633
|
|
|
4686
4634
|
|
|
4635
|
+
/***/ }),
|
|
4636
|
+
|
|
4637
|
+
/***/ "fd1a":
|
|
4638
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4639
|
+
|
|
4640
|
+
"use strict";
|
|
4641
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_id_6265cde7_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2c02");
|
|
4642
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_id_6265cde7_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Carousel_vue_vue_type_style_index_0_id_6265cde7_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
4643
|
+
/* unused harmony reexport * */
|
|
4644
|
+
|
|
4645
|
+
|
|
4687
4646
|
/***/ }),
|
|
4688
4647
|
|
|
4689
4648
|
/***/ "fdef":
|