primevue 3.28.0 → 3.29.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/README.md +3 -3
- package/autocomplete/AutoComplete.d.ts +153 -1
- package/autocomplete/AutoComplete.vue +46 -17
- package/autocomplete/autocomplete.cjs.js +80 -74
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +80 -75
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +81 -76
- package/autocomplete/autocomplete.min.js +1 -1
- package/basecomponent/BaseComponent.vue +19 -5
- package/basecomponent/basecomponent.cjs.js +19 -5
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +19 -5
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +20 -7
- package/basecomponent/basecomponent.min.js +1 -1
- package/calendar/Calendar.d.ts +269 -0
- package/calendar/Calendar.vue +75 -59
- package/calendar/calendar.cjs.js +223 -259
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +223 -260
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +224 -261
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.d.ts +154 -0
- package/carousel/Carousel.vue +27 -14
- package/carousel/carousel.cjs.js +64 -65
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +64 -66
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +65 -67
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +133 -0
- package/cascadeselect/CascadeSelect.vue +15 -12
- package/cascadeselect/CascadeSelectSub.vue +7 -3
- package/cascadeselect/cascadeselect.cjs.js +63 -66
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +63 -67
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +64 -68
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/Checkbox.d.ts +60 -0
- package/checkbox/Checkbox.vue +7 -5
- package/checkbox/checkbox.cjs.js +17 -15
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +17 -16
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +18 -17
- package/checkbox/checkbox.min.js +1 -1
- package/chips/Chips.d.ts +80 -0
- package/chips/Chips.vue +9 -5
- package/chips/chips.cjs.js +23 -24
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +23 -25
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +24 -26
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +76 -0
- package/colorpicker/ColorPicker.vue +11 -9
- package/colorpicker/colorpicker.cjs.js +28 -27
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +28 -28
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +29 -29
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +303 -2
- package/column/Column.vue +3 -0
- package/column/column.cjs.js +7 -0
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +3 -0
- package/column/column.esm.min.js +1 -1
- package/column/column.js +7 -2
- package/column/column.min.js +1 -1
- package/columngroup/ColumnGroup.d.ts +34 -0
- package/columngroup/ColumnGroup.vue +3 -0
- package/columngroup/columngroup.cjs.js +7 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +3 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +7 -2
- package/columngroup/columngroup.min.js +1 -1
- package/config/PrimeVue.d.ts +163 -2
- package/confirmdialog/ConfirmDialog.d.ts +14 -7
- package/contextmenu/ContextMenu.d.ts +1 -1
- package/core/core.js +448 -331
- package/core/core.min.js +9 -9
- package/datatable/BodyCell.vue +29 -13
- package/datatable/ColumnFilter.vue +49 -20
- package/datatable/DataTable.d.ts +188 -1
- package/datatable/DataTable.vue +25 -14
- package/datatable/FooterCell.vue +15 -1
- package/datatable/HeaderCell.vue +31 -6
- package/datatable/HeaderCheckbox.vue +35 -5
- package/datatable/RowCheckbox.vue +36 -5
- package/datatable/RowRadioButton.vue +26 -6
- package/datatable/TableBody.vue +41 -11
- package/datatable/TableFooter.vue +31 -5
- package/datatable/TableHeader.vue +53 -6
- package/datatable/datatable.cjs.js +559 -376
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +559 -377
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +560 -378
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +72 -0
- package/dataview/DataView.vue +13 -8
- package/dataview/dataview.cjs.js +33 -37
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +33 -38
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +33 -38
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +65 -0
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +7 -5
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +19 -17
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -18
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +20 -19
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/dialog/Dialog.d.ts +6 -4
- package/dialog/Dialog.vue +2 -3
- package/dialog/dialog.cjs.js +4 -5
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +4 -5
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +4 -5
- package/dialog/dialog.min.js +1 -1
- package/dropdown/Dropdown.d.ts +162 -1
- package/dropdown/Dropdown.vue +44 -25
- package/dropdown/dropdown.cjs.js +97 -93
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +97 -94
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +98 -95
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.d.ts +67 -0
- package/editor/Editor.vue +35 -33
- package/editor/editor.cjs.js +88 -73
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +85 -74
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +89 -75
- package/editor/editor.min.js +1 -1
- package/fileupload/FileUpload.d.ts +23 -23
- package/fileupload/FileUpload.vue +3 -3
- package/fileupload/fileupload.cjs.js +4 -4
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +4 -4
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +4 -4
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/Galleria.d.ts +196 -0
- package/galleria/Galleria.vue +5 -3
- package/galleria/GalleriaContent.vue +10 -6
- package/galleria/GalleriaItem.vue +12 -9
- package/galleria/GalleriaThumbnails.vue +46 -9
- package/galleria/galleria.cjs.js +106 -104
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +106 -105
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +107 -106
- package/galleria/galleria.min.js +1 -1
- package/image/Image.d.ts +170 -0
- package/image/Image.vue +49 -21
- package/image/image.cjs.js +94 -59
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +94 -60
- package/image/image.esm.min.js +1 -1
- package/image/image.js +95 -61
- package/image/image.min.js +1 -1
- package/inputmask/InputMask.d.ts +25 -0
- package/inputmask/InputMask.vue +3 -1
- package/inputmask/inputmask.cjs.js +9 -3
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +6 -4
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +10 -5
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +69 -0
- package/inputnumber/InputNumber.vue +13 -11
- package/inputnumber/inputnumber.cjs.js +19 -28
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +19 -29
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +20 -30
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +51 -0
- package/inputswitch/InputSwitch.vue +7 -4
- package/inputswitch/inputswitch.cjs.js +15 -11
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +12 -12
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +16 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +25 -0
- package/inputtext/InputText.vue +4 -1
- package/inputtext/inputtext.cjs.js +9 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +6 -4
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +10 -5
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.d.ts +78 -0
- package/knob/Knob.vue +8 -4
- package/knob/knob.cjs.js +17 -13
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +14 -14
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +18 -15
- package/knob/knob.min.js +1 -1
- package/listbox/Listbox.d.ts +137 -1
- package/listbox/Listbox.vue +28 -15
- package/listbox/listbox.cjs.js +83 -78
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +83 -79
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +84 -80
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +5 -5
- package/menu/Menu.d.ts +4 -4
- package/menubar/Menubar.d.ts +1 -1
- package/multiselect/MultiSelect.d.ts +223 -1
- package/multiselect/MultiSelect.vue +72 -41
- package/multiselect/multiselect.cjs.js +156 -151
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +156 -152
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +157 -153
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +94 -0
- package/orderlist/OrderList.vue +38 -18
- package/orderlist/orderlist.cjs.js +50 -36
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +50 -37
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +51 -38
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +129 -0
- package/organizationchart/OrganizationChart.vue +14 -2
- package/organizationchart/OrganizationChartNode.vue +37 -16
- package/organizationchart/organizationchart.cjs.js +77 -61
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +77 -62
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +78 -63
- package/organizationchart/organizationchart.min.js +1 -1
- package/package.json +1 -1
- package/paginator/CurrentPageReport.vue +5 -1
- package/paginator/FirstPageLink.vue +13 -2
- package/paginator/JumpToPageDropdown.vue +3 -1
- package/paginator/JumpToPageInput.vue +3 -1
- package/paginator/LastPageLink.vue +13 -2
- package/paginator/NextPageLink.vue +13 -2
- package/paginator/PageLinks.vue +12 -2
- package/paginator/Paginator.d.ts +133 -0
- package/paginator/Paginator.vue +23 -12
- package/paginator/PrevPageLink.vue +13 -2
- package/paginator/RowsPerPageDropdown.vue +3 -1
- package/paginator/paginator.cjs.js +135 -76
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +135 -77
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +136 -78
- package/paginator/paginator.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +4 -8
- package/password/Password.d.ts +104 -0
- package/password/Password.vue +11 -9
- package/password/password.cjs.js +26 -28
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +26 -29
- package/password/password.esm.min.js +1 -1
- package/password/password.js +27 -30
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +160 -0
- package/picklist/PickList.vue +46 -34
- package/picklist/picklist.cjs.js +111 -85
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +111 -86
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +112 -87
- package/picklist/picklist.min.js +1 -1
- package/radiobutton/RadioButton.d.ts +55 -0
- package/radiobutton/RadioButton.vue +7 -5
- package/radiobutton/radiobutton.cjs.js +19 -16
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +16 -17
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +20 -18
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/Rating.d.ts +96 -0
- package/rating/Rating.vue +32 -9
- package/rating/rating.cjs.js +41 -34
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +41 -35
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +42 -36
- package/rating/rating.min.js +1 -1
- package/row/Row.d.ts +29 -0
- package/row/Row.vue +3 -0
- package/row/row.cjs.js +7 -0
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +3 -0
- package/row/row.esm.min.js +1 -1
- package/row/row.js +7 -2
- package/row/row.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +68 -0
- package/selectbutton/SelectButton.vue +13 -2
- package/selectbutton/selectbutton.cjs.js +20 -10
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +20 -11
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +21 -12
- package/selectbutton/selectbutton.min.js +1 -1
- package/slider/Slider.d.ts +48 -0
- package/slider/Slider.vue +7 -2
- package/slider/slider.cjs.js +22 -16
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +19 -17
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +23 -18
- package/slider/slider.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +0 -4
- package/splitbutton/SplitButton.vue +2 -2
- package/splitbutton/splitbutton.cjs.js +7 -6
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +7 -6
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +7 -6
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +3 -3
- package/textarea/Textarea.d.ts +32 -0
- package/textarea/Textarea.vue +4 -1
- package/textarea/textarea.cjs.js +9 -3
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +6 -4
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +10 -5
- package/textarea/textarea.min.js +1 -1
- package/timeline/Timeline.d.ts +49 -0
- package/timeline/Timeline.vue +9 -7
- package/timeline/timeline.cjs.js +19 -21
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +16 -22
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +20 -23
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +4 -0
- package/toast/Toast.vue +1 -1
- package/toast/toast.cjs.js +3 -3
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +3 -3
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +3 -3
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +59 -0
- package/togglebutton/ToggleButton.vue +7 -5
- package/togglebutton/togglebutton.cjs.js +15 -14
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +15 -15
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +16 -16
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/Tooltip.d.ts +10 -0
- package/tooltip/tooltip.cjs.js +51 -9
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +52 -10
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +51 -9
- package/tooltip/tooltip.min.js +1 -1
- package/tree/Tree.d.ts +137 -0
- package/tree/Tree.vue +12 -9
- package/tree/TreeNode.vue +23 -10
- package/tree/tree.cjs.js +85 -79
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +85 -80
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +86 -81
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +103 -1
- package/treeselect/TreeSelect.vue +15 -12
- package/treeselect/treeselect.cjs.js +37 -39
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +37 -40
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +38 -41
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +38 -10
- package/treetable/FooterCell.vue +15 -1
- package/treetable/HeaderCell.vue +28 -5
- package/treetable/TreeTable.d.ts +162 -0
- package/treetable/TreeTable.vue +25 -19
- package/treetable/TreeTableRow.vue +5 -0
- package/treetable/treetable.cjs.js +205 -158
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +205 -159
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +206 -160
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +93 -0
- package/tristatecheckbox/TriStateCheckbox.vue +19 -8
- package/tristatecheckbox/tristatecheckbox.cjs.js +31 -22
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +31 -23
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +32 -24
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/ts-helpers.d.ts +3 -1
- package/vetur-attributes.json +180 -0
- package/vetur-tags.json +94 -39
- package/virtualscroller/VirtualScroller.d.ts +97 -0
- package/virtualscroller/VirtualScroller.vue +7 -5
- package/virtualscroller/virtualscroller.cjs.js +22 -19
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +22 -20
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +23 -21
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +467 -3
- package/datatable/TableLoadingBody.vue +0 -25
package/calendar/calendar.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
1
2
|
import Button from 'primevue/button';
|
|
2
3
|
import CalendarIcon from 'primevue/icons/calendar';
|
|
3
4
|
import ChevronDownIcon from 'primevue/icons/chevrondown';
|
|
@@ -8,10 +9,11 @@ import OverlayEventBus from 'primevue/overlayeventbus';
|
|
|
8
9
|
import Portal from 'primevue/portal';
|
|
9
10
|
import Ripple from 'primevue/ripple';
|
|
10
11
|
import { DomHandler, ZIndexUtils, ConnectedOverlayScrollHandler, UniqueComponentId } from 'primevue/utils';
|
|
11
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock,
|
|
12
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createCommentVNode, createBlock, withCtx, renderSlot, resolveDynamicComponent, createVNode, Transition, Fragment, createElementVNode, renderList, withDirectives, vShow, toDisplayString, createTextVNode, normalizeProps, guardReactiveProps, withKeys } from 'vue';
|
|
12
13
|
|
|
13
14
|
var script = {
|
|
14
15
|
name: 'Calendar',
|
|
16
|
+
extends: BaseComponent,
|
|
15
17
|
emits: ['show', 'hide', 'input', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click', 'focus', 'blur', 'keydown'],
|
|
16
18
|
props: {
|
|
17
19
|
modelValue: null,
|
|
@@ -2257,7 +2259,7 @@ var script = {
|
|
|
2257
2259
|
this.$emit('input', event);
|
|
2258
2260
|
},
|
|
2259
2261
|
onInputClick() {
|
|
2260
|
-
if (this.isEnabled() && !this.overlayVisible) {
|
|
2262
|
+
if (this.showOnFocus && this.isEnabled() && !this.overlayVisible) {
|
|
2261
2263
|
this.overlayVisible = true;
|
|
2262
2264
|
}
|
|
2263
2265
|
},
|
|
@@ -2652,113 +2654,34 @@ var script = {
|
|
|
2652
2654
|
const _hoisted_1 = ["id"];
|
|
2653
2655
|
const _hoisted_2 = ["id", "placeholder", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly"];
|
|
2654
2656
|
const _hoisted_3 = ["id", "role", "aria-modal", "aria-label"];
|
|
2655
|
-
const _hoisted_4 =
|
|
2656
|
-
const _hoisted_5 =
|
|
2657
|
+
const _hoisted_4 = ["disabled", "aria-label"];
|
|
2658
|
+
const _hoisted_5 = ["disabled", "aria-label"];
|
|
2657
2659
|
const _hoisted_6 = ["disabled", "aria-label"];
|
|
2658
|
-
const _hoisted_7 =
|
|
2659
|
-
const _hoisted_8 = ["
|
|
2660
|
-
const _hoisted_9 = ["
|
|
2661
|
-
const _hoisted_10 =
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
const
|
|
2666
|
-
const
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
const
|
|
2671
|
-
|
|
2672
|
-
role: "grid"
|
|
2673
|
-
};
|
|
2674
|
-
const _hoisted_14 = {
|
|
2675
|
-
key: 0,
|
|
2676
|
-
scope: "col",
|
|
2677
|
-
class: "p-datepicker-weekheader p-disabled"
|
|
2678
|
-
};
|
|
2679
|
-
const _hoisted_15 = ["abbr"];
|
|
2680
|
-
const _hoisted_16 = {
|
|
2681
|
-
key: 0,
|
|
2682
|
-
class: "p-datepicker-weeknumber"
|
|
2683
|
-
};
|
|
2684
|
-
const _hoisted_17 = { class: "p-disabled" };
|
|
2685
|
-
const _hoisted_18 = {
|
|
2686
|
-
key: 0,
|
|
2687
|
-
style: {"visibility":"hidden"}
|
|
2688
|
-
};
|
|
2689
|
-
const _hoisted_19 = ["aria-label"];
|
|
2690
|
-
const _hoisted_20 = ["onClick", "onKeydown", "aria-selected"];
|
|
2691
|
-
const _hoisted_21 = {
|
|
2692
|
-
key: 0,
|
|
2693
|
-
class: "p-hidden-accessible",
|
|
2694
|
-
"aria-live": "polite"
|
|
2695
|
-
};
|
|
2696
|
-
const _hoisted_22 = {
|
|
2697
|
-
key: 0,
|
|
2698
|
-
class: "p-monthpicker"
|
|
2699
|
-
};
|
|
2700
|
-
const _hoisted_23 = ["onClick", "onKeydown"];
|
|
2701
|
-
const _hoisted_24 = {
|
|
2702
|
-
key: 0,
|
|
2703
|
-
class: "p-hidden-accessible",
|
|
2704
|
-
"aria-live": "polite"
|
|
2705
|
-
};
|
|
2706
|
-
const _hoisted_25 = {
|
|
2707
|
-
key: 1,
|
|
2708
|
-
class: "p-yearpicker"
|
|
2709
|
-
};
|
|
2710
|
-
const _hoisted_26 = ["onClick", "onKeydown"];
|
|
2711
|
-
const _hoisted_27 = {
|
|
2712
|
-
key: 0,
|
|
2713
|
-
class: "p-hidden-accessible",
|
|
2714
|
-
"aria-live": "polite"
|
|
2715
|
-
};
|
|
2716
|
-
const _hoisted_28 = {
|
|
2717
|
-
key: 1,
|
|
2718
|
-
class: "p-timepicker"
|
|
2719
|
-
};
|
|
2720
|
-
const _hoisted_29 = { class: "p-hour-picker" };
|
|
2721
|
-
const _hoisted_30 = ["aria-label"];
|
|
2722
|
-
const _hoisted_31 = ["aria-label"];
|
|
2723
|
-
const _hoisted_32 = { class: "p-separator" };
|
|
2724
|
-
const _hoisted_33 = { class: "p-minute-picker" };
|
|
2725
|
-
const _hoisted_34 = ["aria-label", "disabled"];
|
|
2726
|
-
const _hoisted_35 = ["aria-label", "disabled"];
|
|
2727
|
-
const _hoisted_36 = {
|
|
2728
|
-
key: 0,
|
|
2729
|
-
class: "p-separator"
|
|
2730
|
-
};
|
|
2731
|
-
const _hoisted_37 = {
|
|
2732
|
-
key: 1,
|
|
2733
|
-
class: "p-second-picker"
|
|
2734
|
-
};
|
|
2735
|
-
const _hoisted_38 = ["aria-label", "disabled"];
|
|
2736
|
-
const _hoisted_39 = ["aria-label", "disabled"];
|
|
2737
|
-
const _hoisted_40 = {
|
|
2738
|
-
key: 2,
|
|
2739
|
-
class: "p-separator"
|
|
2740
|
-
};
|
|
2741
|
-
const _hoisted_41 = {
|
|
2742
|
-
key: 3,
|
|
2743
|
-
class: "p-ampm-picker"
|
|
2744
|
-
};
|
|
2745
|
-
const _hoisted_42 = ["aria-label", "disabled"];
|
|
2746
|
-
const _hoisted_43 = ["aria-label", "disabled"];
|
|
2747
|
-
const _hoisted_44 = {
|
|
2748
|
-
key: 2,
|
|
2749
|
-
class: "p-datepicker-buttonbar"
|
|
2750
|
-
};
|
|
2660
|
+
const _hoisted_7 = ["disabled", "aria-label"];
|
|
2661
|
+
const _hoisted_8 = ["abbr"];
|
|
2662
|
+
const _hoisted_9 = ["aria-label"];
|
|
2663
|
+
const _hoisted_10 = ["onClick", "onKeydown", "aria-selected"];
|
|
2664
|
+
const _hoisted_11 = ["onClick", "onKeydown"];
|
|
2665
|
+
const _hoisted_12 = ["onClick", "onKeydown"];
|
|
2666
|
+
const _hoisted_13 = ["aria-label"];
|
|
2667
|
+
const _hoisted_14 = ["aria-label"];
|
|
2668
|
+
const _hoisted_15 = ["aria-label", "disabled"];
|
|
2669
|
+
const _hoisted_16 = ["aria-label", "disabled"];
|
|
2670
|
+
const _hoisted_17 = ["aria-label", "disabled"];
|
|
2671
|
+
const _hoisted_18 = ["aria-label", "disabled"];
|
|
2672
|
+
const _hoisted_19 = ["aria-label", "disabled"];
|
|
2673
|
+
const _hoisted_20 = ["aria-label", "disabled"];
|
|
2751
2674
|
|
|
2752
2675
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2753
2676
|
const _component_CalendarButton = resolveComponent("CalendarButton");
|
|
2754
2677
|
const _component_Portal = resolveComponent("Portal");
|
|
2755
2678
|
const _directive_ripple = resolveDirective("ripple");
|
|
2756
2679
|
|
|
2757
|
-
return (openBlock(), createElementBlock("span", {
|
|
2680
|
+
return (openBlock(), createElementBlock("span", mergeProps({
|
|
2758
2681
|
ref: "container",
|
|
2759
2682
|
id: $props.id,
|
|
2760
|
-
class:
|
|
2761
|
-
}, [
|
|
2683
|
+
class: $options.containerClass
|
|
2684
|
+
}, _ctx.ptm('root')), [
|
|
2762
2685
|
(!$props.inline)
|
|
2763
2686
|
? (openBlock(), createElementBlock("input", mergeProps({
|
|
2764
2687
|
key: 0,
|
|
@@ -2785,7 +2708,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2785
2708
|
onFocus: _cache[2] || (_cache[2] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
2786
2709
|
onBlur: _cache[3] || (_cache[3] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
2787
2710
|
onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
|
|
2788
|
-
},
|
|
2711
|
+
}, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, _hoisted_2))
|
|
2789
2712
|
: createCommentVNode("", true),
|
|
2790
2713
|
($props.showIcon)
|
|
2791
2714
|
? (openBlock(), createBlock(_component_CalendarButton, {
|
|
@@ -2797,17 +2720,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2797
2720
|
"aria-label": _ctx.$primevue.config.locale.chooseDate,
|
|
2798
2721
|
"aria-haspopup": "dialog",
|
|
2799
2722
|
"aria-expanded": $data.overlayVisible,
|
|
2800
|
-
"aria-controls": $options.panelId
|
|
2723
|
+
"aria-controls": $options.panelId,
|
|
2724
|
+
pt: _ctx.ptm('dropdownButton')
|
|
2801
2725
|
}, {
|
|
2802
2726
|
icon: withCtx(() => [
|
|
2803
2727
|
renderSlot(_ctx.$slots, "dropdownicon", {}, () => [
|
|
2804
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), {
|
|
2805
|
-
class: normalizeClass($props.icon)
|
|
2806
|
-
}, null, 8, ["class"]))
|
|
2728
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), mergeProps({ class: $props.icon }, _ctx.ptm('dropdownButton')['icon']), null, 16, ["class"]))
|
|
2807
2729
|
])
|
|
2808
2730
|
]),
|
|
2809
2731
|
_: 3
|
|
2810
|
-
}, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls"]))
|
|
2732
|
+
}, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls", "pt"]))
|
|
2811
2733
|
: createCommentVNode("", true),
|
|
2812
2734
|
createVNode(_component_Portal, {
|
|
2813
2735
|
appendTo: $props.appendTo,
|
|
@@ -2835,37 +2757,37 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2835
2757
|
onClick: _cache[65] || (_cache[65] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
|
|
2836
2758
|
onKeydown: _cache[66] || (_cache[66] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args))),
|
|
2837
2759
|
onMouseup: _cache[67] || (_cache[67] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
|
|
2838
|
-
},
|
|
2760
|
+
}, { ...$props.panelProps, ..._ctx.ptm('panel') }), [
|
|
2839
2761
|
(!$props.timeOnly)
|
|
2840
2762
|
? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2841
|
-
createElementVNode("div",
|
|
2763
|
+
createElementVNode("div", mergeProps({ class: "p-datepicker-group-container" }, _ctx.ptm('groupContainer')), [
|
|
2842
2764
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.months, (month, groupIndex) => {
|
|
2843
|
-
return (openBlock(), createElementBlock("div", {
|
|
2765
|
+
return (openBlock(), createElementBlock("div", mergeProps({
|
|
2844
2766
|
key: month.month + month.year,
|
|
2845
2767
|
class: "p-datepicker-group"
|
|
2846
|
-
}, [
|
|
2847
|
-
createElementVNode("div",
|
|
2768
|
+
}, _ctx.ptm('group')), [
|
|
2769
|
+
createElementVNode("div", mergeProps({ class: "p-datepicker-header" }, _ctx.ptm('header')), [
|
|
2848
2770
|
renderSlot(_ctx.$slots, "header"),
|
|
2849
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
2771
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
2850
2772
|
class: "p-datepicker-prev p-link",
|
|
2851
2773
|
onClick: _cache[5] || (_cache[5] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
|
|
2852
2774
|
type: "button",
|
|
2853
2775
|
onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2854
2776
|
disabled: $props.disabled,
|
|
2855
2777
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.prevDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.prevYear : _ctx.$primevue.config.locale.prevMonth
|
|
2856
|
-
}, [
|
|
2778
|
+
}, _ctx.ptm('previousButton')), [
|
|
2857
2779
|
renderSlot(_ctx.$slots, "previousicon", {}, () => [
|
|
2858
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), {
|
|
2859
|
-
class:
|
|
2860
|
-
}, null,
|
|
2780
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), mergeProps({
|
|
2781
|
+
class: ['p-datepicker-prev-icon', $props.previousIcon]
|
|
2782
|
+
}, _ctx.ptm('previousIcon')), null, 16, ["class"]))
|
|
2861
2783
|
])
|
|
2862
|
-
],
|
|
2784
|
+
], 16, _hoisted_4)), [
|
|
2863
2785
|
[vShow, $props.showOtherMonths ? groupIndex === 0 : false],
|
|
2864
2786
|
[_directive_ripple]
|
|
2865
2787
|
]),
|
|
2866
|
-
createElementVNode("div",
|
|
2788
|
+
createElementVNode("div", mergeProps({ class: "p-datepicker-title" }, _ctx.ptm('title')), [
|
|
2867
2789
|
($data.currentView === 'date')
|
|
2868
|
-
? (openBlock(), createElementBlock("button", {
|
|
2790
|
+
? (openBlock(), createElementBlock("button", mergeProps({
|
|
2869
2791
|
key: 0,
|
|
2870
2792
|
type: "button",
|
|
2871
2793
|
onClick: _cache[7] || (_cache[7] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
|
|
@@ -2873,10 +2795,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2873
2795
|
class: "p-datepicker-month p-link",
|
|
2874
2796
|
disabled: $options.switchViewButtonDisabled,
|
|
2875
2797
|
"aria-label": _ctx.$primevue.config.locale.chooseMonth
|
|
2876
|
-
}, toDisplayString($options.getMonthName(month.month)),
|
|
2798
|
+
}, _ctx.ptm('monthTitle')), toDisplayString($options.getMonthName(month.month)), 17, _hoisted_5))
|
|
2877
2799
|
: createCommentVNode("", true),
|
|
2878
2800
|
($data.currentView !== 'year')
|
|
2879
|
-
? (openBlock(), createElementBlock("button", {
|
|
2801
|
+
? (openBlock(), createElementBlock("button", mergeProps({
|
|
2880
2802
|
key: 1,
|
|
2881
2803
|
type: "button",
|
|
2882
2804
|
onClick: _cache[9] || (_cache[9] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
|
|
@@ -2884,147 +2806,187 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2884
2806
|
class: "p-datepicker-year p-link",
|
|
2885
2807
|
disabled: $options.switchViewButtonDisabled,
|
|
2886
2808
|
"aria-label": _ctx.$primevue.config.locale.chooseYear
|
|
2887
|
-
}, toDisplayString($options.getYear(month)),
|
|
2809
|
+
}, _ctx.ptm('yearTitle')), toDisplayString($options.getYear(month)), 17, _hoisted_6))
|
|
2888
2810
|
: createCommentVNode("", true),
|
|
2889
2811
|
($data.currentView === 'year')
|
|
2890
|
-
? (openBlock(), createElementBlock("span",
|
|
2812
|
+
? (openBlock(), createElementBlock("span", mergeProps({
|
|
2813
|
+
key: 2,
|
|
2814
|
+
class: "p-datepicker-decade"
|
|
2815
|
+
}, _ctx.ptm('decadeTitle')), [
|
|
2891
2816
|
renderSlot(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
|
|
2892
2817
|
createTextVNode(toDisplayString($options.yearPickerValues[0].value) + " - " + toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1].value), 1)
|
|
2893
2818
|
])
|
|
2894
|
-
]))
|
|
2819
|
+
], 16))
|
|
2895
2820
|
: createCommentVNode("", true)
|
|
2896
|
-
]),
|
|
2897
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
2821
|
+
], 16),
|
|
2822
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
2898
2823
|
class: "p-datepicker-next p-link",
|
|
2899
2824
|
onClick: _cache[11] || (_cache[11] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
|
|
2900
2825
|
type: "button",
|
|
2901
2826
|
onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2902
2827
|
disabled: $props.disabled,
|
|
2903
2828
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.nextDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.nextYear : _ctx.$primevue.config.locale.nextMonth
|
|
2904
|
-
}, [
|
|
2829
|
+
}, _ctx.ptm('nextButton')), [
|
|
2905
2830
|
renderSlot(_ctx.$slots, "nexticon", {}, () => [
|
|
2906
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), {
|
|
2907
|
-
class:
|
|
2908
|
-
}, null,
|
|
2831
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
2832
|
+
class: ['p-datepicker-next-icon', $props.nextIcon]
|
|
2833
|
+
}, _ctx.ptm('nextIcon')), null, 16, ["class"]))
|
|
2909
2834
|
])
|
|
2910
|
-
],
|
|
2835
|
+
], 16, _hoisted_7)), [
|
|
2911
2836
|
[vShow, $props.showOtherMonths ? ($props.numberOfMonths === 1 ? true : groupIndex === $props.numberOfMonths - 1) : false],
|
|
2912
2837
|
[_directive_ripple]
|
|
2913
2838
|
])
|
|
2914
|
-
]),
|
|
2839
|
+
], 16),
|
|
2915
2840
|
($data.currentView === 'date')
|
|
2916
|
-
? (openBlock(), createElementBlock("div",
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2841
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2842
|
+
key: 0,
|
|
2843
|
+
class: "p-datepicker-calendar-container"
|
|
2844
|
+
}, _ctx.ptm('container')), [
|
|
2845
|
+
createElementVNode("table", mergeProps({
|
|
2846
|
+
class: "p-datepicker-calendar",
|
|
2847
|
+
role: "grid"
|
|
2848
|
+
}, _ctx.ptm('table')), [
|
|
2849
|
+
createElementVNode("thead", normalizeProps(guardReactiveProps(_ctx.ptm('tableHeader'))), [
|
|
2850
|
+
createElementVNode("tr", normalizeProps(guardReactiveProps(_ctx.ptm('tableHeaderRow'))), [
|
|
2920
2851
|
($props.showWeek)
|
|
2921
|
-
? (openBlock(), createElementBlock("th",
|
|
2922
|
-
|
|
2923
|
-
|
|
2852
|
+
? (openBlock(), createElementBlock("th", mergeProps({
|
|
2853
|
+
key: 0,
|
|
2854
|
+
scope: "col",
|
|
2855
|
+
class: "p-datepicker-weekheader p-disabled"
|
|
2856
|
+
}, _ctx.ptm('tableHeaderCell')), [
|
|
2857
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('weekLabel'))), toDisplayString($options.weekHeaderLabel), 17)
|
|
2858
|
+
], 16))
|
|
2924
2859
|
: createCommentVNode("", true),
|
|
2925
2860
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.weekDays, (weekDay) => {
|
|
2926
|
-
return (openBlock(), createElementBlock("th", {
|
|
2861
|
+
return (openBlock(), createElementBlock("th", mergeProps({
|
|
2927
2862
|
key: weekDay,
|
|
2928
2863
|
scope: "col",
|
|
2929
2864
|
abbr: weekDay
|
|
2930
|
-
}, [
|
|
2931
|
-
createElementVNode("span",
|
|
2932
|
-
],
|
|
2865
|
+
}, _ctx.ptm('tableHeaderCell')), [
|
|
2866
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('weekDay'))), toDisplayString(weekDay), 17)
|
|
2867
|
+
], 16, _hoisted_8))
|
|
2933
2868
|
}), 128))
|
|
2934
|
-
])
|
|
2935
|
-
]),
|
|
2936
|
-
createElementVNode("tbody",
|
|
2869
|
+
], 16)
|
|
2870
|
+
], 16),
|
|
2871
|
+
createElementVNode("tbody", normalizeProps(guardReactiveProps(_ctx.ptm('tableBody'))), [
|
|
2937
2872
|
(openBlock(true), createElementBlock(Fragment, null, renderList(month.dates, (week, i) => {
|
|
2938
|
-
return (openBlock(), createElementBlock("tr", {
|
|
2873
|
+
return (openBlock(), createElementBlock("tr", mergeProps({
|
|
2939
2874
|
key: week[0].day + '' + week[0].month
|
|
2940
|
-
}, [
|
|
2875
|
+
}, _ctx.ptm('tableBodyRow')), [
|
|
2941
2876
|
($props.showWeek)
|
|
2942
|
-
? (openBlock(), createElementBlock("td",
|
|
2943
|
-
|
|
2877
|
+
? (openBlock(), createElementBlock("td", mergeProps({
|
|
2878
|
+
key: 0,
|
|
2879
|
+
class: "p-datepicker-weeknumber"
|
|
2880
|
+
}, _ctx.ptm('weekNumber')), [
|
|
2881
|
+
createElementVNode("span", mergeProps({ class: "p-disabled" }, _ctx.ptm('weekLabelContainer')), [
|
|
2944
2882
|
(month.weekNumbers[i] < 10)
|
|
2945
|
-
? (openBlock(), createElementBlock("span",
|
|
2883
|
+
? (openBlock(), createElementBlock("span", mergeProps({
|
|
2884
|
+
key: 0,
|
|
2885
|
+
style: {"visibility":"hidden"}
|
|
2886
|
+
}, _ctx.ptm('weekLabel')), "0", 16))
|
|
2946
2887
|
: createCommentVNode("", true),
|
|
2947
2888
|
createTextVNode(" " + toDisplayString(month.weekNumbers[i]), 1)
|
|
2948
|
-
])
|
|
2949
|
-
]))
|
|
2889
|
+
], 16)
|
|
2890
|
+
], 16))
|
|
2950
2891
|
: createCommentVNode("", true),
|
|
2951
2892
|
(openBlock(true), createElementBlock(Fragment, null, renderList(week, (date) => {
|
|
2952
|
-
return (openBlock(), createElementBlock("td", {
|
|
2893
|
+
return (openBlock(), createElementBlock("td", mergeProps({
|
|
2953
2894
|
key: date.day + '' + date.month,
|
|
2954
2895
|
"aria-label": date.day,
|
|
2955
|
-
class:
|
|
2956
|
-
}, [
|
|
2957
|
-
withDirectives((openBlock(), createElementBlock("span", {
|
|
2958
|
-
class:
|
|
2896
|
+
class: { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }
|
|
2897
|
+
}, _ctx.ptm('day')), [
|
|
2898
|
+
withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
2899
|
+
class: { 'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable },
|
|
2959
2900
|
onClick: $event => ($options.onDateSelect($event, date)),
|
|
2960
2901
|
draggable: "false",
|
|
2961
2902
|
onKeydown: $event => ($options.onDateCellKeydown($event, date, groupIndex)),
|
|
2962
2903
|
"aria-selected": $options.isSelected(date)
|
|
2963
|
-
}, [
|
|
2904
|
+
}, _ctx.ptm('dayLabel')), [
|
|
2964
2905
|
renderSlot(_ctx.$slots, "date", { date: date }, () => [
|
|
2965
2906
|
createTextVNode(toDisplayString(date.day), 1)
|
|
2966
2907
|
])
|
|
2967
|
-
],
|
|
2908
|
+
], 16, _hoisted_10)), [
|
|
2968
2909
|
[_directive_ripple]
|
|
2969
2910
|
]),
|
|
2970
2911
|
($options.isSelected(date))
|
|
2971
|
-
? (openBlock(), createElementBlock("div",
|
|
2912
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2913
|
+
key: 0,
|
|
2914
|
+
class: "p-hidden-accessible",
|
|
2915
|
+
"aria-live": "polite"
|
|
2916
|
+
}, _ctx.ptm('ariaSelectedDay')), toDisplayString(date.day), 17))
|
|
2972
2917
|
: createCommentVNode("", true)
|
|
2973
|
-
],
|
|
2918
|
+
], 16, _hoisted_9))
|
|
2974
2919
|
}), 128))
|
|
2975
|
-
]))
|
|
2920
|
+
], 16))
|
|
2976
2921
|
}), 128))
|
|
2977
|
-
])
|
|
2978
|
-
])
|
|
2979
|
-
]))
|
|
2922
|
+
], 16)
|
|
2923
|
+
], 16)
|
|
2924
|
+
], 16))
|
|
2980
2925
|
: createCommentVNode("", true)
|
|
2981
|
-
]))
|
|
2926
|
+
], 16))
|
|
2982
2927
|
}), 128))
|
|
2983
|
-
]),
|
|
2928
|
+
], 16),
|
|
2984
2929
|
($data.currentView === 'month')
|
|
2985
|
-
? (openBlock(), createElementBlock("div",
|
|
2930
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2931
|
+
key: 0,
|
|
2932
|
+
class: "p-monthpicker"
|
|
2933
|
+
}, _ctx.ptm('monthPicker')), [
|
|
2986
2934
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.monthPickerValues, (m, i) => {
|
|
2987
|
-
return withDirectives((openBlock(), createElementBlock("span", {
|
|
2935
|
+
return withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
2988
2936
|
key: m,
|
|
2989
2937
|
onClick: $event => ($options.onMonthSelect($event, { month: m, index: i })),
|
|
2990
2938
|
onKeydown: $event => ($options.onMonthCellKeydown($event, { month: m, index: i })),
|
|
2991
|
-
class:
|
|
2992
|
-
}, [
|
|
2939
|
+
class: ["p-monthpicker-month", { 'p-highlight': $options.isMonthSelected(i), 'p-disabled': !m.selectable }]
|
|
2940
|
+
}, _ctx.ptm('month')), [
|
|
2993
2941
|
createTextVNode(toDisplayString(m.value) + " ", 1),
|
|
2994
2942
|
($options.isMonthSelected(i))
|
|
2995
|
-
? (openBlock(), createElementBlock("div",
|
|
2943
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2944
|
+
key: 0,
|
|
2945
|
+
class: "p-hidden-accessible",
|
|
2946
|
+
"aria-live": "polite"
|
|
2947
|
+
}, _ctx.ptm('ariaMonth')), toDisplayString(m.value), 17))
|
|
2996
2948
|
: createCommentVNode("", true)
|
|
2997
|
-
],
|
|
2949
|
+
], 16, _hoisted_11)), [
|
|
2998
2950
|
[_directive_ripple]
|
|
2999
2951
|
])
|
|
3000
2952
|
}), 128))
|
|
3001
|
-
]))
|
|
2953
|
+
], 16))
|
|
3002
2954
|
: createCommentVNode("", true),
|
|
3003
2955
|
($data.currentView === 'year')
|
|
3004
|
-
? (openBlock(), createElementBlock("div",
|
|
2956
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2957
|
+
key: 1,
|
|
2958
|
+
class: "p-yearpicker"
|
|
2959
|
+
}, _ctx.ptm('yearPicker')), [
|
|
3005
2960
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.yearPickerValues, (y) => {
|
|
3006
|
-
return withDirectives((openBlock(), createElementBlock("span", {
|
|
2961
|
+
return withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
3007
2962
|
key: y.value,
|
|
3008
2963
|
onClick: $event => ($options.onYearSelect($event, y)),
|
|
3009
2964
|
onKeydown: $event => ($options.onYearCellKeydown($event, y)),
|
|
3010
|
-
class:
|
|
3011
|
-
}, [
|
|
2965
|
+
class: ["p-yearpicker-year", { 'p-highlight': $options.isYearSelected(y.value), 'p-disabled': !y.selectable }]
|
|
2966
|
+
}, _ctx.ptm('year')), [
|
|
3012
2967
|
createTextVNode(toDisplayString(y.value) + " ", 1),
|
|
3013
2968
|
($options.isYearSelected(y.value))
|
|
3014
|
-
? (openBlock(), createElementBlock("div",
|
|
2969
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2970
|
+
key: 0,
|
|
2971
|
+
class: "p-hidden-accessible",
|
|
2972
|
+
"aria-live": "polite"
|
|
2973
|
+
}, _ctx.ptm('ariaYear')), toDisplayString(y.value), 17))
|
|
3015
2974
|
: createCommentVNode("", true)
|
|
3016
|
-
],
|
|
2975
|
+
], 16, _hoisted_12)), [
|
|
3017
2976
|
[_directive_ripple]
|
|
3018
2977
|
])
|
|
3019
2978
|
}), 128))
|
|
3020
|
-
]))
|
|
2979
|
+
], 16))
|
|
3021
2980
|
: createCommentVNode("", true)
|
|
3022
2981
|
], 64))
|
|
3023
2982
|
: createCommentVNode("", true),
|
|
3024
2983
|
(($props.showTime || $props.timeOnly) && $data.currentView === 'date')
|
|
3025
|
-
? (openBlock(), createElementBlock("div",
|
|
3026
|
-
|
|
3027
|
-
|
|
2984
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
2985
|
+
key: 1,
|
|
2986
|
+
class: "p-timepicker"
|
|
2987
|
+
}, _ctx.ptm('timePicker')), [
|
|
2988
|
+
createElementVNode("div", mergeProps({ class: "p-hour-picker" }, _ctx.ptm('hourPicker')), [
|
|
2989
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3028
2990
|
class: "p-link",
|
|
3029
2991
|
"aria-label": _ctx.$primevue.config.locale.nextHour,
|
|
3030
2992
|
onMousedown: _cache[13] || (_cache[13] = $event => ($options.onTimePickerElementMouseDown($event, 0, 1))),
|
|
@@ -3040,17 +3002,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3040
3002
|
_cache[20] || (_cache[20] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3041
3003
|
],
|
|
3042
3004
|
type: "button"
|
|
3043
|
-
}, [
|
|
3005
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3044
3006
|
renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3045
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3046
|
-
class: normalizeClass($props.incrementIcon)
|
|
3047
|
-
}, null, 8, ["class"]))
|
|
3007
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3048
3008
|
])
|
|
3049
|
-
],
|
|
3009
|
+
], 16, _hoisted_13)), [
|
|
3050
3010
|
[_directive_ripple]
|
|
3051
3011
|
]),
|
|
3052
|
-
createElementVNode("span",
|
|
3053
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
3012
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('hour'))), toDisplayString($options.formattedCurrentHour), 17),
|
|
3013
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3054
3014
|
class: "p-link",
|
|
3055
3015
|
"aria-label": _ctx.$primevue.config.locale.prevHour,
|
|
3056
3016
|
onMousedown: _cache[21] || (_cache[21] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
|
|
@@ -3066,21 +3026,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3066
3026
|
_cache[28] || (_cache[28] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3067
3027
|
],
|
|
3068
3028
|
type: "button"
|
|
3069
|
-
}, [
|
|
3029
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3070
3030
|
renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3071
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3072
|
-
class: normalizeClass($props.decrementIcon)
|
|
3073
|
-
}, null, 8, ["class"]))
|
|
3031
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3074
3032
|
])
|
|
3075
|
-
],
|
|
3033
|
+
], 16, _hoisted_14)), [
|
|
3076
3034
|
[_directive_ripple]
|
|
3077
3035
|
])
|
|
3078
|
-
]),
|
|
3079
|
-
createElementVNode("div",
|
|
3080
|
-
createElementVNode("span",
|
|
3081
|
-
]),
|
|
3082
|
-
createElementVNode("div",
|
|
3083
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
3036
|
+
], 16),
|
|
3037
|
+
createElementVNode("div", mergeProps({ class: "p-separator" }, _ctx.ptm('separatorContainer')), [
|
|
3038
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
|
|
3039
|
+
], 16),
|
|
3040
|
+
createElementVNode("div", mergeProps({ class: "p-minute-picker" }, _ctx.ptm('minutePicker')), [
|
|
3041
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3084
3042
|
class: "p-link",
|
|
3085
3043
|
"aria-label": _ctx.$primevue.config.locale.nextMinute,
|
|
3086
3044
|
onMousedown: _cache[29] || (_cache[29] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
|
|
@@ -3097,17 +3055,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3097
3055
|
_cache[36] || (_cache[36] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3098
3056
|
],
|
|
3099
3057
|
type: "button"
|
|
3100
|
-
}, [
|
|
3058
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3101
3059
|
renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3102
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3103
|
-
class: normalizeClass($props.incrementIcon)
|
|
3104
|
-
}, null, 8, ["class"]))
|
|
3060
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3105
3061
|
])
|
|
3106
|
-
],
|
|
3062
|
+
], 16, _hoisted_15)), [
|
|
3107
3063
|
[_directive_ripple]
|
|
3108
3064
|
]),
|
|
3109
|
-
createElementVNode("span",
|
|
3110
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
3065
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('minute'))), toDisplayString($options.formattedCurrentMinute), 17),
|
|
3066
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3111
3067
|
class: "p-link",
|
|
3112
3068
|
"aria-label": _ctx.$primevue.config.locale.prevMinute,
|
|
3113
3069
|
onMousedown: _cache[37] || (_cache[37] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
|
|
@@ -3124,24 +3080,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3124
3080
|
_cache[44] || (_cache[44] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3125
3081
|
],
|
|
3126
3082
|
type: "button"
|
|
3127
|
-
}, [
|
|
3083
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3128
3084
|
renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3129
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3130
|
-
class: normalizeClass($props.decrementIcon)
|
|
3131
|
-
}, null, 8, ["class"]))
|
|
3085
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3132
3086
|
])
|
|
3133
|
-
],
|
|
3087
|
+
], 16, _hoisted_16)), [
|
|
3134
3088
|
[_directive_ripple]
|
|
3135
3089
|
])
|
|
3136
|
-
]),
|
|
3090
|
+
], 16),
|
|
3137
3091
|
($props.showSeconds)
|
|
3138
|
-
? (openBlock(), createElementBlock("div",
|
|
3139
|
-
|
|
3140
|
-
|
|
3092
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
3093
|
+
key: 0,
|
|
3094
|
+
class: "p-separator"
|
|
3095
|
+
}, _ctx.ptm('separatorContainer')), [
|
|
3096
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
|
|
3097
|
+
], 16))
|
|
3141
3098
|
: createCommentVNode("", true),
|
|
3142
3099
|
($props.showSeconds)
|
|
3143
|
-
? (openBlock(), createElementBlock("div",
|
|
3144
|
-
|
|
3100
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
3101
|
+
key: 1,
|
|
3102
|
+
class: "p-second-picker"
|
|
3103
|
+
}, _ctx.ptm('secondPicker')), [
|
|
3104
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3145
3105
|
class: "p-link",
|
|
3146
3106
|
"aria-label": _ctx.$primevue.config.locale.nextSecond,
|
|
3147
3107
|
onMousedown: _cache[45] || (_cache[45] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
|
|
@@ -3158,17 +3118,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3158
3118
|
_cache[52] || (_cache[52] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3159
3119
|
],
|
|
3160
3120
|
type: "button"
|
|
3161
|
-
}, [
|
|
3121
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3162
3122
|
renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3163
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3164
|
-
class: normalizeClass($props.incrementIcon)
|
|
3165
|
-
}, null, 8, ["class"]))
|
|
3123
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3166
3124
|
])
|
|
3167
|
-
],
|
|
3125
|
+
], 16, _hoisted_17)), [
|
|
3168
3126
|
[_directive_ripple]
|
|
3169
3127
|
]),
|
|
3170
|
-
createElementVNode("span",
|
|
3171
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
3128
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('second'))), toDisplayString($options.formattedCurrentSecond), 17),
|
|
3129
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3172
3130
|
class: "p-link",
|
|
3173
3131
|
"aria-label": _ctx.$primevue.config.locale.prevSecond,
|
|
3174
3132
|
onMousedown: _cache[53] || (_cache[53] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
|
|
@@ -3185,76 +3143,81 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3185
3143
|
_cache[60] || (_cache[60] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3186
3144
|
],
|
|
3187
3145
|
type: "button"
|
|
3188
|
-
}, [
|
|
3146
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3189
3147
|
renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3190
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3191
|
-
class: normalizeClass($props.decrementIcon)
|
|
3192
|
-
}, null, 8, ["class"]))
|
|
3148
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3193
3149
|
])
|
|
3194
|
-
],
|
|
3150
|
+
], 16, _hoisted_18)), [
|
|
3195
3151
|
[_directive_ripple]
|
|
3196
3152
|
])
|
|
3197
|
-
]))
|
|
3153
|
+
], 16))
|
|
3198
3154
|
: createCommentVNode("", true),
|
|
3199
3155
|
($props.hourFormat == '12')
|
|
3200
|
-
? (openBlock(), createElementBlock("div",
|
|
3201
|
-
|
|
3202
|
-
|
|
3156
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
3157
|
+
key: 2,
|
|
3158
|
+
class: "p-separator"
|
|
3159
|
+
}, _ctx.ptm('separatorContainer')), [
|
|
3160
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
|
|
3161
|
+
], 16))
|
|
3203
3162
|
: createCommentVNode("", true),
|
|
3204
3163
|
($props.hourFormat == '12')
|
|
3205
|
-
? (openBlock(), createElementBlock("div",
|
|
3206
|
-
|
|
3164
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
3165
|
+
key: 3,
|
|
3166
|
+
class: "p-ampm-picker"
|
|
3167
|
+
}, _ctx.ptm('ampmPicker')), [
|
|
3168
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3207
3169
|
class: "p-link",
|
|
3208
3170
|
"aria-label": _ctx.$primevue.config.locale.am,
|
|
3209
3171
|
onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
|
|
3210
3172
|
type: "button",
|
|
3211
3173
|
disabled: $props.disabled
|
|
3212
|
-
}, [
|
|
3174
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3213
3175
|
renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3214
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3215
|
-
class: normalizeClass($props.incrementIcon)
|
|
3216
|
-
}, null, 8, ["class"]))
|
|
3176
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3217
3177
|
])
|
|
3218
|
-
],
|
|
3178
|
+
], 16, _hoisted_19)), [
|
|
3219
3179
|
[_directive_ripple]
|
|
3220
3180
|
]),
|
|
3221
|
-
createElementVNode("span",
|
|
3222
|
-
withDirectives((openBlock(), createElementBlock("button", {
|
|
3181
|
+
createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('ampm'))), toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 17),
|
|
3182
|
+
withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
3223
3183
|
class: "p-link",
|
|
3224
3184
|
"aria-label": _ctx.$primevue.config.locale.pm,
|
|
3225
3185
|
onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
|
|
3226
3186
|
type: "button",
|
|
3227
3187
|
disabled: $props.disabled
|
|
3228
|
-
}, [
|
|
3188
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3229
3189
|
renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3230
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3231
|
-
class: normalizeClass($props.decrementIcon)
|
|
3232
|
-
}, null, 8, ["class"]))
|
|
3190
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3233
3191
|
])
|
|
3234
|
-
],
|
|
3192
|
+
], 16, _hoisted_20)), [
|
|
3235
3193
|
[_directive_ripple]
|
|
3236
3194
|
])
|
|
3237
|
-
]))
|
|
3195
|
+
], 16))
|
|
3238
3196
|
: createCommentVNode("", true)
|
|
3239
|
-
]))
|
|
3197
|
+
], 16))
|
|
3240
3198
|
: createCommentVNode("", true),
|
|
3241
3199
|
($props.showButtonBar)
|
|
3242
|
-
? (openBlock(), createElementBlock("div",
|
|
3200
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
3201
|
+
key: 2,
|
|
3202
|
+
class: "p-datepicker-buttonbar"
|
|
3203
|
+
}, _ctx.ptm('buttonbar')), [
|
|
3243
3204
|
createVNode(_component_CalendarButton, {
|
|
3244
3205
|
type: "button",
|
|
3245
3206
|
label: $options.todayLabel,
|
|
3246
3207
|
onClick: _cache[63] || (_cache[63] = $event => ($options.onTodayButtonClick($event))),
|
|
3247
3208
|
class: "p-button-text",
|
|
3248
|
-
onKeydown: $options.onContainerButtonKeydown
|
|
3249
|
-
|
|
3209
|
+
onKeydown: $options.onContainerButtonKeydown,
|
|
3210
|
+
pt: _ctx.ptm('todayButton')
|
|
3211
|
+
}, null, 8, ["label", "onKeydown", "pt"]),
|
|
3250
3212
|
createVNode(_component_CalendarButton, {
|
|
3251
3213
|
type: "button",
|
|
3252
3214
|
label: $options.clearLabel,
|
|
3253
3215
|
onClick: _cache[64] || (_cache[64] = $event => ($options.onClearButtonClick($event))),
|
|
3254
3216
|
class: "p-button-text",
|
|
3255
|
-
onKeydown: $options.onContainerButtonKeydown
|
|
3256
|
-
|
|
3257
|
-
|
|
3217
|
+
onKeydown: $options.onContainerButtonKeydown,
|
|
3218
|
+
pt: _ctx.ptm('clearButton')
|
|
3219
|
+
}, null, 8, ["label", "onKeydown", "pt"])
|
|
3220
|
+
], 16))
|
|
3258
3221
|
: createCommentVNode("", true),
|
|
3259
3222
|
renderSlot(_ctx.$slots, "footer")
|
|
3260
3223
|
], 16, _hoisted_3))
|
|
@@ -3265,7 +3228,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3265
3228
|
]),
|
|
3266
3229
|
_: 3
|
|
3267
3230
|
}, 8, ["appendTo", "disabled"])
|
|
3268
|
-
],
|
|
3231
|
+
], 16, _hoisted_1))
|
|
3269
3232
|
}
|
|
3270
3233
|
|
|
3271
3234
|
function styleInject(css, ref) {
|