primevue 3.18.0 → 3.19.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 +13 -2
- package/autocomplete/AutoComplete.vue +15 -2
- package/autocomplete/autocomplete.cjs.js +15 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +15 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +15 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/breadcrumb/BreadcrumbItem.vue +6 -6
- package/breadcrumb/breadcrumb.cjs.js +6 -6
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +6 -6
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +6 -6
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/Calendar.d.ts +20 -0
- package/calendar/Calendar.vue +32 -14
- package/calendar/calendar.cjs.js +139 -121
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +139 -121
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +139 -121
- package/calendar/calendar.min.js +1 -1
- package/chips/Chips.d.ts +7 -2
- package/chips/Chips.vue +11 -3
- package/chips/chips.cjs.js +12 -4
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +12 -4
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +12 -4
- package/chips/chips.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +6 -1
- package/confirmdialog/confirmdialog.cjs.js +7 -1
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +7 -1
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +7 -1
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +59 -5
- package/confirmpopup/confirmpopup.cjs.js +83 -19
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +82 -19
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +82 -19
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.vue +14 -16
- package/contextmenu/contextmenu.cjs.js +14 -16
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +14 -16
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +14 -16
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +374 -94
- package/core/core.min.js +13 -9
- package/datatable/DataTable.d.ts +1 -1
- package/datatable/DataTable.vue +1 -1
- package/datatable/HeaderCell.vue +1 -1
- package/datatable/TableBody.vue +1 -1
- package/datatable/TableHeader.vue +1 -1
- package/datatable/datatable.cjs.js +4 -4
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +4 -4
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +4 -4
- package/datatable/datatable.min.js +1 -1
- package/dialog/Dialog.d.ts +19 -5
- package/dialog/Dialog.vue +114 -51
- package/dialog/dialog.cjs.js +145 -72
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +143 -71
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +143 -71
- package/dialog/dialog.min.js +1 -1
- package/dropdown/Dropdown.vue +20 -1
- package/dropdown/dropdown.cjs.js +20 -1
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +20 -1
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +20 -1
- package/dropdown/dropdown.min.js +1 -1
- package/fileupload/FileContent.vue +9 -2
- package/fileupload/fileupload.cjs.js +10 -4
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +9 -4
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +11 -6
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/FocusTrap.d.ts +5 -0
- package/focustrap/focustrap.cjs.js +94 -0
- package/focustrap/focustrap.cjs.min.js +1 -0
- package/focustrap/focustrap.esm.js +92 -0
- package/focustrap/focustrap.esm.min.js +1 -0
- package/focustrap/focustrap.js +96 -0
- package/focustrap/focustrap.min.js +1 -0
- package/focustrap/package.json +6 -0
- package/inplace/Inplace.d.ts +5 -0
- package/inplace/Inplace.vue +5 -1
- package/inplace/inplace.cjs.js +6 -2
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +6 -2
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +6 -2
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +5 -0
- package/inputnumber/InputNumber.vue +9 -0
- package/inputnumber/inputnumber.cjs.js +9 -0
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +9 -0
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +9 -0
- package/inputnumber/inputnumber.min.js +1 -1
- package/megamenu/MegaMenu.vue +3 -2
- package/megamenu/megamenu.cjs.js +3 -2
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +3 -2
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +3 -2
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.vue +7 -7
- package/menu/menu.cjs.js +7 -7
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +7 -7
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +7 -7
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.vue +5 -3
- package/menubar/MenubarSub.vue +1 -1
- package/menubar/menubar.cjs.js +22 -18
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +22 -18
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +22 -18
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +5 -0
- package/message/Message.vue +5 -1
- package/message/message.cjs.js +9 -5
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +9 -5
- package/message/message.esm.min.js +1 -1
- package/message/message.js +9 -5
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.vue +24 -3
- package/multiselect/multiselect.cjs.js +24 -3
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +24 -3
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +24 -3
- package/multiselect/multiselect.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +2 -1
- package/overlaypanel/OverlayPanel.vue +31 -5
- package/overlaypanel/overlaypanel.cjs.js +49 -17
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +48 -17
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +48 -17
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/Paginator.vue +5 -3
- package/paginator/paginator.cjs.js +5 -3
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +5 -3
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +5 -3
- package/paginator/paginator.min.js +1 -1
- package/panelmenu/PanelMenuList.vue +1 -2
- package/panelmenu/panelmenu.cjs.js +4 -622
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +13 -631
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +4 -622
- package/panelmenu/panelmenu.min.js +1 -1
- package/resources/primevue.css +4 -2
- package/resources/primevue.min.css +1 -1
- package/scrollpanel/ScrollPanel.vue +5 -0
- package/scrollpanel/scrollpanel.cjs.js +1 -1
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +1 -1
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/sidebar/Sidebar.d.ts +5 -5
- package/sidebar/Sidebar.vue +46 -14
- package/sidebar/sidebar.cjs.js +73 -30
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +72 -30
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +72 -30
- package/sidebar/sidebar.min.js +1 -1
- package/slider/Slider.vue +21 -12
- package/slider/slider.cjs.js +21 -12
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +21 -12
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +21 -12
- package/slider/slider.min.js +1 -1
- package/splitter/Splitter.d.ts +16 -0
- package/splitter/Splitter.vue +2 -1
- package/splitter/splitter.cjs.js +2 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +2 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +2 -1
- package/splitter/splitter.min.js +1 -1
- package/tieredmenu/TieredMenu.vue +1 -2
- package/tieredmenu/tieredmenu.cjs.js +1 -2
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +1 -2
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +1 -2
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +25 -0
- package/toast/Toast.vue +32 -1
- package/toast/ToastMessage.vue +12 -7
- package/toast/toast.cjs.js +44 -14
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +44 -14
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +44 -14
- package/toast/toast.min.js +1 -1
- package/tooltip/tooltip.cjs.js +28 -5
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +28 -5
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +28 -5
- package/tooltip/tooltip.min.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +6 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +6 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +6 -0
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +75 -11
- package/vetur-tags.json +25 -8
- package/web-types.json +233 -21
package/calendar/calendar.js
CHANGED
|
@@ -42,6 +42,22 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
42
42
|
type: String,
|
|
43
43
|
default: 'pi pi-calendar'
|
|
44
44
|
},
|
|
45
|
+
previousIcon: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: 'pi pi-chevron-left'
|
|
48
|
+
},
|
|
49
|
+
nextIcon: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: 'pi pi-chevron-right'
|
|
52
|
+
},
|
|
53
|
+
incrementIcon: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: 'pi pi-chevron-up'
|
|
56
|
+
},
|
|
57
|
+
decrementIcon: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: 'pi pi-chevron-down'
|
|
60
|
+
},
|
|
45
61
|
numberOfMonths: {
|
|
46
62
|
type: Number,
|
|
47
63
|
default: 1
|
|
@@ -788,7 +804,10 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
788
804
|
|
|
789
805
|
if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
|
|
790
806
|
setTimeout(() => {
|
|
791
|
-
this.input
|
|
807
|
+
if (this.input) {
|
|
808
|
+
this.input.focus();
|
|
809
|
+
}
|
|
810
|
+
|
|
792
811
|
this.overlayVisible = false;
|
|
793
812
|
}, 150);
|
|
794
813
|
}
|
|
@@ -1452,7 +1471,6 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
1452
1471
|
throw 'Invalid Time';
|
|
1453
1472
|
}
|
|
1454
1473
|
|
|
1455
|
-
//DEBUG: 2952
|
|
1456
1474
|
this.pm = ampm === this.$primevue.config.locale.am || ampm === this.$primevue.config.locale.am.toLowerCase();
|
|
1457
1475
|
let time = this.parseTime(timeString);
|
|
1458
1476
|
|
|
@@ -2354,7 +2372,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2354
2372
|
|
|
2355
2373
|
if (propValue && Array.isArray(propValue)) {
|
|
2356
2374
|
if (this.isRangeSelection()) {
|
|
2357
|
-
propValue = propValue[1] || propValue[0];
|
|
2375
|
+
propValue = this.inline ? propValue[0] : propValue[1] || propValue[0];
|
|
2358
2376
|
} else if (this.isMultipleSelection()) {
|
|
2359
2377
|
propValue = propValue[propValue.length - 1];
|
|
2360
2378
|
}
|
|
@@ -2591,136 +2609,96 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2591
2609
|
const _hoisted_4 = { class: "p-datepicker-group-container" };
|
|
2592
2610
|
const _hoisted_5 = { class: "p-datepicker-header" };
|
|
2593
2611
|
const _hoisted_6 = ["disabled", "aria-label"];
|
|
2594
|
-
const _hoisted_7 =
|
|
2595
|
-
const _hoisted_8 = [
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
const _hoisted_9 = { class: "p-datepicker-title" };
|
|
2599
|
-
const _hoisted_10 = ["disabled", "aria-label"];
|
|
2600
|
-
const _hoisted_11 = ["disabled", "aria-label"];
|
|
2601
|
-
const _hoisted_12 = {
|
|
2612
|
+
const _hoisted_7 = { class: "p-datepicker-title" };
|
|
2613
|
+
const _hoisted_8 = ["disabled", "aria-label"];
|
|
2614
|
+
const _hoisted_9 = ["disabled", "aria-label"];
|
|
2615
|
+
const _hoisted_10 = {
|
|
2602
2616
|
key: 2,
|
|
2603
2617
|
class: "p-datepicker-decade"
|
|
2604
2618
|
};
|
|
2605
|
-
const
|
|
2606
|
-
const
|
|
2607
|
-
const _hoisted_15 = [
|
|
2608
|
-
_hoisted_14
|
|
2609
|
-
];
|
|
2610
|
-
const _hoisted_16 = {
|
|
2619
|
+
const _hoisted_11 = ["disabled", "aria-label"];
|
|
2620
|
+
const _hoisted_12 = {
|
|
2611
2621
|
key: 0,
|
|
2612
2622
|
class: "p-datepicker-calendar-container"
|
|
2613
2623
|
};
|
|
2614
|
-
const
|
|
2624
|
+
const _hoisted_13 = {
|
|
2615
2625
|
class: "p-datepicker-calendar",
|
|
2616
2626
|
role: "grid"
|
|
2617
2627
|
};
|
|
2618
|
-
const
|
|
2628
|
+
const _hoisted_14 = {
|
|
2619
2629
|
key: 0,
|
|
2620
2630
|
scope: "col",
|
|
2621
2631
|
class: "p-datepicker-weekheader p-disabled"
|
|
2622
2632
|
};
|
|
2623
|
-
const
|
|
2624
|
-
const
|
|
2633
|
+
const _hoisted_15 = ["abbr"];
|
|
2634
|
+
const _hoisted_16 = {
|
|
2625
2635
|
key: 0,
|
|
2626
2636
|
class: "p-datepicker-weeknumber"
|
|
2627
2637
|
};
|
|
2628
|
-
const
|
|
2629
|
-
const
|
|
2638
|
+
const _hoisted_17 = { class: "p-disabled" };
|
|
2639
|
+
const _hoisted_18 = {
|
|
2630
2640
|
key: 0,
|
|
2631
2641
|
style: {"visibility":"hidden"}
|
|
2632
2642
|
};
|
|
2633
|
-
const
|
|
2634
|
-
const
|
|
2635
|
-
const
|
|
2643
|
+
const _hoisted_19 = ["aria-label"];
|
|
2644
|
+
const _hoisted_20 = ["onClick", "onKeydown", "aria-selected"];
|
|
2645
|
+
const _hoisted_21 = {
|
|
2636
2646
|
key: 0,
|
|
2637
2647
|
class: "p-hidden-accessible",
|
|
2638
2648
|
"aria-live": "polite"
|
|
2639
2649
|
};
|
|
2640
|
-
const
|
|
2650
|
+
const _hoisted_22 = {
|
|
2641
2651
|
key: 0,
|
|
2642
2652
|
class: "p-monthpicker"
|
|
2643
2653
|
};
|
|
2644
|
-
const
|
|
2645
|
-
const
|
|
2654
|
+
const _hoisted_23 = ["onClick", "onKeydown"];
|
|
2655
|
+
const _hoisted_24 = {
|
|
2646
2656
|
key: 0,
|
|
2647
2657
|
class: "p-hidden-accessible",
|
|
2648
2658
|
"aria-live": "polite"
|
|
2649
2659
|
};
|
|
2650
|
-
const
|
|
2660
|
+
const _hoisted_25 = {
|
|
2651
2661
|
key: 1,
|
|
2652
2662
|
class: "p-yearpicker"
|
|
2653
2663
|
};
|
|
2654
|
-
const
|
|
2655
|
-
const
|
|
2664
|
+
const _hoisted_26 = ["onClick", "onKeydown"];
|
|
2665
|
+
const _hoisted_27 = {
|
|
2656
2666
|
key: 0,
|
|
2657
2667
|
class: "p-hidden-accessible",
|
|
2658
2668
|
"aria-live": "polite"
|
|
2659
2669
|
};
|
|
2660
|
-
const
|
|
2670
|
+
const _hoisted_28 = {
|
|
2661
2671
|
key: 1,
|
|
2662
2672
|
class: "p-timepicker"
|
|
2663
2673
|
};
|
|
2664
|
-
const
|
|
2665
|
-
const
|
|
2666
|
-
const
|
|
2667
|
-
const
|
|
2668
|
-
|
|
2669
|
-
];
|
|
2670
|
-
const
|
|
2671
|
-
const
|
|
2672
|
-
const _hoisted_39 = [
|
|
2673
|
-
_hoisted_38
|
|
2674
|
-
];
|
|
2675
|
-
const _hoisted_40 = { class: "p-separator" };
|
|
2676
|
-
const _hoisted_41 = { class: "p-minute-picker" };
|
|
2677
|
-
const _hoisted_42 = ["aria-label", "disabled"];
|
|
2678
|
-
const _hoisted_43 = /*#__PURE__*/vue.createElementVNode("span", { class: "pi pi-chevron-up" }, null, -1);
|
|
2679
|
-
const _hoisted_44 = [
|
|
2680
|
-
_hoisted_43
|
|
2681
|
-
];
|
|
2682
|
-
const _hoisted_45 = ["aria-label", "disabled"];
|
|
2683
|
-
const _hoisted_46 = /*#__PURE__*/vue.createElementVNode("span", { class: "pi pi-chevron-down" }, null, -1);
|
|
2684
|
-
const _hoisted_47 = [
|
|
2685
|
-
_hoisted_46
|
|
2686
|
-
];
|
|
2687
|
-
const _hoisted_48 = {
|
|
2674
|
+
const _hoisted_29 = { class: "p-hour-picker" };
|
|
2675
|
+
const _hoisted_30 = ["aria-label"];
|
|
2676
|
+
const _hoisted_31 = ["aria-label"];
|
|
2677
|
+
const _hoisted_32 = { class: "p-separator" };
|
|
2678
|
+
const _hoisted_33 = { class: "p-minute-picker" };
|
|
2679
|
+
const _hoisted_34 = ["aria-label", "disabled"];
|
|
2680
|
+
const _hoisted_35 = ["aria-label", "disabled"];
|
|
2681
|
+
const _hoisted_36 = {
|
|
2688
2682
|
key: 0,
|
|
2689
2683
|
class: "p-separator"
|
|
2690
2684
|
};
|
|
2691
|
-
const
|
|
2685
|
+
const _hoisted_37 = {
|
|
2692
2686
|
key: 1,
|
|
2693
2687
|
class: "p-second-picker"
|
|
2694
2688
|
};
|
|
2695
|
-
const
|
|
2696
|
-
const
|
|
2697
|
-
const
|
|
2698
|
-
_hoisted_51
|
|
2699
|
-
];
|
|
2700
|
-
const _hoisted_53 = ["aria-label", "disabled"];
|
|
2701
|
-
const _hoisted_54 = /*#__PURE__*/vue.createElementVNode("span", { class: "pi pi-chevron-down" }, null, -1);
|
|
2702
|
-
const _hoisted_55 = [
|
|
2703
|
-
_hoisted_54
|
|
2704
|
-
];
|
|
2705
|
-
const _hoisted_56 = {
|
|
2689
|
+
const _hoisted_38 = ["aria-label", "disabled"];
|
|
2690
|
+
const _hoisted_39 = ["aria-label", "disabled"];
|
|
2691
|
+
const _hoisted_40 = {
|
|
2706
2692
|
key: 2,
|
|
2707
2693
|
class: "p-separator"
|
|
2708
2694
|
};
|
|
2709
|
-
const
|
|
2695
|
+
const _hoisted_41 = {
|
|
2710
2696
|
key: 3,
|
|
2711
2697
|
class: "p-ampm-picker"
|
|
2712
2698
|
};
|
|
2713
|
-
const
|
|
2714
|
-
const
|
|
2715
|
-
const
|
|
2716
|
-
_hoisted_59
|
|
2717
|
-
];
|
|
2718
|
-
const _hoisted_61 = ["aria-label", "disabled"];
|
|
2719
|
-
const _hoisted_62 = /*#__PURE__*/vue.createElementVNode("span", { class: "pi pi-chevron-down" }, null, -1);
|
|
2720
|
-
const _hoisted_63 = [
|
|
2721
|
-
_hoisted_62
|
|
2722
|
-
];
|
|
2723
|
-
const _hoisted_64 = {
|
|
2699
|
+
const _hoisted_42 = ["aria-label", "disabled"];
|
|
2700
|
+
const _hoisted_43 = ["aria-label", "disabled"];
|
|
2701
|
+
const _hoisted_44 = {
|
|
2724
2702
|
key: 2,
|
|
2725
2703
|
class: "p-datepicker-buttonbar"
|
|
2726
2704
|
};
|
|
@@ -2753,7 +2731,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2753
2731
|
"aria-label": _ctx.ariaLabel,
|
|
2754
2732
|
inputmode: "none",
|
|
2755
2733
|
disabled: $props.disabled,
|
|
2756
|
-
readonly: !$props.manualInput,
|
|
2734
|
+
readonly: !$props.manualInput || $props.readonly,
|
|
2757
2735
|
tabindex: 0,
|
|
2758
2736
|
onInput: _cache[0] || (_cache[0] = (...args) => ($options.onInput && $options.onInput(...args))),
|
|
2759
2737
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.onInputClick && $options.onInputClick(...args))),
|
|
@@ -2820,11 +2798,15 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2820
2798
|
onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2821
2799
|
disabled: $props.disabled,
|
|
2822
2800
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.prevDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.prevYear : _ctx.$primevue.config.locale.prevMonth
|
|
2823
|
-
},
|
|
2801
|
+
}, [
|
|
2802
|
+
vue.createElementVNode("span", {
|
|
2803
|
+
class: vue.normalizeClass(['p-datepicker-prev-icon', $props.previousIcon])
|
|
2804
|
+
}, null, 2)
|
|
2805
|
+
], 40, _hoisted_6)), [
|
|
2824
2806
|
[vue.vShow, $props.showOtherMonths ? groupIndex === 0 : false],
|
|
2825
2807
|
[_directive_ripple]
|
|
2826
2808
|
]),
|
|
2827
|
-
vue.createElementVNode("div",
|
|
2809
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
2828
2810
|
($data.currentView === 'date')
|
|
2829
2811
|
? (vue.openBlock(), vue.createElementBlock("button", {
|
|
2830
2812
|
key: 0,
|
|
@@ -2834,7 +2816,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2834
2816
|
class: "p-datepicker-month p-link",
|
|
2835
2817
|
disabled: $options.switchViewButtonDisabled,
|
|
2836
2818
|
"aria-label": _ctx.$primevue.config.locale.chooseMonth
|
|
2837
|
-
}, vue.toDisplayString($options.getMonthName(month.month)), 41,
|
|
2819
|
+
}, vue.toDisplayString($options.getMonthName(month.month)), 41, _hoisted_8))
|
|
2838
2820
|
: vue.createCommentVNode("", true),
|
|
2839
2821
|
($data.currentView !== 'year')
|
|
2840
2822
|
? (vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -2845,10 +2827,10 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2845
2827
|
class: "p-datepicker-year p-link",
|
|
2846
2828
|
disabled: $options.switchViewButtonDisabled,
|
|
2847
2829
|
"aria-label": _ctx.$primevue.config.locale.chooseYear
|
|
2848
|
-
}, vue.toDisplayString($options.getYear(month)), 41,
|
|
2830
|
+
}, vue.toDisplayString($options.getYear(month)), 41, _hoisted_9))
|
|
2849
2831
|
: vue.createCommentVNode("", true),
|
|
2850
2832
|
($data.currentView === 'year')
|
|
2851
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
2833
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, [
|
|
2852
2834
|
vue.renderSlot(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
|
|
2853
2835
|
vue.createTextVNode(vue.toDisplayString($options.yearPickerValues[0]) + " - " + vue.toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1]), 1)
|
|
2854
2836
|
])
|
|
@@ -2862,18 +2844,22 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2862
2844
|
onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
|
|
2863
2845
|
disabled: $props.disabled,
|
|
2864
2846
|
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.nextDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.nextYear : _ctx.$primevue.config.locale.nextMonth
|
|
2865
|
-
},
|
|
2847
|
+
}, [
|
|
2848
|
+
vue.createElementVNode("span", {
|
|
2849
|
+
class: vue.normalizeClass(['p-datepicker-next-icon', $props.nextIcon])
|
|
2850
|
+
}, null, 2)
|
|
2851
|
+
], 40, _hoisted_11)), [
|
|
2866
2852
|
[vue.vShow, $props.showOtherMonths ? ($props.numberOfMonths === 1 ? true : groupIndex === $props.numberOfMonths - 1) : false],
|
|
2867
2853
|
[_directive_ripple]
|
|
2868
2854
|
])
|
|
2869
2855
|
]),
|
|
2870
2856
|
($data.currentView === 'date')
|
|
2871
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2872
|
-
vue.createElementVNode("table",
|
|
2857
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
|
|
2858
|
+
vue.createElementVNode("table", _hoisted_13, [
|
|
2873
2859
|
vue.createElementVNode("thead", null, [
|
|
2874
2860
|
vue.createElementVNode("tr", null, [
|
|
2875
2861
|
($props.showWeek)
|
|
2876
|
-
? (vue.openBlock(), vue.createElementBlock("th",
|
|
2862
|
+
? (vue.openBlock(), vue.createElementBlock("th", _hoisted_14, [
|
|
2877
2863
|
vue.createElementVNode("span", null, vue.toDisplayString($options.weekHeaderLabel), 1)
|
|
2878
2864
|
]))
|
|
2879
2865
|
: vue.createCommentVNode("", true),
|
|
@@ -2884,7 +2870,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2884
2870
|
abbr: weekDay
|
|
2885
2871
|
}, [
|
|
2886
2872
|
vue.createElementVNode("span", null, vue.toDisplayString(weekDay), 1)
|
|
2887
|
-
], 8,
|
|
2873
|
+
], 8, _hoisted_15))
|
|
2888
2874
|
}), 128))
|
|
2889
2875
|
])
|
|
2890
2876
|
]),
|
|
@@ -2894,10 +2880,10 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2894
2880
|
key: week[0].day + '' + week[0].month
|
|
2895
2881
|
}, [
|
|
2896
2882
|
($props.showWeek)
|
|
2897
|
-
? (vue.openBlock(), vue.createElementBlock("td",
|
|
2898
|
-
vue.createElementVNode("span",
|
|
2883
|
+
? (vue.openBlock(), vue.createElementBlock("td", _hoisted_16, [
|
|
2884
|
+
vue.createElementVNode("span", _hoisted_17, [
|
|
2899
2885
|
(month.weekNumbers[i] < 10)
|
|
2900
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
2886
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_18, "0"))
|
|
2901
2887
|
: vue.createCommentVNode("", true),
|
|
2902
2888
|
vue.createTextVNode(" " + vue.toDisplayString(month.weekNumbers[i]), 1)
|
|
2903
2889
|
])
|
|
@@ -2919,13 +2905,13 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2919
2905
|
vue.renderSlot(_ctx.$slots, "date", { date: date }, () => [
|
|
2920
2906
|
vue.createTextVNode(vue.toDisplayString(date.day), 1)
|
|
2921
2907
|
])
|
|
2922
|
-
], 42,
|
|
2908
|
+
], 42, _hoisted_20)), [
|
|
2923
2909
|
[_directive_ripple]
|
|
2924
2910
|
]),
|
|
2925
2911
|
($options.isSelected(date))
|
|
2926
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2912
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_21, vue.toDisplayString(date.day), 1))
|
|
2927
2913
|
: vue.createCommentVNode("", true)
|
|
2928
|
-
], 10,
|
|
2914
|
+
], 10, _hoisted_19))
|
|
2929
2915
|
}), 128))
|
|
2930
2916
|
]))
|
|
2931
2917
|
}), 128))
|
|
@@ -2937,7 +2923,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2937
2923
|
}), 128))
|
|
2938
2924
|
]),
|
|
2939
2925
|
($data.currentView === 'month')
|
|
2940
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2926
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
|
|
2941
2927
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.monthPickerValues, (m, i) => {
|
|
2942
2928
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
2943
2929
|
key: m,
|
|
@@ -2947,16 +2933,16 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2947
2933
|
}, [
|
|
2948
2934
|
vue.createTextVNode(vue.toDisplayString(m) + " ", 1),
|
|
2949
2935
|
($options.isMonthSelected(i))
|
|
2950
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2936
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_24, vue.toDisplayString(m), 1))
|
|
2951
2937
|
: vue.createCommentVNode("", true)
|
|
2952
|
-
], 42,
|
|
2938
|
+
], 42, _hoisted_23)), [
|
|
2953
2939
|
[_directive_ripple]
|
|
2954
2940
|
])
|
|
2955
2941
|
}), 128))
|
|
2956
2942
|
]))
|
|
2957
2943
|
: vue.createCommentVNode("", true),
|
|
2958
2944
|
($data.currentView === 'year')
|
|
2959
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2945
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_25, [
|
|
2960
2946
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.yearPickerValues, (y) => {
|
|
2961
2947
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
2962
2948
|
key: y,
|
|
@@ -2966,9 +2952,9 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2966
2952
|
}, [
|
|
2967
2953
|
vue.createTextVNode(vue.toDisplayString(y) + " ", 1),
|
|
2968
2954
|
($options.isYearSelected(y))
|
|
2969
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2955
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, vue.toDisplayString(y), 1))
|
|
2970
2956
|
: vue.createCommentVNode("", true)
|
|
2971
|
-
], 42,
|
|
2957
|
+
], 42, _hoisted_26)), [
|
|
2972
2958
|
[_directive_ripple]
|
|
2973
2959
|
])
|
|
2974
2960
|
}), 128))
|
|
@@ -2977,8 +2963,8 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2977
2963
|
], 64))
|
|
2978
2964
|
: vue.createCommentVNode("", true),
|
|
2979
2965
|
(($props.showTime || $props.timeOnly) && $data.currentView === 'date')
|
|
2980
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
2981
|
-
vue.createElementVNode("div",
|
|
2966
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_28, [
|
|
2967
|
+
vue.createElementVNode("div", _hoisted_29, [
|
|
2982
2968
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
2983
2969
|
class: "p-link",
|
|
2984
2970
|
"aria-label": _ctx.$primevue.config.locale.nextHour,
|
|
@@ -2995,7 +2981,11 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
2995
2981
|
_cache[20] || (_cache[20] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
2996
2982
|
],
|
|
2997
2983
|
type: "button"
|
|
2998
|
-
},
|
|
2984
|
+
}, [
|
|
2985
|
+
vue.createElementVNode("span", {
|
|
2986
|
+
class: vue.normalizeClass($props.incrementIcon)
|
|
2987
|
+
}, null, 2)
|
|
2988
|
+
], 40, _hoisted_30)), [
|
|
2999
2989
|
[_directive_ripple]
|
|
3000
2990
|
]),
|
|
3001
2991
|
vue.createElementVNode("span", null, vue.toDisplayString($options.formattedCurrentHour), 1),
|
|
@@ -3015,14 +3005,18 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3015
3005
|
_cache[28] || (_cache[28] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3016
3006
|
],
|
|
3017
3007
|
type: "button"
|
|
3018
|
-
},
|
|
3008
|
+
}, [
|
|
3009
|
+
vue.createElementVNode("span", {
|
|
3010
|
+
class: vue.normalizeClass($props.decrementIcon)
|
|
3011
|
+
}, null, 2)
|
|
3012
|
+
], 40, _hoisted_31)), [
|
|
3019
3013
|
[_directive_ripple]
|
|
3020
3014
|
])
|
|
3021
3015
|
]),
|
|
3022
|
-
vue.createElementVNode("div",
|
|
3016
|
+
vue.createElementVNode("div", _hoisted_32, [
|
|
3023
3017
|
vue.createElementVNode("span", null, vue.toDisplayString($props.timeSeparator), 1)
|
|
3024
3018
|
]),
|
|
3025
|
-
vue.createElementVNode("div",
|
|
3019
|
+
vue.createElementVNode("div", _hoisted_33, [
|
|
3026
3020
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3027
3021
|
class: "p-link",
|
|
3028
3022
|
"aria-label": _ctx.$primevue.config.locale.nextMinute,
|
|
@@ -3040,7 +3034,11 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3040
3034
|
_cache[36] || (_cache[36] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3041
3035
|
],
|
|
3042
3036
|
type: "button"
|
|
3043
|
-
},
|
|
3037
|
+
}, [
|
|
3038
|
+
vue.createElementVNode("span", {
|
|
3039
|
+
class: vue.normalizeClass($props.incrementIcon)
|
|
3040
|
+
}, null, 2)
|
|
3041
|
+
], 40, _hoisted_34)), [
|
|
3044
3042
|
[_directive_ripple]
|
|
3045
3043
|
]),
|
|
3046
3044
|
vue.createElementVNode("span", null, vue.toDisplayString($options.formattedCurrentMinute), 1),
|
|
@@ -3061,17 +3059,21 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3061
3059
|
_cache[44] || (_cache[44] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3062
3060
|
],
|
|
3063
3061
|
type: "button"
|
|
3064
|
-
},
|
|
3062
|
+
}, [
|
|
3063
|
+
vue.createElementVNode("span", {
|
|
3064
|
+
class: vue.normalizeClass($props.decrementIcon)
|
|
3065
|
+
}, null, 2)
|
|
3066
|
+
], 40, _hoisted_35)), [
|
|
3065
3067
|
[_directive_ripple]
|
|
3066
3068
|
])
|
|
3067
3069
|
]),
|
|
3068
3070
|
($props.showSeconds)
|
|
3069
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3071
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_36, [
|
|
3070
3072
|
vue.createElementVNode("span", null, vue.toDisplayString($props.timeSeparator), 1)
|
|
3071
3073
|
]))
|
|
3072
3074
|
: vue.createCommentVNode("", true),
|
|
3073
3075
|
($props.showSeconds)
|
|
3074
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3076
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_37, [
|
|
3075
3077
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3076
3078
|
class: "p-link",
|
|
3077
3079
|
"aria-label": _ctx.$primevue.config.locale.nextSecond,
|
|
@@ -3089,7 +3091,11 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3089
3091
|
_cache[52] || (_cache[52] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3090
3092
|
],
|
|
3091
3093
|
type: "button"
|
|
3092
|
-
},
|
|
3094
|
+
}, [
|
|
3095
|
+
vue.createElementVNode("span", {
|
|
3096
|
+
class: vue.normalizeClass($props.incrementIcon)
|
|
3097
|
+
}, null, 2)
|
|
3098
|
+
], 40, _hoisted_38)), [
|
|
3093
3099
|
[_directive_ripple]
|
|
3094
3100
|
]),
|
|
3095
3101
|
vue.createElementVNode("span", null, vue.toDisplayString($options.formattedCurrentSecond), 1),
|
|
@@ -3110,25 +3116,33 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3110
3116
|
_cache[60] || (_cache[60] = vue.withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
|
|
3111
3117
|
],
|
|
3112
3118
|
type: "button"
|
|
3113
|
-
},
|
|
3119
|
+
}, [
|
|
3120
|
+
vue.createElementVNode("span", {
|
|
3121
|
+
class: vue.normalizeClass($props.decrementIcon)
|
|
3122
|
+
}, null, 2)
|
|
3123
|
+
], 40, _hoisted_39)), [
|
|
3114
3124
|
[_directive_ripple]
|
|
3115
3125
|
])
|
|
3116
3126
|
]))
|
|
3117
3127
|
: vue.createCommentVNode("", true),
|
|
3118
3128
|
($props.hourFormat == '12')
|
|
3119
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3129
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_40, [
|
|
3120
3130
|
vue.createElementVNode("span", null, vue.toDisplayString($props.timeSeparator), 1)
|
|
3121
3131
|
]))
|
|
3122
3132
|
: vue.createCommentVNode("", true),
|
|
3123
3133
|
($props.hourFormat == '12')
|
|
3124
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3134
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_41, [
|
|
3125
3135
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
3126
3136
|
class: "p-link",
|
|
3127
3137
|
"aria-label": _ctx.$primevue.config.locale.am,
|
|
3128
3138
|
onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
|
|
3129
3139
|
type: "button",
|
|
3130
3140
|
disabled: $props.disabled
|
|
3131
|
-
},
|
|
3141
|
+
}, [
|
|
3142
|
+
vue.createElementVNode("span", {
|
|
3143
|
+
class: vue.normalizeClass($props.incrementIcon)
|
|
3144
|
+
}, null, 2)
|
|
3145
|
+
], 8, _hoisted_42)), [
|
|
3132
3146
|
[_directive_ripple]
|
|
3133
3147
|
]),
|
|
3134
3148
|
vue.createElementVNode("span", null, vue.toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 1),
|
|
@@ -3138,7 +3152,11 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3138
3152
|
onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
|
|
3139
3153
|
type: "button",
|
|
3140
3154
|
disabled: $props.disabled
|
|
3141
|
-
},
|
|
3155
|
+
}, [
|
|
3156
|
+
vue.createElementVNode("span", {
|
|
3157
|
+
class: vue.normalizeClass($props.decrementIcon)
|
|
3158
|
+
}, null, 2)
|
|
3159
|
+
], 8, _hoisted_43)), [
|
|
3142
3160
|
[_directive_ripple]
|
|
3143
3161
|
])
|
|
3144
3162
|
]))
|
|
@@ -3146,7 +3164,7 @@ this.primevue.calendar = (function (Button, OverlayEventBus, Portal, Ripple, uti
|
|
|
3146
3164
|
]))
|
|
3147
3165
|
: vue.createCommentVNode("", true),
|
|
3148
3166
|
($props.showButtonBar)
|
|
3149
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3167
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_44, [
|
|
3150
3168
|
vue.createVNode(_component_CalendarButton, {
|
|
3151
3169
|
type: "button",
|
|
3152
3170
|
label: $options.todayLabel,
|