primevue 2.4.2 → 2.7.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/accordion/Accordion.vue +8 -1
- package/accordion/accordion.common.js +9 -3
- package/accordion/accordion.umd.js +9 -3
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/AccordionTab.vue +2 -2
- package/accordiontab/accordiontab.common.js +9 -4
- package/accordiontab/accordiontab.umd.js +9 -4
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +1 -0
- package/autocomplete/AutoComplete.vue +8 -0
- package/autocomplete/autocomplete.common.js +21 -3
- package/autocomplete/autocomplete.umd.js +21 -3
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +1 -1
- package/avatar/avatar.umd.js +1 -1
- package/avatargroup/avatargroup.common.js +1 -1
- package/avatargroup/avatargroup.umd.js +1 -1
- package/badge/badge.common.js +1 -1
- package/badge/badge.umd.js +1 -1
- package/badgedirective/badgedirective.common.js +5 -0
- package/badgedirective/badgedirective.umd.js +5 -0
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/BlockUI.vue +6 -16
- package/blockui/blockui.common.js +16 -16
- package/blockui/blockui.umd.js +16 -16
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -0
- package/breadcrumb/Breadcrumb.vue +11 -3
- package/breadcrumb/BreadcrumbItem.vue +30 -11
- package/breadcrumb/breadcrumb.common.js +45 -17
- package/breadcrumb/breadcrumb.umd.js +45 -17
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/button.common.js +6 -1
- package/button/button.umd.js +6 -1
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.d.ts +5 -0
- package/calendar/Calendar.vue +321 -69
- package/calendar/calendar.common.js +340 -42
- package/calendar/calendar.umd.js +340 -42
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +1 -1
- package/card/card.umd.js +1 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.common.js +8 -3
- package/carousel/carousel.umd.js +8 -3
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +6 -4
- package/cascadeselect/CascadeSelect.vue +3 -1
- package/cascadeselect/cascadeselect.common.js +15 -4
- package/cascadeselect/cascadeselect.umd.js +15 -4
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +10 -1
- package/cascadeselect/cascadeselectsub.umd.js +10 -1
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +3 -4
- package/chart/Chart.vue +22 -13
- package/chart/chart.common.1.js +12825 -0
- package/chart/chart.common.js +1040 -37026
- package/chart/chart.umd.1.js +12825 -0
- package/chart/chart.umd.js +1040 -37026
- package/chart/chart.umd.min.1.js +7 -0
- package/chart/chart.umd.min.js +1 -278
- package/checkbox/Checkbox.css +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/Checkbox.vue +11 -3
- package/checkbox/checkbox.common.js +17 -5
- package/checkbox/checkbox.umd.js +17 -5
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +1 -1
- package/chip/chip.umd.js +1 -1
- package/chips/chips.common.js +1 -1
- package/chips/chips.umd.js +1 -1
- package/colorpicker/colorpicker.common.js +6 -1
- package/colorpicker/colorpicker.umd.js +6 -1
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +1 -1
- package/columngroup/columngroup.umd.js +1 -1
- package/common/Common.css +13 -4
- package/config/primevue.common.js +4 -0
- package/config/primevue.umd.js +4 -0
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
- package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
- package/confirmationeventbus/demo.html +8 -0
- package/confirmationeventbus/index.d.ts +1 -0
- package/confirmationeventbus/index.js +2 -0
- package/confirmationservice/ConfirmationService.js +1 -1
- package/confirmationservice/confirmationservice.common.js +1609 -6
- package/confirmationservice/confirmationservice.umd.js +1609 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +437 -38
- package/confirmdialog/confirmdialog.umd.js +437 -38
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +4 -1
- package/confirmpopup/ConfirmPopup.vue +9 -6
- package/confirmpopup/confirmpopup.common.js +513 -13
- package/confirmpopup/confirmpopup.umd.js +513 -13
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -0
- package/contextmenu/ContextMenu.vue +5 -1
- package/contextmenu/ContextMenuSub.vue +33 -13
- package/contextmenu/contextmenu.common.js +46 -14
- package/contextmenu/contextmenu.umd.js +46 -14
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +36 -8
- package/contextmenu/contextmenusub.umd.js +36 -8
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +4 -3
- package/datatable/BodyCell.vue +9 -5
- package/datatable/DataTable.d.ts +10 -9
- package/datatable/DataTable.vue +27 -19
- package/datatable/TableBody.vue +18 -5
- package/datatable/bodycell.common.js +21 -9
- package/datatable/bodycell.umd.js +21 -9
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/datatable.common.js +1993 -89
- package/datatable/datatable.umd.js +1993 -89
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +1 -1
- package/datatable/headercheckbox.umd.js +1 -1
- package/datatable/rowcheckbox.common.js +1 -1
- package/datatable/rowcheckbox.umd.js +1 -1
- package/datatable/rowradiobutton.common.js +1 -1
- package/datatable/rowradiobutton.umd.js +1 -1
- package/datatable/scrollableview.common.js +7 -2
- package/datatable/scrollableview.umd.js +7 -2
- package/datatable/scrollableview.umd.min.js +1 -1
- package/datatable/tablebody.common.js +44 -15
- package/datatable/tablebody.umd.js +44 -15
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +1 -1
- package/datatable/tablefooter.umd.js +1 -1
- package/datatable/tableheader.common.js +7 -2
- package/datatable/tableheader.umd.js +7 -2
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +1 -1
- package/datatable/tableloadingbody.umd.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +10 -10
- package/dataview/dataview.common.js +1937 -65
- package/dataview/dataview.umd.js +1937 -65
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
- package/deferredcontent/DeferredContent.vue +1 -7
- package/deferredcontent/deferredcontent.common.js +2 -2
- package/deferredcontent/deferredcontent.umd.js +2 -2
- package/dialog/Dialog.vue +35 -21
- package/dialog/dialog.common.js +42 -18
- package/dialog/dialog.umd.js +42 -18
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +1 -1
- package/divider/divider.umd.js +1 -1
- package/dock/Dock.d.ts +15 -0
- package/dock/Dock.vue +173 -0
- package/dock/DockSub.vue +132 -0
- package/dock/demo.html +17 -0
- package/dock/dock.common.js +917 -0
- package/dock/dock.umd.js +927 -0
- package/dock/dock.umd.min.js +1 -0
- package/dock/docksub.common.js +428 -0
- package/dock/docksub.umd.js +438 -0
- package/dock/docksub.umd.min.js +1 -0
- package/dock/index.d.ts +1 -0
- package/dock/index.js +2 -0
- package/dock/plugin.js +4 -0
- package/dropdown/Dropdown.d.ts +5 -3
- package/dropdown/Dropdown.vue +31 -5
- package/dropdown/dropdown.common.js +44 -6
- package/dropdown/dropdown.umd.js +44 -6
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +1 -1
- package/editor/editor.umd.js +1 -1
- package/fieldset/fieldset.common.js +6 -1
- package/fieldset/fieldset.umd.js +6 -1
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.d.ts +2 -0
- package/fileupload/FileUpload.vue +12 -7
- package/fileupload/fileupload.common.js +42 -23
- package/fileupload/fileupload.umd.js +42 -23
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +1573 -777
- package/fullcalendar/fullcalendar.umd.js +1573 -777
- package/fullcalendar/fullcalendar.umd.min.js +5 -5
- package/galleria/Galleria.vue +3 -8
- package/galleria/GalleriaContent.vue +9 -0
- package/galleria/galleria.common.js +31 -13
- package/galleria/galleria.umd.js +31 -13
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +18 -4
- package/galleria/galleriacontent.umd.js +18 -4
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +6 -1
- package/galleria/galleriaitem.umd.js +6 -1
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +6 -1
- package/galleria/galleriathumbnails.umd.js +6 -1
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/ImagePreview.d.ts +10 -0
- package/imagepreview/ImagePreview.vue +205 -0
- package/imagepreview/demo.html +17 -0
- package/imagepreview/imagepreview.common.js +4083 -0
- package/imagepreview/imagepreview.umd.js +4093 -0
- package/imagepreview/imagepreview.umd.min.js +1 -0
- package/imagepreview/index.d.ts +1 -0
- package/imagepreview/index.js +2 -0
- package/imagepreview/plugin.js +4 -0
- package/inlinemessage/inlinemessage.common.js +1 -1
- package/inlinemessage/inlinemessage.umd.js +1 -1
- package/inplace/inplace.common.js +7 -2
- package/inplace/inplace.umd.js +7 -2
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/InputMask.vue +7 -5
- package/inputmask/inputmask.common.js +19 -6
- package/inputmask/inputmask.umd.js +19 -6
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +183 -62
- package/inputnumber/inputnumber.common.js +228 -104
- package/inputnumber/inputnumber.umd.js +228 -104
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +2 -0
- package/inputswitch/InputSwitch.vue +15 -3
- package/inputswitch/inputswitch.common.js +17 -5
- package/inputswitch/inputswitch.umd.js +17 -5
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +5 -1
- package/inputtext/inputtext.umd.js +5 -1
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +1 -1
- package/knob/knob.umd.js +1 -1
- package/listbox/Listbox.d.ts +3 -3
- package/listbox/listbox.common.js +10 -1
- package/listbox/listbox.umd.js +10 -1
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +6 -1
- package/megamenu/MegaMenu.vue +51 -22
- package/megamenu/megamenu.common.js +52 -10
- package/megamenu/megamenu.umd.js +52 -10
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/Menu.d.ts +1 -0
- package/menu/Menu.vue +11 -4
- package/menu/Menuitem.vue +25 -11
- package/menu/menu.common.js +46 -17
- package/menu/menu.umd.js +46 -17
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +33 -11
- package/menu/menuitem.umd.js +33 -11
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/Menubar.d.ts +1 -0
- package/menubar/Menubar.vue +5 -1
- package/menubar/MenubarSub.vue +34 -14
- package/menubar/menubar.common.js +46 -14
- package/menubar/menubar.umd.js +46 -14
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +36 -8
- package/menubar/menubarsub.umd.js +36 -8
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +5 -1
- package/message/message.common.js +12 -3
- package/message/message.umd.js +12 -3
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +4 -3
- package/multiselect/MultiSelect.vue +8 -1
- package/multiselect/multiselect.common.js +20 -5
- package/multiselect/multiselect.umd.js +20 -5
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +2 -0
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.common.js +15 -4
- package/orderlist/orderlist.umd.js +15 -4
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +11 -2
- package/organizationchart/organizationchart.umd.js +11 -2
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +6 -1
- package/organizationchart/organizationchartnode.umd.js +6 -1
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +6 -1
- package/overlaypanel/overlaypanel.umd.js +6 -1
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +5 -1
- package/paginator/CurrentPageReport.vue +6 -2
- package/paginator/JumpToPageDropdown.vue +33 -0
- package/paginator/JumpToPageInput.vue +25 -0
- package/paginator/Paginator.d.ts +2 -2
- package/paginator/Paginator.vue +24 -11
- package/paginator/RowsPerPageDropdown.vue +3 -2
- package/paginator/currentpagereport.common.js +7 -3
- package/paginator/currentpagereport.umd.js +7 -3
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/demo.html +3 -3
- package/paginator/firstpagelink.common.js +6 -1
- package/paginator/firstpagelink.umd.js +6 -1
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +6476 -0
- package/paginator/jumptopagedropdown.umd.js +6486 -0
- package/paginator/jumptopagedropdown.umd.min.js +1 -0
- package/paginator/jumptopageinput.common.js +7421 -0
- package/paginator/jumptopageinput.umd.js +7431 -0
- package/paginator/jumptopageinput.umd.min.js +1 -0
- package/paginator/lastpagelink.common.js +6 -1
- package/paginator/lastpagelink.umd.js +6 -1
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +6 -1
- package/paginator/nextpagelink.umd.js +6 -1
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +6 -1
- package/paginator/pagelinks.umd.js +6 -1
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +2264 -125
- package/paginator/paginator.umd.js +2264 -125
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +6 -1
- package/paginator/prevpagelink.umd.js +6 -1
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +52 -13
- package/paginator/rowsperpagedropdown.umd.js +52 -13
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panel/panel.common.js +7 -2
- package/panel/panel.umd.js +7 -2
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +1 -0
- package/panelmenu/PanelMenu.vue +32 -6
- package/panelmenu/PanelMenuSub.vue +32 -13
- package/panelmenu/panelmenu.common.js +69 -16
- package/panelmenu/panelmenu.umd.js +69 -16
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +29 -7
- package/panelmenu/panelmenusub.umd.js +29 -7
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/password.common.js +11 -2
- package/password/password.umd.js +11 -2
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +8 -0
- package/picklist/PickList.vue +13 -4
- package/picklist/picklist.common.js +22 -4
- package/picklist/picklist.umd.js +22 -4
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/ProgressBar.vue +20 -13
- package/progressbar/progressbar.common.js +11 -6
- package/progressbar/progressbar.umd.js +11 -6
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +1 -1
- package/progressspinner/progressspinner.umd.js +1 -1
- package/radiobutton/radiobutton.common.js +5 -1
- package/radiobutton/radiobutton.umd.js +5 -1
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.common.js +3 -3
- package/rating/rating.umd.js +3 -3
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +15 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +503 -83
- package/resources/themes/arya-green/theme.css +503 -83
- package/resources/themes/arya-orange/theme.css +503 -83
- package/resources/themes/arya-purple/theme.css +503 -83
- package/resources/themes/bootstrap4-dark-blue/theme.css +500 -87
- package/resources/themes/bootstrap4-dark-purple/theme.css +500 -87
- package/resources/themes/bootstrap4-light-blue/theme.css +490 -77
- package/resources/themes/bootstrap4-light-purple/theme.css +490 -77
- package/resources/themes/fluent-light/theme.css +497 -77
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5418 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5418 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5418 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5418 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5418 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5418 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5418 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5418 -0
- package/resources/themes/luna-amber/theme.css +500 -87
- package/resources/themes/luna-blue/theme.css +500 -87
- package/resources/themes/luna-green/theme.css +500 -87
- package/resources/themes/luna-pink/theme.css +500 -87
- package/resources/themes/md-dark-deeppurple/theme.css +801 -128
- package/resources/themes/md-dark-indigo/theme.css +801 -128
- package/resources/themes/md-light-deeppurple/theme.css +791 -118
- package/resources/themes/md-light-indigo/theme.css +791 -118
- package/resources/themes/mdc-dark-deeppurple/theme.css +1087 -414
- package/resources/themes/mdc-dark-indigo/theme.css +1035 -362
- package/resources/themes/mdc-light-deeppurple/theme.css +791 -118
- package/resources/themes/mdc-light-indigo/theme.css +791 -118
- package/resources/themes/nova/theme.css +490 -77
- package/resources/themes/nova-accent/theme.css +490 -77
- package/resources/themes/nova-alt/theme.css +490 -77
- package/resources/themes/nova-vue/theme.css +490 -77
- package/resources/themes/rhea/theme.css +490 -77
- package/resources/themes/saga-blue/theme.css +493 -73
- package/resources/themes/saga-green/theme.css +493 -73
- package/resources/themes/saga-orange/theme.css +493 -73
- package/resources/themes/saga-purple/theme.css +493 -73
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/tailwind-light/theme.css +5493 -0
- package/resources/themes/vela-blue/theme.css +503 -83
- package/resources/themes/vela-green/theme.css +503 -83
- package/resources/themes/vela-orange/theme.css +503 -83
- package/resources/themes/vela-purple/theme.css +503 -83
- package/ripple/ripple.common.js +5 -0
- package/ripple/ripple.umd.js +5 -0
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +1 -1
- package/row/row.umd.js +1 -1
- package/scrollpanel/scrollpanel.common.js +6 -1
- package/scrollpanel/scrollpanel.umd.js +6 -1
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +6 -1
- package/scrolltop/scrolltop.umd.js +6 -1
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +3 -3
- package/selectbutton/SelectButton.vue +6 -1
- package/selectbutton/selectbutton.common.js +17 -3
- package/selectbutton/selectbutton.umd.js +17 -3
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +3 -16
- package/sidebar/sidebar.common.js +15 -15
- package/sidebar/sidebar.umd.js +15 -15
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +1 -1
- package/skeleton/skeleton.umd.js +1 -1
- package/slider/slider.common.js +6 -1
- package/slider/slider.umd.js +6 -1
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +31 -0
- package/speeddial/SpeedDial.vue +341 -0
- package/speeddial/demo.html +17 -0
- package/speeddial/index.d.ts +1 -0
- package/speeddial/index.js +2 -0
- package/speeddial/plugin.js +4 -0
- package/speeddial/speeddial.common.js +4741 -0
- package/speeddial/speeddial.umd.js +4751 -0
- package/speeddial/speeddial.umd.min.js +1 -0
- package/splitbutton/splitbutton.common.js +51 -22
- package/splitbutton/splitbutton.umd.js +51 -22
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +5 -0
- package/splitter/splitter.umd.js +5 -0
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/Steps.d.ts +1 -0
- package/steps/Steps.vue +30 -8
- package/steps/steps.common.js +33 -6
- package/steps/steps.umd.js +33 -6
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.d.ts +5 -0
- package/styleclass/StyleClass.js +179 -0
- package/styleclass/demo.html +8 -0
- package/styleclass/index.d.ts +1 -0
- package/styleclass/index.js +2 -0
- package/styleclass/plugin.js +4 -0
- package/styleclass/styleclass.common.js +3576 -0
- package/styleclass/styleclass.umd.js +3586 -0
- package/styleclass/styleclass.umd.min.js +1 -0
- package/tabmenu/TabMenu.d.ts +1 -0
- package/tabmenu/TabMenu.vue +44 -11
- package/tabmenu/tabmenu.common.js +171 -9
- package/tabmenu/tabmenu.umd.js +171 -9
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +1 -1
- package/tabpanel/tabpanel.umd.js +1 -1
- package/tabview/TabView.d.ts +1 -0
- package/tabview/TabView.vue +111 -11
- package/tabview/tabview.common.js +86 -5
- package/tabview/tabview.umd.js +86 -5
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +1 -1
- package/tag/tag.umd.js +1 -1
- package/terminal/terminal.common.js +1 -1
- package/terminal/terminal.umd.js +1 -1
- package/textarea/textarea.common.js +5 -1
- package/textarea/textarea.umd.js +5 -1
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +1 -0
- package/tieredmenu/TieredMenu.vue +5 -1
- package/tieredmenu/TieredMenuSub.vue +30 -14
- package/tieredmenu/demo.html +4 -3
- package/tieredmenu/tieredmenu.common.js +41 -13
- package/tieredmenu/tieredmenu.umd.js +41 -13
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +31 -7
- package/tieredmenu/tieredmenusub.umd.js +31 -7
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +5 -1
- package/timeline/timeline.umd.js +5 -1
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/Toast.d.ts +7 -1
- package/toast/Toast.vue +51 -4
- package/toast/ToastMessage.vue +44 -10
- package/toast/toast.common.js +103 -14
- package/toast/toast.umd.js +103 -14
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +44 -7
- package/toast/toastmessage.umd.js +44 -7
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +6 -1
- package/togglebutton/togglebutton.umd.js +6 -1
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.common.js +3 -3
- package/toolbar/toolbar.umd.js +3 -3
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.css +1 -0
- package/tooltip/Tooltip.js +59 -6
- package/tooltip/tooltip.common.js +1763 -70
- package/tooltip/tooltip.umd.js +1763 -70
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +23 -8
- package/tree/tree.umd.js +23 -8
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +16 -3
- package/tree/treenode.umd.js +16 -3
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +8 -8
- package/treetable/treetable.common.js +1900 -90
- package/treetable/treetable.umd.js +1900 -90
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +11 -1
- package/treetable/treetablerow.umd.js +11 -1
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +12 -1
- package/treetable/treetablerowloader.umd.js +12 -1
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/DomHandler.js +5 -0
- package/utils/EventBus.js +33 -0
- package/utils/connectedoverlayscrollhandler.common.js +5 -0
- package/utils/connectedoverlayscrollhandler.umd.js +5 -0
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/domhandler.common.js +5 -0
- package/utils/domhandler.umd.js +5 -0
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +1774 -0
- package/utils/eventbus.umd.js +1784 -0
- package/utils/eventbus.umd.min.js +1 -0
- package/utils/filterutils.common.js +4 -0
- package/utils/filterutils.umd.js +4 -0
- package/utils/filterutils.umd.min.js +1 -1
- package/utils/objectutils.common.js +4 -0
- package/utils/objectutils.umd.js +4 -0
- package/utils/objectutils.umd.min.js +1 -1
- package/vetur-attributes.json +236 -16
- package/vetur-tags.json +88 -18
- package/web-types.json +2042 -1266
- package/confirmationservice/confirmationeventbus.common.js +0 -174
- package/confirmationservice/confirmationeventbus.umd.js +0 -184
- package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
package/menu/Menu.d.ts
CHANGED
package/menu/Menu.vue
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
<ul class="p-menu-list p-reset" role="menu">
|
|
5
5
|
<template v-for="(item, i) of model">
|
|
6
6
|
<template v-if="item.items && visible(item) && !item.separator">
|
|
7
|
-
<li class="p-submenu-header" :key="item
|
|
7
|
+
<li class="p-submenu-header" :key="label(item) + i" v-if="item.items">{{label(item)}}</li>
|
|
8
8
|
<template v-for="(child, j) of item.items">
|
|
9
|
-
<Menuitem v-if="visible(child) && !child.separator" :key="child
|
|
9
|
+
<Menuitem v-if="visible(child) && !child.separator" :key="label(child) + i + j" :item="child" @click="itemClick" :exact="exact" />
|
|
10
10
|
<li v-else-if="visible(child) && child.separator" :class="['p-menu-separator', child.class]" :style="child.style" :key="'separator' + i + j" role="separator"></li>
|
|
11
11
|
</template>
|
|
12
12
|
</template>
|
|
13
13
|
<li v-else-if="visible(item) && item.separator" :class="['p-menu-separator', item.class]" :style="item.style" :key="'separator' + i" role="separator"></li>
|
|
14
|
-
<Menuitem v-else :key="item
|
|
14
|
+
<Menuitem v-else :key="label(item) + i" :item="item" @click="itemClick" :exact="exact" />
|
|
15
15
|
</template>
|
|
16
16
|
</ul>
|
|
17
17
|
</div>
|
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
baseZIndex: {
|
|
45
45
|
type: Number,
|
|
46
46
|
default: 0
|
|
47
|
+
},
|
|
48
|
+
exact: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: true
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
data() {
|
|
@@ -195,7 +199,10 @@ export default {
|
|
|
195
199
|
},
|
|
196
200
|
visible(item) {
|
|
197
201
|
return (typeof item.visible === 'function' ? item.visible() : item.visible !== false);
|
|
198
|
-
}
|
|
202
|
+
},
|
|
203
|
+
label(item) {
|
|
204
|
+
return (typeof item.label === 'function' ? item.label() : item.label);
|
|
205
|
+
},
|
|
199
206
|
},
|
|
200
207
|
computed: {
|
|
201
208
|
containerClass() {
|
package/menu/Menuitem.vue
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li :class="containerClass" role="none" :style="item.style" v-if="visible()">
|
|
3
|
-
<router-link v-if="item.to && !item
|
|
4
|
-
<
|
|
5
|
-
|
|
3
|
+
<router-link v-if="item.to && !disabled(item)" :to="item.to" custom v-slot="{navigate, href, isActive, isExactActive}">
|
|
4
|
+
<a :href="href" @click="onClick($event, navigate)" :class="linkClass(item, {isActive, isExactActive})" role="menuitem" v-ripple>
|
|
5
|
+
<span :class="['p-menuitem-icon', item.icon]"></span>
|
|
6
|
+
<span class="p-menuitem-text">{{label(item)}}</span>
|
|
7
|
+
</a>
|
|
6
8
|
</router-link>
|
|
7
|
-
<a v-else :href="item.url" :class="linkClass" @click="onClick" :target="item.target" role="menuitem" :tabindex="item
|
|
9
|
+
<a v-else :href="item.url" :class="linkClass(item)" @click="onClick" :target="item.target" role="menuitem" :tabindex="disabled(item) ? null : '0'" v-ripple>
|
|
8
10
|
<span :class="['p-menuitem-icon', item.icon]"></span>
|
|
9
|
-
<span class="p-menuitem-text">{{item
|
|
11
|
+
<span class="p-menuitem-text">{{label(item)}}</span>
|
|
10
12
|
</a>
|
|
11
13
|
</li>
|
|
12
14
|
</template>
|
|
@@ -16,25 +18,37 @@ import Ripple from '../ripple/Ripple';
|
|
|
16
18
|
|
|
17
19
|
export default {
|
|
18
20
|
props: {
|
|
19
|
-
item: null
|
|
21
|
+
item: null,
|
|
22
|
+
exact: null
|
|
20
23
|
},
|
|
21
24
|
methods: {
|
|
22
|
-
onClick(event) {
|
|
25
|
+
onClick(event, navigate) {
|
|
23
26
|
this.$emit('click', {
|
|
24
27
|
originalEvent: event,
|
|
25
|
-
item: this.item
|
|
28
|
+
item: this.item,
|
|
29
|
+
navigate: navigate
|
|
26
30
|
});
|
|
27
31
|
},
|
|
32
|
+
linkClass(item, routerProps) {
|
|
33
|
+
return ['p-menuitem-link', {
|
|
34
|
+
'p-disabled': this.disabled(item),
|
|
35
|
+
'router-link-active': routerProps && routerProps.isActive,
|
|
36
|
+
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
|
|
37
|
+
}];
|
|
38
|
+
},
|
|
28
39
|
visible() {
|
|
29
40
|
return (typeof this.item.visible === 'function' ? this.item.visible() : this.item.visible !== false);
|
|
41
|
+
},
|
|
42
|
+
disabled(item) {
|
|
43
|
+
return (typeof item.disabled === 'function' ? item.disabled() : item.disabled);
|
|
44
|
+
},
|
|
45
|
+
label(item) {
|
|
46
|
+
return (typeof item.label === 'function' ? item.label() : item.label);
|
|
30
47
|
}
|
|
31
48
|
},
|
|
32
49
|
computed: {
|
|
33
50
|
containerClass() {
|
|
34
51
|
return ['p-menuitem', this.item.class];
|
|
35
|
-
},
|
|
36
|
-
linkClass() {
|
|
37
|
-
return ['p-menuitem-link', {'p-disabled': this.item.disabled}];
|
|
38
52
|
}
|
|
39
53
|
},
|
|
40
54
|
directives: {
|
package/menu/menu.common.js
CHANGED
|
@@ -3260,12 +3260,12 @@ if (typeof window !== 'undefined') {
|
|
|
3260
3260
|
// Indicate to webpack that this file can be concatenated
|
|
3261
3261
|
/* harmony default export */ var setPublicPath = (null);
|
|
3262
3262
|
|
|
3263
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3264
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onEnter,"leave":_vm.onLeave}},[(_vm.popup ? _vm.overlayVisible : true)?_c('div',{ref:"container",class:_vm.containerClass},[_c('ul',{staticClass:"p-menu-list p-reset",attrs:{"role":"menu"}},[_vm._l((_vm.model),function(item,i){return [(item.items && _vm.visible(item) && !item.separator)?[(item.items)?_c('li',{key:
|
|
3263
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menu/Menu.vue?vue&type=template&id=a93d5590&
|
|
3264
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onEnter,"leave":_vm.onLeave}},[(_vm.popup ? _vm.overlayVisible : true)?_c('div',{ref:"container",class:_vm.containerClass},[_c('ul',{staticClass:"p-menu-list p-reset",attrs:{"role":"menu"}},[_vm._l((_vm.model),function(item,i){return [(item.items && _vm.visible(item) && !item.separator)?[(item.items)?_c('li',{key:_vm.label(item) + i,staticClass:"p-submenu-header"},[_vm._v(_vm._s(_vm.label(item)))]):_vm._e(),_vm._l((item.items),function(child,j){return [(_vm.visible(child) && !child.separator)?_c('Menuitem',{key:_vm.label(child) + i + j,attrs:{"item":child,"exact":_vm.exact},on:{"click":_vm.itemClick}}):(_vm.visible(child) && child.separator)?_c('li',{key:'separator' + i + j,class:['p-menu-separator', child.class],style:(child.style),attrs:{"role":"separator"}}):_vm._e()]})]:(_vm.visible(item) && item.separator)?_c('li',{key:'separator' + i,class:['p-menu-separator', item.class],style:(item.style),attrs:{"role":"separator"}}):_c('Menuitem',{key:_vm.label(item) + i,attrs:{"item":item,"exact":_vm.exact},on:{"click":_vm.itemClick}})]})],2)]):_vm._e()])}
|
|
3265
3265
|
var staticRenderFns = []
|
|
3266
3266
|
|
|
3267
3267
|
|
|
3268
|
-
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=
|
|
3268
|
+
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=a93d5590&
|
|
3269
3269
|
|
|
3270
3270
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
3271
3271
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
@@ -3876,6 +3876,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3876
3876
|
value: function isAndroid() {
|
|
3877
3877
|
return /(android)/i.test(navigator.userAgent);
|
|
3878
3878
|
}
|
|
3879
|
+
}, {
|
|
3880
|
+
key: "isTouchDevice",
|
|
3881
|
+
value: function isTouchDevice() {
|
|
3882
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3883
|
+
}
|
|
3879
3884
|
}]);
|
|
3880
3885
|
|
|
3881
3886
|
return DomHandler;
|
|
@@ -3929,12 +3934,17 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
3929
3934
|
}();
|
|
3930
3935
|
|
|
3931
3936
|
|
|
3932
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3933
|
-
var
|
|
3934
|
-
var
|
|
3937
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menu/Menuitem.vue?vue&type=template&id=f658e7ec&
|
|
3938
|
+
var Menuitemvue_type_template_id_f658e7ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible())?_c('li',{class:_vm.containerClass,style:(_vm.item.style),attrs:{"role":"none"}},[(_vm.item.to && !_vm.disabled(_vm.item))?_c('router-link',{attrs:{"to":_vm.item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
3939
|
+
var navigate = ref.navigate;
|
|
3940
|
+
var href = ref.href;
|
|
3941
|
+
var isActive = ref.isActive;
|
|
3942
|
+
var isExactActive = ref.isExactActive;
|
|
3943
|
+
return [_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(_vm.item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"menuitem"},on:{"click":function($event){return _vm.onClick($event, navigate)}}},[_c('span',{class:['p-menuitem-icon', _vm.item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))])])]}}],null,false,2268140215)}):_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(_vm.item),attrs:{"href":_vm.item.url,"target":_vm.item.target,"role":"menuitem","tabindex":_vm.disabled(_vm.item) ? null : '0'},on:{"click":_vm.onClick}},[_c('span',{class:['p-menuitem-icon', _vm.item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))])])],1):_vm._e()}
|
|
3944
|
+
var Menuitemvue_type_template_id_f658e7ec_staticRenderFns = []
|
|
3935
3945
|
|
|
3936
3946
|
|
|
3937
|
-
// CONCATENATED MODULE: ./src/components/menu/Menuitem.vue?vue&type=template&id=
|
|
3947
|
+
// CONCATENATED MODULE: ./src/components/menu/Menuitem.vue?vue&type=template&id=f658e7ec&
|
|
3938
3948
|
|
|
3939
3949
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3940
3950
|
|
|
@@ -4028,30 +4038,42 @@ var Ripple = {
|
|
|
4028
4038
|
//
|
|
4029
4039
|
//
|
|
4030
4040
|
//
|
|
4041
|
+
//
|
|
4042
|
+
//
|
|
4031
4043
|
|
|
4032
4044
|
/* harmony default export */ var Menuitemvue_type_script_lang_js_ = ({
|
|
4033
4045
|
props: {
|
|
4034
|
-
item: null
|
|
4046
|
+
item: null,
|
|
4047
|
+
exact: null
|
|
4035
4048
|
},
|
|
4036
4049
|
methods: {
|
|
4037
|
-
onClick: function onClick(event) {
|
|
4050
|
+
onClick: function onClick(event, navigate) {
|
|
4038
4051
|
this.$emit('click', {
|
|
4039
4052
|
originalEvent: event,
|
|
4040
|
-
item: this.item
|
|
4053
|
+
item: this.item,
|
|
4054
|
+
navigate: navigate
|
|
4041
4055
|
});
|
|
4042
4056
|
},
|
|
4057
|
+
linkClass: function linkClass(item, routerProps) {
|
|
4058
|
+
return ['p-menuitem-link', {
|
|
4059
|
+
'p-disabled': this.disabled(item),
|
|
4060
|
+
'router-link-active': routerProps && routerProps.isActive,
|
|
4061
|
+
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
|
|
4062
|
+
}];
|
|
4063
|
+
},
|
|
4043
4064
|
visible: function visible() {
|
|
4044
4065
|
return typeof this.item.visible === 'function' ? this.item.visible() : this.item.visible !== false;
|
|
4066
|
+
},
|
|
4067
|
+
disabled: function disabled(item) {
|
|
4068
|
+
return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
|
|
4069
|
+
},
|
|
4070
|
+
label: function label(item) {
|
|
4071
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4045
4072
|
}
|
|
4046
4073
|
},
|
|
4047
4074
|
computed: {
|
|
4048
4075
|
containerClass: function containerClass() {
|
|
4049
4076
|
return ['p-menuitem', this.item.class];
|
|
4050
|
-
},
|
|
4051
|
-
linkClass: function linkClass() {
|
|
4052
|
-
return ['p-menuitem-link', {
|
|
4053
|
-
'p-disabled': this.item.disabled
|
|
4054
|
-
}];
|
|
4055
4077
|
}
|
|
4056
4078
|
},
|
|
4057
4079
|
directives: {
|
|
@@ -4170,8 +4192,8 @@ function normalizeComponent (
|
|
|
4170
4192
|
|
|
4171
4193
|
var component = normalizeComponent(
|
|
4172
4194
|
menu_Menuitemvue_type_script_lang_js_,
|
|
4173
|
-
|
|
4174
|
-
|
|
4195
|
+
Menuitemvue_type_template_id_f658e7ec_render,
|
|
4196
|
+
Menuitemvue_type_template_id_f658e7ec_staticRenderFns,
|
|
4175
4197
|
false,
|
|
4176
4198
|
null,
|
|
4177
4199
|
null,
|
|
@@ -4226,6 +4248,10 @@ var component = normalizeComponent(
|
|
|
4226
4248
|
baseZIndex: {
|
|
4227
4249
|
type: Number,
|
|
4228
4250
|
default: 0
|
|
4251
|
+
},
|
|
4252
|
+
exact: {
|
|
4253
|
+
type: Boolean,
|
|
4254
|
+
default: true
|
|
4229
4255
|
}
|
|
4230
4256
|
},
|
|
4231
4257
|
data: function data() {
|
|
@@ -4374,6 +4400,9 @@ var component = normalizeComponent(
|
|
|
4374
4400
|
},
|
|
4375
4401
|
visible: function visible(item) {
|
|
4376
4402
|
return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
|
|
4403
|
+
},
|
|
4404
|
+
label: function label(item) {
|
|
4405
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4377
4406
|
}
|
|
4378
4407
|
},
|
|
4379
4408
|
computed: {
|
package/menu/menu.umd.js
CHANGED
|
@@ -3269,12 +3269,12 @@ if (typeof window !== 'undefined') {
|
|
|
3269
3269
|
// Indicate to webpack that this file can be concatenated
|
|
3270
3270
|
/* harmony default export */ var setPublicPath = (null);
|
|
3271
3271
|
|
|
3272
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3273
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onEnter,"leave":_vm.onLeave}},[(_vm.popup ? _vm.overlayVisible : true)?_c('div',{ref:"container",class:_vm.containerClass},[_c('ul',{staticClass:"p-menu-list p-reset",attrs:{"role":"menu"}},[_vm._l((_vm.model),function(item,i){return [(item.items && _vm.visible(item) && !item.separator)?[(item.items)?_c('li',{key:
|
|
3272
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menu/Menu.vue?vue&type=template&id=a93d5590&
|
|
3273
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onEnter,"leave":_vm.onLeave}},[(_vm.popup ? _vm.overlayVisible : true)?_c('div',{ref:"container",class:_vm.containerClass},[_c('ul',{staticClass:"p-menu-list p-reset",attrs:{"role":"menu"}},[_vm._l((_vm.model),function(item,i){return [(item.items && _vm.visible(item) && !item.separator)?[(item.items)?_c('li',{key:_vm.label(item) + i,staticClass:"p-submenu-header"},[_vm._v(_vm._s(_vm.label(item)))]):_vm._e(),_vm._l((item.items),function(child,j){return [(_vm.visible(child) && !child.separator)?_c('Menuitem',{key:_vm.label(child) + i + j,attrs:{"item":child,"exact":_vm.exact},on:{"click":_vm.itemClick}}):(_vm.visible(child) && child.separator)?_c('li',{key:'separator' + i + j,class:['p-menu-separator', child.class],style:(child.style),attrs:{"role":"separator"}}):_vm._e()]})]:(_vm.visible(item) && item.separator)?_c('li',{key:'separator' + i,class:['p-menu-separator', item.class],style:(item.style),attrs:{"role":"separator"}}):_c('Menuitem',{key:_vm.label(item) + i,attrs:{"item":item,"exact":_vm.exact},on:{"click":_vm.itemClick}})]})],2)]):_vm._e()])}
|
|
3274
3274
|
var staticRenderFns = []
|
|
3275
3275
|
|
|
3276
3276
|
|
|
3277
|
-
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=
|
|
3277
|
+
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=a93d5590&
|
|
3278
3278
|
|
|
3279
3279
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
3280
3280
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
@@ -3885,6 +3885,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3885
3885
|
value: function isAndroid() {
|
|
3886
3886
|
return /(android)/i.test(navigator.userAgent);
|
|
3887
3887
|
}
|
|
3888
|
+
}, {
|
|
3889
|
+
key: "isTouchDevice",
|
|
3890
|
+
value: function isTouchDevice() {
|
|
3891
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3892
|
+
}
|
|
3888
3893
|
}]);
|
|
3889
3894
|
|
|
3890
3895
|
return DomHandler;
|
|
@@ -3938,12 +3943,17 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
3938
3943
|
}();
|
|
3939
3944
|
|
|
3940
3945
|
|
|
3941
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3942
|
-
var
|
|
3943
|
-
var
|
|
3946
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menu/Menuitem.vue?vue&type=template&id=f658e7ec&
|
|
3947
|
+
var Menuitemvue_type_template_id_f658e7ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible())?_c('li',{class:_vm.containerClass,style:(_vm.item.style),attrs:{"role":"none"}},[(_vm.item.to && !_vm.disabled(_vm.item))?_c('router-link',{attrs:{"to":_vm.item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
3948
|
+
var navigate = ref.navigate;
|
|
3949
|
+
var href = ref.href;
|
|
3950
|
+
var isActive = ref.isActive;
|
|
3951
|
+
var isExactActive = ref.isExactActive;
|
|
3952
|
+
return [_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(_vm.item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"menuitem"},on:{"click":function($event){return _vm.onClick($event, navigate)}}},[_c('span',{class:['p-menuitem-icon', _vm.item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))])])]}}],null,false,2268140215)}):_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(_vm.item),attrs:{"href":_vm.item.url,"target":_vm.item.target,"role":"menuitem","tabindex":_vm.disabled(_vm.item) ? null : '0'},on:{"click":_vm.onClick}},[_c('span',{class:['p-menuitem-icon', _vm.item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))])])],1):_vm._e()}
|
|
3953
|
+
var Menuitemvue_type_template_id_f658e7ec_staticRenderFns = []
|
|
3944
3954
|
|
|
3945
3955
|
|
|
3946
|
-
// CONCATENATED MODULE: ./src/components/menu/Menuitem.vue?vue&type=template&id=
|
|
3956
|
+
// CONCATENATED MODULE: ./src/components/menu/Menuitem.vue?vue&type=template&id=f658e7ec&
|
|
3947
3957
|
|
|
3948
3958
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3949
3959
|
|
|
@@ -4037,30 +4047,42 @@ var Ripple = {
|
|
|
4037
4047
|
//
|
|
4038
4048
|
//
|
|
4039
4049
|
//
|
|
4050
|
+
//
|
|
4051
|
+
//
|
|
4040
4052
|
|
|
4041
4053
|
/* harmony default export */ var Menuitemvue_type_script_lang_js_ = ({
|
|
4042
4054
|
props: {
|
|
4043
|
-
item: null
|
|
4055
|
+
item: null,
|
|
4056
|
+
exact: null
|
|
4044
4057
|
},
|
|
4045
4058
|
methods: {
|
|
4046
|
-
onClick: function onClick(event) {
|
|
4059
|
+
onClick: function onClick(event, navigate) {
|
|
4047
4060
|
this.$emit('click', {
|
|
4048
4061
|
originalEvent: event,
|
|
4049
|
-
item: this.item
|
|
4062
|
+
item: this.item,
|
|
4063
|
+
navigate: navigate
|
|
4050
4064
|
});
|
|
4051
4065
|
},
|
|
4066
|
+
linkClass: function linkClass(item, routerProps) {
|
|
4067
|
+
return ['p-menuitem-link', {
|
|
4068
|
+
'p-disabled': this.disabled(item),
|
|
4069
|
+
'router-link-active': routerProps && routerProps.isActive,
|
|
4070
|
+
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
|
|
4071
|
+
}];
|
|
4072
|
+
},
|
|
4052
4073
|
visible: function visible() {
|
|
4053
4074
|
return typeof this.item.visible === 'function' ? this.item.visible() : this.item.visible !== false;
|
|
4075
|
+
},
|
|
4076
|
+
disabled: function disabled(item) {
|
|
4077
|
+
return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
|
|
4078
|
+
},
|
|
4079
|
+
label: function label(item) {
|
|
4080
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4054
4081
|
}
|
|
4055
4082
|
},
|
|
4056
4083
|
computed: {
|
|
4057
4084
|
containerClass: function containerClass() {
|
|
4058
4085
|
return ['p-menuitem', this.item.class];
|
|
4059
|
-
},
|
|
4060
|
-
linkClass: function linkClass() {
|
|
4061
|
-
return ['p-menuitem-link', {
|
|
4062
|
-
'p-disabled': this.item.disabled
|
|
4063
|
-
}];
|
|
4064
4086
|
}
|
|
4065
4087
|
},
|
|
4066
4088
|
directives: {
|
|
@@ -4179,8 +4201,8 @@ function normalizeComponent (
|
|
|
4179
4201
|
|
|
4180
4202
|
var component = normalizeComponent(
|
|
4181
4203
|
menu_Menuitemvue_type_script_lang_js_,
|
|
4182
|
-
|
|
4183
|
-
|
|
4204
|
+
Menuitemvue_type_template_id_f658e7ec_render,
|
|
4205
|
+
Menuitemvue_type_template_id_f658e7ec_staticRenderFns,
|
|
4184
4206
|
false,
|
|
4185
4207
|
null,
|
|
4186
4208
|
null,
|
|
@@ -4235,6 +4257,10 @@ var component = normalizeComponent(
|
|
|
4235
4257
|
baseZIndex: {
|
|
4236
4258
|
type: Number,
|
|
4237
4259
|
default: 0
|
|
4260
|
+
},
|
|
4261
|
+
exact: {
|
|
4262
|
+
type: Boolean,
|
|
4263
|
+
default: true
|
|
4238
4264
|
}
|
|
4239
4265
|
},
|
|
4240
4266
|
data: function data() {
|
|
@@ -4383,6 +4409,9 @@ var component = normalizeComponent(
|
|
|
4383
4409
|
},
|
|
4384
4410
|
visible: function visible(item) {
|
|
4385
4411
|
return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
|
|
4412
|
+
},
|
|
4413
|
+
label: function label(item) {
|
|
4414
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4386
4415
|
}
|
|
4387
4416
|
},
|
|
4388
4417
|
computed: {
|