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
|
@@ -1587,6 +1587,17 @@ var core = module.exports = { version: '2.6.12' };
|
|
|
1587
1587
|
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
1588
1588
|
|
|
1589
1589
|
|
|
1590
|
+
/***/ }),
|
|
1591
|
+
|
|
1592
|
+
/***/ "5b39":
|
|
1593
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1594
|
+
|
|
1595
|
+
"use strict";
|
|
1596
|
+
/* 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_Menubar_vue_vue_type_style_index_0_id_050a1a2c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5fb1");
|
|
1597
|
+
/* 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_Menubar_vue_vue_type_style_index_0_id_050a1a2c_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_Menubar_vue_vue_type_style_index_0_id_050a1a2c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1598
|
+
/* unused harmony reexport * */
|
|
1599
|
+
|
|
1600
|
+
|
|
1590
1601
|
/***/ }),
|
|
1591
1602
|
|
|
1592
1603
|
/***/ "5ca1":
|
|
@@ -1736,6 +1747,22 @@ module.exports = function (R, S) {
|
|
|
1736
1747
|
};
|
|
1737
1748
|
|
|
1738
1749
|
|
|
1750
|
+
/***/ }),
|
|
1751
|
+
|
|
1752
|
+
/***/ "5fb1":
|
|
1753
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1754
|
+
|
|
1755
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1756
|
+
|
|
1757
|
+
// load the styles
|
|
1758
|
+
var content = __webpack_require__("9fb4");
|
|
1759
|
+
if(content.__esModule) content = content.default;
|
|
1760
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1761
|
+
if(content.locals) module.exports = content.locals;
|
|
1762
|
+
// add the styles to the DOM
|
|
1763
|
+
var add = __webpack_require__("499e").default
|
|
1764
|
+
var update = add("5c2264e8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1765
|
+
|
|
1739
1766
|
/***/ }),
|
|
1740
1767
|
|
|
1741
1768
|
/***/ "613b":
|
|
@@ -2143,17 +2170,6 @@ var core = module.exports = { version: '2.6.12' };
|
|
|
2143
2170
|
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
2144
2171
|
|
|
2145
2172
|
|
|
2146
|
-
/***/ }),
|
|
2147
|
-
|
|
2148
|
-
/***/ "84be":
|
|
2149
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2150
|
-
|
|
2151
|
-
"use strict";
|
|
2152
|
-
/* 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_Menubar_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("91fe");
|
|
2153
|
-
/* 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_Menubar_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_Menubar_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
2154
|
-
/* unused harmony reexport * */
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
2173
|
/***/ }),
|
|
2158
2174
|
|
|
2159
2175
|
/***/ "84f2":
|
|
@@ -2503,22 +2519,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
2503
2519
|
};
|
|
2504
2520
|
|
|
2505
2521
|
|
|
2506
|
-
/***/ }),
|
|
2507
|
-
|
|
2508
|
-
/***/ "91fe":
|
|
2509
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2510
|
-
|
|
2511
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2512
|
-
|
|
2513
|
-
// load the styles
|
|
2514
|
-
var content = __webpack_require__("ec8c");
|
|
2515
|
-
if(content.__esModule) content = content.default;
|
|
2516
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2517
|
-
if(content.locals) module.exports = content.locals;
|
|
2518
|
-
// add the styles to the DOM
|
|
2519
|
-
var add = __webpack_require__("499e").default
|
|
2520
|
-
var update = add("086a7720", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2521
|
-
|
|
2522
2522
|
/***/ }),
|
|
2523
2523
|
|
|
2524
2524
|
/***/ "9b43":
|
|
@@ -2584,6 +2584,21 @@ module.exports = !__webpack_require__("79e5")(function () {
|
|
|
2584
2584
|
});
|
|
2585
2585
|
|
|
2586
2586
|
|
|
2587
|
+
/***/ }),
|
|
2588
|
+
|
|
2589
|
+
/***/ "9fb4":
|
|
2590
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2591
|
+
|
|
2592
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2593
|
+
// imports
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
// module
|
|
2597
|
+
exports.push([module.i, ".p-menubar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .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-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:1}.p-menubar .p-submenu-list>.p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;-ms-flex-item-align:center;align-self:center}.p-menubar-button{display:none;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}", ""]);
|
|
2598
|
+
|
|
2599
|
+
// exports
|
|
2600
|
+
|
|
2601
|
+
|
|
2587
2602
|
/***/ }),
|
|
2588
2603
|
|
|
2589
2604
|
/***/ "a481":
|
|
@@ -3046,21 +3061,6 @@ module.exports = function (O, D) {
|
|
|
3046
3061
|
};
|
|
3047
3062
|
|
|
3048
3063
|
|
|
3049
|
-
/***/ }),
|
|
3050
|
-
|
|
3051
|
-
/***/ "ec8c":
|
|
3052
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3053
|
-
|
|
3054
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
3055
|
-
// imports
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
// module
|
|
3059
|
-
exports.push([module.i, ".p-menubar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .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-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:1}.p-menubar .p-submenu-list>.p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;-ms-flex-item-align:center;align-self:center}.p-menubar-button{display:none;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}", ""]);
|
|
3060
|
-
|
|
3061
|
-
// exports
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
3064
|
/***/ }),
|
|
3065
3065
|
|
|
3066
3066
|
/***/ "f1ae":
|
|
@@ -3173,22 +3173,159 @@ 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
|
-
|
|
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/menubar/Menubar.vue?vue&type=template&id=050a1a2c&
|
|
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-menubar-start"
|
|
3184
|
+
}, [_vm._t("start")], 2) : _vm._e(), _c('a', {
|
|
3185
|
+
ref: "menubutton",
|
|
3186
|
+
staticClass: "p-menubar-button",
|
|
3187
|
+
attrs: {
|
|
3188
|
+
"tabindex": "0"
|
|
3189
|
+
},
|
|
3190
|
+
on: {
|
|
3191
|
+
"click": function click($event) {
|
|
3192
|
+
return _vm.toggle($event);
|
|
3193
|
+
}
|
|
3194
|
+
}
|
|
3195
|
+
}, [_c('i', {
|
|
3196
|
+
staticClass: "pi pi-bars"
|
|
3197
|
+
})]), _c('MenubarSub', {
|
|
3198
|
+
ref: "rootmenu",
|
|
3199
|
+
attrs: {
|
|
3200
|
+
"model": _vm.model,
|
|
3201
|
+
"root": true,
|
|
3202
|
+
"mobileActive": _vm.mobileActive,
|
|
3203
|
+
"exact": _vm.exact
|
|
3204
|
+
},
|
|
3205
|
+
on: {
|
|
3206
|
+
"leaf-click": _vm.onLeafClick
|
|
3207
|
+
}
|
|
3208
|
+
}), _vm.$slots.end ? _c('div', {
|
|
3209
|
+
staticClass: "p-menubar-end"
|
|
3210
|
+
}, [_vm._t("end")], 2) : _vm._e()], 1);
|
|
3211
|
+
};
|
|
3212
|
+
var staticRenderFns = [];
|
|
3180
3213
|
|
|
3181
3214
|
// CONCATENATED MODULE: ./src/components/menubar/Menubar.vue?vue&type=template&id=050a1a2c&
|
|
3182
3215
|
|
|
3183
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3184
|
-
var MenubarSubvue_type_template_id_a44977b2_render = function () {
|
|
3185
|
-
var
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3216
|
+
// 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/menubar/MenubarSub.vue?vue&type=template&id=a44977b2&
|
|
3217
|
+
var MenubarSubvue_type_template_id_a44977b2_render = function render() {
|
|
3218
|
+
var _vm = this,
|
|
3219
|
+
_c = _vm._self._c;
|
|
3220
|
+
return _c('ul', {
|
|
3221
|
+
class: _vm.containerClass,
|
|
3222
|
+
attrs: {
|
|
3223
|
+
"role": _vm.root ? 'menubar' : 'menu'
|
|
3224
|
+
}
|
|
3225
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
3226
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
3227
|
+
key: _vm.label(item) + i,
|
|
3228
|
+
class: _vm.getItemClass(item),
|
|
3229
|
+
style: item.style,
|
|
3230
|
+
attrs: {
|
|
3231
|
+
"role": "none"
|
|
3232
|
+
},
|
|
3233
|
+
on: {
|
|
3234
|
+
"mouseenter": function mouseenter($event) {
|
|
3235
|
+
return _vm.onItemMouseEnter($event, item);
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3239
|
+
attrs: {
|
|
3240
|
+
"to": item.to,
|
|
3241
|
+
"custom": ""
|
|
3242
|
+
},
|
|
3243
|
+
scopedSlots: _vm._u([{
|
|
3244
|
+
key: "default",
|
|
3245
|
+
fn: function fn(_ref) {
|
|
3246
|
+
var navigate = _ref.navigate,
|
|
3247
|
+
href = _ref.href,
|
|
3248
|
+
isActive = _ref.isActive,
|
|
3249
|
+
isExactActive = _ref.isExactActive;
|
|
3250
|
+
return [_c('a', {
|
|
3251
|
+
directives: [{
|
|
3252
|
+
name: "ripple",
|
|
3253
|
+
rawName: "v-ripple"
|
|
3254
|
+
}],
|
|
3255
|
+
class: _vm.linkClass(item, {
|
|
3256
|
+
isActive: isActive,
|
|
3257
|
+
isExactActive: isExactActive
|
|
3258
|
+
}),
|
|
3259
|
+
attrs: {
|
|
3260
|
+
"href": href,
|
|
3261
|
+
"role": "menuitem"
|
|
3262
|
+
},
|
|
3263
|
+
on: {
|
|
3264
|
+
"click": function click($event) {
|
|
3265
|
+
return _vm.onItemClick($event, item, navigate);
|
|
3266
|
+
},
|
|
3267
|
+
"keydown": function keydown($event) {
|
|
3268
|
+
return _vm.onItemKeyDown($event, item);
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
}, [_c('span', {
|
|
3272
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3273
|
+
}), _c('span', {
|
|
3274
|
+
staticClass: "p-menuitem-text"
|
|
3275
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
3276
|
+
}
|
|
3277
|
+
}], null, true)
|
|
3278
|
+
}) : _c('a', {
|
|
3279
|
+
directives: [{
|
|
3280
|
+
name: "ripple",
|
|
3281
|
+
rawName: "v-ripple"
|
|
3282
|
+
}],
|
|
3283
|
+
class: _vm.linkClass(item),
|
|
3284
|
+
attrs: {
|
|
3285
|
+
"href": item.url,
|
|
3286
|
+
"target": item.target,
|
|
3287
|
+
"aria-haspopup": item.items != null,
|
|
3288
|
+
"aria-expanded": item === _vm.activeItem,
|
|
3289
|
+
"role": "menuitem",
|
|
3290
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
3291
|
+
},
|
|
3292
|
+
on: {
|
|
3293
|
+
"click": function click($event) {
|
|
3294
|
+
return _vm.onItemClick($event, item);
|
|
3295
|
+
},
|
|
3296
|
+
"keydown": function keydown($event) {
|
|
3297
|
+
return _vm.onItemKeyDown($event, item);
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
}, [_c('span', {
|
|
3301
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3302
|
+
}), _c('span', {
|
|
3303
|
+
staticClass: "p-menuitem-text"
|
|
3304
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
3305
|
+
class: _vm.getSubmenuIcon()
|
|
3306
|
+
}) : _vm._e()]), _vm.visible(item) && item.items ? _c('sub-menu', {
|
|
3307
|
+
key: _vm.label(item) + '_sub_',
|
|
3308
|
+
attrs: {
|
|
3309
|
+
"model": item.items,
|
|
3310
|
+
"exact": _vm.exact,
|
|
3311
|
+
"mobileActive": _vm.mobileActive,
|
|
3312
|
+
"parentActive": item === _vm.activeItem
|
|
3313
|
+
},
|
|
3314
|
+
on: {
|
|
3315
|
+
"leaf-click": _vm.onLeafClick,
|
|
3316
|
+
"keydown-item": _vm.onChildItemKeyDown
|
|
3317
|
+
}
|
|
3318
|
+
}) : _vm._e()], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
3319
|
+
key: 'separator' + i,
|
|
3320
|
+
class: ['p-menu-separator', item.class],
|
|
3321
|
+
style: item.style,
|
|
3322
|
+
attrs: {
|
|
3323
|
+
"role": "separator"
|
|
3324
|
+
}
|
|
3325
|
+
}) : _vm._e()];
|
|
3326
|
+
})], 2);
|
|
3327
|
+
};
|
|
3328
|
+
var MenubarSubvue_type_template_id_a44977b2_staticRenderFns = [];
|
|
3192
3329
|
|
|
3193
3330
|
// CONCATENATED MODULE: ./src/components/menubar/MenubarSub.vue?vue&type=template&id=a44977b2&
|
|
3194
3331
|
|
|
@@ -3234,26 +3371,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3234
3371
|
|
|
3235
3372
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3236
3373
|
|
|
3237
|
-
|
|
3238
3374
|
function _defineProperties(target, props) {
|
|
3239
3375
|
for (var i = 0; i < props.length; i++) {
|
|
3240
3376
|
var descriptor = props[i];
|
|
3241
3377
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3242
3378
|
descriptor.configurable = true;
|
|
3243
3379
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3244
|
-
|
|
3245
3380
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3246
3381
|
}
|
|
3247
3382
|
}
|
|
3248
|
-
|
|
3249
3383
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3250
3384
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3251
3385
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3252
|
-
|
|
3253
3386
|
define_property_default()(Constructor, "prototype", {
|
|
3254
3387
|
writable: false
|
|
3255
3388
|
});
|
|
3256
|
-
|
|
3257
3389
|
return Constructor;
|
|
3258
3390
|
}
|
|
3259
3391
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3269,18 +3401,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3269
3401
|
|
|
3270
3402
|
|
|
3271
3403
|
|
|
3272
|
-
|
|
3273
3404
|
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; } } }; }
|
|
3274
|
-
|
|
3275
3405
|
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); }
|
|
3276
|
-
|
|
3277
3406
|
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; }
|
|
3278
|
-
|
|
3279
3407
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3280
3408
|
function DomHandler() {
|
|
3281
3409
|
_classCallCheck(this, DomHandler);
|
|
3282
3410
|
}
|
|
3283
|
-
|
|
3284
3411
|
_createClass(DomHandler, null, [{
|
|
3285
3412
|
key: "innerWidth",
|
|
3286
3413
|
value: function innerWidth(el) {
|
|
@@ -3314,12 +3441,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3314
3441
|
value: function getOuterWidth(el, margin) {
|
|
3315
3442
|
if (el) {
|
|
3316
3443
|
var width = el.offsetWidth;
|
|
3317
|
-
|
|
3318
3444
|
if (margin) {
|
|
3319
3445
|
var style = getComputedStyle(el);
|
|
3320
3446
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3321
3447
|
}
|
|
3322
|
-
|
|
3323
3448
|
return width;
|
|
3324
3449
|
} else {
|
|
3325
3450
|
return 0;
|
|
@@ -3330,12 +3455,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3330
3455
|
value: function getOuterHeight(el, margin) {
|
|
3331
3456
|
if (el) {
|
|
3332
3457
|
var height = el.offsetHeight;
|
|
3333
|
-
|
|
3334
3458
|
if (margin) {
|
|
3335
3459
|
var style = getComputedStyle(el);
|
|
3336
3460
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3337
3461
|
}
|
|
3338
|
-
|
|
3339
3462
|
return height;
|
|
3340
3463
|
} else {
|
|
3341
3464
|
return 0;
|
|
@@ -3346,12 +3469,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3346
3469
|
value: function getClientHeight(el, margin) {
|
|
3347
3470
|
if (el) {
|
|
3348
3471
|
var height = el.clientHeight;
|
|
3349
|
-
|
|
3350
3472
|
if (margin) {
|
|
3351
3473
|
var style = getComputedStyle(el);
|
|
3352
3474
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3353
3475
|
}
|
|
3354
|
-
|
|
3355
3476
|
return height;
|
|
3356
3477
|
} else {
|
|
3357
3478
|
return 0;
|
|
@@ -3361,11 +3482,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3361
3482
|
key: "getViewport",
|
|
3362
3483
|
value: function getViewport() {
|
|
3363
3484
|
var win = window,
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3485
|
+
d = document,
|
|
3486
|
+
e = d.documentElement,
|
|
3487
|
+
g = d.getElementsByTagName('body')[0],
|
|
3488
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3489
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3369
3490
|
return {
|
|
3370
3491
|
width: w,
|
|
3371
3492
|
height: h
|
|
@@ -3396,12 +3517,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3396
3517
|
value: function index(element) {
|
|
3397
3518
|
var children = element.parentNode.childNodes;
|
|
3398
3519
|
var num = 0;
|
|
3399
|
-
|
|
3400
3520
|
for (var i = 0; i < children.length; i++) {
|
|
3401
3521
|
if (children[i] === element) return num;
|
|
3402
3522
|
if (children[i].nodeType === 1) num++;
|
|
3403
3523
|
}
|
|
3404
|
-
|
|
3405
3524
|
return -1;
|
|
3406
3525
|
}
|
|
3407
3526
|
}, {
|
|
@@ -3409,13 +3528,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3409
3528
|
value: function addMultipleClasses(element, className) {
|
|
3410
3529
|
if (element.classList) {
|
|
3411
3530
|
var styles = className.split(' ');
|
|
3412
|
-
|
|
3413
3531
|
for (var i = 0; i < styles.length; i++) {
|
|
3414
3532
|
element.classList.add(styles[i]);
|
|
3415
3533
|
}
|
|
3416
3534
|
} else {
|
|
3417
3535
|
var _styles = className.split(' ');
|
|
3418
|
-
|
|
3419
3536
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3420
3537
|
element.className += ' ' + _styles[_i];
|
|
3421
3538
|
}
|
|
@@ -3437,7 +3554,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3437
3554
|
if (element) {
|
|
3438
3555
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3439
3556
|
}
|
|
3440
|
-
|
|
3441
3557
|
return false;
|
|
3442
3558
|
}
|
|
3443
3559
|
}, {
|
|
@@ -3482,11 +3598,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3482
3598
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3483
3599
|
var viewport = this.getViewport();
|
|
3484
3600
|
var top, left;
|
|
3485
|
-
|
|
3486
3601
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3487
3602
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3488
3603
|
element.style.transformOrigin = 'bottom';
|
|
3489
|
-
|
|
3490
3604
|
if (top < 0) {
|
|
3491
3605
|
top = windowScrollTop;
|
|
3492
3606
|
}
|
|
@@ -3494,7 +3608,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3494
3608
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3495
3609
|
element.style.transformOrigin = 'top';
|
|
3496
3610
|
}
|
|
3497
|
-
|
|
3498
3611
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3499
3612
|
element.style.top = top + 'px';
|
|
3500
3613
|
element.style.left = left + 'px';
|
|
@@ -3510,11 +3623,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3510
3623
|
var targetOffset = target.getBoundingClientRect();
|
|
3511
3624
|
var viewport = this.getViewport();
|
|
3512
3625
|
var top, left;
|
|
3513
|
-
|
|
3514
3626
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3515
3627
|
top = -1 * elementDimensions.height;
|
|
3516
3628
|
element.style.transformOrigin = 'bottom';
|
|
3517
|
-
|
|
3518
3629
|
if (targetOffset.top + top < 0) {
|
|
3519
3630
|
top = -1 * targetOffset.top;
|
|
3520
3631
|
}
|
|
@@ -3522,7 +3633,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3522
3633
|
top = targetHeight;
|
|
3523
3634
|
element.style.transformOrigin = 'top';
|
|
3524
3635
|
}
|
|
3525
|
-
|
|
3526
3636
|
if (elementDimensions.width > viewport.width) {
|
|
3527
3637
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3528
3638
|
left = targetOffset.left * -1;
|
|
@@ -3533,7 +3643,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3533
3643
|
// element fits on screen (align with target)
|
|
3534
3644
|
left = 0;
|
|
3535
3645
|
}
|
|
3536
|
-
|
|
3537
3646
|
element.style.top = top + 'px';
|
|
3538
3647
|
element.style.left = left + 'px';
|
|
3539
3648
|
}
|
|
@@ -3547,35 +3656,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3547
3656
|
key: "getScrollableParents",
|
|
3548
3657
|
value: function getScrollableParents(element) {
|
|
3549
3658
|
var scrollableParents = [];
|
|
3550
|
-
|
|
3551
3659
|
if (element) {
|
|
3552
3660
|
var parents = this.getParents(element);
|
|
3553
3661
|
var overflowRegex = /(auto|scroll)/;
|
|
3554
|
-
|
|
3555
3662
|
var overflowCheck = function overflowCheck(node) {
|
|
3556
3663
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3557
3664
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3558
3665
|
};
|
|
3559
|
-
|
|
3560
3666
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3561
|
-
|
|
3562
|
-
|
|
3667
|
+
_step;
|
|
3563
3668
|
try {
|
|
3564
3669
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3565
3670
|
var parent = _step.value;
|
|
3566
3671
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3567
|
-
|
|
3568
3672
|
if (scrollSelectors) {
|
|
3569
3673
|
var selectors = scrollSelectors.split(',');
|
|
3570
|
-
|
|
3571
3674
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3572
|
-
|
|
3573
|
-
|
|
3675
|
+
_step2;
|
|
3574
3676
|
try {
|
|
3575
3677
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3576
3678
|
var selector = _step2.value;
|
|
3577
3679
|
var el = this.findSingle(parent, selector);
|
|
3578
|
-
|
|
3579
3680
|
if (el && overflowCheck(el)) {
|
|
3580
3681
|
scrollableParents.push(el);
|
|
3581
3682
|
}
|
|
@@ -3593,7 +3694,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3593
3694
|
_iterator.f();
|
|
3594
3695
|
}
|
|
3595
3696
|
}
|
|
3596
|
-
|
|
3597
3697
|
return scrollableParents;
|
|
3598
3698
|
}
|
|
3599
3699
|
}, {
|
|
@@ -3634,34 +3734,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3634
3734
|
element.style.opacity = 0;
|
|
3635
3735
|
var last = +new Date();
|
|
3636
3736
|
var opacity = 0;
|
|
3637
|
-
|
|
3638
3737
|
var tick = function tick() {
|
|
3639
3738
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3640
3739
|
element.style.opacity = opacity;
|
|
3641
3740
|
last = +new Date();
|
|
3642
|
-
|
|
3643
3741
|
if (+opacity < 1) {
|
|
3644
3742
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3645
3743
|
}
|
|
3646
3744
|
};
|
|
3647
|
-
|
|
3648
3745
|
tick();
|
|
3649
3746
|
}
|
|
3650
3747
|
}, {
|
|
3651
3748
|
key: "fadeOut",
|
|
3652
3749
|
value: function fadeOut(element, ms) {
|
|
3653
3750
|
var opacity = 1,
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3751
|
+
interval = 50,
|
|
3752
|
+
duration = ms,
|
|
3753
|
+
gap = interval / duration;
|
|
3657
3754
|
var fading = setInterval(function () {
|
|
3658
3755
|
opacity -= gap;
|
|
3659
|
-
|
|
3660
3756
|
if (opacity <= 0) {
|
|
3661
3757
|
opacity = 0;
|
|
3662
3758
|
clearInterval(fading);
|
|
3663
3759
|
}
|
|
3664
|
-
|
|
3665
3760
|
element.style.opacity = opacity;
|
|
3666
3761
|
}, interval);
|
|
3667
3762
|
}
|
|
@@ -3688,7 +3783,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3688
3783
|
var scroll = container.scrollTop;
|
|
3689
3784
|
var elementHeight = container.clientHeight;
|
|
3690
3785
|
var itemHeight = this.getOuterHeight(item);
|
|
3691
|
-
|
|
3692
3786
|
if (offset < 0) {
|
|
3693
3787
|
container.scrollTop = scroll + offset;
|
|
3694
3788
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3707,7 +3801,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3707
3801
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3708
3802
|
try {
|
|
3709
3803
|
document['selection'].empty();
|
|
3710
|
-
} catch (error) {
|
|
3804
|
+
} catch (error) {
|
|
3805
|
+
//ignore IE bug
|
|
3711
3806
|
}
|
|
3712
3807
|
}
|
|
3713
3808
|
}
|
|
@@ -3729,19 +3824,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3729
3824
|
if (!this.browser) {
|
|
3730
3825
|
var matched = this.resolveUserAgent();
|
|
3731
3826
|
this.browser = {};
|
|
3732
|
-
|
|
3733
3827
|
if (matched.browser) {
|
|
3734
3828
|
this.browser[matched.browser] = true;
|
|
3735
3829
|
this.browser['version'] = matched.version;
|
|
3736
3830
|
}
|
|
3737
|
-
|
|
3738
3831
|
if (this.browser['chrome']) {
|
|
3739
3832
|
this.browser['webkit'] = true;
|
|
3740
3833
|
} else if (this.browser['webkit']) {
|
|
3741
3834
|
this.browser['safari'] = true;
|
|
3742
3835
|
}
|
|
3743
3836
|
}
|
|
3744
|
-
|
|
3745
3837
|
return this.browser;
|
|
3746
3838
|
}
|
|
3747
3839
|
}, {
|
|
@@ -3769,10 +3861,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3769
3861
|
value: function getFocusableElements(element) {
|
|
3770
3862
|
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])");
|
|
3771
3863
|
var visibleFocusableElements = [];
|
|
3772
|
-
|
|
3773
3864
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3774
|
-
|
|
3775
|
-
|
|
3865
|
+
_step3;
|
|
3776
3866
|
try {
|
|
3777
3867
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3778
3868
|
var focusableElement = _step3.value;
|
|
@@ -3783,7 +3873,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3783
3873
|
} finally {
|
|
3784
3874
|
_iterator3.f();
|
|
3785
3875
|
}
|
|
3786
|
-
|
|
3787
3876
|
return visibleFocusableElements;
|
|
3788
3877
|
}
|
|
3789
3878
|
}, {
|
|
@@ -3826,55 +3915,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3826
3915
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3827
3916
|
}
|
|
3828
3917
|
}]);
|
|
3829
|
-
|
|
3830
3918
|
return DomHandler;
|
|
3831
3919
|
}();
|
|
3832
3920
|
|
|
3833
|
-
|
|
3834
3921
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3835
3922
|
|
|
3836
|
-
|
|
3837
3923
|
function bindEvents(el) {
|
|
3838
3924
|
el.addEventListener('mousedown', onMouseDown);
|
|
3839
3925
|
}
|
|
3840
|
-
|
|
3841
3926
|
function unbindEvents(el) {
|
|
3842
3927
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3843
3928
|
}
|
|
3844
|
-
|
|
3845
3929
|
function create(el) {
|
|
3846
3930
|
var ink = document.createElement('span');
|
|
3847
3931
|
ink.className = 'p-ink';
|
|
3848
3932
|
el.appendChild(ink);
|
|
3849
3933
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3850
3934
|
}
|
|
3851
|
-
|
|
3852
3935
|
function remove(el) {
|
|
3853
3936
|
var ink = getInk(el);
|
|
3854
|
-
|
|
3855
3937
|
if (ink) {
|
|
3856
3938
|
unbindEvents(el);
|
|
3857
3939
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3858
3940
|
ink.remove();
|
|
3859
3941
|
}
|
|
3860
3942
|
}
|
|
3861
|
-
|
|
3862
3943
|
function onMouseDown(event) {
|
|
3863
3944
|
var target = event.currentTarget;
|
|
3864
3945
|
var ink = getInk(target);
|
|
3865
|
-
|
|
3866
3946
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3867
3947
|
return;
|
|
3868
3948
|
}
|
|
3869
|
-
|
|
3870
3949
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3871
|
-
|
|
3872
3950
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3873
3951
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3874
3952
|
ink.style.height = d + 'px';
|
|
3875
3953
|
ink.style.width = d + 'px';
|
|
3876
3954
|
}
|
|
3877
|
-
|
|
3878
3955
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3879
3956
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3880
3957
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3882,21 +3959,17 @@ function onMouseDown(event) {
|
|
|
3882
3959
|
ink.style.left = x + 'px';
|
|
3883
3960
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3884
3961
|
}
|
|
3885
|
-
|
|
3886
3962
|
function onAnimationEnd(event) {
|
|
3887
3963
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3888
3964
|
}
|
|
3889
|
-
|
|
3890
3965
|
function getInk(el) {
|
|
3891
3966
|
for (var i = 0; i < el.children.length; i++) {
|
|
3892
3967
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3893
3968
|
return el.children[i];
|
|
3894
3969
|
}
|
|
3895
3970
|
}
|
|
3896
|
-
|
|
3897
3971
|
return null;
|
|
3898
3972
|
}
|
|
3899
|
-
|
|
3900
3973
|
var Ripple = {
|
|
3901
3974
|
inserted: function inserted(el, binding, vnode) {
|
|
3902
3975
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3910,32 +3983,6 @@ var Ripple = {
|
|
|
3910
3983
|
};
|
|
3911
3984
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3912
3985
|
// 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/menubar/MenubarSub.vue?vue&type=script&lang=js&
|
|
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
3986
|
|
|
3940
3987
|
|
|
3941
3988
|
/* harmony default export */ var MenubarSubvue_type_script_lang_js_ = ({
|
|
@@ -3993,7 +4040,6 @@ var Ripple = {
|
|
|
3993
4040
|
event.preventDefault();
|
|
3994
4041
|
return;
|
|
3995
4042
|
}
|
|
3996
|
-
|
|
3997
4043
|
if (this.root) {
|
|
3998
4044
|
if (this.activeItem || this.popup) {
|
|
3999
4045
|
this.activeItem = item;
|
|
@@ -4007,26 +4053,21 @@ var Ripple = {
|
|
|
4007
4053
|
event.preventDefault();
|
|
4008
4054
|
return;
|
|
4009
4055
|
}
|
|
4010
|
-
|
|
4011
4056
|
if (!item.url && !item.to) {
|
|
4012
4057
|
event.preventDefault();
|
|
4013
4058
|
}
|
|
4014
|
-
|
|
4015
4059
|
if (item.command) {
|
|
4016
4060
|
item.command({
|
|
4017
4061
|
originalEvent: event,
|
|
4018
4062
|
item: item
|
|
4019
4063
|
});
|
|
4020
4064
|
}
|
|
4021
|
-
|
|
4022
4065
|
if (item.items) {
|
|
4023
4066
|
if (this.activeItem && item === this.activeItem) this.activeItem = null;else this.activeItem = item;
|
|
4024
4067
|
}
|
|
4025
|
-
|
|
4026
4068
|
if (!item.items) {
|
|
4027
4069
|
this.onLeafClick();
|
|
4028
4070
|
}
|
|
4029
|
-
|
|
4030
4071
|
if (item.to && navigate) {
|
|
4031
4072
|
navigate(event);
|
|
4032
4073
|
}
|
|
@@ -4037,7 +4078,6 @@ var Ripple = {
|
|
|
4037
4078
|
},
|
|
4038
4079
|
onItemKeyDown: function onItemKeyDown(event, item) {
|
|
4039
4080
|
var listItem = event.currentTarget.parentElement;
|
|
4040
|
-
|
|
4041
4081
|
switch (event.which) {
|
|
4042
4082
|
//down
|
|
4043
4083
|
case 40:
|
|
@@ -4048,24 +4088,21 @@ var Ripple = {
|
|
|
4048
4088
|
} else {
|
|
4049
4089
|
this.navigateToNextItem(listItem);
|
|
4050
4090
|
}
|
|
4051
|
-
|
|
4052
4091
|
event.preventDefault();
|
|
4053
4092
|
break;
|
|
4054
|
-
//up
|
|
4055
4093
|
|
|
4094
|
+
//up
|
|
4056
4095
|
case 38:
|
|
4057
4096
|
if (!this.root) {
|
|
4058
4097
|
this.navigateToPrevItem(listItem);
|
|
4059
4098
|
}
|
|
4060
|
-
|
|
4061
4099
|
event.preventDefault();
|
|
4062
4100
|
break;
|
|
4063
|
-
//right
|
|
4064
4101
|
|
|
4102
|
+
//right
|
|
4065
4103
|
case 39:
|
|
4066
4104
|
if (this.root) {
|
|
4067
4105
|
var nextItem = this.findNextItem(listItem);
|
|
4068
|
-
|
|
4069
4106
|
if (nextItem) {
|
|
4070
4107
|
nextItem.children[0].focus();
|
|
4071
4108
|
}
|
|
@@ -4074,23 +4111,19 @@ var Ripple = {
|
|
|
4074
4111
|
this.expandSubmenu(item, listItem);
|
|
4075
4112
|
}
|
|
4076
4113
|
}
|
|
4077
|
-
|
|
4078
4114
|
event.preventDefault();
|
|
4079
4115
|
break;
|
|
4080
|
-
//left
|
|
4081
4116
|
|
|
4117
|
+
//left
|
|
4082
4118
|
case 37:
|
|
4083
4119
|
if (this.root) {
|
|
4084
4120
|
this.navigateToPrevItem(listItem);
|
|
4085
4121
|
}
|
|
4086
|
-
|
|
4087
4122
|
event.preventDefault();
|
|
4088
4123
|
break;
|
|
4089
|
-
|
|
4090
4124
|
default:
|
|
4091
4125
|
break;
|
|
4092
4126
|
}
|
|
4093
|
-
|
|
4094
4127
|
this.$emit('keydown-item', {
|
|
4095
4128
|
originalEvent: event,
|
|
4096
4129
|
element: listItem
|
|
@@ -4129,14 +4162,12 @@ var Ripple = {
|
|
|
4129
4162
|
},
|
|
4130
4163
|
navigateToNextItem: function navigateToNextItem(listItem) {
|
|
4131
4164
|
var nextItem = this.findNextItem(listItem);
|
|
4132
|
-
|
|
4133
4165
|
if (nextItem) {
|
|
4134
4166
|
nextItem.children[0].focus();
|
|
4135
4167
|
}
|
|
4136
4168
|
},
|
|
4137
4169
|
navigateToPrevItem: function navigateToPrevItem(listItem) {
|
|
4138
4170
|
var prevItem = this.findPrevItem(listItem);
|
|
4139
|
-
|
|
4140
4171
|
if (prevItem) {
|
|
4141
4172
|
prevItem.children[0].focus();
|
|
4142
4173
|
}
|
|
@@ -4155,16 +4186,13 @@ var Ripple = {
|
|
|
4155
4186
|
},
|
|
4156
4187
|
bindDocumentClickListener: function bindDocumentClickListener() {
|
|
4157
4188
|
var _this = this;
|
|
4158
|
-
|
|
4159
4189
|
if (!this.documentClickListener) {
|
|
4160
4190
|
this.documentClickListener = function (event) {
|
|
4161
4191
|
if (_this.$el && !_this.$el.contains(event.target)) {
|
|
4162
4192
|
_this.activeItem = null;
|
|
4163
|
-
|
|
4164
4193
|
_this.unbindDocumentClickListener();
|
|
4165
4194
|
}
|
|
4166
4195
|
};
|
|
4167
|
-
|
|
4168
4196
|
document.addEventListener('click', this.documentClickListener);
|
|
4169
4197
|
}
|
|
4170
4198
|
},
|
|
@@ -4211,20 +4239,19 @@ var Ripple = {
|
|
|
4211
4239
|
// This module is a runtime utility for cleaner component module output and will
|
|
4212
4240
|
// be included in the final webpack user bundle.
|
|
4213
4241
|
|
|
4214
|
-
function normalizeComponent
|
|
4242
|
+
function normalizeComponent(
|
|
4215
4243
|
scriptExports,
|
|
4216
4244
|
render,
|
|
4217
4245
|
staticRenderFns,
|
|
4218
4246
|
functionalTemplate,
|
|
4219
4247
|
injectStyles,
|
|
4220
4248
|
scopeId,
|
|
4221
|
-
moduleIdentifier
|
|
4249
|
+
moduleIdentifier /* server only */,
|
|
4222
4250
|
shadowMode /* vue-cli only */
|
|
4223
4251
|
) {
|
|
4224
4252
|
// Vue.extend constructor export interop
|
|
4225
|
-
var options =
|
|
4226
|
-
? scriptExports.options
|
|
4227
|
-
: scriptExports
|
|
4253
|
+
var options =
|
|
4254
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4228
4255
|
|
|
4229
4256
|
// render functions
|
|
4230
4257
|
if (render) {
|
|
@@ -4244,7 +4271,8 @@ function normalizeComponent (
|
|
|
4244
4271
|
}
|
|
4245
4272
|
|
|
4246
4273
|
var hook
|
|
4247
|
-
if (moduleIdentifier) {
|
|
4274
|
+
if (moduleIdentifier) {
|
|
4275
|
+
// server build
|
|
4248
4276
|
hook = function (context) {
|
|
4249
4277
|
// 2.3 injection
|
|
4250
4278
|
context =
|
|
@@ -4270,11 +4298,11 @@ function normalizeComponent (
|
|
|
4270
4298
|
} else if (injectStyles) {
|
|
4271
4299
|
hook = shadowMode
|
|
4272
4300
|
? function () {
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4301
|
+
injectStyles.call(
|
|
4302
|
+
this,
|
|
4303
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4304
|
+
)
|
|
4305
|
+
}
|
|
4278
4306
|
: injectStyles
|
|
4279
4307
|
}
|
|
4280
4308
|
|
|
@@ -4285,16 +4313,14 @@ function normalizeComponent (
|
|
|
4285
4313
|
options._injectStyles = hook
|
|
4286
4314
|
// register for functional component in vue file
|
|
4287
4315
|
var originalRender = options.render
|
|
4288
|
-
options.render = function renderWithStyleInjection
|
|
4316
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4289
4317
|
hook.call(context)
|
|
4290
4318
|
return originalRender(h, context)
|
|
4291
4319
|
}
|
|
4292
4320
|
} else {
|
|
4293
4321
|
// inject component registration as beforeCreate hook
|
|
4294
4322
|
var existing = options.beforeCreate
|
|
4295
|
-
options.beforeCreate = existing
|
|
4296
|
-
? [].concat(existing, hook)
|
|
4297
|
-
: [hook]
|
|
4323
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4298
4324
|
}
|
|
4299
4325
|
}
|
|
4300
4326
|
|
|
@@ -4325,21 +4351,6 @@ var component = normalizeComponent(
|
|
|
4325
4351
|
|
|
4326
4352
|
/* harmony default export */ var MenubarSub = (component.exports);
|
|
4327
4353
|
// 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/menubar/Menubar.vue?vue&type=script&lang=js&
|
|
4328
|
-
//
|
|
4329
|
-
//
|
|
4330
|
-
//
|
|
4331
|
-
//
|
|
4332
|
-
//
|
|
4333
|
-
//
|
|
4334
|
-
//
|
|
4335
|
-
//
|
|
4336
|
-
//
|
|
4337
|
-
//
|
|
4338
|
-
//
|
|
4339
|
-
//
|
|
4340
|
-
//
|
|
4341
|
-
//
|
|
4342
|
-
//
|
|
4343
4354
|
|
|
4344
4355
|
|
|
4345
4356
|
/* harmony default export */ var Menubarvue_type_script_lang_js_ = ({
|
|
@@ -4372,14 +4383,12 @@ var component = normalizeComponent(
|
|
|
4372
4383
|
},
|
|
4373
4384
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
4374
4385
|
var _this = this;
|
|
4375
|
-
|
|
4376
4386
|
if (!this.outsideClickListener) {
|
|
4377
4387
|
this.outsideClickListener = function (event) {
|
|
4378
4388
|
if (_this.mobileActive && _this.$refs.rootmenu.$el !== event.target && !_this.$refs.rootmenu.$el.contains(event.target) && _this.$refs.menubutton !== event.target && !_this.$refs.menubutton.contains(event.target)) {
|
|
4379
4389
|
_this.mobileActive = false;
|
|
4380
4390
|
}
|
|
4381
4391
|
};
|
|
4382
|
-
|
|
4383
4392
|
document.addEventListener('click', this.outsideClickListener);
|
|
4384
4393
|
}
|
|
4385
4394
|
},
|
|
@@ -4406,8 +4415,8 @@ var component = normalizeComponent(
|
|
|
4406
4415
|
});
|
|
4407
4416
|
// CONCATENATED MODULE: ./src/components/menubar/Menubar.vue?vue&type=script&lang=js&
|
|
4408
4417
|
/* harmony default export */ var menubar_Menubarvue_type_script_lang_js_ = (Menubarvue_type_script_lang_js_);
|
|
4409
|
-
// EXTERNAL MODULE: ./src/components/menubar/Menubar.vue?vue&type=style&index=0&lang=css&
|
|
4410
|
-
var
|
|
4418
|
+
// EXTERNAL MODULE: ./src/components/menubar/Menubar.vue?vue&type=style&index=0&id=050a1a2c&prod&lang=css&
|
|
4419
|
+
var Menubarvue_type_style_index_0_id_050a1a2c_prod_lang_css_ = __webpack_require__("5b39");
|
|
4411
4420
|
|
|
4412
4421
|
// CONCATENATED MODULE: ./src/components/menubar/Menubar.vue
|
|
4413
4422
|
|