primevue 4.3.2 → 4.3.3
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/autocomplete/AutoComplete.vue +56 -10
- package/autocomplete/index.mjs +67 -33
- package/autocomplete/index.mjs.map +1 -1
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/index.mjs +1 -2
- package/cascadeselect/index.mjs.map +1 -1
- package/checkbox/Checkbox.vue +1 -1
- package/checkbox/index.mjs +2 -1
- package/checkbox/index.mjs.map +1 -1
- package/chip/BaseChip.vue +1 -1
- package/chip/index.d.ts +1 -1
- package/chip/index.mjs +1 -1
- package/chip/index.mjs.map +1 -1
- package/colorpicker/ColorPicker.vue +1 -1
- package/colorpicker/index.mjs +1 -1
- package/colorpicker/index.mjs.map +1 -1
- package/datatable/BodyCell.vue +1 -0
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +103 -44
- package/datatable/HeaderCheckbox.vue +2 -2
- package/datatable/RowCheckbox.vue +1 -1
- package/datatable/TableBody.vue +12 -1
- package/datatable/TableFooter.vue +9 -1
- package/datatable/TableHeader.vue +9 -2
- package/datatable/index.d.ts +35 -27
- package/datatable/index.mjs +163 -99
- package/datatable/index.mjs.map +1 -1
- package/dataview/DataView.vue +4 -0
- package/dataview/index.d.ts +58 -1
- package/dataview/index.mjs +6 -2
- package/dataview/index.mjs.map +1 -1
- package/datepicker/DatePicker.vue +369 -233
- package/datepicker/index.d.ts +156 -0
- package/datepicker/index.mjs +643 -383
- package/datepicker/index.mjs.map +1 -1
- package/drawer/Drawer.vue +30 -20
- package/drawer/index.d.ts +10 -0
- package/drawer/index.mjs +42 -25
- package/drawer/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +1 -1
- package/fileupload/index.mjs +2 -2
- package/fileupload/index.mjs.map +1 -1
- package/galleria/Galleria.vue +39 -3
- package/galleria/index.mjs +40 -3
- package/galleria/index.mjs.map +1 -1
- package/inplace/Inplace.vue +1 -1
- package/inplace/index.mjs +3 -2
- package/inplace/index.mjs.map +1 -1
- package/inputnumber/BaseInputNumber.vue +4 -0
- package/inputnumber/InputNumber.vue +2 -9
- package/inputnumber/index.mjs +7 -8
- package/inputnumber/index.mjs.map +1 -1
- package/inputtext/index.d.ts +1 -2
- package/keyfilter/index.mjs +12 -19
- package/keyfilter/index.mjs.map +1 -1
- package/listbox/Listbox.vue +9 -2
- package/listbox/index.mjs +11 -3
- package/listbox/index.mjs.map +1 -1
- package/menu/Menu.vue +8 -2
- package/menu/Menuitem.vue +14 -4
- package/menu/index.mjs +36 -16
- package/menu/index.mjs.map +1 -1
- package/metergroup/MeterGroup.vue +9 -3
- package/metergroup/MeterGroupLabel.vue +10 -1
- package/metergroup/index.mjs +32 -7
- package/metergroup/index.mjs.map +1 -1
- package/multiselect/MultiSelect.vue +36 -5
- package/multiselect/index.mjs +49 -20
- package/multiselect/index.mjs.map +1 -1
- package/package.json +3 -3
- package/paginator/Paginator.vue +2 -0
- package/paginator/index.d.ts +8 -0
- package/paginator/index.mjs +3 -1
- package/paginator/index.mjs.map +1 -1
- package/panelmenu/PanelMenuList.vue +1 -1
- package/panelmenu/index.mjs +1 -1
- package/panelmenu/index.mjs.map +1 -1
- package/password/Password.vue +21 -3
- package/password/index.d.ts +1 -1
- package/password/index.mjs +32 -10
- package/password/index.mjs.map +1 -1
- package/popover/Popover.vue +1 -1
- package/popover/index.mjs +1 -2
- package/popover/index.mjs.map +1 -1
- package/progressbar/ProgressBar.vue +4 -4
- package/progressbar/index.mjs +8 -12
- package/progressbar/index.mjs.map +1 -1
- package/scrolltop/ScrollTop.vue +2 -2
- package/scrolltop/index.mjs +4 -2
- package/scrolltop/index.mjs.map +1 -1
- package/select/Select.vue +48 -12
- package/select/index.mjs +104 -71
- package/select/index.mjs.map +1 -1
- package/splitter/Splitter.vue +10 -2
- package/splitter/index.mjs +19 -6
- package/splitter/index.mjs.map +1 -1
- package/step/Step.vue +25 -7
- package/step/index.mjs +44 -14
- package/step/index.mjs.map +1 -1
- package/steppanel/StepPanel.vue +9 -3
- package/steppanel/index.d.ts +8 -0
- package/steppanel/index.mjs +23 -8
- package/steppanel/index.mjs.map +1 -1
- package/stepper/StepperSeparator.vue +5 -2
- package/tab/Tab.vue +4 -4
- package/tab/index.mjs +4 -4
- package/tab/index.mjs.map +1 -1
- package/tablist/TabList.vue +3 -0
- package/tablist/index.mjs +1 -0
- package/tablist/index.mjs.map +1 -1
- package/tabpanel/TabPanel.vue +2 -2
- package/tabpanel/index.mjs +2 -2
- package/tabpanel/index.mjs.map +1 -1
- package/textarea/index.d.ts +1 -2
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/index.mjs +1 -2
- package/tieredmenu/index.mjs.map +1 -1
- package/tooltip/index.mjs +22 -16
- package/tooltip/index.mjs.map +1 -1
- package/tree/Tree.vue +14 -2
- package/tree/TreeNode.vue +2 -2
- package/tree/index.mjs +28 -10
- package/tree/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +1 -1
- package/treeselect/index.mjs +1 -2
- package/treeselect/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/virtualscroller/VirtualScroller.vue +13 -2
- package/virtualscroller/index.mjs +14 -4
- package/virtualscroller/index.mjs.map +1 -1
- package/virtualscroller/style/index.mjs +1 -1
- package/virtualscroller/style/index.mjs.map +1 -1
- package/web-types.json +1 -1
package/datepicker/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { cn } from '@primeuix/utils';
|
|
1
2
|
import { setAttribute, getFocusableElements, find, findSingle, getIndex, getAttribute, relativePosition, getOuterWidth, absolutePosition, isTouchDevice, addStyle } from '@primeuix/utils/dom';
|
|
2
3
|
import { localeComparator } from '@primeuix/utils/object';
|
|
3
4
|
import { ZIndex } from '@primeuix/utils/zindex';
|
|
@@ -259,6 +260,9 @@ var script$1 = {
|
|
|
259
260
|
}
|
|
260
261
|
};
|
|
261
262
|
|
|
263
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
|
|
264
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
265
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
262
266
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
263
267
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
264
268
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -579,8 +583,7 @@ var script = {
|
|
|
579
583
|
onOverlayEnter: function onOverlayEnter(el) {
|
|
580
584
|
var styles = !this.inline ? {
|
|
581
585
|
position: 'absolute',
|
|
582
|
-
top: '0'
|
|
583
|
-
left: '0'
|
|
586
|
+
top: '0'
|
|
584
587
|
} : undefined;
|
|
585
588
|
addStyle(el, styles);
|
|
586
589
|
if (this.autoZIndex) {
|
|
@@ -804,7 +807,8 @@ var script = {
|
|
|
804
807
|
}
|
|
805
808
|
},
|
|
806
809
|
isOutsideClicked: function isOutsideClicked(event) {
|
|
807
|
-
|
|
810
|
+
var composedPath = event.composedPath();
|
|
811
|
+
return !(this.$el.isSameNode(event.target) || this.isNavIconClicked(event) || composedPath.includes(this.$el) || composedPath.includes(this.overlay));
|
|
808
812
|
},
|
|
809
813
|
isNavIconClicked: function isNavIconClicked(event) {
|
|
810
814
|
return this.previousButton && (this.previousButton.isSameNode(event.target) || this.previousButton.contains(event.target)) || this.nextButton && (this.nextButton.isSameNode(event.target) || this.nextButton.contains(event.target));
|
|
@@ -1161,6 +1165,31 @@ var script = {
|
|
|
1161
1165
|
onTimePickerElementMouseLeave: function onTimePickerElementMouseLeave() {
|
|
1162
1166
|
this.clearTimePickerTimer();
|
|
1163
1167
|
},
|
|
1168
|
+
onTimePickerElementKeyDown: function onTimePickerElementKeyDown(event, type, direction) {
|
|
1169
|
+
switch (event.code) {
|
|
1170
|
+
case 'Enter':
|
|
1171
|
+
case 'NumpadEnter':
|
|
1172
|
+
case 'Space':
|
|
1173
|
+
if (this.isEnabled()) {
|
|
1174
|
+
this.repeat(event, null, type, direction);
|
|
1175
|
+
event.preventDefault();
|
|
1176
|
+
}
|
|
1177
|
+
break;
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
onTimePickerElementKeyUp: function onTimePickerElementKeyUp(event) {
|
|
1181
|
+
switch (event.code) {
|
|
1182
|
+
case 'Enter':
|
|
1183
|
+
case 'NumpadEnter':
|
|
1184
|
+
case 'Space':
|
|
1185
|
+
if (this.isEnabled()) {
|
|
1186
|
+
this.clearTimePickerTimer();
|
|
1187
|
+
this.updateModelTime();
|
|
1188
|
+
event.preventDefault();
|
|
1189
|
+
}
|
|
1190
|
+
break;
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1164
1193
|
repeat: function repeat(event, interval, type, direction) {
|
|
1165
1194
|
var _this10 = this;
|
|
1166
1195
|
var i = interval || 500;
|
|
@@ -2311,6 +2340,14 @@ var script = {
|
|
|
2311
2340
|
this.responsiveStyleElement.remove();
|
|
2312
2341
|
this.responsiveStyleElement = null;
|
|
2313
2342
|
}
|
|
2343
|
+
},
|
|
2344
|
+
dayDataP: function dayDataP(date) {
|
|
2345
|
+
return cn({
|
|
2346
|
+
today: date.today,
|
|
2347
|
+
'other-month': date.otherMonth,
|
|
2348
|
+
selected: this.isSelected(date),
|
|
2349
|
+
disabled: !date.selectable
|
|
2350
|
+
});
|
|
2314
2351
|
}
|
|
2315
2352
|
},
|
|
2316
2353
|
computed: {
|
|
@@ -2515,6 +2552,144 @@ var script = {
|
|
|
2515
2552
|
},
|
|
2516
2553
|
panelId: function panelId() {
|
|
2517
2554
|
return this.$id + '_panel';
|
|
2555
|
+
},
|
|
2556
|
+
containerDataP: function containerDataP() {
|
|
2557
|
+
return cn({
|
|
2558
|
+
fluid: this.$fluid
|
|
2559
|
+
});
|
|
2560
|
+
},
|
|
2561
|
+
panelDataP: function panelDataP() {
|
|
2562
|
+
return cn(_defineProperty({
|
|
2563
|
+
inline: this.inline
|
|
2564
|
+
}, 'portal-' + this.appendTo, 'portal-' + this.appendTo));
|
|
2565
|
+
},
|
|
2566
|
+
inputIconDataP: function inputIconDataP() {
|
|
2567
|
+
return cn(_defineProperty({}, this.size, this.size));
|
|
2568
|
+
},
|
|
2569
|
+
timePickerDataP: function timePickerDataP() {
|
|
2570
|
+
return cn({
|
|
2571
|
+
'time-only': this.timeOnly
|
|
2572
|
+
});
|
|
2573
|
+
},
|
|
2574
|
+
hourIncrementCallbacks: function hourIncrementCallbacks() {
|
|
2575
|
+
var _this15 = this;
|
|
2576
|
+
return {
|
|
2577
|
+
mousedown: function mousedown(event) {
|
|
2578
|
+
return _this15.onTimePickerElementMouseDown(event, 0, 1);
|
|
2579
|
+
},
|
|
2580
|
+
mouseup: function mouseup(event) {
|
|
2581
|
+
return _this15.onTimePickerElementMouseUp(event);
|
|
2582
|
+
},
|
|
2583
|
+
mouseleave: function mouseleave() {
|
|
2584
|
+
return _this15.onTimePickerElementMouseLeave();
|
|
2585
|
+
},
|
|
2586
|
+
keydown: function keydown(event) {
|
|
2587
|
+
return _this15.onTimePickerElementKeyDown(event, 0, 1);
|
|
2588
|
+
},
|
|
2589
|
+
keyup: function keyup(event) {
|
|
2590
|
+
return _this15.onTimePickerElementKeyUp(event);
|
|
2591
|
+
}
|
|
2592
|
+
};
|
|
2593
|
+
},
|
|
2594
|
+
hourDecrementCallbacks: function hourDecrementCallbacks() {
|
|
2595
|
+
var _this16 = this;
|
|
2596
|
+
return {
|
|
2597
|
+
mousedown: function mousedown(event) {
|
|
2598
|
+
return _this16.onTimePickerElementMouseDown(event, 0, -1);
|
|
2599
|
+
},
|
|
2600
|
+
mouseup: function mouseup(event) {
|
|
2601
|
+
return _this16.onTimePickerElementMouseUp(event);
|
|
2602
|
+
},
|
|
2603
|
+
mouseleave: function mouseleave() {
|
|
2604
|
+
return _this16.onTimePickerElementMouseLeave();
|
|
2605
|
+
},
|
|
2606
|
+
keydown: function keydown(event) {
|
|
2607
|
+
return _this16.onTimePickerElementKeyDown(event, 0, -1);
|
|
2608
|
+
},
|
|
2609
|
+
keyup: function keyup(event) {
|
|
2610
|
+
return _this16.onTimePickerElementKeyUp(event);
|
|
2611
|
+
}
|
|
2612
|
+
};
|
|
2613
|
+
},
|
|
2614
|
+
minuteIncrementCallbacks: function minuteIncrementCallbacks() {
|
|
2615
|
+
var _this17 = this;
|
|
2616
|
+
return {
|
|
2617
|
+
mousedown: function mousedown(event) {
|
|
2618
|
+
return _this17.onTimePickerElementMouseDown(event, 1, 1);
|
|
2619
|
+
},
|
|
2620
|
+
mouseup: function mouseup(event) {
|
|
2621
|
+
return _this17.onTimePickerElementMouseUp(event);
|
|
2622
|
+
},
|
|
2623
|
+
mouseleave: function mouseleave() {
|
|
2624
|
+
return _this17.onTimePickerElementMouseLeave();
|
|
2625
|
+
},
|
|
2626
|
+
keydown: function keydown(event) {
|
|
2627
|
+
return _this17.onTimePickerElementKeyDown(event, 1, 1);
|
|
2628
|
+
},
|
|
2629
|
+
keyup: function keyup(event) {
|
|
2630
|
+
return _this17.onTimePickerElementKeyUp(event);
|
|
2631
|
+
}
|
|
2632
|
+
};
|
|
2633
|
+
},
|
|
2634
|
+
minuteDecrementCallbacks: function minuteDecrementCallbacks() {
|
|
2635
|
+
var _this18 = this;
|
|
2636
|
+
return {
|
|
2637
|
+
mousedown: function mousedown(event) {
|
|
2638
|
+
return _this18.onTimePickerElementMouseDown(event, 1, -1);
|
|
2639
|
+
},
|
|
2640
|
+
mouseup: function mouseup(event) {
|
|
2641
|
+
return _this18.onTimePickerElementMouseUp(event);
|
|
2642
|
+
},
|
|
2643
|
+
mouseleave: function mouseleave() {
|
|
2644
|
+
return _this18.onTimePickerElementMouseLeave();
|
|
2645
|
+
},
|
|
2646
|
+
keydown: function keydown(event) {
|
|
2647
|
+
return _this18.onTimePickerElementKeyDown(event, 1, -1);
|
|
2648
|
+
},
|
|
2649
|
+
keyup: function keyup(event) {
|
|
2650
|
+
return _this18.onTimePickerElementKeyUp(event);
|
|
2651
|
+
}
|
|
2652
|
+
};
|
|
2653
|
+
},
|
|
2654
|
+
secondIncrementCallbacks: function secondIncrementCallbacks() {
|
|
2655
|
+
var _this19 = this;
|
|
2656
|
+
return {
|
|
2657
|
+
mousedown: function mousedown(event) {
|
|
2658
|
+
return _this19.onTimePickerElementMouseDown(event, 2, 1);
|
|
2659
|
+
},
|
|
2660
|
+
mouseup: function mouseup(event) {
|
|
2661
|
+
return _this19.onTimePickerElementMouseUp(event);
|
|
2662
|
+
},
|
|
2663
|
+
mouseleave: function mouseleave() {
|
|
2664
|
+
return _this19.onTimePickerElementMouseLeave();
|
|
2665
|
+
},
|
|
2666
|
+
keydown: function keydown(event) {
|
|
2667
|
+
return _this19.onTimePickerElementKeyDown(event, 2, 1);
|
|
2668
|
+
},
|
|
2669
|
+
keyup: function keyup(event) {
|
|
2670
|
+
return _this19.onTimePickerElementKeyUp(event);
|
|
2671
|
+
}
|
|
2672
|
+
};
|
|
2673
|
+
},
|
|
2674
|
+
secondDecrementCallbacks: function secondDecrementCallbacks() {
|
|
2675
|
+
var _this20 = this;
|
|
2676
|
+
return {
|
|
2677
|
+
mousedown: function mousedown(event) {
|
|
2678
|
+
return _this20.onTimePickerElementMouseDown(event, 2, -1);
|
|
2679
|
+
},
|
|
2680
|
+
mouseup: function mouseup(event) {
|
|
2681
|
+
return _this20.onTimePickerElementMouseUp(event);
|
|
2682
|
+
},
|
|
2683
|
+
mouseleave: function mouseleave() {
|
|
2684
|
+
return _this20.onTimePickerElementMouseLeave();
|
|
2685
|
+
},
|
|
2686
|
+
keydown: function keydown(event) {
|
|
2687
|
+
return _this20.onTimePickerElementKeyDown(event, 2, -1);
|
|
2688
|
+
},
|
|
2689
|
+
keyup: function keyup(event) {
|
|
2690
|
+
return _this20.onTimePickerElementKeyUp(event);
|
|
2691
|
+
}
|
|
2692
|
+
};
|
|
2518
2693
|
}
|
|
2519
2694
|
},
|
|
2520
2695
|
components: {
|
|
@@ -2532,20 +2707,22 @@ var script = {
|
|
|
2532
2707
|
}
|
|
2533
2708
|
};
|
|
2534
2709
|
|
|
2535
|
-
var _hoisted_1 = ["id"];
|
|
2710
|
+
var _hoisted_1 = ["id", "data-p"];
|
|
2536
2711
|
var _hoisted_2 = ["disabled", "aria-label", "aria-expanded", "aria-controls"];
|
|
2537
|
-
var _hoisted_3 = ["
|
|
2538
|
-
var _hoisted_4 = ["
|
|
2712
|
+
var _hoisted_3 = ["data-p"];
|
|
2713
|
+
var _hoisted_4 = ["id", "role", "aria-modal", "aria-label", "data-p"];
|
|
2539
2714
|
var _hoisted_5 = ["disabled", "aria-label"];
|
|
2540
2715
|
var _hoisted_6 = ["disabled", "aria-label"];
|
|
2541
2716
|
var _hoisted_7 = ["disabled", "aria-label"];
|
|
2542
|
-
var _hoisted_8 = ["
|
|
2543
|
-
var _hoisted_9 = ["
|
|
2544
|
-
var _hoisted_10 = ["
|
|
2545
|
-
var _hoisted_11 = ["
|
|
2546
|
-
var _hoisted_12 = ["
|
|
2547
|
-
var _hoisted_13 = ["onClick", "onKeydown", "
|
|
2717
|
+
var _hoisted_8 = ["disabled", "aria-label"];
|
|
2718
|
+
var _hoisted_9 = ["data-p-disabled"];
|
|
2719
|
+
var _hoisted_10 = ["abbr"];
|
|
2720
|
+
var _hoisted_11 = ["data-p-disabled"];
|
|
2721
|
+
var _hoisted_12 = ["aria-label", "data-p-today", "data-p-other-month"];
|
|
2722
|
+
var _hoisted_13 = ["onClick", "onKeydown", "aria-selected", "aria-disabled", "data-p"];
|
|
2548
2723
|
var _hoisted_14 = ["onClick", "onKeydown", "data-p-disabled", "data-p-selected"];
|
|
2724
|
+
var _hoisted_15 = ["onClick", "onKeydown", "data-p-disabled", "data-p-selected"];
|
|
2725
|
+
var _hoisted_16 = ["data-p"];
|
|
2549
2726
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2550
2727
|
var _component_InputText = resolveComponent("InputText");
|
|
2551
2728
|
var _component_Button = resolveComponent("Button");
|
|
@@ -2555,7 +2732,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2555
2732
|
ref: "container",
|
|
2556
2733
|
id: _ctx.$id,
|
|
2557
2734
|
"class": _ctx.cx('root'),
|
|
2558
|
-
style: _ctx.sx('root')
|
|
2735
|
+
style: _ctx.sx('root'),
|
|
2736
|
+
"data-p": $options.containerDataP
|
|
2559
2737
|
}, _ctx.ptmi('root')), [!_ctx.inline ? (openBlock(), createBlock(_component_InputText, {
|
|
2560
2738
|
key: 0,
|
|
2561
2739
|
ref: $options.inputRef,
|
|
@@ -2587,8 +2765,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2587
2765
|
onFocus: $options.onFocus,
|
|
2588
2766
|
onBlur: $options.onBlur,
|
|
2589
2767
|
onKeydown: $options.onKeyDown,
|
|
2768
|
+
"data-p-has-dropdown": _ctx.showIcon && _ctx.iconDisplay === 'button' && !_ctx.inline,
|
|
2769
|
+
"data-p-has-e-icon": _ctx.showIcon && _ctx.iconDisplay === 'input' && !_ctx.inline,
|
|
2590
2770
|
pt: _ctx.ptm('pcInputText')
|
|
2591
|
-
}, null, 8, ["id", "class", "style", "defaultValue", "placeholder", "name", "size", "invalid", "variant", "fluid", "unstyled", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly", "onInput", "onClick", "onFocus", "onBlur", "onKeydown", "pt"])) : createCommentVNode("", true), _ctx.showIcon && _ctx.iconDisplay === 'button' && !_ctx.inline ? renderSlot(_ctx.$slots, "dropdownbutton", {
|
|
2771
|
+
}, null, 8, ["id", "class", "style", "defaultValue", "placeholder", "name", "size", "invalid", "variant", "fluid", "unstyled", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly", "onInput", "onClick", "onFocus", "onBlur", "onKeydown", "data-p-has-dropdown", "data-p-has-e-icon", "pt"])) : createCommentVNode("", true), _ctx.showIcon && _ctx.iconDisplay === 'button' && !_ctx.inline ? renderSlot(_ctx.$slots, "dropdownbutton", {
|
|
2592
2772
|
key: 1,
|
|
2593
2773
|
toggleCallback: $options.onButtonClick
|
|
2594
2774
|
}, function () {
|
|
@@ -2614,7 +2794,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2614
2794
|
key: 2
|
|
2615
2795
|
}, [_ctx.$slots.inputicon || _ctx.showIcon ? (openBlock(), createElementBlock("span", mergeProps({
|
|
2616
2796
|
key: 0,
|
|
2617
|
-
"class": _ctx.cx('inputIconContainer')
|
|
2797
|
+
"class": _ctx.cx('inputIconContainer'),
|
|
2798
|
+
"data-p": $options.inputIconDataP
|
|
2618
2799
|
}, _ctx.ptm('inputIconContainer')), [renderSlot(_ctx.$slots, "inputicon", {
|
|
2619
2800
|
"class": normalizeClass(_ctx.cx('inputIcon')),
|
|
2620
2801
|
clickCallback: $options.onButtonClick
|
|
@@ -2623,7 +2804,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2623
2804
|
"class": [_ctx.icon, _ctx.cx('inputIcon')],
|
|
2624
2805
|
onClick: $options.onButtonClick
|
|
2625
2806
|
}, _ctx.ptm('inputicon')), null, 16, ["class", "onClick"]))];
|
|
2626
|
-
})], 16)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), createVNode(_component_Portal, {
|
|
2807
|
+
})], 16, _hoisted_3)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), createVNode(_component_Portal, {
|
|
2627
2808
|
appendTo: _ctx.appendTo,
|
|
2628
2809
|
disabled: _ctx.inline
|
|
2629
2810
|
}, {
|
|
@@ -2655,7 +2836,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2655
2836
|
}),
|
|
2656
2837
|
onMouseup: _cache[57] || (_cache[57] = function () {
|
|
2657
2838
|
return $options.onOverlayMouseUp && $options.onOverlayMouseUp.apply($options, arguments);
|
|
2658
|
-
})
|
|
2839
|
+
}),
|
|
2840
|
+
"data-p": $options.panelDataP
|
|
2659
2841
|
}, _ctx.ptm('panel')), [!_ctx.timeOnly ? (openBlock(), createElementBlock(Fragment, {
|
|
2660
2842
|
key: 0
|
|
2661
2843
|
}, [createElementVNode("div", mergeProps({
|
|
@@ -2668,29 +2850,38 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2668
2850
|
}, _ctx.ptm('calendar')), [createElementVNode("div", mergeProps({
|
|
2669
2851
|
"class": _ctx.cx('header'),
|
|
2670
2852
|
ref_for: true
|
|
2671
|
-
}, _ctx.ptm('header')), [renderSlot(_ctx.$slots, "header"),
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
}),
|
|
2692
|
-
|
|
2693
|
-
|
|
2853
|
+
}, _ctx.ptm('header')), [renderSlot(_ctx.$slots, "header"), renderSlot(_ctx.$slots, "prevbutton", {
|
|
2854
|
+
actionCallback: function actionCallback(event) {
|
|
2855
|
+
return $options.onPrevButtonClick(event);
|
|
2856
|
+
},
|
|
2857
|
+
keydownCallback: function keydownCallback(event) {
|
|
2858
|
+
return $options.onContainerButtonKeydown(event);
|
|
2859
|
+
}
|
|
2860
|
+
}, function () {
|
|
2861
|
+
return [withDirectives(createVNode(_component_Button, mergeProps({
|
|
2862
|
+
ref_for: true,
|
|
2863
|
+
ref: $options.previousButtonRef,
|
|
2864
|
+
"class": _ctx.cx('pcPrevButton'),
|
|
2865
|
+
disabled: _ctx.disabled,
|
|
2866
|
+
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.prevDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.prevYear : _ctx.$primevue.config.locale.prevMonth,
|
|
2867
|
+
unstyled: _ctx.unstyled,
|
|
2868
|
+
onClick: $options.onPrevButtonClick,
|
|
2869
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
2870
|
+
}, _ctx.navigatorButtonProps, {
|
|
2871
|
+
pt: _ctx.ptm('pcPrevButton'),
|
|
2872
|
+
"data-pc-group-section": "navigator"
|
|
2873
|
+
}), {
|
|
2874
|
+
icon: withCtx(function (slotProps) {
|
|
2875
|
+
return [renderSlot(_ctx.$slots, "previcon", {}, function () {
|
|
2876
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon ? 'span' : 'ChevronLeftIcon'), mergeProps({
|
|
2877
|
+
"class": [_ctx.prevIcon, slotProps["class"]],
|
|
2878
|
+
ref_for: true
|
|
2879
|
+
}, _ctx.ptm('pcPrevButton')['icon']), null, 16, ["class"]))];
|
|
2880
|
+
})];
|
|
2881
|
+
}),
|
|
2882
|
+
_: 2
|
|
2883
|
+
}, 1040, ["class", "disabled", "aria-label", "unstyled", "onClick", "onKeydown", "pt"]), [[vShow, groupIndex === 0]])];
|
|
2884
|
+
}), createElementVNode("div", mergeProps({
|
|
2694
2885
|
"class": _ctx.cx('title'),
|
|
2695
2886
|
ref_for: true
|
|
2696
2887
|
}, _ctx.ptm('title')), [_ctx.$primevue.config.locale.showMonthAfterYear ? (openBlock(), createElementBlock(Fragment, {
|
|
@@ -2710,7 +2901,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2710
2901
|
ref_for: true
|
|
2711
2902
|
}, _ctx.ptm('selectYear'), {
|
|
2712
2903
|
"data-pc-group-section": "view"
|
|
2713
|
-
}), toDisplayString($options.getYear(month)), 17,
|
|
2904
|
+
}), toDisplayString($options.getYear(month)), 17, _hoisted_5)) : createCommentVNode("", true), $data.currentView === 'date' ? (openBlock(), createElementBlock("button", mergeProps({
|
|
2714
2905
|
key: 1,
|
|
2715
2906
|
type: "button",
|
|
2716
2907
|
onClick: _cache[3] || (_cache[3] = function () {
|
|
@@ -2725,7 +2916,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2725
2916
|
ref_for: true
|
|
2726
2917
|
}, _ctx.ptm('selectMonth'), {
|
|
2727
2918
|
"data-pc-group-section": "view"
|
|
2728
|
-
}), toDisplayString($options.getMonthName(month.month)), 17,
|
|
2919
|
+
}), toDisplayString($options.getMonthName(month.month)), 17, _hoisted_6)) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock(Fragment, {
|
|
2729
2920
|
key: 1
|
|
2730
2921
|
}, [$data.currentView === 'date' ? (openBlock(), createElementBlock("button", mergeProps({
|
|
2731
2922
|
key: 0,
|
|
@@ -2742,7 +2933,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2742
2933
|
ref_for: true
|
|
2743
2934
|
}, _ctx.ptm('selectMonth'), {
|
|
2744
2935
|
"data-pc-group-section": "view"
|
|
2745
|
-
}), toDisplayString($options.getMonthName(month.month)), 17,
|
|
2936
|
+
}), toDisplayString($options.getMonthName(month.month)), 17, _hoisted_7)) : createCommentVNode("", true), $data.currentView !== 'year' ? (openBlock(), createElementBlock("button", mergeProps({
|
|
2746
2937
|
key: 1,
|
|
2747
2938
|
type: "button",
|
|
2748
2939
|
onClick: _cache[7] || (_cache[7] = function () {
|
|
@@ -2757,7 +2948,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2757
2948
|
ref_for: true
|
|
2758
2949
|
}, _ctx.ptm('selectYear'), {
|
|
2759
2950
|
"data-pc-group-section": "view"
|
|
2760
|
-
}), toDisplayString($options.getYear(month)), 17,
|
|
2951
|
+
}), toDisplayString($options.getYear(month)), 17, _hoisted_8)) : createCommentVNode("", true)], 64)), $data.currentView === 'year' ? (openBlock(), createElementBlock("span", mergeProps({
|
|
2761
2952
|
key: 2,
|
|
2762
2953
|
"class": _ctx.cx('decade'),
|
|
2763
2954
|
ref_for: true
|
|
@@ -2765,29 +2956,38 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2765
2956
|
years: $options.yearPickerValues
|
|
2766
2957
|
}, function () {
|
|
2767
2958
|
return [createTextVNode(toDisplayString($options.yearPickerValues[0].value) + " - " + toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1].value), 1)];
|
|
2768
|
-
})], 16)) : createCommentVNode("", true)], 16),
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
}),
|
|
2789
|
-
|
|
2790
|
-
|
|
2959
|
+
})], 16)) : createCommentVNode("", true)], 16), renderSlot(_ctx.$slots, "nextbutton", {
|
|
2960
|
+
actionCallback: function actionCallback(event) {
|
|
2961
|
+
return $options.onNextButtonClick(event);
|
|
2962
|
+
},
|
|
2963
|
+
keydownCallback: function keydownCallback(event) {
|
|
2964
|
+
return $options.onContainerButtonKeydown(event);
|
|
2965
|
+
}
|
|
2966
|
+
}, function () {
|
|
2967
|
+
return [withDirectives(createVNode(_component_Button, mergeProps({
|
|
2968
|
+
ref_for: true,
|
|
2969
|
+
ref: $options.nextButtonRef,
|
|
2970
|
+
"class": _ctx.cx('pcNextButton'),
|
|
2971
|
+
disabled: _ctx.disabled,
|
|
2972
|
+
"aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.nextDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.nextYear : _ctx.$primevue.config.locale.nextMonth,
|
|
2973
|
+
unstyled: _ctx.unstyled,
|
|
2974
|
+
onClick: $options.onNextButtonClick,
|
|
2975
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
2976
|
+
}, _ctx.navigatorButtonProps, {
|
|
2977
|
+
pt: _ctx.ptm('pcNextButton'),
|
|
2978
|
+
"data-pc-group-section": "navigator"
|
|
2979
|
+
}), {
|
|
2980
|
+
icon: withCtx(function (slotProps) {
|
|
2981
|
+
return [renderSlot(_ctx.$slots, "nexticon", {}, function () {
|
|
2982
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
2983
|
+
"class": [_ctx.nextIcon, slotProps["class"]],
|
|
2984
|
+
ref_for: true
|
|
2985
|
+
}, _ctx.ptm('pcNextButton')['icon']), null, 16, ["class"]))];
|
|
2986
|
+
})];
|
|
2987
|
+
}),
|
|
2988
|
+
_: 2
|
|
2989
|
+
}, 1040, ["class", "disabled", "aria-label", "unstyled", "onClick", "onKeydown", "pt"]), [[vShow, _ctx.numberOfMonths === 1 ? true : groupIndex === _ctx.numberOfMonths - 1]])];
|
|
2990
|
+
})], 16), $data.currentView === 'date' ? (openBlock(), createElementBlock("table", mergeProps({
|
|
2791
2991
|
key: 0,
|
|
2792
2992
|
"class": _ctx.cx('dayView'),
|
|
2793
2993
|
role: "grid",
|
|
@@ -2818,7 +3018,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2818
3018
|
}), {
|
|
2819
3019
|
"data-pc-group-section": "tableheadercelllabel"
|
|
2820
3020
|
}), toDisplayString($options.weekHeaderLabel), 17)];
|
|
2821
|
-
})], 16,
|
|
3021
|
+
})], 16, _hoisted_9)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList($options.weekDays, function (weekDay) {
|
|
2822
3022
|
return openBlock(), createElementBlock("th", mergeProps({
|
|
2823
3023
|
key: weekDay,
|
|
2824
3024
|
scope: "col",
|
|
@@ -2832,7 +3032,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2832
3032
|
ref_for: true
|
|
2833
3033
|
}, _ctx.ptm('weekDay'), {
|
|
2834
3034
|
"data-pc-group-section": "tableheadercelllabel"
|
|
2835
|
-
}), toDisplayString(weekDay), 17)], 16,
|
|
3035
|
+
}), toDisplayString(weekDay), 17)], 16, _hoisted_10);
|
|
2836
3036
|
}), 128))], 16)], 16), createElementVNode("tbody", mergeProps({
|
|
2837
3037
|
ref_for: true
|
|
2838
3038
|
}, _ctx.ptm('tableBody')), [(openBlock(true), createElementBlock(Fragment, null, renderList(month.dates, function (week, i) {
|
|
@@ -2865,7 +3065,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2865
3065
|
},
|
|
2866
3066
|
ref_for: true
|
|
2867
3067
|
}, _ctx.ptm('weekLabel')), "0", 16)) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(month.weekNumbers[i]), 1)];
|
|
2868
|
-
})], 16,
|
|
3068
|
+
})], 16, _hoisted_11)], 16)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(week, function (date) {
|
|
2869
3069
|
return openBlock(), createElementBlock("td", mergeProps({
|
|
2870
3070
|
key: date.day + '' + date.month,
|
|
2871
3071
|
"aria-label": date.day,
|
|
@@ -2909,21 +3109,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2909
3109
|
disabled: !date.selectable
|
|
2910
3110
|
}
|
|
2911
3111
|
}), {
|
|
2912
|
-
"data-p
|
|
2913
|
-
"data-p-selected": $options.isSelected(date),
|
|
3112
|
+
"data-p": $options.dayDataP(date),
|
|
2914
3113
|
"data-pc-group-section": "tablebodycelllabel"
|
|
2915
3114
|
}), [renderSlot(_ctx.$slots, "date", {
|
|
2916
3115
|
date: date
|
|
2917
3116
|
}, function () {
|
|
2918
3117
|
return [createTextVNode(toDisplayString(date.day), 1)];
|
|
2919
|
-
})], 16,
|
|
3118
|
+
})], 16, _hoisted_13)), [[_directive_ripple]]) : createCommentVNode("", true), $options.isSelected(date) ? (openBlock(), createElementBlock("div", mergeProps({
|
|
2920
3119
|
key: 1,
|
|
2921
3120
|
"class": "p-hidden-accessible",
|
|
2922
3121
|
"aria-live": "polite",
|
|
2923
3122
|
ref_for: true
|
|
2924
3123
|
}, _ctx.ptm('hiddenSelectedDay'), {
|
|
2925
3124
|
"data-p-hidden-accessible": true
|
|
2926
|
-
}), toDisplayString(date.day), 17)) : createCommentVNode("", true)], 16,
|
|
3125
|
+
}), toDisplayString(date.day), 17)) : createCommentVNode("", true)], 16, _hoisted_12);
|
|
2927
3126
|
}), 128))], 16);
|
|
2928
3127
|
}), 128))], 16)], 16)) : createCommentVNode("", true)], 16);
|
|
2929
3128
|
}), 128))], 16), $data.currentView === 'month' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
@@ -2966,7 +3165,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2966
3165
|
ref_for: true
|
|
2967
3166
|
}, _ctx.ptm('hiddenMonth'), {
|
|
2968
3167
|
"data-p-hidden-accessible": true
|
|
2969
|
-
}), toDisplayString(m.value), 17)) : createCommentVNode("", true)], 16,
|
|
3168
|
+
}), toDisplayString(m.value), 17)) : createCommentVNode("", true)], 16, _hoisted_14)), [[_directive_ripple]]);
|
|
2970
3169
|
}), 128))], 16)) : createCommentVNode("", true), $data.currentView === 'year' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
2971
3170
|
key: 1,
|
|
2972
3171
|
"class": _ctx.cx('yearView')
|
|
@@ -2999,91 +3198,100 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2999
3198
|
ref_for: true
|
|
3000
3199
|
}, _ctx.ptm('hiddenYear'), {
|
|
3001
3200
|
"data-p-hidden-accessible": true
|
|
3002
|
-
}), toDisplayString(y.value), 17)) : createCommentVNode("", true)], 16,
|
|
3201
|
+
}), toDisplayString(y.value), 17)) : createCommentVNode("", true)], 16, _hoisted_15)), [[_directive_ripple]]);
|
|
3003
3202
|
}), 128))], 16)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), (_ctx.showTime || _ctx.timeOnly) && $data.currentView === 'date' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
3004
3203
|
key: 1,
|
|
3005
|
-
"class": _ctx.cx('timePicker')
|
|
3204
|
+
"class": _ctx.cx('timePicker'),
|
|
3205
|
+
"data-p": $options.timePickerDataP
|
|
3006
3206
|
}, _ctx.ptm('timePicker')), [createElementVNode("div", mergeProps({
|
|
3007
3207
|
"class": _ctx.cx('hourPicker')
|
|
3008
3208
|
}, _ctx.ptm('hourPicker'), {
|
|
3009
3209
|
"data-pc-group-section": "timepickerContainer"
|
|
3010
|
-
}), [
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
},
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3210
|
+
}), [renderSlot(_ctx.$slots, "hourincrementbutton", {
|
|
3211
|
+
callbacks: $options.hourIncrementCallbacks
|
|
3212
|
+
}, function () {
|
|
3213
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3214
|
+
"class": _ctx.cx('pcIncrementButton'),
|
|
3215
|
+
"aria-label": _ctx.$primevue.config.locale.nextHour,
|
|
3216
|
+
unstyled: _ctx.unstyled,
|
|
3217
|
+
onMousedown: _cache[9] || (_cache[9] = function ($event) {
|
|
3218
|
+
return $options.onTimePickerElementMouseDown($event, 0, 1);
|
|
3219
|
+
}),
|
|
3220
|
+
onMouseup: _cache[10] || (_cache[10] = function ($event) {
|
|
3221
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3222
|
+
}),
|
|
3223
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[12] || (_cache[12] = withKeys(function ($event) {
|
|
3224
|
+
return $options.onTimePickerElementMouseDown($event, 0, 1);
|
|
3225
|
+
}, ["enter"])), _cache[13] || (_cache[13] = withKeys(function ($event) {
|
|
3226
|
+
return $options.onTimePickerElementMouseDown($event, 0, 1);
|
|
3227
|
+
}, ["space"]))],
|
|
3228
|
+
onMouseleave: _cache[11] || (_cache[11] = function ($event) {
|
|
3229
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3230
|
+
}),
|
|
3231
|
+
onKeyup: [_cache[14] || (_cache[14] = withKeys(function ($event) {
|
|
3232
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3233
|
+
}, ["enter"])), _cache[15] || (_cache[15] = withKeys(function ($event) {
|
|
3234
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3235
|
+
}, ["space"]))]
|
|
3236
|
+
}, _ctx.timepickerButtonProps, {
|
|
3237
|
+
pt: _ctx.ptm('pcIncrementButton'),
|
|
3238
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3239
|
+
}), {
|
|
3240
|
+
icon: withCtx(function (slotProps) {
|
|
3241
|
+
return [renderSlot(_ctx.$slots, "incrementicon", {}, function () {
|
|
3242
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({
|
|
3243
|
+
"class": [_ctx.incrementIcon, slotProps["class"]]
|
|
3244
|
+
}, _ctx.ptm('pcIncrementButton')['icon'], {
|
|
3245
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3246
|
+
}), null, 16, ["class"]))];
|
|
3247
|
+
})];
|
|
3248
|
+
}),
|
|
3249
|
+
_: 3
|
|
3250
|
+
}, 16, ["class", "aria-label", "unstyled", "onKeydown", "pt"])];
|
|
3251
|
+
}), createElementVNode("span", mergeProps(_ctx.ptm('hour'), {
|
|
3048
3252
|
"data-pc-group-section": "timepickerlabel"
|
|
3049
|
-
}), toDisplayString($options.formattedCurrentHour), 17),
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
},
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3253
|
+
}), toDisplayString($options.formattedCurrentHour), 17), renderSlot(_ctx.$slots, "hourdecrementbutton", {
|
|
3254
|
+
callbacks: $options.hourDecrementCallbacks
|
|
3255
|
+
}, function () {
|
|
3256
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3257
|
+
"class": _ctx.cx('pcDecrementButton'),
|
|
3258
|
+
"aria-label": _ctx.$primevue.config.locale.prevHour,
|
|
3259
|
+
unstyled: _ctx.unstyled,
|
|
3260
|
+
onMousedown: _cache[16] || (_cache[16] = function ($event) {
|
|
3261
|
+
return $options.onTimePickerElementMouseDown($event, 0, -1);
|
|
3262
|
+
}),
|
|
3263
|
+
onMouseup: _cache[17] || (_cache[17] = function ($event) {
|
|
3264
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3265
|
+
}),
|
|
3266
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[19] || (_cache[19] = withKeys(function ($event) {
|
|
3267
|
+
return $options.onTimePickerElementMouseDown($event, 0, -1);
|
|
3268
|
+
}, ["enter"])), _cache[20] || (_cache[20] = withKeys(function ($event) {
|
|
3269
|
+
return $options.onTimePickerElementMouseDown($event, 0, -1);
|
|
3270
|
+
}, ["space"]))],
|
|
3271
|
+
onMouseleave: _cache[18] || (_cache[18] = function ($event) {
|
|
3272
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3273
|
+
}),
|
|
3274
|
+
onKeyup: [_cache[21] || (_cache[21] = withKeys(function ($event) {
|
|
3275
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3276
|
+
}, ["enter"])), _cache[22] || (_cache[22] = withKeys(function ($event) {
|
|
3277
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3278
|
+
}, ["space"]))]
|
|
3279
|
+
}, _ctx.timepickerButtonProps, {
|
|
3280
|
+
pt: _ctx.ptm('pcDecrementButton'),
|
|
3281
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3282
|
+
}), {
|
|
3283
|
+
icon: withCtx(function (slotProps) {
|
|
3284
|
+
return [renderSlot(_ctx.$slots, "decrementicon", {}, function () {
|
|
3285
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
3286
|
+
"class": [_ctx.decrementIcon, slotProps["class"]]
|
|
3287
|
+
}, _ctx.ptm('pcDecrementButton')['icon'], {
|
|
3288
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3289
|
+
}), null, 16, ["class"]))];
|
|
3290
|
+
})];
|
|
3291
|
+
}),
|
|
3292
|
+
_: 3
|
|
3293
|
+
}, 16, ["class", "aria-label", "unstyled", "onKeydown", "pt"])];
|
|
3294
|
+
})], 16), createElementVNode("div", mergeProps(_ctx.ptm('separatorContainer'), {
|
|
3087
3295
|
"data-pc-group-section": "timepickerContainer"
|
|
3088
3296
|
}), [createElementVNode("span", mergeProps(_ctx.ptm('separator'), {
|
|
3089
3297
|
"data-pc-group-section": "timepickerlabel"
|
|
@@ -3091,85 +3299,93 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3091
3299
|
"class": _ctx.cx('minutePicker')
|
|
3092
3300
|
}, _ctx.ptm('minutePicker'), {
|
|
3093
3301
|
"data-pc-group-section": "timepickerContainer"
|
|
3094
|
-
}), [
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
},
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3302
|
+
}), [renderSlot(_ctx.$slots, "minuteincrementbutton", {
|
|
3303
|
+
callbacks: $options.minuteIncrementCallbacks
|
|
3304
|
+
}, function () {
|
|
3305
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3306
|
+
"class": _ctx.cx('pcIncrementButton'),
|
|
3307
|
+
"aria-label": _ctx.$primevue.config.locale.nextMinute,
|
|
3308
|
+
disabled: _ctx.disabled,
|
|
3309
|
+
unstyled: _ctx.unstyled,
|
|
3310
|
+
onMousedown: _cache[23] || (_cache[23] = function ($event) {
|
|
3311
|
+
return $options.onTimePickerElementMouseDown($event, 1, 1);
|
|
3312
|
+
}),
|
|
3313
|
+
onMouseup: _cache[24] || (_cache[24] = function ($event) {
|
|
3314
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3315
|
+
}),
|
|
3316
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[26] || (_cache[26] = withKeys(function ($event) {
|
|
3317
|
+
return $options.onTimePickerElementMouseDown($event, 1, 1);
|
|
3318
|
+
}, ["enter"])), _cache[27] || (_cache[27] = withKeys(function ($event) {
|
|
3319
|
+
return $options.onTimePickerElementMouseDown($event, 1, 1);
|
|
3320
|
+
}, ["space"]))],
|
|
3321
|
+
onMouseleave: _cache[25] || (_cache[25] = function ($event) {
|
|
3322
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3323
|
+
}),
|
|
3324
|
+
onKeyup: [_cache[28] || (_cache[28] = withKeys(function ($event) {
|
|
3325
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3326
|
+
}, ["enter"])), _cache[29] || (_cache[29] = withKeys(function ($event) {
|
|
3327
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3328
|
+
}, ["space"]))]
|
|
3329
|
+
}, _ctx.timepickerButtonProps, {
|
|
3330
|
+
pt: _ctx.ptm('pcIncrementButton'),
|
|
3331
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3332
|
+
}), {
|
|
3333
|
+
icon: withCtx(function (slotProps) {
|
|
3334
|
+
return [renderSlot(_ctx.$slots, "incrementicon", {}, function () {
|
|
3335
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({
|
|
3336
|
+
"class": [_ctx.incrementIcon, slotProps["class"]]
|
|
3337
|
+
}, _ctx.ptm('pcIncrementButton')['icon'], {
|
|
3338
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3339
|
+
}), null, 16, ["class"]))];
|
|
3340
|
+
})];
|
|
3341
|
+
}),
|
|
3342
|
+
_: 3
|
|
3343
|
+
}, 16, ["class", "aria-label", "disabled", "unstyled", "onKeydown", "pt"])];
|
|
3344
|
+
}), createElementVNode("span", mergeProps(_ctx.ptm('minute'), {
|
|
3133
3345
|
"data-pc-group-section": "timepickerlabel"
|
|
3134
|
-
}), toDisplayString($options.formattedCurrentMinute), 17),
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
},
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3346
|
+
}), toDisplayString($options.formattedCurrentMinute), 17), renderSlot(_ctx.$slots, "minutedecrementbutton", {
|
|
3347
|
+
callbacks: $options.minuteDecrementCallbacks
|
|
3348
|
+
}, function () {
|
|
3349
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3350
|
+
"class": _ctx.cx('pcDecrementButton'),
|
|
3351
|
+
"aria-label": _ctx.$primevue.config.locale.prevMinute,
|
|
3352
|
+
disabled: _ctx.disabled,
|
|
3353
|
+
unstyled: _ctx.unstyled,
|
|
3354
|
+
onMousedown: _cache[30] || (_cache[30] = function ($event) {
|
|
3355
|
+
return $options.onTimePickerElementMouseDown($event, 1, -1);
|
|
3356
|
+
}),
|
|
3357
|
+
onMouseup: _cache[31] || (_cache[31] = function ($event) {
|
|
3358
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3359
|
+
}),
|
|
3360
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[33] || (_cache[33] = withKeys(function ($event) {
|
|
3361
|
+
return $options.onTimePickerElementMouseDown($event, 1, -1);
|
|
3362
|
+
}, ["enter"])), _cache[34] || (_cache[34] = withKeys(function ($event) {
|
|
3363
|
+
return $options.onTimePickerElementMouseDown($event, 1, -1);
|
|
3364
|
+
}, ["space"]))],
|
|
3365
|
+
onMouseleave: _cache[32] || (_cache[32] = function ($event) {
|
|
3366
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3367
|
+
}),
|
|
3368
|
+
onKeyup: [_cache[35] || (_cache[35] = withKeys(function ($event) {
|
|
3369
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3370
|
+
}, ["enter"])), _cache[36] || (_cache[36] = withKeys(function ($event) {
|
|
3371
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3372
|
+
}, ["space"]))]
|
|
3373
|
+
}, _ctx.timepickerButtonProps, {
|
|
3374
|
+
pt: _ctx.ptm('pcDecrementButton'),
|
|
3375
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3376
|
+
}), {
|
|
3377
|
+
icon: withCtx(function (slotProps) {
|
|
3378
|
+
return [renderSlot(_ctx.$slots, "decrementicon", {}, function () {
|
|
3379
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
3380
|
+
"class": [_ctx.decrementIcon, slotProps["class"]]
|
|
3381
|
+
}, _ctx.ptm('pcDecrementButton')['icon'], {
|
|
3382
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3383
|
+
}), null, 16, ["class"]))];
|
|
3384
|
+
})];
|
|
3385
|
+
}),
|
|
3386
|
+
_: 3
|
|
3387
|
+
}, 16, ["class", "aria-label", "disabled", "unstyled", "onKeydown", "pt"])];
|
|
3388
|
+
})], 16), _ctx.showSeconds ? (openBlock(), createElementBlock("div", mergeProps({
|
|
3173
3389
|
key: 0,
|
|
3174
3390
|
"class": _ctx.cx('separatorContainer')
|
|
3175
3391
|
}, _ctx.ptm('separatorContainer'), {
|
|
@@ -3181,85 +3397,93 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3181
3397
|
"class": _ctx.cx('secondPicker')
|
|
3182
3398
|
}, _ctx.ptm('secondPicker'), {
|
|
3183
3399
|
"data-pc-group-section": "timepickerContainer"
|
|
3184
|
-
}), [
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
},
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3400
|
+
}), [renderSlot(_ctx.$slots, "secondincrementbutton", {
|
|
3401
|
+
callbacks: $options.secondIncrementCallbacks
|
|
3402
|
+
}, function () {
|
|
3403
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3404
|
+
"class": _ctx.cx('pcIncrementButton'),
|
|
3405
|
+
"aria-label": _ctx.$primevue.config.locale.nextSecond,
|
|
3406
|
+
disabled: _ctx.disabled,
|
|
3407
|
+
unstyled: _ctx.unstyled,
|
|
3408
|
+
onMousedown: _cache[37] || (_cache[37] = function ($event) {
|
|
3409
|
+
return $options.onTimePickerElementMouseDown($event, 2, 1);
|
|
3410
|
+
}),
|
|
3411
|
+
onMouseup: _cache[38] || (_cache[38] = function ($event) {
|
|
3412
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3413
|
+
}),
|
|
3414
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[40] || (_cache[40] = withKeys(function ($event) {
|
|
3415
|
+
return $options.onTimePickerElementMouseDown($event, 2, 1);
|
|
3416
|
+
}, ["enter"])), _cache[41] || (_cache[41] = withKeys(function ($event) {
|
|
3417
|
+
return $options.onTimePickerElementMouseDown($event, 2, 1);
|
|
3418
|
+
}, ["space"]))],
|
|
3419
|
+
onMouseleave: _cache[39] || (_cache[39] = function ($event) {
|
|
3420
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3421
|
+
}),
|
|
3422
|
+
onKeyup: [_cache[42] || (_cache[42] = withKeys(function ($event) {
|
|
3423
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3424
|
+
}, ["enter"])), _cache[43] || (_cache[43] = withKeys(function ($event) {
|
|
3425
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3426
|
+
}, ["space"]))]
|
|
3427
|
+
}, _ctx.timepickerButtonProps, {
|
|
3428
|
+
pt: _ctx.ptm('pcIncrementButton'),
|
|
3429
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3430
|
+
}), {
|
|
3431
|
+
icon: withCtx(function (slotProps) {
|
|
3432
|
+
return [renderSlot(_ctx.$slots, "incrementicon", {}, function () {
|
|
3433
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({
|
|
3434
|
+
"class": [_ctx.incrementIcon, slotProps["class"]]
|
|
3435
|
+
}, _ctx.ptm('pcIncrementButton')['icon'], {
|
|
3436
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3437
|
+
}), null, 16, ["class"]))];
|
|
3438
|
+
})];
|
|
3439
|
+
}),
|
|
3440
|
+
_: 3
|
|
3441
|
+
}, 16, ["class", "aria-label", "disabled", "unstyled", "onKeydown", "pt"])];
|
|
3442
|
+
}), createElementVNode("span", mergeProps(_ctx.ptm('second'), {
|
|
3223
3443
|
"data-pc-group-section": "timepickerlabel"
|
|
3224
|
-
}), toDisplayString($options.formattedCurrentSecond), 17),
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
},
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3444
|
+
}), toDisplayString($options.formattedCurrentSecond), 17), renderSlot(_ctx.$slots, "seconddecrementbutton", {
|
|
3445
|
+
callbacks: $options.secondDecrementCallbacks
|
|
3446
|
+
}, function () {
|
|
3447
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3448
|
+
"class": _ctx.cx('pcDecrementButton'),
|
|
3449
|
+
"aria-label": _ctx.$primevue.config.locale.prevSecond,
|
|
3450
|
+
disabled: _ctx.disabled,
|
|
3451
|
+
unstyled: _ctx.unstyled,
|
|
3452
|
+
onMousedown: _cache[44] || (_cache[44] = function ($event) {
|
|
3453
|
+
return $options.onTimePickerElementMouseDown($event, 2, -1);
|
|
3454
|
+
}),
|
|
3455
|
+
onMouseup: _cache[45] || (_cache[45] = function ($event) {
|
|
3456
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3457
|
+
}),
|
|
3458
|
+
onKeydown: [$options.onContainerButtonKeydown, _cache[47] || (_cache[47] = withKeys(function ($event) {
|
|
3459
|
+
return $options.onTimePickerElementMouseDown($event, 2, -1);
|
|
3460
|
+
}, ["enter"])), _cache[48] || (_cache[48] = withKeys(function ($event) {
|
|
3461
|
+
return $options.onTimePickerElementMouseDown($event, 2, -1);
|
|
3462
|
+
}, ["space"]))],
|
|
3463
|
+
onMouseleave: _cache[46] || (_cache[46] = function ($event) {
|
|
3464
|
+
return $options.onTimePickerElementMouseLeave();
|
|
3465
|
+
}),
|
|
3466
|
+
onKeyup: [_cache[49] || (_cache[49] = withKeys(function ($event) {
|
|
3467
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3468
|
+
}, ["enter"])), _cache[50] || (_cache[50] = withKeys(function ($event) {
|
|
3469
|
+
return $options.onTimePickerElementMouseUp($event);
|
|
3470
|
+
}, ["space"]))]
|
|
3471
|
+
}, _ctx.timepickerButtonProps, {
|
|
3472
|
+
pt: _ctx.ptm('pcDecrementButton'),
|
|
3473
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3474
|
+
}), {
|
|
3475
|
+
icon: withCtx(function (slotProps) {
|
|
3476
|
+
return [renderSlot(_ctx.$slots, "decrementicon", {}, function () {
|
|
3477
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
3478
|
+
"class": [_ctx.decrementIcon, slotProps["class"]]
|
|
3479
|
+
}, _ctx.ptm('pcDecrementButton')['icon'], {
|
|
3480
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3481
|
+
}), null, 16, ["class"]))];
|
|
3482
|
+
})];
|
|
3483
|
+
}),
|
|
3484
|
+
_: 3
|
|
3485
|
+
}, 16, ["class", "aria-label", "disabled", "unstyled", "onKeydown", "pt"])];
|
|
3486
|
+
})], 16)) : createCommentVNode("", true), _ctx.hourFormat == '12' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
3263
3487
|
key: 2,
|
|
3264
3488
|
"class": _ctx.cx('separatorContainer')
|
|
3265
3489
|
}, _ctx.ptm('separatorContainer'), {
|
|
@@ -3269,83 +3493,119 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3269
3493
|
}), toDisplayString(_ctx.timeSeparator), 17)], 16)) : createCommentVNode("", true), _ctx.hourFormat == '12' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
3270
3494
|
key: 3,
|
|
3271
3495
|
"class": _ctx.cx('ampmPicker')
|
|
3272
|
-
}, _ctx.ptm('ampmPicker')), [
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3496
|
+
}, _ctx.ptm('ampmPicker')), [renderSlot(_ctx.$slots, "ampmincrementbutton", {
|
|
3497
|
+
toggleCallback: function toggleCallback(event) {
|
|
3498
|
+
return $options.toggleAMPM(event);
|
|
3499
|
+
},
|
|
3500
|
+
keydownCallback: function keydownCallback(event) {
|
|
3501
|
+
return $options.onContainerButtonKeydown(event);
|
|
3502
|
+
}
|
|
3503
|
+
}, function () {
|
|
3504
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3505
|
+
"class": _ctx.cx('pcIncrementButton'),
|
|
3506
|
+
"aria-label": _ctx.$primevue.config.locale.am,
|
|
3507
|
+
disabled: _ctx.disabled,
|
|
3508
|
+
unstyled: _ctx.unstyled,
|
|
3509
|
+
onClick: _cache[51] || (_cache[51] = function ($event) {
|
|
3510
|
+
return $options.toggleAMPM($event);
|
|
3511
|
+
}),
|
|
3512
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
3513
|
+
}, _ctx.timepickerButtonProps, {
|
|
3514
|
+
pt: _ctx.ptm('pcIncrementButton'),
|
|
3515
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3516
|
+
}), {
|
|
3517
|
+
icon: withCtx(function (slotProps) {
|
|
3518
|
+
return [renderSlot(_ctx.$slots, "incrementicon", {
|
|
3519
|
+
"class": normalizeClass(_ctx.cx('incrementIcon'))
|
|
3520
|
+
}, function () {
|
|
3521
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({
|
|
3522
|
+
"class": [_ctx.cx('incrementIcon'), slotProps["class"]]
|
|
3523
|
+
}, _ctx.ptm('pcIncrementButton')['icon'], {
|
|
3524
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3525
|
+
}), null, 16, ["class"]))];
|
|
3526
|
+
})];
|
|
3527
|
+
}),
|
|
3528
|
+
_: 3
|
|
3529
|
+
}, 16, ["class", "aria-label", "disabled", "unstyled", "onKeydown", "pt"])];
|
|
3530
|
+
}), createElementVNode("span", mergeProps(_ctx.ptm('ampm'), {
|
|
3298
3531
|
"data-pc-group-section": "timepickerlabel"
|
|
3299
|
-
}), toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 17),
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
return $options.
|
|
3305
|
-
}
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3532
|
+
}), toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 17), renderSlot(_ctx.$slots, "ampmdecrementbutton", {
|
|
3533
|
+
toggleCallback: function toggleCallback(event) {
|
|
3534
|
+
return $options.toggleAMPM(event);
|
|
3535
|
+
},
|
|
3536
|
+
keydownCallback: function keydownCallback(event) {
|
|
3537
|
+
return $options.onContainerButtonKeydown(event);
|
|
3538
|
+
}
|
|
3539
|
+
}, function () {
|
|
3540
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3541
|
+
"class": _ctx.cx('pcDecrementButton'),
|
|
3542
|
+
"aria-label": _ctx.$primevue.config.locale.pm,
|
|
3543
|
+
disabled: _ctx.disabled,
|
|
3544
|
+
onClick: _cache[52] || (_cache[52] = function ($event) {
|
|
3545
|
+
return $options.toggleAMPM($event);
|
|
3546
|
+
}),
|
|
3547
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
3548
|
+
}, _ctx.timepickerButtonProps, {
|
|
3549
|
+
pt: _ctx.ptm('pcDecrementButton'),
|
|
3550
|
+
"data-pc-group-section": "timepickerbutton"
|
|
3551
|
+
}), {
|
|
3552
|
+
icon: withCtx(function (slotProps) {
|
|
3553
|
+
return [renderSlot(_ctx.$slots, "decrementicon", {
|
|
3554
|
+
"class": normalizeClass(_ctx.cx('decrementIcon'))
|
|
3555
|
+
}, function () {
|
|
3556
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
3557
|
+
"class": [_ctx.cx('decrementIcon'), slotProps["class"]]
|
|
3558
|
+
}, _ctx.ptm('pcDecrementButton')['icon'], {
|
|
3559
|
+
"data-pc-group-section": "timepickerlabel"
|
|
3560
|
+
}), null, 16, ["class"]))];
|
|
3561
|
+
})];
|
|
3562
|
+
}),
|
|
3563
|
+
_: 3
|
|
3564
|
+
}, 16, ["class", "aria-label", "disabled", "onKeydown", "pt"])];
|
|
3565
|
+
})], 16)) : createCommentVNode("", true)], 16, _hoisted_16)) : createCommentVNode("", true), _ctx.showButtonBar ? (openBlock(), createElementBlock("div", mergeProps({
|
|
3324
3566
|
key: 2,
|
|
3325
3567
|
"class": _ctx.cx('buttonbar')
|
|
3326
|
-
}, _ctx.ptm('buttonbar')), [
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3568
|
+
}, _ctx.ptm('buttonbar')), [renderSlot(_ctx.$slots, "todaybutton", {
|
|
3569
|
+
actionCallback: function actionCallback(event) {
|
|
3570
|
+
return $options.onTodayButtonClick(event);
|
|
3571
|
+
},
|
|
3572
|
+
keydownCallback: function keydownCallback(event) {
|
|
3573
|
+
return $options.onContainerButtonKeydown(event);
|
|
3574
|
+
}
|
|
3575
|
+
}, function () {
|
|
3576
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3577
|
+
label: $options.todayLabel,
|
|
3578
|
+
onClick: _cache[53] || (_cache[53] = function ($event) {
|
|
3579
|
+
return $options.onTodayButtonClick($event);
|
|
3580
|
+
}),
|
|
3581
|
+
"class": _ctx.cx('pcTodayButton'),
|
|
3582
|
+
unstyled: _ctx.unstyled,
|
|
3583
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
3584
|
+
}, _ctx.todayButtonProps, {
|
|
3585
|
+
pt: _ctx.ptm('pcTodayButton'),
|
|
3586
|
+
"data-pc-group-section": "button"
|
|
3587
|
+
}), null, 16, ["label", "class", "unstyled", "onKeydown", "pt"])];
|
|
3588
|
+
}), renderSlot(_ctx.$slots, "clearbutton", {
|
|
3589
|
+
actionCallback: function actionCallback(event) {
|
|
3590
|
+
return $options.onClearButtonClick(event);
|
|
3591
|
+
},
|
|
3592
|
+
keydownCallback: function keydownCallback(event) {
|
|
3593
|
+
return $options.onContainerButtonKeydown(event);
|
|
3594
|
+
}
|
|
3595
|
+
}, function () {
|
|
3596
|
+
return [createVNode(_component_Button, mergeProps({
|
|
3597
|
+
label: $options.clearLabel,
|
|
3598
|
+
onClick: _cache[54] || (_cache[54] = function ($event) {
|
|
3599
|
+
return $options.onClearButtonClick($event);
|
|
3600
|
+
}),
|
|
3601
|
+
"class": _ctx.cx('pcClearButton'),
|
|
3602
|
+
unstyled: _ctx.unstyled,
|
|
3603
|
+
onKeydown: $options.onContainerButtonKeydown
|
|
3604
|
+
}, _ctx.clearButtonProps, {
|
|
3605
|
+
pt: _ctx.ptm('pcClearButton'),
|
|
3606
|
+
"data-pc-group-section": "button"
|
|
3607
|
+
}), null, 16, ["label", "class", "unstyled", "onKeydown", "pt"])];
|
|
3608
|
+
})], 16)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "footer")], 16, _hoisted_4)) : createCommentVNode("", true)];
|
|
3349
3609
|
}),
|
|
3350
3610
|
_: 3
|
|
3351
3611
|
}, 16, ["onAfterEnter", "onAfterLeave", "onLeave"])];
|