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
|
@@ -154,7 +154,7 @@ if (typeof window !== 'undefined') {
|
|
|
154
154
|
// Indicate to webpack that this file can be concatenated
|
|
155
155
|
/* harmony default export */ var setPublicPath = (null);
|
|
156
156
|
|
|
157
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
157
|
+
// 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/dataviewlayoutoptions/DataViewLayoutOptions.vue?vue&type=template&id=8acdb3fc&
|
|
158
158
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-dataview-layout-options p-selectbutton p-buttonset"},[_c('button',{class:_vm.buttonListClass,attrs:{"type":"button"},on:{"click":function($event){return _vm.changeLayout('list')}}},[_c('i',{staticClass:"pi pi-bars"})]),_c('button',{class:_vm.buttonGridClass,attrs:{"type":"button"},on:{"click":function($event){return _vm.changeLayout('grid')}}},[_c('i',{staticClass:"pi pi-th-large"})])])}
|
|
159
159
|
var staticRenderFns = []
|
|
160
160
|
|
|
@@ -163,7 +163,7 @@ if (typeof window !== 'undefined') {
|
|
|
163
163
|
// Indicate to webpack that this file can be concatenated
|
|
164
164
|
/* harmony default export */ var setPublicPath = (null);
|
|
165
165
|
|
|
166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
166
|
+
// 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/dataviewlayoutoptions/DataViewLayoutOptions.vue?vue&type=template&id=8acdb3fc&
|
|
167
167
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-dataview-layout-options p-selectbutton p-buttonset"},[_c('button',{class:_vm.buttonListClass,attrs:{"type":"button"},on:{"click":function($event){return _vm.changeLayout('list')}}},[_c('i',{staticClass:"pi pi-bars"})]),_c('button',{class:_vm.buttonGridClass,attrs:{"type":"button"},on:{"click":function($event){return _vm.changeLayout('grid')}}},[_c('i',{staticClass:"pi pi-th-large"})])])}
|
|
168
168
|
var staticRenderFns = []
|
|
169
169
|
|
|
@@ -154,12 +154,12 @@ if (typeof window !== 'undefined') {
|
|
|
154
154
|
// Indicate to webpack that this file can be concatenated
|
|
155
155
|
/* harmony default export */ var setPublicPath = (null);
|
|
156
156
|
|
|
157
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
157
|
+
// 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/deferredcontent/DeferredContent.vue?vue&type=template&id=bf4b73cc&
|
|
158
158
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container"},[(_vm.loaded)?_vm._t("default"):_vm._e()],2)}
|
|
159
159
|
var staticRenderFns = []
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
// CONCATENATED MODULE: ./src/components/deferredcontent/DeferredContent.vue?vue&type=template&id=
|
|
162
|
+
// CONCATENATED MODULE: ./src/components/deferredcontent/DeferredContent.vue?vue&type=template&id=bf4b73cc&
|
|
163
163
|
|
|
164
164
|
// 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/deferredcontent/DeferredContent.vue?vue&type=script&lang=js&
|
|
165
165
|
//
|
|
@@ -163,12 +163,12 @@ if (typeof window !== 'undefined') {
|
|
|
163
163
|
// Indicate to webpack that this file can be concatenated
|
|
164
164
|
/* harmony default export */ var setPublicPath = (null);
|
|
165
165
|
|
|
166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
166
|
+
// 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/deferredcontent/DeferredContent.vue?vue&type=template&id=bf4b73cc&
|
|
167
167
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container"},[(_vm.loaded)?_vm._t("default"):_vm._e()],2)}
|
|
168
168
|
var staticRenderFns = []
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
// CONCATENATED MODULE: ./src/components/deferredcontent/DeferredContent.vue?vue&type=template&id=
|
|
171
|
+
// CONCATENATED MODULE: ./src/components/deferredcontent/DeferredContent.vue?vue&type=template&id=bf4b73cc&
|
|
172
172
|
|
|
173
173
|
// 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/deferredcontent/DeferredContent.vue?vue&type=script&lang=js&
|
|
174
174
|
//
|
package/dialog/Dialog.vue
CHANGED
|
@@ -68,6 +68,10 @@ export default {
|
|
|
68
68
|
position: {
|
|
69
69
|
type: String,
|
|
70
70
|
default: 'center'
|
|
71
|
+
},
|
|
72
|
+
appendTo: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: null
|
|
71
75
|
}
|
|
72
76
|
},
|
|
73
77
|
data() {
|
|
@@ -80,20 +84,12 @@ export default {
|
|
|
80
84
|
},
|
|
81
85
|
documentKeydownListener: null,
|
|
82
86
|
updated() {
|
|
83
|
-
this.removeStylesFromMask();
|
|
84
|
-
|
|
85
87
|
if (this.visible && !this.maskVisible) {
|
|
86
88
|
this.maskVisible = true;
|
|
87
89
|
}
|
|
88
|
-
|
|
89
|
-
if (this.modal && this.$refs.mask && !DomHandler.hasClass(this.$refs.mask, 'p-component-overlay')) {
|
|
90
|
-
DomHandler.addClass(this.$refs.mask, 'p-component-overlay');
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
mounted() {
|
|
94
|
-
this.removeStylesFromMask();
|
|
95
90
|
},
|
|
96
91
|
beforeDestroy() {
|
|
92
|
+
this.restoreAppend();
|
|
97
93
|
this.disableDocumentSettings();
|
|
98
94
|
},
|
|
99
95
|
methods: {
|
|
@@ -107,13 +103,15 @@ export default {
|
|
|
107
103
|
},
|
|
108
104
|
onEnter() {
|
|
109
105
|
this.$refs.mask.style.zIndex = String(parseInt(this.$refs.dialog.style.zIndex, 10) - 1);
|
|
110
|
-
|
|
106
|
+
this.removeStylesFromMask();
|
|
107
|
+
this.appendContainer();
|
|
108
|
+
this.alignOverlay();
|
|
111
109
|
this.$emit('show');
|
|
112
110
|
this.focus();
|
|
113
111
|
this.enableDocumentSettings();
|
|
114
112
|
},
|
|
115
113
|
onBeforeLeave() {
|
|
116
|
-
DomHandler.addClass(this.$refs.mask, 'p-
|
|
114
|
+
DomHandler.addClass(this.$refs.mask, 'p-component-overlay-leave');
|
|
117
115
|
},
|
|
118
116
|
onLeave() {
|
|
119
117
|
this.$emit('hide');
|
|
@@ -222,9 +220,31 @@ export default {
|
|
|
222
220
|
}
|
|
223
221
|
|
|
224
222
|
this.dialogClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
alignOverlay() {
|
|
226
|
+
if (this.appendTo) {
|
|
227
|
+
DomHandler.absolutePosition(this.$refs.dialog, this.$refs.mask);
|
|
228
|
+
this.$refs.dialog.style.minWidth = DomHandler.getOuterWidth(this.$refs.mask) + 'px';
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
DomHandler.relativePosition(this.$refs.dialog, this.$refs.mask);
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
appendContainer() {
|
|
235
|
+
if (this.appendTo) {
|
|
236
|
+
if (this.appendTo === 'body')
|
|
237
|
+
document.body.appendChild(this.$refs.dialog);
|
|
238
|
+
else
|
|
239
|
+
document.getElementById(this.appendTo).appendChild(this.$refs.dialog);
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
restoreAppend() {
|
|
243
|
+
if (this.$refs.overlay && this.appendTo) {
|
|
244
|
+
if (this.appendTo === 'body')
|
|
245
|
+
document.body.removeChild(this.$refs.dialog);
|
|
246
|
+
else
|
|
247
|
+
document.getElementById(this.appendTo).removeChild(this.$refs.dialog);
|
|
228
248
|
}
|
|
229
249
|
}
|
|
230
250
|
},
|
|
@@ -235,7 +255,7 @@ export default {
|
|
|
235
255
|
};
|
|
236
256
|
},
|
|
237
257
|
maskClass() {
|
|
238
|
-
return ['p-dialog-mask', this.getPositionClass()];
|
|
258
|
+
return ['p-dialog-mask', {'p-component-overlay p-component-overlay-enter': this.modal}, this.getPositionClass()];
|
|
239
259
|
},
|
|
240
260
|
dialogClass() {
|
|
241
261
|
return ['p-dialog p-component', {
|
|
@@ -275,8 +295,6 @@ export default {
|
|
|
275
295
|
justify-content: center;
|
|
276
296
|
align-items: center;
|
|
277
297
|
pointer-events: none;
|
|
278
|
-
background-color: transparent;
|
|
279
|
-
transition-property: background-color;
|
|
280
298
|
}
|
|
281
299
|
|
|
282
300
|
.p-dialog-mask.p-component-overlay {
|
|
@@ -338,10 +356,6 @@ export default {
|
|
|
338
356
|
transform: scale(0.7);
|
|
339
357
|
}
|
|
340
358
|
|
|
341
|
-
.p-dialog-mask.p-dialog-mask-leave {
|
|
342
|
-
background-color: transparent;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
359
|
/* Top, Bottom, Left, Right, Top* and Bottom* */
|
|
346
360
|
.p-dialog-top .p-dialog,
|
|
347
361
|
.p-dialog-bottom .p-dialog,
|
package/dialog/dialog.common.js
CHANGED
|
@@ -3366,7 +3366,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
3366
3366
|
|
|
3367
3367
|
|
|
3368
3368
|
// module
|
|
3369
|
-
exports.push([module.i, ".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none
|
|
3369
|
+
exports.push([module.i, ".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none}.p-dialog,.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:90%;-webkit-transform:scale(1);transform:scale(1)}.p-dialog-content{overflow-y:auto}.p-dialog-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.p-dialog-footer,.p-dialog-header{-ms-flex-negative:0;flex-shrink:0}.p-dialog .p-dialog-header-icon,.p-dialog .p-dialog-header-icons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-dialog .p-dialog-header-icon{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-enter-active{-webkit-transition:all .15s cubic-bezier(0,0,.2,1);transition:all .15s cubic-bezier(0,0,.2,1)}.p-dialog-leave-active{-webkit-transition:all .15s cubic-bezier(.4,0,.2,1);transition:all .15s cubic-bezier(.4,0,.2,1)}.p-dialog-enter,.p-dialog-leave-to{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}.p-dialog-bottom .p-dialog,.p-dialog-bottomleft .p-dialog,.p-dialog-bottomright .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top .p-dialog,.p-dialog-topleft .p-dialog,.p-dialog-topright .p-dialog{margin:.75rem;-webkit-transform:translateZ(0);transform:translateZ(0)}.p-dialog-bottom .p-dialog-enter-active,.p-dialog-bottom .p-dialog-leave-active,.p-dialog-bottomleft .p-dialog-enter-active,.p-dialog-bottomleft .p-dialog-leave-active,.p-dialog-bottomright .p-dialog-enter-active,.p-dialog-bottomright .p-dialog-leave-active,.p-dialog-left .p-dialog-enter-active,.p-dialog-left .p-dialog-leave-active,.p-dialog-right .p-dialog-enter-active,.p-dialog-right .p-dialog-leave-active,.p-dialog-top .p-dialog-enter-active,.p-dialog-top .p-dialog-leave-active,.p-dialog-topleft .p-dialog-enter-active,.p-dialog-topleft .p-dialog-leave-active,.p-dialog-topright .p-dialog-enter-active,.p-dialog-topright .p-dialog-leave-active{-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.p-dialog-top .p-dialog-enter,.p-dialog-top .p-dialog-leave-to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.p-dialog-bottom .p-dialog-enter,.p-dialog-bottom .p-dialog-leave-to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.p-dialog-bottomleft .p-dialog-enter,.p-dialog-bottomleft .p-dialog-leave-to,.p-dialog-left .p-dialog-enter,.p-dialog-left .p-dialog-leave-to,.p-dialog-topleft .p-dialog-enter,.p-dialog-topleft .p-dialog-leave-to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.p-dialog-bottomright .p-dialog-enter,.p-dialog-bottomright .p-dialog-leave-to,.p-dialog-right .p-dialog-enter,.p-dialog-right .p-dialog-leave-to,.p-dialog-topright .p-dialog-enter,.p-dialog-topright .p-dialog-leave-to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.p-dialog-maximized{-webkit-transition:none;transition:none;-webkit-transform:none;transform:none;width:100vw!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.p-dialog-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.p-dialog-top,.p-dialog-topleft{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-dialog-topleft{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-topright{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-dialog-bottom,.p-dialog-bottomleft{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.p-dialog-bottomleft{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-bottomright{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.p-confirm-dialog .p-dialog-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}", ""]);
|
|
3370
3370
|
|
|
3371
3371
|
// exports
|
|
3372
3372
|
|
|
@@ -3483,12 +3483,12 @@ if (typeof window !== 'undefined') {
|
|
|
3483
3483
|
// Indicate to webpack that this file can be concatenated
|
|
3484
3484
|
/* harmony default export */ var setPublicPath = (null);
|
|
3485
3485
|
|
|
3486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3486
|
+
// 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/dialog/Dialog.vue?vue&type=template&id=c033c13a&
|
|
3487
3487
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.maskVisible)?_c('div',{ref:"mask",class:_vm.maskClass,on:{"click":_vm.onMaskClick}},[_c('transition',{attrs:{"name":"p-dialog"},on:{"before-enter":_vm.onBeforeEnter,"enter":_vm.onEnter,"before-leave":_vm.onBeforeLeave,"leave":_vm.onLeave,"after-leave":_vm.onAfterLeave,"appear":_vm.onAppear}},[(_vm.visible)?_c('div',_vm._g(_vm._b({ref:"dialog",class:_vm.dialogClass,style:(_vm.dialogStyle),attrs:{"role":"dialog","aria-labelledby":_vm.ariaLabelledById,"aria-modal":_vm.modal}},'div',_vm.$attrs,false),_vm.listeners),[(_vm.showHeader)?_c('div',{staticClass:"p-dialog-header"},[_vm._t("header",function(){return [(_vm.header)?_c('span',{staticClass:"p-dialog-title",attrs:{"id":_vm.ariaLabelledById}},[_vm._v(_vm._s(_vm.header))]):_vm._e()]}),_c('div',{staticClass:"p-dialog-header-icons"},[(_vm.maximizable)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-dialog-header-icon p-dialog-header-maximize p-link",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.maximize}},[_c('span',{class:_vm.maximizeIconClass})]):_vm._e(),(_vm.closable)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-dialog-header-icon p-dialog-header-close p-link",attrs:{"aria-label":_vm.ariaCloseLabel,"type":"button","tabindex":"-1"},on:{"click":_vm.close}},[_c('span',{staticClass:"p-dialog-header-close-icon pi pi-times"})]):_vm._e()])],2):_vm._e(),_c('div',{staticClass:"p-dialog-content",style:(_vm.contentStyle)},[_vm._t("default")],2),(_vm.footer || _vm.$slots.footer)?_c('div',{staticClass:"p-dialog-footer"},[_vm._t("footer",function(){return [_vm._v(_vm._s(_vm.footer))]})],2):_vm._e()]):_vm._e()])],1):_vm._e()}
|
|
3488
3488
|
var staticRenderFns = []
|
|
3489
3489
|
|
|
3490
3490
|
|
|
3491
|
-
// CONCATENATED MODULE: ./src/components/dialog/Dialog.vue?vue&type=template&id=
|
|
3491
|
+
// CONCATENATED MODULE: ./src/components/dialog/Dialog.vue?vue&type=template&id=c033c13a&
|
|
3492
3492
|
|
|
3493
3493
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
3494
3494
|
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
@@ -3513,6 +3513,9 @@ function _defineProperty(obj, key, value) {
|
|
|
3513
3513
|
|
|
3514
3514
|
return obj;
|
|
3515
3515
|
}
|
|
3516
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
3517
|
+
var es6_array_iterator = __webpack_require__("cadf");
|
|
3518
|
+
|
|
3516
3519
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
3517
3520
|
var es6_object_keys = __webpack_require__("456d");
|
|
3518
3521
|
|
|
@@ -4131,6 +4134,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4131
4134
|
value: function isAndroid() {
|
|
4132
4135
|
return /(android)/i.test(navigator.userAgent);
|
|
4133
4136
|
}
|
|
4137
|
+
}, {
|
|
4138
|
+
key: "isTouchDevice",
|
|
4139
|
+
value: function isTouchDevice() {
|
|
4140
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4141
|
+
}
|
|
4134
4142
|
}]);
|
|
4135
4143
|
|
|
4136
4144
|
return DomHandler;
|
|
@@ -4223,6 +4231,7 @@ var Ripple = {
|
|
|
4223
4231
|
|
|
4224
4232
|
|
|
4225
4233
|
|
|
4234
|
+
|
|
4226
4235
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4227
4236
|
|
|
4228
4237
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -4295,6 +4304,10 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4295
4304
|
position: {
|
|
4296
4305
|
type: String,
|
|
4297
4306
|
default: 'center'
|
|
4307
|
+
},
|
|
4308
|
+
appendTo: {
|
|
4309
|
+
type: String,
|
|
4310
|
+
default: null
|
|
4298
4311
|
}
|
|
4299
4312
|
},
|
|
4300
4313
|
data: function data() {
|
|
@@ -4307,20 +4320,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4307
4320
|
},
|
|
4308
4321
|
documentKeydownListener: null,
|
|
4309
4322
|
updated: function updated() {
|
|
4310
|
-
this.removeStylesFromMask();
|
|
4311
|
-
|
|
4312
4323
|
if (this.visible && !this.maskVisible) {
|
|
4313
4324
|
this.maskVisible = true;
|
|
4314
4325
|
}
|
|
4315
|
-
|
|
4316
|
-
if (this.modal && this.$refs.mask && !DomHandler_DomHandler.hasClass(this.$refs.mask, 'p-component-overlay')) {
|
|
4317
|
-
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-component-overlay');
|
|
4318
|
-
}
|
|
4319
|
-
},
|
|
4320
|
-
mounted: function mounted() {
|
|
4321
|
-
this.removeStylesFromMask();
|
|
4322
4326
|
},
|
|
4323
4327
|
beforeDestroy: function beforeDestroy() {
|
|
4328
|
+
this.restoreAppend();
|
|
4324
4329
|
this.disableDocumentSettings();
|
|
4325
4330
|
},
|
|
4326
4331
|
methods: {
|
|
@@ -4334,12 +4339,15 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4334
4339
|
},
|
|
4335
4340
|
onEnter: function onEnter() {
|
|
4336
4341
|
this.$refs.mask.style.zIndex = String(parseInt(this.$refs.dialog.style.zIndex, 10) - 1);
|
|
4342
|
+
this.removeStylesFromMask();
|
|
4343
|
+
this.appendContainer();
|
|
4344
|
+
this.alignOverlay();
|
|
4337
4345
|
this.$emit('show');
|
|
4338
4346
|
this.focus();
|
|
4339
4347
|
this.enableDocumentSettings();
|
|
4340
4348
|
},
|
|
4341
4349
|
onBeforeLeave: function onBeforeLeave() {
|
|
4342
|
-
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-
|
|
4350
|
+
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-component-overlay-leave');
|
|
4343
4351
|
},
|
|
4344
4352
|
onLeave: function onLeave() {
|
|
4345
4353
|
this.$emit('hide');
|
|
@@ -4444,10 +4452,24 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4444
4452
|
}
|
|
4445
4453
|
|
|
4446
4454
|
this.dialogClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4455
|
+
}
|
|
4456
|
+
},
|
|
4457
|
+
alignOverlay: function alignOverlay() {
|
|
4458
|
+
if (this.appendTo) {
|
|
4459
|
+
DomHandler_DomHandler.absolutePosition(this.$refs.dialog, this.$refs.mask);
|
|
4460
|
+
this.$refs.dialog.style.minWidth = DomHandler_DomHandler.getOuterWidth(this.$refs.mask) + 'px';
|
|
4461
|
+
} else {
|
|
4462
|
+
DomHandler_DomHandler.relativePosition(this.$refs.dialog, this.$refs.mask);
|
|
4463
|
+
}
|
|
4464
|
+
},
|
|
4465
|
+
appendContainer: function appendContainer() {
|
|
4466
|
+
if (this.appendTo) {
|
|
4467
|
+
if (this.appendTo === 'body') document.body.appendChild(this.$refs.dialog);else document.getElementById(this.appendTo).appendChild(this.$refs.dialog);
|
|
4468
|
+
}
|
|
4469
|
+
},
|
|
4470
|
+
restoreAppend: function restoreAppend() {
|
|
4471
|
+
if (this.$refs.overlay && this.appendTo) {
|
|
4472
|
+
if (this.appendTo === 'body') document.body.removeChild(this.$refs.dialog);else document.getElementById(this.appendTo).removeChild(this.$refs.dialog);
|
|
4451
4473
|
}
|
|
4452
4474
|
}
|
|
4453
4475
|
},
|
|
@@ -4456,7 +4478,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4456
4478
|
return _objectSpread({}, this.$listeners);
|
|
4457
4479
|
},
|
|
4458
4480
|
maskClass: function maskClass() {
|
|
4459
|
-
return ['p-dialog-mask',
|
|
4481
|
+
return ['p-dialog-mask', {
|
|
4482
|
+
'p-component-overlay p-component-overlay-enter': this.modal
|
|
4483
|
+
}, this.getPositionClass()];
|
|
4460
4484
|
},
|
|
4461
4485
|
dialogClass: function dialogClass() {
|
|
4462
4486
|
return ['p-dialog p-component', {
|
package/dialog/dialog.umd.js
CHANGED
|
@@ -3375,7 +3375,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
3375
3375
|
|
|
3376
3376
|
|
|
3377
3377
|
// module
|
|
3378
|
-
exports.push([module.i, ".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none
|
|
3378
|
+
exports.push([module.i, ".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none}.p-dialog,.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:90%;-webkit-transform:scale(1);transform:scale(1)}.p-dialog-content{overflow-y:auto}.p-dialog-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.p-dialog-footer,.p-dialog-header{-ms-flex-negative:0;flex-shrink:0}.p-dialog .p-dialog-header-icon,.p-dialog .p-dialog-header-icons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-dialog .p-dialog-header-icon{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-enter-active{-webkit-transition:all .15s cubic-bezier(0,0,.2,1);transition:all .15s cubic-bezier(0,0,.2,1)}.p-dialog-leave-active{-webkit-transition:all .15s cubic-bezier(.4,0,.2,1);transition:all .15s cubic-bezier(.4,0,.2,1)}.p-dialog-enter,.p-dialog-leave-to{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}.p-dialog-bottom .p-dialog,.p-dialog-bottomleft .p-dialog,.p-dialog-bottomright .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top .p-dialog,.p-dialog-topleft .p-dialog,.p-dialog-topright .p-dialog{margin:.75rem;-webkit-transform:translateZ(0);transform:translateZ(0)}.p-dialog-bottom .p-dialog-enter-active,.p-dialog-bottom .p-dialog-leave-active,.p-dialog-bottomleft .p-dialog-enter-active,.p-dialog-bottomleft .p-dialog-leave-active,.p-dialog-bottomright .p-dialog-enter-active,.p-dialog-bottomright .p-dialog-leave-active,.p-dialog-left .p-dialog-enter-active,.p-dialog-left .p-dialog-leave-active,.p-dialog-right .p-dialog-enter-active,.p-dialog-right .p-dialog-leave-active,.p-dialog-top .p-dialog-enter-active,.p-dialog-top .p-dialog-leave-active,.p-dialog-topleft .p-dialog-enter-active,.p-dialog-topleft .p-dialog-leave-active,.p-dialog-topright .p-dialog-enter-active,.p-dialog-topright .p-dialog-leave-active{-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.p-dialog-top .p-dialog-enter,.p-dialog-top .p-dialog-leave-to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.p-dialog-bottom .p-dialog-enter,.p-dialog-bottom .p-dialog-leave-to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.p-dialog-bottomleft .p-dialog-enter,.p-dialog-bottomleft .p-dialog-leave-to,.p-dialog-left .p-dialog-enter,.p-dialog-left .p-dialog-leave-to,.p-dialog-topleft .p-dialog-enter,.p-dialog-topleft .p-dialog-leave-to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.p-dialog-bottomright .p-dialog-enter,.p-dialog-bottomright .p-dialog-leave-to,.p-dialog-right .p-dialog-enter,.p-dialog-right .p-dialog-leave-to,.p-dialog-topright .p-dialog-enter,.p-dialog-topright .p-dialog-leave-to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.p-dialog-maximized{-webkit-transition:none;transition:none;-webkit-transform:none;transform:none;width:100vw!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.p-dialog-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.p-dialog-top,.p-dialog-topleft{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-dialog-topleft{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-topright{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-dialog-bottom,.p-dialog-bottomleft{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.p-dialog-bottomleft{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.p-dialog-bottomright{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.p-confirm-dialog .p-dialog-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}", ""]);
|
|
3379
3379
|
|
|
3380
3380
|
// exports
|
|
3381
3381
|
|
|
@@ -3492,12 +3492,12 @@ if (typeof window !== 'undefined') {
|
|
|
3492
3492
|
// Indicate to webpack that this file can be concatenated
|
|
3493
3493
|
/* harmony default export */ var setPublicPath = (null);
|
|
3494
3494
|
|
|
3495
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3495
|
+
// 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/dialog/Dialog.vue?vue&type=template&id=c033c13a&
|
|
3496
3496
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.maskVisible)?_c('div',{ref:"mask",class:_vm.maskClass,on:{"click":_vm.onMaskClick}},[_c('transition',{attrs:{"name":"p-dialog"},on:{"before-enter":_vm.onBeforeEnter,"enter":_vm.onEnter,"before-leave":_vm.onBeforeLeave,"leave":_vm.onLeave,"after-leave":_vm.onAfterLeave,"appear":_vm.onAppear}},[(_vm.visible)?_c('div',_vm._g(_vm._b({ref:"dialog",class:_vm.dialogClass,style:(_vm.dialogStyle),attrs:{"role":"dialog","aria-labelledby":_vm.ariaLabelledById,"aria-modal":_vm.modal}},'div',_vm.$attrs,false),_vm.listeners),[(_vm.showHeader)?_c('div',{staticClass:"p-dialog-header"},[_vm._t("header",function(){return [(_vm.header)?_c('span',{staticClass:"p-dialog-title",attrs:{"id":_vm.ariaLabelledById}},[_vm._v(_vm._s(_vm.header))]):_vm._e()]}),_c('div',{staticClass:"p-dialog-header-icons"},[(_vm.maximizable)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-dialog-header-icon p-dialog-header-maximize p-link",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.maximize}},[_c('span',{class:_vm.maximizeIconClass})]):_vm._e(),(_vm.closable)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-dialog-header-icon p-dialog-header-close p-link",attrs:{"aria-label":_vm.ariaCloseLabel,"type":"button","tabindex":"-1"},on:{"click":_vm.close}},[_c('span',{staticClass:"p-dialog-header-close-icon pi pi-times"})]):_vm._e()])],2):_vm._e(),_c('div',{staticClass:"p-dialog-content",style:(_vm.contentStyle)},[_vm._t("default")],2),(_vm.footer || _vm.$slots.footer)?_c('div',{staticClass:"p-dialog-footer"},[_vm._t("footer",function(){return [_vm._v(_vm._s(_vm.footer))]})],2):_vm._e()]):_vm._e()])],1):_vm._e()}
|
|
3497
3497
|
var staticRenderFns = []
|
|
3498
3498
|
|
|
3499
3499
|
|
|
3500
|
-
// CONCATENATED MODULE: ./src/components/dialog/Dialog.vue?vue&type=template&id=
|
|
3500
|
+
// CONCATENATED MODULE: ./src/components/dialog/Dialog.vue?vue&type=template&id=c033c13a&
|
|
3501
3501
|
|
|
3502
3502
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
3503
3503
|
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
@@ -3522,6 +3522,9 @@ function _defineProperty(obj, key, value) {
|
|
|
3522
3522
|
|
|
3523
3523
|
return obj;
|
|
3524
3524
|
}
|
|
3525
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
3526
|
+
var es6_array_iterator = __webpack_require__("cadf");
|
|
3527
|
+
|
|
3525
3528
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
3526
3529
|
var es6_object_keys = __webpack_require__("456d");
|
|
3527
3530
|
|
|
@@ -4140,6 +4143,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4140
4143
|
value: function isAndroid() {
|
|
4141
4144
|
return /(android)/i.test(navigator.userAgent);
|
|
4142
4145
|
}
|
|
4146
|
+
}, {
|
|
4147
|
+
key: "isTouchDevice",
|
|
4148
|
+
value: function isTouchDevice() {
|
|
4149
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4150
|
+
}
|
|
4143
4151
|
}]);
|
|
4144
4152
|
|
|
4145
4153
|
return DomHandler;
|
|
@@ -4232,6 +4240,7 @@ var Ripple = {
|
|
|
4232
4240
|
|
|
4233
4241
|
|
|
4234
4242
|
|
|
4243
|
+
|
|
4235
4244
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4236
4245
|
|
|
4237
4246
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -4304,6 +4313,10 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4304
4313
|
position: {
|
|
4305
4314
|
type: String,
|
|
4306
4315
|
default: 'center'
|
|
4316
|
+
},
|
|
4317
|
+
appendTo: {
|
|
4318
|
+
type: String,
|
|
4319
|
+
default: null
|
|
4307
4320
|
}
|
|
4308
4321
|
},
|
|
4309
4322
|
data: function data() {
|
|
@@ -4316,20 +4329,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4316
4329
|
},
|
|
4317
4330
|
documentKeydownListener: null,
|
|
4318
4331
|
updated: function updated() {
|
|
4319
|
-
this.removeStylesFromMask();
|
|
4320
|
-
|
|
4321
4332
|
if (this.visible && !this.maskVisible) {
|
|
4322
4333
|
this.maskVisible = true;
|
|
4323
4334
|
}
|
|
4324
|
-
|
|
4325
|
-
if (this.modal && this.$refs.mask && !DomHandler_DomHandler.hasClass(this.$refs.mask, 'p-component-overlay')) {
|
|
4326
|
-
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-component-overlay');
|
|
4327
|
-
}
|
|
4328
|
-
},
|
|
4329
|
-
mounted: function mounted() {
|
|
4330
|
-
this.removeStylesFromMask();
|
|
4331
4335
|
},
|
|
4332
4336
|
beforeDestroy: function beforeDestroy() {
|
|
4337
|
+
this.restoreAppend();
|
|
4333
4338
|
this.disableDocumentSettings();
|
|
4334
4339
|
},
|
|
4335
4340
|
methods: {
|
|
@@ -4343,12 +4348,15 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4343
4348
|
},
|
|
4344
4349
|
onEnter: function onEnter() {
|
|
4345
4350
|
this.$refs.mask.style.zIndex = String(parseInt(this.$refs.dialog.style.zIndex, 10) - 1);
|
|
4351
|
+
this.removeStylesFromMask();
|
|
4352
|
+
this.appendContainer();
|
|
4353
|
+
this.alignOverlay();
|
|
4346
4354
|
this.$emit('show');
|
|
4347
4355
|
this.focus();
|
|
4348
4356
|
this.enableDocumentSettings();
|
|
4349
4357
|
},
|
|
4350
4358
|
onBeforeLeave: function onBeforeLeave() {
|
|
4351
|
-
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-
|
|
4359
|
+
DomHandler_DomHandler.addClass(this.$refs.mask, 'p-component-overlay-leave');
|
|
4352
4360
|
},
|
|
4353
4361
|
onLeave: function onLeave() {
|
|
4354
4362
|
this.$emit('hide');
|
|
@@ -4453,10 +4461,24 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4453
4461
|
}
|
|
4454
4462
|
|
|
4455
4463
|
this.dialogClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4464
|
+
}
|
|
4465
|
+
},
|
|
4466
|
+
alignOverlay: function alignOverlay() {
|
|
4467
|
+
if (this.appendTo) {
|
|
4468
|
+
DomHandler_DomHandler.absolutePosition(this.$refs.dialog, this.$refs.mask);
|
|
4469
|
+
this.$refs.dialog.style.minWidth = DomHandler_DomHandler.getOuterWidth(this.$refs.mask) + 'px';
|
|
4470
|
+
} else {
|
|
4471
|
+
DomHandler_DomHandler.relativePosition(this.$refs.dialog, this.$refs.mask);
|
|
4472
|
+
}
|
|
4473
|
+
},
|
|
4474
|
+
appendContainer: function appendContainer() {
|
|
4475
|
+
if (this.appendTo) {
|
|
4476
|
+
if (this.appendTo === 'body') document.body.appendChild(this.$refs.dialog);else document.getElementById(this.appendTo).appendChild(this.$refs.dialog);
|
|
4477
|
+
}
|
|
4478
|
+
},
|
|
4479
|
+
restoreAppend: function restoreAppend() {
|
|
4480
|
+
if (this.$refs.overlay && this.appendTo) {
|
|
4481
|
+
if (this.appendTo === 'body') document.body.removeChild(this.$refs.dialog);else document.getElementById(this.appendTo).removeChild(this.$refs.dialog);
|
|
4460
4482
|
}
|
|
4461
4483
|
}
|
|
4462
4484
|
},
|
|
@@ -4465,7 +4487,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4465
4487
|
return _objectSpread({}, this.$listeners);
|
|
4466
4488
|
},
|
|
4467
4489
|
maskClass: function maskClass() {
|
|
4468
|
-
return ['p-dialog-mask',
|
|
4490
|
+
return ['p-dialog-mask', {
|
|
4491
|
+
'p-component-overlay p-component-overlay-enter': this.modal
|
|
4492
|
+
}, this.getPositionClass()];
|
|
4469
4493
|
},
|
|
4470
4494
|
dialogClass: function dialogClass() {
|
|
4471
4495
|
return ['p-dialog p-component', {
|