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
|
@@ -354,21 +354,6 @@ module.exports = __webpack_require__("9e1e") ? Object.defineProperties : functio
|
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
/***/ }),
|
|
358
|
-
|
|
359
|
-
/***/ "17e4":
|
|
360
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
361
|
-
|
|
362
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
363
|
-
// imports
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
// module
|
|
367
|
-
exports.push([module.i, ".p-megamenu-root-list{margin:0;padding:0;list-style:none}.p-megamenu-root-list>.p-menuitem{position:relative}.p-megamenu .p-menuitem-link{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-megamenu .p-menuitem-text{line-height:1}.p-megamenu-panel{display:none;position:absolute;width:auto;z-index:1}.p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{display:block}.p-megamenu-submenu{margin:0;padding:0;list-style:none}.p-megamenu-horizontal .p-megamenu-root-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.p-megamenu-vertical .p-megamenu-root-list{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{left:100%;top:0}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-link>.p-submenu-icon{margin-left:auto}.p-megamenu-grid{display:-webkit-box;display:-ms-flexbox;display:flex}.p-megamenu-col-2,.p-megamenu-col-3,.p-megamenu-col-4,.p-megamenu-col-6,.p-megamenu-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:.5rem}.p-megamenu-col-2{width:16.6667%}.p-megamenu-col-3{width:25%}.p-megamenu-col-4{width:33.3333%}.p-megamenu-col-6{width:50%}.p-megamenu-col-12{width:100%}", ""]);
|
|
368
|
-
|
|
369
|
-
// exports
|
|
370
|
-
|
|
371
|
-
|
|
372
357
|
/***/ }),
|
|
373
358
|
|
|
374
359
|
/***/ "1bc3":
|
|
@@ -876,17 +861,6 @@ module.exports = function (exec) {
|
|
|
876
861
|
};
|
|
877
862
|
|
|
878
863
|
|
|
879
|
-
/***/ }),
|
|
880
|
-
|
|
881
|
-
/***/ "2a14":
|
|
882
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
883
|
-
|
|
884
|
-
"use strict";
|
|
885
|
-
/* 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_MegaMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b4be");
|
|
886
|
-
/* 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_MegaMenu_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_MegaMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
887
|
-
/* unused harmony reexport * */
|
|
888
|
-
|
|
889
|
-
|
|
890
864
|
/***/ }),
|
|
891
865
|
|
|
892
866
|
/***/ "2aba":
|
|
@@ -1992,6 +1966,22 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
1992
1966
|
}
|
|
1993
1967
|
|
|
1994
1968
|
|
|
1969
|
+
/***/ }),
|
|
1970
|
+
|
|
1971
|
+
/***/ "6d79":
|
|
1972
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1973
|
+
|
|
1974
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1975
|
+
|
|
1976
|
+
// load the styles
|
|
1977
|
+
var content = __webpack_require__("c02b");
|
|
1978
|
+
if(content.__esModule) content = content.default;
|
|
1979
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1980
|
+
if(content.locals) module.exports = content.locals;
|
|
1981
|
+
// add the styles to the DOM
|
|
1982
|
+
var add = __webpack_require__("499e").default
|
|
1983
|
+
var update = add("73f3bdf5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1984
|
+
|
|
1995
1985
|
/***/ }),
|
|
1996
1986
|
|
|
1997
1987
|
/***/ "7514":
|
|
@@ -2160,6 +2150,17 @@ NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, {
|
|
|
2160
2150
|
});
|
|
2161
2151
|
|
|
2162
2152
|
|
|
2153
|
+
/***/ }),
|
|
2154
|
+
|
|
2155
|
+
/***/ "835a":
|
|
2156
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2157
|
+
|
|
2158
|
+
"use strict";
|
|
2159
|
+
/* 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_MegaMenu_vue_vue_type_style_index_0_id_1f5a8e2a_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6d79");
|
|
2160
|
+
/* 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_MegaMenu_vue_vue_type_style_index_0_id_1f5a8e2a_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_MegaMenu_vue_vue_type_style_index_0_id_1f5a8e2a_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
2161
|
+
/* unused harmony reexport * */
|
|
2162
|
+
|
|
2163
|
+
|
|
2163
2164
|
/***/ }),
|
|
2164
2165
|
|
|
2165
2166
|
/***/ "8378":
|
|
@@ -2764,22 +2765,6 @@ __webpack_require__("5ca1")({
|
|
|
2764
2765
|
});
|
|
2765
2766
|
|
|
2766
2767
|
|
|
2767
|
-
/***/ }),
|
|
2768
|
-
|
|
2769
|
-
/***/ "b4be":
|
|
2770
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2771
|
-
|
|
2772
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2773
|
-
|
|
2774
|
-
// load the styles
|
|
2775
|
-
var content = __webpack_require__("17e4");
|
|
2776
|
-
if(content.__esModule) content = content.default;
|
|
2777
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2778
|
-
if(content.locals) module.exports = content.locals;
|
|
2779
|
-
// add the styles to the DOM
|
|
2780
|
-
var add = __webpack_require__("499e").default
|
|
2781
|
-
var update = add("20d03225", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2782
|
-
|
|
2783
2768
|
/***/ }),
|
|
2784
2769
|
|
|
2785
2770
|
/***/ "be13":
|
|
@@ -2792,6 +2777,21 @@ module.exports = function (it) {
|
|
|
2792
2777
|
};
|
|
2793
2778
|
|
|
2794
2779
|
|
|
2780
|
+
/***/ }),
|
|
2781
|
+
|
|
2782
|
+
/***/ "c02b":
|
|
2783
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2784
|
+
|
|
2785
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2786
|
+
// imports
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
// module
|
|
2790
|
+
exports.push([module.i, ".p-megamenu-root-list{margin:0;padding:0;list-style:none}.p-megamenu-root-list>.p-menuitem{position:relative}.p-megamenu .p-menuitem-link{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-megamenu .p-menuitem-text{line-height:1}.p-megamenu-panel{display:none;position:absolute;width:auto;z-index:1}.p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{display:block}.p-megamenu-submenu{margin:0;padding:0;list-style:none}.p-megamenu-horizontal .p-megamenu-root-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.p-megamenu-vertical .p-megamenu-root-list{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{left:100%;top:0}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-link>.p-submenu-icon{margin-left:auto}.p-megamenu-grid{display:-webkit-box;display:-ms-flexbox;display:flex}.p-megamenu-col-2,.p-megamenu-col-3,.p-megamenu-col-4,.p-megamenu-col-6,.p-megamenu-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:.5rem}.p-megamenu-col-2{width:16.6667%}.p-megamenu-col-3{width:25%}.p-megamenu-col-4{width:33.3333%}.p-megamenu-col-6{width:50%}.p-megamenu-col-12{width:100%}", ""]);
|
|
2791
|
+
|
|
2792
|
+
// exports
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
2795
|
/***/ }),
|
|
2796
2796
|
|
|
2797
2797
|
/***/ "c366":
|
|
@@ -3173,22 +3173,207 @@ if (typeof window !== 'undefined') {
|
|
|
3173
3173
|
// Indicate to webpack that this file can be concatenated
|
|
3174
3174
|
/* harmony default export */ var setPublicPath = (null);
|
|
3175
3175
|
|
|
3176
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3177
|
-
var render = function () {
|
|
3178
|
-
var
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3176
|
+
// 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/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
|
|
3177
|
+
var render = function render() {
|
|
3178
|
+
var _vm = this,
|
|
3179
|
+
_c = _vm._self._c;
|
|
3180
|
+
return _c('div', {
|
|
3181
|
+
class: _vm.containerClass
|
|
3182
|
+
}, [_vm.$slots.start ? _c('div', {
|
|
3183
|
+
staticClass: "p-megamenu-start"
|
|
3184
|
+
}, [_vm._t("start")], 2) : _vm._e(), _c('ul', {
|
|
3185
|
+
staticClass: "p-megamenu-root-list",
|
|
3186
|
+
attrs: {
|
|
3187
|
+
"role": "menubar"
|
|
3188
|
+
}
|
|
3189
|
+
}, [_vm._l(_vm.model, function (category, index) {
|
|
3190
|
+
return [_vm.visible(category) ? _c('li', {
|
|
3191
|
+
key: _vm.label(category) + '_' + index,
|
|
3192
|
+
class: _vm.getCategoryClass(category),
|
|
3193
|
+
style: category.style,
|
|
3194
|
+
attrs: {
|
|
3195
|
+
"role": "none"
|
|
3196
|
+
},
|
|
3197
|
+
on: {
|
|
3198
|
+
"mouseenter": function mouseenter($event) {
|
|
3199
|
+
return _vm.onCategoryMouseEnter($event, category);
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
}, [category.to && !_vm.disabled(category) ? _c('router-link', {
|
|
3203
|
+
attrs: {
|
|
3204
|
+
"to": category.to,
|
|
3205
|
+
"custom": ""
|
|
3206
|
+
},
|
|
3207
|
+
scopedSlots: _vm._u([{
|
|
3208
|
+
key: "default",
|
|
3209
|
+
fn: function fn(_ref) {
|
|
3210
|
+
var navigate = _ref.navigate,
|
|
3211
|
+
href = _ref.href,
|
|
3212
|
+
isActive = _ref.isActive,
|
|
3213
|
+
isExactActive = _ref.isExactActive;
|
|
3214
|
+
return [_c('a', {
|
|
3215
|
+
directives: [{
|
|
3216
|
+
name: "ripple",
|
|
3217
|
+
rawName: "v-ripple"
|
|
3218
|
+
}],
|
|
3219
|
+
class: _vm.linkClass(category, {
|
|
3220
|
+
isActive: isActive,
|
|
3221
|
+
isExactActive: isExactActive
|
|
3222
|
+
}),
|
|
3223
|
+
attrs: {
|
|
3224
|
+
"href": href,
|
|
3225
|
+
"role": "menuitem"
|
|
3226
|
+
},
|
|
3227
|
+
on: {
|
|
3228
|
+
"click": function click($event) {
|
|
3229
|
+
return _vm.onCategoryClick($event, category, navigate);
|
|
3230
|
+
},
|
|
3231
|
+
"keydown": function keydown($event) {
|
|
3232
|
+
return _vm.onCategoryKeydown($event, category);
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
}, [category.icon ? _c('span', {
|
|
3236
|
+
class: _vm.getCategoryIcon(category)
|
|
3237
|
+
}) : _vm._e(), _c('span', {
|
|
3238
|
+
staticClass: "p-menuitem-text"
|
|
3239
|
+
}, [_vm._v(_vm._s(_vm.label(category)))])])];
|
|
3240
|
+
}
|
|
3241
|
+
}], null, true)
|
|
3242
|
+
}) : _c('a', {
|
|
3243
|
+
directives: [{
|
|
3244
|
+
name: "ripple",
|
|
3245
|
+
rawName: "v-ripple"
|
|
3246
|
+
}],
|
|
3247
|
+
class: _vm.linkClass(category),
|
|
3248
|
+
attrs: {
|
|
3249
|
+
"href": category.url,
|
|
3250
|
+
"target": category.target,
|
|
3251
|
+
"role": "menuitem",
|
|
3252
|
+
"aria-haspopup": category.items != null,
|
|
3253
|
+
"aria-expanded": category === _vm.activeItem,
|
|
3254
|
+
"tabindex": _vm.disabled(category) ? null : '0'
|
|
3255
|
+
},
|
|
3256
|
+
on: {
|
|
3257
|
+
"click": function click($event) {
|
|
3258
|
+
return _vm.onCategoryClick($event, category);
|
|
3259
|
+
},
|
|
3260
|
+
"keydown": function keydown($event) {
|
|
3261
|
+
return _vm.onCategoryKeydown($event, category);
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
}, [category.icon ? _c('span', {
|
|
3265
|
+
class: _vm.getCategoryIcon(category)
|
|
3266
|
+
}) : _vm._e(), _c('span', {
|
|
3267
|
+
staticClass: "p-menuitem-text"
|
|
3268
|
+
}, [_vm._v(_vm._s(_vm.label(category)))]), category.items ? _c('span', {
|
|
3269
|
+
class: _vm.getCategorySubMenuIcon()
|
|
3270
|
+
}) : _vm._e()]), category.items ? _c('div', {
|
|
3271
|
+
staticClass: "p-megamenu-panel"
|
|
3272
|
+
}, [_c('div', {
|
|
3273
|
+
staticClass: "p-megamenu-grid"
|
|
3274
|
+
}, _vm._l(category.items, function (column, columnIndex) {
|
|
3275
|
+
return _c('div', {
|
|
3276
|
+
key: _vm.label(category) + '_column_' + columnIndex,
|
|
3277
|
+
class: _vm.getColumnClassName(category)
|
|
3278
|
+
}, _vm._l(column, function (submenu, submenuIndex) {
|
|
3279
|
+
return _c('ul', {
|
|
3280
|
+
key: _vm.label(submenu) + '_submenu_' + submenuIndex,
|
|
3281
|
+
staticClass: "p-megamenu-submenu",
|
|
3282
|
+
attrs: {
|
|
3283
|
+
"role": "menu"
|
|
3284
|
+
}
|
|
3285
|
+
}, [_c('li', {
|
|
3286
|
+
class: _vm.getSubmenuHeaderClass(submenu),
|
|
3287
|
+
style: submenu.style,
|
|
3288
|
+
attrs: {
|
|
3289
|
+
"role": "presentation"
|
|
3290
|
+
}
|
|
3291
|
+
}, [_vm._v(_vm._s(_vm.label(submenu)))]), _vm._l(submenu.items, function (item, i) {
|
|
3292
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
3293
|
+
key: _vm.label(item) + i,
|
|
3294
|
+
class: _vm.getSubmenuItemClass(item),
|
|
3295
|
+
style: item.style,
|
|
3296
|
+
attrs: {
|
|
3297
|
+
"role": "none"
|
|
3298
|
+
}
|
|
3299
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3300
|
+
attrs: {
|
|
3301
|
+
"to": item.to,
|
|
3302
|
+
"custom": ""
|
|
3303
|
+
},
|
|
3304
|
+
scopedSlots: _vm._u([{
|
|
3305
|
+
key: "default",
|
|
3306
|
+
fn: function fn(_ref2) {
|
|
3307
|
+
var navigate = _ref2.navigate,
|
|
3308
|
+
href = _ref2.href,
|
|
3309
|
+
isActive = _ref2.isActive,
|
|
3310
|
+
isExactActive = _ref2.isExactActive;
|
|
3311
|
+
return [_c('a', {
|
|
3312
|
+
directives: [{
|
|
3313
|
+
name: "ripple",
|
|
3314
|
+
rawName: "v-ripple"
|
|
3315
|
+
}],
|
|
3316
|
+
class: _vm.linkClass(item, {
|
|
3317
|
+
isActive: isActive,
|
|
3318
|
+
isExactActive: isExactActive
|
|
3319
|
+
}),
|
|
3320
|
+
attrs: {
|
|
3321
|
+
"href": href,
|
|
3322
|
+
"role": "menuitem"
|
|
3323
|
+
},
|
|
3324
|
+
on: {
|
|
3325
|
+
"click": function click($event) {
|
|
3326
|
+
return _vm.onLeafClick($event, item, navigate);
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
}, [item.icon ? _c('span', {
|
|
3330
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3331
|
+
}) : _vm._e(), _c('span', {
|
|
3332
|
+
staticClass: "p-menuitem-text"
|
|
3333
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
3334
|
+
}
|
|
3335
|
+
}], null, true)
|
|
3336
|
+
}) : _c('a', {
|
|
3337
|
+
directives: [{
|
|
3338
|
+
name: "ripple",
|
|
3339
|
+
rawName: "v-ripple"
|
|
3340
|
+
}],
|
|
3341
|
+
class: _vm.linkClass(item),
|
|
3342
|
+
attrs: {
|
|
3343
|
+
"href": item.url,
|
|
3344
|
+
"target": item.target,
|
|
3345
|
+
"role": "menuitem",
|
|
3346
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
3347
|
+
},
|
|
3348
|
+
on: {
|
|
3349
|
+
"click": function click($event) {
|
|
3350
|
+
return _vm.onLeafClick($event, item, _vm.navigate);
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}, [item.icon ? _c('span', {
|
|
3354
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3355
|
+
}) : _vm._e(), _c('span', {
|
|
3356
|
+
staticClass: "p-menuitem-text"
|
|
3357
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
3358
|
+
class: _vm.getSubmenuIcon()
|
|
3359
|
+
}) : _vm._e()])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
3360
|
+
key: 'separator' + i,
|
|
3361
|
+
class: ['p-menu-separator', item.class],
|
|
3362
|
+
style: item.style,
|
|
3363
|
+
attrs: {
|
|
3364
|
+
"role": "separator"
|
|
3365
|
+
}
|
|
3366
|
+
}) : _vm._e()];
|
|
3367
|
+
})], 2);
|
|
3368
|
+
}), 0);
|
|
3369
|
+
}), 0)]) : _vm._e()], 1) : _vm._e()];
|
|
3370
|
+
})], 2), _vm.$slots.end ? _c('div', {
|
|
3371
|
+
staticClass: "p-megamenu-end"
|
|
3372
|
+
}, [_vm._t("end")], 2) : _vm._e()]);
|
|
3373
|
+
};
|
|
3374
|
+
var staticRenderFns = [];
|
|
3190
3375
|
|
|
3191
|
-
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=template&id=
|
|
3376
|
+
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
|
|
3192
3377
|
|
|
3193
3378
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
3194
3379
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -3232,26 +3417,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3232
3417
|
|
|
3233
3418
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3234
3419
|
|
|
3235
|
-
|
|
3236
3420
|
function _defineProperties(target, props) {
|
|
3237
3421
|
for (var i = 0; i < props.length; i++) {
|
|
3238
3422
|
var descriptor = props[i];
|
|
3239
3423
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3240
3424
|
descriptor.configurable = true;
|
|
3241
3425
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3242
|
-
|
|
3243
3426
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3244
3427
|
}
|
|
3245
3428
|
}
|
|
3246
|
-
|
|
3247
3429
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3248
3430
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3249
3431
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3250
|
-
|
|
3251
3432
|
define_property_default()(Constructor, "prototype", {
|
|
3252
3433
|
writable: false
|
|
3253
3434
|
});
|
|
3254
|
-
|
|
3255
3435
|
return Constructor;
|
|
3256
3436
|
}
|
|
3257
3437
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3267,18 +3447,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3267
3447
|
|
|
3268
3448
|
|
|
3269
3449
|
|
|
3270
|
-
|
|
3271
3450
|
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; } } }; }
|
|
3272
|
-
|
|
3273
3451
|
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); }
|
|
3274
|
-
|
|
3275
3452
|
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; }
|
|
3276
|
-
|
|
3277
3453
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3278
3454
|
function DomHandler() {
|
|
3279
3455
|
_classCallCheck(this, DomHandler);
|
|
3280
3456
|
}
|
|
3281
|
-
|
|
3282
3457
|
_createClass(DomHandler, null, [{
|
|
3283
3458
|
key: "innerWidth",
|
|
3284
3459
|
value: function innerWidth(el) {
|
|
@@ -3312,12 +3487,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3312
3487
|
value: function getOuterWidth(el, margin) {
|
|
3313
3488
|
if (el) {
|
|
3314
3489
|
var width = el.offsetWidth;
|
|
3315
|
-
|
|
3316
3490
|
if (margin) {
|
|
3317
3491
|
var style = getComputedStyle(el);
|
|
3318
3492
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3319
3493
|
}
|
|
3320
|
-
|
|
3321
3494
|
return width;
|
|
3322
3495
|
} else {
|
|
3323
3496
|
return 0;
|
|
@@ -3328,12 +3501,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3328
3501
|
value: function getOuterHeight(el, margin) {
|
|
3329
3502
|
if (el) {
|
|
3330
3503
|
var height = el.offsetHeight;
|
|
3331
|
-
|
|
3332
3504
|
if (margin) {
|
|
3333
3505
|
var style = getComputedStyle(el);
|
|
3334
3506
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3335
3507
|
}
|
|
3336
|
-
|
|
3337
3508
|
return height;
|
|
3338
3509
|
} else {
|
|
3339
3510
|
return 0;
|
|
@@ -3344,12 +3515,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3344
3515
|
value: function getClientHeight(el, margin) {
|
|
3345
3516
|
if (el) {
|
|
3346
3517
|
var height = el.clientHeight;
|
|
3347
|
-
|
|
3348
3518
|
if (margin) {
|
|
3349
3519
|
var style = getComputedStyle(el);
|
|
3350
3520
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3351
3521
|
}
|
|
3352
|
-
|
|
3353
3522
|
return height;
|
|
3354
3523
|
} else {
|
|
3355
3524
|
return 0;
|
|
@@ -3359,11 +3528,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3359
3528
|
key: "getViewport",
|
|
3360
3529
|
value: function getViewport() {
|
|
3361
3530
|
var win = window,
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3531
|
+
d = document,
|
|
3532
|
+
e = d.documentElement,
|
|
3533
|
+
g = d.getElementsByTagName('body')[0],
|
|
3534
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3535
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3367
3536
|
return {
|
|
3368
3537
|
width: w,
|
|
3369
3538
|
height: h
|
|
@@ -3394,12 +3563,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3394
3563
|
value: function index(element) {
|
|
3395
3564
|
var children = element.parentNode.childNodes;
|
|
3396
3565
|
var num = 0;
|
|
3397
|
-
|
|
3398
3566
|
for (var i = 0; i < children.length; i++) {
|
|
3399
3567
|
if (children[i] === element) return num;
|
|
3400
3568
|
if (children[i].nodeType === 1) num++;
|
|
3401
3569
|
}
|
|
3402
|
-
|
|
3403
3570
|
return -1;
|
|
3404
3571
|
}
|
|
3405
3572
|
}, {
|
|
@@ -3407,13 +3574,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3407
3574
|
value: function addMultipleClasses(element, className) {
|
|
3408
3575
|
if (element.classList) {
|
|
3409
3576
|
var styles = className.split(' ');
|
|
3410
|
-
|
|
3411
3577
|
for (var i = 0; i < styles.length; i++) {
|
|
3412
3578
|
element.classList.add(styles[i]);
|
|
3413
3579
|
}
|
|
3414
3580
|
} else {
|
|
3415
3581
|
var _styles = className.split(' ');
|
|
3416
|
-
|
|
3417
3582
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3418
3583
|
element.className += ' ' + _styles[_i];
|
|
3419
3584
|
}
|
|
@@ -3435,7 +3600,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3435
3600
|
if (element) {
|
|
3436
3601
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3437
3602
|
}
|
|
3438
|
-
|
|
3439
3603
|
return false;
|
|
3440
3604
|
}
|
|
3441
3605
|
}, {
|
|
@@ -3480,11 +3644,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3480
3644
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3481
3645
|
var viewport = this.getViewport();
|
|
3482
3646
|
var top, left;
|
|
3483
|
-
|
|
3484
3647
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3485
3648
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3486
3649
|
element.style.transformOrigin = 'bottom';
|
|
3487
|
-
|
|
3488
3650
|
if (top < 0) {
|
|
3489
3651
|
top = windowScrollTop;
|
|
3490
3652
|
}
|
|
@@ -3492,7 +3654,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3492
3654
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3493
3655
|
element.style.transformOrigin = 'top';
|
|
3494
3656
|
}
|
|
3495
|
-
|
|
3496
3657
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3497
3658
|
element.style.top = top + 'px';
|
|
3498
3659
|
element.style.left = left + 'px';
|
|
@@ -3508,11 +3669,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3508
3669
|
var targetOffset = target.getBoundingClientRect();
|
|
3509
3670
|
var viewport = this.getViewport();
|
|
3510
3671
|
var top, left;
|
|
3511
|
-
|
|
3512
3672
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3513
3673
|
top = -1 * elementDimensions.height;
|
|
3514
3674
|
element.style.transformOrigin = 'bottom';
|
|
3515
|
-
|
|
3516
3675
|
if (targetOffset.top + top < 0) {
|
|
3517
3676
|
top = -1 * targetOffset.top;
|
|
3518
3677
|
}
|
|
@@ -3520,7 +3679,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3520
3679
|
top = targetHeight;
|
|
3521
3680
|
element.style.transformOrigin = 'top';
|
|
3522
3681
|
}
|
|
3523
|
-
|
|
3524
3682
|
if (elementDimensions.width > viewport.width) {
|
|
3525
3683
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3526
3684
|
left = targetOffset.left * -1;
|
|
@@ -3531,7 +3689,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3531
3689
|
// element fits on screen (align with target)
|
|
3532
3690
|
left = 0;
|
|
3533
3691
|
}
|
|
3534
|
-
|
|
3535
3692
|
element.style.top = top + 'px';
|
|
3536
3693
|
element.style.left = left + 'px';
|
|
3537
3694
|
}
|
|
@@ -3545,35 +3702,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3545
3702
|
key: "getScrollableParents",
|
|
3546
3703
|
value: function getScrollableParents(element) {
|
|
3547
3704
|
var scrollableParents = [];
|
|
3548
|
-
|
|
3549
3705
|
if (element) {
|
|
3550
3706
|
var parents = this.getParents(element);
|
|
3551
3707
|
var overflowRegex = /(auto|scroll)/;
|
|
3552
|
-
|
|
3553
3708
|
var overflowCheck = function overflowCheck(node) {
|
|
3554
3709
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3555
3710
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3556
3711
|
};
|
|
3557
|
-
|
|
3558
3712
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3559
|
-
|
|
3560
|
-
|
|
3713
|
+
_step;
|
|
3561
3714
|
try {
|
|
3562
3715
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3563
3716
|
var parent = _step.value;
|
|
3564
3717
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3565
|
-
|
|
3566
3718
|
if (scrollSelectors) {
|
|
3567
3719
|
var selectors = scrollSelectors.split(',');
|
|
3568
|
-
|
|
3569
3720
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3570
|
-
|
|
3571
|
-
|
|
3721
|
+
_step2;
|
|
3572
3722
|
try {
|
|
3573
3723
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3574
3724
|
var selector = _step2.value;
|
|
3575
3725
|
var el = this.findSingle(parent, selector);
|
|
3576
|
-
|
|
3577
3726
|
if (el && overflowCheck(el)) {
|
|
3578
3727
|
scrollableParents.push(el);
|
|
3579
3728
|
}
|
|
@@ -3591,7 +3740,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3591
3740
|
_iterator.f();
|
|
3592
3741
|
}
|
|
3593
3742
|
}
|
|
3594
|
-
|
|
3595
3743
|
return scrollableParents;
|
|
3596
3744
|
}
|
|
3597
3745
|
}, {
|
|
@@ -3632,34 +3780,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3632
3780
|
element.style.opacity = 0;
|
|
3633
3781
|
var last = +new Date();
|
|
3634
3782
|
var opacity = 0;
|
|
3635
|
-
|
|
3636
3783
|
var tick = function tick() {
|
|
3637
3784
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3638
3785
|
element.style.opacity = opacity;
|
|
3639
3786
|
last = +new Date();
|
|
3640
|
-
|
|
3641
3787
|
if (+opacity < 1) {
|
|
3642
3788
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3643
3789
|
}
|
|
3644
3790
|
};
|
|
3645
|
-
|
|
3646
3791
|
tick();
|
|
3647
3792
|
}
|
|
3648
3793
|
}, {
|
|
3649
3794
|
key: "fadeOut",
|
|
3650
3795
|
value: function fadeOut(element, ms) {
|
|
3651
3796
|
var opacity = 1,
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3797
|
+
interval = 50,
|
|
3798
|
+
duration = ms,
|
|
3799
|
+
gap = interval / duration;
|
|
3655
3800
|
var fading = setInterval(function () {
|
|
3656
3801
|
opacity -= gap;
|
|
3657
|
-
|
|
3658
3802
|
if (opacity <= 0) {
|
|
3659
3803
|
opacity = 0;
|
|
3660
3804
|
clearInterval(fading);
|
|
3661
3805
|
}
|
|
3662
|
-
|
|
3663
3806
|
element.style.opacity = opacity;
|
|
3664
3807
|
}, interval);
|
|
3665
3808
|
}
|
|
@@ -3686,7 +3829,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3686
3829
|
var scroll = container.scrollTop;
|
|
3687
3830
|
var elementHeight = container.clientHeight;
|
|
3688
3831
|
var itemHeight = this.getOuterHeight(item);
|
|
3689
|
-
|
|
3690
3832
|
if (offset < 0) {
|
|
3691
3833
|
container.scrollTop = scroll + offset;
|
|
3692
3834
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3705,7 +3847,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3705
3847
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3706
3848
|
try {
|
|
3707
3849
|
document['selection'].empty();
|
|
3708
|
-
} catch (error) {
|
|
3850
|
+
} catch (error) {
|
|
3851
|
+
//ignore IE bug
|
|
3709
3852
|
}
|
|
3710
3853
|
}
|
|
3711
3854
|
}
|
|
@@ -3727,19 +3870,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3727
3870
|
if (!this.browser) {
|
|
3728
3871
|
var matched = this.resolveUserAgent();
|
|
3729
3872
|
this.browser = {};
|
|
3730
|
-
|
|
3731
3873
|
if (matched.browser) {
|
|
3732
3874
|
this.browser[matched.browser] = true;
|
|
3733
3875
|
this.browser['version'] = matched.version;
|
|
3734
3876
|
}
|
|
3735
|
-
|
|
3736
3877
|
if (this.browser['chrome']) {
|
|
3737
3878
|
this.browser['webkit'] = true;
|
|
3738
3879
|
} else if (this.browser['webkit']) {
|
|
3739
3880
|
this.browser['safari'] = true;
|
|
3740
3881
|
}
|
|
3741
3882
|
}
|
|
3742
|
-
|
|
3743
3883
|
return this.browser;
|
|
3744
3884
|
}
|
|
3745
3885
|
}, {
|
|
@@ -3767,10 +3907,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3767
3907
|
value: function getFocusableElements(element) {
|
|
3768
3908
|
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])");
|
|
3769
3909
|
var visibleFocusableElements = [];
|
|
3770
|
-
|
|
3771
3910
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3772
|
-
|
|
3773
|
-
|
|
3911
|
+
_step3;
|
|
3774
3912
|
try {
|
|
3775
3913
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3776
3914
|
var focusableElement = _step3.value;
|
|
@@ -3781,7 +3919,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3781
3919
|
} finally {
|
|
3782
3920
|
_iterator3.f();
|
|
3783
3921
|
}
|
|
3784
|
-
|
|
3785
3922
|
return visibleFocusableElements;
|
|
3786
3923
|
}
|
|
3787
3924
|
}, {
|
|
@@ -3824,55 +3961,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3824
3961
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3825
3962
|
}
|
|
3826
3963
|
}]);
|
|
3827
|
-
|
|
3828
3964
|
return DomHandler;
|
|
3829
3965
|
}();
|
|
3830
3966
|
|
|
3831
|
-
|
|
3832
3967
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3833
3968
|
|
|
3834
|
-
|
|
3835
3969
|
function bindEvents(el) {
|
|
3836
3970
|
el.addEventListener('mousedown', onMouseDown);
|
|
3837
3971
|
}
|
|
3838
|
-
|
|
3839
3972
|
function unbindEvents(el) {
|
|
3840
3973
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3841
3974
|
}
|
|
3842
|
-
|
|
3843
3975
|
function create(el) {
|
|
3844
3976
|
var ink = document.createElement('span');
|
|
3845
3977
|
ink.className = 'p-ink';
|
|
3846
3978
|
el.appendChild(ink);
|
|
3847
3979
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3848
3980
|
}
|
|
3849
|
-
|
|
3850
3981
|
function remove(el) {
|
|
3851
3982
|
var ink = getInk(el);
|
|
3852
|
-
|
|
3853
3983
|
if (ink) {
|
|
3854
3984
|
unbindEvents(el);
|
|
3855
3985
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3856
3986
|
ink.remove();
|
|
3857
3987
|
}
|
|
3858
3988
|
}
|
|
3859
|
-
|
|
3860
3989
|
function onMouseDown(event) {
|
|
3861
3990
|
var target = event.currentTarget;
|
|
3862
3991
|
var ink = getInk(target);
|
|
3863
|
-
|
|
3864
3992
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3865
3993
|
return;
|
|
3866
3994
|
}
|
|
3867
|
-
|
|
3868
3995
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3869
|
-
|
|
3870
3996
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3871
3997
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3872
3998
|
ink.style.height = d + 'px';
|
|
3873
3999
|
ink.style.width = d + 'px';
|
|
3874
4000
|
}
|
|
3875
|
-
|
|
3876
4001
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3877
4002
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3878
4003
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3880,21 +4005,17 @@ function onMouseDown(event) {
|
|
|
3880
4005
|
ink.style.left = x + 'px';
|
|
3881
4006
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3882
4007
|
}
|
|
3883
|
-
|
|
3884
4008
|
function onAnimationEnd(event) {
|
|
3885
4009
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3886
4010
|
}
|
|
3887
|
-
|
|
3888
4011
|
function getInk(el) {
|
|
3889
4012
|
for (var i = 0; i < el.children.length; i++) {
|
|
3890
4013
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3891
4014
|
return el.children[i];
|
|
3892
4015
|
}
|
|
3893
4016
|
}
|
|
3894
|
-
|
|
3895
4017
|
return null;
|
|
3896
4018
|
}
|
|
3897
|
-
|
|
3898
4019
|
var Ripple = {
|
|
3899
4020
|
inserted: function inserted(el, binding, vnode) {
|
|
3900
4021
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3908,61 +4029,6 @@ var Ripple = {
|
|
|
3908
4029
|
};
|
|
3909
4030
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3910
4031
|
// 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/megamenu/MegaMenu.vue?vue&type=script&lang=js&
|
|
3911
|
-
//
|
|
3912
|
-
//
|
|
3913
|
-
//
|
|
3914
|
-
//
|
|
3915
|
-
//
|
|
3916
|
-
//
|
|
3917
|
-
//
|
|
3918
|
-
//
|
|
3919
|
-
//
|
|
3920
|
-
//
|
|
3921
|
-
//
|
|
3922
|
-
//
|
|
3923
|
-
//
|
|
3924
|
-
//
|
|
3925
|
-
//
|
|
3926
|
-
//
|
|
3927
|
-
//
|
|
3928
|
-
//
|
|
3929
|
-
//
|
|
3930
|
-
//
|
|
3931
|
-
//
|
|
3932
|
-
//
|
|
3933
|
-
//
|
|
3934
|
-
//
|
|
3935
|
-
//
|
|
3936
|
-
//
|
|
3937
|
-
//
|
|
3938
|
-
//
|
|
3939
|
-
//
|
|
3940
|
-
//
|
|
3941
|
-
//
|
|
3942
|
-
//
|
|
3943
|
-
//
|
|
3944
|
-
//
|
|
3945
|
-
//
|
|
3946
|
-
//
|
|
3947
|
-
//
|
|
3948
|
-
//
|
|
3949
|
-
//
|
|
3950
|
-
//
|
|
3951
|
-
//
|
|
3952
|
-
//
|
|
3953
|
-
//
|
|
3954
|
-
//
|
|
3955
|
-
//
|
|
3956
|
-
//
|
|
3957
|
-
//
|
|
3958
|
-
//
|
|
3959
|
-
//
|
|
3960
|
-
//
|
|
3961
|
-
//
|
|
3962
|
-
//
|
|
3963
|
-
//
|
|
3964
|
-
//
|
|
3965
|
-
//
|
|
3966
4032
|
|
|
3967
4033
|
|
|
3968
4034
|
/* harmony default export */ var MegaMenuvue_type_script_lang_js_ = ({
|
|
@@ -3995,22 +4061,18 @@ var Ripple = {
|
|
|
3995
4061
|
event.preventDefault();
|
|
3996
4062
|
return;
|
|
3997
4063
|
}
|
|
3998
|
-
|
|
3999
4064
|
if (!item.url && !item.to) {
|
|
4000
4065
|
event.preventDefault();
|
|
4001
4066
|
}
|
|
4002
|
-
|
|
4003
4067
|
if (item.command) {
|
|
4004
4068
|
item.command({
|
|
4005
4069
|
originalEvent: event,
|
|
4006
4070
|
item: item
|
|
4007
4071
|
});
|
|
4008
4072
|
}
|
|
4009
|
-
|
|
4010
4073
|
if (item.to && navigate) {
|
|
4011
4074
|
navigate(event);
|
|
4012
4075
|
}
|
|
4013
|
-
|
|
4014
4076
|
this.activeItem = null;
|
|
4015
4077
|
},
|
|
4016
4078
|
onCategoryMouseEnter: function onCategoryMouseEnter(event, category) {
|
|
@@ -4018,7 +4080,6 @@ var Ripple = {
|
|
|
4018
4080
|
event.preventDefault();
|
|
4019
4081
|
return;
|
|
4020
4082
|
}
|
|
4021
|
-
|
|
4022
4083
|
if (this.activeItem) {
|
|
4023
4084
|
this.activeItem = category;
|
|
4024
4085
|
}
|
|
@@ -4028,18 +4089,15 @@ var Ripple = {
|
|
|
4028
4089
|
event.preventDefault();
|
|
4029
4090
|
return;
|
|
4030
4091
|
}
|
|
4031
|
-
|
|
4032
4092
|
if (!category.url && !category.to) {
|
|
4033
4093
|
event.preventDefault();
|
|
4034
4094
|
}
|
|
4035
|
-
|
|
4036
4095
|
if (category.command) {
|
|
4037
4096
|
category.command({
|
|
4038
4097
|
originalEvent: event,
|
|
4039
4098
|
item: category
|
|
4040
4099
|
});
|
|
4041
4100
|
}
|
|
4042
|
-
|
|
4043
4101
|
if (category.items) {
|
|
4044
4102
|
if (this.activeItem && this.activeItem === category) {
|
|
4045
4103
|
this.activeItem = null;
|
|
@@ -4052,32 +4110,30 @@ var Ripple = {
|
|
|
4052
4110
|
},
|
|
4053
4111
|
onCategoryKeydown: function onCategoryKeydown(event, category) {
|
|
4054
4112
|
var listItem = event.currentTarget.parentElement;
|
|
4055
|
-
|
|
4056
4113
|
switch (event.which) {
|
|
4057
4114
|
//down
|
|
4058
4115
|
case 40:
|
|
4059
4116
|
if (this.horizontal) this.expandMenu(category);else this.navigateToNextItem(listItem);
|
|
4060
4117
|
event.preventDefault();
|
|
4061
4118
|
break;
|
|
4062
|
-
//up
|
|
4063
4119
|
|
|
4120
|
+
//up
|
|
4064
4121
|
case 38:
|
|
4065
4122
|
if (this.vertical) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
|
|
4066
4123
|
event.preventDefault();
|
|
4067
4124
|
break;
|
|
4068
|
-
//right
|
|
4069
4125
|
|
|
4126
|
+
//right
|
|
4070
4127
|
case 39:
|
|
4071
4128
|
if (this.horizontal) this.navigateToNextItem(listItem);else this.expandMenu(category);
|
|
4072
4129
|
event.preventDefault();
|
|
4073
4130
|
break;
|
|
4074
|
-
//left
|
|
4075
4131
|
|
|
4132
|
+
//left
|
|
4076
4133
|
case 37:
|
|
4077
4134
|
if (this.horizontal) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
|
|
4078
4135
|
event.preventDefault();
|
|
4079
4136
|
break;
|
|
4080
|
-
|
|
4081
4137
|
default:
|
|
4082
4138
|
break;
|
|
4083
4139
|
}
|
|
@@ -4100,14 +4156,12 @@ var Ripple = {
|
|
|
4100
4156
|
},
|
|
4101
4157
|
navigateToNextItem: function navigateToNextItem(listItem) {
|
|
4102
4158
|
var nextItem = this.findNextItem(listItem);
|
|
4103
|
-
|
|
4104
4159
|
if (nextItem) {
|
|
4105
4160
|
nextItem.children[0].focus();
|
|
4106
4161
|
}
|
|
4107
4162
|
},
|
|
4108
4163
|
navigateToPrevItem: function navigateToPrevItem(listItem) {
|
|
4109
4164
|
var prevItem = this.findPrevItem(listItem);
|
|
4110
|
-
|
|
4111
4165
|
if (prevItem) {
|
|
4112
4166
|
prevItem.children[0].focus();
|
|
4113
4167
|
}
|
|
@@ -4129,29 +4183,23 @@ var Ripple = {
|
|
|
4129
4183
|
getColumnClassName: function getColumnClassName(category) {
|
|
4130
4184
|
var length = category.items ? category.items.length : 0;
|
|
4131
4185
|
var columnClass;
|
|
4132
|
-
|
|
4133
4186
|
switch (length) {
|
|
4134
4187
|
case 2:
|
|
4135
4188
|
columnClass = 'p-megamenu-col-6';
|
|
4136
4189
|
break;
|
|
4137
|
-
|
|
4138
4190
|
case 3:
|
|
4139
4191
|
columnClass = 'p-megamenu-col-4';
|
|
4140
4192
|
break;
|
|
4141
|
-
|
|
4142
4193
|
case 4:
|
|
4143
4194
|
columnClass = 'p-megamenu-col-3';
|
|
4144
4195
|
break;
|
|
4145
|
-
|
|
4146
4196
|
case 6:
|
|
4147
4197
|
columnClass = 'p-megamenu-col-2';
|
|
4148
4198
|
break;
|
|
4149
|
-
|
|
4150
4199
|
default:
|
|
4151
4200
|
columnClass = 'p-megamenu-col-12';
|
|
4152
4201
|
break;
|
|
4153
4202
|
}
|
|
4154
|
-
|
|
4155
4203
|
return columnClass;
|
|
4156
4204
|
},
|
|
4157
4205
|
getSubmenuHeaderClass: function getSubmenuHeaderClass(submenu) {
|
|
@@ -4171,16 +4219,13 @@ var Ripple = {
|
|
|
4171
4219
|
},
|
|
4172
4220
|
bindDocumentClickListener: function bindDocumentClickListener() {
|
|
4173
4221
|
var _this = this;
|
|
4174
|
-
|
|
4175
4222
|
if (!this.documentClickListener) {
|
|
4176
4223
|
this.documentClickListener = function (event) {
|
|
4177
4224
|
if (_this.$el && !_this.$el.contains(event.target)) {
|
|
4178
4225
|
_this.activeItem = null;
|
|
4179
|
-
|
|
4180
4226
|
_this.unbindDocumentClickListener();
|
|
4181
4227
|
}
|
|
4182
4228
|
};
|
|
4183
|
-
|
|
4184
4229
|
document.addEventListener('click', this.documentClickListener);
|
|
4185
4230
|
}
|
|
4186
4231
|
},
|
|
@@ -4220,8 +4265,8 @@ var Ripple = {
|
|
|
4220
4265
|
});
|
|
4221
4266
|
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=script&lang=js&
|
|
4222
4267
|
/* harmony default export */ var megamenu_MegaMenuvue_type_script_lang_js_ = (MegaMenuvue_type_script_lang_js_);
|
|
4223
|
-
// EXTERNAL MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=style&index=0&lang=css&
|
|
4224
|
-
var
|
|
4268
|
+
// EXTERNAL MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=style&index=0&id=1f5a8e2a&prod&lang=css&
|
|
4269
|
+
var MegaMenuvue_type_style_index_0_id_1f5a8e2a_prod_lang_css_ = __webpack_require__("835a");
|
|
4225
4270
|
|
|
4226
4271
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4227
4272
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4230,20 +4275,19 @@ var MegaMenuvue_type_style_index_0_lang_css_ = __webpack_require__("2a14");
|
|
|
4230
4275
|
// This module is a runtime utility for cleaner component module output and will
|
|
4231
4276
|
// be included in the final webpack user bundle.
|
|
4232
4277
|
|
|
4233
|
-
function normalizeComponent
|
|
4278
|
+
function normalizeComponent(
|
|
4234
4279
|
scriptExports,
|
|
4235
4280
|
render,
|
|
4236
4281
|
staticRenderFns,
|
|
4237
4282
|
functionalTemplate,
|
|
4238
4283
|
injectStyles,
|
|
4239
4284
|
scopeId,
|
|
4240
|
-
moduleIdentifier
|
|
4285
|
+
moduleIdentifier /* server only */,
|
|
4241
4286
|
shadowMode /* vue-cli only */
|
|
4242
4287
|
) {
|
|
4243
4288
|
// Vue.extend constructor export interop
|
|
4244
|
-
var options =
|
|
4245
|
-
? scriptExports.options
|
|
4246
|
-
: scriptExports
|
|
4289
|
+
var options =
|
|
4290
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4247
4291
|
|
|
4248
4292
|
// render functions
|
|
4249
4293
|
if (render) {
|
|
@@ -4263,7 +4307,8 @@ function normalizeComponent (
|
|
|
4263
4307
|
}
|
|
4264
4308
|
|
|
4265
4309
|
var hook
|
|
4266
|
-
if (moduleIdentifier) {
|
|
4310
|
+
if (moduleIdentifier) {
|
|
4311
|
+
// server build
|
|
4267
4312
|
hook = function (context) {
|
|
4268
4313
|
// 2.3 injection
|
|
4269
4314
|
context =
|
|
@@ -4289,11 +4334,11 @@ function normalizeComponent (
|
|
|
4289
4334
|
} else if (injectStyles) {
|
|
4290
4335
|
hook = shadowMode
|
|
4291
4336
|
? function () {
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4337
|
+
injectStyles.call(
|
|
4338
|
+
this,
|
|
4339
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4340
|
+
)
|
|
4341
|
+
}
|
|
4297
4342
|
: injectStyles
|
|
4298
4343
|
}
|
|
4299
4344
|
|
|
@@ -4304,16 +4349,14 @@ function normalizeComponent (
|
|
|
4304
4349
|
options._injectStyles = hook
|
|
4305
4350
|
// register for functional component in vue file
|
|
4306
4351
|
var originalRender = options.render
|
|
4307
|
-
options.render = function renderWithStyleInjection
|
|
4352
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4308
4353
|
hook.call(context)
|
|
4309
4354
|
return originalRender(h, context)
|
|
4310
4355
|
}
|
|
4311
4356
|
} else {
|
|
4312
4357
|
// inject component registration as beforeCreate hook
|
|
4313
4358
|
var existing = options.beforeCreate
|
|
4314
|
-
options.beforeCreate = existing
|
|
4315
|
-
? [].concat(existing, hook)
|
|
4316
|
-
: [hook]
|
|
4359
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4317
4360
|
}
|
|
4318
4361
|
}
|
|
4319
4362
|
|