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/toast/toast.common.js
CHANGED
|
@@ -2557,7 +2557,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
2557
2557
|
|
|
2558
2558
|
|
|
2559
2559
|
// module
|
|
2560
|
-
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px
|
|
2560
|
+
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
|
|
2561
2561
|
|
|
2562
2562
|
// exports
|
|
2563
2563
|
|
|
@@ -4627,12 +4627,12 @@ if (typeof window !== 'undefined') {
|
|
|
4627
4627
|
// Indicate to webpack that this file can be concatenated
|
|
4628
4628
|
/* harmony default export */ var setPublicPath = (null);
|
|
4629
4629
|
|
|
4630
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4631
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
|
|
4630
|
+
// 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/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4631
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"},on:{"enter":_vm.onEnter}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg,"templates":_vm.$scopedSlots},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
|
|
4632
4632
|
var staticRenderFns = []
|
|
4633
4633
|
|
|
4634
4634
|
|
|
4635
|
-
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=
|
|
4635
|
+
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4636
4636
|
|
|
4637
4637
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
|
|
4638
4638
|
var is_array = __webpack_require__("a745");
|
|
@@ -4707,12 +4707,12 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
4707
4707
|
|
|
4708
4708
|
var EventBus = new external_commonjs_vue_commonjs2_vue_root_Vue_default.a();
|
|
4709
4709
|
/* harmony default export */ var ToastEventBus = (EventBus);
|
|
4710
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4711
|
-
var
|
|
4712
|
-
var
|
|
4710
|
+
// 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/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4711
|
+
var ToastMessagevue_type_template_id_65233dd4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content",class:_vm.message.contentStyleClass},[(_vm.templates['message'])?_c('ToastMessageTemplate',{attrs:{"message":_vm.message,"template":_vm.templates['message']}}):[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])])],(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()],2)])}
|
|
4712
|
+
var ToastMessagevue_type_template_id_65233dd4_staticRenderFns = []
|
|
4713
4713
|
|
|
4714
4714
|
|
|
4715
|
-
// CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=
|
|
4715
|
+
// CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4716
4716
|
|
|
4717
4717
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
4718
4718
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -5320,6 +5320,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5320
5320
|
value: function isAndroid() {
|
|
5321
5321
|
return /(android)/i.test(navigator.userAgent);
|
|
5322
5322
|
}
|
|
5323
|
+
}, {
|
|
5324
|
+
key: "isTouchDevice",
|
|
5325
|
+
value: function isTouchDevice() {
|
|
5326
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5327
|
+
}
|
|
5323
5328
|
}]);
|
|
5324
5329
|
|
|
5325
5330
|
return DomHandler;
|
|
@@ -5420,10 +5425,33 @@ var Ripple = {
|
|
|
5420
5425
|
//
|
|
5421
5426
|
//
|
|
5422
5427
|
//
|
|
5428
|
+
//
|
|
5429
|
+
//
|
|
5430
|
+
//
|
|
5423
5431
|
|
|
5432
|
+
var ToastMessageTemplate = {
|
|
5433
|
+
functional: true,
|
|
5434
|
+
props: {
|
|
5435
|
+
message: {
|
|
5436
|
+
type: null,
|
|
5437
|
+
default: null
|
|
5438
|
+
},
|
|
5439
|
+
template: {
|
|
5440
|
+
type: null,
|
|
5441
|
+
default: null
|
|
5442
|
+
}
|
|
5443
|
+
},
|
|
5444
|
+
render: function render(createElement, context) {
|
|
5445
|
+
var content = context.props.template({
|
|
5446
|
+
'message': context.props.message
|
|
5447
|
+
});
|
|
5448
|
+
return [content];
|
|
5449
|
+
}
|
|
5450
|
+
};
|
|
5424
5451
|
/* harmony default export */ var ToastMessagevue_type_script_lang_js_ = ({
|
|
5425
5452
|
props: {
|
|
5426
|
-
message: null
|
|
5453
|
+
message: null,
|
|
5454
|
+
templates: null
|
|
5427
5455
|
},
|
|
5428
5456
|
closeTimeout: null,
|
|
5429
5457
|
mounted: function mounted() {
|
|
@@ -5435,21 +5463,27 @@ var Ripple = {
|
|
|
5435
5463
|
}, this.message.life);
|
|
5436
5464
|
}
|
|
5437
5465
|
},
|
|
5466
|
+
beforeDestroy: function beforeDestroy() {
|
|
5467
|
+
this.clearCloseTimeout();
|
|
5468
|
+
},
|
|
5438
5469
|
methods: {
|
|
5439
5470
|
close: function close() {
|
|
5440
5471
|
this.$emit('close', this.message);
|
|
5441
5472
|
},
|
|
5442
5473
|
onCloseClick: function onCloseClick() {
|
|
5474
|
+
this.clearCloseTimeout();
|
|
5475
|
+
this.close();
|
|
5476
|
+
},
|
|
5477
|
+
clearCloseTimeout: function clearCloseTimeout() {
|
|
5443
5478
|
if (this.closeTimeout) {
|
|
5444
5479
|
clearTimeout(this.closeTimeout);
|
|
5480
|
+
this.closeTimeout = null;
|
|
5445
5481
|
}
|
|
5446
|
-
|
|
5447
|
-
this.close();
|
|
5448
5482
|
}
|
|
5449
5483
|
},
|
|
5450
5484
|
computed: {
|
|
5451
5485
|
containerClass: function containerClass() {
|
|
5452
|
-
return ['p-toast-message', {
|
|
5486
|
+
return ['p-toast-message', this.message.styleClass, {
|
|
5453
5487
|
'p-toast-message-info': this.message.severity === 'info',
|
|
5454
5488
|
'p-toast-message-warn': this.message.severity === 'warn',
|
|
5455
5489
|
'p-toast-message-error': this.message.severity === 'error',
|
|
@@ -5465,6 +5499,9 @@ var Ripple = {
|
|
|
5465
5499
|
}];
|
|
5466
5500
|
}
|
|
5467
5501
|
},
|
|
5502
|
+
components: {
|
|
5503
|
+
'ToastMessageTemplate': ToastMessageTemplate
|
|
5504
|
+
},
|
|
5468
5505
|
directives: {
|
|
5469
5506
|
'ripple': ripple_Ripple
|
|
5470
5507
|
}
|
|
@@ -5581,8 +5618,8 @@ function normalizeComponent (
|
|
|
5581
5618
|
|
|
5582
5619
|
var component = normalizeComponent(
|
|
5583
5620
|
toast_ToastMessagevue_type_script_lang_js_,
|
|
5584
|
-
|
|
5585
|
-
|
|
5621
|
+
ToastMessagevue_type_template_id_65233dd4_render,
|
|
5622
|
+
ToastMessagevue_type_template_id_65233dd4_staticRenderFns,
|
|
5586
5623
|
false,
|
|
5587
5624
|
null,
|
|
5588
5625
|
null,
|
|
@@ -5591,6 +5628,13 @@ var component = normalizeComponent(
|
|
|
5591
5628
|
)
|
|
5592
5629
|
|
|
5593
5630
|
/* harmony default export */ var ToastMessage = (component.exports);
|
|
5631
|
+
// CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
|
|
5632
|
+
var lastId = 0;
|
|
5633
|
+
/* harmony default export */ var UniqueComponentId = (function () {
|
|
5634
|
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
|
|
5635
|
+
lastId++;
|
|
5636
|
+
return "".concat(prefix).concat(lastId);
|
|
5637
|
+
});
|
|
5594
5638
|
// 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/toast/Toast.vue?vue&type=script&lang=js&
|
|
5595
5639
|
|
|
5596
5640
|
|
|
@@ -5605,6 +5649,7 @@ var component = normalizeComponent(
|
|
|
5605
5649
|
|
|
5606
5650
|
|
|
5607
5651
|
|
|
5652
|
+
|
|
5608
5653
|
var messageIdx = 0;
|
|
5609
5654
|
/* harmony default export */ var Toastvue_type_script_lang_js_ = ({
|
|
5610
5655
|
props: {
|
|
@@ -5623,6 +5668,10 @@ var messageIdx = 0;
|
|
|
5623
5668
|
baseZIndex: {
|
|
5624
5669
|
type: Number,
|
|
5625
5670
|
default: 0
|
|
5671
|
+
},
|
|
5672
|
+
breakpoints: {
|
|
5673
|
+
type: Object,
|
|
5674
|
+
default: null
|
|
5626
5675
|
}
|
|
5627
5676
|
},
|
|
5628
5677
|
data: function data() {
|
|
@@ -5630,6 +5679,7 @@ var messageIdx = 0;
|
|
|
5630
5679
|
messages: []
|
|
5631
5680
|
};
|
|
5632
5681
|
},
|
|
5682
|
+
styleElement: null,
|
|
5633
5683
|
mounted: function mounted() {
|
|
5634
5684
|
var _this = this;
|
|
5635
5685
|
|
|
@@ -5647,10 +5697,17 @@ var messageIdx = 0;
|
|
|
5647
5697
|
_this.messages = [];
|
|
5648
5698
|
});
|
|
5649
5699
|
this.updateZIndex();
|
|
5700
|
+
|
|
5701
|
+
if (this.breakpoints) {
|
|
5702
|
+
this.createStyle();
|
|
5703
|
+
}
|
|
5650
5704
|
},
|
|
5651
5705
|
beforeUpdate: function beforeUpdate() {
|
|
5652
5706
|
this.updateZIndex();
|
|
5653
5707
|
},
|
|
5708
|
+
beforeDestroy: function beforeDestroy() {
|
|
5709
|
+
this.destroyStyle();
|
|
5710
|
+
},
|
|
5654
5711
|
methods: {
|
|
5655
5712
|
add: function add(message) {
|
|
5656
5713
|
if (message.id == null) {
|
|
@@ -5675,6 +5732,35 @@ var messageIdx = 0;
|
|
|
5675
5732
|
if (this.autoZIndex) {
|
|
5676
5733
|
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
|
|
5677
5734
|
}
|
|
5735
|
+
},
|
|
5736
|
+
onEnter: function onEnter() {
|
|
5737
|
+
this.$refs.container.setAttribute(this.attributeSelector, '');
|
|
5738
|
+
},
|
|
5739
|
+
createStyle: function createStyle() {
|
|
5740
|
+
if (!this.styleElement) {
|
|
5741
|
+
this.styleElement = document.createElement('style');
|
|
5742
|
+
this.styleElement.type = 'text/css';
|
|
5743
|
+
document.head.appendChild(this.styleElement);
|
|
5744
|
+
var innerHTML = '';
|
|
5745
|
+
|
|
5746
|
+
for (var breakpoint in this.breakpoints) {
|
|
5747
|
+
var breakpointStyle = '';
|
|
5748
|
+
|
|
5749
|
+
for (var styleProp in this.breakpoints[breakpoint]) {
|
|
5750
|
+
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5753
|
+
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n .p-toast[").concat(this.attributeSelector, "] {\n ").concat(breakpointStyle, "\n }\n }\n ");
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
this.styleElement.innerHTML = innerHTML;
|
|
5757
|
+
}
|
|
5758
|
+
},
|
|
5759
|
+
destroyStyle: function destroyStyle() {
|
|
5760
|
+
if (this.styleElement) {
|
|
5761
|
+
document.head.removeChild(this.styleElement);
|
|
5762
|
+
this.styleElement = null;
|
|
5763
|
+
}
|
|
5678
5764
|
}
|
|
5679
5765
|
},
|
|
5680
5766
|
components: {
|
|
@@ -5683,6 +5769,9 @@ var messageIdx = 0;
|
|
|
5683
5769
|
computed: {
|
|
5684
5770
|
containerClass: function containerClass() {
|
|
5685
5771
|
return 'p-toast p-component p-toast-' + this.position;
|
|
5772
|
+
},
|
|
5773
|
+
attributeSelector: function attributeSelector() {
|
|
5774
|
+
return UniqueComponentId();
|
|
5686
5775
|
}
|
|
5687
5776
|
}
|
|
5688
5777
|
});
|
package/toast/toast.umd.js
CHANGED
|
@@ -2566,7 +2566,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
2566
2566
|
|
|
2567
2567
|
|
|
2568
2568
|
// module
|
|
2569
|
-
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px
|
|
2569
|
+
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
|
|
2570
2570
|
|
|
2571
2571
|
// exports
|
|
2572
2572
|
|
|
@@ -4636,12 +4636,12 @@ if (typeof window !== 'undefined') {
|
|
|
4636
4636
|
// Indicate to webpack that this file can be concatenated
|
|
4637
4637
|
/* harmony default export */ var setPublicPath = (null);
|
|
4638
4638
|
|
|
4639
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4640
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
|
|
4639
|
+
// 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/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4640
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"},on:{"enter":_vm.onEnter}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg,"templates":_vm.$scopedSlots},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
|
|
4641
4641
|
var staticRenderFns = []
|
|
4642
4642
|
|
|
4643
4643
|
|
|
4644
|
-
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=
|
|
4644
|
+
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4645
4645
|
|
|
4646
4646
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
|
|
4647
4647
|
var is_array = __webpack_require__("a745");
|
|
@@ -4716,12 +4716,12 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
4716
4716
|
|
|
4717
4717
|
var EventBus = new external_commonjs_vue_commonjs2_vue_root_Vue_default.a();
|
|
4718
4718
|
/* harmony default export */ var ToastEventBus = (EventBus);
|
|
4719
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4720
|
-
var
|
|
4721
|
-
var
|
|
4719
|
+
// 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/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4720
|
+
var ToastMessagevue_type_template_id_65233dd4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content",class:_vm.message.contentStyleClass},[(_vm.templates['message'])?_c('ToastMessageTemplate',{attrs:{"message":_vm.message,"template":_vm.templates['message']}}):[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])])],(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()],2)])}
|
|
4721
|
+
var ToastMessagevue_type_template_id_65233dd4_staticRenderFns = []
|
|
4722
4722
|
|
|
4723
4723
|
|
|
4724
|
-
// CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=
|
|
4724
|
+
// CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4725
4725
|
|
|
4726
4726
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
4727
4727
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -5329,6 +5329,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5329
5329
|
value: function isAndroid() {
|
|
5330
5330
|
return /(android)/i.test(navigator.userAgent);
|
|
5331
5331
|
}
|
|
5332
|
+
}, {
|
|
5333
|
+
key: "isTouchDevice",
|
|
5334
|
+
value: function isTouchDevice() {
|
|
5335
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5336
|
+
}
|
|
5332
5337
|
}]);
|
|
5333
5338
|
|
|
5334
5339
|
return DomHandler;
|
|
@@ -5429,10 +5434,33 @@ var Ripple = {
|
|
|
5429
5434
|
//
|
|
5430
5435
|
//
|
|
5431
5436
|
//
|
|
5437
|
+
//
|
|
5438
|
+
//
|
|
5439
|
+
//
|
|
5432
5440
|
|
|
5441
|
+
var ToastMessageTemplate = {
|
|
5442
|
+
functional: true,
|
|
5443
|
+
props: {
|
|
5444
|
+
message: {
|
|
5445
|
+
type: null,
|
|
5446
|
+
default: null
|
|
5447
|
+
},
|
|
5448
|
+
template: {
|
|
5449
|
+
type: null,
|
|
5450
|
+
default: null
|
|
5451
|
+
}
|
|
5452
|
+
},
|
|
5453
|
+
render: function render(createElement, context) {
|
|
5454
|
+
var content = context.props.template({
|
|
5455
|
+
'message': context.props.message
|
|
5456
|
+
});
|
|
5457
|
+
return [content];
|
|
5458
|
+
}
|
|
5459
|
+
};
|
|
5433
5460
|
/* harmony default export */ var ToastMessagevue_type_script_lang_js_ = ({
|
|
5434
5461
|
props: {
|
|
5435
|
-
message: null
|
|
5462
|
+
message: null,
|
|
5463
|
+
templates: null
|
|
5436
5464
|
},
|
|
5437
5465
|
closeTimeout: null,
|
|
5438
5466
|
mounted: function mounted() {
|
|
@@ -5444,21 +5472,27 @@ var Ripple = {
|
|
|
5444
5472
|
}, this.message.life);
|
|
5445
5473
|
}
|
|
5446
5474
|
},
|
|
5475
|
+
beforeDestroy: function beforeDestroy() {
|
|
5476
|
+
this.clearCloseTimeout();
|
|
5477
|
+
},
|
|
5447
5478
|
methods: {
|
|
5448
5479
|
close: function close() {
|
|
5449
5480
|
this.$emit('close', this.message);
|
|
5450
5481
|
},
|
|
5451
5482
|
onCloseClick: function onCloseClick() {
|
|
5483
|
+
this.clearCloseTimeout();
|
|
5484
|
+
this.close();
|
|
5485
|
+
},
|
|
5486
|
+
clearCloseTimeout: function clearCloseTimeout() {
|
|
5452
5487
|
if (this.closeTimeout) {
|
|
5453
5488
|
clearTimeout(this.closeTimeout);
|
|
5489
|
+
this.closeTimeout = null;
|
|
5454
5490
|
}
|
|
5455
|
-
|
|
5456
|
-
this.close();
|
|
5457
5491
|
}
|
|
5458
5492
|
},
|
|
5459
5493
|
computed: {
|
|
5460
5494
|
containerClass: function containerClass() {
|
|
5461
|
-
return ['p-toast-message', {
|
|
5495
|
+
return ['p-toast-message', this.message.styleClass, {
|
|
5462
5496
|
'p-toast-message-info': this.message.severity === 'info',
|
|
5463
5497
|
'p-toast-message-warn': this.message.severity === 'warn',
|
|
5464
5498
|
'p-toast-message-error': this.message.severity === 'error',
|
|
@@ -5474,6 +5508,9 @@ var Ripple = {
|
|
|
5474
5508
|
}];
|
|
5475
5509
|
}
|
|
5476
5510
|
},
|
|
5511
|
+
components: {
|
|
5512
|
+
'ToastMessageTemplate': ToastMessageTemplate
|
|
5513
|
+
},
|
|
5477
5514
|
directives: {
|
|
5478
5515
|
'ripple': ripple_Ripple
|
|
5479
5516
|
}
|
|
@@ -5590,8 +5627,8 @@ function normalizeComponent (
|
|
|
5590
5627
|
|
|
5591
5628
|
var component = normalizeComponent(
|
|
5592
5629
|
toast_ToastMessagevue_type_script_lang_js_,
|
|
5593
|
-
|
|
5594
|
-
|
|
5630
|
+
ToastMessagevue_type_template_id_65233dd4_render,
|
|
5631
|
+
ToastMessagevue_type_template_id_65233dd4_staticRenderFns,
|
|
5595
5632
|
false,
|
|
5596
5633
|
null,
|
|
5597
5634
|
null,
|
|
@@ -5600,6 +5637,13 @@ var component = normalizeComponent(
|
|
|
5600
5637
|
)
|
|
5601
5638
|
|
|
5602
5639
|
/* harmony default export */ var ToastMessage = (component.exports);
|
|
5640
|
+
// CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
|
|
5641
|
+
var lastId = 0;
|
|
5642
|
+
/* harmony default export */ var UniqueComponentId = (function () {
|
|
5643
|
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
|
|
5644
|
+
lastId++;
|
|
5645
|
+
return "".concat(prefix).concat(lastId);
|
|
5646
|
+
});
|
|
5603
5647
|
// 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/toast/Toast.vue?vue&type=script&lang=js&
|
|
5604
5648
|
|
|
5605
5649
|
|
|
@@ -5614,6 +5658,7 @@ var component = normalizeComponent(
|
|
|
5614
5658
|
|
|
5615
5659
|
|
|
5616
5660
|
|
|
5661
|
+
|
|
5617
5662
|
var messageIdx = 0;
|
|
5618
5663
|
/* harmony default export */ var Toastvue_type_script_lang_js_ = ({
|
|
5619
5664
|
props: {
|
|
@@ -5632,6 +5677,10 @@ var messageIdx = 0;
|
|
|
5632
5677
|
baseZIndex: {
|
|
5633
5678
|
type: Number,
|
|
5634
5679
|
default: 0
|
|
5680
|
+
},
|
|
5681
|
+
breakpoints: {
|
|
5682
|
+
type: Object,
|
|
5683
|
+
default: null
|
|
5635
5684
|
}
|
|
5636
5685
|
},
|
|
5637
5686
|
data: function data() {
|
|
@@ -5639,6 +5688,7 @@ var messageIdx = 0;
|
|
|
5639
5688
|
messages: []
|
|
5640
5689
|
};
|
|
5641
5690
|
},
|
|
5691
|
+
styleElement: null,
|
|
5642
5692
|
mounted: function mounted() {
|
|
5643
5693
|
var _this = this;
|
|
5644
5694
|
|
|
@@ -5656,10 +5706,17 @@ var messageIdx = 0;
|
|
|
5656
5706
|
_this.messages = [];
|
|
5657
5707
|
});
|
|
5658
5708
|
this.updateZIndex();
|
|
5709
|
+
|
|
5710
|
+
if (this.breakpoints) {
|
|
5711
|
+
this.createStyle();
|
|
5712
|
+
}
|
|
5659
5713
|
},
|
|
5660
5714
|
beforeUpdate: function beforeUpdate() {
|
|
5661
5715
|
this.updateZIndex();
|
|
5662
5716
|
},
|
|
5717
|
+
beforeDestroy: function beforeDestroy() {
|
|
5718
|
+
this.destroyStyle();
|
|
5719
|
+
},
|
|
5663
5720
|
methods: {
|
|
5664
5721
|
add: function add(message) {
|
|
5665
5722
|
if (message.id == null) {
|
|
@@ -5684,6 +5741,35 @@ var messageIdx = 0;
|
|
|
5684
5741
|
if (this.autoZIndex) {
|
|
5685
5742
|
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
|
|
5686
5743
|
}
|
|
5744
|
+
},
|
|
5745
|
+
onEnter: function onEnter() {
|
|
5746
|
+
this.$refs.container.setAttribute(this.attributeSelector, '');
|
|
5747
|
+
},
|
|
5748
|
+
createStyle: function createStyle() {
|
|
5749
|
+
if (!this.styleElement) {
|
|
5750
|
+
this.styleElement = document.createElement('style');
|
|
5751
|
+
this.styleElement.type = 'text/css';
|
|
5752
|
+
document.head.appendChild(this.styleElement);
|
|
5753
|
+
var innerHTML = '';
|
|
5754
|
+
|
|
5755
|
+
for (var breakpoint in this.breakpoints) {
|
|
5756
|
+
var breakpointStyle = '';
|
|
5757
|
+
|
|
5758
|
+
for (var styleProp in this.breakpoints[breakpoint]) {
|
|
5759
|
+
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n .p-toast[").concat(this.attributeSelector, "] {\n ").concat(breakpointStyle, "\n }\n }\n ");
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5765
|
+
this.styleElement.innerHTML = innerHTML;
|
|
5766
|
+
}
|
|
5767
|
+
},
|
|
5768
|
+
destroyStyle: function destroyStyle() {
|
|
5769
|
+
if (this.styleElement) {
|
|
5770
|
+
document.head.removeChild(this.styleElement);
|
|
5771
|
+
this.styleElement = null;
|
|
5772
|
+
}
|
|
5687
5773
|
}
|
|
5688
5774
|
},
|
|
5689
5775
|
components: {
|
|
@@ -5692,6 +5778,9 @@ var messageIdx = 0;
|
|
|
5692
5778
|
computed: {
|
|
5693
5779
|
containerClass: function containerClass() {
|
|
5694
5780
|
return 'p-toast p-component p-toast-' + this.position;
|
|
5781
|
+
},
|
|
5782
|
+
attributeSelector: function attributeSelector() {
|
|
5783
|
+
return UniqueComponentId();
|
|
5695
5784
|
}
|
|
5696
5785
|
}
|
|
5697
5786
|
});
|