primevue 2.9.2 → 2.10.0
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/accordion/accordion.common.js +67 -68
- package/accordion/accordion.umd.js +67 -68
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +61 -38
- package/accordiontab/accordiontab.umd.js +61 -38
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +213 -109
- package/autocomplete/autocomplete.umd.js +213 -109
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +65 -60
- package/avatar/avatar.umd.js +65 -60
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +45 -46
- package/avatargroup/avatargroup.umd.js +45 -46
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +23 -22
- package/badge/badge.umd.js +23 -22
- package/badge/badge.umd.min.js +1 -1
- package/blockui/blockui.common.js +67 -68
- package/blockui/blockui.umd.js +67 -68
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +132 -87
- package/breadcrumb/breadcrumb.umd.js +132 -87
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.js +68 -38
- 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 +53 -32
- package/button/button.umd.js +53 -32
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +613 -231
- package/calendar/calendar.umd.js +613 -231
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +60 -61
- package/card/card.umd.js +60 -61
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +178 -111
- package/carousel/carousel.umd.js +178 -111
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +207 -113
- package/cascadeselect/cascadeselect.umd.js +207 -113
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/chart/chart.common.js +78 -68
- package/chart/chart.umd.js +78 -68
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +62 -29
- package/checkbox/checkbox.umd.js +62 -29
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +67 -51
- package/chip/chip.umd.js +67 -51
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -79
- package/chips/chips.umd.js +122 -79
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +136 -85
- package/colorpicker/colorpicker.umd.js +136 -85
- 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 +21 -24
- package/columngroup/columngroup.umd.js +21 -24
- package/columngroup/columngroup.umd.min.js +1 -1
- package/confirmdialog/confirmdialog.common.js +237 -120
- package/confirmdialog/confirmdialog.umd.js +237 -120
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +143 -93
- package/confirmpopup/confirmpopup.umd.js +143 -93
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +197 -104
- package/contextmenu/contextmenu.umd.js +197 -104
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +126 -50
- package/contextmenu/contextmenusub.umd.js +126 -50
- 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 +264 -91
- package/datatable/bodycell.umd.js +264 -91
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +489 -183
- package/datatable/columnfilter.umd.js +489 -183
- 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 +2205 -816
- package/datatable/datatable.umd.js +2205 -816
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +5 -3
- package/datatable/footercell.common.js +35 -26
- package/datatable/footercell.umd.js +35 -26
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +641 -231
- package/datatable/headercell.umd.js +641 -231
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +60 -32
- package/datatable/headercheckbox.umd.js +60 -32
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +62 -29
- package/datatable/rowcheckbox.umd.js +62 -29
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +55 -26
- package/datatable/rowradiobutton.umd.js +55 -26
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +443 -142
- package/datatable/tablebody.umd.js +443 -142
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +73 -46
- package/datatable/tablefooter.umd.js +73 -46
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +848 -283
- package/datatable/tableheader.umd.js +848 -283
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +37 -28
- package/datatable/tableloadingbody.umd.js +37 -28
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +797 -380
- package/dataview/dataview.umd.js +797 -380
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +23 -24
- package/deferredcontent/deferredcontent.umd.js +23 -24
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +140 -89
- package/dialog/dialog.umd.js +140 -89
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +50 -48
- package/divider/divider.umd.js +50 -48
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +181 -90
- package/dock/dock.umd.js +181 -90
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +133 -51
- package/dock/docksub.umd.js +133 -51
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +205 -104
- package/dropdown/dropdown.umd.js +205 -104
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +201 -98
- package/editor/editor.umd.js +201 -98
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +121 -87
- package/fieldset/fieldset.umd.js +121 -87
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +417 -245
- package/fileupload/fileupload.umd.js +417 -245
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -57
- package/fullcalendar/fullcalendar.umd.js +75 -57
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +390 -164
- package/galleria/galleria.umd.js +390 -164
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +310 -107
- package/galleria/galleriacontent.umd.js +310 -107
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +111 -45
- package/galleria/galleriaitem.umd.js +111 -45
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +13 -15
- package/galleria/galleriaitemslot.umd.js +13 -15
- package/galleria/galleriathumbnails.common.js +109 -49
- package/galleria/galleriathumbnails.umd.js +109 -49
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +163 -97
- package/imagepreview/imagepreview.umd.js +163 -97
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +62 -55
- package/inlinemessage/inlinemessage.umd.js +62 -55
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +128 -91
- package/inplace/inplace.umd.js +128 -91
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +23 -22
- package/inputmask/inputmask.umd.js +23 -22
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +4 -1
- package/inputnumber/inputnumber.common.js +172 -100
- package/inputnumber/inputnumber.umd.js +172 -100
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +222 -37
- package/inputswitch/inputswitch.umd.js +222 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +28 -22
- package/inputtext/inputtext.umd.js +28 -22
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +101 -72
- package/knob/knob.umd.js +101 -72
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +139 -84
- package/listbox/listbox.umd.js +139 -84
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +258 -128
- package/megamenu/megamenu.umd.js +258 -128
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +190 -105
- package/menu/menu.umd.js +190 -105
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +83 -38
- package/menu/menuitem.umd.js +83 -38
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/demo.html +3 -4
- package/menubar/menubar.common.js +209 -111
- package/menubar/menubar.umd.js +209 -111
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +127 -49
- package/menubar/menubarsub.umd.js +127 -49
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +96 -78
- package/message/message.umd.js +96 -78
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +262 -129
- package/multiselect/multiselect.umd.js +262 -129
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +183 -106
- package/orderlist/orderlist.umd.js +183 -106
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +177 -114
- package/organizationchart/organizationchart.umd.js +177 -114
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +110 -59
- package/organizationchart/organizationchartnode.umd.js +110 -59
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +96 -75
- package/overlaypanel/overlaypanel.umd.js +96 -75
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +23 -21
- package/paginator/currentpagereport.umd.js +23 -21
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +32 -24
- package/paginator/firstpagelink.umd.js +32 -24
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +227 -112
- package/paginator/jumptopagedropdown.umd.js +227 -112
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +193 -109
- package/paginator/jumptopageinput.umd.js +193 -109
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +32 -24
- package/paginator/lastpagelink.umd.js +32 -24
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +32 -24
- package/paginator/nextpagelink.umd.js +32 -24
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +42 -24
- package/paginator/pagelinks.umd.js +42 -24
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +699 -332
- package/paginator/paginator.umd.js +699 -332
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +32 -24
- package/paginator/prevpagelink.umd.js +32 -24
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +226 -112
- package/paginator/rowsperpagedropdown.umd.js +226 -112
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +117 -86
- package/panel/panel.umd.js +117 -86
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +237 -119
- package/panelmenu/panelmenu.umd.js +237 -119
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +111 -50
- package/panelmenu/panelmenusub.umd.js +111 -50
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +27 -4
- package/password/password.common.js +186 -120
- package/password/password.umd.js +186 -120
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +309 -134
- package/picklist/picklist.umd.js +309 -134
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +84 -75
- package/progressbar/progressbar.umd.js +84 -75
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +548 -45
- package/progressspinner/progressspinner.umd.js +548 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +60 -29
- package/radiobutton/radiobutton.umd.js +60 -29
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +93 -67
- package/rating/rating.umd.js +93 -67
- package/rating/rating.umd.min.js +1 -1
- package/row/row.common.js +21 -24
- package/row/row.umd.js +21 -24
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +88 -74
- package/scrollpanel/scrollpanel.umd.js +88 -74
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +78 -64
- package/scrolltop/scrolltop.umd.js +78 -64
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +69 -31
- package/selectbutton/selectbutton.umd.js +69 -31
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/sidebar.common.js +100 -77
- package/sidebar/sidebar.umd.js +100 -77
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +58 -56
- package/skeleton/skeleton.umd.js +58 -56
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/slider.common.js +158 -74
- package/slider/slider.umd.js +158 -74
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/speeddial.common.js +174 -103
- package/speeddial/speeddial.umd.js +174 -103
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +318 -179
- package/splitbutton/splitbutton.umd.js +318 -179
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +57 -59
- package/splitter/splitter.umd.js +57 -59
- 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 +113 -74
- package/steps/steps.umd.js +113 -74
- package/steps/steps.umd.min.js +1 -1
- package/tabmenu/tabmenu.common.js +127 -82
- package/tabmenu/tabmenu.umd.js +127 -82
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +32 -24
- package/tabpanel/tabpanel.umd.js +32 -24
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +154 -89
- package/tabview/tabview.umd.js +154 -89
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +60 -58
- package/tag/tag.umd.js +60 -58
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +97 -67
- package/terminal/terminal.umd.js +97 -67
- package/terminal/terminal.umd.min.js +1 -1
- package/textarea/textarea.common.js +73 -66
- package/textarea/textarea.umd.js +73 -66
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +201 -104
- package/tieredmenu/tieredmenu.umd.js +201 -104
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +128 -49
- package/tieredmenu/tieredmenusub.umd.js +128 -49
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +94 -82
- package/timeline/timeline.umd.js +94 -82
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +134 -91
- package/toast/toast.umd.js +134 -91
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +58 -36
- package/toast/toastmessage.umd.js +58 -36
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +42 -25
- package/togglebutton/togglebutton.umd.js +42 -25
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +47 -46
- package/toolbar/toolbar.umd.js +47 -46
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tree/tree.common.js +197 -111
- package/tree/tree.umd.js +197 -111
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +91 -44
- package/tree/treenode.umd.js +91 -44
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +28 -25
- package/treetable/footercell.umd.js +28 -25
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +47 -29
- package/treetable/headercell.umd.js +47 -29
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1020 -502
- package/treetable/treetable.umd.js +1020 -502
- 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 +87 -38
- package/treetable/treetablerow.umd.js +87 -38
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +87 -38
- package/treetable/treetablerowloader.umd.js +87 -38
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +21 -1
|
@@ -154,46 +154,109 @@ if (typeof window !== 'undefined') {
|
|
|
154
154
|
// Indicate to webpack that this file can be concatenated
|
|
155
155
|
/* harmony default export */ var setPublicPath = (null);
|
|
156
156
|
|
|
157
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158
|
-
var render = function () {
|
|
159
|
-
var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./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/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
|
|
158
|
+
var render = function render() {
|
|
159
|
+
var _vm = this,
|
|
160
|
+
_c = _vm._self._c;
|
|
161
|
+
|
|
162
|
+
return _c('ul', {
|
|
163
|
+
staticClass: "p-submenu-list",
|
|
164
|
+
attrs: {
|
|
165
|
+
"role": "tree"
|
|
166
|
+
}
|
|
167
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
168
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
169
|
+
key: _vm.label(item) + i,
|
|
170
|
+
class: _vm.getItemClass(item),
|
|
171
|
+
style: item.style,
|
|
172
|
+
attrs: {
|
|
173
|
+
"role": "none"
|
|
174
|
+
}
|
|
175
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
176
|
+
attrs: {
|
|
177
|
+
"to": item.to,
|
|
178
|
+
"custom": ""
|
|
179
|
+
},
|
|
180
|
+
scopedSlots: _vm._u([{
|
|
181
|
+
key: "default",
|
|
182
|
+
fn: function fn(_ref) {
|
|
183
|
+
var navigate = _ref.navigate,
|
|
184
|
+
href = _ref.href,
|
|
185
|
+
isRouterActive = _ref.isActive,
|
|
186
|
+
isExactActive = _ref.isExactActive;
|
|
187
|
+
return [_c('a', {
|
|
188
|
+
class: _vm.linkClass(item, {
|
|
189
|
+
isRouterActive: isRouterActive,
|
|
190
|
+
isExactActive: isExactActive
|
|
191
|
+
}),
|
|
192
|
+
attrs: {
|
|
193
|
+
"href": href,
|
|
194
|
+
"role": "treeitem",
|
|
195
|
+
"aria-expanded": _vm.isActive(item)
|
|
196
|
+
},
|
|
197
|
+
on: {
|
|
198
|
+
"click": function click($event) {
|
|
199
|
+
return _vm.onItemClick($event, item, navigate);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}, [_c('span', {
|
|
203
|
+
class: ['p-menuitem-icon', item.icon]
|
|
204
|
+
}), _c('span', {
|
|
205
|
+
staticClass: "p-menuitem-text"
|
|
206
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
207
|
+
}
|
|
208
|
+
}], null, true)
|
|
209
|
+
}) : _c('a', {
|
|
210
|
+
class: _vm.linkClass(item),
|
|
211
|
+
attrs: {
|
|
212
|
+
"href": item.url,
|
|
213
|
+
"target": item.target,
|
|
214
|
+
"role": "treeitem",
|
|
215
|
+
"aria-expanded": _vm.isActive(item),
|
|
216
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
217
|
+
},
|
|
218
|
+
on: {
|
|
219
|
+
"click": function click($event) {
|
|
220
|
+
return _vm.onItemClick($event, item);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}, [item.items ? _c('span', {
|
|
224
|
+
class: _vm.getSubmenuIcon(item)
|
|
225
|
+
}) : _vm._e(), _c('span', {
|
|
226
|
+
class: ['p-menuitem-icon', item.icon]
|
|
227
|
+
}), _c('span', {
|
|
228
|
+
staticClass: "p-menuitem-text"
|
|
229
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])]), _c('transition', {
|
|
230
|
+
attrs: {
|
|
231
|
+
"name": "p-toggleable-content"
|
|
232
|
+
}
|
|
233
|
+
}, [_c('div', {
|
|
234
|
+
directives: [{
|
|
235
|
+
name: "show",
|
|
236
|
+
rawName: "v-show",
|
|
237
|
+
value: item === _vm.activeItem,
|
|
238
|
+
expression: "item === activeItem"
|
|
239
|
+
}],
|
|
240
|
+
staticClass: "p-toggleable-content"
|
|
241
|
+
}, [_vm.visible(item) && item.items ? _c('sub-panelmenu', {
|
|
242
|
+
key: _vm.label(item) + '_sub_',
|
|
243
|
+
attrs: {
|
|
244
|
+
"model": item.items,
|
|
245
|
+
"exact": _vm.exact
|
|
246
|
+
}
|
|
247
|
+
}) : _vm._e()], 1)])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
248
|
+
key: 'separator' + i,
|
|
249
|
+
class: ['p-menu-separator', item.class],
|
|
250
|
+
style: item.style
|
|
251
|
+
}) : _vm._e()];
|
|
252
|
+
})], 2);
|
|
253
|
+
};
|
|
165
254
|
|
|
255
|
+
var staticRenderFns = [];
|
|
166
256
|
|
|
167
257
|
// CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
|
|
168
258
|
|
|
169
259
|
// 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/panelmenu/PanelMenuSub.vue?vue&type=script&lang=js&
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
260
|
/* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
|
|
198
261
|
name: 'sub-panelmenu',
|
|
199
262
|
props: {
|
|
@@ -275,20 +338,19 @@ var staticRenderFns = []
|
|
|
275
338
|
// This module is a runtime utility for cleaner component module output and will
|
|
276
339
|
// be included in the final webpack user bundle.
|
|
277
340
|
|
|
278
|
-
function normalizeComponent
|
|
341
|
+
function normalizeComponent(
|
|
279
342
|
scriptExports,
|
|
280
343
|
render,
|
|
281
344
|
staticRenderFns,
|
|
282
345
|
functionalTemplate,
|
|
283
346
|
injectStyles,
|
|
284
347
|
scopeId,
|
|
285
|
-
moduleIdentifier
|
|
348
|
+
moduleIdentifier /* server only */,
|
|
286
349
|
shadowMode /* vue-cli only */
|
|
287
350
|
) {
|
|
288
351
|
// Vue.extend constructor export interop
|
|
289
|
-
var options =
|
|
290
|
-
? scriptExports.options
|
|
291
|
-
: scriptExports
|
|
352
|
+
var options =
|
|
353
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
292
354
|
|
|
293
355
|
// render functions
|
|
294
356
|
if (render) {
|
|
@@ -308,7 +370,8 @@ function normalizeComponent (
|
|
|
308
370
|
}
|
|
309
371
|
|
|
310
372
|
var hook
|
|
311
|
-
if (moduleIdentifier) {
|
|
373
|
+
if (moduleIdentifier) {
|
|
374
|
+
// server build
|
|
312
375
|
hook = function (context) {
|
|
313
376
|
// 2.3 injection
|
|
314
377
|
context =
|
|
@@ -334,11 +397,11 @@ function normalizeComponent (
|
|
|
334
397
|
} else if (injectStyles) {
|
|
335
398
|
hook = shadowMode
|
|
336
399
|
? function () {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
400
|
+
injectStyles.call(
|
|
401
|
+
this,
|
|
402
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
403
|
+
)
|
|
404
|
+
}
|
|
342
405
|
: injectStyles
|
|
343
406
|
}
|
|
344
407
|
|
|
@@ -349,16 +412,14 @@ function normalizeComponent (
|
|
|
349
412
|
options._injectStyles = hook
|
|
350
413
|
// register for functional component in vue file
|
|
351
414
|
var originalRender = options.render
|
|
352
|
-
options.render = function renderWithStyleInjection
|
|
415
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
353
416
|
hook.call(context)
|
|
354
417
|
return originalRender(h, context)
|
|
355
418
|
}
|
|
356
419
|
} else {
|
|
357
420
|
// inject component registration as beforeCreate hook
|
|
358
421
|
var existing = options.beforeCreate
|
|
359
|
-
options.beforeCreate = existing
|
|
360
|
-
? [].concat(existing, hook)
|
|
361
|
-
: [hook]
|
|
422
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
362
423
|
}
|
|
363
424
|
}
|
|
364
425
|
|
|
@@ -163,46 +163,109 @@ if (typeof window !== 'undefined') {
|
|
|
163
163
|
// Indicate to webpack that this file can be concatenated
|
|
164
164
|
/* harmony default export */ var setPublicPath = (null);
|
|
165
165
|
|
|
166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
167
|
-
var render = function () {
|
|
168
|
-
var
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
166
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./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/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
|
|
167
|
+
var render = function render() {
|
|
168
|
+
var _vm = this,
|
|
169
|
+
_c = _vm._self._c;
|
|
170
|
+
|
|
171
|
+
return _c('ul', {
|
|
172
|
+
staticClass: "p-submenu-list",
|
|
173
|
+
attrs: {
|
|
174
|
+
"role": "tree"
|
|
175
|
+
}
|
|
176
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
177
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
178
|
+
key: _vm.label(item) + i,
|
|
179
|
+
class: _vm.getItemClass(item),
|
|
180
|
+
style: item.style,
|
|
181
|
+
attrs: {
|
|
182
|
+
"role": "none"
|
|
183
|
+
}
|
|
184
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
185
|
+
attrs: {
|
|
186
|
+
"to": item.to,
|
|
187
|
+
"custom": ""
|
|
188
|
+
},
|
|
189
|
+
scopedSlots: _vm._u([{
|
|
190
|
+
key: "default",
|
|
191
|
+
fn: function fn(_ref) {
|
|
192
|
+
var navigate = _ref.navigate,
|
|
193
|
+
href = _ref.href,
|
|
194
|
+
isRouterActive = _ref.isActive,
|
|
195
|
+
isExactActive = _ref.isExactActive;
|
|
196
|
+
return [_c('a', {
|
|
197
|
+
class: _vm.linkClass(item, {
|
|
198
|
+
isRouterActive: isRouterActive,
|
|
199
|
+
isExactActive: isExactActive
|
|
200
|
+
}),
|
|
201
|
+
attrs: {
|
|
202
|
+
"href": href,
|
|
203
|
+
"role": "treeitem",
|
|
204
|
+
"aria-expanded": _vm.isActive(item)
|
|
205
|
+
},
|
|
206
|
+
on: {
|
|
207
|
+
"click": function click($event) {
|
|
208
|
+
return _vm.onItemClick($event, item, navigate);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}, [_c('span', {
|
|
212
|
+
class: ['p-menuitem-icon', item.icon]
|
|
213
|
+
}), _c('span', {
|
|
214
|
+
staticClass: "p-menuitem-text"
|
|
215
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
216
|
+
}
|
|
217
|
+
}], null, true)
|
|
218
|
+
}) : _c('a', {
|
|
219
|
+
class: _vm.linkClass(item),
|
|
220
|
+
attrs: {
|
|
221
|
+
"href": item.url,
|
|
222
|
+
"target": item.target,
|
|
223
|
+
"role": "treeitem",
|
|
224
|
+
"aria-expanded": _vm.isActive(item),
|
|
225
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
226
|
+
},
|
|
227
|
+
on: {
|
|
228
|
+
"click": function click($event) {
|
|
229
|
+
return _vm.onItemClick($event, item);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}, [item.items ? _c('span', {
|
|
233
|
+
class: _vm.getSubmenuIcon(item)
|
|
234
|
+
}) : _vm._e(), _c('span', {
|
|
235
|
+
class: ['p-menuitem-icon', item.icon]
|
|
236
|
+
}), _c('span', {
|
|
237
|
+
staticClass: "p-menuitem-text"
|
|
238
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])]), _c('transition', {
|
|
239
|
+
attrs: {
|
|
240
|
+
"name": "p-toggleable-content"
|
|
241
|
+
}
|
|
242
|
+
}, [_c('div', {
|
|
243
|
+
directives: [{
|
|
244
|
+
name: "show",
|
|
245
|
+
rawName: "v-show",
|
|
246
|
+
value: item === _vm.activeItem,
|
|
247
|
+
expression: "item === activeItem"
|
|
248
|
+
}],
|
|
249
|
+
staticClass: "p-toggleable-content"
|
|
250
|
+
}, [_vm.visible(item) && item.items ? _c('sub-panelmenu', {
|
|
251
|
+
key: _vm.label(item) + '_sub_',
|
|
252
|
+
attrs: {
|
|
253
|
+
"model": item.items,
|
|
254
|
+
"exact": _vm.exact
|
|
255
|
+
}
|
|
256
|
+
}) : _vm._e()], 1)])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
257
|
+
key: 'separator' + i,
|
|
258
|
+
class: ['p-menu-separator', item.class],
|
|
259
|
+
style: item.style
|
|
260
|
+
}) : _vm._e()];
|
|
261
|
+
})], 2);
|
|
262
|
+
};
|
|
174
263
|
|
|
264
|
+
var staticRenderFns = [];
|
|
175
265
|
|
|
176
266
|
// CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
|
|
177
267
|
|
|
178
268
|
// 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/panelmenu/PanelMenuSub.vue?vue&type=script&lang=js&
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
199
|
-
//
|
|
200
|
-
//
|
|
201
|
-
//
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
206
269
|
/* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
|
|
207
270
|
name: 'sub-panelmenu',
|
|
208
271
|
props: {
|
|
@@ -284,20 +347,19 @@ var staticRenderFns = []
|
|
|
284
347
|
// This module is a runtime utility for cleaner component module output and will
|
|
285
348
|
// be included in the final webpack user bundle.
|
|
286
349
|
|
|
287
|
-
function normalizeComponent
|
|
350
|
+
function normalizeComponent(
|
|
288
351
|
scriptExports,
|
|
289
352
|
render,
|
|
290
353
|
staticRenderFns,
|
|
291
354
|
functionalTemplate,
|
|
292
355
|
injectStyles,
|
|
293
356
|
scopeId,
|
|
294
|
-
moduleIdentifier
|
|
357
|
+
moduleIdentifier /* server only */,
|
|
295
358
|
shadowMode /* vue-cli only */
|
|
296
359
|
) {
|
|
297
360
|
// Vue.extend constructor export interop
|
|
298
|
-
var options =
|
|
299
|
-
? scriptExports.options
|
|
300
|
-
: scriptExports
|
|
361
|
+
var options =
|
|
362
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
301
363
|
|
|
302
364
|
// render functions
|
|
303
365
|
if (render) {
|
|
@@ -317,7 +379,8 @@ function normalizeComponent (
|
|
|
317
379
|
}
|
|
318
380
|
|
|
319
381
|
var hook
|
|
320
|
-
if (moduleIdentifier) {
|
|
382
|
+
if (moduleIdentifier) {
|
|
383
|
+
// server build
|
|
321
384
|
hook = function (context) {
|
|
322
385
|
// 2.3 injection
|
|
323
386
|
context =
|
|
@@ -343,11 +406,11 @@ function normalizeComponent (
|
|
|
343
406
|
} else if (injectStyles) {
|
|
344
407
|
hook = shadowMode
|
|
345
408
|
? function () {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
409
|
+
injectStyles.call(
|
|
410
|
+
this,
|
|
411
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
412
|
+
)
|
|
413
|
+
}
|
|
351
414
|
: injectStyles
|
|
352
415
|
}
|
|
353
416
|
|
|
@@ -358,16 +421,14 @@ function normalizeComponent (
|
|
|
358
421
|
options._injectStyles = hook
|
|
359
422
|
// register for functional component in vue file
|
|
360
423
|
var originalRender = options.render
|
|
361
|
-
options.render = function renderWithStyleInjection
|
|
424
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
362
425
|
hook.call(context)
|
|
363
426
|
return originalRender(h, context)
|
|
364
427
|
}
|
|
365
428
|
} else {
|
|
366
429
|
// inject component registration as beforeCreate hook
|
|
367
430
|
var existing = options.beforeCreate
|
|
368
|
-
options.beforeCreate = existing
|
|
369
|
-
? [].concat(existing, hook)
|
|
370
|
-
: [hook]
|
|
431
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
371
432
|
}
|
|
372
433
|
}
|
|
373
434
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["panelmenusub"]=t():e["panelmenusub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["panelmenusub"]=t():e["panelmenusub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"p-submenu-list",attrs:{role:"tree"}},[e._l(e.model,(function(n,i){return[e.visible(n)&&!n.separator?t("li",{key:e.label(n)+i,class:e.getItemClass(n),style:n.style,attrs:{role:"none"}},[n.to&&!e.disabled(n)?t("router-link",{attrs:{to:n.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(i){var r=i.navigate,o=i.href,a=i.isActive,s=i.isExactActive;return[t("a",{class:e.linkClass(n,{isRouterActive:a,isExactActive:s}),attrs:{href:o,role:"treeitem","aria-expanded":e.isActive(n)},on:{click:function(t){return e.onItemClick(t,n,r)}}},[t("span",{class:["p-menuitem-icon",n.icon]}),t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(n)))])])]}}],null,!0)}):t("a",{class:e.linkClass(n),attrs:{href:n.url,target:n.target,role:"treeitem","aria-expanded":e.isActive(n),tabindex:e.disabled(n)?null:"0"},on:{click:function(t){return e.onItemClick(t,n)}}},[n.items?t("span",{class:e.getSubmenuIcon(n)}):e._e(),t("span",{class:["p-menuitem-icon",n.icon]}),t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(n)))])]),t("transition",{attrs:{name:"p-toggleable-content"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:n===e.activeItem,expression:"item === activeItem"}],staticClass:"p-toggleable-content"},[e.visible(n)&&n.items?t("sub-panelmenu",{key:e.label(n)+"_sub_",attrs:{model:n.items,exact:e.exact}}):e._e()],1)])],1):e._e(),e.visible(n)&&n.separator?t("li",{key:"separator"+i,class:["p-menu-separator",n.class],style:n.style}):e._e()]}))],2)},o=[],a={name:"sub-panelmenu",props:{model:{type:null,default:null},exact:{type:Boolean,default:!0}},data:function(){return{activeItem:null}},methods:{onItemClick:function(e,t,n){this.disabled(t)?e.preventDefault():(t.url||t.to||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem&&this.activeItem===t?this.activeItem=null:this.activeItem=t,t.to&&n&&n(e))},getItemClass:function(e){return["p-menuitem",e.class]},linkClass:function(e,t){return["p-menuitem-link",{"p-disabled":this.disabled(e),"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},isActive:function(e){return e===this.activeItem},getSubmenuIcon:function(e){var t=this.isActive(e);return["p-panelmenu-icon pi pi-fw",{"pi-angle-right":!t,"pi-angle-down":t}]},visible:function(e){return"function"===typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(e){return"function"===typeof e.label?e.label():e.label}}},s=a;function l(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:c}}var c=l(s,r,o,!1,null,null,null),u=c.exports;t["default"]=u}})["default"]}));
|
package/password/Password.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="containerClass" :style="styles">
|
|
3
|
-
<PInputText ref="input" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value"
|
|
3
|
+
<PInputText ref="input" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value" v-bind="$attrs" v-on="listeners" />
|
|
4
4
|
<i v-if="toggleMask" :class="toggleIconClass" @click="onMaskToggle" />
|
|
5
5
|
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave">
|
|
6
6
|
<div ref="overlayRef" class="p-password-panel p-component" v-if="overlayVisible">
|
|
@@ -163,17 +163,19 @@ export default {
|
|
|
163
163
|
onInput(event) {
|
|
164
164
|
this.$emit('input', event);
|
|
165
165
|
},
|
|
166
|
-
onFocus() {
|
|
166
|
+
onFocus(event) {
|
|
167
167
|
this.focused = true;
|
|
168
168
|
if (this.feedback) {
|
|
169
169
|
this.overlayVisible = true;
|
|
170
170
|
}
|
|
171
|
+
this.$emit('focus', event);
|
|
171
172
|
},
|
|
172
|
-
onBlur() {
|
|
173
|
+
onBlur(event) {
|
|
173
174
|
this.focused = false;
|
|
174
175
|
if (this.feedback) {
|
|
175
176
|
this.overlayVisible = false;
|
|
176
177
|
}
|
|
178
|
+
this.$emit('blur', event);
|
|
177
179
|
},
|
|
178
180
|
onKeyUp(event) {
|
|
179
181
|
if (this.feedback) {
|
|
@@ -213,6 +215,8 @@ export default {
|
|
|
213
215
|
this.overlayVisible = true;
|
|
214
216
|
}
|
|
215
217
|
}
|
|
218
|
+
|
|
219
|
+
this.$emit('keyup', event);
|
|
216
220
|
},
|
|
217
221
|
bindScrollListener() {
|
|
218
222
|
if (!this.scrollHandler) {
|
|
@@ -251,6 +255,25 @@ export default {
|
|
|
251
255
|
}
|
|
252
256
|
},
|
|
253
257
|
computed: {
|
|
258
|
+
listeners() {
|
|
259
|
+
let $vm = this;
|
|
260
|
+
|
|
261
|
+
return {
|
|
262
|
+
...$vm.$listeners,
|
|
263
|
+
input: event => {
|
|
264
|
+
this.onInput(event);
|
|
265
|
+
},
|
|
266
|
+
focus: event => {
|
|
267
|
+
this.onFocus(event);
|
|
268
|
+
},
|
|
269
|
+
blur: event => {
|
|
270
|
+
this.onBlur(event);
|
|
271
|
+
},
|
|
272
|
+
keyup: event => {
|
|
273
|
+
this.onKeyUp(event);
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
},
|
|
254
277
|
containerClass() {
|
|
255
278
|
return ['p-password p-component p-inputwrapper', this.className, {
|
|
256
279
|
'p-inputwrapper-filled': this.filled,
|
|
@@ -316,4 +339,4 @@ export default {
|
|
|
316
339
|
.p-fluid .p-password {
|
|
317
340
|
display: flex;
|
|
318
341
|
}
|
|
319
|
-
</style>
|
|
342
|
+
</style>
|