primevue 3.8.0 → 3.9.1
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/README.md +2 -2
- package/accordion/Accordion.vue +1 -1
- package/accordion/accordion.cjs.js +1 -1
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -1
- package/accordion/accordion.min.js +1 -1
- package/api/Api.d.ts +73 -32
- package/api/api.cjs.js +66 -32
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +66 -32
- package/api/api.esm.min.js +1 -1
- package/api/api.js +66 -32
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +43 -9
- package/autocomplete/AutoComplete.vue +16 -9
- package/autocomplete/autocomplete.cjs.js +19 -11
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +19 -11
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +19 -11
- package/autocomplete/autocomplete.min.js +1 -1
- package/blockui/BlockUI.vue +1 -1
- package/blockui/blockui.cjs.js +5 -7
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +6 -8
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +5 -7
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +7 -0
- package/breadcrumb/BreadcrumbItem.vue +5 -2
- package/breadcrumb/breadcrumb.cjs.js +5 -2
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +5 -2
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +5 -2
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/Calendar.d.ts +11 -1
- package/calendar/Calendar.vue +362 -67
- package/calendar/calendar.cjs.js +459 -168
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +461 -170
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +459 -168
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.d.ts +6 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.cjs.js +6 -6
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +6 -6
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +6 -6
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +19 -6
- package/chart/Chart.vue +9 -2
- package/chart/chart.cjs.js +9 -2
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +9 -2
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +9 -2
- package/chart/chart.min.js +1 -1
- package/chips/Chips.d.ts +5 -1
- package/colorpicker/ColorPicker.d.ts +3 -0
- package/colorpicker/ColorPicker.vue +6 -1
- package/colorpicker/colorpicker.cjs.js +6 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +6 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +6 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +42 -11
- package/confirmdialog/ConfirmDialog.vue +8 -2
- package/confirmdialog/confirmdialog.cjs.js +11 -4
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +11 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +11 -4
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +7 -0
- package/confirmpopup/ConfirmPopup.vue +7 -4
- package/confirmpopup/confirmpopup.cjs.js +13 -5
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +14 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +13 -5
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +5 -1
- package/contextmenu/ContextMenuSub.vue +8 -5
- package/contextmenu/contextmenu.cjs.js +8 -5
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +8 -5
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +8 -5
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +138 -68
- package/core/core.min.js +13 -12
- package/datatable/BodyCell.vue +1 -0
- package/datatable/ColumnFilter.vue +17 -6
- package/datatable/DataTable.d.ts +37 -9
- package/datatable/DataTable.vue +44 -23
- package/datatable/TableBody.vue +6 -2
- package/datatable/TableFooter.vue +17 -2
- package/datatable/TableHeader.vue +17 -2
- package/datatable/datatable.cjs.js +203 -126
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +203 -126
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +203 -126
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +9 -4
- package/dataview/DataView.vue +8 -8
- package/dataview/dataview.cjs.js +12 -12
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +12 -12
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +12 -12
- package/dataview/dataview.min.js +1 -1
- package/dialog/Dialog.vue +6 -1
- package/dialog/dialog.cjs.js +4 -2
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +4 -2
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +4 -2
- package/dialog/dialog.min.js +1 -1
- package/dock/Dock.d.ts +10 -1
- package/dock/Dock.vue +1 -1
- package/dock/DockSub.vue +13 -8
- package/dock/dock.cjs.js +24 -10
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +20 -10
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +25 -12
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +56 -13
- package/dropdown/Dropdown.vue +1 -0
- package/dropdown/dropdown.cjs.js +1 -0
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +1 -0
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +1 -0
- package/dropdown/dropdown.min.js +1 -1
- package/fileupload/FileUpload.d.ts +5 -0
- package/galleria/Galleria.d.ts +20 -4
- package/inplace/Inplace.d.ts +1 -0
- package/inplace/Inplace.vue +12 -1
- package/inplace/inplace.cjs.js +13 -2
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +13 -2
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +13 -2
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +1 -1
- package/inputnumber/InputNumber.vue +19 -3
- package/inputnumber/inputnumber.cjs.js +19 -3
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +19 -3
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +19 -3
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputtext/InputText.d.ts +1 -1
- package/inputtext/InputText.vue +1 -1
- package/inputtext/inputtext.cjs.js +2 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +3 -3
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +2 -2
- package/inputtext/inputtext.min.js +1 -1
- package/listbox/Listbox.d.ts +48 -12
- package/megamenu/MegaMenu.d.ts +5 -1
- package/megamenu/MegaMenu.vue +11 -8
- package/megamenu/megamenu.cjs.js +11 -8
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +11 -8
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +11 -8
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +5 -1
- package/menu/Menu.vue +6 -3
- package/menu/Menuitem.vue +5 -2
- package/menu/menu.cjs.js +11 -5
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +11 -5
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +11 -5
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +5 -1
- package/menubar/Menubar.vue +1 -0
- package/menubar/MenubarSub.vue +8 -5
- package/menubar/menubar.cjs.js +9 -6
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +9 -6
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +9 -6
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +6 -2
- package/message/message.cjs.js +6 -2
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +6 -2
- package/message/message.esm.min.js +1 -1
- package/message/message.js +6 -2
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +61 -14
- package/orderlist/OrderList.d.ts +8 -1
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.cjs.js +3 -1
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +3 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +3 -1
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.vue +1 -0
- package/organizationchart/organizationchart.cjs.js +1 -1
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +1 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +1 -1
- package/organizationchart/organizationchart.min.js +1 -1
- package/package.json +5 -1
- package/paginator/Paginator.d.ts +10 -4
- package/paginator/Paginator.vue +4 -4
- package/paginator/paginator.cjs.js +4 -4
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +4 -4
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +4 -4
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panelmenu/PanelMenu.d.ts +5 -3
- package/panelmenu/PanelMenu.vue +6 -3
- package/panelmenu/PanelMenuSub.vue +8 -5
- package/panelmenu/panelmenu.cjs.js +14 -8
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +14 -8
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +14 -8
- package/panelmenu/panelmenu.min.js +1 -1
- package/picklist/PickList.d.ts +14 -3
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.cjs.js +13 -7
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +13 -7
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +13 -7
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.vue +13 -12
- package/progressbar/progressbar.cjs.js +13 -12
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +14 -13
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +13 -12
- package/progressbar/progressbar.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.cjs.js +1 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +1 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -1
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +5 -0
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +56 -15
- package/resources/themes/arya-green/theme.css +56 -15
- package/resources/themes/arya-orange/theme.css +56 -15
- package/resources/themes/arya-purple/theme.css +56 -15
- package/resources/themes/bootstrap4-dark-blue/theme.css +53 -19
- package/resources/themes/bootstrap4-dark-purple/theme.css +53 -19
- package/resources/themes/bootstrap4-light-blue/theme.css +53 -19
- package/resources/themes/bootstrap4-light-purple/theme.css +53 -19
- package/resources/themes/fluent-light/theme.css +56 -15
- 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 +5414 -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 +5414 -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 +5414 -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 +5414 -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 +5414 -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 +5414 -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 +5414 -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 +5414 -0
- package/resources/themes/luna-amber/theme.css +53 -19
- package/resources/themes/luna-blue/theme.css +53 -19
- package/resources/themes/luna-green/theme.css +53 -19
- package/resources/themes/luna-pink/theme.css +53 -19
- package/resources/themes/md-dark-deeppurple/theme.css +244 -47
- package/resources/themes/md-dark-indigo/theme.css +244 -47
- package/resources/themes/md-light-deeppurple/theme.css +244 -47
- package/resources/themes/md-light-indigo/theme.css +244 -47
- package/resources/themes/mdc-dark-deeppurple/theme.css +244 -47
- package/resources/themes/mdc-dark-indigo/theme.css +244 -47
- package/resources/themes/mdc-light-deeppurple/theme.css +244 -47
- package/resources/themes/mdc-light-indigo/theme.css +244 -47
- package/resources/themes/nova/theme.css +53 -19
- package/resources/themes/nova-accent/theme.css +53 -19
- package/resources/themes/nova-alt/theme.css +53 -19
- package/resources/themes/nova-vue/theme.css +53 -19
- package/resources/themes/rhea/theme.css +53 -19
- package/resources/themes/saga-blue/theme.css +56 -15
- package/resources/themes/saga-green/theme.css +56 -15
- package/resources/themes/saga-orange/theme.css +56 -15
- package/resources/themes/saga-purple/theme.css +56 -15
- package/resources/themes/tailwind-light/theme.css +67 -18
- package/resources/themes/vela-blue/theme.css +56 -15
- package/resources/themes/vela-green/theme.css +56 -15
- package/resources/themes/vela-orange/theme.css +56 -15
- package/resources/themes/vela-purple/theme.css +56 -15
- package/selectbutton/SelectButton.d.ts +13 -5
- package/selectbutton/SelectButton.vue +8 -2
- package/selectbutton/selectbutton.cjs.js +14 -9
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +14 -9
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +14 -9
- package/selectbutton/selectbutton.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +5 -1
- package/steps/Steps.d.ts +5 -3
- package/steps/Steps.vue +5 -2
- package/steps/steps.cjs.js +5 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +5 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +5 -2
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +5 -3
- package/tabmenu/TabMenu.vue +6 -3
- package/tabmenu/tabmenu.cjs.js +6 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +6 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +6 -3
- package/tabmenu/tabmenu.min.js +1 -1
- package/terminalservice/TerminalService.d.ts +9 -6
- package/tieredmenu/TieredMenu.d.ts +5 -3
- package/tieredmenu/TieredMenuSub.vue +7 -4
- package/tieredmenu/tieredmenu.cjs.js +7 -4
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +7 -4
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +7 -4
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +8 -3
- package/toast/Toast.d.ts +7 -0
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.cjs.js +2 -2
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +2 -2
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +2 -2
- package/toolbar/toolbar.min.js +1 -1
- package/tree/Tree.d.ts +5 -1
- package/tree/TreeNode.vue +4 -1
- package/tree/tree.cjs.js +4 -1
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +4 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +4 -1
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +20 -3
- package/treeselect/TreeSelect.vue +9 -0
- package/treeselect/treeselect.cjs.js +9 -0
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +9 -0
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +9 -0
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +10 -10
- package/treetable/TreeTableRow.vue +2 -2
- package/treetable/treetable.cjs.js +15 -15
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +15 -15
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +15 -15
- package/treetable/treetable.min.js +1 -1
- package/vetur-attributes.json +20 -0
- package/vetur-tags.json +8 -3
- package/virtualscroller/VirtualScroller.d.ts +52 -6
- package/virtualscroller/VirtualScroller.vue +1 -1
- package/virtualscroller/virtualscroller.cjs.js +1 -1
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +1 -1
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +1 -1
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +178 -9
package/calendar/calendar.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ZIndexUtils, ConnectedOverlayScrollHandler,
|
|
1
|
+
import { DomHandler, ZIndexUtils, ConnectedOverlayScrollHandler, UniqueComponentId } from 'primevue/utils';
|
|
2
2
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
3
3
|
import InputText from 'primevue/inputtext';
|
|
4
4
|
import Button from 'primevue/button';
|
|
5
5
|
import Ripple from 'primevue/ripple';
|
|
6
|
-
import { resolveComponent, resolveDirective, openBlock, createBlock, mergeProps, createCommentVNode, Teleport, createVNode, Transition, withCtx, Fragment, renderList, renderSlot, withDirectives, toDisplayString, createTextVNode, withKeys } from 'vue';
|
|
6
|
+
import { resolveComponent, resolveDirective, openBlock, createBlock, mergeProps, createCommentVNode, Teleport, createVNode, Transition, withCtx, Fragment, renderList, renderSlot, withDirectives, vShow, toDisplayString, createTextVNode, withKeys } from 'vue';
|
|
7
7
|
|
|
8
8
|
var script = {
|
|
9
9
|
name: 'Calendar',
|
|
@@ -43,6 +43,7 @@ var script = {
|
|
|
43
43
|
type: Number,
|
|
44
44
|
default: 1
|
|
45
45
|
},
|
|
46
|
+
responsiveOptions: Array,
|
|
46
47
|
view: {
|
|
47
48
|
type: String,
|
|
48
49
|
default: 'date'
|
|
@@ -165,6 +166,7 @@ var script = {
|
|
|
165
166
|
style: null
|
|
166
167
|
},
|
|
167
168
|
navigationState: null,
|
|
169
|
+
timePickerChange: false,
|
|
168
170
|
scrollHandler: null,
|
|
169
171
|
outsideClickListener: null,
|
|
170
172
|
maskClickListener: null,
|
|
@@ -172,13 +174,22 @@ var script = {
|
|
|
172
174
|
overlay: null,
|
|
173
175
|
mask: null,
|
|
174
176
|
timePickerTimer: null,
|
|
175
|
-
isKeydown: false,
|
|
176
177
|
created() {
|
|
177
178
|
this.updateCurrentMetaData();
|
|
178
179
|
},
|
|
179
180
|
mounted() {
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
this.createResponsiveStyle();
|
|
182
|
+
|
|
183
|
+
if (this.inline) {
|
|
184
|
+
this.overlay && this.overlay.setAttribute(this.attributeSelector, '');
|
|
185
|
+
|
|
186
|
+
if (!this.$attrs.disabled) {
|
|
187
|
+
this.initFocusableCell();
|
|
188
|
+
|
|
189
|
+
if (this.numberOfMonths === 1) {
|
|
190
|
+
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
191
|
+
}
|
|
192
|
+
}
|
|
182
193
|
}
|
|
183
194
|
},
|
|
184
195
|
updated() {
|
|
@@ -199,8 +210,9 @@ var script = {
|
|
|
199
210
|
}
|
|
200
211
|
|
|
201
212
|
if (this.mask) {
|
|
202
|
-
|
|
213
|
+
this.destroyMask();
|
|
203
214
|
}
|
|
215
|
+
this.destroyResponsiveStyleElement();
|
|
204
216
|
|
|
205
217
|
this.unbindOutsideClickListener();
|
|
206
218
|
this.unbindResizeListener();
|
|
@@ -224,7 +236,8 @@ var script = {
|
|
|
224
236
|
currentSecond: null,
|
|
225
237
|
pm: null,
|
|
226
238
|
focused: false,
|
|
227
|
-
overlayVisible: false
|
|
239
|
+
overlayVisible: false,
|
|
240
|
+
currentView: this.view
|
|
228
241
|
}
|
|
229
242
|
},
|
|
230
243
|
watch: {
|
|
@@ -238,6 +251,14 @@ var script = {
|
|
|
238
251
|
if (this.overlay) {
|
|
239
252
|
setTimeout(this.updateFocus, 0);
|
|
240
253
|
}
|
|
254
|
+
},
|
|
255
|
+
numberOfMonths() {
|
|
256
|
+
this.destroyResponsiveStyleElement();
|
|
257
|
+
this.createResponsiveStyle();
|
|
258
|
+
},
|
|
259
|
+
responsiveOptions() {
|
|
260
|
+
this.destroyResponsiveStyleElement();
|
|
261
|
+
this.createResponsiveStyle();
|
|
241
262
|
}
|
|
242
263
|
},
|
|
243
264
|
methods: {
|
|
@@ -279,6 +300,9 @@ var script = {
|
|
|
279
300
|
isMonthSelected(month) {
|
|
280
301
|
return this.isComparable() ? (this.modelValue.getMonth() === month && this.modelValue.getFullYear() === this.currentYear) : false;
|
|
281
302
|
},
|
|
303
|
+
isYearSelected(year) {
|
|
304
|
+
return this.isComparable() ? (this.modelValue.getFullYear() === year) : false;
|
|
305
|
+
},
|
|
282
306
|
isDateEquals(value, dateMeta) {
|
|
283
307
|
if (value)
|
|
284
308
|
return value.getDate() === dateMeta.day && value.getMonth() === dateMeta.month && value.getFullYear() === dateMeta.year;
|
|
@@ -403,12 +427,15 @@ var script = {
|
|
|
403
427
|
return validMin && validMax && validDate && validDay;
|
|
404
428
|
},
|
|
405
429
|
onOverlayEnter(el) {
|
|
430
|
+
el.setAttribute(this.attributeSelector, '');
|
|
431
|
+
|
|
406
432
|
if (this.autoZIndex) {
|
|
407
433
|
if (this.touchUI)
|
|
408
434
|
ZIndexUtils.set('modal', el, this.baseZIndex || this.$primevue.config.zIndex.modal);
|
|
409
435
|
else
|
|
410
436
|
ZIndexUtils.set('overlay', el, this.baseZIndex || this.$primevue.config.zIndex.overlay);
|
|
411
437
|
}
|
|
438
|
+
|
|
412
439
|
this.alignOverlay();
|
|
413
440
|
this.$emit('show');
|
|
414
441
|
},
|
|
@@ -423,6 +450,7 @@ var script = {
|
|
|
423
450
|
}
|
|
424
451
|
},
|
|
425
452
|
onOverlayLeave() {
|
|
453
|
+
this.currentView = this.view;
|
|
426
454
|
this.unbindOutsideClickListener();
|
|
427
455
|
this.unbindScrollListener();
|
|
428
456
|
this.unbindResizeListener();
|
|
@@ -453,9 +481,12 @@ var script = {
|
|
|
453
481
|
return;
|
|
454
482
|
}
|
|
455
483
|
|
|
456
|
-
if (this.
|
|
484
|
+
if (this.currentView === 'month') {
|
|
457
485
|
this.decrementYear();
|
|
458
486
|
}
|
|
487
|
+
else if (this.currentView === 'year') {
|
|
488
|
+
this.decrementDecade();
|
|
489
|
+
}
|
|
459
490
|
else {
|
|
460
491
|
if (this.currentMonth === 0) {
|
|
461
492
|
this.currentMonth = 11;
|
|
@@ -475,9 +506,12 @@ var script = {
|
|
|
475
506
|
return;
|
|
476
507
|
}
|
|
477
508
|
|
|
478
|
-
if (this.
|
|
509
|
+
if (this.currentView === 'month') {
|
|
479
510
|
this.incrementYear();
|
|
480
511
|
}
|
|
512
|
+
else if (this.currentView === 'year') {
|
|
513
|
+
this.incrementDecade();
|
|
514
|
+
}
|
|
481
515
|
else {
|
|
482
516
|
if (this.currentMonth === 11) {
|
|
483
517
|
this.currentMonth = 0;
|
|
@@ -493,9 +527,25 @@ var script = {
|
|
|
493
527
|
decrementYear() {
|
|
494
528
|
this.currentYear--;
|
|
495
529
|
},
|
|
530
|
+
decrementDecade() {
|
|
531
|
+
this.currentYear = this.currentYear - 10;
|
|
532
|
+
},
|
|
496
533
|
incrementYear() {
|
|
497
534
|
this.currentYear++;
|
|
498
535
|
},
|
|
536
|
+
incrementDecade() {
|
|
537
|
+
this.currentYear = this.currentYear + 10;
|
|
538
|
+
},
|
|
539
|
+
switchToMonthView(event) {
|
|
540
|
+
this.currentView = 'month';
|
|
541
|
+
setTimeout(this.updateFocus, 0);
|
|
542
|
+
event.preventDefault();
|
|
543
|
+
},
|
|
544
|
+
switchToYearView(event) {
|
|
545
|
+
this.currentView = 'year';
|
|
546
|
+
setTimeout(this.updateFocus, 0);
|
|
547
|
+
event.preventDefault();
|
|
548
|
+
},
|
|
499
549
|
isEnabled() {
|
|
500
550
|
return !this.$attrs.disabled && !this.$attrs.readonly;
|
|
501
551
|
},
|
|
@@ -580,7 +630,14 @@ var script = {
|
|
|
580
630
|
DomHandler.relativePosition(this.overlay, this.$el);
|
|
581
631
|
}
|
|
582
632
|
else {
|
|
583
|
-
|
|
633
|
+
if (this.view === 'date') {
|
|
634
|
+
this.overlay.style.width = DomHandler.getOuterWidth(this.overlay) + 'px';
|
|
635
|
+
this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
636
|
+
}
|
|
637
|
+
else {
|
|
638
|
+
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
639
|
+
}
|
|
640
|
+
|
|
584
641
|
DomHandler.absolutePosition(this.overlay, this.$el);
|
|
585
642
|
}
|
|
586
643
|
}
|
|
@@ -981,12 +1038,10 @@ var script = {
|
|
|
981
1038
|
}
|
|
982
1039
|
return hours;
|
|
983
1040
|
},
|
|
984
|
-
|
|
985
|
-
let value = this.modelValue;
|
|
1041
|
+
validateTime(hour, minute, second, pm) {
|
|
1042
|
+
let value = this.isComparable() ? this.modelValue : this.viewDate;
|
|
986
1043
|
const convertedHour = this.convertTo24Hour(hour, pm);
|
|
987
|
-
|
|
988
|
-
return true;
|
|
989
|
-
}
|
|
1044
|
+
|
|
990
1045
|
if (this.isRangeSelection()) {
|
|
991
1046
|
value = this.modelValue[1] || this.modelValue[0];
|
|
992
1047
|
}
|
|
@@ -1032,7 +1087,6 @@ var script = {
|
|
|
1032
1087
|
let newHour = this.currentHour + this.stepHour;
|
|
1033
1088
|
let newPM = this.pm;
|
|
1034
1089
|
|
|
1035
|
-
|
|
1036
1090
|
if (this.hourFormat == '24')
|
|
1037
1091
|
newHour = (newHour >= 24) ? (newHour - 24) : newHour;
|
|
1038
1092
|
else if (this.hourFormat == '12') {
|
|
@@ -1043,7 +1097,6 @@ var script = {
|
|
|
1043
1097
|
newHour = (newHour >= 13) ? (newHour - 12) : newHour;
|
|
1044
1098
|
}
|
|
1045
1099
|
|
|
1046
|
-
|
|
1047
1100
|
if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
|
|
1048
1101
|
this.currentHour = newHour;
|
|
1049
1102
|
this.pm = newPM;
|
|
@@ -1103,7 +1156,8 @@ var script = {
|
|
|
1103
1156
|
event.preventDefault();
|
|
1104
1157
|
},
|
|
1105
1158
|
updateModelTime() {
|
|
1106
|
-
|
|
1159
|
+
this.timePickerChange = true;
|
|
1160
|
+
let value = this.isComparable() ? this.modelValue : this.viewDate;
|
|
1107
1161
|
|
|
1108
1162
|
if (this.isRangeSelection()) {
|
|
1109
1163
|
value = this.modelValue[1] || this.modelValue[0];
|
|
@@ -1139,6 +1193,7 @@ var script = {
|
|
|
1139
1193
|
|
|
1140
1194
|
this.updateModel(value);
|
|
1141
1195
|
this.$emit('date-select', value);
|
|
1196
|
+
setTimeout(() => this.timePickerChange = false, 0);
|
|
1142
1197
|
},
|
|
1143
1198
|
toggleAMPM(event) {
|
|
1144
1199
|
this.pm = !this.pm;
|
|
@@ -1151,7 +1206,28 @@ var script = {
|
|
|
1151
1206
|
}
|
|
1152
1207
|
},
|
|
1153
1208
|
onMonthSelect(event, index) {
|
|
1154
|
-
this.
|
|
1209
|
+
if (this.view === 'month') {
|
|
1210
|
+
this.onDateSelect(event, {year: this.currentYear, month: index, day: 1, selectable: true});
|
|
1211
|
+
}
|
|
1212
|
+
else {
|
|
1213
|
+
this.currentMonth = index;
|
|
1214
|
+
this.currentView = 'date';
|
|
1215
|
+
this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
setTimeout(this.updateFocus, 0);
|
|
1219
|
+
},
|
|
1220
|
+
onYearSelect(event, year) {
|
|
1221
|
+
if (this.view === 'year') {
|
|
1222
|
+
this.onDateSelect(event, {year: year, month: 0, day: 1, selectable: true});
|
|
1223
|
+
}
|
|
1224
|
+
else {
|
|
1225
|
+
this.currentYear = year;
|
|
1226
|
+
this.currentView = 'month';
|
|
1227
|
+
this.$emit('year-change', {month: this.currentMonth + 1, year: this.currentYear});
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
setTimeout(this.updateFocus, 0);
|
|
1155
1231
|
},
|
|
1156
1232
|
enableModality() {
|
|
1157
1233
|
if (!this.mask) {
|
|
@@ -1206,6 +1282,10 @@ var script = {
|
|
|
1206
1282
|
}
|
|
1207
1283
|
},
|
|
1208
1284
|
isValidSelection(value) {
|
|
1285
|
+
if (value == null) {
|
|
1286
|
+
return true;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1209
1289
|
let isValid = true;
|
|
1210
1290
|
if (this.isSingleSelection()) {
|
|
1211
1291
|
if (!this.isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false)) {
|
|
@@ -1374,7 +1454,7 @@ var script = {
|
|
|
1374
1454
|
iValue++;
|
|
1375
1455
|
};
|
|
1376
1456
|
|
|
1377
|
-
if (this.
|
|
1457
|
+
if (this.currentView === 'month') {
|
|
1378
1458
|
day = 1;
|
|
1379
1459
|
}
|
|
1380
1460
|
|
|
@@ -1569,7 +1649,9 @@ var script = {
|
|
|
1569
1649
|
}
|
|
1570
1650
|
|
|
1571
1651
|
//enter
|
|
1572
|
-
|
|
1652
|
+
//space
|
|
1653
|
+
case 13:
|
|
1654
|
+
case 32: {
|
|
1573
1655
|
this.onDateSelect(event, date);
|
|
1574
1656
|
event.preventDefault();
|
|
1575
1657
|
break;
|
|
@@ -1599,7 +1681,7 @@ var script = {
|
|
|
1599
1681
|
}
|
|
1600
1682
|
else {
|
|
1601
1683
|
let prevMonthContainer = this.overlay.children[groupIndex - 1];
|
|
1602
|
-
let cells = DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
1684
|
+
let cells = DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
1603
1685
|
let focusCell = cells[cells.length - 1];
|
|
1604
1686
|
focusCell.tabIndex = '0';
|
|
1605
1687
|
focusCell.focus();
|
|
@@ -1612,7 +1694,7 @@ var script = {
|
|
|
1612
1694
|
}
|
|
1613
1695
|
else {
|
|
1614
1696
|
let nextMonthContainer = this.overlay.children[groupIndex + 1];
|
|
1615
|
-
let focusCell = DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
1697
|
+
let focusCell = DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
1616
1698
|
focusCell.tabIndex = '0';
|
|
1617
1699
|
focusCell.focus();
|
|
1618
1700
|
}
|
|
@@ -1645,6 +1727,10 @@ var script = {
|
|
|
1645
1727
|
prevCell.tabIndex = '0';
|
|
1646
1728
|
prevCell.focus();
|
|
1647
1729
|
}
|
|
1730
|
+
else {
|
|
1731
|
+
this.navigationState = {backward: true};
|
|
1732
|
+
this.navBackward(event);
|
|
1733
|
+
}
|
|
1648
1734
|
event.preventDefault();
|
|
1649
1735
|
break;
|
|
1650
1736
|
}
|
|
@@ -1657,12 +1743,18 @@ var script = {
|
|
|
1657
1743
|
nextCell.tabIndex = '0';
|
|
1658
1744
|
nextCell.focus();
|
|
1659
1745
|
}
|
|
1746
|
+
else {
|
|
1747
|
+
this.navigationState = {backward: false};
|
|
1748
|
+
this.navForward(event);
|
|
1749
|
+
}
|
|
1660
1750
|
event.preventDefault();
|
|
1661
1751
|
break;
|
|
1662
1752
|
}
|
|
1663
1753
|
|
|
1664
1754
|
//enter
|
|
1665
|
-
|
|
1755
|
+
//space
|
|
1756
|
+
case 13:
|
|
1757
|
+
case 32: {
|
|
1666
1758
|
this.onMonthSelect(event, index);
|
|
1667
1759
|
event.preventDefault();
|
|
1668
1760
|
break;
|
|
@@ -1682,8 +1774,83 @@ var script = {
|
|
|
1682
1774
|
}
|
|
1683
1775
|
}
|
|
1684
1776
|
},
|
|
1777
|
+
onYearCellKeydown(event, index) {
|
|
1778
|
+
const cell = event.currentTarget;
|
|
1779
|
+
|
|
1780
|
+
switch (event.which) {
|
|
1781
|
+
//arrows
|
|
1782
|
+
case 38:
|
|
1783
|
+
case 40: {
|
|
1784
|
+
cell.tabIndex = '-1';
|
|
1785
|
+
var cells = cell.parentElement.children;
|
|
1786
|
+
var cellIndex = DomHandler.index(cell);
|
|
1787
|
+
let nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];
|
|
1788
|
+
if (nextCell) {
|
|
1789
|
+
nextCell.tabIndex = '0';
|
|
1790
|
+
nextCell.focus();
|
|
1791
|
+
}
|
|
1792
|
+
event.preventDefault();
|
|
1793
|
+
break;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
//left arrow
|
|
1797
|
+
case 37: {
|
|
1798
|
+
cell.tabIndex = '-1';
|
|
1799
|
+
let prevCell = cell.previousElementSibling;
|
|
1800
|
+
if (prevCell) {
|
|
1801
|
+
prevCell.tabIndex = '0';
|
|
1802
|
+
prevCell.focus();
|
|
1803
|
+
}
|
|
1804
|
+
else {
|
|
1805
|
+
this.navigationState = {backward: true};
|
|
1806
|
+
this.navBackward(event);
|
|
1807
|
+
}
|
|
1808
|
+
event.preventDefault();
|
|
1809
|
+
break;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
//right arrow
|
|
1813
|
+
case 39: {
|
|
1814
|
+
cell.tabIndex = '-1';
|
|
1815
|
+
let nextCell = cell.nextElementSibling;
|
|
1816
|
+
if (nextCell) {
|
|
1817
|
+
nextCell.tabIndex = '0';
|
|
1818
|
+
nextCell.focus();
|
|
1819
|
+
}
|
|
1820
|
+
else {
|
|
1821
|
+
this.navigationState = {backward: false};
|
|
1822
|
+
this.navForward(event);
|
|
1823
|
+
}
|
|
1824
|
+
event.preventDefault();
|
|
1825
|
+
break;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
//enter
|
|
1829
|
+
//space
|
|
1830
|
+
case 13:
|
|
1831
|
+
case 32: {
|
|
1832
|
+
this.onYearSelect(event, index);
|
|
1833
|
+
event.preventDefault();
|
|
1834
|
+
break;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
//escape
|
|
1838
|
+
case 27: {
|
|
1839
|
+
this.overlayVisible = false;
|
|
1840
|
+
event.preventDefault();
|
|
1841
|
+
break;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
//tab
|
|
1845
|
+
case 9: {
|
|
1846
|
+
this.trapFocus(event);
|
|
1847
|
+
break;
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1685
1851
|
updateFocus() {
|
|
1686
1852
|
let cell;
|
|
1853
|
+
|
|
1687
1854
|
if (this.navigationState) {
|
|
1688
1855
|
if (this.navigationState.button) {
|
|
1689
1856
|
this.initFocusableCell();
|
|
@@ -1695,11 +1862,32 @@ var script = {
|
|
|
1695
1862
|
}
|
|
1696
1863
|
else {
|
|
1697
1864
|
if (this.navigationState.backward) {
|
|
1698
|
-
let cells
|
|
1699
|
-
|
|
1865
|
+
let cells;
|
|
1866
|
+
|
|
1867
|
+
if (this.currentView === 'month') {
|
|
1868
|
+
cells = DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
|
|
1869
|
+
}
|
|
1870
|
+
else if (this.currentView === 'year') {
|
|
1871
|
+
cells = DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
|
|
1872
|
+
}
|
|
1873
|
+
else {
|
|
1874
|
+
cells = DomHandler.find(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
if (cells && cells.length > 0) {
|
|
1878
|
+
cell = cells[cells.length - 1];
|
|
1879
|
+
}
|
|
1700
1880
|
}
|
|
1701
1881
|
else {
|
|
1702
|
-
|
|
1882
|
+
if (this.currentView === 'month') {
|
|
1883
|
+
cell = DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
|
|
1884
|
+
}
|
|
1885
|
+
else if (this.currentView === 'year') {
|
|
1886
|
+
cell = DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
|
|
1887
|
+
}
|
|
1888
|
+
else {
|
|
1889
|
+
cell = DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
|
1890
|
+
}
|
|
1703
1891
|
}
|
|
1704
1892
|
|
|
1705
1893
|
if (cell) {
|
|
@@ -1717,25 +1905,35 @@ var script = {
|
|
|
1717
1905
|
initFocusableCell() {
|
|
1718
1906
|
let cell;
|
|
1719
1907
|
|
|
1720
|
-
if (this.
|
|
1908
|
+
if (this.currentView === 'month') {
|
|
1721
1909
|
let cells = DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month');
|
|
1722
1910
|
let selectedCell= DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month.p-highlight');
|
|
1723
1911
|
cells.forEach(cell => cell.tabIndex = -1);
|
|
1724
1912
|
cell = selectedCell || cells[0];
|
|
1725
1913
|
}
|
|
1914
|
+
else if (this.currentView === 'year') {
|
|
1915
|
+
let cells = DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year');
|
|
1916
|
+
let selectedCell= DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year.p-highlight');
|
|
1917
|
+
cells.forEach(cell => cell.tabIndex = -1);
|
|
1918
|
+
cell = selectedCell || cells[0];
|
|
1919
|
+
}
|
|
1726
1920
|
else {
|
|
1727
1921
|
cell = DomHandler.findSingle(this.overlay, 'span.p-highlight');
|
|
1728
1922
|
if (!cell) {
|
|
1729
|
-
let todayCell = DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not(.p-disabled)');
|
|
1923
|
+
let todayCell = DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink');
|
|
1730
1924
|
if (todayCell)
|
|
1731
1925
|
cell = todayCell;
|
|
1732
1926
|
else
|
|
1733
|
-
cell = DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled)');
|
|
1927
|
+
cell = DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink');
|
|
1734
1928
|
}
|
|
1735
1929
|
}
|
|
1736
1930
|
|
|
1737
1931
|
if (cell) {
|
|
1738
1932
|
cell.tabIndex = '0';
|
|
1933
|
+
|
|
1934
|
+
if ((!this.navigationState || !this.navigationState.button) && !this.timePickerChange) {
|
|
1935
|
+
cell.focus();
|
|
1936
|
+
}
|
|
1739
1937
|
}
|
|
1740
1938
|
},
|
|
1741
1939
|
trapFocus(event) {
|
|
@@ -1779,12 +1977,6 @@ var script = {
|
|
|
1779
1977
|
}
|
|
1780
1978
|
},
|
|
1781
1979
|
onInput(event) {
|
|
1782
|
-
// IE 11 Workaround for input placeholder : https://github.com/primefaces/primeng/issues/2026
|
|
1783
|
-
if (!this.isKeydown) {
|
|
1784
|
-
return;
|
|
1785
|
-
}
|
|
1786
|
-
this.isKeydown = false;
|
|
1787
|
-
|
|
1788
1980
|
try {
|
|
1789
1981
|
this.selectionStart = this.$refs.input.$el.selectionStart;
|
|
1790
1982
|
this.selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
@@ -1795,9 +1987,9 @@ var script = {
|
|
|
1795
1987
|
}
|
|
1796
1988
|
}
|
|
1797
1989
|
catch(err) {
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1990
|
+
if (this.keepInvalid) {
|
|
1991
|
+
this.updateModel(event.target.value);
|
|
1992
|
+
}
|
|
1801
1993
|
}
|
|
1802
1994
|
},
|
|
1803
1995
|
onFocus() {
|
|
@@ -1809,8 +2001,7 @@ var script = {
|
|
|
1809
2001
|
onBlur() {
|
|
1810
2002
|
this.focused = false;
|
|
1811
2003
|
},
|
|
1812
|
-
onKeyDown(
|
|
1813
|
-
this.isKeydown = true;
|
|
2004
|
+
onKeyDown() {
|
|
1814
2005
|
if (event.keyCode === 40 && this.overlay) {
|
|
1815
2006
|
this.trapFocus(event);
|
|
1816
2007
|
}
|
|
@@ -1843,23 +2034,81 @@ var script = {
|
|
|
1843
2034
|
target: this.$el
|
|
1844
2035
|
});
|
|
1845
2036
|
}
|
|
2037
|
+
},
|
|
2038
|
+
onOverlayMouseUp(event) {
|
|
2039
|
+
this.onOverlayClick(event);
|
|
2040
|
+
},
|
|
2041
|
+
createResponsiveStyle() {
|
|
2042
|
+
if (this.numberOfMonths > 1 && this.responsiveOptions) {
|
|
2043
|
+
if (!this.responsiveStyleElement) {
|
|
2044
|
+
this.responsiveStyleElement = document.createElement('style');
|
|
2045
|
+
this.responsiveStyleElement.type = 'text/css';
|
|
2046
|
+
document.body.appendChild(this.responsiveStyleElement);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
let innerHTML = '';
|
|
2050
|
+
if (this.responsiveOptions) {
|
|
2051
|
+
let responsiveOptions = [...this.responsiveOptions]
|
|
2052
|
+
.filter(o => !!(o.breakpoint && o.numMonths))
|
|
2053
|
+
.sort((o1, o2) => -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, { numeric: true }));
|
|
2054
|
+
|
|
2055
|
+
for (let i = 0; i < responsiveOptions.length; i++) {
|
|
2056
|
+
let { breakpoint, numMonths } = responsiveOptions[i];
|
|
2057
|
+
let styles = `
|
|
2058
|
+
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next {
|
|
2059
|
+
display: inline-flex !important;
|
|
2060
|
+
}
|
|
2061
|
+
`;
|
|
2062
|
+
|
|
2063
|
+
for (let j = numMonths; j < this.numberOfMonths; j++) {
|
|
2064
|
+
styles += `
|
|
2065
|
+
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) {
|
|
2066
|
+
display: none !important;
|
|
2067
|
+
}
|
|
2068
|
+
`;
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
innerHTML += `
|
|
2072
|
+
@media screen and (max-width: ${breakpoint}) {
|
|
2073
|
+
${styles}
|
|
2074
|
+
}
|
|
2075
|
+
`;
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
this.responsiveStyleElement.innerHTML = innerHTML;
|
|
2080
|
+
}
|
|
2081
|
+
},
|
|
2082
|
+
destroyResponsiveStyleElement() {
|
|
2083
|
+
if (this.responsiveStyleElement) {
|
|
2084
|
+
this.responsiveStyleElement.remove();
|
|
2085
|
+
this.responsiveStyleElement = null;
|
|
2086
|
+
}
|
|
1846
2087
|
}
|
|
1847
2088
|
},
|
|
1848
2089
|
computed: {
|
|
1849
2090
|
viewDate() {
|
|
1850
2091
|
let propValue = this.modelValue;
|
|
1851
|
-
if (typeof propValue === 'string') {
|
|
1852
|
-
return new Date();
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
2092
|
if (propValue && Array.isArray(propValue)) {
|
|
1856
2093
|
propValue = propValue[0];
|
|
1857
2094
|
}
|
|
1858
2095
|
|
|
1859
|
-
|
|
2096
|
+
if (propValue && typeof propValue !== 'string') {
|
|
2097
|
+
return propValue;
|
|
2098
|
+
}
|
|
2099
|
+
else {
|
|
2100
|
+
let today = new Date();
|
|
2101
|
+
if (this.maxDate && this.maxDate < today) {
|
|
2102
|
+
return this.maxDate;
|
|
2103
|
+
}
|
|
2104
|
+
if (this.minDate && this.minDate > today) {
|
|
2105
|
+
return this.minDate;
|
|
2106
|
+
}
|
|
2107
|
+
return today;
|
|
2108
|
+
}
|
|
1860
2109
|
},
|
|
1861
2110
|
inputFieldValue() {
|
|
1862
|
-
return this.
|
|
2111
|
+
return this.formatValue(this.modelValue);
|
|
1863
2112
|
},
|
|
1864
2113
|
containerClass() {
|
|
1865
2114
|
return [
|
|
@@ -1878,7 +2127,8 @@ var script = {
|
|
|
1878
2127
|
'p-disabled': this.$attrs.disabled,
|
|
1879
2128
|
'p-datepicker-timeonly': this.timeOnly,
|
|
1880
2129
|
'p-datepicker-multiple-month': this.numberOfMonths > 1,
|
|
1881
|
-
'p-datepicker-monthpicker': (this.
|
|
2130
|
+
'p-datepicker-monthpicker': (this.currentView === 'month'),
|
|
2131
|
+
'p-datepicker-yearpicker': (this.currentView === 'year'),
|
|
1882
2132
|
'p-datepicker-touch-ui': this.touchUI,
|
|
1883
2133
|
'p-input-filled': this.$primevue.config.inputStyle === 'filled',
|
|
1884
2134
|
'p-ripple-disabled': this.$primevue.config.ripple === false
|
|
@@ -2006,6 +2256,15 @@ var script = {
|
|
|
2006
2256
|
|
|
2007
2257
|
return monthPickerValues;
|
|
2008
2258
|
},
|
|
2259
|
+
yearPickerValues() {
|
|
2260
|
+
let yearPickerValues = [];
|
|
2261
|
+
let base = this.currentYear - (this.currentYear % 10);
|
|
2262
|
+
for (let i = 0; i < 10; i++) {
|
|
2263
|
+
yearPickerValues.push(base + i);
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
return yearPickerValues;
|
|
2267
|
+
},
|
|
2009
2268
|
formattedCurrentHour() {
|
|
2010
2269
|
return this.currentHour < 10 ? '0' + this.currentHour : this.currentHour;
|
|
2011
2270
|
},
|
|
@@ -2032,6 +2291,12 @@ var script = {
|
|
|
2032
2291
|
},
|
|
2033
2292
|
appendTarget() {
|
|
2034
2293
|
return this.appendDisabled ? null : this.appendTo;
|
|
2294
|
+
},
|
|
2295
|
+
attributeSelector() {
|
|
2296
|
+
return UniqueComponentId();
|
|
2297
|
+
},
|
|
2298
|
+
switchViewButtonDisabled() {
|
|
2299
|
+
return this.numberOfMonths > 1 || this.$attrs.disabled;
|
|
2035
2300
|
}
|
|
2036
2301
|
},
|
|
2037
2302
|
components: {
|
|
@@ -2048,37 +2313,37 @@ const _hoisted_2 = { class: "p-datepicker-header" };
|
|
|
2048
2313
|
const _hoisted_3 = /*#__PURE__*/createVNode("span", { class: "p-datepicker-prev-icon pi pi-chevron-left" }, null, -1);
|
|
2049
2314
|
const _hoisted_4 = { class: "p-datepicker-title" };
|
|
2050
2315
|
const _hoisted_5 = {
|
|
2051
|
-
key: 0,
|
|
2052
|
-
class: "p-datepicker-month"
|
|
2053
|
-
};
|
|
2054
|
-
const _hoisted_6 = {
|
|
2055
2316
|
key: 2,
|
|
2056
|
-
class: "p-datepicker-
|
|
2317
|
+
class: "p-datepicker-decade"
|
|
2057
2318
|
};
|
|
2058
|
-
const
|
|
2059
|
-
const
|
|
2319
|
+
const _hoisted_6 = /*#__PURE__*/createVNode("span", { class: "p-datepicker-next-icon pi pi-chevron-right" }, null, -1);
|
|
2320
|
+
const _hoisted_7 = {
|
|
2060
2321
|
key: 0,
|
|
2061
2322
|
class: "p-datepicker-calendar-container"
|
|
2062
2323
|
};
|
|
2063
|
-
const
|
|
2064
|
-
const
|
|
2324
|
+
const _hoisted_8 = { class: "p-datepicker-calendar" };
|
|
2325
|
+
const _hoisted_9 = {
|
|
2065
2326
|
key: 0,
|
|
2066
2327
|
scope: "col",
|
|
2067
2328
|
class: "p-datepicker-weekheader p-disabled"
|
|
2068
2329
|
};
|
|
2069
|
-
const
|
|
2330
|
+
const _hoisted_10 = {
|
|
2070
2331
|
key: 0,
|
|
2071
2332
|
class: "p-datepicker-weeknumber"
|
|
2072
2333
|
};
|
|
2073
|
-
const
|
|
2074
|
-
const
|
|
2334
|
+
const _hoisted_11 = { class: "p-disabled" };
|
|
2335
|
+
const _hoisted_12 = {
|
|
2075
2336
|
key: 0,
|
|
2076
2337
|
style: {"visibility":"hidden"}
|
|
2077
2338
|
};
|
|
2078
|
-
const
|
|
2339
|
+
const _hoisted_13 = {
|
|
2079
2340
|
key: 0,
|
|
2080
2341
|
class: "p-monthpicker"
|
|
2081
2342
|
};
|
|
2343
|
+
const _hoisted_14 = {
|
|
2344
|
+
key: 1,
|
|
2345
|
+
class: "p-yearpicker"
|
|
2346
|
+
};
|
|
2082
2347
|
const _hoisted_15 = {
|
|
2083
2348
|
key: 1,
|
|
2084
2349
|
class: "p-timepicker"
|
|
@@ -2160,7 +2425,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2160
2425
|
}, [
|
|
2161
2426
|
createVNode(Transition, {
|
|
2162
2427
|
name: "p-connected-overlay",
|
|
2163
|
-
onEnter: _cache[
|
|
2428
|
+
onEnter: _cache[61] || (_cache[61] = $event => ($options.onOverlayEnter($event))),
|
|
2164
2429
|
onAfterEnter: $options.onOverlayEnterComplete,
|
|
2165
2430
|
onAfterLeave: $options.onOverlayAfterLeave,
|
|
2166
2431
|
onLeave: $options.onOverlayLeave
|
|
@@ -2172,7 +2437,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2172
2437
|
ref: $options.overlayRef,
|
|
2173
2438
|
class: $options.panelStyleClass,
|
|
2174
2439
|
role: $props.inline ? null : 'dialog',
|
|
2175
|
-
onClick: _cache[
|
|
2440
|
+
onClick: _cache[59] || (_cache[59] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
|
|
2441
|
+
onMouseup: _cache[60] || (_cache[60] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
|
|
2176
2442
|
}, [
|
|
2177
2443
|
(!$props.timeOnly)
|
|
2178
2444
|
? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
@@ -2184,80 +2450,65 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2184
2450
|
}, [
|
|
2185
2451
|
createVNode("div", _hoisted_2, [
|
|
2186
2452
|
renderSlot(_ctx.$slots, "header"),
|
|
2187
|
-
(
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
])
|
|
2200
|
-
: createCommentVNode("", true),
|
|
2453
|
+
withDirectives(createVNode("button", {
|
|
2454
|
+
class: "p-datepicker-prev p-link",
|
|
2455
|
+
onClick: _cache[1] || (_cache[1] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
|
|
2456
|
+
type: "button",
|
|
2457
|
+
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2458
|
+
disabled: _ctx.$attrs.disabled
|
|
2459
|
+
}, [
|
|
2460
|
+
_hoisted_3
|
|
2461
|
+
], 40, ["disabled"]), [
|
|
2462
|
+
[vShow, groupIndex === 0],
|
|
2463
|
+
[_directive_ripple]
|
|
2464
|
+
]),
|
|
2201
2465
|
createVNode("div", _hoisted_4, [
|
|
2202
|
-
(
|
|
2203
|
-
? (openBlock(), createBlock("
|
|
2466
|
+
($data.currentView === 'date')
|
|
2467
|
+
? (openBlock(), createBlock("button", {
|
|
2468
|
+
key: 0,
|
|
2469
|
+
type: "button",
|
|
2470
|
+
onClick: _cache[3] || (_cache[3] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
|
|
2471
|
+
class: "p-datepicker-month p-link",
|
|
2472
|
+
disabled: $options.switchViewButtonDisabled
|
|
2473
|
+
}, toDisplayString($options.getMonthName(month.month)), 9, ["disabled"]))
|
|
2204
2474
|
: createCommentVNode("", true),
|
|
2205
|
-
($
|
|
2206
|
-
? (openBlock(), createBlock("
|
|
2475
|
+
($data.currentView !== 'year')
|
|
2476
|
+
? (openBlock(), createBlock("button", {
|
|
2207
2477
|
key: 1,
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
value: index,
|
|
2214
|
-
key: monthName,
|
|
2215
|
-
selected: index === month.month
|
|
2216
|
-
}, toDisplayString(monthName), 9, ["value", "selected"]))
|
|
2217
|
-
}), 128))
|
|
2218
|
-
], 32))
|
|
2219
|
-
: createCommentVNode("", true),
|
|
2220
|
-
(!$props.yearNavigator)
|
|
2221
|
-
? (openBlock(), createBlock("span", _hoisted_6, toDisplayString($props.view === 'month' ? $data.currentYear : month.year), 1))
|
|
2478
|
+
type: "button",
|
|
2479
|
+
onClick: _cache[4] || (_cache[4] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
|
|
2480
|
+
class: "p-datepicker-year p-link",
|
|
2481
|
+
disabled: $options.switchViewButtonDisabled
|
|
2482
|
+
}, toDisplayString($data.currentYear), 9, ["disabled"]))
|
|
2222
2483
|
: createCommentVNode("", true),
|
|
2223
|
-
($
|
|
2224
|
-
? (openBlock(), createBlock("
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
(openBlock(true), createBlock(Fragment, null, renderList($options.yearOptions, (year) => {
|
|
2230
|
-
return (openBlock(), createBlock("option", {
|
|
2231
|
-
value: year,
|
|
2232
|
-
key: year,
|
|
2233
|
-
selected: year === $data.currentYear
|
|
2234
|
-
}, toDisplayString(year), 9, ["value", "selected"]))
|
|
2235
|
-
}), 128))
|
|
2236
|
-
], 32))
|
|
2484
|
+
($data.currentView === 'year')
|
|
2485
|
+
? (openBlock(), createBlock("span", _hoisted_5, [
|
|
2486
|
+
renderSlot(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
|
|
2487
|
+
createTextVNode(toDisplayString($options.yearPickerValues[0]) + " - " + toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1]), 1)
|
|
2488
|
+
])
|
|
2489
|
+
]))
|
|
2237
2490
|
: createCommentVNode("", true)
|
|
2238
2491
|
]),
|
|
2239
|
-
(
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
])
|
|
2252
|
-
: createCommentVNode("", true)
|
|
2492
|
+
withDirectives(createVNode("button", {
|
|
2493
|
+
class: "p-datepicker-next p-link",
|
|
2494
|
+
onClick: _cache[5] || (_cache[5] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
|
|
2495
|
+
type: "button",
|
|
2496
|
+
onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2497
|
+
disabled: _ctx.$attrs.disabled
|
|
2498
|
+
}, [
|
|
2499
|
+
_hoisted_6
|
|
2500
|
+
], 40, ["disabled"]), [
|
|
2501
|
+
[vShow, $props.numberOfMonths === 1 ? true : (groupIndex === $props.numberOfMonths - 1)],
|
|
2502
|
+
[_directive_ripple]
|
|
2503
|
+
])
|
|
2253
2504
|
]),
|
|
2254
|
-
($
|
|
2255
|
-
? (openBlock(), createBlock("div",
|
|
2256
|
-
createVNode("table",
|
|
2505
|
+
($data.currentView ==='date')
|
|
2506
|
+
? (openBlock(), createBlock("div", _hoisted_7, [
|
|
2507
|
+
createVNode("table", _hoisted_8, [
|
|
2257
2508
|
createVNode("thead", null, [
|
|
2258
2509
|
createVNode("tr", null, [
|
|
2259
2510
|
($props.showWeek)
|
|
2260
|
-
? (openBlock(), createBlock("th",
|
|
2511
|
+
? (openBlock(), createBlock("th", _hoisted_9, [
|
|
2261
2512
|
createVNode("span", null, toDisplayString($options.weekHeaderLabel), 1)
|
|
2262
2513
|
]))
|
|
2263
2514
|
: createCommentVNode("", true),
|
|
@@ -2277,10 +2528,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2277
2528
|
key: week[0].day + '' + week[0].month
|
|
2278
2529
|
}, [
|
|
2279
2530
|
($props.showWeek)
|
|
2280
|
-
? (openBlock(), createBlock("td",
|
|
2281
|
-
createVNode("span",
|
|
2531
|
+
? (openBlock(), createBlock("td", _hoisted_10, [
|
|
2532
|
+
createVNode("span", _hoisted_11, [
|
|
2282
2533
|
(month.weekNumbers[i] < 10)
|
|
2283
|
-
? (openBlock(), createBlock("span",
|
|
2534
|
+
? (openBlock(), createBlock("span", _hoisted_12, "0"))
|
|
2284
2535
|
: createCommentVNode("", true),
|
|
2285
2536
|
createTextVNode(" " + toDisplayString(month.weekNumbers[i]), 1)
|
|
2286
2537
|
])
|
|
@@ -2314,8 +2565,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2314
2565
|
]))
|
|
2315
2566
|
}), 128))
|
|
2316
2567
|
]),
|
|
2317
|
-
($
|
|
2318
|
-
? (openBlock(), createBlock("div",
|
|
2568
|
+
($data.currentView === 'month')
|
|
2569
|
+
? (openBlock(), createBlock("div", _hoisted_13, [
|
|
2319
2570
|
(openBlock(true), createBlock(Fragment, null, renderList($options.monthPickerValues, (m, i) => {
|
|
2320
2571
|
return withDirectives((openBlock(), createBlock("span", {
|
|
2321
2572
|
key: m,
|
|
@@ -2329,6 +2580,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2329
2580
|
])
|
|
2330
2581
|
}), 128))
|
|
2331
2582
|
]))
|
|
2583
|
+
: createCommentVNode("", true),
|
|
2584
|
+
($data.currentView === 'year')
|
|
2585
|
+
? (openBlock(), createBlock("div", _hoisted_14, [
|
|
2586
|
+
(openBlock(true), createBlock(Fragment, null, renderList($options.yearPickerValues, (y) => {
|
|
2587
|
+
return withDirectives((openBlock(), createBlock("span", {
|
|
2588
|
+
key: y,
|
|
2589
|
+
onClick: $event => ($options.onYearSelect($event, y)),
|
|
2590
|
+
onKeydown: $event => ($options.onYearCellKeydown($event,y)),
|
|
2591
|
+
class: ["p-yearpicker-year", {'p-highlight': $options.isYearSelected(y)}]
|
|
2592
|
+
}, [
|
|
2593
|
+
createTextVNode(toDisplayString(y), 1)
|
|
2594
|
+
], 42, ["onClick", "onKeydown"])), [
|
|
2595
|
+
[_directive_ripple]
|
|
2596
|
+
])
|
|
2597
|
+
}), 128))
|
|
2598
|
+
]))
|
|
2332
2599
|
: createCommentVNode("", true)
|
|
2333
2600
|
], 64))
|
|
2334
2601
|
: createCommentVNode("", true),
|
|
@@ -2341,10 +2608,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2341
2608
|
onMouseup: _cache[8] || (_cache[8] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2342
2609
|
onKeydown: [
|
|
2343
2610
|
_cache[9] || (_cache[9] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2344
|
-
_cache[11] || (_cache[11] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["enter"]))
|
|
2611
|
+
_cache[11] || (_cache[11] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["enter"])),
|
|
2612
|
+
_cache[12] || (_cache[12] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["space"]))
|
|
2345
2613
|
],
|
|
2346
2614
|
onMouseleave: _cache[10] || (_cache[10] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2347
|
-
onKeyup:
|
|
2615
|
+
onKeyup: [
|
|
2616
|
+
_cache[13] || (_cache[13] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2617
|
+
_cache[14] || (_cache[14] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2618
|
+
],
|
|
2348
2619
|
type: "button"
|
|
2349
2620
|
}, [
|
|
2350
2621
|
_hoisted_17
|
|
@@ -2354,14 +2625,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2354
2625
|
createVNode("span", null, toDisplayString($options.formattedCurrentHour), 1),
|
|
2355
2626
|
withDirectives(createVNode("button", {
|
|
2356
2627
|
class: "p-link",
|
|
2357
|
-
onMousedown: _cache[
|
|
2358
|
-
onMouseup: _cache[
|
|
2628
|
+
onMousedown: _cache[15] || (_cache[15] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
|
|
2629
|
+
onMouseup: _cache[16] || (_cache[16] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2359
2630
|
onKeydown: [
|
|
2360
|
-
_cache[
|
|
2361
|
-
_cache[
|
|
2631
|
+
_cache[17] || (_cache[17] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2632
|
+
_cache[19] || (_cache[19] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["enter"])),
|
|
2633
|
+
_cache[20] || (_cache[20] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["space"]))
|
|
2634
|
+
],
|
|
2635
|
+
onMouseleave: _cache[18] || (_cache[18] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2636
|
+
onKeyup: [
|
|
2637
|
+
_cache[21] || (_cache[21] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2638
|
+
_cache[22] || (_cache[22] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2362
2639
|
],
|
|
2363
|
-
onMouseleave: _cache[16] || (_cache[16] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2364
|
-
onKeyup: _cache[18] || (_cache[18] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2365
2640
|
type: "button"
|
|
2366
2641
|
}, [
|
|
2367
2642
|
_hoisted_18
|
|
@@ -2375,15 +2650,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2375
2650
|
createVNode("div", _hoisted_20, [
|
|
2376
2651
|
withDirectives(createVNode("button", {
|
|
2377
2652
|
class: "p-link",
|
|
2378
|
-
onMousedown: _cache[
|
|
2379
|
-
onMouseup: _cache[
|
|
2653
|
+
onMousedown: _cache[23] || (_cache[23] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
|
|
2654
|
+
onMouseup: _cache[24] || (_cache[24] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2380
2655
|
onKeydown: [
|
|
2381
|
-
_cache[
|
|
2382
|
-
_cache[
|
|
2656
|
+
_cache[25] || (_cache[25] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2657
|
+
_cache[27] || (_cache[27] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["enter"])),
|
|
2658
|
+
_cache[28] || (_cache[28] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["space"]))
|
|
2383
2659
|
],
|
|
2384
2660
|
disabled: _ctx.$attrs.disabled,
|
|
2385
|
-
onMouseleave: _cache[
|
|
2386
|
-
onKeyup:
|
|
2661
|
+
onMouseleave: _cache[26] || (_cache[26] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2662
|
+
onKeyup: [
|
|
2663
|
+
_cache[29] || (_cache[29] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2664
|
+
_cache[30] || (_cache[30] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2665
|
+
],
|
|
2387
2666
|
type: "button"
|
|
2388
2667
|
}, [
|
|
2389
2668
|
_hoisted_21
|
|
@@ -2393,15 +2672,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2393
2672
|
createVNode("span", null, toDisplayString($options.formattedCurrentMinute), 1),
|
|
2394
2673
|
withDirectives(createVNode("button", {
|
|
2395
2674
|
class: "p-link",
|
|
2396
|
-
onMousedown: _cache[
|
|
2397
|
-
onMouseup: _cache[
|
|
2675
|
+
onMousedown: _cache[31] || (_cache[31] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
|
|
2676
|
+
onMouseup: _cache[32] || (_cache[32] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2398
2677
|
onKeydown: [
|
|
2399
|
-
_cache[
|
|
2400
|
-
_cache[
|
|
2678
|
+
_cache[33] || (_cache[33] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2679
|
+
_cache[35] || (_cache[35] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["enter"])),
|
|
2680
|
+
_cache[36] || (_cache[36] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["space"]))
|
|
2401
2681
|
],
|
|
2402
2682
|
disabled: _ctx.$attrs.disabled,
|
|
2403
|
-
onMouseleave: _cache[
|
|
2404
|
-
onKeyup:
|
|
2683
|
+
onMouseleave: _cache[34] || (_cache[34] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2684
|
+
onKeyup: [
|
|
2685
|
+
_cache[37] || (_cache[37] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2686
|
+
_cache[38] || (_cache[38] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2687
|
+
],
|
|
2405
2688
|
type: "button"
|
|
2406
2689
|
}, [
|
|
2407
2690
|
_hoisted_22
|
|
@@ -2418,15 +2701,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2418
2701
|
? (openBlock(), createBlock("div", _hoisted_24, [
|
|
2419
2702
|
withDirectives(createVNode("button", {
|
|
2420
2703
|
class: "p-link",
|
|
2421
|
-
onMousedown: _cache[
|
|
2422
|
-
onMouseup: _cache[
|
|
2704
|
+
onMousedown: _cache[39] || (_cache[39] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
|
|
2705
|
+
onMouseup: _cache[40] || (_cache[40] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2423
2706
|
onKeydown: [
|
|
2424
|
-
_cache[
|
|
2425
|
-
_cache[
|
|
2707
|
+
_cache[41] || (_cache[41] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2708
|
+
_cache[43] || (_cache[43] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["enter"])),
|
|
2709
|
+
_cache[44] || (_cache[44] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["space"]))
|
|
2426
2710
|
],
|
|
2427
2711
|
disabled: _ctx.$attrs.disabled,
|
|
2428
|
-
onMouseleave: _cache[
|
|
2429
|
-
onKeyup:
|
|
2712
|
+
onMouseleave: _cache[42] || (_cache[42] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2713
|
+
onKeyup: [
|
|
2714
|
+
_cache[45] || (_cache[45] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2715
|
+
_cache[46] || (_cache[46] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2716
|
+
],
|
|
2430
2717
|
type: "button"
|
|
2431
2718
|
}, [
|
|
2432
2719
|
_hoisted_25
|
|
@@ -2436,15 +2723,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2436
2723
|
createVNode("span", null, toDisplayString($options.formattedCurrentSecond), 1),
|
|
2437
2724
|
withDirectives(createVNode("button", {
|
|
2438
2725
|
class: "p-link",
|
|
2439
|
-
onMousedown: _cache[
|
|
2440
|
-
onMouseup: _cache[
|
|
2726
|
+
onMousedown: _cache[47] || (_cache[47] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
|
|
2727
|
+
onMouseup: _cache[48] || (_cache[48] = $event => ($options.onTimePickerElementMouseUp($event))),
|
|
2441
2728
|
onKeydown: [
|
|
2442
|
-
_cache[
|
|
2443
|
-
_cache[
|
|
2729
|
+
_cache[49] || (_cache[49] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2730
|
+
_cache[51] || (_cache[51] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["enter"])),
|
|
2731
|
+
_cache[52] || (_cache[52] = withKeys($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["space"]))
|
|
2444
2732
|
],
|
|
2445
2733
|
disabled: _ctx.$attrs.disabled,
|
|
2446
|
-
onMouseleave: _cache[
|
|
2447
|
-
onKeyup:
|
|
2734
|
+
onMouseleave: _cache[50] || (_cache[50] = $event => ($options.onTimePickerElementMouseLeave())),
|
|
2735
|
+
onKeyup: [
|
|
2736
|
+
_cache[53] || (_cache[53] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
|
|
2737
|
+
_cache[54] || (_cache[54] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2738
|
+
],
|
|
2448
2739
|
type: "button"
|
|
2449
2740
|
}, [
|
|
2450
2741
|
_hoisted_26
|
|
@@ -2462,7 +2753,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2462
2753
|
? (openBlock(), createBlock("div", _hoisted_28, [
|
|
2463
2754
|
withDirectives(createVNode("button", {
|
|
2464
2755
|
class: "p-link",
|
|
2465
|
-
onClick: _cache[
|
|
2756
|
+
onClick: _cache[55] || (_cache[55] = $event => ($options.toggleAMPM($event))),
|
|
2466
2757
|
type: "button",
|
|
2467
2758
|
disabled: _ctx.$attrs.disabled
|
|
2468
2759
|
}, [
|
|
@@ -2473,7 +2764,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2473
2764
|
createVNode("span", null, toDisplayString($data.pm ? 'PM' : 'AM'), 1),
|
|
2474
2765
|
withDirectives(createVNode("button", {
|
|
2475
2766
|
class: "p-link",
|
|
2476
|
-
onClick: _cache[
|
|
2767
|
+
onClick: _cache[56] || (_cache[56] = $event => ($options.toggleAMPM($event))),
|
|
2477
2768
|
type: "button",
|
|
2478
2769
|
disabled: _ctx.$attrs.disabled
|
|
2479
2770
|
}, [
|
|
@@ -2490,21 +2781,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2490
2781
|
createVNode(_component_CalendarButton, {
|
|
2491
2782
|
type: "button",
|
|
2492
2783
|
label: $options.todayLabel,
|
|
2493
|
-
onClick: _cache[
|
|
2784
|
+
onClick: _cache[57] || (_cache[57] = $event => ($options.onTodayButtonClick($event))),
|
|
2494
2785
|
class: "p-button-text",
|
|
2495
2786
|
onKeydown: $options.onContainerButtonKeydown
|
|
2496
2787
|
}, null, 8, ["label", "onKeydown"]),
|
|
2497
2788
|
createVNode(_component_CalendarButton, {
|
|
2498
2789
|
type: "button",
|
|
2499
2790
|
label: $options.clearLabel,
|
|
2500
|
-
onClick: _cache[
|
|
2791
|
+
onClick: _cache[58] || (_cache[58] = $event => ($options.onClearButtonClick($event))),
|
|
2501
2792
|
class: "p-button-text",
|
|
2502
2793
|
onKeydown: $options.onContainerButtonKeydown
|
|
2503
2794
|
}, null, 8, ["label", "onKeydown"])
|
|
2504
2795
|
]))
|
|
2505
2796
|
: createCommentVNode("", true),
|
|
2506
2797
|
renderSlot(_ctx.$slots, "footer")
|
|
2507
|
-
],
|
|
2798
|
+
], 42, ["role"]))
|
|
2508
2799
|
: createCommentVNode("", true)
|
|
2509
2800
|
]),
|
|
2510
2801
|
_: 3
|
|
@@ -2540,7 +2831,7 @@ function styleInject(css, ref) {
|
|
|
2540
2831
|
}
|
|
2541
2832
|
}
|
|
2542
2833
|
|
|
2543
|
-
var css_248z = "\n.p-calendar {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-calendar .p-inputtext {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-calendar-w-btn .p-inputtext {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-calendar-w-btn .p-datepicker-trigger {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n/* Fluid */\n.p-fluid .p-calendar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-calendar .p-inputtext {\n width: 1%;\n}\n\n/* Datepicker */\n.p-calendar .p-datepicker {\n min-width: 100%;\n}\n.p-datepicker {\n\twidth: auto;\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-datepicker-inline {\n display:
|
|
2834
|
+
var css_248z = "\n.p-calendar {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n max-width: 100%;\n}\n.p-calendar .p-inputtext {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-calendar-w-btn .p-inputtext {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-calendar-w-btn .p-datepicker-trigger {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n/* Fluid */\n.p-fluid .p-calendar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-calendar .p-inputtext {\n width: 1%;\n}\n\n/* Datepicker */\n.p-calendar .p-datepicker {\n min-width: 100%;\n}\n.p-datepicker {\n\twidth: auto;\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-datepicker-inline {\n display: inline-block;\n position: static;\n overflow-x: auto;\n}\n\n/* Header */\n.p-datepicker-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-datepicker-header .p-datepicker-title {\n margin: 0 auto;\n}\n.p-datepicker-prev,\n.p-datepicker-next {\n cursor: pointer;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Multiple Month DatePicker */\n.p-datepicker-multiple-month .p-datepicker-group-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n\n/* DatePicker Table */\n.p-datepicker table {\n\twidth: 100%;\n\tborder-collapse: collapse;\n}\n.p-datepicker td > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n margin: 0 auto;\n overflow: hidden;\n position: relative;\n}\n\n/* Month Picker */\n.p-monthpicker-month {\n width: 33.3%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Year Picker */\n.p-yearpicker-year {\n width: 50%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Button Bar */\n.p-datepicker-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n/* Time Picker */\n.p-timepicker {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-timepicker button {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n.p-timepicker > div {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n/* Touch UI */\n.p-datepicker-touch-ui,\n.p-calendar .p-datepicker-touch-ui {\n position: fixed;\n top: 50%;\n left: 50%;\n min-width: 80vw;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n";
|
|
2544
2835
|
styleInject(css_248z);
|
|
2545
2836
|
|
|
2546
2837
|
script.render = render;
|