@globalpayments/vega 2.57.1 → 2.58.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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/vega-calendar_3.cjs.entry.js +197 -114
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +28 -4
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +1 -1
- package/dist/cjs/vega-input-select.cjs.entry.js +6 -3
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +26 -2
- package/dist/cjs/vega.cjs.js +1 -1
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-post-operation-date-controller.js +48 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +8 -2
- package/dist/collection/components/vega-calendar/vega-calendar.js +42 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +27 -3
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +6 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +4 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +5 -2
- package/dist/collection/components/vega-input-select/vega-input-select.css +0 -3
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +7 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +37 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +12 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +7 -2
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +15 -1
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +6 -7
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +12 -4
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/vega-calendar_3.entry.js +197 -114
- package/dist/esm/vega-dropdown_5.entry.js +28 -4
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-input-phone-number.entry.js +1 -1
- package/dist/esm/vega-input-select.entry.js +6 -3
- package/dist/esm/vega-selection-tile_2.entry.js +26 -2
- package/dist/esm/vega.js +1 -1
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-post-operation-date-controller.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +2 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +15 -1
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +4 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +1 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +8 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +4 -0
- package/dist/types/components.d.ts +20 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +3 -3
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +7 -1
- package/dist/vega/{p-f3ab00ad.entry.js → p-27a9ad35.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-8e2b1dae.entry.js +1 -0
- package/dist/vega/p-9540e3ed.entry.js +1 -0
- package/dist/vega/p-997a2064.entry.js +1 -0
- package/dist/vega/{p-39906ad2.entry.js → p-d661a5aa.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-080db42b.entry.js +0 -1
- package/dist/vega/p-45eb1e01.entry.js +0 -1
- package/dist/vega/p-9ca7467d.entry.js +0 -1
|
@@ -40,7 +40,7 @@ import './static-subject-title-ca83d6b6.js';
|
|
|
40
40
|
import './regex-dfe11abf.js';
|
|
41
41
|
import './typography-396de03f.js';
|
|
42
42
|
|
|
43
|
-
var __decorate$
|
|
43
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
44
44
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
45
45
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
46
46
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -59,10 +59,10 @@ class VegaCalendarRenderer extends VegaSlimmer {
|
|
|
59
59
|
this.viewRenderer.render()));
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
__decorate$
|
|
62
|
+
__decorate$q([
|
|
63
63
|
MapToComponentField()
|
|
64
64
|
], VegaCalendarRenderer.prototype, "switchPanelRenderer", void 0);
|
|
65
|
-
__decorate$
|
|
65
|
+
__decorate$q([
|
|
66
66
|
MapToComponentField()
|
|
67
67
|
], VegaCalendarRenderer.prototype, "viewRenderer", void 0);
|
|
68
68
|
|
|
@@ -486,17 +486,17 @@ class WeekPeriod extends CalendarPeriod {
|
|
|
486
486
|
* @inheritDoc
|
|
487
487
|
*/
|
|
488
488
|
next() {
|
|
489
|
-
const
|
|
490
|
-
|
|
491
|
-
return this.createBy(CalendarDate.from(
|
|
489
|
+
const currentDate = this.current.toDate();
|
|
490
|
+
currentDate.setDate(currentDate.getDate() + 7);
|
|
491
|
+
return this.createBy(CalendarDate.from(currentDate));
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* @inheritDoc
|
|
495
495
|
*/
|
|
496
496
|
previous() {
|
|
497
|
-
const
|
|
498
|
-
|
|
499
|
-
return this.createBy(CalendarDate.from(
|
|
497
|
+
const currentDate = this.current.toDate();
|
|
498
|
+
currentDate.setDate(currentDate.getDate() - 7);
|
|
499
|
+
return this.createBy(CalendarDate.from(currentDate));
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
502
502
|
* @inheritDoc
|
|
@@ -512,7 +512,7 @@ WeekPeriod.DISPLAY_DATE_COUNT = 7;
|
|
|
512
512
|
*/
|
|
513
513
|
class MonthPeriod extends CalendarPeriod {
|
|
514
514
|
constructor(current, showWeekends) {
|
|
515
|
-
super(MonthPeriod.DISPLAY_DATE_COUNT,
|
|
515
|
+
super(MonthPeriod.DISPLAY_DATE_COUNT, current);
|
|
516
516
|
this._type = 'month';
|
|
517
517
|
this._showWeekends = true;
|
|
518
518
|
this._showWeekends = showWeekends === false ? false : true;
|
|
@@ -531,6 +531,19 @@ class MonthPeriod extends CalendarPeriod {
|
|
|
531
531
|
const date = calendarDate || CalendarDate.from(new Date());
|
|
532
532
|
return new CalendarDate(date.year, date.month, 1);
|
|
533
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Calculate the period start date and end date.
|
|
536
|
+
*
|
|
537
|
+
* @param {CalendarDate} date - The date to calculate the period from.
|
|
538
|
+
*/
|
|
539
|
+
calculatePeriod(date) {
|
|
540
|
+
const firstDay = MonthPeriod.getMonthFirstDay(date);
|
|
541
|
+
const cursor = firstDay.toDate();
|
|
542
|
+
cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
|
|
543
|
+
this._startDate = CalendarDate.from(cursor);
|
|
544
|
+
cursor.setDate(cursor.getDate() + this.count - 1);
|
|
545
|
+
this._endDate = CalendarDate.from(cursor);
|
|
546
|
+
}
|
|
534
547
|
/**
|
|
535
548
|
* @inheritDoc
|
|
536
549
|
*/
|
|
@@ -616,7 +629,7 @@ const ellipsisVertical = {
|
|
|
616
629
|
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M48 464a48 48 0 1 1 0-96 48 48 0 1 1 0 96zm0-160a48 48 0 1 1 0-96 48 48 0 1 1 0 96zM0 96a48 48 0 1 1 96 0A48 48 0 1 1 0 96z"/></svg>`,
|
|
617
630
|
};
|
|
618
631
|
|
|
619
|
-
var __decorate$
|
|
632
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
620
633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
621
634
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
622
635
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -632,7 +645,7 @@ class VegaCalendarSwitchPanelRenderer extends VegaSlimmer {
|
|
|
632
645
|
* @param {NotifyObserverPayload<VegaCalendarViewModeType>} input mark which view should be selected
|
|
633
646
|
*/
|
|
634
647
|
this.handleViewChange = (input) => {
|
|
635
|
-
this.currentPeriodController.updateCalendarPeriod(input.detail, this.
|
|
648
|
+
this.currentPeriodController.updateCalendarPeriod(input.detail, this.postOperationDate);
|
|
636
649
|
};
|
|
637
650
|
/**
|
|
638
651
|
* reset view content to today
|
|
@@ -678,7 +691,7 @@ class VegaCalendarSwitchPanelRenderer extends VegaSlimmer {
|
|
|
678
691
|
return (h("vega-flex", { direction: "row", gap: "size-16", justifyContent: "space-between", alignItems: "center", class: "calendar-switch-panel", ref: (node) => (this.switchPanelRef = node) },
|
|
679
692
|
this.renderDateSwitch(),
|
|
680
693
|
h("div", { class: "calendar-view-switch-container" },
|
|
681
|
-
this.renderViewSwitch(),
|
|
694
|
+
this.showSwitchView ? this.renderViewSwitch() : null,
|
|
682
695
|
this.renderMoreActionMenu())));
|
|
683
696
|
}
|
|
684
697
|
/**
|
|
@@ -774,32 +787,38 @@ VegaCalendarSwitchPanelRenderer.views = [
|
|
|
774
787
|
{ text: 'Week', key: 'week' },
|
|
775
788
|
{ text: 'Month', key: 'month' },
|
|
776
789
|
];
|
|
777
|
-
__decorate$
|
|
790
|
+
__decorate$p([
|
|
778
791
|
MapToComponentField()
|
|
779
792
|
], VegaCalendarSwitchPanelRenderer.prototype, "viewMode", void 0);
|
|
780
|
-
__decorate$
|
|
793
|
+
__decorate$p([
|
|
781
794
|
MapToComponentField()
|
|
782
795
|
], VegaCalendarSwitchPanelRenderer.prototype, "calendarView", void 0);
|
|
783
|
-
__decorate$
|
|
796
|
+
__decorate$p([
|
|
784
797
|
MapToComponentField()
|
|
785
798
|
], VegaCalendarSwitchPanelRenderer.prototype, "currentPeriod", void 0);
|
|
786
|
-
__decorate$
|
|
799
|
+
__decorate$p([
|
|
787
800
|
MapToComponentField()
|
|
788
801
|
], VegaCalendarSwitchPanelRenderer.prototype, "moreActionDropdownProps", void 0);
|
|
789
|
-
__decorate$
|
|
802
|
+
__decorate$p([
|
|
790
803
|
MapToComponentField()
|
|
791
804
|
], VegaCalendarSwitchPanelRenderer.prototype, "moreActionClickEmitter", void 0);
|
|
792
|
-
__decorate$
|
|
805
|
+
__decorate$p([
|
|
793
806
|
MapToComponentField()
|
|
794
807
|
], VegaCalendarSwitchPanelRenderer.prototype, "currentPeriodController", void 0);
|
|
795
|
-
__decorate$
|
|
808
|
+
__decorate$p([
|
|
796
809
|
MapToComponentField()
|
|
797
810
|
], VegaCalendarSwitchPanelRenderer.prototype, "calendarViewController", void 0);
|
|
798
|
-
__decorate$
|
|
811
|
+
__decorate$p([
|
|
799
812
|
MapToComponentField()
|
|
800
813
|
], VegaCalendarSwitchPanelRenderer.prototype, "translationSlimmer", void 0);
|
|
814
|
+
__decorate$p([
|
|
815
|
+
MapToComponentField()
|
|
816
|
+
], VegaCalendarSwitchPanelRenderer.prototype, "postOperationDate", void 0);
|
|
817
|
+
__decorate$p([
|
|
818
|
+
MapToComponentField()
|
|
819
|
+
], VegaCalendarSwitchPanelRenderer.prototype, "showSwitchView", void 0);
|
|
801
820
|
|
|
802
|
-
var __decorate$
|
|
821
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
803
822
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
804
823
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
805
824
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -826,20 +845,20 @@ class VegaCalendarViewRenderer extends VegaSlimmer {
|
|
|
826
845
|
: this.viewWithTimeRenderer.render()));
|
|
827
846
|
}
|
|
828
847
|
}
|
|
829
|
-
__decorate$
|
|
848
|
+
__decorate$o([
|
|
830
849
|
MapToComponentField()
|
|
831
850
|
], VegaCalendarViewRenderer.prototype, "viewMode", void 0);
|
|
832
|
-
__decorate$
|
|
851
|
+
__decorate$o([
|
|
833
852
|
MapToComponentField()
|
|
834
853
|
], VegaCalendarViewRenderer.prototype, "showWeekends", void 0);
|
|
835
|
-
__decorate$
|
|
854
|
+
__decorate$o([
|
|
836
855
|
MapToComponentField()
|
|
837
856
|
], VegaCalendarViewRenderer.prototype, "monthViewRenderer", void 0);
|
|
838
|
-
__decorate$
|
|
857
|
+
__decorate$o([
|
|
839
858
|
MapToComponentField()
|
|
840
859
|
], VegaCalendarViewRenderer.prototype, "viewWithTimeRenderer", void 0);
|
|
841
860
|
|
|
842
|
-
var __decorate$
|
|
861
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
843
862
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
844
863
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
845
864
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -943,32 +962,32 @@ class VegaCalendarMonthViewRenderer extends VegaSlimmer {
|
|
|
943
962
|
return !element.classList.contains('more-button') && element.tagName !== 'VEGA-CALENDAR-EVENT';
|
|
944
963
|
}
|
|
945
964
|
}
|
|
946
|
-
__decorate$
|
|
965
|
+
__decorate$n([
|
|
947
966
|
MapToComponentField()
|
|
948
967
|
], VegaCalendarMonthViewRenderer.prototype, "viewMode", void 0);
|
|
949
|
-
__decorate$
|
|
968
|
+
__decorate$n([
|
|
950
969
|
MapToComponentField()
|
|
951
970
|
], VegaCalendarMonthViewRenderer.prototype, "calendarView", void 0);
|
|
952
|
-
__decorate$
|
|
971
|
+
__decorate$n([
|
|
953
972
|
MapToComponentField()
|
|
954
973
|
], VegaCalendarMonthViewRenderer.prototype, "currentPeriod", void 0);
|
|
955
|
-
__decorate$
|
|
974
|
+
__decorate$n([
|
|
956
975
|
MapToComponentField()
|
|
957
976
|
], VegaCalendarMonthViewRenderer.prototype, "currentPeriodController", void 0);
|
|
958
|
-
__decorate$
|
|
977
|
+
__decorate$n([
|
|
959
978
|
MapToComponentField()
|
|
960
979
|
], VegaCalendarMonthViewRenderer.prototype, "monthEventRenderer", void 0);
|
|
961
|
-
__decorate$
|
|
980
|
+
__decorate$n([
|
|
962
981
|
MapToComponentField()
|
|
963
982
|
], VegaCalendarMonthViewRenderer.prototype, "dateDblClickEmitter", void 0);
|
|
964
|
-
__decorate$
|
|
983
|
+
__decorate$n([
|
|
965
984
|
MapToComponentField()
|
|
966
985
|
], VegaCalendarMonthViewRenderer.prototype, "translationSlimmer", void 0);
|
|
967
|
-
__decorate$
|
|
986
|
+
__decorate$n([
|
|
968
987
|
MapToComponentField()
|
|
969
988
|
], VegaCalendarMonthViewRenderer.prototype, "isDateDisabled", void 0);
|
|
970
989
|
|
|
971
|
-
var __decorate$
|
|
990
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
972
991
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
973
992
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
974
993
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1065,35 +1084,35 @@ class VegaCalendarViewWithTimeRenderer extends VegaSlimmer {
|
|
|
1065
1084
|
this.dateDblClickEmitter.emit({ year, month, date, hour, mouseEventInfo: { clientX, clientY } });
|
|
1066
1085
|
}
|
|
1067
1086
|
}
|
|
1068
|
-
__decorate$
|
|
1087
|
+
__decorate$m([
|
|
1069
1088
|
MapToComponentField()
|
|
1070
1089
|
], VegaCalendarViewWithTimeRenderer.prototype, "viewMode", void 0);
|
|
1071
|
-
__decorate$
|
|
1090
|
+
__decorate$m([
|
|
1072
1091
|
MapToComponentField()
|
|
1073
1092
|
], VegaCalendarViewWithTimeRenderer.prototype, "timeLineRenderer", void 0);
|
|
1074
|
-
__decorate$
|
|
1093
|
+
__decorate$m([
|
|
1075
1094
|
MapToComponentField()
|
|
1076
1095
|
], VegaCalendarViewWithTimeRenderer.prototype, "timeMarkerRenderer", void 0);
|
|
1077
|
-
__decorate$
|
|
1096
|
+
__decorate$m([
|
|
1078
1097
|
MapToComponentField()
|
|
1079
1098
|
], VegaCalendarViewWithTimeRenderer.prototype, "dayViewTimedEventRenderer", void 0);
|
|
1080
|
-
__decorate$
|
|
1099
|
+
__decorate$m([
|
|
1081
1100
|
MapToComponentField()
|
|
1082
1101
|
], VegaCalendarViewWithTimeRenderer.prototype, "dayViewFullDayEventRenderer", void 0);
|
|
1083
|
-
__decorate$
|
|
1102
|
+
__decorate$m([
|
|
1084
1103
|
MapToComponentField()
|
|
1085
1104
|
], VegaCalendarViewWithTimeRenderer.prototype, "calendarView", void 0);
|
|
1086
|
-
__decorate$
|
|
1105
|
+
__decorate$m([
|
|
1087
1106
|
MapToComponentField()
|
|
1088
1107
|
], VegaCalendarViewWithTimeRenderer.prototype, "dateDblClickEmitter", void 0);
|
|
1089
|
-
__decorate$
|
|
1108
|
+
__decorate$m([
|
|
1090
1109
|
MapToComponentField()
|
|
1091
1110
|
], VegaCalendarViewWithTimeRenderer.prototype, "translationSlimmer", void 0);
|
|
1092
|
-
__decorate$
|
|
1111
|
+
__decorate$m([
|
|
1093
1112
|
MapToComponentField()
|
|
1094
1113
|
], VegaCalendarViewWithTimeRenderer.prototype, "isDateDisabled", void 0);
|
|
1095
1114
|
|
|
1096
|
-
var __decorate$
|
|
1115
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1097
1116
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1098
1117
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1099
1118
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1140,11 +1159,11 @@ class VegaCalendarTimeLineRenderer extends VegaSlimmer {
|
|
|
1140
1159
|
return timeLine;
|
|
1141
1160
|
}
|
|
1142
1161
|
}
|
|
1143
|
-
__decorate$
|
|
1162
|
+
__decorate$l([
|
|
1144
1163
|
MapToComponentField()
|
|
1145
1164
|
], VegaCalendarTimeLineRenderer.prototype, "timeFormat", void 0);
|
|
1146
1165
|
|
|
1147
|
-
var __decorate$
|
|
1166
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1148
1167
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1149
1168
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1150
1169
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1197,26 +1216,26 @@ class VegaCalendarViewController extends VegaSlimmer {
|
|
|
1197
1216
|
this.calendarView = newView;
|
|
1198
1217
|
}
|
|
1199
1218
|
}
|
|
1200
|
-
__decorate$
|
|
1219
|
+
__decorate$k([
|
|
1201
1220
|
MapToComponentField({ writable: true })
|
|
1202
1221
|
], VegaCalendarViewController.prototype, "calendarView", void 0);
|
|
1203
|
-
__decorate$
|
|
1222
|
+
__decorate$k([
|
|
1204
1223
|
MapToComponentField()
|
|
1205
1224
|
], VegaCalendarViewController.prototype, "currentPeriod", void 0);
|
|
1206
|
-
__decorate$
|
|
1225
|
+
__decorate$k([
|
|
1207
1226
|
MapToComponentField()
|
|
1208
1227
|
], VegaCalendarViewController.prototype, "showWeekends", void 0);
|
|
1209
|
-
__decorate$
|
|
1228
|
+
__decorate$k([
|
|
1210
1229
|
MapToComponentField()
|
|
1211
1230
|
], VegaCalendarViewController.prototype, "currentPeriodController", void 0);
|
|
1212
|
-
__decorate$
|
|
1231
|
+
__decorate$k([
|
|
1213
1232
|
MapToComponentMethod('componentWillLoad')
|
|
1214
1233
|
], VegaCalendarViewController.prototype, "initialCalendarView", null);
|
|
1215
|
-
__decorate$
|
|
1234
|
+
__decorate$k([
|
|
1216
1235
|
MapToComponentMethod('watchCurrentPeriodChange')
|
|
1217
1236
|
], VegaCalendarViewController.prototype, "generateCalendarView", null);
|
|
1218
1237
|
|
|
1219
|
-
var __decorate$
|
|
1238
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1220
1239
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1221
1240
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1222
1241
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1320,32 +1339,32 @@ class VegaCalendarCurrentPeriodController extends VegaSlimmer {
|
|
|
1320
1339
|
};
|
|
1321
1340
|
}
|
|
1322
1341
|
}
|
|
1323
|
-
__decorate$
|
|
1342
|
+
__decorate$j([
|
|
1324
1343
|
MapToComponentField({ writable: true })
|
|
1325
1344
|
], VegaCalendarCurrentPeriodController.prototype, "currentPeriod", void 0);
|
|
1326
|
-
__decorate$
|
|
1345
|
+
__decorate$j([
|
|
1327
1346
|
MapToComponentField()
|
|
1328
1347
|
], VegaCalendarCurrentPeriodController.prototype, "changeEventEmitter", void 0);
|
|
1329
|
-
__decorate$
|
|
1348
|
+
__decorate$j([
|
|
1330
1349
|
MapToComponentField({ writable: true })
|
|
1331
1350
|
], VegaCalendarCurrentPeriodController.prototype, "viewMode", void 0);
|
|
1332
|
-
__decorate$
|
|
1351
|
+
__decorate$j([
|
|
1333
1352
|
MapToComponentField()
|
|
1334
1353
|
], VegaCalendarCurrentPeriodController.prototype, "showWeekends", void 0);
|
|
1335
|
-
__decorate$
|
|
1354
|
+
__decorate$j([
|
|
1336
1355
|
MapToComponentMethod('componentWillLoad')
|
|
1337
1356
|
], VegaCalendarCurrentPeriodController.prototype, "initialCurrentPeriod", null);
|
|
1338
|
-
__decorate$
|
|
1357
|
+
__decorate$j([
|
|
1339
1358
|
MapToComponentMethod('watchCurrentPeriodChange')
|
|
1340
1359
|
], VegaCalendarCurrentPeriodController.prototype, "emitChangeEvent", null);
|
|
1341
|
-
__decorate$
|
|
1360
|
+
__decorate$j([
|
|
1342
1361
|
MapToComponentMethod('watchViewModeChange')
|
|
1343
1362
|
], VegaCalendarCurrentPeriodController.prototype, "updateCurrentPeriodByViewMode", null);
|
|
1344
|
-
__decorate$
|
|
1363
|
+
__decorate$j([
|
|
1345
1364
|
MapToComponentMethod('watchShowWeekendsChange')
|
|
1346
1365
|
], VegaCalendarCurrentPeriodController.prototype, "updateCurrentPeriodAfterHideWeekEndsChange", null);
|
|
1347
1366
|
|
|
1348
|
-
var __decorate$
|
|
1367
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1349
1368
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1350
1369
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1351
1370
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1502,22 +1521,22 @@ class VegaCalendarMonthEventRenderer extends VegaSlimmer {
|
|
|
1502
1521
|
return rowEvents;
|
|
1503
1522
|
}
|
|
1504
1523
|
}
|
|
1505
|
-
__decorate$
|
|
1524
|
+
__decorate$i([
|
|
1506
1525
|
MapToComponentField()
|
|
1507
1526
|
], VegaCalendarMonthEventRenderer.prototype, "viewMode", void 0);
|
|
1508
|
-
__decorate$
|
|
1527
|
+
__decorate$i([
|
|
1509
1528
|
MapToComponentField()
|
|
1510
1529
|
], VegaCalendarMonthEventRenderer.prototype, "host", void 0);
|
|
1511
|
-
__decorate$
|
|
1530
|
+
__decorate$i([
|
|
1512
1531
|
MapToComponentField()
|
|
1513
1532
|
], VegaCalendarMonthEventRenderer.prototype, "calendarEventController", void 0);
|
|
1514
|
-
__decorate$
|
|
1533
|
+
__decorate$i([
|
|
1515
1534
|
MapToComponentField()
|
|
1516
1535
|
], VegaCalendarMonthEventRenderer.prototype, "eventItemRenderer", void 0);
|
|
1517
|
-
__decorate$
|
|
1536
|
+
__decorate$i([
|
|
1518
1537
|
MapToComponentField()
|
|
1519
1538
|
], VegaCalendarMonthEventRenderer.prototype, "fullDayEventLayoutRenderer", void 0);
|
|
1520
|
-
__decorate$
|
|
1539
|
+
__decorate$i([
|
|
1521
1540
|
MapToComponentMethod('componentWillLoad')
|
|
1522
1541
|
], VegaCalendarMonthEventRenderer.prototype, "addMaxDisplayCountChange", null);
|
|
1523
1542
|
|
|
@@ -2378,7 +2397,7 @@ class CalendarEvent {
|
|
|
2378
2397
|
}
|
|
2379
2398
|
}
|
|
2380
2399
|
|
|
2381
|
-
var __decorate$
|
|
2400
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2382
2401
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2383
2402
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2384
2403
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2484,23 +2503,23 @@ class VegaCalendarEventController extends VegaSlimmer {
|
|
|
2484
2503
|
}
|
|
2485
2504
|
}
|
|
2486
2505
|
}
|
|
2487
|
-
__decorate$
|
|
2506
|
+
__decorate$h([
|
|
2488
2507
|
MapToComponentField({ writable: true })
|
|
2489
2508
|
], VegaCalendarEventController.prototype, "calendarEvents", void 0);
|
|
2490
|
-
__decorate$
|
|
2509
|
+
__decorate$h([
|
|
2491
2510
|
MapToComponentField()
|
|
2492
2511
|
], VegaCalendarEventController.prototype, "currentPeriod", void 0);
|
|
2493
|
-
__decorate$
|
|
2512
|
+
__decorate$h([
|
|
2494
2513
|
MapToComponentField()
|
|
2495
2514
|
], VegaCalendarEventController.prototype, "events", void 0);
|
|
2496
|
-
__decorate$
|
|
2515
|
+
__decorate$h([
|
|
2497
2516
|
MapToComponentMethod('watchEventsChange')
|
|
2498
2517
|
], VegaCalendarEventController.prototype, "updateAfterEventChange", null);
|
|
2499
|
-
__decorate$
|
|
2518
|
+
__decorate$h([
|
|
2500
2519
|
MapToComponentMethod('componentWillLoad')
|
|
2501
2520
|
], VegaCalendarEventController.prototype, "updateWhenComponentWillLoad", null);
|
|
2502
2521
|
|
|
2503
|
-
var __decorate$
|
|
2522
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2504
2523
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2505
2524
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2506
2525
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2530,17 +2549,17 @@ class VegaCalendarEventItemRenderer extends VegaSlimmer {
|
|
|
2530
2549
|
}
|
|
2531
2550
|
}
|
|
2532
2551
|
VegaCalendarEventItemRenderer.backgroundColorModeEventHeight = 18;
|
|
2533
|
-
__decorate$
|
|
2552
|
+
__decorate$g([
|
|
2534
2553
|
MapToComponentField()
|
|
2535
2554
|
], VegaCalendarEventItemRenderer.prototype, "host", void 0);
|
|
2536
|
-
__decorate$
|
|
2555
|
+
__decorate$g([
|
|
2537
2556
|
MapToComponentField()
|
|
2538
2557
|
], VegaCalendarEventItemRenderer.prototype, "calendarView", void 0);
|
|
2539
|
-
__decorate$
|
|
2558
|
+
__decorate$g([
|
|
2540
2559
|
MapToComponentField()
|
|
2541
2560
|
], VegaCalendarEventItemRenderer.prototype, "eventClickEmitter", void 0);
|
|
2542
2561
|
|
|
2543
|
-
var __decorate$
|
|
2562
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2544
2563
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2545
2564
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2546
2565
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2592,23 +2611,23 @@ class VegaCalendarEventResponsiveController extends PageResizeObserverSlimmer {
|
|
|
2592
2611
|
}
|
|
2593
2612
|
}
|
|
2594
2613
|
VegaCalendarEventResponsiveController.monthDateTitleHeight = 26;
|
|
2595
|
-
__decorate$
|
|
2614
|
+
__decorate$f([
|
|
2596
2615
|
MapToComponentField()
|
|
2597
2616
|
], VegaCalendarEventResponsiveController.prototype, "host", void 0);
|
|
2598
|
-
__decorate$
|
|
2617
|
+
__decorate$f([
|
|
2599
2618
|
MapToComponentField()
|
|
2600
2619
|
], VegaCalendarEventResponsiveController.prototype, "monthEventRenderer", void 0);
|
|
2601
|
-
__decorate$
|
|
2620
|
+
__decorate$f([
|
|
2602
2621
|
MapToComponentField()
|
|
2603
2622
|
], VegaCalendarEventResponsiveController.prototype, "viewMode", void 0);
|
|
2604
|
-
__decorate$
|
|
2623
|
+
__decorate$f([
|
|
2605
2624
|
MapToComponentMethod('componentDidLoad')
|
|
2606
2625
|
], VegaCalendarEventResponsiveController.prototype, "updateMaxDisplayCount", null);
|
|
2607
|
-
__decorate$
|
|
2626
|
+
__decorate$f([
|
|
2608
2627
|
MapToComponentMethod('watchViewModeChange')
|
|
2609
2628
|
], VegaCalendarEventResponsiveController.prototype, "updateMaxDisplayCountAfterSwitchToMonthView", null);
|
|
2610
2629
|
|
|
2611
|
-
var __decorate$
|
|
2630
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2612
2631
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2613
2632
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2614
2633
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2673,26 +2692,26 @@ class VegaCalendarFullDayEventRenderer extends VegaSlimmer {
|
|
|
2673
2692
|
}
|
|
2674
2693
|
}
|
|
2675
2694
|
VegaCalendarFullDayEventRenderer.maxDisplayEventLength = 2;
|
|
2676
|
-
__decorate$
|
|
2695
|
+
__decorate$e([
|
|
2677
2696
|
MapToComponentField()
|
|
2678
2697
|
], VegaCalendarFullDayEventRenderer.prototype, "calendarView", void 0);
|
|
2679
|
-
__decorate$
|
|
2698
|
+
__decorate$e([
|
|
2680
2699
|
MapToComponentField()
|
|
2681
2700
|
], VegaCalendarFullDayEventRenderer.prototype, "calendarEventController", void 0);
|
|
2682
|
-
__decorate$
|
|
2701
|
+
__decorate$e([
|
|
2683
2702
|
MapToComponentField()
|
|
2684
2703
|
], VegaCalendarFullDayEventRenderer.prototype, "eventItemRenderer", void 0);
|
|
2685
|
-
__decorate$
|
|
2704
|
+
__decorate$e([
|
|
2686
2705
|
MapToComponentField()
|
|
2687
2706
|
], VegaCalendarFullDayEventRenderer.prototype, "fullDayEventLayoutRenderer", void 0);
|
|
2688
|
-
__decorate$
|
|
2707
|
+
__decorate$e([
|
|
2689
2708
|
MapToComponentField()
|
|
2690
2709
|
], VegaCalendarFullDayEventRenderer.prototype, "showAllEventsInDayOrWeekView", void 0);
|
|
2691
|
-
__decorate$
|
|
2710
|
+
__decorate$e([
|
|
2692
2711
|
MapToComponentField()
|
|
2693
2712
|
], VegaCalendarFullDayEventRenderer.prototype, "dayViewFullDayEventMoreButtonRenderer", void 0);
|
|
2694
2713
|
|
|
2695
|
-
var __decorate$
|
|
2714
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2696
2715
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2697
2716
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2698
2717
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2757,7 +2776,7 @@ class VegaCalendarDayViewEventLayoutRenderer extends VegaSlimmer {
|
|
|
2757
2776
|
}
|
|
2758
2777
|
}
|
|
2759
2778
|
VegaCalendarDayViewEventLayoutRenderer.totalNumberOfCells = 24 * 4;
|
|
2760
|
-
__decorate$
|
|
2779
|
+
__decorate$d([
|
|
2761
2780
|
MapToComponentField()
|
|
2762
2781
|
], VegaCalendarDayViewEventLayoutRenderer.prototype, "eventItemRenderer", void 0);
|
|
2763
2782
|
|
|
@@ -3043,7 +3062,7 @@ class VegaCalendarEventSorter {
|
|
|
3043
3062
|
}
|
|
3044
3063
|
}
|
|
3045
3064
|
|
|
3046
|
-
var __decorate$
|
|
3065
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3047
3066
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3048
3067
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3049
3068
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3082,13 +3101,13 @@ class VegaCalendarTimedEventRenderer extends VegaSlimmer {
|
|
|
3082
3101
|
return this.dayViewEventLayoutRenderer.render(layout);
|
|
3083
3102
|
}
|
|
3084
3103
|
}
|
|
3085
|
-
__decorate$
|
|
3104
|
+
__decorate$c([
|
|
3086
3105
|
MapToComponentField()
|
|
3087
3106
|
], VegaCalendarTimedEventRenderer.prototype, "calendarView", void 0);
|
|
3088
|
-
__decorate$
|
|
3107
|
+
__decorate$c([
|
|
3089
3108
|
MapToComponentField()
|
|
3090
3109
|
], VegaCalendarTimedEventRenderer.prototype, "calendarEventController", void 0);
|
|
3091
|
-
__decorate$
|
|
3110
|
+
__decorate$c([
|
|
3092
3111
|
MapToComponentField()
|
|
3093
3112
|
], VegaCalendarTimedEventRenderer.prototype, "dayViewEventLayoutRenderer", void 0);
|
|
3094
3113
|
|
|
@@ -3257,7 +3276,7 @@ class VegaCalendarFullDayEventLayoutGenerator extends VegaCalendarBaseEventLayou
|
|
|
3257
3276
|
}
|
|
3258
3277
|
}
|
|
3259
3278
|
|
|
3260
|
-
var __decorate$
|
|
3279
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3261
3280
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3262
3281
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3263
3282
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3342,17 +3361,17 @@ class VegaCalendarFullDayEventLayoutRenderer extends VegaSlimmer {
|
|
|
3342
3361
|
}
|
|
3343
3362
|
}
|
|
3344
3363
|
VegaCalendarFullDayEventLayoutRenderer.monthViewEventOffsetTop = 26;
|
|
3345
|
-
__decorate$
|
|
3364
|
+
__decorate$b([
|
|
3346
3365
|
MapToComponentField()
|
|
3347
3366
|
], VegaCalendarFullDayEventLayoutRenderer.prototype, "eventItemRenderer", void 0);
|
|
3348
|
-
__decorate$
|
|
3367
|
+
__decorate$b([
|
|
3349
3368
|
MapToComponentField()
|
|
3350
3369
|
], VegaCalendarFullDayEventLayoutRenderer.prototype, "viewMode", void 0);
|
|
3351
|
-
__decorate$
|
|
3370
|
+
__decorate$b([
|
|
3352
3371
|
MapToComponentField()
|
|
3353
3372
|
], VegaCalendarFullDayEventLayoutRenderer.prototype, "calendarView", void 0);
|
|
3354
3373
|
|
|
3355
|
-
var __decorate$
|
|
3374
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3356
3375
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3357
3376
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3358
3377
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3389,14 +3408,14 @@ class VegaCalendarFullDayEventMoreButtonRenderer extends VegaSlimmer {
|
|
|
3389
3408
|
this.showAllEventsInDayOrWeekView = false;
|
|
3390
3409
|
}
|
|
3391
3410
|
}
|
|
3392
|
-
__decorate$
|
|
3411
|
+
__decorate$a([
|
|
3393
3412
|
MapToComponentField({ writable: true })
|
|
3394
3413
|
], VegaCalendarFullDayEventMoreButtonRenderer.prototype, "showAllEventsInDayOrWeekView", void 0);
|
|
3395
|
-
__decorate$
|
|
3414
|
+
__decorate$a([
|
|
3396
3415
|
MapToComponentMethod('watchViewModeChange')
|
|
3397
3416
|
], VegaCalendarFullDayEventMoreButtonRenderer.prototype, "resetShowAllFlag", null);
|
|
3398
3417
|
|
|
3399
|
-
var __decorate$
|
|
3418
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3400
3419
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3401
3420
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3402
3421
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3540,25 +3559,72 @@ class VegaCalendarTimeMarkerRenderer extends VegaSlimmer {
|
|
|
3540
3559
|
return 0;
|
|
3541
3560
|
}
|
|
3542
3561
|
}
|
|
3543
|
-
__decorate$
|
|
3562
|
+
__decorate$9([
|
|
3544
3563
|
MapToComponentField()
|
|
3545
3564
|
], VegaCalendarTimeMarkerRenderer.prototype, "viewMode", void 0);
|
|
3546
|
-
__decorate$
|
|
3565
|
+
__decorate$9([
|
|
3547
3566
|
MapToComponentField()
|
|
3548
3567
|
], VegaCalendarTimeMarkerRenderer.prototype, "viewRenderer", void 0);
|
|
3549
|
-
__decorate$
|
|
3568
|
+
__decorate$9([
|
|
3550
3569
|
MapToComponentMethod('watchViewModeChange')
|
|
3551
3570
|
], VegaCalendarTimeMarkerRenderer.prototype, "updateTimeLine", null);
|
|
3552
|
-
__decorate$
|
|
3571
|
+
__decorate$9([
|
|
3553
3572
|
MapToComponentMethod('disconnectedCallback')
|
|
3554
3573
|
], VegaCalendarTimeMarkerRenderer.prototype, "clearTimer", null);
|
|
3555
|
-
__decorate$
|
|
3574
|
+
__decorate$9([
|
|
3556
3575
|
MapToComponentMethod('connectedCallback')
|
|
3557
3576
|
], VegaCalendarTimeMarkerRenderer.prototype, "updateTimeLineIfComponentAddBack", null);
|
|
3558
|
-
__decorate$
|
|
3577
|
+
__decorate$9([
|
|
3559
3578
|
MapToComponentMethod('componentDidLoad')
|
|
3560
3579
|
], VegaCalendarTimeMarkerRenderer.prototype, "displayCurrentTimeBlockByDefault", null);
|
|
3561
3580
|
|
|
3581
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3582
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3583
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3584
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3585
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3586
|
+
};
|
|
3587
|
+
/**
|
|
3588
|
+
* Controller for managing the post-operation date in the Vega Calendar.
|
|
3589
|
+
*/
|
|
3590
|
+
class VegaCalendarPostOperationDateController extends VegaSlimmer {
|
|
3591
|
+
/**
|
|
3592
|
+
* Set new current date
|
|
3593
|
+
*
|
|
3594
|
+
* @param {CalendarDate} currentDate new value
|
|
3595
|
+
*/
|
|
3596
|
+
setPostOperationDate(currentDate) {
|
|
3597
|
+
this.postOperationDate = currentDate;
|
|
3598
|
+
}
|
|
3599
|
+
/**
|
|
3600
|
+
* Set post operation Date when the current period changes
|
|
3601
|
+
*
|
|
3602
|
+
* @param {CalendarPeriod} newValue the new calendar period
|
|
3603
|
+
* @param {CalendarPeriod} oldValue the prev calendar period
|
|
3604
|
+
*/
|
|
3605
|
+
setDate(newValue, oldValue) {
|
|
3606
|
+
if (newValue.current !== this.postOperationDate) {
|
|
3607
|
+
// If the interval is changed from month to month, the time after the operation should be changed to the 1st of each month
|
|
3608
|
+
if (newValue.type === 'month' && (oldValue === null || oldValue === void 0 ? void 0 : oldValue.type) === 'month') {
|
|
3609
|
+
const currentDate = newValue.current.toDate();
|
|
3610
|
+
if (currentDate) {
|
|
3611
|
+
currentDate.setDate(1);
|
|
3612
|
+
this.setPostOperationDate(CalendarDate.from(currentDate));
|
|
3613
|
+
}
|
|
3614
|
+
}
|
|
3615
|
+
else {
|
|
3616
|
+
this.setPostOperationDate(CalendarDate.from(newValue.current.toDate()));
|
|
3617
|
+
}
|
|
3618
|
+
}
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
__decorate$8([
|
|
3622
|
+
MapToComponentField({ writable: true })
|
|
3623
|
+
], VegaCalendarPostOperationDateController.prototype, "postOperationDate", void 0);
|
|
3624
|
+
__decorate$8([
|
|
3625
|
+
MapToComponentMethod('watchCurrentPeriodChange')
|
|
3626
|
+
], VegaCalendarPostOperationDateController.prototype, "setDate", null);
|
|
3627
|
+
|
|
3562
3628
|
const vegaCalendarCss = ".border-divider-top{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-left-width:0px;border-right-width:0px;border-bottom-width:0px}.border-divider-top.disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.border-divider-left{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-right-width:0px;border-bottom-width:0px}.border-divider-left.disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.border-divider-right{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-left-width:0px;border-bottom-width:0px}.border-divider-bottom{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-left-width:0px;border-right-width:0px}:host{display:flex;flex-direction:column;border-radius:12px;border:1px solid rgba(var(--v-border-divider, 171, 198, 216, 1));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));overflow:hidden;width:100%;height:100%;box-sizing:border-box;max-height:1966px}.calendar-switch-panel{padding:24px;border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));flex-shrink:0;width:100%;box-sizing:border-box}.calendar-switch-panel .calendar-date-switch-container{display:flex;gap:8px;align-items:center;flex-direction:row}.calendar-switch-panel .calendar-view-switch-container{display:flex;gap:16px;align-items:center;flex-direction:row}.calendar-switch-panel .calendar-current-date{padding-left:8px}.calendar-view{width:100%;position:relative;flex-grow:1;overflow-y:auto;overflow-x:hidden;--calendar-weekday-columns:7}.calendar-view.calendar-hide-weekends{--calendar-weekday-columns:5}.calendar-view-month .calendar-view-month-container{width:100%;display:grid;min-height:100%;grid-template-rows:43px repeat(6, minmax(64px, 1fr))}.calendar-view-month .calendar-view-title{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));top:0;left:0;z-index:62}.calendar-view-month .calendar-view-title div{padding-top:12px;padding-bottom:12px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;text-align:center}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}.calendar-view-month .calendar-view-row{position:relative;display:grid;grid-template-rows:1fr;grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-month .calendar-view-row.calendar-view-title{position:sticky}.calendar-view-month .calendar-view-row:last-child{border-bottom-width:0px}.calendar-view-month .calendar-view-row .row-cell{overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.calendar-view-month .calendar-view-row .row-cell:last-child{border-right-width:0px}.calendar-view-month .calendar-view-row .row-cell .date{padding-top:4px;padding-bottom:4px;padding-right:12px;padding-left:8px}.calendar-view-month .calendar-view-row .row-cell .date>div{display:inline-block;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.calendar-view-month .calendar-view-row .row-cell .date .month-block{margin-right:2px}.calendar-view-month .calendar-view-row .row-cell .date .grid-col{text-align:center;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;cursor:pointer;width:18px;height:18px;line-height:18px}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:hover{background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1))}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:active{background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}.calendar-view-month .calendar-view-row .row-cell.current-month-day .date>div{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.calendar-view-month .calendar-view-row .row-cell.disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.calendar-view-month .calendar-view-row .row-cell.disabled .date>div{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));border-top-left-radius:9999px;border-bottom-left-radius:9999px;color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}.calendar-view-container{width:100%}.calendar-view-container .calendar-view-title-container{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));position:sticky;top:0;left:0;z-index:62}.calendar-view-container .calendar-view-row{box-sizing:border-box;width:100%;display:flex;flex-direction:row}.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{width:72px;text-align:right;padding-right:8px;box-sizing:border-box;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));flex-shrink:0}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.calendar-view-container .calendar-view-title{width:100%}.calendar-view-container .calendar-view-title>div{padding:12px;padding-bottom:8px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;text-align:center;display:flex;flex-direction:column;gap:8px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}.calendar-view-container .calendar-view-title .week-day{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}.calendar-view-container .calendar-view-title .active div{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.calendar-view-container .calendar-view-event-all-container{align-items:center}.calendar-view-container .calendar-view-event-all{display:grid;grid-template-rows:1fr;flex-grow:1;min-height:18px}.calendar-view-container .calendar-view-day-container .time-line{display:grid;grid-template-rows:16px repeat(24, minmax(74px, 1fr))}.calendar-view-container .calendar-view-day-container .time-line .time-text{margin-top:-9px}.calendar-view-container .calendar-view-day-container .calendar-view-content{width:100%}.calendar-view-container .calendar-view-day-container .calendar-view-content .grid-col{display:grid;grid-template-rows:16px repeat(24, minmax(74px, 1fr));grid-template-columns:minmax(64px, 1fr)}.calendar-view-container .calendar-view-day-container .calendar-view-content .grid-col>.border-divider-top:first-child{border-top-width:0px}.calendar-view-container .calendar-view-content-container{width:100%;position:relative}.calendar-view-week .calendar-view-container{min-height:100%}.calendar-view-week .calendar-view-container .calendar-view-title{display:grid;grid-template-rows:1fr;grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-week .calendar-view-container .calendar-view-event-all{grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-week .calendar-view-container .calendar-view-day-container .calendar-view-content{display:grid;grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-week .time-marker-container .time-marker{display:grid;grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-week .day-event-container{display:grid;grid-template-columns:repeat(var(--calendar-weekday-columns), minmax(64px, 1fr))}.calendar-view-day .calendar-view-container{min-height:100%}.time-marker-container{position:absolute;min-width:100%;left:0;top:16px;height:calc(100% - 16px);pointer-events:none}.time-marker-container.hidden{display:none}.time-marker-container .time-marker{position:absolute;height:2px;display:grid;min-width:100%;left:0;top:0;z-index:61}.time-marker-container .time-marker div{width:100%;height:2px;background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1));opacity:0.3}.time-marker-container .time-marker div.active{opacity:1;position:relative}.time-marker-container .time-marker div.active::before{content:\"\";display:block;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;position:absolute;width:8px;height:8px;background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1));top:-3px;left:-4px}.day-event-container{position:absolute;min-width:100%;left:0;top:16px;height:calc(100% - 16px);pointer-events:none}.day-event-container .day-event-col{height:100%;overflow:hidden}.day-event-container vega-calendar-event{pointer-events:auto;height:100%}.calendar-view-month .month-event-row{position:absolute;width:100%;overflow:hidden;height:calc(100% - 26px);left:0;bottom:0}.calendar-view-month .events-container{width:100%;box-sizing:border-box;overflow:hidden;padding:2px;display:flex;flex-direction:column;gap:2px;justify-content:space-between;flex-grow:1}.calendar-view-month .events-container .event-list{display:flex;flex-direction:column;gap:2px;flex-grow:1}.calendar-view-month .events-container .event-list .month-event-block{box-sizing:border-box;padding-left:2px;padding-right:3px}.calendar-view-month .events-container .month-event-more .more-button{display:inline-block;height:16px;font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1));cursor:pointer;border-radius:2px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}.calendar-view-month .events-container .month-event-more .more-button:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}.calendar-view-container .calendar-view-event-all{position:relative}.calendar-view-container .calendar-view-event-all .placeholder-block{padding-top:2px;padding-bottom:2px;box-sizing:content-box}.calendar-view-container .calendar-view-event-all .placeholder-block span{display:none}.calendar-view-container .calendar-view-event-all .day-event-block{padding-top:2px;padding-right:2px;box-sizing:border-box;padding-left:3px}.calendar-view-container .calendar-view-event-all .more-button{display:inline-block;height:16px;font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1));cursor:pointer;border-radius:2px;margin-left:2px;padding:2px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}.calendar-view-container .calendar-view-event-all .more-button:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}.calendar-view-container .calendar-view-event-all .event-all-col{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.calendar-view-container .day-event-col{position:relative}.calendar-view-container .day-event-col .time-event-block{box-sizing:border-box;padding-right:8px;padding-bottom:2px;padding-top:3px}.calendar-view-container .day-event-col .time-event-block vega-calendar-event.bg-shadow::part(event-container):not(:focus){outline:2px solid rgba(var(--v-bg-primary, 252, 252, 252, 1))}.calendar-view-container .day-event-col .time-event-block:focus-within{z-index:60 !important}.calendar-event-slot-container{display:none}";
|
|
3563
3629
|
|
|
3564
3630
|
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -3593,9 +3659,11 @@ const VegaCalendar = class {
|
|
|
3593
3659
|
this.timeLineRenderer = new VegaCalendarTimeLineRenderer();
|
|
3594
3660
|
this.timeMarkerRenderer = new VegaCalendarTimeMarkerRenderer();
|
|
3595
3661
|
this.monthEventRenderer = new VegaCalendarMonthEventRenderer();
|
|
3596
|
-
//The current period controller
|
|
3662
|
+
// The current period controller should be before the calendar view controller because the initial current period should be before the initial calendar view
|
|
3597
3663
|
this.currentPeriodController = new VegaCalendarCurrentPeriodController();
|
|
3598
3664
|
this.calendarViewController = new VegaCalendarViewController();
|
|
3665
|
+
// Date after recording the operation
|
|
3666
|
+
this.postOperationDateController = new VegaCalendarPostOperationDateController();
|
|
3599
3667
|
this.dayViewFullDayEventRenderer = new VegaCalendarFullDayEventRenderer();
|
|
3600
3668
|
this.dayViewFullDayEventMoreButtonRenderer = new VegaCalendarFullDayEventMoreButtonRenderer();
|
|
3601
3669
|
this.dayViewTimedEventRenderer = new VegaCalendarTimedEventRenderer();
|
|
@@ -3611,6 +3679,12 @@ const VegaCalendar = class {
|
|
|
3611
3679
|
this.changeEventPrevent = new ChildNodesEventPreventSlimmer([VegaChange], () => this.switchPanelRenderer.getSwitchPanelRef());
|
|
3612
3680
|
this.timeFormatNotifySlimmer = createSubStateNotifySlimmer(VegaCalendar, 'timeFormat', 'watchTimeFormat');
|
|
3613
3681
|
this.showEventColorBarNotifySlimmer = createSubStateNotifySlimmer(VegaCalendar, 'showEventColorBar', 'watchShowEventColorBar');
|
|
3682
|
+
/**
|
|
3683
|
+
* This postOperationDate will record the time after the operation, which will affect the calculation of day/week/month, making the generated interval accurate
|
|
3684
|
+
*
|
|
3685
|
+
* @type {CalendarDate}
|
|
3686
|
+
*/
|
|
3687
|
+
this.postOperationDate = CalendarDate.from(new Date());
|
|
3614
3688
|
this.showAllEventsInDayOrWeekView = false;
|
|
3615
3689
|
this.calendarEvents = [];
|
|
3616
3690
|
/**
|
|
@@ -3645,6 +3719,12 @@ const VegaCalendar = class {
|
|
|
3645
3719
|
* @vegaVersion 2.21.0
|
|
3646
3720
|
*/
|
|
3647
3721
|
this.showEventColorBar = true;
|
|
3722
|
+
/**
|
|
3723
|
+
* Controls whether the switch view is displayed.
|
|
3724
|
+
*
|
|
3725
|
+
* @vegaVersion 2.58.0
|
|
3726
|
+
*/
|
|
3727
|
+
this.showSwitchView = true;
|
|
3648
3728
|
/**
|
|
3649
3729
|
* Controls the visibility of the weekend columns in the calendar.
|
|
3650
3730
|
*
|
|
@@ -3745,6 +3825,9 @@ __decorate$7([
|
|
|
3745
3825
|
__decorate$7([
|
|
3746
3826
|
InjectVegaSlimmer()
|
|
3747
3827
|
], VegaCalendar.prototype, "calendarViewController", void 0);
|
|
3828
|
+
__decorate$7([
|
|
3829
|
+
InjectVegaSlimmer()
|
|
3830
|
+
], VegaCalendar.prototype, "postOperationDateController", void 0);
|
|
3748
3831
|
__decorate$7([
|
|
3749
3832
|
InjectVegaSlimmer()
|
|
3750
3833
|
], VegaCalendar.prototype, "dayViewFullDayEventRenderer", void 0);
|