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.cjs.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var BaseComponent = require('primevue/basecomponent');
|
|
3
4
|
var Button = require('primevue/button');
|
|
4
5
|
var CalendarIcon = require('primevue/icons/calendar');
|
|
5
6
|
var ChevronDownIcon = require('primevue/icons/chevrondown');
|
|
@@ -14,6 +15,7 @@ var vue = require('vue');
|
|
|
14
15
|
|
|
15
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
17
|
|
|
18
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
17
19
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
18
20
|
var CalendarIcon__default = /*#__PURE__*/_interopDefaultLegacy(CalendarIcon);
|
|
19
21
|
var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
|
|
@@ -26,6 +28,7 @@ var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
|
26
28
|
|
|
27
29
|
var script = {
|
|
28
30
|
name: 'Calendar',
|
|
31
|
+
extends: BaseComponent__default["default"],
|
|
29
32
|
emits: ['show', 'hide', 'input', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click', 'focus', 'blur', 'keydown'],
|
|
30
33
|
props: {
|
|
31
34
|
modelValue: null,
|
|
@@ -2271,7 +2274,7 @@ var script = {
|
|
|
2271
2274
|
this.$emit('input', event);
|
|
2272
2275
|
},
|
|
2273
2276
|
onInputClick() {
|
|
2274
|
-
if (this.isEnabled() && !this.overlayVisible) {
|
|
2277
|
+
if (this.showOnFocus && this.isEnabled() && !this.overlayVisible) {
|
|
2275
2278
|
this.overlayVisible = true;
|
|
2276
2279
|
}
|
|
2277
2280
|
},
|
|
@@ -2666,113 +2669,34 @@ var script = {
|
|
|
2666
2669
|
const _hoisted_1 = ["id"];
|
|
2667
2670
|
const _hoisted_2 = ["id", "placeholder", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly"];
|
|
2668
2671
|
const _hoisted_3 = ["id", "role", "aria-modal", "aria-label"];
|
|
2669
|
-
const _hoisted_4 =
|
|
2670
|
-
const _hoisted_5 =
|
|
2672
|
+
const _hoisted_4 = ["disabled", "aria-label"];
|
|
2673
|
+
const _hoisted_5 = ["disabled", "aria-label"];
|
|
2671
2674
|
const _hoisted_6 = ["disabled", "aria-label"];
|
|
2672
|
-
const _hoisted_7 =
|
|
2673
|
-
const _hoisted_8 = ["
|
|
2674
|
-
const _hoisted_9 = ["
|
|
2675
|
-
const _hoisted_10 =
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
const
|
|
2680
|
-
const
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
const
|
|
2685
|
-
|
|
2686
|
-
role: "grid"
|
|
2687
|
-
};
|
|
2688
|
-
const _hoisted_14 = {
|
|
2689
|
-
key: 0,
|
|
2690
|
-
scope: "col",
|
|
2691
|
-
class: "p-datepicker-weekheader p-disabled"
|
|
2692
|
-
};
|
|
2693
|
-
const _hoisted_15 = ["abbr"];
|
|
2694
|
-
const _hoisted_16 = {
|
|
2695
|
-
key: 0,
|
|
2696
|
-
class: "p-datepicker-weeknumber"
|
|
2697
|
-
};
|
|
2698
|
-
const _hoisted_17 = { class: "p-disabled" };
|
|
2699
|
-
const _hoisted_18 = {
|
|
2700
|
-
key: 0,
|
|
2701
|
-
style: {"visibility":"hidden"}
|
|
2702
|
-
};
|
|
2703
|
-
const _hoisted_19 = ["aria-label"];
|
|
2704
|
-
const _hoisted_20 = ["onClick", "onKeydown", "aria-selected"];
|
|
2705
|
-
const _hoisted_21 = {
|
|
2706
|
-
key: 0,
|
|
2707
|
-
class: "p-hidden-accessible",
|
|
2708
|
-
"aria-live": "polite"
|
|
2709
|
-
};
|
|
2710
|
-
const _hoisted_22 = {
|
|
2711
|
-
key: 0,
|
|
2712
|
-
class: "p-monthpicker"
|
|
2713
|
-
};
|
|
2714
|
-
const _hoisted_23 = ["onClick", "onKeydown"];
|
|
2715
|
-
const _hoisted_24 = {
|
|
2716
|
-
key: 0,
|
|
2717
|
-
class: "p-hidden-accessible",
|
|
2718
|
-
"aria-live": "polite"
|
|
2719
|
-
};
|
|
2720
|
-
const _hoisted_25 = {
|
|
2721
|
-
key: 1,
|
|
2722
|
-
class: "p-yearpicker"
|
|
2723
|
-
};
|
|
2724
|
-
const _hoisted_26 = ["onClick", "onKeydown"];
|
|
2725
|
-
const _hoisted_27 = {
|
|
2726
|
-
key: 0,
|
|
2727
|
-
class: "p-hidden-accessible",
|
|
2728
|
-
"aria-live": "polite"
|
|
2729
|
-
};
|
|
2730
|
-
const _hoisted_28 = {
|
|
2731
|
-
key: 1,
|
|
2732
|
-
class: "p-timepicker"
|
|
2733
|
-
};
|
|
2734
|
-
const _hoisted_29 = { class: "p-hour-picker" };
|
|
2735
|
-
const _hoisted_30 = ["aria-label"];
|
|
2736
|
-
const _hoisted_31 = ["aria-label"];
|
|
2737
|
-
const _hoisted_32 = { class: "p-separator" };
|
|
2738
|
-
const _hoisted_33 = { class: "p-minute-picker" };
|
|
2739
|
-
const _hoisted_34 = ["aria-label", "disabled"];
|
|
2740
|
-
const _hoisted_35 = ["aria-label", "disabled"];
|
|
2741
|
-
const _hoisted_36 = {
|
|
2742
|
-
key: 0,
|
|
2743
|
-
class: "p-separator"
|
|
2744
|
-
};
|
|
2745
|
-
const _hoisted_37 = {
|
|
2746
|
-
key: 1,
|
|
2747
|
-
class: "p-second-picker"
|
|
2748
|
-
};
|
|
2749
|
-
const _hoisted_38 = ["aria-label", "disabled"];
|
|
2750
|
-
const _hoisted_39 = ["aria-label", "disabled"];
|
|
2751
|
-
const _hoisted_40 = {
|
|
2752
|
-
key: 2,
|
|
2753
|
-
class: "p-separator"
|
|
2754
|
-
};
|
|
2755
|
-
const _hoisted_41 = {
|
|
2756
|
-
key: 3,
|
|
2757
|
-
class: "p-ampm-picker"
|
|
2758
|
-
};
|
|
2759
|
-
const _hoisted_42 = ["aria-label", "disabled"];
|
|
2760
|
-
const _hoisted_43 = ["aria-label", "disabled"];
|
|
2761
|
-
const _hoisted_44 = {
|
|
2762
|
-
key: 2,
|
|
2763
|
-
class: "p-datepicker-buttonbar"
|
|
2764
|
-
};
|
|
2675
|
+
const _hoisted_7 = ["disabled", "aria-label"];
|
|
2676
|
+
const _hoisted_8 = ["abbr"];
|
|
2677
|
+
const _hoisted_9 = ["aria-label"];
|
|
2678
|
+
const _hoisted_10 = ["onClick", "onKeydown", "aria-selected"];
|
|
2679
|
+
const _hoisted_11 = ["onClick", "onKeydown"];
|
|
2680
|
+
const _hoisted_12 = ["onClick", "onKeydown"];
|
|
2681
|
+
const _hoisted_13 = ["aria-label"];
|
|
2682
|
+
const _hoisted_14 = ["aria-label"];
|
|
2683
|
+
const _hoisted_15 = ["aria-label", "disabled"];
|
|
2684
|
+
const _hoisted_16 = ["aria-label", "disabled"];
|
|
2685
|
+
const _hoisted_17 = ["aria-label", "disabled"];
|
|
2686
|
+
const _hoisted_18 = ["aria-label", "disabled"];
|
|
2687
|
+
const _hoisted_19 = ["aria-label", "disabled"];
|
|
2688
|
+
const _hoisted_20 = ["aria-label", "disabled"];
|
|
2765
2689
|
|
|
2766
2690
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2767
2691
|
const _component_CalendarButton = vue.resolveComponent("CalendarButton");
|
|
2768
2692
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
2769
2693
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
2770
2694
|
|
|
2771
|
-
return (vue.openBlock(), vue.createElementBlock("span", {
|
|
2695
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
2772
2696
|
ref: "container",
|
|
2773
2697
|
id: $props.id,
|
|
2774
|
-
class:
|
|
2775
|
-
}, [
|
|
2698
|
+
class: $options.containerClass
|
|
2699
|
+
}, _ctx.ptm('root')), [
|
|
2776
2700
|
(!$props.inline)
|
|
2777
2701
|
? (vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
|
|
2778
2702
|
key: 0,
|
|
@@ -2799,7 +2723,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2799
2723
|
onFocus: _cache[2] || (_cache[2] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
2800
2724
|
onBlur: _cache[3] || (_cache[3] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
2801
2725
|
onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
|
|
2802
|
-
},
|
|
2726
|
+
}, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, _hoisted_2))
|
|
2803
2727
|
: vue.createCommentVNode("", true),
|
|
2804
2728
|
($props.showIcon)
|
|
2805
2729
|
? (vue.openBlock(), vue.createBlock(_component_CalendarButton, {
|
|
@@ -2811,17 +2735,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2811
2735
|
"aria-label": _ctx.$primevue.config.locale.chooseDate,
|
|
2812
2736
|
"aria-haspopup": "dialog",
|
|
2813
2737
|
"aria-expanded": $data.overlayVisible,
|
|
2814
|
-
"aria-controls": $options.panelId
|
|
2738
|
+
"aria-controls": $options.panelId,
|
|
2739
|
+
pt: _ctx.ptm('dropdownButton')
|
|
2815
2740
|
}, {
|
|
2816
2741
|
icon: vue.withCtx(() => [
|
|
2817
2742
|
vue.renderSlot(_ctx.$slots, "dropdownicon", {}, () => [
|
|
2818
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), {
|
|
2819
|
-
class: vue.normalizeClass($props.icon)
|
|
2820
|
-
}, null, 8, ["class"]))
|
|
2743
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), vue.mergeProps({ class: $props.icon }, _ctx.ptm('dropdownButton')['icon']), null, 16, ["class"]))
|
|
2821
2744
|
])
|
|
2822
2745
|
]),
|
|
2823
2746
|
_: 3
|
|
2824
|
-
}, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls"]))
|
|
2747
|
+
}, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls", "pt"]))
|
|
2825
2748
|
: vue.createCommentVNode("", true),
|
|
2826
2749
|
vue.createVNode(_component_Portal, {
|
|
2827
2750
|
appendTo: $props.appendTo,
|
|
@@ -2849,37 +2772,37 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2849
2772
|
onClick: _cache[65] || (_cache[65] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
|
|
2850
2773
|
onKeydown: _cache[66] || (_cache[66] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args))),
|
|
2851
2774
|
onMouseup: _cache[67] || (_cache[67] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
|
|
2852
|
-
},
|
|
2775
|
+
}, { ...$props.panelProps, ..._ctx.ptm('panel') }), [
|
|
2853
2776
|
(!$props.timeOnly)
|
|
2854
2777
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
2855
|
-
vue.createElementVNode("div",
|
|
2778
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-datepicker-group-container" }, _ctx.ptm('groupContainer')), [
|
|
2856
2779
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.months, (month, groupIndex) => {
|
|
2857
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
2780
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2858
2781
|
key: month.month + month.year,
|
|
2859
2782
|
class: "p-datepicker-group"
|
|
2860
|
-
}, [
|
|
2861
|
-
vue.createElementVNode("div",
|
|
2783
|
+
}, _ctx.ptm('group')), [
|
|
2784
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-datepicker-header" }, _ctx.ptm('header')), [
|
|
2862
2785
|
vue.renderSlot(_ctx.$slots, "header"),
|
|
2863
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
2786
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
2864
2787
|
class: "p-datepicker-prev p-link",
|
|
2865
2788
|
onClick: _cache[5] || (_cache[5] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
|
|
2866
2789
|
type: "button",
|
|
2867
2790
|
onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2868
2791
|
disabled: $props.disabled,
|
|
2869
2792
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.prevDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.prevYear : _ctx.$primevue.config.locale.prevMonth
|
|
2870
|
-
}, [
|
|
2793
|
+
}, _ctx.ptm('previousButton')), [
|
|
2871
2794
|
vue.renderSlot(_ctx.$slots, "previousicon", {}, () => [
|
|
2872
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), {
|
|
2873
|
-
class:
|
|
2874
|
-
}, null,
|
|
2795
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), vue.mergeProps({
|
|
2796
|
+
class: ['p-datepicker-prev-icon', $props.previousIcon]
|
|
2797
|
+
}, _ctx.ptm('previousIcon')), null, 16, ["class"]))
|
|
2875
2798
|
])
|
|
2876
|
-
],
|
|
2799
|
+
], 16, _hoisted_4)), [
|
|
2877
2800
|
[vue.vShow, $props.showOtherMonths ? groupIndex === 0 : false],
|
|
2878
2801
|
[_directive_ripple]
|
|
2879
2802
|
]),
|
|
2880
|
-
vue.createElementVNode("div",
|
|
2803
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-datepicker-title" }, _ctx.ptm('title')), [
|
|
2881
2804
|
($data.currentView === 'date')
|
|
2882
|
-
? (vue.openBlock(), vue.createElementBlock("button", {
|
|
2805
|
+
? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
2883
2806
|
key: 0,
|
|
2884
2807
|
type: "button",
|
|
2885
2808
|
onClick: _cache[7] || (_cache[7] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
|
|
@@ -2887,10 +2810,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2887
2810
|
class: "p-datepicker-month p-link",
|
|
2888
2811
|
disabled: $options.switchViewButtonDisabled,
|
|
2889
2812
|
"aria-label": _ctx.$primevue.config.locale.chooseMonth
|
|
2890
|
-
}, vue.toDisplayString($options.getMonthName(month.month)),
|
|
2813
|
+
}, _ctx.ptm('monthTitle')), vue.toDisplayString($options.getMonthName(month.month)), 17, _hoisted_5))
|
|
2891
2814
|
: vue.createCommentVNode("", true),
|
|
2892
2815
|
($data.currentView !== 'year')
|
|
2893
|
-
? (vue.openBlock(), vue.createElementBlock("button", {
|
|
2816
|
+
? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
2894
2817
|
key: 1,
|
|
2895
2818
|
type: "button",
|
|
2896
2819
|
onClick: _cache[9] || (_cache[9] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
|
|
@@ -2898,147 +2821,187 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2898
2821
|
class: "p-datepicker-year p-link",
|
|
2899
2822
|
disabled: $options.switchViewButtonDisabled,
|
|
2900
2823
|
"aria-label": _ctx.$primevue.config.locale.chooseYear
|
|
2901
|
-
}, vue.toDisplayString($options.getYear(month)),
|
|
2824
|
+
}, _ctx.ptm('yearTitle')), vue.toDisplayString($options.getYear(month)), 17, _hoisted_6))
|
|
2902
2825
|
: vue.createCommentVNode("", true),
|
|
2903
2826
|
($data.currentView === 'year')
|
|
2904
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
2827
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
2828
|
+
key: 2,
|
|
2829
|
+
class: "p-datepicker-decade"
|
|
2830
|
+
}, _ctx.ptm('decadeTitle')), [
|
|
2905
2831
|
vue.renderSlot(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
|
|
2906
2832
|
vue.createTextVNode(vue.toDisplayString($options.yearPickerValues[0].value) + " - " + vue.toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1].value), 1)
|
|
2907
2833
|
])
|
|
2908
|
-
]))
|
|
2834
|
+
], 16))
|
|
2909
2835
|
: vue.createCommentVNode("", true)
|
|
2910
|
-
]),
|
|
2911
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
2836
|
+
], 16),
|
|
2837
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
2912
2838
|
class: "p-datepicker-next p-link",
|
|
2913
2839
|
onClick: _cache[11] || (_cache[11] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
|
|
2914
2840
|
type: "button",
|
|
2915
2841
|
onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2916
2842
|
disabled: $props.disabled,
|
|
2917
2843
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.nextDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.nextYear : _ctx.$primevue.config.locale.nextMonth
|
|
2918
|
-
}, [
|
|
2844
|
+
}, _ctx.ptm('nextButton')), [
|
|
2919
2845
|
vue.renderSlot(_ctx.$slots, "nexticon", {}, () => [
|
|
2920
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), {
|
|
2921
|
-
class:
|
|
2922
|
-
}, null,
|
|
2846
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
2847
|
+
class: ['p-datepicker-next-icon', $props.nextIcon]
|
|
2848
|
+
}, _ctx.ptm('nextIcon')), null, 16, ["class"]))
|
|
2923
2849
|
])
|
|
2924
|
-
],
|
|
2850
|
+
], 16, _hoisted_7)), [
|
|
2925
2851
|
[vue.vShow, $props.showOtherMonths ? ($props.numberOfMonths === 1 ? true : groupIndex === $props.numberOfMonths - 1) : false],
|
|
2926
2852
|
[_directive_ripple]
|
|
2927
2853
|
])
|
|
2928
|
-
]),
|
|
2854
|
+
], 16),
|
|
2929
2855
|
($data.currentView === 'date')
|
|
2930
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2856
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2857
|
+
key: 0,
|
|
2858
|
+
class: "p-datepicker-calendar-container"
|
|
2859
|
+
}, _ctx.ptm('container')), [
|
|
2860
|
+
vue.createElementVNode("table", vue.mergeProps({
|
|
2861
|
+
class: "p-datepicker-calendar",
|
|
2862
|
+
role: "grid"
|
|
2863
|
+
}, _ctx.ptm('table')), [
|
|
2864
|
+
vue.createElementVNode("thead", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('tableHeader'))), [
|
|
2865
|
+
vue.createElementVNode("tr", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('tableHeaderRow'))), [
|
|
2934
2866
|
($props.showWeek)
|
|
2935
|
-
? (vue.openBlock(), vue.createElementBlock("th",
|
|
2936
|
-
|
|
2937
|
-
|
|
2867
|
+
? (vue.openBlock(), vue.createElementBlock("th", vue.mergeProps({
|
|
2868
|
+
key: 0,
|
|
2869
|
+
scope: "col",
|
|
2870
|
+
class: "p-datepicker-weekheader p-disabled"
|
|
2871
|
+
}, _ctx.ptm('tableHeaderCell')), [
|
|
2872
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('weekLabel'))), vue.toDisplayString($options.weekHeaderLabel), 17)
|
|
2873
|
+
], 16))
|
|
2938
2874
|
: vue.createCommentVNode("", true),
|
|
2939
2875
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.weekDays, (weekDay) => {
|
|
2940
|
-
return (vue.openBlock(), vue.createElementBlock("th", {
|
|
2876
|
+
return (vue.openBlock(), vue.createElementBlock("th", vue.mergeProps({
|
|
2941
2877
|
key: weekDay,
|
|
2942
2878
|
scope: "col",
|
|
2943
2879
|
abbr: weekDay
|
|
2944
|
-
}, [
|
|
2945
|
-
vue.createElementVNode("span",
|
|
2946
|
-
],
|
|
2880
|
+
}, _ctx.ptm('tableHeaderCell')), [
|
|
2881
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('weekDay'))), vue.toDisplayString(weekDay), 17)
|
|
2882
|
+
], 16, _hoisted_8))
|
|
2947
2883
|
}), 128))
|
|
2948
|
-
])
|
|
2949
|
-
]),
|
|
2950
|
-
vue.createElementVNode("tbody",
|
|
2884
|
+
], 16)
|
|
2885
|
+
], 16),
|
|
2886
|
+
vue.createElementVNode("tbody", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('tableBody'))), [
|
|
2951
2887
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(month.dates, (week, i) => {
|
|
2952
|
-
return (vue.openBlock(), vue.createElementBlock("tr", {
|
|
2888
|
+
return (vue.openBlock(), vue.createElementBlock("tr", vue.mergeProps({
|
|
2953
2889
|
key: week[0].day + '' + week[0].month
|
|
2954
|
-
}, [
|
|
2890
|
+
}, _ctx.ptm('tableBodyRow')), [
|
|
2955
2891
|
($props.showWeek)
|
|
2956
|
-
? (vue.openBlock(), vue.createElementBlock("td",
|
|
2957
|
-
|
|
2892
|
+
? (vue.openBlock(), vue.createElementBlock("td", vue.mergeProps({
|
|
2893
|
+
key: 0,
|
|
2894
|
+
class: "p-datepicker-weeknumber"
|
|
2895
|
+
}, _ctx.ptm('weekNumber')), [
|
|
2896
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-disabled" }, _ctx.ptm('weekLabelContainer')), [
|
|
2958
2897
|
(month.weekNumbers[i] < 10)
|
|
2959
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
2898
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
2899
|
+
key: 0,
|
|
2900
|
+
style: {"visibility":"hidden"}
|
|
2901
|
+
}, _ctx.ptm('weekLabel')), "0", 16))
|
|
2960
2902
|
: vue.createCommentVNode("", true),
|
|
2961
2903
|
vue.createTextVNode(" " + vue.toDisplayString(month.weekNumbers[i]), 1)
|
|
2962
|
-
])
|
|
2963
|
-
]))
|
|
2904
|
+
], 16)
|
|
2905
|
+
], 16))
|
|
2964
2906
|
: vue.createCommentVNode("", true),
|
|
2965
2907
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(week, (date) => {
|
|
2966
|
-
return (vue.openBlock(), vue.createElementBlock("td", {
|
|
2908
|
+
return (vue.openBlock(), vue.createElementBlock("td", vue.mergeProps({
|
|
2967
2909
|
key: date.day + '' + date.month,
|
|
2968
2910
|
"aria-label": date.day,
|
|
2969
|
-
class:
|
|
2970
|
-
}, [
|
|
2971
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
2972
|
-
class:
|
|
2911
|
+
class: { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }
|
|
2912
|
+
}, _ctx.ptm('day')), [
|
|
2913
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
2914
|
+
class: { 'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable },
|
|
2973
2915
|
onClick: $event => ($options.onDateSelect($event, date)),
|
|
2974
2916
|
draggable: "false",
|
|
2975
2917
|
onKeydown: $event => ($options.onDateCellKeydown($event, date, groupIndex)),
|
|
2976
2918
|
"aria-selected": $options.isSelected(date)
|
|
2977
|
-
}, [
|
|
2919
|
+
}, _ctx.ptm('dayLabel')), [
|
|
2978
2920
|
vue.renderSlot(_ctx.$slots, "date", { date: date }, () => [
|
|
2979
2921
|
vue.createTextVNode(vue.toDisplayString(date.day), 1)
|
|
2980
2922
|
])
|
|
2981
|
-
],
|
|
2923
|
+
], 16, _hoisted_10)), [
|
|
2982
2924
|
[_directive_ripple]
|
|
2983
2925
|
]),
|
|
2984
2926
|
($options.isSelected(date))
|
|
2985
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2927
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2928
|
+
key: 0,
|
|
2929
|
+
class: "p-hidden-accessible",
|
|
2930
|
+
"aria-live": "polite"
|
|
2931
|
+
}, _ctx.ptm('ariaSelectedDay')), vue.toDisplayString(date.day), 17))
|
|
2986
2932
|
: vue.createCommentVNode("", true)
|
|
2987
|
-
],
|
|
2933
|
+
], 16, _hoisted_9))
|
|
2988
2934
|
}), 128))
|
|
2989
|
-
]))
|
|
2935
|
+
], 16))
|
|
2990
2936
|
}), 128))
|
|
2991
|
-
])
|
|
2992
|
-
])
|
|
2993
|
-
]))
|
|
2937
|
+
], 16)
|
|
2938
|
+
], 16)
|
|
2939
|
+
], 16))
|
|
2994
2940
|
: vue.createCommentVNode("", true)
|
|
2995
|
-
]))
|
|
2941
|
+
], 16))
|
|
2996
2942
|
}), 128))
|
|
2997
|
-
]),
|
|
2943
|
+
], 16),
|
|
2998
2944
|
($data.currentView === 'month')
|
|
2999
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2945
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2946
|
+
key: 0,
|
|
2947
|
+
class: "p-monthpicker"
|
|
2948
|
+
}, _ctx.ptm('monthPicker')), [
|
|
3000
2949
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.monthPickerValues, (m, i) => {
|
|
3001
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
2950
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
3002
2951
|
key: m,
|
|
3003
2952
|
onClick: $event => ($options.onMonthSelect($event, { month: m, index: i })),
|
|
3004
2953
|
onKeydown: $event => ($options.onMonthCellKeydown($event, { month: m, index: i })),
|
|
3005
|
-
class:
|
|
3006
|
-
}, [
|
|
2954
|
+
class: ["p-monthpicker-month", { 'p-highlight': $options.isMonthSelected(i), 'p-disabled': !m.selectable }]
|
|
2955
|
+
}, _ctx.ptm('month')), [
|
|
3007
2956
|
vue.createTextVNode(vue.toDisplayString(m.value) + " ", 1),
|
|
3008
2957
|
($options.isMonthSelected(i))
|
|
3009
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2958
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2959
|
+
key: 0,
|
|
2960
|
+
class: "p-hidden-accessible",
|
|
2961
|
+
"aria-live": "polite"
|
|
2962
|
+
}, _ctx.ptm('ariaMonth')), vue.toDisplayString(m.value), 17))
|
|
3010
2963
|
: vue.createCommentVNode("", true)
|
|
3011
|
-
],
|
|
2964
|
+
], 16, _hoisted_11)), [
|
|
3012
2965
|
[_directive_ripple]
|
|
3013
2966
|
])
|
|
3014
2967
|
}), 128))
|
|
3015
|
-
]))
|
|
2968
|
+
], 16))
|
|
3016
2969
|
: vue.createCommentVNode("", true),
|
|
3017
2970
|
($data.currentView === 'year')
|
|
3018
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2971
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2972
|
+
key: 1,
|
|
2973
|
+
class: "p-yearpicker"
|
|
2974
|
+
}, _ctx.ptm('yearPicker')), [
|
|
3019
2975
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.yearPickerValues, (y) => {
|
|
3020
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
2976
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
3021
2977
|
key: y.value,
|
|
3022
2978
|
onClick: $event => ($options.onYearSelect($event, y)),
|
|
3023
2979
|
onKeydown: $event => ($options.onYearCellKeydown($event, y)),
|
|
3024
|
-
class:
|
|
3025
|
-
}, [
|
|
2980
|
+
class: ["p-yearpicker-year", { 'p-highlight': $options.isYearSelected(y.value), 'p-disabled': !y.selectable }]
|
|
2981
|
+
}, _ctx.ptm('year')), [
|
|
3026
2982
|
vue.createTextVNode(vue.toDisplayString(y.value) + " ", 1),
|
|
3027
2983
|
($options.isYearSelected(y.value))
|
|
3028
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2984
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
2985
|
+
key: 0,
|
|
2986
|
+
class: "p-hidden-accessible",
|
|
2987
|
+
"aria-live": "polite"
|
|
2988
|
+
}, _ctx.ptm('ariaYear')), vue.toDisplayString(y.value), 17))
|
|
3029
2989
|
: vue.createCommentVNode("", true)
|
|
3030
|
-
],
|
|
2990
|
+
], 16, _hoisted_12)), [
|
|
3031
2991
|
[_directive_ripple]
|
|
3032
2992
|
])
|
|
3033
2993
|
}), 128))
|
|
3034
|
-
]))
|
|
2994
|
+
], 16))
|
|
3035
2995
|
: vue.createCommentVNode("", true)
|
|
3036
2996
|
], 64))
|
|
3037
2997
|
: vue.createCommentVNode("", true),
|
|
3038
2998
|
(($props.showTime || $props.timeOnly) && $data.currentView === 'date')
|
|
3039
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3040
|
-
|
|
3041
|
-
|
|
2999
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3000
|
+
key: 1,
|
|
3001
|
+
class: "p-timepicker"
|
|
3002
|
+
}, _ctx.ptm('timePicker')), [
|
|
3003
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-hour-picker" }, _ctx.ptm('hourPicker')), [
|
|
3004
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3042
3005
|
class: "p-link",
|
|
3043
3006
|
"aria-label": _ctx.$primevue.config.locale.nextHour,
|
|
3044
3007
|
onMousedown: _cache[13] || (_cache[13] = $event => ($options.onTimePickerElementMouseDown($event, 0, 1))),
|
|
@@ -3054,17 +3017,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3054
3017
|
_cache[20] || (_cache[20] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3055
3018
|
],
|
|
3056
3019
|
type: "button"
|
|
3057
|
-
}, [
|
|
3020
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3058
3021
|
vue.renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3059
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3060
|
-
class: vue.normalizeClass($props.incrementIcon)
|
|
3061
|
-
}, null, 8, ["class"]))
|
|
3022
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), vue.mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3062
3023
|
])
|
|
3063
|
-
],
|
|
3024
|
+
], 16, _hoisted_13)), [
|
|
3064
3025
|
[_directive_ripple]
|
|
3065
3026
|
]),
|
|
3066
|
-
vue.createElementVNode("span",
|
|
3067
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3027
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('hour'))), vue.toDisplayString($options.formattedCurrentHour), 17),
|
|
3028
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3068
3029
|
class: "p-link",
|
|
3069
3030
|
"aria-label": _ctx.$primevue.config.locale.prevHour,
|
|
3070
3031
|
onMousedown: _cache[21] || (_cache[21] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
|
|
@@ -3080,21 +3041,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3080
3041
|
_cache[28] || (_cache[28] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3081
3042
|
],
|
|
3082
3043
|
type: "button"
|
|
3083
|
-
}, [
|
|
3044
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3084
3045
|
vue.renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3085
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3086
|
-
class: vue.normalizeClass($props.decrementIcon)
|
|
3087
|
-
}, null, 8, ["class"]))
|
|
3046
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3088
3047
|
])
|
|
3089
|
-
],
|
|
3048
|
+
], 16, _hoisted_14)), [
|
|
3090
3049
|
[_directive_ripple]
|
|
3091
3050
|
])
|
|
3092
|
-
]),
|
|
3093
|
-
vue.createElementVNode("div",
|
|
3094
|
-
vue.createElementVNode("span",
|
|
3095
|
-
]),
|
|
3096
|
-
vue.createElementVNode("div",
|
|
3097
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3051
|
+
], 16),
|
|
3052
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-separator" }, _ctx.ptm('separatorContainer')), [
|
|
3053
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('separator'))), vue.toDisplayString($props.timeSeparator), 17)
|
|
3054
|
+
], 16),
|
|
3055
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-minute-picker" }, _ctx.ptm('minutePicker')), [
|
|
3056
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3098
3057
|
class: "p-link",
|
|
3099
3058
|
"aria-label": _ctx.$primevue.config.locale.nextMinute,
|
|
3100
3059
|
onMousedown: _cache[29] || (_cache[29] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
|
|
@@ -3111,17 +3070,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3111
3070
|
_cache[36] || (_cache[36] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3112
3071
|
],
|
|
3113
3072
|
type: "button"
|
|
3114
|
-
}, [
|
|
3073
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3115
3074
|
vue.renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3116
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3117
|
-
class: vue.normalizeClass($props.incrementIcon)
|
|
3118
|
-
}, null, 8, ["class"]))
|
|
3075
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), vue.mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3119
3076
|
])
|
|
3120
|
-
],
|
|
3077
|
+
], 16, _hoisted_15)), [
|
|
3121
3078
|
[_directive_ripple]
|
|
3122
3079
|
]),
|
|
3123
|
-
vue.createElementVNode("span",
|
|
3124
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3080
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('minute'))), vue.toDisplayString($options.formattedCurrentMinute), 17),
|
|
3081
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3125
3082
|
class: "p-link",
|
|
3126
3083
|
"aria-label": _ctx.$primevue.config.locale.prevMinute,
|
|
3127
3084
|
onMousedown: _cache[37] || (_cache[37] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
|
|
@@ -3138,24 +3095,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3138
3095
|
_cache[44] || (_cache[44] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3139
3096
|
],
|
|
3140
3097
|
type: "button"
|
|
3141
|
-
}, [
|
|
3098
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3142
3099
|
vue.renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3143
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3144
|
-
class: vue.normalizeClass($props.decrementIcon)
|
|
3145
|
-
}, null, 8, ["class"]))
|
|
3100
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3146
3101
|
])
|
|
3147
|
-
],
|
|
3102
|
+
], 16, _hoisted_16)), [
|
|
3148
3103
|
[_directive_ripple]
|
|
3149
3104
|
])
|
|
3150
|
-
]),
|
|
3105
|
+
], 16),
|
|
3151
3106
|
($props.showSeconds)
|
|
3152
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3153
|
-
|
|
3154
|
-
|
|
3107
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3108
|
+
key: 0,
|
|
3109
|
+
class: "p-separator"
|
|
3110
|
+
}, _ctx.ptm('separatorContainer')), [
|
|
3111
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('separator'))), vue.toDisplayString($props.timeSeparator), 17)
|
|
3112
|
+
], 16))
|
|
3155
3113
|
: vue.createCommentVNode("", true),
|
|
3156
3114
|
($props.showSeconds)
|
|
3157
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3158
|
-
|
|
3115
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3116
|
+
key: 1,
|
|
3117
|
+
class: "p-second-picker"
|
|
3118
|
+
}, _ctx.ptm('secondPicker')), [
|
|
3119
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3159
3120
|
class: "p-link",
|
|
3160
3121
|
"aria-label": _ctx.$primevue.config.locale.nextSecond,
|
|
3161
3122
|
onMousedown: _cache[45] || (_cache[45] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
|
|
@@ -3172,17 +3133,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3172
3133
|
_cache[52] || (_cache[52] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3173
3134
|
],
|
|
3174
3135
|
type: "button"
|
|
3175
|
-
}, [
|
|
3136
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3176
3137
|
vue.renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3177
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3178
|
-
class: vue.normalizeClass($props.incrementIcon)
|
|
3179
|
-
}, null, 8, ["class"]))
|
|
3138
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), vue.mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3180
3139
|
])
|
|
3181
|
-
],
|
|
3140
|
+
], 16, _hoisted_17)), [
|
|
3182
3141
|
[_directive_ripple]
|
|
3183
3142
|
]),
|
|
3184
|
-
vue.createElementVNode("span",
|
|
3185
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3143
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('second'))), vue.toDisplayString($options.formattedCurrentSecond), 17),
|
|
3144
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3186
3145
|
class: "p-link",
|
|
3187
3146
|
"aria-label": _ctx.$primevue.config.locale.prevSecond,
|
|
3188
3147
|
onMousedown: _cache[53] || (_cache[53] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
|
|
@@ -3199,76 +3158,81 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3199
3158
|
_cache[60] || (_cache[60] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3200
3159
|
],
|
|
3201
3160
|
type: "button"
|
|
3202
|
-
}, [
|
|
3161
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3203
3162
|
vue.renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3204
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3205
|
-
class: vue.normalizeClass($props.decrementIcon)
|
|
3206
|
-
}, null, 8, ["class"]))
|
|
3163
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3207
3164
|
])
|
|
3208
|
-
],
|
|
3165
|
+
], 16, _hoisted_18)), [
|
|
3209
3166
|
[_directive_ripple]
|
|
3210
3167
|
])
|
|
3211
|
-
]))
|
|
3168
|
+
], 16))
|
|
3212
3169
|
: vue.createCommentVNode("", true),
|
|
3213
3170
|
($props.hourFormat == '12')
|
|
3214
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3215
|
-
|
|
3216
|
-
|
|
3171
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3172
|
+
key: 2,
|
|
3173
|
+
class: "p-separator"
|
|
3174
|
+
}, _ctx.ptm('separatorContainer')), [
|
|
3175
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('separator'))), vue.toDisplayString($props.timeSeparator), 17)
|
|
3176
|
+
], 16))
|
|
3217
3177
|
: vue.createCommentVNode("", true),
|
|
3218
3178
|
($props.hourFormat == '12')
|
|
3219
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3220
|
-
|
|
3179
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3180
|
+
key: 3,
|
|
3181
|
+
class: "p-ampm-picker"
|
|
3182
|
+
}, _ctx.ptm('ampmPicker')), [
|
|
3183
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3221
3184
|
class: "p-link",
|
|
3222
3185
|
"aria-label": _ctx.$primevue.config.locale.am,
|
|
3223
3186
|
onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
|
|
3224
3187
|
type: "button",
|
|
3225
3188
|
disabled: $props.disabled
|
|
3226
|
-
}, [
|
|
3189
|
+
}, _ctx.ptm('incrementButton')), [
|
|
3227
3190
|
vue.renderSlot(_ctx.$slots, "incrementicon", {}, () => [
|
|
3228
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
|
|
3229
|
-
class: vue.normalizeClass($props.incrementIcon)
|
|
3230
|
-
}, null, 8, ["class"]))
|
|
3191
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), vue.mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
|
|
3231
3192
|
])
|
|
3232
|
-
],
|
|
3193
|
+
], 16, _hoisted_19)), [
|
|
3233
3194
|
[_directive_ripple]
|
|
3234
3195
|
]),
|
|
3235
|
-
vue.createElementVNode("span",
|
|
3236
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3196
|
+
vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('ampm'))), vue.toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 17),
|
|
3197
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
3237
3198
|
class: "p-link",
|
|
3238
3199
|
"aria-label": _ctx.$primevue.config.locale.pm,
|
|
3239
3200
|
onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
|
|
3240
3201
|
type: "button",
|
|
3241
3202
|
disabled: $props.disabled
|
|
3242
|
-
}, [
|
|
3203
|
+
}, _ctx.ptm('decrementButton')), [
|
|
3243
3204
|
vue.renderSlot(_ctx.$slots, "decrementicon", {}, () => [
|
|
3244
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
|
|
3245
|
-
class: vue.normalizeClass($props.decrementIcon)
|
|
3246
|
-
}, null, 8, ["class"]))
|
|
3205
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
|
|
3247
3206
|
])
|
|
3248
|
-
],
|
|
3207
|
+
], 16, _hoisted_20)), [
|
|
3249
3208
|
[_directive_ripple]
|
|
3250
3209
|
])
|
|
3251
|
-
]))
|
|
3210
|
+
], 16))
|
|
3252
3211
|
: vue.createCommentVNode("", true)
|
|
3253
|
-
]))
|
|
3212
|
+
], 16))
|
|
3254
3213
|
: vue.createCommentVNode("", true),
|
|
3255
3214
|
($props.showButtonBar)
|
|
3256
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3215
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
3216
|
+
key: 2,
|
|
3217
|
+
class: "p-datepicker-buttonbar"
|
|
3218
|
+
}, _ctx.ptm('buttonbar')), [
|
|
3257
3219
|
vue.createVNode(_component_CalendarButton, {
|
|
3258
3220
|
type: "button",
|
|
3259
3221
|
label: $options.todayLabel,
|
|
3260
3222
|
onClick: _cache[63] || (_cache[63] = $event => ($options.onTodayButtonClick($event))),
|
|
3261
3223
|
class: "p-button-text",
|
|
3262
|
-
onKeydown: $options.onContainerButtonKeydown
|
|
3263
|
-
|
|
3224
|
+
onKeydown: $options.onContainerButtonKeydown,
|
|
3225
|
+
pt: _ctx.ptm('todayButton')
|
|
3226
|
+
}, null, 8, ["label", "onKeydown", "pt"]),
|
|
3264
3227
|
vue.createVNode(_component_CalendarButton, {
|
|
3265
3228
|
type: "button",
|
|
3266
3229
|
label: $options.clearLabel,
|
|
3267
3230
|
onClick: _cache[64] || (_cache[64] = $event => ($options.onClearButtonClick($event))),
|
|
3268
3231
|
class: "p-button-text",
|
|
3269
|
-
onKeydown: $options.onContainerButtonKeydown
|
|
3270
|
-
|
|
3271
|
-
|
|
3232
|
+
onKeydown: $options.onContainerButtonKeydown,
|
|
3233
|
+
pt: _ctx.ptm('clearButton')
|
|
3234
|
+
}, null, 8, ["label", "onKeydown", "pt"])
|
|
3235
|
+
], 16))
|
|
3272
3236
|
: vue.createCommentVNode("", true),
|
|
3273
3237
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
3274
3238
|
], 16, _hoisted_3))
|
|
@@ -3279,7 +3243,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3279
3243
|
]),
|
|
3280
3244
|
_: 3
|
|
3281
3245
|
}, 8, ["appendTo", "disabled"])
|
|
3282
|
-
],
|
|
3246
|
+
], 16, _hoisted_1))
|
|
3283
3247
|
}
|
|
3284
3248
|
|
|
3285
3249
|
function styleInject(css, ref) {
|