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
package/carousel/carousel.umd.js
CHANGED
|
@@ -974,6 +974,22 @@ var $exports = module.exports = function (name) {
|
|
|
974
974
|
$exports.store = store;
|
|
975
975
|
|
|
976
976
|
|
|
977
|
+
/***/ }),
|
|
978
|
+
|
|
979
|
+
/***/ "2c02":
|
|
980
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
981
|
+
|
|
982
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
983
|
+
|
|
984
|
+
// load the styles
|
|
985
|
+
var content = __webpack_require__("569b");
|
|
986
|
+
if(content.__esModule) content = content.default;
|
|
987
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
988
|
+
if(content.locals) module.exports = content.locals;
|
|
989
|
+
// add the styles to the DOM
|
|
990
|
+
var add = __webpack_require__("499e").default
|
|
991
|
+
var update = add("426becb7", content, true, {"sourceMap":false,"shadowMode":false});
|
|
992
|
+
|
|
977
993
|
/***/ }),
|
|
978
994
|
|
|
979
995
|
/***/ "2d00":
|
|
@@ -1585,17 +1601,6 @@ module.exports = patchedExec;
|
|
|
1585
1601
|
exports.f = {}.propertyIsEnumerable;
|
|
1586
1602
|
|
|
1587
1603
|
|
|
1588
|
-
/***/ }),
|
|
1589
|
-
|
|
1590
|
-
/***/ "5487":
|
|
1591
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1592
|
-
|
|
1593
|
-
"use strict";
|
|
1594
|
-
/* 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");
|
|
1595
|
-
/* 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__);
|
|
1596
|
-
/* unused harmony reexport * */
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
1604
|
/***/ }),
|
|
1600
1605
|
|
|
1601
1606
|
/***/ "5537":
|
|
@@ -1648,7 +1653,7 @@ $export($export.P + $export.F * (fails(function () {
|
|
|
1648
1653
|
|
|
1649
1654
|
/***/ }),
|
|
1650
1655
|
|
|
1651
|
-
/***/ "
|
|
1656
|
+
/***/ "569b":
|
|
1652
1657
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1653
1658
|
|
|
1654
1659
|
exports = module.exports = __webpack_require__("2350")(false);
|
|
@@ -2766,22 +2771,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
2766
2771
|
});
|
|
2767
2772
|
|
|
2768
2773
|
|
|
2769
|
-
/***/ }),
|
|
2770
|
-
|
|
2771
|
-
/***/ "a9f7":
|
|
2772
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2773
|
-
|
|
2774
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2775
|
-
|
|
2776
|
-
// load the styles
|
|
2777
|
-
var content = __webpack_require__("57f6");
|
|
2778
|
-
if(content.__esModule) content = content.default;
|
|
2779
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2780
|
-
if(content.locals) module.exports = content.locals;
|
|
2781
|
-
// add the styles to the DOM
|
|
2782
|
-
var add = __webpack_require__("499e").default
|
|
2783
|
-
var update = add("7be5b558", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2784
|
-
|
|
2785
2774
|
/***/ }),
|
|
2786
2775
|
|
|
2787
2776
|
/***/ "aa77":
|
|
@@ -3344,19 +3333,140 @@ if (typeof window !== 'undefined') {
|
|
|
3344
3333
|
// Indicate to webpack that this file can be concatenated
|
|
3345
3334
|
/* harmony default export */ var setPublicPath = (null);
|
|
3346
3335
|
|
|
3347
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3348
|
-
var render = function () {
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3336
|
+
// 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&
|
|
3337
|
+
var render = function render() {
|
|
3338
|
+
var _vm = this,
|
|
3339
|
+
_c = _vm._self._c;
|
|
3340
|
+
return _c('div', {
|
|
3341
|
+
class: ['p-carousel p-component', {
|
|
3342
|
+
'p-carousel-vertical': _vm.isVertical(),
|
|
3343
|
+
'p-carousel-horizontal': !_vm.isVertical()
|
|
3344
|
+
}],
|
|
3345
|
+
attrs: {
|
|
3346
|
+
"id": _vm.id
|
|
3347
|
+
}
|
|
3348
|
+
}, [_vm.$scopedSlots.header ? _c('div', {
|
|
3349
|
+
staticClass: "p-carousel-header"
|
|
3350
|
+
}, [_vm._t("header")], 2) : _vm._e(), _c('div', {
|
|
3351
|
+
class: _vm.contentClasses
|
|
3352
|
+
}, [_c('div', {
|
|
3353
|
+
class: _vm.containerClasses
|
|
3354
|
+
}, [_c('button', {
|
|
3355
|
+
directives: [{
|
|
3356
|
+
name: "ripple",
|
|
3357
|
+
rawName: "v-ripple"
|
|
3358
|
+
}],
|
|
3359
|
+
class: ['p-carousel-prev p-link', {
|
|
3360
|
+
'p-disabled': _vm.backwardIsDisabled
|
|
3361
|
+
}],
|
|
3362
|
+
attrs: {
|
|
3363
|
+
"disabled": _vm.backwardIsDisabled,
|
|
3364
|
+
"type": "button"
|
|
3365
|
+
},
|
|
3366
|
+
on: {
|
|
3367
|
+
"click": _vm.navBackward
|
|
3368
|
+
}
|
|
3369
|
+
}, [_c('span', {
|
|
3370
|
+
class: ['p-carousel-prev-icon pi', {
|
|
3371
|
+
'pi-chevron-left': !_vm.isVertical(),
|
|
3372
|
+
'pi-chevron-up': _vm.isVertical()
|
|
3373
|
+
}]
|
|
3374
|
+
})]), _c('div', {
|
|
3375
|
+
staticClass: "p-carousel-items-content",
|
|
3376
|
+
style: [{
|
|
3377
|
+
'height': _vm.isVertical() ? _vm.verticalViewPortHeight : 'auto'
|
|
3378
|
+
}],
|
|
3379
|
+
on: {
|
|
3380
|
+
"touchend": _vm.onTouchEnd,
|
|
3381
|
+
"touchstart": _vm.onTouchStart,
|
|
3382
|
+
"touchmove": _vm.onTouchMove
|
|
3383
|
+
}
|
|
3384
|
+
}, [_c('div', {
|
|
3385
|
+
ref: "itemsContainer",
|
|
3386
|
+
staticClass: "p-carousel-items-container",
|
|
3387
|
+
on: {
|
|
3388
|
+
"transitionend": _vm.onTransitionEnd
|
|
3389
|
+
}
|
|
3390
|
+
}, [_vm.isCircular() ? _vm._l(_vm.value.slice(-1 * _vm.d_numVisible), function (item, index) {
|
|
3391
|
+
return _c('div', {
|
|
3392
|
+
key: index + '_scloned',
|
|
3393
|
+
class: ['p-carousel-item p-carousel-item-cloned', {
|
|
3394
|
+
'p-carousel-item-active': _vm.totalShiftedItems * -1 === _vm.value.length + _vm.d_numVisible,
|
|
3395
|
+
'p-carousel-item-start': 0 === index,
|
|
3396
|
+
'p-carousel-item-end': _vm.value.slice(-1 * _vm.d_numVisible).length - 1 === index
|
|
3397
|
+
}]
|
|
3398
|
+
}, [_vm._t("item", null, {
|
|
3399
|
+
"data": item,
|
|
3400
|
+
"index": index
|
|
3401
|
+
})], 2);
|
|
3402
|
+
}) : _vm._e(), _vm._l(_vm.value, function (item, index) {
|
|
3403
|
+
return _c('div', {
|
|
3404
|
+
key: index,
|
|
3405
|
+
class: ['p-carousel-item', {
|
|
3406
|
+
'p-carousel-item-active': _vm.firstIndex() <= index && _vm.lastIndex() >= index,
|
|
3407
|
+
'p-carousel-item-start': _vm.firstIndex() === index,
|
|
3408
|
+
'p-carousel-item-end': _vm.lastIndex() === index
|
|
3409
|
+
}]
|
|
3410
|
+
}, [_vm._t("item", null, {
|
|
3411
|
+
"data": item,
|
|
3412
|
+
"index": index
|
|
3413
|
+
})], 2);
|
|
3414
|
+
}), _vm.isCircular() ? _vm._l(_vm.value.slice(0, _vm.d_numVisible), function (item, index) {
|
|
3415
|
+
return _c('div', {
|
|
3416
|
+
key: index + '_fcloned',
|
|
3417
|
+
class: ['p-carousel-item p-carousel-item-cloned', {
|
|
3418
|
+
'p-carousel-item-active': _vm.totalShiftedItems === 0,
|
|
3419
|
+
'p-carousel-item-start': 0 === index,
|
|
3420
|
+
'p-carousel-item-end': _vm.value.slice(0, _vm.d_numVisible).length - 1 === index
|
|
3421
|
+
}]
|
|
3422
|
+
}, [_vm._t("item", null, {
|
|
3423
|
+
"data": item,
|
|
3424
|
+
"index": index
|
|
3425
|
+
})], 2);
|
|
3426
|
+
}) : _vm._e()], 2)]), _c('button', {
|
|
3427
|
+
directives: [{
|
|
3428
|
+
name: "ripple",
|
|
3429
|
+
rawName: "v-ripple"
|
|
3430
|
+
}],
|
|
3431
|
+
class: ['p-carousel-next p-link', {
|
|
3432
|
+
'p-disabled': _vm.forwardIsDisabled
|
|
3433
|
+
}],
|
|
3434
|
+
attrs: {
|
|
3435
|
+
"disabled": _vm.forwardIsDisabled,
|
|
3436
|
+
"type": "button"
|
|
3437
|
+
},
|
|
3438
|
+
on: {
|
|
3439
|
+
"click": _vm.navForward
|
|
3440
|
+
}
|
|
3441
|
+
}, [_c('span', {
|
|
3442
|
+
class: ['p-carousel-prev-icon pi', {
|
|
3443
|
+
'pi-chevron-right': !_vm.isVertical(),
|
|
3444
|
+
'pi-chevron-down': _vm.isVertical()
|
|
3445
|
+
}]
|
|
3446
|
+
})])]), _c('ul', {
|
|
3447
|
+
class: _vm.indicatorsContentClasses
|
|
3448
|
+
}, _vm._l(_vm.totalIndicators, function (indicator, i) {
|
|
3449
|
+
return _c('li', {
|
|
3450
|
+
key: 'p-carousel-indicator-' + i,
|
|
3451
|
+
class: ['p-carousel-indicator', {
|
|
3452
|
+
'p-highlight': _vm.d_page === i
|
|
3453
|
+
}]
|
|
3454
|
+
}, [_c('button', {
|
|
3455
|
+
staticClass: "p-link",
|
|
3456
|
+
attrs: {
|
|
3457
|
+
"type": "button"
|
|
3458
|
+
},
|
|
3459
|
+
on: {
|
|
3460
|
+
"click": function click($event) {
|
|
3461
|
+
return _vm.onIndicatorClick($event, i);
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
})]);
|
|
3465
|
+
}), 0)]), _vm.$scopedSlots.footer ? _c('div', {
|
|
3466
|
+
staticClass: "p-carousel-footer"
|
|
3467
|
+
}, [_vm._t("footer")], 2) : _vm._e()]);
|
|
3468
|
+
};
|
|
3469
|
+
var staticRenderFns = [];
|
|
3360
3470
|
|
|
3361
3471
|
// CONCATENATED MODULE: ./src/components/carousel/Carousel.vue?vue&type=template&id=6265cde7&
|
|
3362
3472
|
|
|
@@ -3415,26 +3525,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3415
3525
|
|
|
3416
3526
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3417
3527
|
|
|
3418
|
-
|
|
3419
3528
|
function _defineProperties(target, props) {
|
|
3420
3529
|
for (var i = 0; i < props.length; i++) {
|
|
3421
3530
|
var descriptor = props[i];
|
|
3422
3531
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3423
3532
|
descriptor.configurable = true;
|
|
3424
3533
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3425
|
-
|
|
3426
3534
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3427
3535
|
}
|
|
3428
3536
|
}
|
|
3429
|
-
|
|
3430
3537
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3431
3538
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3432
3539
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3433
|
-
|
|
3434
3540
|
define_property_default()(Constructor, "prototype", {
|
|
3435
3541
|
writable: false
|
|
3436
3542
|
});
|
|
3437
|
-
|
|
3438
3543
|
return Constructor;
|
|
3439
3544
|
}
|
|
3440
3545
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3450,18 +3555,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3450
3555
|
|
|
3451
3556
|
|
|
3452
3557
|
|
|
3453
|
-
|
|
3454
3558
|
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; } } }; }
|
|
3455
|
-
|
|
3456
3559
|
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); }
|
|
3457
|
-
|
|
3458
3560
|
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; }
|
|
3459
|
-
|
|
3460
3561
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3461
3562
|
function DomHandler() {
|
|
3462
3563
|
_classCallCheck(this, DomHandler);
|
|
3463
3564
|
}
|
|
3464
|
-
|
|
3465
3565
|
_createClass(DomHandler, null, [{
|
|
3466
3566
|
key: "innerWidth",
|
|
3467
3567
|
value: function innerWidth(el) {
|
|
@@ -3495,12 +3595,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3495
3595
|
value: function getOuterWidth(el, margin) {
|
|
3496
3596
|
if (el) {
|
|
3497
3597
|
var width = el.offsetWidth;
|
|
3498
|
-
|
|
3499
3598
|
if (margin) {
|
|
3500
3599
|
var style = getComputedStyle(el);
|
|
3501
3600
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3502
3601
|
}
|
|
3503
|
-
|
|
3504
3602
|
return width;
|
|
3505
3603
|
} else {
|
|
3506
3604
|
return 0;
|
|
@@ -3511,12 +3609,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3511
3609
|
value: function getOuterHeight(el, margin) {
|
|
3512
3610
|
if (el) {
|
|
3513
3611
|
var height = el.offsetHeight;
|
|
3514
|
-
|
|
3515
3612
|
if (margin) {
|
|
3516
3613
|
var style = getComputedStyle(el);
|
|
3517
3614
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3518
3615
|
}
|
|
3519
|
-
|
|
3520
3616
|
return height;
|
|
3521
3617
|
} else {
|
|
3522
3618
|
return 0;
|
|
@@ -3527,12 +3623,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3527
3623
|
value: function getClientHeight(el, margin) {
|
|
3528
3624
|
if (el) {
|
|
3529
3625
|
var height = el.clientHeight;
|
|
3530
|
-
|
|
3531
3626
|
if (margin) {
|
|
3532
3627
|
var style = getComputedStyle(el);
|
|
3533
3628
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3534
3629
|
}
|
|
3535
|
-
|
|
3536
3630
|
return height;
|
|
3537
3631
|
} else {
|
|
3538
3632
|
return 0;
|
|
@@ -3542,11 +3636,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3542
3636
|
key: "getViewport",
|
|
3543
3637
|
value: function getViewport() {
|
|
3544
3638
|
var win = window,
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3639
|
+
d = document,
|
|
3640
|
+
e = d.documentElement,
|
|
3641
|
+
g = d.getElementsByTagName('body')[0],
|
|
3642
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3643
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3550
3644
|
return {
|
|
3551
3645
|
width: w,
|
|
3552
3646
|
height: h
|
|
@@ -3577,12 +3671,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3577
3671
|
value: function index(element) {
|
|
3578
3672
|
var children = element.parentNode.childNodes;
|
|
3579
3673
|
var num = 0;
|
|
3580
|
-
|
|
3581
3674
|
for (var i = 0; i < children.length; i++) {
|
|
3582
3675
|
if (children[i] === element) return num;
|
|
3583
3676
|
if (children[i].nodeType === 1) num++;
|
|
3584
3677
|
}
|
|
3585
|
-
|
|
3586
3678
|
return -1;
|
|
3587
3679
|
}
|
|
3588
3680
|
}, {
|
|
@@ -3590,13 +3682,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3590
3682
|
value: function addMultipleClasses(element, className) {
|
|
3591
3683
|
if (element.classList) {
|
|
3592
3684
|
var styles = className.split(' ');
|
|
3593
|
-
|
|
3594
3685
|
for (var i = 0; i < styles.length; i++) {
|
|
3595
3686
|
element.classList.add(styles[i]);
|
|
3596
3687
|
}
|
|
3597
3688
|
} else {
|
|
3598
3689
|
var _styles = className.split(' ');
|
|
3599
|
-
|
|
3600
3690
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3601
3691
|
element.className += ' ' + _styles[_i];
|
|
3602
3692
|
}
|
|
@@ -3618,7 +3708,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3618
3708
|
if (element) {
|
|
3619
3709
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3620
3710
|
}
|
|
3621
|
-
|
|
3622
3711
|
return false;
|
|
3623
3712
|
}
|
|
3624
3713
|
}, {
|
|
@@ -3663,11 +3752,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3663
3752
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3664
3753
|
var viewport = this.getViewport();
|
|
3665
3754
|
var top, left;
|
|
3666
|
-
|
|
3667
3755
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3668
3756
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3669
3757
|
element.style.transformOrigin = 'bottom';
|
|
3670
|
-
|
|
3671
3758
|
if (top < 0) {
|
|
3672
3759
|
top = windowScrollTop;
|
|
3673
3760
|
}
|
|
@@ -3675,7 +3762,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3675
3762
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3676
3763
|
element.style.transformOrigin = 'top';
|
|
3677
3764
|
}
|
|
3678
|
-
|
|
3679
3765
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3680
3766
|
element.style.top = top + 'px';
|
|
3681
3767
|
element.style.left = left + 'px';
|
|
@@ -3691,11 +3777,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3691
3777
|
var targetOffset = target.getBoundingClientRect();
|
|
3692
3778
|
var viewport = this.getViewport();
|
|
3693
3779
|
var top, left;
|
|
3694
|
-
|
|
3695
3780
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3696
3781
|
top = -1 * elementDimensions.height;
|
|
3697
3782
|
element.style.transformOrigin = 'bottom';
|
|
3698
|
-
|
|
3699
3783
|
if (targetOffset.top + top < 0) {
|
|
3700
3784
|
top = -1 * targetOffset.top;
|
|
3701
3785
|
}
|
|
@@ -3703,7 +3787,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3703
3787
|
top = targetHeight;
|
|
3704
3788
|
element.style.transformOrigin = 'top';
|
|
3705
3789
|
}
|
|
3706
|
-
|
|
3707
3790
|
if (elementDimensions.width > viewport.width) {
|
|
3708
3791
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3709
3792
|
left = targetOffset.left * -1;
|
|
@@ -3714,7 +3797,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3714
3797
|
// element fits on screen (align with target)
|
|
3715
3798
|
left = 0;
|
|
3716
3799
|
}
|
|
3717
|
-
|
|
3718
3800
|
element.style.top = top + 'px';
|
|
3719
3801
|
element.style.left = left + 'px';
|
|
3720
3802
|
}
|
|
@@ -3728,35 +3810,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3728
3810
|
key: "getScrollableParents",
|
|
3729
3811
|
value: function getScrollableParents(element) {
|
|
3730
3812
|
var scrollableParents = [];
|
|
3731
|
-
|
|
3732
3813
|
if (element) {
|
|
3733
3814
|
var parents = this.getParents(element);
|
|
3734
3815
|
var overflowRegex = /(auto|scroll)/;
|
|
3735
|
-
|
|
3736
3816
|
var overflowCheck = function overflowCheck(node) {
|
|
3737
3817
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3738
3818
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3739
3819
|
};
|
|
3740
|
-
|
|
3741
3820
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3742
|
-
|
|
3743
|
-
|
|
3821
|
+
_step;
|
|
3744
3822
|
try {
|
|
3745
3823
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3746
3824
|
var parent = _step.value;
|
|
3747
3825
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3748
|
-
|
|
3749
3826
|
if (scrollSelectors) {
|
|
3750
3827
|
var selectors = scrollSelectors.split(',');
|
|
3751
|
-
|
|
3752
3828
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3753
|
-
|
|
3754
|
-
|
|
3829
|
+
_step2;
|
|
3755
3830
|
try {
|
|
3756
3831
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3757
3832
|
var selector = _step2.value;
|
|
3758
3833
|
var el = this.findSingle(parent, selector);
|
|
3759
|
-
|
|
3760
3834
|
if (el && overflowCheck(el)) {
|
|
3761
3835
|
scrollableParents.push(el);
|
|
3762
3836
|
}
|
|
@@ -3774,7 +3848,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3774
3848
|
_iterator.f();
|
|
3775
3849
|
}
|
|
3776
3850
|
}
|
|
3777
|
-
|
|
3778
3851
|
return scrollableParents;
|
|
3779
3852
|
}
|
|
3780
3853
|
}, {
|
|
@@ -3815,34 +3888,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3815
3888
|
element.style.opacity = 0;
|
|
3816
3889
|
var last = +new Date();
|
|
3817
3890
|
var opacity = 0;
|
|
3818
|
-
|
|
3819
3891
|
var tick = function tick() {
|
|
3820
3892
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3821
3893
|
element.style.opacity = opacity;
|
|
3822
3894
|
last = +new Date();
|
|
3823
|
-
|
|
3824
3895
|
if (+opacity < 1) {
|
|
3825
3896
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3826
3897
|
}
|
|
3827
3898
|
};
|
|
3828
|
-
|
|
3829
3899
|
tick();
|
|
3830
3900
|
}
|
|
3831
3901
|
}, {
|
|
3832
3902
|
key: "fadeOut",
|
|
3833
3903
|
value: function fadeOut(element, ms) {
|
|
3834
3904
|
var opacity = 1,
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3905
|
+
interval = 50,
|
|
3906
|
+
duration = ms,
|
|
3907
|
+
gap = interval / duration;
|
|
3838
3908
|
var fading = setInterval(function () {
|
|
3839
3909
|
opacity -= gap;
|
|
3840
|
-
|
|
3841
3910
|
if (opacity <= 0) {
|
|
3842
3911
|
opacity = 0;
|
|
3843
3912
|
clearInterval(fading);
|
|
3844
3913
|
}
|
|
3845
|
-
|
|
3846
3914
|
element.style.opacity = opacity;
|
|
3847
3915
|
}, interval);
|
|
3848
3916
|
}
|
|
@@ -3869,7 +3937,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3869
3937
|
var scroll = container.scrollTop;
|
|
3870
3938
|
var elementHeight = container.clientHeight;
|
|
3871
3939
|
var itemHeight = this.getOuterHeight(item);
|
|
3872
|
-
|
|
3873
3940
|
if (offset < 0) {
|
|
3874
3941
|
container.scrollTop = scroll + offset;
|
|
3875
3942
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3888,7 +3955,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3888
3955
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3889
3956
|
try {
|
|
3890
3957
|
document['selection'].empty();
|
|
3891
|
-
} catch (error) {
|
|
3958
|
+
} catch (error) {
|
|
3959
|
+
//ignore IE bug
|
|
3892
3960
|
}
|
|
3893
3961
|
}
|
|
3894
3962
|
}
|
|
@@ -3910,19 +3978,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3910
3978
|
if (!this.browser) {
|
|
3911
3979
|
var matched = this.resolveUserAgent();
|
|
3912
3980
|
this.browser = {};
|
|
3913
|
-
|
|
3914
3981
|
if (matched.browser) {
|
|
3915
3982
|
this.browser[matched.browser] = true;
|
|
3916
3983
|
this.browser['version'] = matched.version;
|
|
3917
3984
|
}
|
|
3918
|
-
|
|
3919
3985
|
if (this.browser['chrome']) {
|
|
3920
3986
|
this.browser['webkit'] = true;
|
|
3921
3987
|
} else if (this.browser['webkit']) {
|
|
3922
3988
|
this.browser['safari'] = true;
|
|
3923
3989
|
}
|
|
3924
3990
|
}
|
|
3925
|
-
|
|
3926
3991
|
return this.browser;
|
|
3927
3992
|
}
|
|
3928
3993
|
}, {
|
|
@@ -3950,10 +4015,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3950
4015
|
value: function getFocusableElements(element) {
|
|
3951
4016
|
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])");
|
|
3952
4017
|
var visibleFocusableElements = [];
|
|
3953
|
-
|
|
3954
4018
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3955
|
-
|
|
3956
|
-
|
|
4019
|
+
_step3;
|
|
3957
4020
|
try {
|
|
3958
4021
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3959
4022
|
var focusableElement = _step3.value;
|
|
@@ -3964,7 +4027,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3964
4027
|
} finally {
|
|
3965
4028
|
_iterator3.f();
|
|
3966
4029
|
}
|
|
3967
|
-
|
|
3968
4030
|
return visibleFocusableElements;
|
|
3969
4031
|
}
|
|
3970
4032
|
}, {
|
|
@@ -4007,55 +4069,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4007
4069
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4008
4070
|
}
|
|
4009
4071
|
}]);
|
|
4010
|
-
|
|
4011
4072
|
return DomHandler;
|
|
4012
4073
|
}();
|
|
4013
4074
|
|
|
4014
|
-
|
|
4015
4075
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
4016
4076
|
|
|
4017
|
-
|
|
4018
4077
|
function bindEvents(el) {
|
|
4019
4078
|
el.addEventListener('mousedown', onMouseDown);
|
|
4020
4079
|
}
|
|
4021
|
-
|
|
4022
4080
|
function unbindEvents(el) {
|
|
4023
4081
|
el.removeEventListener('mousedown', onMouseDown);
|
|
4024
4082
|
}
|
|
4025
|
-
|
|
4026
4083
|
function create(el) {
|
|
4027
4084
|
var ink = document.createElement('span');
|
|
4028
4085
|
ink.className = 'p-ink';
|
|
4029
4086
|
el.appendChild(ink);
|
|
4030
4087
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
4031
4088
|
}
|
|
4032
|
-
|
|
4033
4089
|
function remove(el) {
|
|
4034
4090
|
var ink = getInk(el);
|
|
4035
|
-
|
|
4036
4091
|
if (ink) {
|
|
4037
4092
|
unbindEvents(el);
|
|
4038
4093
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
4039
4094
|
ink.remove();
|
|
4040
4095
|
}
|
|
4041
4096
|
}
|
|
4042
|
-
|
|
4043
4097
|
function onMouseDown(event) {
|
|
4044
4098
|
var target = event.currentTarget;
|
|
4045
4099
|
var ink = getInk(target);
|
|
4046
|
-
|
|
4047
4100
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
4048
4101
|
return;
|
|
4049
4102
|
}
|
|
4050
|
-
|
|
4051
4103
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
4052
|
-
|
|
4053
4104
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
4054
4105
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4055
4106
|
ink.style.height = d + 'px';
|
|
4056
4107
|
ink.style.width = d + 'px';
|
|
4057
4108
|
}
|
|
4058
|
-
|
|
4059
4109
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4060
4110
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4061
4111
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4063,21 +4113,17 @@ function onMouseDown(event) {
|
|
|
4063
4113
|
ink.style.left = x + 'px';
|
|
4064
4114
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4065
4115
|
}
|
|
4066
|
-
|
|
4067
4116
|
function onAnimationEnd(event) {
|
|
4068
4117
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4069
4118
|
}
|
|
4070
|
-
|
|
4071
4119
|
function getInk(el) {
|
|
4072
4120
|
for (var i = 0; i < el.children.length; i++) {
|
|
4073
4121
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4074
4122
|
return el.children[i];
|
|
4075
4123
|
}
|
|
4076
4124
|
}
|
|
4077
|
-
|
|
4078
4125
|
return null;
|
|
4079
4126
|
}
|
|
4080
|
-
|
|
4081
4127
|
var Ripple = {
|
|
4082
4128
|
inserted: function inserted(el, binding, vnode) {
|
|
4083
4129
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4093,60 +4139,6 @@ var Ripple = {
|
|
|
4093
4139
|
// 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&
|
|
4094
4140
|
|
|
4095
4141
|
|
|
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
|
-
//
|
|
4142
|
-
//
|
|
4143
|
-
//
|
|
4144
|
-
//
|
|
4145
|
-
//
|
|
4146
|
-
//
|
|
4147
|
-
//
|
|
4148
|
-
//
|
|
4149
|
-
//
|
|
4150
4142
|
|
|
4151
4143
|
|
|
4152
4144
|
|
|
@@ -4226,27 +4218,21 @@ var Ripple = {
|
|
|
4226
4218
|
step: function step(dir, page) {
|
|
4227
4219
|
var totalShiftedItems = this.totalShiftedItems;
|
|
4228
4220
|
var isCircular = this.isCircular();
|
|
4229
|
-
|
|
4230
4221
|
if (page != null) {
|
|
4231
4222
|
totalShiftedItems = this.d_numScroll * page * -1;
|
|
4232
|
-
|
|
4233
4223
|
if (isCircular) {
|
|
4234
4224
|
totalShiftedItems -= this.d_numVisible;
|
|
4235
4225
|
}
|
|
4236
|
-
|
|
4237
4226
|
this.isRemainingItemsAdded = false;
|
|
4238
4227
|
} else {
|
|
4239
4228
|
totalShiftedItems += this.d_numScroll * dir;
|
|
4240
|
-
|
|
4241
4229
|
if (this.isRemainingItemsAdded) {
|
|
4242
4230
|
totalShiftedItems += this.remainingItems - this.d_numScroll * dir;
|
|
4243
4231
|
this.isRemainingItemsAdded = false;
|
|
4244
4232
|
}
|
|
4245
|
-
|
|
4246
4233
|
var originalShiftedItems = isCircular ? totalShiftedItems + this.d_numVisible : totalShiftedItems;
|
|
4247
4234
|
page = Math.abs(Math.floor(originalShiftedItems / this.d_numScroll));
|
|
4248
4235
|
}
|
|
4249
|
-
|
|
4250
4236
|
if (isCircular && this.d_page === this.totalIndicators - 1 && dir === -1) {
|
|
4251
4237
|
totalShiftedItems = -1 * (this.value.length + this.d_numVisible);
|
|
4252
4238
|
page = 0;
|
|
@@ -4257,13 +4243,11 @@ var Ripple = {
|
|
|
4257
4243
|
totalShiftedItems += this.remainingItems * -1 - this.d_numScroll * dir;
|
|
4258
4244
|
this.isRemainingItemsAdded = true;
|
|
4259
4245
|
}
|
|
4260
|
-
|
|
4261
4246
|
if (this.$refs.itemsContainer) {
|
|
4262
4247
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
4263
4248
|
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)");
|
|
4264
4249
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
4265
4250
|
}
|
|
4266
|
-
|
|
4267
4251
|
this.totalShiftedItems = totalShiftedItems;
|
|
4268
4252
|
this.$emit('update:page', page);
|
|
4269
4253
|
this.d_page = page;
|
|
@@ -4275,29 +4259,23 @@ var Ripple = {
|
|
|
4275
4259
|
numVisible: this.numVisible,
|
|
4276
4260
|
numScroll: this.numScroll
|
|
4277
4261
|
};
|
|
4278
|
-
|
|
4279
4262
|
for (var i = 0; i < this.responsiveOptions.length; i++) {
|
|
4280
4263
|
var res = this.responsiveOptions[i];
|
|
4281
|
-
|
|
4282
4264
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
4283
4265
|
matchedResponsiveOptionsData = res;
|
|
4284
4266
|
}
|
|
4285
4267
|
}
|
|
4286
|
-
|
|
4287
4268
|
if (this.d_numScroll !== matchedResponsiveOptionsData.numScroll) {
|
|
4288
4269
|
var page = this.d_page;
|
|
4289
4270
|
page = parseInt(page * this.d_numScroll / matchedResponsiveOptionsData.numScroll);
|
|
4290
4271
|
this.totalShiftedItems = matchedResponsiveOptionsData.numScroll * page * -1;
|
|
4291
|
-
|
|
4292
4272
|
if (this.isCircular()) {
|
|
4293
4273
|
this.totalShiftedItems -= matchedResponsiveOptionsData.numVisible;
|
|
4294
4274
|
}
|
|
4295
|
-
|
|
4296
4275
|
this.d_numScroll = matchedResponsiveOptionsData.numScroll;
|
|
4297
4276
|
this.$emit('update:page', page);
|
|
4298
4277
|
this.d_page = page;
|
|
4299
4278
|
}
|
|
4300
|
-
|
|
4301
4279
|
if (this.d_numVisible !== matchedResponsiveOptionsData.numVisible) {
|
|
4302
4280
|
this.d_numVisible = matchedResponsiveOptionsData.numVisible;
|
|
4303
4281
|
}
|
|
@@ -4307,9 +4285,7 @@ var Ripple = {
|
|
|
4307
4285
|
if (this.d_circular || this.d_page !== 0) {
|
|
4308
4286
|
this.step(1, index);
|
|
4309
4287
|
}
|
|
4310
|
-
|
|
4311
4288
|
this.allowAutoplay = false;
|
|
4312
|
-
|
|
4313
4289
|
if (e.cancelable) {
|
|
4314
4290
|
e.preventDefault();
|
|
4315
4291
|
}
|
|
@@ -4318,16 +4294,13 @@ var Ripple = {
|
|
|
4318
4294
|
if (this.d_circular || this.d_page < this.totalIndicators - 1) {
|
|
4319
4295
|
this.step(-1, index);
|
|
4320
4296
|
}
|
|
4321
|
-
|
|
4322
4297
|
this.allowAutoplay = false;
|
|
4323
|
-
|
|
4324
4298
|
if (e.cancelable) {
|
|
4325
4299
|
e.preventDefault();
|
|
4326
4300
|
}
|
|
4327
4301
|
},
|
|
4328
4302
|
onIndicatorClick: function onIndicatorClick(e, index) {
|
|
4329
4303
|
var page = this.d_page;
|
|
4330
|
-
|
|
4331
4304
|
if (index > page) {
|
|
4332
4305
|
this.navForward(e, index);
|
|
4333
4306
|
} else if (index < page) {
|
|
@@ -4338,7 +4311,6 @@ var Ripple = {
|
|
|
4338
4311
|
if (this.$refs.itemsContainer) {
|
|
4339
4312
|
DomHandler_DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
4340
4313
|
this.$refs.itemsContainer.style.transition = '';
|
|
4341
|
-
|
|
4342
4314
|
if ((this.d_page === 0 || this.d_page === this.totalIndicators - 1) && this.isCircular()) {
|
|
4343
4315
|
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)");
|
|
4344
4316
|
}
|
|
@@ -4358,7 +4330,6 @@ var Ripple = {
|
|
|
4358
4330
|
},
|
|
4359
4331
|
onTouchEnd: function onTouchEnd(e) {
|
|
4360
4332
|
var touchobj = e.changedTouches[0];
|
|
4361
|
-
|
|
4362
4333
|
if (this.isVertical()) {
|
|
4363
4334
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
4364
4335
|
} else {
|
|
@@ -4378,12 +4349,10 @@ var Ripple = {
|
|
|
4378
4349
|
},
|
|
4379
4350
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
4380
4351
|
var _this = this;
|
|
4381
|
-
|
|
4382
4352
|
if (!this.documentResizeListener) {
|
|
4383
4353
|
this.documentResizeListener = function (e) {
|
|
4384
4354
|
_this.calculatePosition(e);
|
|
4385
4355
|
};
|
|
4386
|
-
|
|
4387
4356
|
window.addEventListener('resize', this.documentResizeListener);
|
|
4388
4357
|
}
|
|
4389
4358
|
},
|
|
@@ -4395,7 +4364,6 @@ var Ripple = {
|
|
|
4395
4364
|
},
|
|
4396
4365
|
startAutoplay: function startAutoplay() {
|
|
4397
4366
|
var _this2 = this;
|
|
4398
|
-
|
|
4399
4367
|
this.interval = setInterval(function () {
|
|
4400
4368
|
if (_this2.d_page === _this2.totalIndicators - 1) {
|
|
4401
4369
|
_this2.step(-1, 0);
|
|
@@ -4415,9 +4383,7 @@ var Ripple = {
|
|
|
4415
4383
|
this.carouselStyle.type = 'text/css';
|
|
4416
4384
|
document.body.appendChild(this.carouselStyle);
|
|
4417
4385
|
}
|
|
4418
|
-
|
|
4419
4386
|
var innerHTML = "\n #".concat(this.id, " .p-carousel-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
4420
|
-
|
|
4421
4387
|
if (this.responsiveOptions) {
|
|
4422
4388
|
this.responsiveOptions.sort(function (data1, data2) {
|
|
4423
4389
|
var value1 = data1.breakpoint;
|
|
@@ -4428,13 +4394,11 @@ var Ripple = {
|
|
|
4428
4394
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
4429
4395
|
return -1 * result;
|
|
4430
4396
|
});
|
|
4431
|
-
|
|
4432
4397
|
for (var i = 0; i < this.responsiveOptions.length; i++) {
|
|
4433
4398
|
var res = this.responsiveOptions[i];
|
|
4434
4399
|
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 ");
|
|
4435
4400
|
}
|
|
4436
4401
|
}
|
|
4437
|
-
|
|
4438
4402
|
this.carouselStyle.innerHTML = innerHTML;
|
|
4439
4403
|
},
|
|
4440
4404
|
isVertical: function isVertical() {
|
|
@@ -4456,7 +4420,6 @@ var Ripple = {
|
|
|
4456
4420
|
mounted: function mounted() {
|
|
4457
4421
|
this.createStyle();
|
|
4458
4422
|
this.calculatePosition();
|
|
4459
|
-
|
|
4460
4423
|
if (this.responsiveOptions) {
|
|
4461
4424
|
this.bindDocumentListeners();
|
|
4462
4425
|
}
|
|
@@ -4465,63 +4428,51 @@ var Ripple = {
|
|
|
4465
4428
|
var isCircular = this.isCircular();
|
|
4466
4429
|
var stateChanged = false;
|
|
4467
4430
|
var totalShiftedItems = this.totalShiftedItems;
|
|
4468
|
-
|
|
4469
4431
|
if (this.autoplayInterval) {
|
|
4470
4432
|
this.stopAutoplay();
|
|
4471
4433
|
}
|
|
4472
|
-
|
|
4473
4434
|
if (this.d_oldNumScroll !== this.d_numScroll || this.d_oldNumVisible !== this.d_numVisible || this.d_oldValue.length !== this.value.length) {
|
|
4474
4435
|
this.remainingItems = (this.value.length - this.d_numVisible) % this.d_numScroll;
|
|
4475
4436
|
var page = this.d_page;
|
|
4476
|
-
|
|
4477
4437
|
if (this.totalIndicators !== 0 && page >= this.totalIndicators) {
|
|
4478
4438
|
page = this.totalIndicators - 1;
|
|
4479
4439
|
this.$emit('update:page', page);
|
|
4480
4440
|
this.d_page = page;
|
|
4481
4441
|
stateChanged = true;
|
|
4482
4442
|
}
|
|
4483
|
-
|
|
4484
4443
|
totalShiftedItems = page * this.d_numScroll * -1;
|
|
4485
|
-
|
|
4486
4444
|
if (isCircular) {
|
|
4487
4445
|
totalShiftedItems -= this.d_numVisible;
|
|
4488
4446
|
}
|
|
4489
|
-
|
|
4490
4447
|
if (page === this.totalIndicators - 1 && this.remainingItems > 0) {
|
|
4491
4448
|
totalShiftedItems += -1 * this.remainingItems + this.d_numScroll;
|
|
4492
4449
|
this.isRemainingItemsAdded = true;
|
|
4493
4450
|
} else {
|
|
4494
4451
|
this.isRemainingItemsAdded = false;
|
|
4495
4452
|
}
|
|
4496
|
-
|
|
4497
4453
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
4498
4454
|
this.totalShiftedItems = totalShiftedItems;
|
|
4499
4455
|
stateChanged = true;
|
|
4500
4456
|
}
|
|
4501
|
-
|
|
4502
4457
|
this.d_oldNumScroll = this.d_numScroll;
|
|
4503
4458
|
this.d_oldNumVisible = this.d_numVisible;
|
|
4504
4459
|
this.d_oldValue = this.value;
|
|
4505
4460
|
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)");
|
|
4506
4461
|
}
|
|
4507
|
-
|
|
4508
4462
|
if (isCircular) {
|
|
4509
4463
|
if (this.d_page === 0) {
|
|
4510
4464
|
totalShiftedItems = -1 * this.d_numVisible;
|
|
4511
4465
|
} else if (totalShiftedItems === 0) {
|
|
4512
4466
|
totalShiftedItems = -1 * this.value.length;
|
|
4513
|
-
|
|
4514
4467
|
if (this.remainingItems > 0) {
|
|
4515
4468
|
this.isRemainingItemsAdded = true;
|
|
4516
4469
|
}
|
|
4517
4470
|
}
|
|
4518
|
-
|
|
4519
4471
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
4520
4472
|
this.totalShiftedItems = totalShiftedItems;
|
|
4521
4473
|
stateChanged = true;
|
|
4522
4474
|
}
|
|
4523
4475
|
}
|
|
4524
|
-
|
|
4525
4476
|
if (!stateChanged && this.isAutoplay()) {
|
|
4526
4477
|
this.startAutoplay();
|
|
4527
4478
|
}
|
|
@@ -4530,7 +4481,6 @@ var Ripple = {
|
|
|
4530
4481
|
if (this.responsiveOptions) {
|
|
4531
4482
|
this.unbindDocumentListeners();
|
|
4532
4483
|
}
|
|
4533
|
-
|
|
4534
4484
|
if (this.autoplayInterval) {
|
|
4535
4485
|
this.stopAutoplay();
|
|
4536
4486
|
}
|
|
@@ -4562,8 +4512,8 @@ var Ripple = {
|
|
|
4562
4512
|
});
|
|
4563
4513
|
// CONCATENATED MODULE: ./src/components/carousel/Carousel.vue?vue&type=script&lang=js&
|
|
4564
4514
|
/* harmony default export */ var carousel_Carouselvue_type_script_lang_js_ = (Carouselvue_type_script_lang_js_);
|
|
4565
|
-
// EXTERNAL MODULE: ./src/components/carousel/Carousel.vue?vue&type=style&index=0&lang=css&
|
|
4566
|
-
var
|
|
4515
|
+
// EXTERNAL MODULE: ./src/components/carousel/Carousel.vue?vue&type=style&index=0&id=6265cde7&prod&lang=css&
|
|
4516
|
+
var Carouselvue_type_style_index_0_id_6265cde7_prod_lang_css_ = __webpack_require__("fd1a");
|
|
4567
4517
|
|
|
4568
4518
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4569
4519
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4572,20 +4522,19 @@ var Carouselvue_type_style_index_0_lang_css_ = __webpack_require__("5487");
|
|
|
4572
4522
|
// This module is a runtime utility for cleaner component module output and will
|
|
4573
4523
|
// be included in the final webpack user bundle.
|
|
4574
4524
|
|
|
4575
|
-
function normalizeComponent
|
|
4525
|
+
function normalizeComponent(
|
|
4576
4526
|
scriptExports,
|
|
4577
4527
|
render,
|
|
4578
4528
|
staticRenderFns,
|
|
4579
4529
|
functionalTemplate,
|
|
4580
4530
|
injectStyles,
|
|
4581
4531
|
scopeId,
|
|
4582
|
-
moduleIdentifier
|
|
4532
|
+
moduleIdentifier /* server only */,
|
|
4583
4533
|
shadowMode /* vue-cli only */
|
|
4584
4534
|
) {
|
|
4585
4535
|
// Vue.extend constructor export interop
|
|
4586
|
-
var options =
|
|
4587
|
-
? scriptExports.options
|
|
4588
|
-
: scriptExports
|
|
4536
|
+
var options =
|
|
4537
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4589
4538
|
|
|
4590
4539
|
// render functions
|
|
4591
4540
|
if (render) {
|
|
@@ -4605,7 +4554,8 @@ function normalizeComponent (
|
|
|
4605
4554
|
}
|
|
4606
4555
|
|
|
4607
4556
|
var hook
|
|
4608
|
-
if (moduleIdentifier) {
|
|
4557
|
+
if (moduleIdentifier) {
|
|
4558
|
+
// server build
|
|
4609
4559
|
hook = function (context) {
|
|
4610
4560
|
// 2.3 injection
|
|
4611
4561
|
context =
|
|
@@ -4631,11 +4581,11 @@ function normalizeComponent (
|
|
|
4631
4581
|
} else if (injectStyles) {
|
|
4632
4582
|
hook = shadowMode
|
|
4633
4583
|
? function () {
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4584
|
+
injectStyles.call(
|
|
4585
|
+
this,
|
|
4586
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4587
|
+
)
|
|
4588
|
+
}
|
|
4639
4589
|
: injectStyles
|
|
4640
4590
|
}
|
|
4641
4591
|
|
|
@@ -4646,16 +4596,14 @@ function normalizeComponent (
|
|
|
4646
4596
|
options._injectStyles = hook
|
|
4647
4597
|
// register for functional component in vue file
|
|
4648
4598
|
var originalRender = options.render
|
|
4649
|
-
options.render = function renderWithStyleInjection
|
|
4599
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4650
4600
|
hook.call(context)
|
|
4651
4601
|
return originalRender(h, context)
|
|
4652
4602
|
}
|
|
4653
4603
|
} else {
|
|
4654
4604
|
// inject component registration as beforeCreate hook
|
|
4655
4605
|
var existing = options.beforeCreate
|
|
4656
|
-
options.beforeCreate = existing
|
|
4657
|
-
? [].concat(existing, hook)
|
|
4658
|
-
: [hook]
|
|
4606
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4659
4607
|
}
|
|
4660
4608
|
}
|
|
4661
4609
|
|
|
@@ -4693,6 +4641,17 @@ var component = normalizeComponent(
|
|
|
4693
4641
|
|
|
4694
4642
|
|
|
4695
4643
|
|
|
4644
|
+
/***/ }),
|
|
4645
|
+
|
|
4646
|
+
/***/ "fd1a":
|
|
4647
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4648
|
+
|
|
4649
|
+
"use strict";
|
|
4650
|
+
/* 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");
|
|
4651
|
+
/* 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__);
|
|
4652
|
+
/* unused harmony reexport * */
|
|
4653
|
+
|
|
4654
|
+
|
|
4696
4655
|
/***/ }),
|
|
4697
4656
|
|
|
4698
4657
|
/***/ "fdef":
|