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/calendar/calendar.umd.js
CHANGED
|
@@ -4168,7 +4168,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
4168
4168
|
|
|
4169
4169
|
|
|
4170
4170
|
// module
|
|
4171
|
-
exports.push([module.i, ".p-calendar{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.p-calendar .p-inputtext{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute}.p-datepicker-inline{display
|
|
4171
|
+
exports.push([module.i, ".p-calendar{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-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-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-next,.p-datepicker-prev{cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:-webkit-box;display:-ms-flexbox;display:flex}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{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;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%}.p-monthpicker-month,.p-yearpicker-year{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-yearpicker-year{width:50%}.p-datepicker-buttonbar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-timepicker,.p-timepicker button{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}.p-timepicker button{cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.p-calendar .p-datepicker-touch-ui,.p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}", ""]);
|
|
4172
4172
|
|
|
4173
4173
|
// exports
|
|
4174
4174
|
|
|
@@ -4954,16 +4954,19 @@ if (typeof window !== 'undefined') {
|
|
|
4954
4954
|
// Indicate to webpack that this file can be concatenated
|
|
4955
4955
|
/* harmony default export */ var setPublicPath = (null);
|
|
4956
4956
|
|
|
4957
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4958
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass},[(!_vm.inline)?_c('CalendarInputText',_vm._g(_vm._b({ref:"input",attrs:{"type":"text","value":_vm.inputFieldValue,"readonly":!_vm.manualInput,"aria-labelledby":_vm.ariaLabelledBy,"inputmode":"none"}},'CalendarInputText',_vm.$attrs,false),_vm.listeners)):_vm._e(),(_vm.showIcon)?_c('CalendarButton',{staticClass:"p-datepicker-trigger",attrs:{"icon":_vm.icon,"tabindex":"-1","disabled":_vm.$attrs.disabled,"type":"button","aria-label":_vm.inputFieldValue},on:{"click":_vm.onButtonClick}}):_vm._e(),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"after-enter":_vm.onOverlayEnterComplete,"leave":_vm.onOverlayLeave}},[(_vm.inline ? true : _vm.overlayVisible)?_c('div',{ref:"overlay",class:_vm.panelStyleClass,attrs:{"role":_vm.inline ? null : 'dialog',"aria-labelledby":_vm.ariaLabelledBy}},[(!_vm.timeOnly)?[_c('div',{staticClass:"p-datepicker-group-container"},_vm._l((_vm.months),function(month,groupIndex){return _c('div',{key:month.month + month.year,staticClass:"p-datepicker-group"},[_c('div',{staticClass:"p-datepicker-header"},[_vm._t("header"),(groupIndex === 0)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-datepicker-prev p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":_vm.onPrevButtonClick,"keydown":_vm.onContainerButtonKeydown}},[_c('span',{staticClass:"p-datepicker-prev-icon pi pi-chevron-left"})]):_vm._e(),_c('div',{staticClass:"p-datepicker-title"},[(!_vm.monthNavigator && (_vm.view !== 'month'))?_c('span',{staticClass:"p-datepicker-month"},[_vm._v(_vm._s(_vm.getMonthName(month.month)))]):_vm._e(),(_vm.monthNavigator && (_vm.view !== 'month') && _vm.numberOfMonths === 1)?_c('select',{staticClass:"p-datepicker-month",on:{"change":function($event){return _vm.onMonthDropdownChange($event.target.value)}}},_vm._l((_vm.monthNames),function(monthName,index){return _c('option',{key:monthName,domProps:{"value":index,"selected":index === month.month}},[_vm._v(_vm._s(monthName))])}),0):_vm._e(),(!_vm.yearNavigator)?_c('span',{staticClass:"p-datepicker-year"},[_vm._v(_vm._s(_vm.view === 'month' ? _vm.currentYear : month.year))]):_vm._e(),(_vm.yearNavigator && _vm.numberOfMonths === 1)?_c('select',{staticClass:"p-datepicker-year",on:{"change":function($event){return _vm.onYearDropdownChange($event.target.value)}}},_vm._l((_vm.yearOptions),function(year){return _c('option',{key:year,domProps:{"value":year,"selected":year === _vm.currentYear}},[_vm._v(_vm._s(year))])}),0):_vm._e()]),(_vm.numberOfMonths === 1 ? true : (groupIndex === _vm.numberOfMonths - 1))?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-datepicker-next p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":_vm.onNextButtonClick,"keydown":_vm.onContainerButtonKeydown}},[_c('span',{staticClass:"p-datepicker-next-icon pi pi-chevron-right"})]):_vm._e()],2),(_vm.view ==='date')?_c('div',{staticClass:"p-datepicker-calendar-container"},[_c('table',{staticClass:"p-datepicker-calendar"},[_c('thead',[_c('tr',[(_vm.showWeek)?_c('th',{staticClass:"p-datepicker-weekheader p-disabled",attrs:{"scope":"col"}},[_c('span',[_vm._v(_vm._s(_vm.weekHeaderLabel))])]):_vm._e(),_vm._l((_vm.weekDays),function(weekDay){return _c('th',{key:weekDay,attrs:{"scope":"col"}},[_c('span',[_vm._v(_vm._s(weekDay))])])})],2)]),_c('tbody',_vm._l((month.dates),function(week,i){return _c('tr',{key:week[0].day + '' + week[0].month},[(_vm.showWeek)?_c('td',{staticClass:"p-datepicker-weeknumber"},[_c('span',{staticClass:"p-disabled"},[(month.weekNumbers[i] < 10)?_c('span',{staticStyle:{"visibility":"hidden"}},[_vm._v("0")]):_vm._e(),_vm._v("\n "+_vm._s(month.weekNumbers[i])+"\n ")])]):_vm._e(),_vm._l((week),function(date){return _c('td',{key:date.day + '' + date.month,class:{'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today}},[_c('span',{directives:[{name:"ripple",rawName:"v-ripple"}],class:{'p-highlight': _vm.isSelected(date), 'p-disabled': !date.selectable},attrs:{"draggable":"false"},on:{"click":function($event){return _vm.onDateSelect($event, date)},"keydown":function($event){return _vm.onDateCellKeydown($event,date,groupIndex)}}},[_vm._t("date",function(){return [_vm._v(_vm._s(date.day))]},{"date":date})],2)])})],2)}),0)])]):_vm._e()])}),0),(_vm.view === 'month')?_c('div',{staticClass:"p-monthpicker"},_vm._l((_vm.monthPickerValues),function(m,i){return _c('span',{directives:[{name:"ripple",rawName:"v-ripple"}],key:m,staticClass:"p-monthpicker-month",class:{'p-highlight': _vm.isMonthSelected(i)},on:{"click":function($event){return _vm.onMonthSelect($event, i)},"keydown":function($event){return _vm.onMonthCellKeydown($event,i)}}},[_vm._v("\n "+_vm._s(m)+"\n ")])}),0):_vm._e()]:_vm._e(),(_vm.showTime||_vm.timeOnly)?_c('div',{staticClass:"p-timepicker"},[_c('div',{staticClass:"p-hour-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 0, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 0, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentHour))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 0, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 0, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]),_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]),_c('div',{staticClass:"p-minute-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 1, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 1, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentMinute))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 1, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 1, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]),(_vm.showSeconds)?_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]):_vm._e(),(_vm.showSeconds)?_c('div',{staticClass:"p-second-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 2, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 2, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentSecond))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 2, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 2, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]):_vm._e(),(_vm.hourFormat=='12')?_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]):_vm._e(),(_vm.hourFormat=='12')?_c('div',{staticClass:"p-ampm-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":function($event){return _vm.toggleAMPM($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.pm ? 'PM' : 'AM'))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":function($event){return _vm.toggleAMPM($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]):_vm._e()]):_vm._e(),(_vm.showButtonBar)?_c('div',{staticClass:"p-datepicker-buttonbar"},[_c('CalendarButton',{staticClass:"p-button-text",attrs:{"type":"button","label":_vm.todayLabel},on:{"click":function($event){return _vm.onTodayButtonClick($event)},"keydown":_vm.onContainerButtonKeydown}}),_c('CalendarButton',{staticClass:"p-button-text",attrs:{"type":"button","label":_vm.clearLabel},on:{"click":function($event){return _vm.onClearButtonClick($event)},"keydown":_vm.onContainerButtonKeydown}})],1):_vm._e(),_vm._t("footer")],2):_vm._e()])],1)}
|
|
4957
|
+
// 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/calendar/Calendar.vue?vue&type=template&id=81ea5c44&
|
|
4958
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass,style:(_vm.styles)},[(!_vm.inline)?_c('CalendarInputText',_vm._g(_vm._b({ref:"input",class:_vm.inputClass,style:(_vm.inputStyle),attrs:{"type":"text","value":_vm.inputFieldValue,"readonly":!_vm.manualInput,"aria-labelledby":_vm.ariaLabelledBy,"inputmode":"none"}},'CalendarInputText',_vm.$attrs,false),_vm.listeners)):_vm._e(),(_vm.showIcon)?_c('CalendarButton',{staticClass:"p-datepicker-trigger",attrs:{"icon":_vm.icon,"tabindex":"-1","disabled":_vm.$attrs.disabled,"type":"button","aria-label":_vm.inputFieldValue},on:{"click":_vm.onButtonClick}}):_vm._e(),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"after-enter":_vm.onOverlayEnterComplete,"leave":_vm.onOverlayLeave}},[(_vm.inline ? true : _vm.overlayVisible)?_c('div',{ref:"overlay",class:_vm.panelStyleClass,attrs:{"role":_vm.inline ? null : 'dialog',"aria-labelledby":_vm.ariaLabelledBy}},[(!_vm.timeOnly)?[_c('div',{staticClass:"p-datepicker-group-container"},_vm._l((_vm.months),function(month,groupIndex){return _c('div',{key:month.month + month.year,staticClass:"p-datepicker-group"},[_c('div',{staticClass:"p-datepicker-header"},[_vm._t("header"),_c('button',{directives:[{name:"show",rawName:"v-show",value:(groupIndex === 0),expression:"groupIndex === 0"},{name:"ripple",rawName:"v-ripple"}],staticClass:"p-datepicker-prev p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":_vm.onPrevButtonClick,"keydown":_vm.onContainerButtonKeydown}},[_c('span',{staticClass:"p-datepicker-prev-icon pi pi-chevron-left"})]),_c('div',{staticClass:"p-datepicker-title"},[(_vm.currentView === 'date')?_c('button',{staticClass:"p-datepicker-month p-link",attrs:{"type":"button","disabled":_vm.switchViewButtonDisabled},on:{"click":_vm.switchToMonthView}},[_vm._v("\n "+_vm._s(_vm.getMonthName(month.month))+"\n ")]):_vm._e(),(_vm.currentView !== 'year')?_c('button',{staticClass:"p-datepicker-year p-link",attrs:{"type":"button","disabled":_vm.switchViewButtonDisabled},on:{"click":_vm.switchToYearView}},[_vm._v("\n "+_vm._s(_vm.currentYear)+"\n ")]):_vm._e(),(_vm.currentView === 'year')?_c('span',{staticClass:"p-datepicker-decade"},[_vm._t("decade",function(){return [_vm._v("\n "+_vm._s(_vm.yearPickerValues[0])+" - "+_vm._s(_vm.yearPickerValues[_vm.yearPickerValues.length - 1])+"\n ")]},{"years":_vm.yearPickerValues})],2):_vm._e()]),_c('button',{directives:[{name:"show",rawName:"v-show",value:(_vm.numberOfMonths === 1 ? true : (groupIndex === _vm.numberOfMonths - 1)),expression:"numberOfMonths === 1 ? true : (groupIndex === numberOfMonths - 1)"},{name:"ripple",rawName:"v-ripple"}],staticClass:"p-datepicker-next p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":_vm.onNextButtonClick,"keydown":_vm.onContainerButtonKeydown}},[_c('span',{staticClass:"p-datepicker-next-icon pi pi-chevron-right"})])],2),(_vm.currentView ==='date')?_c('div',{staticClass:"p-datepicker-calendar-container"},[_c('table',{staticClass:"p-datepicker-calendar"},[_c('thead',[_c('tr',[(_vm.showWeek)?_c('th',{staticClass:"p-datepicker-weekheader p-disabled",attrs:{"scope":"col"}},[_c('span',[_vm._v(_vm._s(_vm.weekHeaderLabel))])]):_vm._e(),_vm._l((_vm.weekDays),function(weekDay){return _c('th',{key:weekDay,attrs:{"scope":"col"}},[_c('span',[_vm._v(_vm._s(weekDay))])])})],2)]),_c('tbody',_vm._l((month.dates),function(week,i){return _c('tr',{key:week[0].day + '' + week[0].month},[(_vm.showWeek)?_c('td',{staticClass:"p-datepicker-weeknumber"},[_c('span',{staticClass:"p-disabled"},[(month.weekNumbers[i] < 10)?_c('span',{staticStyle:{"visibility":"hidden"}},[_vm._v("0")]):_vm._e(),_vm._v("\n "+_vm._s(month.weekNumbers[i])+"\n ")])]):_vm._e(),_vm._l((week),function(date){return _c('td',{key:date.day + '' + date.month,class:{'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today}},[_c('span',{directives:[{name:"ripple",rawName:"v-ripple"}],class:{'p-highlight': _vm.isSelected(date), 'p-disabled': !date.selectable},attrs:{"draggable":"false"},on:{"click":function($event){return _vm.onDateSelect($event, date)},"keydown":function($event){return _vm.onDateCellKeydown($event,date,groupIndex)}}},[_vm._t("date",function(){return [_vm._v(_vm._s(date.day))]},{"date":date})],2)])})],2)}),0)])]):_vm._e()])}),0),(_vm.currentView === 'month')?_c('div',{staticClass:"p-monthpicker"},_vm._l((_vm.monthPickerValues),function(m,i){return _c('span',{directives:[{name:"ripple",rawName:"v-ripple"}],key:m,staticClass:"p-monthpicker-month",class:{'p-highlight': _vm.isMonthSelected(i)},on:{"click":function($event){return _vm.onMonthSelect($event, i)},"keydown":function($event){return _vm.onMonthCellKeydown($event,i)}}},[_vm._v("\n "+_vm._s(m)+"\n ")])}),0):_vm._e(),(_vm.currentView === 'year')?_c('div',{staticClass:"p-yearpicker"},_vm._l((_vm.yearPickerValues),function(y){return _c('span',{directives:[{name:"ripple",rawName:"v-ripple"}],key:y,staticClass:"p-yearpicker-year",class:{'p-highlight': _vm.isYearSelected(y)},on:{"click":function($event){return _vm.onYearSelect($event, y)},"keydown":function($event){return _vm.onYearCellKeydown($event,y)}}},[_vm._v("\n "+_vm._s(y)+"\n ")])}),0):_vm._e()]:_vm._e(),(_vm.showTime||_vm.timeOnly)?_c('div',{staticClass:"p-timepicker"},[_c('div',{staticClass:"p-hour-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 0, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 0, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentHour))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 0, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 0, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]),_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]),_c('div',{staticClass:"p-minute-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 1, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 1, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentMinute))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 1, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 1, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]),(_vm.showSeconds)?_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]):_vm._e(),(_vm.showSeconds)?_c('div',{staticClass:"p-second-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 2, 1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 2, 1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.formattedCurrentSecond))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"disabled":_vm.$attrs.disabled,"type":"button"},on:{"mousedown":function($event){return _vm.onTimePickerElementMouseDown($event, 2, -1)},"mouseup":function($event){return _vm.onTimePickerElementMouseUp($event)},"keydown":[_vm.onContainerButtonKeydown,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseDown($event, 2, -1)}],"mouseleave":function($event){return _vm.onTimePickerElementMouseLeave()},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onTimePickerElementMouseUp($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]):_vm._e(),(_vm.hourFormat=='12')?_c('div',{staticClass:"p-separator"},[_c('span',[_vm._v(_vm._s(_vm.timeSeparator))])]):_vm._e(),(_vm.hourFormat=='12')?_c('div',{staticClass:"p-ampm-picker"},[_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":function($event){return _vm.toggleAMPM($event)}}},[_c('span',{staticClass:"pi pi-chevron-up"})]),_c('span',[_vm._v(_vm._s(_vm.pm ? 'PM' : 'AM'))]),_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-link",attrs:{"type":"button","disabled":_vm.$attrs.disabled},on:{"click":function($event){return _vm.toggleAMPM($event)}}},[_c('span',{staticClass:"pi pi-chevron-down"})])]):_vm._e()]):_vm._e(),(_vm.showButtonBar)?_c('div',{staticClass:"p-datepicker-buttonbar"},[_c('CalendarButton',{staticClass:"p-button-text",attrs:{"type":"button","label":_vm.todayLabel},on:{"click":function($event){return _vm.onTodayButtonClick($event)},"keydown":_vm.onContainerButtonKeydown}}),_c('CalendarButton',{staticClass:"p-button-text",attrs:{"type":"button","label":_vm.clearLabel},on:{"click":function($event){return _vm.onClearButtonClick($event)},"keydown":_vm.onContainerButtonKeydown}})],1):_vm._e(),_vm._t("footer")],2):_vm._e()])],1)}
|
|
4959
4959
|
var staticRenderFns = []
|
|
4960
4960
|
|
|
4961
4961
|
|
|
4962
|
-
// CONCATENATED MODULE: ./src/components/calendar/Calendar.vue?vue&type=template&id=
|
|
4962
|
+
// CONCATENATED MODULE: ./src/components/calendar/Calendar.vue?vue&type=template&id=81ea5c44&
|
|
4963
4963
|
|
|
4964
4964
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
4965
4965
|
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
4966
4966
|
|
|
4967
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
4968
|
+
var es6_array_iterator = __webpack_require__("cadf");
|
|
4969
|
+
|
|
4967
4970
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
4968
4971
|
var es6_object_keys = __webpack_require__("456d");
|
|
4969
4972
|
|
|
@@ -5684,6 +5687,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5684
5687
|
value: function isAndroid() {
|
|
5685
5688
|
return /(android)/i.test(navigator.userAgent);
|
|
5686
5689
|
}
|
|
5690
|
+
}, {
|
|
5691
|
+
key: "isTouchDevice",
|
|
5692
|
+
value: function isTouchDevice() {
|
|
5693
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5694
|
+
}
|
|
5687
5695
|
}]);
|
|
5688
5696
|
|
|
5689
5697
|
return DomHandler;
|
|
@@ -5737,7 +5745,14 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5737
5745
|
}();
|
|
5738
5746
|
|
|
5739
5747
|
|
|
5740
|
-
// CONCATENATED MODULE: ./
|
|
5748
|
+
// CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
|
|
5749
|
+
var lastId = 0;
|
|
5750
|
+
/* harmony default export */ var UniqueComponentId = (function () {
|
|
5751
|
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
|
|
5752
|
+
lastId++;
|
|
5753
|
+
return "".concat(prefix).concat(lastId);
|
|
5754
|
+
});
|
|
5755
|
+
// 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/inputtext/InputText.vue?vue&type=template&id=62d12252&
|
|
5741
5756
|
var InputTextvue_type_template_id_62d12252_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',_vm._g({class:['p-inputtext p-component', {'p-filled': _vm.filled}],domProps:{"value":_vm.value}},_vm.listeners))}
|
|
5742
5757
|
var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
5743
5758
|
|
|
@@ -5751,6 +5766,7 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
|
5751
5766
|
|
|
5752
5767
|
|
|
5753
5768
|
|
|
5769
|
+
|
|
5754
5770
|
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; }
|
|
5755
5771
|
|
|
5756
5772
|
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; }
|
|
@@ -5900,7 +5916,7 @@ var component = normalizeComponent(
|
|
|
5900
5916
|
)
|
|
5901
5917
|
|
|
5902
5918
|
/* harmony default export */ var InputText = (component.exports);
|
|
5903
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5919
|
+
// 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/button/Button.vue?vue&type=template&id=3d0cb6ac&
|
|
5904
5920
|
var Buttonvue_type_template_id_3d0cb6ac_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.buttonClass,attrs:{"type":"button"}},_vm.$listeners),[_vm._t("default",function(){return [(_vm.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),_c('span',{staticClass:"p-button-label"},[_vm._v(_vm._s(_vm.label||' '))]),(_vm.badge)?_c('span',{staticClass:"p-badge",class:_vm.badgeStyleClass},[_vm._v(_vm._s(_vm.badge))]):_vm._e()]})],2)}
|
|
5905
5921
|
var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
|
|
5906
5922
|
|
|
@@ -6086,6 +6102,7 @@ var Button_component = normalizeComponent(
|
|
|
6086
6102
|
|
|
6087
6103
|
|
|
6088
6104
|
|
|
6105
|
+
|
|
6089
6106
|
|
|
6090
6107
|
function Calendarvue_type_script_lang_js_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; }
|
|
6091
6108
|
|
|
@@ -6228,6 +6245,17 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6228
6245
|
//
|
|
6229
6246
|
//
|
|
6230
6247
|
//
|
|
6248
|
+
//
|
|
6249
|
+
//
|
|
6250
|
+
//
|
|
6251
|
+
//
|
|
6252
|
+
//
|
|
6253
|
+
//
|
|
6254
|
+
//
|
|
6255
|
+
//
|
|
6256
|
+
//
|
|
6257
|
+
//
|
|
6258
|
+
|
|
6231
6259
|
|
|
6232
6260
|
|
|
6233
6261
|
|
|
@@ -6266,6 +6294,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6266
6294
|
type: Number,
|
|
6267
6295
|
default: 1
|
|
6268
6296
|
},
|
|
6297
|
+
responsiveOptions: Array,
|
|
6269
6298
|
view: {
|
|
6270
6299
|
type: String,
|
|
6271
6300
|
default: 'date'
|
|
@@ -6385,7 +6414,11 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6385
6414
|
appendTo: {
|
|
6386
6415
|
type: String,
|
|
6387
6416
|
default: null
|
|
6388
|
-
}
|
|
6417
|
+
},
|
|
6418
|
+
inputClass: null,
|
|
6419
|
+
inputStyle: null,
|
|
6420
|
+
className: null,
|
|
6421
|
+
styles: null
|
|
6389
6422
|
},
|
|
6390
6423
|
navigationState: null,
|
|
6391
6424
|
scrollHandler: null,
|
|
@@ -6399,8 +6432,15 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6399
6432
|
this.updateCurrentMetaData();
|
|
6400
6433
|
},
|
|
6401
6434
|
mounted: function mounted() {
|
|
6402
|
-
|
|
6403
|
-
|
|
6435
|
+
this.createResponsiveStyle();
|
|
6436
|
+
|
|
6437
|
+
if (this.inline) {
|
|
6438
|
+
this.$refs.overlay && this.$refs.overlay.setAttribute(this.attributeSelector, '');
|
|
6439
|
+
|
|
6440
|
+
if (!this.$attrs.disabled) {
|
|
6441
|
+
this.initFocusableCell();
|
|
6442
|
+
this.$refs.overlay.style.width = DomHandler_DomHandler.getOuterWidth(this.$el) + 'px';
|
|
6443
|
+
}
|
|
6404
6444
|
}
|
|
6405
6445
|
},
|
|
6406
6446
|
updated: function updated() {
|
|
@@ -6424,6 +6464,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6424
6464
|
this.destroyMask();
|
|
6425
6465
|
}
|
|
6426
6466
|
|
|
6467
|
+
this.destroyResponsiveStyleElement();
|
|
6427
6468
|
this.restoreAppend();
|
|
6428
6469
|
this.unbindOutsideClickListener();
|
|
6429
6470
|
this.unbindResizeListener();
|
|
@@ -6442,12 +6483,26 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6442
6483
|
currentSecond: null,
|
|
6443
6484
|
pm: null,
|
|
6444
6485
|
focused: false,
|
|
6445
|
-
overlayVisible: false
|
|
6486
|
+
overlayVisible: false,
|
|
6487
|
+
currentView: this.view
|
|
6446
6488
|
};
|
|
6447
6489
|
},
|
|
6448
6490
|
watch: {
|
|
6449
6491
|
value: function value() {
|
|
6450
6492
|
this.updateCurrentMetaData();
|
|
6493
|
+
},
|
|
6494
|
+
months: function months() {
|
|
6495
|
+
if (this.$refs.overlay) {
|
|
6496
|
+
setTimeout(this.updateFocus, 0);
|
|
6497
|
+
}
|
|
6498
|
+
},
|
|
6499
|
+
numberOfMonths: function numberOfMonths() {
|
|
6500
|
+
this.destroyResponsiveStyleElement();
|
|
6501
|
+
this.createResponsiveStyle();
|
|
6502
|
+
},
|
|
6503
|
+
responsiveOptions: function responsiveOptions() {
|
|
6504
|
+
this.destroyResponsiveStyleElement();
|
|
6505
|
+
this.createResponsiveStyle();
|
|
6451
6506
|
}
|
|
6452
6507
|
},
|
|
6453
6508
|
methods: {
|
|
@@ -6496,6 +6551,9 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6496
6551
|
isMonthSelected: function isMonthSelected(month) {
|
|
6497
6552
|
return this.isComparable() ? this.value.getMonth() === month && this.value.getFullYear() === this.currentYear : false;
|
|
6498
6553
|
},
|
|
6554
|
+
isYearSelected: function isYearSelected(year) {
|
|
6555
|
+
return this.isComparable() ? this.value.getFullYear() === year : false;
|
|
6556
|
+
},
|
|
6499
6557
|
isDateEquals: function isDateEquals(value, dateMeta) {
|
|
6500
6558
|
if (value) return value.getDate() === dateMeta.day && value.getMonth() === dateMeta.month && value.getFullYear() === dateMeta.year;else return false;
|
|
6501
6559
|
},
|
|
@@ -6615,7 +6673,9 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6615
6673
|
|
|
6616
6674
|
return validMin && validMax && validDate && validDay;
|
|
6617
6675
|
},
|
|
6618
|
-
onOverlayEnter: function onOverlayEnter() {
|
|
6676
|
+
onOverlayEnter: function onOverlayEnter(el) {
|
|
6677
|
+
el.setAttribute(this.attributeSelector, '');
|
|
6678
|
+
|
|
6619
6679
|
if (this.autoZIndex) {
|
|
6620
6680
|
this.$refs.overlay.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
|
|
6621
6681
|
}
|
|
@@ -6630,6 +6690,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6630
6690
|
this.bindResizeListener();
|
|
6631
6691
|
},
|
|
6632
6692
|
onOverlayLeave: function onOverlayLeave() {
|
|
6693
|
+
this.currentView = this.view;
|
|
6633
6694
|
this.unbindOutsideClickListener();
|
|
6634
6695
|
this.unbindScrollListener();
|
|
6635
6696
|
this.unbindResizeListener();
|
|
@@ -6664,8 +6725,10 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6664
6725
|
return;
|
|
6665
6726
|
}
|
|
6666
6727
|
|
|
6667
|
-
if (this.
|
|
6728
|
+
if (this.currentView === 'month') {
|
|
6668
6729
|
this.decrementYear();
|
|
6730
|
+
} else if (this.currentView === 'year') {
|
|
6731
|
+
this.decrementDecade();
|
|
6669
6732
|
} else {
|
|
6670
6733
|
if (this.currentMonth === 0) {
|
|
6671
6734
|
this.currentMonth = 11;
|
|
@@ -6687,8 +6750,10 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6687
6750
|
return;
|
|
6688
6751
|
}
|
|
6689
6752
|
|
|
6690
|
-
if (this.
|
|
6753
|
+
if (this.currentView === 'month') {
|
|
6691
6754
|
this.incrementYear();
|
|
6755
|
+
} else if (this.currentView === 'year') {
|
|
6756
|
+
this.incrementDecade();
|
|
6692
6757
|
} else {
|
|
6693
6758
|
if (this.currentMonth === 11) {
|
|
6694
6759
|
this.currentMonth = 0;
|
|
@@ -6706,9 +6771,25 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6706
6771
|
decrementYear: function decrementYear() {
|
|
6707
6772
|
this.currentYear--;
|
|
6708
6773
|
},
|
|
6774
|
+
decrementDecade: function decrementDecade() {
|
|
6775
|
+
this.currentYear = this.currentYear - 10;
|
|
6776
|
+
},
|
|
6709
6777
|
incrementYear: function incrementYear() {
|
|
6710
6778
|
this.currentYear++;
|
|
6711
6779
|
},
|
|
6780
|
+
incrementDecade: function incrementDecade() {
|
|
6781
|
+
this.currentYear = this.currentYear + 10;
|
|
6782
|
+
},
|
|
6783
|
+
switchToMonthView: function switchToMonthView(event) {
|
|
6784
|
+
this.currentView = 'month';
|
|
6785
|
+
setTimeout(this.updateFocus, 0);
|
|
6786
|
+
event.preventDefault();
|
|
6787
|
+
},
|
|
6788
|
+
switchToYearView: function switchToYearView(event) {
|
|
6789
|
+
this.currentView = 'year';
|
|
6790
|
+
setTimeout(this.updateFocus, 0);
|
|
6791
|
+
event.preventDefault();
|
|
6792
|
+
},
|
|
6712
6793
|
isEnabled: function isEnabled() {
|
|
6713
6794
|
return !this.$attrs.disabled && !this.$attrs.readonly;
|
|
6714
6795
|
},
|
|
@@ -7209,13 +7290,9 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7209
7290
|
return hours;
|
|
7210
7291
|
},
|
|
7211
7292
|
validateTime: function validateTime(hour, minute, second, pm) {
|
|
7212
|
-
var value = this.value;
|
|
7293
|
+
var value = this.isComparable() ? this.value : this.viewDate;
|
|
7213
7294
|
var convertedHour = this.convertTo24Hour(hour, pm);
|
|
7214
7295
|
|
|
7215
|
-
if (!this.isComparable()) {
|
|
7216
|
-
return true;
|
|
7217
|
-
}
|
|
7218
|
-
|
|
7219
7296
|
if (this.isRangeSelection()) {
|
|
7220
7297
|
value = this.value[1] || this.value[0];
|
|
7221
7298
|
}
|
|
@@ -7384,13 +7461,43 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7384
7461
|
clearInterval(this.timePickerTimer);
|
|
7385
7462
|
}
|
|
7386
7463
|
},
|
|
7387
|
-
onMonthSelect: function onMonthSelect(event,
|
|
7388
|
-
this.
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7464
|
+
onMonthSelect: function onMonthSelect(event, month) {
|
|
7465
|
+
if (this.view === 'month') {
|
|
7466
|
+
this.onDateSelect(event, {
|
|
7467
|
+
year: this.currentYear,
|
|
7468
|
+
month: month,
|
|
7469
|
+
day: 1,
|
|
7470
|
+
selectable: true
|
|
7471
|
+
});
|
|
7472
|
+
} else {
|
|
7473
|
+
this.currentMonth = month;
|
|
7474
|
+
this.currentView = 'date';
|
|
7475
|
+
this.$emit('month-change', {
|
|
7476
|
+
month: this.currentMonth + 1,
|
|
7477
|
+
year: this.currentYear
|
|
7478
|
+
});
|
|
7479
|
+
}
|
|
7480
|
+
|
|
7481
|
+
setTimeout(this.updateFocus, 0);
|
|
7482
|
+
},
|
|
7483
|
+
onYearSelect: function onYearSelect(event, year) {
|
|
7484
|
+
if (this.view === 'year') {
|
|
7485
|
+
this.onDateSelect(event, {
|
|
7486
|
+
year: year,
|
|
7487
|
+
month: 0,
|
|
7488
|
+
day: 1,
|
|
7489
|
+
selectable: true
|
|
7490
|
+
});
|
|
7491
|
+
} else {
|
|
7492
|
+
this.currentYear = year;
|
|
7493
|
+
this.currentView = 'month';
|
|
7494
|
+
this.$emit('year-change', {
|
|
7495
|
+
month: this.currentMonth + 1,
|
|
7496
|
+
year: this.currentYear
|
|
7497
|
+
});
|
|
7498
|
+
}
|
|
7499
|
+
|
|
7500
|
+
setTimeout(this.updateFocus, 0);
|
|
7394
7501
|
},
|
|
7395
7502
|
enableModality: function enableModality() {
|
|
7396
7503
|
var _this6 = this;
|
|
@@ -7398,7 +7505,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7398
7505
|
if (!this.mask) {
|
|
7399
7506
|
this.mask = document.createElement('div');
|
|
7400
7507
|
this.mask.style.zIndex = String(parseInt(this.$refs.overlay.style.zIndex, 10) - 1);
|
|
7401
|
-
DomHandler_DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker');
|
|
7508
|
+
DomHandler_DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter');
|
|
7402
7509
|
|
|
7403
7510
|
this.maskClickListener = function () {
|
|
7404
7511
|
_this6.overlayVisible = false;
|
|
@@ -7407,9 +7514,6 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7407
7514
|
this.mask.addEventListener('click', this.maskClickListener);
|
|
7408
7515
|
document.body.appendChild(this.mask);
|
|
7409
7516
|
DomHandler_DomHandler.addClass(document.body, 'p-overflow-hidden');
|
|
7410
|
-
setTimeout(function () {
|
|
7411
|
-
DomHandler_DomHandler.addClass(_this6.mask, 'p-component-overlay');
|
|
7412
|
-
}, 1);
|
|
7413
7517
|
}
|
|
7414
7518
|
},
|
|
7415
7519
|
disableModality: function disableModality() {
|
|
@@ -7417,8 +7521,8 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7417
7521
|
|
|
7418
7522
|
if (this.mask) {
|
|
7419
7523
|
this.overlayVisible = false;
|
|
7420
|
-
DomHandler_DomHandler.addClass(this.mask, 'p-
|
|
7421
|
-
this.mask.addEventListener('
|
|
7524
|
+
DomHandler_DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
|
7525
|
+
this.mask.addEventListener('animationend', function () {
|
|
7422
7526
|
_this7.destroyMask();
|
|
7423
7527
|
});
|
|
7424
7528
|
}
|
|
@@ -7650,7 +7754,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7650
7754
|
iValue++;
|
|
7651
7755
|
};
|
|
7652
7756
|
|
|
7653
|
-
if (this.
|
|
7757
|
+
if (this.currentView === 'month') {
|
|
7654
7758
|
day = 1;
|
|
7655
7759
|
}
|
|
7656
7760
|
|
|
@@ -7880,6 +7984,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7880
7984
|
//enter
|
|
7881
7985
|
|
|
7882
7986
|
case 13:
|
|
7987
|
+
case 32:
|
|
7883
7988
|
{
|
|
7884
7989
|
this.onDateSelect(event, date);
|
|
7885
7990
|
event.preventDefault();
|
|
@@ -7918,7 +8023,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7918
8023
|
this.navBackward(event);
|
|
7919
8024
|
} else {
|
|
7920
8025
|
var prevMonthContainer = this.$refs.overlay.children[groupIndex - 1];
|
|
7921
|
-
var cells = DomHandler_DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
8026
|
+
var cells = DomHandler_DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
7922
8027
|
var focusCell = cells[cells.length - 1];
|
|
7923
8028
|
focusCell.tabIndex = '0';
|
|
7924
8029
|
focusCell.focus();
|
|
@@ -7932,7 +8037,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7932
8037
|
} else {
|
|
7933
8038
|
var nextMonthContainer = this.$refs.overlay.children[groupIndex + 1];
|
|
7934
8039
|
|
|
7935
|
-
var _focusCell4 = DomHandler_DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
8040
|
+
var _focusCell4 = DomHandler_DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
7936
8041
|
|
|
7937
8042
|
_focusCell4.tabIndex = '0';
|
|
7938
8043
|
|
|
@@ -7971,6 +8076,11 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7971
8076
|
if (prevCell) {
|
|
7972
8077
|
prevCell.tabIndex = '0';
|
|
7973
8078
|
prevCell.focus();
|
|
8079
|
+
} else {
|
|
8080
|
+
this.navigationState = {
|
|
8081
|
+
backward: true
|
|
8082
|
+
};
|
|
8083
|
+
this.navBackward(event);
|
|
7974
8084
|
}
|
|
7975
8085
|
|
|
7976
8086
|
event.preventDefault();
|
|
@@ -7987,6 +8097,11 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7987
8097
|
_nextCell.tabIndex = '0';
|
|
7988
8098
|
|
|
7989
8099
|
_nextCell.focus();
|
|
8100
|
+
} else {
|
|
8101
|
+
this.navigationState = {
|
|
8102
|
+
backward: false
|
|
8103
|
+
};
|
|
8104
|
+
this.navForward(event);
|
|
7990
8105
|
}
|
|
7991
8106
|
|
|
7992
8107
|
event.preventDefault();
|
|
@@ -7995,6 +8110,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
7995
8110
|
//enter
|
|
7996
8111
|
|
|
7997
8112
|
case 13:
|
|
8113
|
+
case 32:
|
|
7998
8114
|
{
|
|
7999
8115
|
this.onMonthSelect(event, index);
|
|
8000
8116
|
event.preventDefault();
|
|
@@ -8024,6 +8140,98 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8024
8140
|
break;
|
|
8025
8141
|
}
|
|
8026
8142
|
},
|
|
8143
|
+
onYearCellKeydown: function onYearCellKeydown(event, index) {
|
|
8144
|
+
var cell = event.currentTarget;
|
|
8145
|
+
|
|
8146
|
+
switch (event.which) {
|
|
8147
|
+
//arrows
|
|
8148
|
+
case 38:
|
|
8149
|
+
case 40:
|
|
8150
|
+
{
|
|
8151
|
+
cell.tabIndex = '-1';
|
|
8152
|
+
var cells = cell.parentElement.children;
|
|
8153
|
+
var cellIndex = DomHandler_DomHandler.index(cell);
|
|
8154
|
+
var nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];
|
|
8155
|
+
|
|
8156
|
+
if (nextCell) {
|
|
8157
|
+
nextCell.tabIndex = '0';
|
|
8158
|
+
nextCell.focus();
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
event.preventDefault();
|
|
8162
|
+
break;
|
|
8163
|
+
}
|
|
8164
|
+
//left arrow
|
|
8165
|
+
|
|
8166
|
+
case 37:
|
|
8167
|
+
{
|
|
8168
|
+
cell.tabIndex = '-1';
|
|
8169
|
+
var prevCell = cell.previousElementSibling;
|
|
8170
|
+
|
|
8171
|
+
if (prevCell) {
|
|
8172
|
+
prevCell.tabIndex = '0';
|
|
8173
|
+
prevCell.focus();
|
|
8174
|
+
} else {
|
|
8175
|
+
this.navigationState = {
|
|
8176
|
+
backward: true
|
|
8177
|
+
};
|
|
8178
|
+
this.navBackward(event);
|
|
8179
|
+
}
|
|
8180
|
+
|
|
8181
|
+
event.preventDefault();
|
|
8182
|
+
break;
|
|
8183
|
+
}
|
|
8184
|
+
//right arrow
|
|
8185
|
+
|
|
8186
|
+
case 39:
|
|
8187
|
+
{
|
|
8188
|
+
cell.tabIndex = '-1';
|
|
8189
|
+
var _nextCell2 = cell.nextElementSibling;
|
|
8190
|
+
|
|
8191
|
+
if (_nextCell2) {
|
|
8192
|
+
_nextCell2.tabIndex = '0';
|
|
8193
|
+
|
|
8194
|
+
_nextCell2.focus();
|
|
8195
|
+
} else {
|
|
8196
|
+
this.navigationState = {
|
|
8197
|
+
backward: false
|
|
8198
|
+
};
|
|
8199
|
+
this.navForward(event);
|
|
8200
|
+
}
|
|
8201
|
+
|
|
8202
|
+
event.preventDefault();
|
|
8203
|
+
break;
|
|
8204
|
+
}
|
|
8205
|
+
//enter
|
|
8206
|
+
|
|
8207
|
+
case 13:
|
|
8208
|
+
case 32:
|
|
8209
|
+
{
|
|
8210
|
+
this.onMonthSelect(event, index);
|
|
8211
|
+
event.preventDefault();
|
|
8212
|
+
break;
|
|
8213
|
+
}
|
|
8214
|
+
//escape
|
|
8215
|
+
|
|
8216
|
+
case 27:
|
|
8217
|
+
{
|
|
8218
|
+
this.overlayVisible = false;
|
|
8219
|
+
event.preventDefault();
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
//tab
|
|
8223
|
+
|
|
8224
|
+
case 9:
|
|
8225
|
+
{
|
|
8226
|
+
this.trapFocus(event);
|
|
8227
|
+
break;
|
|
8228
|
+
}
|
|
8229
|
+
|
|
8230
|
+
default:
|
|
8231
|
+
//no op
|
|
8232
|
+
break;
|
|
8233
|
+
}
|
|
8234
|
+
},
|
|
8027
8235
|
updateFocus: function updateFocus() {
|
|
8028
8236
|
var cell;
|
|
8029
8237
|
|
|
@@ -8033,10 +8241,27 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8033
8241
|
if (this.navigationState.backward) DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-prev').focus();else DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-next').focus();
|
|
8034
8242
|
} else {
|
|
8035
8243
|
if (this.navigationState.backward) {
|
|
8036
|
-
var cells
|
|
8037
|
-
|
|
8244
|
+
var cells;
|
|
8245
|
+
|
|
8246
|
+
if (this.currentView === 'month') {
|
|
8247
|
+
cells = DomHandler_DomHandler.find(this.$refs.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
|
|
8248
|
+
} else if (this.currentView === 'year') {
|
|
8249
|
+
cells = DomHandler_DomHandler.find(this.$refs.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
|
|
8250
|
+
} else {
|
|
8251
|
+
cells = DomHandler_DomHandler.find(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
8252
|
+
}
|
|
8253
|
+
|
|
8254
|
+
if (cells && cells.length > 0) {
|
|
8255
|
+
cell = cells[cells.length - 1];
|
|
8256
|
+
}
|
|
8038
8257
|
} else {
|
|
8039
|
-
|
|
8258
|
+
if (this.currentView === 'month') {
|
|
8259
|
+
cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
|
|
8260
|
+
} else if (this.currentView === 'year') {
|
|
8261
|
+
cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
|
|
8262
|
+
} else {
|
|
8263
|
+
cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
8264
|
+
}
|
|
8040
8265
|
}
|
|
8041
8266
|
|
|
8042
8267
|
if (cell) {
|
|
@@ -8053,24 +8278,38 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8053
8278
|
initFocusableCell: function initFocusableCell() {
|
|
8054
8279
|
var cell;
|
|
8055
8280
|
|
|
8056
|
-
if (this.
|
|
8281
|
+
if (this.currentView === 'month') {
|
|
8057
8282
|
var cells = DomHandler_DomHandler.find(this.$refs.overlay, '.p-monthpicker .p-monthpicker-month');
|
|
8058
8283
|
var selectedCell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-monthpicker .p-monthpicker-month.p-highlight');
|
|
8059
8284
|
cells.forEach(function (cell) {
|
|
8060
8285
|
return cell.tabIndex = -1;
|
|
8061
8286
|
});
|
|
8062
8287
|
cell = selectedCell || cells[0];
|
|
8288
|
+
} else if (this.currentView === 'year') {
|
|
8289
|
+
var _cells = DomHandler_DomHandler.find(this.$refs.overlay, '.p-yearpicker .p-yearpicker-year');
|
|
8290
|
+
|
|
8291
|
+
var _selectedCell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-yearpicker .p-yearpicker-year.p-highlight');
|
|
8292
|
+
|
|
8293
|
+
_cells.forEach(function (cell) {
|
|
8294
|
+
return cell.tabIndex = -1;
|
|
8295
|
+
});
|
|
8296
|
+
|
|
8297
|
+
cell = _selectedCell || _cells[0];
|
|
8063
8298
|
} else {
|
|
8064
8299
|
cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'span.p-highlight');
|
|
8065
8300
|
|
|
8066
8301
|
if (!cell) {
|
|
8067
|
-
var todayCell = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'td.p-datepicker-today span:not(.p-disabled)');
|
|
8068
|
-
if (todayCell) cell = todayCell;else cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
8302
|
+
var todayCell = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink)');
|
|
8303
|
+
if (todayCell) cell = todayCell;else cell = DomHandler_DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink');
|
|
8069
8304
|
}
|
|
8070
8305
|
}
|
|
8071
8306
|
|
|
8072
8307
|
if (cell) {
|
|
8073
8308
|
cell.tabIndex = '0';
|
|
8309
|
+
|
|
8310
|
+
if (!this.navigationState || !this.navigationState.button) {
|
|
8311
|
+
cell.focus();
|
|
8312
|
+
}
|
|
8074
8313
|
}
|
|
8075
8314
|
},
|
|
8076
8315
|
trapFocus: function trapFocus(event) {
|
|
@@ -8144,6 +8383,48 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8144
8383
|
},
|
|
8145
8384
|
getMonthName: function getMonthName(index) {
|
|
8146
8385
|
return this.$primevue.config.locale.monthNames[index];
|
|
8386
|
+
},
|
|
8387
|
+
createResponsiveStyle: function createResponsiveStyle() {
|
|
8388
|
+
if (this.numberOfMonths > 1 && this.responsiveOptions) {
|
|
8389
|
+
if (!this.responsiveStyleElement) {
|
|
8390
|
+
this.responsiveStyleElement = document.createElement('style');
|
|
8391
|
+
this.responsiveStyleElement.type = 'text/css';
|
|
8392
|
+
document.body.appendChild(this.responsiveStyleElement);
|
|
8393
|
+
}
|
|
8394
|
+
|
|
8395
|
+
var innerHTML = '';
|
|
8396
|
+
|
|
8397
|
+
if (this.responsiveOptions) {
|
|
8398
|
+
var responsiveOptions = _toConsumableArray(this.responsiveOptions).filter(function (o) {
|
|
8399
|
+
return !!(o.breakpoint && o.numMonths);
|
|
8400
|
+
}).sort(function (o1, o2) {
|
|
8401
|
+
return -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, {
|
|
8402
|
+
numeric: true
|
|
8403
|
+
});
|
|
8404
|
+
});
|
|
8405
|
+
|
|
8406
|
+
for (var i = 0; i < responsiveOptions.length; i++) {
|
|
8407
|
+
var _responsiveOptions$i = responsiveOptions[i],
|
|
8408
|
+
breakpoint = _responsiveOptions$i.breakpoint,
|
|
8409
|
+
numMonths = _responsiveOptions$i.numMonths;
|
|
8410
|
+
var styles = "\n .p-datepicker[".concat(this.attributeSelector, "] .p-datepicker-group:nth-child(").concat(numMonths, ") .p-datepicker-next {\n display: inline-flex !important;\n }\n ");
|
|
8411
|
+
|
|
8412
|
+
for (var j = numMonths; j < this.numberOfMonths; j++) {
|
|
8413
|
+
styles += "\n .p-datepicker[".concat(this.attributeSelector, "] .p-datepicker-group:nth-child(").concat(j + 1, ") {\n display: none !important;\n }\n ");
|
|
8414
|
+
}
|
|
8415
|
+
|
|
8416
|
+
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n ").concat(styles, "\n }\n ");
|
|
8417
|
+
}
|
|
8418
|
+
}
|
|
8419
|
+
|
|
8420
|
+
this.responsiveStyleElement.innerHTML = innerHTML;
|
|
8421
|
+
}
|
|
8422
|
+
},
|
|
8423
|
+
destroyResponsiveStyleElement: function destroyResponsiveStyleElement() {
|
|
8424
|
+
if (this.responsiveStyleElement) {
|
|
8425
|
+
this.responsiveStyleElement.remove();
|
|
8426
|
+
this.responsiveStyleElement = null;
|
|
8427
|
+
}
|
|
8147
8428
|
}
|
|
8148
8429
|
},
|
|
8149
8430
|
computed: {
|
|
@@ -8210,7 +8491,7 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8210
8491
|
return this.formatValue(this.value);
|
|
8211
8492
|
},
|
|
8212
8493
|
containerClass: function containerClass() {
|
|
8213
|
-
return ['p-calendar p-component p-inputwrapper', {
|
|
8494
|
+
return ['p-calendar p-component p-inputwrapper', this.className, {
|
|
8214
8495
|
'p-calendar-w-btn': this.showIcon,
|
|
8215
8496
|
'p-calendar-timeonly': this.timeOnly,
|
|
8216
8497
|
'p-inputwrapper-filled': this.value,
|
|
@@ -8223,7 +8504,8 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8223
8504
|
'p-disabled': this.$attrs.disabled,
|
|
8224
8505
|
'p-datepicker-timeonly': this.timeOnly,
|
|
8225
8506
|
'p-datepicker-multiple-month': this.numberOfMonths > 1,
|
|
8226
|
-
'p-datepicker-monthpicker': this.
|
|
8507
|
+
'p-datepicker-monthpicker': this.currentView === 'month',
|
|
8508
|
+
'p-datepicker-yearpicker': this.currentView === 'year',
|
|
8227
8509
|
'p-datepicker-touch-ui': this.touchUI
|
|
8228
8510
|
}];
|
|
8229
8511
|
},
|
|
@@ -8371,6 +8653,16 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8371
8653
|
|
|
8372
8654
|
return monthPickerValues;
|
|
8373
8655
|
},
|
|
8656
|
+
yearPickerValues: function yearPickerValues() {
|
|
8657
|
+
var yearPickerValues = [];
|
|
8658
|
+
var base = this.currentYear - this.currentYear % 10;
|
|
8659
|
+
|
|
8660
|
+
for (var i = 0; i < 10; i++) {
|
|
8661
|
+
yearPickerValues.push(base + i);
|
|
8662
|
+
}
|
|
8663
|
+
|
|
8664
|
+
return yearPickerValues;
|
|
8665
|
+
},
|
|
8374
8666
|
formattedCurrentHour: function formattedCurrentHour() {
|
|
8375
8667
|
return this.currentHour < 10 ? '0' + this.currentHour : this.currentHour;
|
|
8376
8668
|
},
|
|
@@ -8391,6 +8683,12 @@ function Calendarvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
8391
8683
|
},
|
|
8392
8684
|
monthNames: function monthNames() {
|
|
8393
8685
|
return this.$primevue.config.locale.monthNames;
|
|
8686
|
+
},
|
|
8687
|
+
attributeSelector: function attributeSelector() {
|
|
8688
|
+
return UniqueComponentId();
|
|
8689
|
+
},
|
|
8690
|
+
switchViewButtonDisabled: function switchViewButtonDisabled() {
|
|
8691
|
+
return this.numberOfMonths > 1 || this.$attrs.disabled;
|
|
8394
8692
|
}
|
|
8395
8693
|
},
|
|
8396
8694
|
components: {
|