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/megamenu/megamenu.umd.js
CHANGED
|
@@ -363,21 +363,6 @@ module.exports = __webpack_require__("9e1e") ? Object.defineProperties : functio
|
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
/***/ }),
|
|
367
|
-
|
|
368
|
-
/***/ "17e4":
|
|
369
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
370
|
-
|
|
371
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
372
|
-
// imports
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
// module
|
|
376
|
-
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%}", ""]);
|
|
377
|
-
|
|
378
|
-
// exports
|
|
379
|
-
|
|
380
|
-
|
|
381
366
|
/***/ }),
|
|
382
367
|
|
|
383
368
|
/***/ "1bc3":
|
|
@@ -885,17 +870,6 @@ module.exports = function (exec) {
|
|
|
885
870
|
};
|
|
886
871
|
|
|
887
872
|
|
|
888
|
-
/***/ }),
|
|
889
|
-
|
|
890
|
-
/***/ "2a14":
|
|
891
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
892
|
-
|
|
893
|
-
"use strict";
|
|
894
|
-
/* 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");
|
|
895
|
-
/* 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__);
|
|
896
|
-
/* unused harmony reexport * */
|
|
897
|
-
|
|
898
|
-
|
|
899
873
|
/***/ }),
|
|
900
874
|
|
|
901
875
|
/***/ "2aba":
|
|
@@ -2001,6 +1975,22 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
2001
1975
|
}
|
|
2002
1976
|
|
|
2003
1977
|
|
|
1978
|
+
/***/ }),
|
|
1979
|
+
|
|
1980
|
+
/***/ "6d79":
|
|
1981
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1982
|
+
|
|
1983
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1984
|
+
|
|
1985
|
+
// load the styles
|
|
1986
|
+
var content = __webpack_require__("c02b");
|
|
1987
|
+
if(content.__esModule) content = content.default;
|
|
1988
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1989
|
+
if(content.locals) module.exports = content.locals;
|
|
1990
|
+
// add the styles to the DOM
|
|
1991
|
+
var add = __webpack_require__("499e").default
|
|
1992
|
+
var update = add("73f3bdf5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1993
|
+
|
|
2004
1994
|
/***/ }),
|
|
2005
1995
|
|
|
2006
1996
|
/***/ "7514":
|
|
@@ -2169,6 +2159,17 @@ NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, {
|
|
|
2169
2159
|
});
|
|
2170
2160
|
|
|
2171
2161
|
|
|
2162
|
+
/***/ }),
|
|
2163
|
+
|
|
2164
|
+
/***/ "835a":
|
|
2165
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2166
|
+
|
|
2167
|
+
"use strict";
|
|
2168
|
+
/* 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");
|
|
2169
|
+
/* 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__);
|
|
2170
|
+
/* unused harmony reexport * */
|
|
2171
|
+
|
|
2172
|
+
|
|
2172
2173
|
/***/ }),
|
|
2173
2174
|
|
|
2174
2175
|
/***/ "8378":
|
|
@@ -2773,22 +2774,6 @@ __webpack_require__("5ca1")({
|
|
|
2773
2774
|
});
|
|
2774
2775
|
|
|
2775
2776
|
|
|
2776
|
-
/***/ }),
|
|
2777
|
-
|
|
2778
|
-
/***/ "b4be":
|
|
2779
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2780
|
-
|
|
2781
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2782
|
-
|
|
2783
|
-
// load the styles
|
|
2784
|
-
var content = __webpack_require__("17e4");
|
|
2785
|
-
if(content.__esModule) content = content.default;
|
|
2786
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2787
|
-
if(content.locals) module.exports = content.locals;
|
|
2788
|
-
// add the styles to the DOM
|
|
2789
|
-
var add = __webpack_require__("499e").default
|
|
2790
|
-
var update = add("20d03225", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2791
|
-
|
|
2792
2777
|
/***/ }),
|
|
2793
2778
|
|
|
2794
2779
|
/***/ "be13":
|
|
@@ -2801,6 +2786,21 @@ module.exports = function (it) {
|
|
|
2801
2786
|
};
|
|
2802
2787
|
|
|
2803
2788
|
|
|
2789
|
+
/***/ }),
|
|
2790
|
+
|
|
2791
|
+
/***/ "c02b":
|
|
2792
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2793
|
+
|
|
2794
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2795
|
+
// imports
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
// module
|
|
2799
|
+
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%}", ""]);
|
|
2800
|
+
|
|
2801
|
+
// exports
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
2804
|
/***/ }),
|
|
2805
2805
|
|
|
2806
2806
|
/***/ "c366":
|
|
@@ -3182,22 +3182,207 @@ if (typeof window !== 'undefined') {
|
|
|
3182
3182
|
// Indicate to webpack that this file can be concatenated
|
|
3183
3183
|
/* harmony default export */ var setPublicPath = (null);
|
|
3184
3184
|
|
|
3185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3186
|
-
var render = function () {
|
|
3187
|
-
var
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3185
|
+
// 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&
|
|
3186
|
+
var render = function render() {
|
|
3187
|
+
var _vm = this,
|
|
3188
|
+
_c = _vm._self._c;
|
|
3189
|
+
return _c('div', {
|
|
3190
|
+
class: _vm.containerClass
|
|
3191
|
+
}, [_vm.$slots.start ? _c('div', {
|
|
3192
|
+
staticClass: "p-megamenu-start"
|
|
3193
|
+
}, [_vm._t("start")], 2) : _vm._e(), _c('ul', {
|
|
3194
|
+
staticClass: "p-megamenu-root-list",
|
|
3195
|
+
attrs: {
|
|
3196
|
+
"role": "menubar"
|
|
3197
|
+
}
|
|
3198
|
+
}, [_vm._l(_vm.model, function (category, index) {
|
|
3199
|
+
return [_vm.visible(category) ? _c('li', {
|
|
3200
|
+
key: _vm.label(category) + '_' + index,
|
|
3201
|
+
class: _vm.getCategoryClass(category),
|
|
3202
|
+
style: category.style,
|
|
3203
|
+
attrs: {
|
|
3204
|
+
"role": "none"
|
|
3205
|
+
},
|
|
3206
|
+
on: {
|
|
3207
|
+
"mouseenter": function mouseenter($event) {
|
|
3208
|
+
return _vm.onCategoryMouseEnter($event, category);
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
}, [category.to && !_vm.disabled(category) ? _c('router-link', {
|
|
3212
|
+
attrs: {
|
|
3213
|
+
"to": category.to,
|
|
3214
|
+
"custom": ""
|
|
3215
|
+
},
|
|
3216
|
+
scopedSlots: _vm._u([{
|
|
3217
|
+
key: "default",
|
|
3218
|
+
fn: function fn(_ref) {
|
|
3219
|
+
var navigate = _ref.navigate,
|
|
3220
|
+
href = _ref.href,
|
|
3221
|
+
isActive = _ref.isActive,
|
|
3222
|
+
isExactActive = _ref.isExactActive;
|
|
3223
|
+
return [_c('a', {
|
|
3224
|
+
directives: [{
|
|
3225
|
+
name: "ripple",
|
|
3226
|
+
rawName: "v-ripple"
|
|
3227
|
+
}],
|
|
3228
|
+
class: _vm.linkClass(category, {
|
|
3229
|
+
isActive: isActive,
|
|
3230
|
+
isExactActive: isExactActive
|
|
3231
|
+
}),
|
|
3232
|
+
attrs: {
|
|
3233
|
+
"href": href,
|
|
3234
|
+
"role": "menuitem"
|
|
3235
|
+
},
|
|
3236
|
+
on: {
|
|
3237
|
+
"click": function click($event) {
|
|
3238
|
+
return _vm.onCategoryClick($event, category, navigate);
|
|
3239
|
+
},
|
|
3240
|
+
"keydown": function keydown($event) {
|
|
3241
|
+
return _vm.onCategoryKeydown($event, category);
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
}, [category.icon ? _c('span', {
|
|
3245
|
+
class: _vm.getCategoryIcon(category)
|
|
3246
|
+
}) : _vm._e(), _c('span', {
|
|
3247
|
+
staticClass: "p-menuitem-text"
|
|
3248
|
+
}, [_vm._v(_vm._s(_vm.label(category)))])])];
|
|
3249
|
+
}
|
|
3250
|
+
}], null, true)
|
|
3251
|
+
}) : _c('a', {
|
|
3252
|
+
directives: [{
|
|
3253
|
+
name: "ripple",
|
|
3254
|
+
rawName: "v-ripple"
|
|
3255
|
+
}],
|
|
3256
|
+
class: _vm.linkClass(category),
|
|
3257
|
+
attrs: {
|
|
3258
|
+
"href": category.url,
|
|
3259
|
+
"target": category.target,
|
|
3260
|
+
"role": "menuitem",
|
|
3261
|
+
"aria-haspopup": category.items != null,
|
|
3262
|
+
"aria-expanded": category === _vm.activeItem,
|
|
3263
|
+
"tabindex": _vm.disabled(category) ? null : '0'
|
|
3264
|
+
},
|
|
3265
|
+
on: {
|
|
3266
|
+
"click": function click($event) {
|
|
3267
|
+
return _vm.onCategoryClick($event, category);
|
|
3268
|
+
},
|
|
3269
|
+
"keydown": function keydown($event) {
|
|
3270
|
+
return _vm.onCategoryKeydown($event, category);
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
}, [category.icon ? _c('span', {
|
|
3274
|
+
class: _vm.getCategoryIcon(category)
|
|
3275
|
+
}) : _vm._e(), _c('span', {
|
|
3276
|
+
staticClass: "p-menuitem-text"
|
|
3277
|
+
}, [_vm._v(_vm._s(_vm.label(category)))]), category.items ? _c('span', {
|
|
3278
|
+
class: _vm.getCategorySubMenuIcon()
|
|
3279
|
+
}) : _vm._e()]), category.items ? _c('div', {
|
|
3280
|
+
staticClass: "p-megamenu-panel"
|
|
3281
|
+
}, [_c('div', {
|
|
3282
|
+
staticClass: "p-megamenu-grid"
|
|
3283
|
+
}, _vm._l(category.items, function (column, columnIndex) {
|
|
3284
|
+
return _c('div', {
|
|
3285
|
+
key: _vm.label(category) + '_column_' + columnIndex,
|
|
3286
|
+
class: _vm.getColumnClassName(category)
|
|
3287
|
+
}, _vm._l(column, function (submenu, submenuIndex) {
|
|
3288
|
+
return _c('ul', {
|
|
3289
|
+
key: _vm.label(submenu) + '_submenu_' + submenuIndex,
|
|
3290
|
+
staticClass: "p-megamenu-submenu",
|
|
3291
|
+
attrs: {
|
|
3292
|
+
"role": "menu"
|
|
3293
|
+
}
|
|
3294
|
+
}, [_c('li', {
|
|
3295
|
+
class: _vm.getSubmenuHeaderClass(submenu),
|
|
3296
|
+
style: submenu.style,
|
|
3297
|
+
attrs: {
|
|
3298
|
+
"role": "presentation"
|
|
3299
|
+
}
|
|
3300
|
+
}, [_vm._v(_vm._s(_vm.label(submenu)))]), _vm._l(submenu.items, function (item, i) {
|
|
3301
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
3302
|
+
key: _vm.label(item) + i,
|
|
3303
|
+
class: _vm.getSubmenuItemClass(item),
|
|
3304
|
+
style: item.style,
|
|
3305
|
+
attrs: {
|
|
3306
|
+
"role": "none"
|
|
3307
|
+
}
|
|
3308
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3309
|
+
attrs: {
|
|
3310
|
+
"to": item.to,
|
|
3311
|
+
"custom": ""
|
|
3312
|
+
},
|
|
3313
|
+
scopedSlots: _vm._u([{
|
|
3314
|
+
key: "default",
|
|
3315
|
+
fn: function fn(_ref2) {
|
|
3316
|
+
var navigate = _ref2.navigate,
|
|
3317
|
+
href = _ref2.href,
|
|
3318
|
+
isActive = _ref2.isActive,
|
|
3319
|
+
isExactActive = _ref2.isExactActive;
|
|
3320
|
+
return [_c('a', {
|
|
3321
|
+
directives: [{
|
|
3322
|
+
name: "ripple",
|
|
3323
|
+
rawName: "v-ripple"
|
|
3324
|
+
}],
|
|
3325
|
+
class: _vm.linkClass(item, {
|
|
3326
|
+
isActive: isActive,
|
|
3327
|
+
isExactActive: isExactActive
|
|
3328
|
+
}),
|
|
3329
|
+
attrs: {
|
|
3330
|
+
"href": href,
|
|
3331
|
+
"role": "menuitem"
|
|
3332
|
+
},
|
|
3333
|
+
on: {
|
|
3334
|
+
"click": function click($event) {
|
|
3335
|
+
return _vm.onLeafClick($event, item, navigate);
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
}, [item.icon ? _c('span', {
|
|
3339
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3340
|
+
}) : _vm._e(), _c('span', {
|
|
3341
|
+
staticClass: "p-menuitem-text"
|
|
3342
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
3343
|
+
}
|
|
3344
|
+
}], null, true)
|
|
3345
|
+
}) : _c('a', {
|
|
3346
|
+
directives: [{
|
|
3347
|
+
name: "ripple",
|
|
3348
|
+
rawName: "v-ripple"
|
|
3349
|
+
}],
|
|
3350
|
+
class: _vm.linkClass(item),
|
|
3351
|
+
attrs: {
|
|
3352
|
+
"href": item.url,
|
|
3353
|
+
"target": item.target,
|
|
3354
|
+
"role": "menuitem",
|
|
3355
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
3356
|
+
},
|
|
3357
|
+
on: {
|
|
3358
|
+
"click": function click($event) {
|
|
3359
|
+
return _vm.onLeafClick($event, item, _vm.navigate);
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
}, [item.icon ? _c('span', {
|
|
3363
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3364
|
+
}) : _vm._e(), _c('span', {
|
|
3365
|
+
staticClass: "p-menuitem-text"
|
|
3366
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
3367
|
+
class: _vm.getSubmenuIcon()
|
|
3368
|
+
}) : _vm._e()])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
3369
|
+
key: 'separator' + i,
|
|
3370
|
+
class: ['p-menu-separator', item.class],
|
|
3371
|
+
style: item.style,
|
|
3372
|
+
attrs: {
|
|
3373
|
+
"role": "separator"
|
|
3374
|
+
}
|
|
3375
|
+
}) : _vm._e()];
|
|
3376
|
+
})], 2);
|
|
3377
|
+
}), 0);
|
|
3378
|
+
}), 0)]) : _vm._e()], 1) : _vm._e()];
|
|
3379
|
+
})], 2), _vm.$slots.end ? _c('div', {
|
|
3380
|
+
staticClass: "p-megamenu-end"
|
|
3381
|
+
}, [_vm._t("end")], 2) : _vm._e()]);
|
|
3382
|
+
};
|
|
3383
|
+
var staticRenderFns = [];
|
|
3199
3384
|
|
|
3200
|
-
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=template&id=
|
|
3385
|
+
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
|
|
3201
3386
|
|
|
3202
3387
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
3203
3388
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -3241,26 +3426,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3241
3426
|
|
|
3242
3427
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3243
3428
|
|
|
3244
|
-
|
|
3245
3429
|
function _defineProperties(target, props) {
|
|
3246
3430
|
for (var i = 0; i < props.length; i++) {
|
|
3247
3431
|
var descriptor = props[i];
|
|
3248
3432
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3249
3433
|
descriptor.configurable = true;
|
|
3250
3434
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3251
|
-
|
|
3252
3435
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3253
3436
|
}
|
|
3254
3437
|
}
|
|
3255
|
-
|
|
3256
3438
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3257
3439
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3258
3440
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3259
|
-
|
|
3260
3441
|
define_property_default()(Constructor, "prototype", {
|
|
3261
3442
|
writable: false
|
|
3262
3443
|
});
|
|
3263
|
-
|
|
3264
3444
|
return Constructor;
|
|
3265
3445
|
}
|
|
3266
3446
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3276,18 +3456,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3276
3456
|
|
|
3277
3457
|
|
|
3278
3458
|
|
|
3279
|
-
|
|
3280
3459
|
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; } } }; }
|
|
3281
|
-
|
|
3282
3460
|
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); }
|
|
3283
|
-
|
|
3284
3461
|
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; }
|
|
3285
|
-
|
|
3286
3462
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3287
3463
|
function DomHandler() {
|
|
3288
3464
|
_classCallCheck(this, DomHandler);
|
|
3289
3465
|
}
|
|
3290
|
-
|
|
3291
3466
|
_createClass(DomHandler, null, [{
|
|
3292
3467
|
key: "innerWidth",
|
|
3293
3468
|
value: function innerWidth(el) {
|
|
@@ -3321,12 +3496,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3321
3496
|
value: function getOuterWidth(el, margin) {
|
|
3322
3497
|
if (el) {
|
|
3323
3498
|
var width = el.offsetWidth;
|
|
3324
|
-
|
|
3325
3499
|
if (margin) {
|
|
3326
3500
|
var style = getComputedStyle(el);
|
|
3327
3501
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3328
3502
|
}
|
|
3329
|
-
|
|
3330
3503
|
return width;
|
|
3331
3504
|
} else {
|
|
3332
3505
|
return 0;
|
|
@@ -3337,12 +3510,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3337
3510
|
value: function getOuterHeight(el, margin) {
|
|
3338
3511
|
if (el) {
|
|
3339
3512
|
var height = el.offsetHeight;
|
|
3340
|
-
|
|
3341
3513
|
if (margin) {
|
|
3342
3514
|
var style = getComputedStyle(el);
|
|
3343
3515
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3344
3516
|
}
|
|
3345
|
-
|
|
3346
3517
|
return height;
|
|
3347
3518
|
} else {
|
|
3348
3519
|
return 0;
|
|
@@ -3353,12 +3524,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3353
3524
|
value: function getClientHeight(el, margin) {
|
|
3354
3525
|
if (el) {
|
|
3355
3526
|
var height = el.clientHeight;
|
|
3356
|
-
|
|
3357
3527
|
if (margin) {
|
|
3358
3528
|
var style = getComputedStyle(el);
|
|
3359
3529
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3360
3530
|
}
|
|
3361
|
-
|
|
3362
3531
|
return height;
|
|
3363
3532
|
} else {
|
|
3364
3533
|
return 0;
|
|
@@ -3368,11 +3537,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3368
3537
|
key: "getViewport",
|
|
3369
3538
|
value: function getViewport() {
|
|
3370
3539
|
var win = window,
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3540
|
+
d = document,
|
|
3541
|
+
e = d.documentElement,
|
|
3542
|
+
g = d.getElementsByTagName('body')[0],
|
|
3543
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3544
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3376
3545
|
return {
|
|
3377
3546
|
width: w,
|
|
3378
3547
|
height: h
|
|
@@ -3403,12 +3572,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3403
3572
|
value: function index(element) {
|
|
3404
3573
|
var children = element.parentNode.childNodes;
|
|
3405
3574
|
var num = 0;
|
|
3406
|
-
|
|
3407
3575
|
for (var i = 0; i < children.length; i++) {
|
|
3408
3576
|
if (children[i] === element) return num;
|
|
3409
3577
|
if (children[i].nodeType === 1) num++;
|
|
3410
3578
|
}
|
|
3411
|
-
|
|
3412
3579
|
return -1;
|
|
3413
3580
|
}
|
|
3414
3581
|
}, {
|
|
@@ -3416,13 +3583,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3416
3583
|
value: function addMultipleClasses(element, className) {
|
|
3417
3584
|
if (element.classList) {
|
|
3418
3585
|
var styles = className.split(' ');
|
|
3419
|
-
|
|
3420
3586
|
for (var i = 0; i < styles.length; i++) {
|
|
3421
3587
|
element.classList.add(styles[i]);
|
|
3422
3588
|
}
|
|
3423
3589
|
} else {
|
|
3424
3590
|
var _styles = className.split(' ');
|
|
3425
|
-
|
|
3426
3591
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3427
3592
|
element.className += ' ' + _styles[_i];
|
|
3428
3593
|
}
|
|
@@ -3444,7 +3609,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3444
3609
|
if (element) {
|
|
3445
3610
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3446
3611
|
}
|
|
3447
|
-
|
|
3448
3612
|
return false;
|
|
3449
3613
|
}
|
|
3450
3614
|
}, {
|
|
@@ -3489,11 +3653,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3489
3653
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3490
3654
|
var viewport = this.getViewport();
|
|
3491
3655
|
var top, left;
|
|
3492
|
-
|
|
3493
3656
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3494
3657
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3495
3658
|
element.style.transformOrigin = 'bottom';
|
|
3496
|
-
|
|
3497
3659
|
if (top < 0) {
|
|
3498
3660
|
top = windowScrollTop;
|
|
3499
3661
|
}
|
|
@@ -3501,7 +3663,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3501
3663
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3502
3664
|
element.style.transformOrigin = 'top';
|
|
3503
3665
|
}
|
|
3504
|
-
|
|
3505
3666
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3506
3667
|
element.style.top = top + 'px';
|
|
3507
3668
|
element.style.left = left + 'px';
|
|
@@ -3517,11 +3678,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3517
3678
|
var targetOffset = target.getBoundingClientRect();
|
|
3518
3679
|
var viewport = this.getViewport();
|
|
3519
3680
|
var top, left;
|
|
3520
|
-
|
|
3521
3681
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3522
3682
|
top = -1 * elementDimensions.height;
|
|
3523
3683
|
element.style.transformOrigin = 'bottom';
|
|
3524
|
-
|
|
3525
3684
|
if (targetOffset.top + top < 0) {
|
|
3526
3685
|
top = -1 * targetOffset.top;
|
|
3527
3686
|
}
|
|
@@ -3529,7 +3688,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3529
3688
|
top = targetHeight;
|
|
3530
3689
|
element.style.transformOrigin = 'top';
|
|
3531
3690
|
}
|
|
3532
|
-
|
|
3533
3691
|
if (elementDimensions.width > viewport.width) {
|
|
3534
3692
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3535
3693
|
left = targetOffset.left * -1;
|
|
@@ -3540,7 +3698,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3540
3698
|
// element fits on screen (align with target)
|
|
3541
3699
|
left = 0;
|
|
3542
3700
|
}
|
|
3543
|
-
|
|
3544
3701
|
element.style.top = top + 'px';
|
|
3545
3702
|
element.style.left = left + 'px';
|
|
3546
3703
|
}
|
|
@@ -3554,35 +3711,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3554
3711
|
key: "getScrollableParents",
|
|
3555
3712
|
value: function getScrollableParents(element) {
|
|
3556
3713
|
var scrollableParents = [];
|
|
3557
|
-
|
|
3558
3714
|
if (element) {
|
|
3559
3715
|
var parents = this.getParents(element);
|
|
3560
3716
|
var overflowRegex = /(auto|scroll)/;
|
|
3561
|
-
|
|
3562
3717
|
var overflowCheck = function overflowCheck(node) {
|
|
3563
3718
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3564
3719
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3565
3720
|
};
|
|
3566
|
-
|
|
3567
3721
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3568
|
-
|
|
3569
|
-
|
|
3722
|
+
_step;
|
|
3570
3723
|
try {
|
|
3571
3724
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3572
3725
|
var parent = _step.value;
|
|
3573
3726
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3574
|
-
|
|
3575
3727
|
if (scrollSelectors) {
|
|
3576
3728
|
var selectors = scrollSelectors.split(',');
|
|
3577
|
-
|
|
3578
3729
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3579
|
-
|
|
3580
|
-
|
|
3730
|
+
_step2;
|
|
3581
3731
|
try {
|
|
3582
3732
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3583
3733
|
var selector = _step2.value;
|
|
3584
3734
|
var el = this.findSingle(parent, selector);
|
|
3585
|
-
|
|
3586
3735
|
if (el && overflowCheck(el)) {
|
|
3587
3736
|
scrollableParents.push(el);
|
|
3588
3737
|
}
|
|
@@ -3600,7 +3749,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3600
3749
|
_iterator.f();
|
|
3601
3750
|
}
|
|
3602
3751
|
}
|
|
3603
|
-
|
|
3604
3752
|
return scrollableParents;
|
|
3605
3753
|
}
|
|
3606
3754
|
}, {
|
|
@@ -3641,34 +3789,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3641
3789
|
element.style.opacity = 0;
|
|
3642
3790
|
var last = +new Date();
|
|
3643
3791
|
var opacity = 0;
|
|
3644
|
-
|
|
3645
3792
|
var tick = function tick() {
|
|
3646
3793
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3647
3794
|
element.style.opacity = opacity;
|
|
3648
3795
|
last = +new Date();
|
|
3649
|
-
|
|
3650
3796
|
if (+opacity < 1) {
|
|
3651
3797
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3652
3798
|
}
|
|
3653
3799
|
};
|
|
3654
|
-
|
|
3655
3800
|
tick();
|
|
3656
3801
|
}
|
|
3657
3802
|
}, {
|
|
3658
3803
|
key: "fadeOut",
|
|
3659
3804
|
value: function fadeOut(element, ms) {
|
|
3660
3805
|
var opacity = 1,
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3806
|
+
interval = 50,
|
|
3807
|
+
duration = ms,
|
|
3808
|
+
gap = interval / duration;
|
|
3664
3809
|
var fading = setInterval(function () {
|
|
3665
3810
|
opacity -= gap;
|
|
3666
|
-
|
|
3667
3811
|
if (opacity <= 0) {
|
|
3668
3812
|
opacity = 0;
|
|
3669
3813
|
clearInterval(fading);
|
|
3670
3814
|
}
|
|
3671
|
-
|
|
3672
3815
|
element.style.opacity = opacity;
|
|
3673
3816
|
}, interval);
|
|
3674
3817
|
}
|
|
@@ -3695,7 +3838,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3695
3838
|
var scroll = container.scrollTop;
|
|
3696
3839
|
var elementHeight = container.clientHeight;
|
|
3697
3840
|
var itemHeight = this.getOuterHeight(item);
|
|
3698
|
-
|
|
3699
3841
|
if (offset < 0) {
|
|
3700
3842
|
container.scrollTop = scroll + offset;
|
|
3701
3843
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3714,7 +3856,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3714
3856
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3715
3857
|
try {
|
|
3716
3858
|
document['selection'].empty();
|
|
3717
|
-
} catch (error) {
|
|
3859
|
+
} catch (error) {
|
|
3860
|
+
//ignore IE bug
|
|
3718
3861
|
}
|
|
3719
3862
|
}
|
|
3720
3863
|
}
|
|
@@ -3736,19 +3879,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3736
3879
|
if (!this.browser) {
|
|
3737
3880
|
var matched = this.resolveUserAgent();
|
|
3738
3881
|
this.browser = {};
|
|
3739
|
-
|
|
3740
3882
|
if (matched.browser) {
|
|
3741
3883
|
this.browser[matched.browser] = true;
|
|
3742
3884
|
this.browser['version'] = matched.version;
|
|
3743
3885
|
}
|
|
3744
|
-
|
|
3745
3886
|
if (this.browser['chrome']) {
|
|
3746
3887
|
this.browser['webkit'] = true;
|
|
3747
3888
|
} else if (this.browser['webkit']) {
|
|
3748
3889
|
this.browser['safari'] = true;
|
|
3749
3890
|
}
|
|
3750
3891
|
}
|
|
3751
|
-
|
|
3752
3892
|
return this.browser;
|
|
3753
3893
|
}
|
|
3754
3894
|
}, {
|
|
@@ -3776,10 +3916,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3776
3916
|
value: function getFocusableElements(element) {
|
|
3777
3917
|
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])");
|
|
3778
3918
|
var visibleFocusableElements = [];
|
|
3779
|
-
|
|
3780
3919
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3781
|
-
|
|
3782
|
-
|
|
3920
|
+
_step3;
|
|
3783
3921
|
try {
|
|
3784
3922
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3785
3923
|
var focusableElement = _step3.value;
|
|
@@ -3790,7 +3928,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3790
3928
|
} finally {
|
|
3791
3929
|
_iterator3.f();
|
|
3792
3930
|
}
|
|
3793
|
-
|
|
3794
3931
|
return visibleFocusableElements;
|
|
3795
3932
|
}
|
|
3796
3933
|
}, {
|
|
@@ -3833,55 +3970,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3833
3970
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3834
3971
|
}
|
|
3835
3972
|
}]);
|
|
3836
|
-
|
|
3837
3973
|
return DomHandler;
|
|
3838
3974
|
}();
|
|
3839
3975
|
|
|
3840
|
-
|
|
3841
3976
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3842
3977
|
|
|
3843
|
-
|
|
3844
3978
|
function bindEvents(el) {
|
|
3845
3979
|
el.addEventListener('mousedown', onMouseDown);
|
|
3846
3980
|
}
|
|
3847
|
-
|
|
3848
3981
|
function unbindEvents(el) {
|
|
3849
3982
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3850
3983
|
}
|
|
3851
|
-
|
|
3852
3984
|
function create(el) {
|
|
3853
3985
|
var ink = document.createElement('span');
|
|
3854
3986
|
ink.className = 'p-ink';
|
|
3855
3987
|
el.appendChild(ink);
|
|
3856
3988
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3857
3989
|
}
|
|
3858
|
-
|
|
3859
3990
|
function remove(el) {
|
|
3860
3991
|
var ink = getInk(el);
|
|
3861
|
-
|
|
3862
3992
|
if (ink) {
|
|
3863
3993
|
unbindEvents(el);
|
|
3864
3994
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3865
3995
|
ink.remove();
|
|
3866
3996
|
}
|
|
3867
3997
|
}
|
|
3868
|
-
|
|
3869
3998
|
function onMouseDown(event) {
|
|
3870
3999
|
var target = event.currentTarget;
|
|
3871
4000
|
var ink = getInk(target);
|
|
3872
|
-
|
|
3873
4001
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3874
4002
|
return;
|
|
3875
4003
|
}
|
|
3876
|
-
|
|
3877
4004
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3878
|
-
|
|
3879
4005
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3880
4006
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3881
4007
|
ink.style.height = d + 'px';
|
|
3882
4008
|
ink.style.width = d + 'px';
|
|
3883
4009
|
}
|
|
3884
|
-
|
|
3885
4010
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3886
4011
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3887
4012
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3889,21 +4014,17 @@ function onMouseDown(event) {
|
|
|
3889
4014
|
ink.style.left = x + 'px';
|
|
3890
4015
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3891
4016
|
}
|
|
3892
|
-
|
|
3893
4017
|
function onAnimationEnd(event) {
|
|
3894
4018
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3895
4019
|
}
|
|
3896
|
-
|
|
3897
4020
|
function getInk(el) {
|
|
3898
4021
|
for (var i = 0; i < el.children.length; i++) {
|
|
3899
4022
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3900
4023
|
return el.children[i];
|
|
3901
4024
|
}
|
|
3902
4025
|
}
|
|
3903
|
-
|
|
3904
4026
|
return null;
|
|
3905
4027
|
}
|
|
3906
|
-
|
|
3907
4028
|
var Ripple = {
|
|
3908
4029
|
inserted: function inserted(el, binding, vnode) {
|
|
3909
4030
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3917,61 +4038,6 @@ var Ripple = {
|
|
|
3917
4038
|
};
|
|
3918
4039
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3919
4040
|
// 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&
|
|
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
|
-
//
|
|
3967
|
-
//
|
|
3968
|
-
//
|
|
3969
|
-
//
|
|
3970
|
-
//
|
|
3971
|
-
//
|
|
3972
|
-
//
|
|
3973
|
-
//
|
|
3974
|
-
//
|
|
3975
4041
|
|
|
3976
4042
|
|
|
3977
4043
|
/* harmony default export */ var MegaMenuvue_type_script_lang_js_ = ({
|
|
@@ -4004,22 +4070,18 @@ var Ripple = {
|
|
|
4004
4070
|
event.preventDefault();
|
|
4005
4071
|
return;
|
|
4006
4072
|
}
|
|
4007
|
-
|
|
4008
4073
|
if (!item.url && !item.to) {
|
|
4009
4074
|
event.preventDefault();
|
|
4010
4075
|
}
|
|
4011
|
-
|
|
4012
4076
|
if (item.command) {
|
|
4013
4077
|
item.command({
|
|
4014
4078
|
originalEvent: event,
|
|
4015
4079
|
item: item
|
|
4016
4080
|
});
|
|
4017
4081
|
}
|
|
4018
|
-
|
|
4019
4082
|
if (item.to && navigate) {
|
|
4020
4083
|
navigate(event);
|
|
4021
4084
|
}
|
|
4022
|
-
|
|
4023
4085
|
this.activeItem = null;
|
|
4024
4086
|
},
|
|
4025
4087
|
onCategoryMouseEnter: function onCategoryMouseEnter(event, category) {
|
|
@@ -4027,7 +4089,6 @@ var Ripple = {
|
|
|
4027
4089
|
event.preventDefault();
|
|
4028
4090
|
return;
|
|
4029
4091
|
}
|
|
4030
|
-
|
|
4031
4092
|
if (this.activeItem) {
|
|
4032
4093
|
this.activeItem = category;
|
|
4033
4094
|
}
|
|
@@ -4037,18 +4098,15 @@ var Ripple = {
|
|
|
4037
4098
|
event.preventDefault();
|
|
4038
4099
|
return;
|
|
4039
4100
|
}
|
|
4040
|
-
|
|
4041
4101
|
if (!category.url && !category.to) {
|
|
4042
4102
|
event.preventDefault();
|
|
4043
4103
|
}
|
|
4044
|
-
|
|
4045
4104
|
if (category.command) {
|
|
4046
4105
|
category.command({
|
|
4047
4106
|
originalEvent: event,
|
|
4048
4107
|
item: category
|
|
4049
4108
|
});
|
|
4050
4109
|
}
|
|
4051
|
-
|
|
4052
4110
|
if (category.items) {
|
|
4053
4111
|
if (this.activeItem && this.activeItem === category) {
|
|
4054
4112
|
this.activeItem = null;
|
|
@@ -4061,32 +4119,30 @@ var Ripple = {
|
|
|
4061
4119
|
},
|
|
4062
4120
|
onCategoryKeydown: function onCategoryKeydown(event, category) {
|
|
4063
4121
|
var listItem = event.currentTarget.parentElement;
|
|
4064
|
-
|
|
4065
4122
|
switch (event.which) {
|
|
4066
4123
|
//down
|
|
4067
4124
|
case 40:
|
|
4068
4125
|
if (this.horizontal) this.expandMenu(category);else this.navigateToNextItem(listItem);
|
|
4069
4126
|
event.preventDefault();
|
|
4070
4127
|
break;
|
|
4071
|
-
//up
|
|
4072
4128
|
|
|
4129
|
+
//up
|
|
4073
4130
|
case 38:
|
|
4074
4131
|
if (this.vertical) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
|
|
4075
4132
|
event.preventDefault();
|
|
4076
4133
|
break;
|
|
4077
|
-
//right
|
|
4078
4134
|
|
|
4135
|
+
//right
|
|
4079
4136
|
case 39:
|
|
4080
4137
|
if (this.horizontal) this.navigateToNextItem(listItem);else this.expandMenu(category);
|
|
4081
4138
|
event.preventDefault();
|
|
4082
4139
|
break;
|
|
4083
|
-
//left
|
|
4084
4140
|
|
|
4141
|
+
//left
|
|
4085
4142
|
case 37:
|
|
4086
4143
|
if (this.horizontal) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
|
|
4087
4144
|
event.preventDefault();
|
|
4088
4145
|
break;
|
|
4089
|
-
|
|
4090
4146
|
default:
|
|
4091
4147
|
break;
|
|
4092
4148
|
}
|
|
@@ -4109,14 +4165,12 @@ var Ripple = {
|
|
|
4109
4165
|
},
|
|
4110
4166
|
navigateToNextItem: function navigateToNextItem(listItem) {
|
|
4111
4167
|
var nextItem = this.findNextItem(listItem);
|
|
4112
|
-
|
|
4113
4168
|
if (nextItem) {
|
|
4114
4169
|
nextItem.children[0].focus();
|
|
4115
4170
|
}
|
|
4116
4171
|
},
|
|
4117
4172
|
navigateToPrevItem: function navigateToPrevItem(listItem) {
|
|
4118
4173
|
var prevItem = this.findPrevItem(listItem);
|
|
4119
|
-
|
|
4120
4174
|
if (prevItem) {
|
|
4121
4175
|
prevItem.children[0].focus();
|
|
4122
4176
|
}
|
|
@@ -4138,29 +4192,23 @@ var Ripple = {
|
|
|
4138
4192
|
getColumnClassName: function getColumnClassName(category) {
|
|
4139
4193
|
var length = category.items ? category.items.length : 0;
|
|
4140
4194
|
var columnClass;
|
|
4141
|
-
|
|
4142
4195
|
switch (length) {
|
|
4143
4196
|
case 2:
|
|
4144
4197
|
columnClass = 'p-megamenu-col-6';
|
|
4145
4198
|
break;
|
|
4146
|
-
|
|
4147
4199
|
case 3:
|
|
4148
4200
|
columnClass = 'p-megamenu-col-4';
|
|
4149
4201
|
break;
|
|
4150
|
-
|
|
4151
4202
|
case 4:
|
|
4152
4203
|
columnClass = 'p-megamenu-col-3';
|
|
4153
4204
|
break;
|
|
4154
|
-
|
|
4155
4205
|
case 6:
|
|
4156
4206
|
columnClass = 'p-megamenu-col-2';
|
|
4157
4207
|
break;
|
|
4158
|
-
|
|
4159
4208
|
default:
|
|
4160
4209
|
columnClass = 'p-megamenu-col-12';
|
|
4161
4210
|
break;
|
|
4162
4211
|
}
|
|
4163
|
-
|
|
4164
4212
|
return columnClass;
|
|
4165
4213
|
},
|
|
4166
4214
|
getSubmenuHeaderClass: function getSubmenuHeaderClass(submenu) {
|
|
@@ -4180,16 +4228,13 @@ var Ripple = {
|
|
|
4180
4228
|
},
|
|
4181
4229
|
bindDocumentClickListener: function bindDocumentClickListener() {
|
|
4182
4230
|
var _this = this;
|
|
4183
|
-
|
|
4184
4231
|
if (!this.documentClickListener) {
|
|
4185
4232
|
this.documentClickListener = function (event) {
|
|
4186
4233
|
if (_this.$el && !_this.$el.contains(event.target)) {
|
|
4187
4234
|
_this.activeItem = null;
|
|
4188
|
-
|
|
4189
4235
|
_this.unbindDocumentClickListener();
|
|
4190
4236
|
}
|
|
4191
4237
|
};
|
|
4192
|
-
|
|
4193
4238
|
document.addEventListener('click', this.documentClickListener);
|
|
4194
4239
|
}
|
|
4195
4240
|
},
|
|
@@ -4229,8 +4274,8 @@ var Ripple = {
|
|
|
4229
4274
|
});
|
|
4230
4275
|
// CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=script&lang=js&
|
|
4231
4276
|
/* harmony default export */ var megamenu_MegaMenuvue_type_script_lang_js_ = (MegaMenuvue_type_script_lang_js_);
|
|
4232
|
-
// EXTERNAL MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=style&index=0&lang=css&
|
|
4233
|
-
var
|
|
4277
|
+
// EXTERNAL MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=style&index=0&id=1f5a8e2a&prod&lang=css&
|
|
4278
|
+
var MegaMenuvue_type_style_index_0_id_1f5a8e2a_prod_lang_css_ = __webpack_require__("835a");
|
|
4234
4279
|
|
|
4235
4280
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4236
4281
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4239,20 +4284,19 @@ var MegaMenuvue_type_style_index_0_lang_css_ = __webpack_require__("2a14");
|
|
|
4239
4284
|
// This module is a runtime utility for cleaner component module output and will
|
|
4240
4285
|
// be included in the final webpack user bundle.
|
|
4241
4286
|
|
|
4242
|
-
function normalizeComponent
|
|
4287
|
+
function normalizeComponent(
|
|
4243
4288
|
scriptExports,
|
|
4244
4289
|
render,
|
|
4245
4290
|
staticRenderFns,
|
|
4246
4291
|
functionalTemplate,
|
|
4247
4292
|
injectStyles,
|
|
4248
4293
|
scopeId,
|
|
4249
|
-
moduleIdentifier
|
|
4294
|
+
moduleIdentifier /* server only */,
|
|
4250
4295
|
shadowMode /* vue-cli only */
|
|
4251
4296
|
) {
|
|
4252
4297
|
// Vue.extend constructor export interop
|
|
4253
|
-
var options =
|
|
4254
|
-
? scriptExports.options
|
|
4255
|
-
: scriptExports
|
|
4298
|
+
var options =
|
|
4299
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4256
4300
|
|
|
4257
4301
|
// render functions
|
|
4258
4302
|
if (render) {
|
|
@@ -4272,7 +4316,8 @@ function normalizeComponent (
|
|
|
4272
4316
|
}
|
|
4273
4317
|
|
|
4274
4318
|
var hook
|
|
4275
|
-
if (moduleIdentifier) {
|
|
4319
|
+
if (moduleIdentifier) {
|
|
4320
|
+
// server build
|
|
4276
4321
|
hook = function (context) {
|
|
4277
4322
|
// 2.3 injection
|
|
4278
4323
|
context =
|
|
@@ -4298,11 +4343,11 @@ function normalizeComponent (
|
|
|
4298
4343
|
} else if (injectStyles) {
|
|
4299
4344
|
hook = shadowMode
|
|
4300
4345
|
? function () {
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4346
|
+
injectStyles.call(
|
|
4347
|
+
this,
|
|
4348
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4349
|
+
)
|
|
4350
|
+
}
|
|
4306
4351
|
: injectStyles
|
|
4307
4352
|
}
|
|
4308
4353
|
|
|
@@ -4313,16 +4358,14 @@ function normalizeComponent (
|
|
|
4313
4358
|
options._injectStyles = hook
|
|
4314
4359
|
// register for functional component in vue file
|
|
4315
4360
|
var originalRender = options.render
|
|
4316
|
-
options.render = function renderWithStyleInjection
|
|
4361
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4317
4362
|
hook.call(context)
|
|
4318
4363
|
return originalRender(h, context)
|
|
4319
4364
|
}
|
|
4320
4365
|
} else {
|
|
4321
4366
|
// inject component registration as beforeCreate hook
|
|
4322
4367
|
var existing = options.beforeCreate
|
|
4323
|
-
options.beforeCreate = existing
|
|
4324
|
-
? [].concat(existing, hook)
|
|
4325
|
-
: [hook]
|
|
4368
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4326
4369
|
}
|
|
4327
4370
|
}
|
|
4328
4371
|
|