@syncfusion/ej2-angular-schedule 31.2.15-ngcc → 31.2.15
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/CHANGELOG.md +2429 -0
- package/README.md +9 -2
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +12 -0
- package/esm2020/src/recurrence-editor/recurrenceeditor-all.module.mjs +23 -0
- package/esm2020/src/recurrence-editor/recurrenceeditor.component.mjs +59 -0
- package/esm2020/src/recurrence-editor/recurrenceeditor.module.mjs +25 -0
- package/esm2020/src/schedule/headerrows.directive.mjs +66 -0
- package/esm2020/src/schedule/resources.directive.mjs +58 -0
- package/esm2020/src/schedule/schedule-all.module.mjs +74 -0
- package/esm2020/src/schedule/schedule.component.mjs +306 -0
- package/esm2020/src/schedule/schedule.module.mjs +61 -0
- package/esm2020/src/schedule/toolbaritems.directive.mjs +67 -0
- package/esm2020/src/schedule/views.directive.mjs +132 -0
- package/esm2020/syncfusion-ej2-angular-schedule.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-schedule.mjs +829 -0
- package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-schedule.mjs +829 -0
- package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +1 -0
- package/package.json +20 -7
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +11 -11
- package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +11 -5
- package/src/recurrence-editor/recurrenceeditor.component.d.ts +33 -30
- package/src/recurrence-editor/recurrenceeditor.module.d.ts +11 -5
- package/src/schedule/headerrows.directive.d.ts +52 -47
- package/src/schedule/resources.directive.d.ts +115 -110
- package/src/schedule/schedule-all.module.d.ts +28 -22
- package/src/schedule/schedule.component.d.ts +224 -221
- package/src/schedule/schedule.module.d.ts +15 -5
- package/src/schedule/toolbaritems.directive.d.ts +177 -172
- package/src/schedule/views.directive.d.ts +324 -319
- package/syncfusion-ej2-angular-schedule.d.ts +5 -0
- package/@syncfusion/ej2-angular-schedule.es5.js +0 -955
- package/@syncfusion/ej2-angular-schedule.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-schedule.js +0 -894
- package/@syncfusion/ej2-angular-schedule.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-schedule.umd.js +0 -1114
- package/dist/ej2-angular-schedule.umd.js.map +0 -1
- package/dist/ej2-angular-schedule.umd.min.js +0 -11
- package/dist/ej2-angular-schedule.umd.min.js.map +0 -1
- package/ej2-angular-schedule.d.ts +0 -6
- package/ej2-angular-schedule.metadata.json +0 -1
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
+
import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
+
import { Schedule, Day, Week, WorkWeek, Month, Year, Agenda, MonthAgenda, TimelineViews, TimelineMonth, TimelineYear, Resize, DragAndDrop, ExcelExport, ICalendarExport, ICalendarImport, Print, RecurrenceEditor } from '@syncfusion/ej2-schedule';
|
|
6
|
+
export * from '@syncfusion/ej2-schedule';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
let input$3 = ['allowOverlap', 'allowVirtualScrolling', 'cellHeaderTemplate', 'cellTemplate', 'dateFormat', 'dateHeaderTemplate', 'dateRangeTemplate', 'dayHeaderTemplate', 'displayDate', 'displayName', 'enableLazyLoading', 'endHour', 'eventTemplate', 'firstDayOfWeek', 'firstMonthOfYear', 'group', 'headerIndentTemplate', 'headerRows', 'interval', 'isSelected', 'maxEventsPerRow', 'monthHeaderTemplate', 'monthsCount', 'numberOfWeeks', 'option', 'orientation', 'overscanCount', 'readonly', 'resourceHeaderTemplate', 'showWeekNumber', 'showWeekend', 'startHour', 'timeFormat', 'timeScale', 'workDays'];
|
|
10
|
+
let outputs$5 = [];
|
|
11
|
+
/**
|
|
12
|
+
* `e-views` directive represent a view of the Angular Schedule.
|
|
13
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
14
|
+
* ```html
|
|
15
|
+
* <ejs-schedule>
|
|
16
|
+
* <e-views>
|
|
17
|
+
* <e-view option='day' dateFormat='dd MMM'></e-view>
|
|
18
|
+
* <e-view option='week'></e-view>
|
|
19
|
+
* </e-views>
|
|
20
|
+
* </ejs-schedule>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
class ViewDirective extends ComplexBase {
|
|
24
|
+
constructor(viewContainerRef) {
|
|
25
|
+
super();
|
|
26
|
+
this.viewContainerRef = viewContainerRef;
|
|
27
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
28
|
+
this.registerEvents(outputs$5);
|
|
29
|
+
this.directivePropList = input$3;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
ViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ViewDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
ViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ViewDirective, selector: "e-views>e-view", inputs: { allowOverlap: "allowOverlap", allowVirtualScrolling: "allowVirtualScrolling", cellHeaderTemplate: "cellHeaderTemplate", cellTemplate: "cellTemplate", dateFormat: "dateFormat", dateHeaderTemplate: "dateHeaderTemplate", dateRangeTemplate: "dateRangeTemplate", dayHeaderTemplate: "dayHeaderTemplate", displayDate: "displayDate", displayName: "displayName", enableLazyLoading: "enableLazyLoading", endHour: "endHour", eventTemplate: "eventTemplate", firstDayOfWeek: "firstDayOfWeek", firstMonthOfYear: "firstMonthOfYear", group: "group", headerIndentTemplate: "headerIndentTemplate", headerRows: "headerRows", interval: "interval", isSelected: "isSelected", maxEventsPerRow: "maxEventsPerRow", monthHeaderTemplate: "monthHeaderTemplate", monthsCount: "monthsCount", numberOfWeeks: "numberOfWeeks", option: "option", orientation: "orientation", overscanCount: "overscanCount", readonly: "readonly", resourceHeaderTemplate: "resourceHeaderTemplate", showWeekNumber: "showWeekNumber", showWeekend: "showWeekend", startHour: "startHour", timeFormat: "timeFormat", timeScale: "timeScale", workDays: "workDays" }, queries: [{ propertyName: "dateHeaderTemplate", first: true, predicate: ["dateHeaderTemplate"], descendants: true }, { propertyName: "dateRangeTemplate", first: true, predicate: ["dateRangeTemplate"], descendants: true }, { propertyName: "dayHeaderTemplate", first: true, predicate: ["dayHeaderTemplate"], descendants: true }, { propertyName: "cellHeaderTemplate", first: true, predicate: ["cellHeaderTemplate"], descendants: true }, { propertyName: "cellTemplate", first: true, predicate: ["cellTemplate"], descendants: true }, { propertyName: "eventTemplate", first: true, predicate: ["eventTemplate"], descendants: true }, { propertyName: "monthHeaderTemplate", first: true, predicate: ["monthHeaderTemplate"], descendants: true }, { propertyName: "resourceHeaderTemplate", first: true, predicate: ["resourceHeaderTemplate"], descendants: true }, { propertyName: "headerIndentTemplate", first: true, predicate: ["headerIndentTemplate"], descendants: true }, { propertyName: "timeScale_minorSlotTemplate", first: true, predicate: ["timeScaleMinorSlotTemplate"], descendants: true }, { propertyName: "timeScale_majorSlotTemplate", first: true, predicate: ["timeScaleMajorSlotTemplate"], descendants: true }, { propertyName: "group_headerTooltipTemplate", first: true, predicate: ["groupHeaderTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
34
|
+
__decorate([
|
|
35
|
+
Template()
|
|
36
|
+
], ViewDirective.prototype, "dateHeaderTemplate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Template()
|
|
39
|
+
], ViewDirective.prototype, "dateRangeTemplate", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Template()
|
|
42
|
+
], ViewDirective.prototype, "dayHeaderTemplate", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Template()
|
|
45
|
+
], ViewDirective.prototype, "cellHeaderTemplate", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Template()
|
|
48
|
+
], ViewDirective.prototype, "cellTemplate", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Template()
|
|
51
|
+
], ViewDirective.prototype, "eventTemplate", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Template()
|
|
54
|
+
], ViewDirective.prototype, "monthHeaderTemplate", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Template()
|
|
57
|
+
], ViewDirective.prototype, "resourceHeaderTemplate", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Template()
|
|
60
|
+
], ViewDirective.prototype, "headerIndentTemplate", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Template()
|
|
63
|
+
], ViewDirective.prototype, "timeScale_minorSlotTemplate", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
Template()
|
|
66
|
+
], ViewDirective.prototype, "timeScale_majorSlotTemplate", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
Template()
|
|
69
|
+
], ViewDirective.prototype, "group_headerTooltipTemplate", void 0);
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ViewDirective, decorators: [{
|
|
71
|
+
type: Directive,
|
|
72
|
+
args: [{
|
|
73
|
+
selector: 'e-views>e-view',
|
|
74
|
+
inputs: input$3,
|
|
75
|
+
outputs: outputs$5,
|
|
76
|
+
queries: {}
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { dateHeaderTemplate: [{
|
|
79
|
+
type: ContentChild,
|
|
80
|
+
args: ['dateHeaderTemplate']
|
|
81
|
+
}], dateRangeTemplate: [{
|
|
82
|
+
type: ContentChild,
|
|
83
|
+
args: ['dateRangeTemplate']
|
|
84
|
+
}], dayHeaderTemplate: [{
|
|
85
|
+
type: ContentChild,
|
|
86
|
+
args: ['dayHeaderTemplate']
|
|
87
|
+
}], cellHeaderTemplate: [{
|
|
88
|
+
type: ContentChild,
|
|
89
|
+
args: ['cellHeaderTemplate']
|
|
90
|
+
}], cellTemplate: [{
|
|
91
|
+
type: ContentChild,
|
|
92
|
+
args: ['cellTemplate']
|
|
93
|
+
}], eventTemplate: [{
|
|
94
|
+
type: ContentChild,
|
|
95
|
+
args: ['eventTemplate']
|
|
96
|
+
}], monthHeaderTemplate: [{
|
|
97
|
+
type: ContentChild,
|
|
98
|
+
args: ['monthHeaderTemplate']
|
|
99
|
+
}], resourceHeaderTemplate: [{
|
|
100
|
+
type: ContentChild,
|
|
101
|
+
args: ['resourceHeaderTemplate']
|
|
102
|
+
}], headerIndentTemplate: [{
|
|
103
|
+
type: ContentChild,
|
|
104
|
+
args: ['headerIndentTemplate']
|
|
105
|
+
}], timeScale_minorSlotTemplate: [{
|
|
106
|
+
type: ContentChild,
|
|
107
|
+
args: ['timeScaleMinorSlotTemplate']
|
|
108
|
+
}], timeScale_majorSlotTemplate: [{
|
|
109
|
+
type: ContentChild,
|
|
110
|
+
args: ['timeScaleMajorSlotTemplate']
|
|
111
|
+
}], group_headerTooltipTemplate: [{
|
|
112
|
+
type: ContentChild,
|
|
113
|
+
args: ['groupHeaderTooltipTemplate']
|
|
114
|
+
}] } });
|
|
115
|
+
/**
|
|
116
|
+
* View Array Directive
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
class ViewsDirective extends ArrayBase {
|
|
120
|
+
constructor() {
|
|
121
|
+
super('views');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
ViewsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ViewsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
125
|
+
ViewsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ViewsDirective, selector: "ejs-schedule>e-views", queries: [{ propertyName: "children", predicate: ViewDirective }], usesInheritance: true, ngImport: i0 });
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ViewsDirective, decorators: [{
|
|
127
|
+
type: Directive,
|
|
128
|
+
args: [{
|
|
129
|
+
selector: 'ejs-schedule>e-views',
|
|
130
|
+
queries: {
|
|
131
|
+
children: new ContentChildren(ViewDirective)
|
|
132
|
+
},
|
|
133
|
+
}]
|
|
134
|
+
}], ctorParameters: function () { return []; } });
|
|
135
|
+
|
|
136
|
+
let input$2 = ['allowMultiple', 'colorField', 'cssClassField', 'dataSource', 'endHourField', 'expandedField', 'field', 'groupIDField', 'idField', 'name', 'query', 'startHourField', 'textField', 'title', 'workDaysField'];
|
|
137
|
+
let outputs$4 = [];
|
|
138
|
+
/**
|
|
139
|
+
* `e-resources` directive represent a resources of the Angular Schedule.
|
|
140
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
141
|
+
* ```html
|
|
142
|
+
* <ejs-schedule>
|
|
143
|
+
* <e-resources>
|
|
144
|
+
* <e-resource field='RoomId' name='Rooms'></e-resource>
|
|
145
|
+
* <e-resource field='OwnerId' name='Owners'></e-resource>
|
|
146
|
+
* </e-resources>
|
|
147
|
+
* </ejs-schedule>
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
class ResourceDirective extends ComplexBase {
|
|
151
|
+
constructor(viewContainerRef) {
|
|
152
|
+
super();
|
|
153
|
+
this.viewContainerRef = viewContainerRef;
|
|
154
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
155
|
+
this.registerEvents(outputs$4);
|
|
156
|
+
this.directivePropList = input$2;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
ResourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ResourceDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
160
|
+
ResourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ResourceDirective, selector: "e-resources>e-resource", inputs: { allowMultiple: "allowMultiple", colorField: "colorField", cssClassField: "cssClassField", dataSource: "dataSource", endHourField: "endHourField", expandedField: "expandedField", field: "field", groupIDField: "groupIDField", idField: "idField", name: "name", query: "query", startHourField: "startHourField", textField: "textField", title: "title", workDaysField: "workDaysField" }, usesInheritance: true, ngImport: i0 });
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ResourceDirective, decorators: [{
|
|
162
|
+
type: Directive,
|
|
163
|
+
args: [{
|
|
164
|
+
selector: 'e-resources>e-resource',
|
|
165
|
+
inputs: input$2,
|
|
166
|
+
outputs: outputs$4,
|
|
167
|
+
queries: {}
|
|
168
|
+
}]
|
|
169
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
170
|
+
/**
|
|
171
|
+
* Resource Array Directive
|
|
172
|
+
* @private
|
|
173
|
+
*/
|
|
174
|
+
class ResourcesDirective extends ArrayBase {
|
|
175
|
+
constructor() {
|
|
176
|
+
super('resources');
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
ResourcesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ResourcesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
180
|
+
ResourcesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ResourcesDirective, selector: "ejs-schedule>e-resources", queries: [{ propertyName: "children", predicate: ResourceDirective }], usesInheritance: true, ngImport: i0 });
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ResourcesDirective, decorators: [{
|
|
182
|
+
type: Directive,
|
|
183
|
+
args: [{
|
|
184
|
+
selector: 'ejs-schedule>e-resources',
|
|
185
|
+
queries: {
|
|
186
|
+
children: new ContentChildren(ResourceDirective)
|
|
187
|
+
},
|
|
188
|
+
}]
|
|
189
|
+
}], ctorParameters: function () { return []; } });
|
|
190
|
+
|
|
191
|
+
let input$1 = ['option', 'template'];
|
|
192
|
+
let outputs$3 = [];
|
|
193
|
+
/**
|
|
194
|
+
* `e-header-rows` directive represent a header rows of the Schedule.
|
|
195
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
196
|
+
* ```html
|
|
197
|
+
* <ejs-schedule>
|
|
198
|
+
* <e-header-rows>
|
|
199
|
+
* <e-header-row option='Week'></e-header-row>
|
|
200
|
+
* <e-header-row option='Date'></e-header-row>
|
|
201
|
+
* </e-header-rows>
|
|
202
|
+
* </ejs-schedule>
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
class HeaderRowDirective extends ComplexBase {
|
|
206
|
+
constructor(viewContainerRef) {
|
|
207
|
+
super();
|
|
208
|
+
this.viewContainerRef = viewContainerRef;
|
|
209
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
210
|
+
this.registerEvents(outputs$3);
|
|
211
|
+
this.directivePropList = input$1;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
HeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeaderRowDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
215
|
+
HeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: HeaderRowDirective, selector: "e-header-rows>e-header-row", inputs: { option: "option", template: "template" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
216
|
+
__decorate([
|
|
217
|
+
Template()
|
|
218
|
+
], HeaderRowDirective.prototype, "template", void 0);
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeaderRowDirective, decorators: [{
|
|
220
|
+
type: Directive,
|
|
221
|
+
args: [{
|
|
222
|
+
selector: 'e-header-rows>e-header-row',
|
|
223
|
+
inputs: input$1,
|
|
224
|
+
outputs: outputs$3,
|
|
225
|
+
queries: {}
|
|
226
|
+
}]
|
|
227
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
|
|
228
|
+
type: ContentChild,
|
|
229
|
+
args: ['template']
|
|
230
|
+
}] } });
|
|
231
|
+
/**
|
|
232
|
+
* HeaderRow Array Directive
|
|
233
|
+
* @private
|
|
234
|
+
*/
|
|
235
|
+
class HeaderRowsDirective extends ArrayBase {
|
|
236
|
+
constructor() {
|
|
237
|
+
super('headerrows');
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
HeaderRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeaderRowsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
241
|
+
HeaderRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: HeaderRowsDirective, selector: "ejs-schedule>e-header-rows", queries: [{ propertyName: "children", predicate: HeaderRowDirective }], usesInheritance: true, ngImport: i0 });
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeaderRowsDirective, decorators: [{
|
|
243
|
+
type: Directive,
|
|
244
|
+
args: [{
|
|
245
|
+
selector: 'ejs-schedule>e-header-rows',
|
|
246
|
+
queries: {
|
|
247
|
+
children: new ContentChildren(HeaderRowDirective)
|
|
248
|
+
},
|
|
249
|
+
}]
|
|
250
|
+
}], ctorParameters: function () { return []; } });
|
|
251
|
+
|
|
252
|
+
let input = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'name', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
|
|
253
|
+
let outputs$2 = ['click'];
|
|
254
|
+
/**
|
|
255
|
+
* `e-toolbaritems` directive represent a custom toolbar items of the Schedule.
|
|
256
|
+
* It must be contained in a Schedule component(`ejs-schedule`).
|
|
257
|
+
* ```html
|
|
258
|
+
* <ejs-schedule>
|
|
259
|
+
* <e-toolbaritems>
|
|
260
|
+
* <e-toolbaritem name='Today'></<e-toolbaritem>
|
|
261
|
+
* <e-toolbaritem name='DateRangeText'></e-toolbaritem>
|
|
262
|
+
* <e-toolbaritem prefixIcon='e-icons e-cut' text='Cut'></e-toolbaritem>
|
|
263
|
+
* <e-toolbaritems>
|
|
264
|
+
* </ejs-schedule>
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
267
|
+
class ToolbarItemDirective extends ComplexBase {
|
|
268
|
+
constructor(viewContainerRef) {
|
|
269
|
+
super();
|
|
270
|
+
this.viewContainerRef = viewContainerRef;
|
|
271
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
272
|
+
this.registerEvents(outputs$2);
|
|
273
|
+
this.directivePropList = input;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
ToolbarItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ToolbarItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
277
|
+
ToolbarItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ToolbarItemDirective, selector: "e-toolbaritems>e-toolbaritem", inputs: { align: "align", cssClass: "cssClass", disabled: "disabled", htmlAttributes: "htmlAttributes", id: "id", name: "name", overflow: "overflow", prefixIcon: "prefixIcon", showAlwaysInPopup: "showAlwaysInPopup", showTextOn: "showTextOn", suffixIcon: "suffixIcon", tabIndex: "tabIndex", template: "template", text: "text", tooltipText: "tooltipText", type: "type", visible: "visible", width: "width" }, outputs: { click: "click" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
278
|
+
__decorate([
|
|
279
|
+
Template()
|
|
280
|
+
], ToolbarItemDirective.prototype, "template", void 0);
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ToolbarItemDirective, decorators: [{
|
|
282
|
+
type: Directive,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: 'e-toolbaritems>e-toolbaritem',
|
|
285
|
+
inputs: input,
|
|
286
|
+
outputs: outputs$2,
|
|
287
|
+
queries: {}
|
|
288
|
+
}]
|
|
289
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
|
|
290
|
+
type: ContentChild,
|
|
291
|
+
args: ['template']
|
|
292
|
+
}] } });
|
|
293
|
+
/**
|
|
294
|
+
* ToolbarItem Array Directive
|
|
295
|
+
* @private
|
|
296
|
+
*/
|
|
297
|
+
class ToolbarItemsDirective extends ArrayBase {
|
|
298
|
+
constructor() {
|
|
299
|
+
super('toolbaritems');
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
ToolbarItemsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ToolbarItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
303
|
+
ToolbarItemsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ToolbarItemsDirective, selector: "ejs-schedule>e-toolbaritems", queries: [{ propertyName: "children", predicate: ToolbarItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ToolbarItemsDirective, decorators: [{
|
|
305
|
+
type: Directive,
|
|
306
|
+
args: [{
|
|
307
|
+
selector: 'ejs-schedule>e-toolbaritems',
|
|
308
|
+
queries: {
|
|
309
|
+
children: new ContentChildren(ToolbarItemDirective)
|
|
310
|
+
},
|
|
311
|
+
}]
|
|
312
|
+
}], ctorParameters: function () { return []; } });
|
|
313
|
+
|
|
314
|
+
const inputs$1 = ['agendaDaysCount', 'allowClipboard', 'allowDragAndDrop', 'allowInline', 'allowKeyboardInteraction', 'allowMultiCellSelection', 'allowMultiDrag', 'allowMultiRowSelection', 'allowOverlap', 'allowResizing', 'allowSwiping', 'calendarMode', 'cellHeaderTemplate', 'cellTemplate', 'cssClass', 'currentView', 'dateFormat', 'dateHeaderTemplate', 'dateRangeTemplate', 'dayHeaderTemplate', 'editorFooterTemplate', 'editorHeaderTemplate', 'editorTemplate', 'enableAdaptiveUI', 'enableAllDayScroll', 'enableHtmlSanitizer', 'enablePersistence', 'enableRecurrenceValidation', 'enableRtl', 'endHour', 'eventDragArea', 'eventSettings', 'firstDayOfWeek', 'firstMonthOfYear', 'group', 'headerIndentTemplate', 'headerRows', 'height', 'hideEmptyAgendaDays', 'locale', 'maxDate', 'minDate', 'monthHeaderTemplate', 'monthsCount', 'overscanCount', 'quickInfoOnSelectionEnd', 'quickInfoTemplates', 'readonly', 'resourceHeaderTemplate', 'resources', 'rowAutoHeight', 'selectedDate', 'showHeaderBar', 'showQuickInfo', 'showTimeIndicator', 'showWeekNumber', 'showWeekend', 'startHour', 'timeFormat', 'timeScale', 'timezone', 'timezoneDataSource', 'toolbarItems', 'views', 'weekRule', 'width', 'workDays', 'workHours'];
|
|
315
|
+
const outputs$1 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforePaste', 'beforePrint', 'cellClick', 'cellDoubleClick', 'created', 'dataBinding', 'dataBound', 'destroyed', 'drag', 'dragStart', 'dragStop', 'eventClick', 'eventDoubleClick', 'eventRendered', 'excelExport', 'hover', 'moreEventsClick', 'navigating', 'popupClose', 'popupOpen', 'renderCell', 'resizeStart', 'resizeStop', 'resizing', 'select', 'tooltipOpen', 'virtualScrollStart', 'virtualScrollStop', 'currentViewChange', 'selectedDateChange'];
|
|
316
|
+
const twoWays$1 = ['currentView', 'selectedDate'];
|
|
317
|
+
/**
|
|
318
|
+
* `ej-schedule` represents the Angular Schedule Component.
|
|
319
|
+
* ```html
|
|
320
|
+
* <ejs-schedule></ejs-schedule>
|
|
321
|
+
* ```
|
|
322
|
+
*/
|
|
323
|
+
let ScheduleComponent = class ScheduleComponent extends Schedule {
|
|
324
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
325
|
+
super();
|
|
326
|
+
this.ngEle = ngEle;
|
|
327
|
+
this.srenderer = srenderer;
|
|
328
|
+
this.viewContainerRef = viewContainerRef;
|
|
329
|
+
this.injector = injector;
|
|
330
|
+
this.tags = ['views', 'resources', 'headerRows', 'toolbarItems'];
|
|
331
|
+
this.element = this.ngEle.nativeElement;
|
|
332
|
+
this.injectedModules = this.injectedModules || [];
|
|
333
|
+
try {
|
|
334
|
+
let mod = this.injector.get('ScheduleDay');
|
|
335
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
336
|
+
this.injectedModules.push(mod);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
catch { }
|
|
340
|
+
try {
|
|
341
|
+
let mod = this.injector.get('ScheduleWeek');
|
|
342
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
343
|
+
this.injectedModules.push(mod);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
catch { }
|
|
347
|
+
try {
|
|
348
|
+
let mod = this.injector.get('ScheduleWorkWeek');
|
|
349
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
350
|
+
this.injectedModules.push(mod);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
catch { }
|
|
354
|
+
try {
|
|
355
|
+
let mod = this.injector.get('ScheduleMonth');
|
|
356
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
357
|
+
this.injectedModules.push(mod);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
catch { }
|
|
361
|
+
try {
|
|
362
|
+
let mod = this.injector.get('ScheduleYear');
|
|
363
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
364
|
+
this.injectedModules.push(mod);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
catch { }
|
|
368
|
+
try {
|
|
369
|
+
let mod = this.injector.get('ScheduleAgenda');
|
|
370
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
371
|
+
this.injectedModules.push(mod);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
catch { }
|
|
375
|
+
try {
|
|
376
|
+
let mod = this.injector.get('ScheduleMonthAgenda');
|
|
377
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
378
|
+
this.injectedModules.push(mod);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
catch { }
|
|
382
|
+
try {
|
|
383
|
+
let mod = this.injector.get('ScheduleTimelineViews');
|
|
384
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
385
|
+
this.injectedModules.push(mod);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
catch { }
|
|
389
|
+
try {
|
|
390
|
+
let mod = this.injector.get('ScheduleTimelineMonth');
|
|
391
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
392
|
+
this.injectedModules.push(mod);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
catch { }
|
|
396
|
+
try {
|
|
397
|
+
let mod = this.injector.get('ScheduleTimelineYear');
|
|
398
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
399
|
+
this.injectedModules.push(mod);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
catch { }
|
|
403
|
+
try {
|
|
404
|
+
let mod = this.injector.get('ScheduleResize');
|
|
405
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
406
|
+
this.injectedModules.push(mod);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
catch { }
|
|
410
|
+
try {
|
|
411
|
+
let mod = this.injector.get('ScheduleDragAndDrop');
|
|
412
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
413
|
+
this.injectedModules.push(mod);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
catch { }
|
|
417
|
+
try {
|
|
418
|
+
let mod = this.injector.get('ScheduleExcelExport');
|
|
419
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
420
|
+
this.injectedModules.push(mod);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
catch { }
|
|
424
|
+
try {
|
|
425
|
+
let mod = this.injector.get('ScheduleICalendarExport');
|
|
426
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
427
|
+
this.injectedModules.push(mod);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
catch { }
|
|
431
|
+
try {
|
|
432
|
+
let mod = this.injector.get('ScheduleICalendarImport');
|
|
433
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
434
|
+
this.injectedModules.push(mod);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
catch { }
|
|
438
|
+
try {
|
|
439
|
+
let mod = this.injector.get('SchedulePrint');
|
|
440
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
441
|
+
this.injectedModules.push(mod);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
catch { }
|
|
445
|
+
this.registerEvents(outputs$1);
|
|
446
|
+
this.addTwoWay.call(this, twoWays$1);
|
|
447
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
448
|
+
this.context = new ComponentBase();
|
|
449
|
+
}
|
|
450
|
+
ngOnInit() {
|
|
451
|
+
this.context.ngOnInit(this);
|
|
452
|
+
}
|
|
453
|
+
ngAfterViewInit() {
|
|
454
|
+
this.context.ngAfterViewInit(this);
|
|
455
|
+
}
|
|
456
|
+
ngOnDestroy() {
|
|
457
|
+
this.context.ngOnDestroy(this);
|
|
458
|
+
}
|
|
459
|
+
ngAfterContentChecked() {
|
|
460
|
+
this.tagObjects[0].instance = this.childViews;
|
|
461
|
+
if (this.childResources) {
|
|
462
|
+
this.tagObjects[1].instance = this.childResources;
|
|
463
|
+
}
|
|
464
|
+
if (this.childHeaderRows) {
|
|
465
|
+
this.tagObjects[2].instance = this.childHeaderRows;
|
|
466
|
+
}
|
|
467
|
+
if (this.childToolbarItems) {
|
|
468
|
+
this.tagObjects[3].instance = this.childToolbarItems;
|
|
469
|
+
}
|
|
470
|
+
this.context.ngAfterContentChecked(this);
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
ScheduleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
474
|
+
ScheduleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ScheduleComponent, selector: "ejs-schedule", inputs: { agendaDaysCount: "agendaDaysCount", allowClipboard: "allowClipboard", allowDragAndDrop: "allowDragAndDrop", allowInline: "allowInline", allowKeyboardInteraction: "allowKeyboardInteraction", allowMultiCellSelection: "allowMultiCellSelection", allowMultiDrag: "allowMultiDrag", allowMultiRowSelection: "allowMultiRowSelection", allowOverlap: "allowOverlap", allowResizing: "allowResizing", allowSwiping: "allowSwiping", calendarMode: "calendarMode", cellHeaderTemplate: "cellHeaderTemplate", cellTemplate: "cellTemplate", cssClass: "cssClass", currentView: "currentView", dateFormat: "dateFormat", dateHeaderTemplate: "dateHeaderTemplate", dateRangeTemplate: "dateRangeTemplate", dayHeaderTemplate: "dayHeaderTemplate", editorFooterTemplate: "editorFooterTemplate", editorHeaderTemplate: "editorHeaderTemplate", editorTemplate: "editorTemplate", enableAdaptiveUI: "enableAdaptiveUI", enableAllDayScroll: "enableAllDayScroll", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRecurrenceValidation: "enableRecurrenceValidation", enableRtl: "enableRtl", endHour: "endHour", eventDragArea: "eventDragArea", eventSettings: "eventSettings", firstDayOfWeek: "firstDayOfWeek", firstMonthOfYear: "firstMonthOfYear", group: "group", headerIndentTemplate: "headerIndentTemplate", headerRows: "headerRows", height: "height", hideEmptyAgendaDays: "hideEmptyAgendaDays", locale: "locale", maxDate: "maxDate", minDate: "minDate", monthHeaderTemplate: "monthHeaderTemplate", monthsCount: "monthsCount", overscanCount: "overscanCount", quickInfoOnSelectionEnd: "quickInfoOnSelectionEnd", quickInfoTemplates: "quickInfoTemplates", readonly: "readonly", resourceHeaderTemplate: "resourceHeaderTemplate", resources: "resources", rowAutoHeight: "rowAutoHeight", selectedDate: "selectedDate", showHeaderBar: "showHeaderBar", showQuickInfo: "showQuickInfo", showTimeIndicator: "showTimeIndicator", showWeekNumber: "showWeekNumber", showWeekend: "showWeekend", startHour: "startHour", timeFormat: "timeFormat", timeScale: "timeScale", timezone: "timezone", timezoneDataSource: "timezoneDataSource", toolbarItems: "toolbarItems", views: "views", weekRule: "weekRule", width: "width", workDays: "workDays", workHours: "workHours" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforePaste: "beforePaste", beforePrint: "beforePrint", cellClick: "cellClick", cellDoubleClick: "cellDoubleClick", created: "created", dataBinding: "dataBinding", dataBound: "dataBound", destroyed: "destroyed", drag: "drag", dragStart: "dragStart", dragStop: "dragStop", eventClick: "eventClick", eventDoubleClick: "eventDoubleClick", eventRendered: "eventRendered", excelExport: "excelExport", hover: "hover", moreEventsClick: "moreEventsClick", navigating: "navigating", popupClose: "popupClose", popupOpen: "popupOpen", renderCell: "renderCell", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", select: "select", tooltipOpen: "tooltipOpen", virtualScrollStart: "virtualScrollStart", virtualScrollStop: "virtualScrollStop", currentViewChange: "currentViewChange", selectedDateChange: "selectedDateChange" }, queries: [{ propertyName: "dateHeaderTemplate", first: true, predicate: ["dateHeaderTemplate"], descendants: true }, { propertyName: "dateRangeTemplate", first: true, predicate: ["dateRangeTemplate"], descendants: true }, { propertyName: "dayHeaderTemplate", first: true, predicate: ["dayHeaderTemplate"], descendants: true }, { propertyName: "cellTemplate", first: true, predicate: ["cellTemplate"], descendants: true }, { propertyName: "cellHeaderTemplate", first: true, predicate: ["cellHeaderTemplate"], descendants: true }, { propertyName: "eventSettings_tooltipTemplate", first: true, predicate: ["eventSettingsTooltipTemplate"], descendants: true }, { propertyName: "eventSettings_template", first: true, predicate: ["eventSettingsTemplate"], descendants: true }, { propertyName: "editorTemplate", first: true, predicate: ["editorTemplate"], descendants: true }, { propertyName: "editorHeaderTemplate", first: true, predicate: ["editorHeaderTemplate"], descendants: true }, { propertyName: "editorFooterTemplate", first: true, predicate: ["editorFooterTemplate"], descendants: true }, { propertyName: "monthHeaderTemplate", first: true, predicate: ["monthHeaderTemplate"], descendants: true }, { propertyName: "timeScale_minorSlotTemplate", first: true, predicate: ["timeScaleMinorSlotTemplate"], descendants: true }, { propertyName: "timeScale_majorSlotTemplate", first: true, predicate: ["timeScaleMajorSlotTemplate"], descendants: true }, { propertyName: "resourceHeaderTemplate", first: true, predicate: ["resourceHeaderTemplate"], descendants: true }, { propertyName: "headerIndentTemplate", first: true, predicate: ["headerIndentTemplate"], descendants: true }, { propertyName: "quickInfoTemplates_header", first: true, predicate: ["quickInfoTemplatesHeader"], descendants: true }, { propertyName: "quickInfoTemplates_content", first: true, predicate: ["quickInfoTemplatesContent"], descendants: true }, { propertyName: "quickInfoTemplates_footer", first: true, predicate: ["quickInfoTemplatesFooter"], descendants: true }, { propertyName: "group_headerTooltipTemplate", first: true, predicate: ["groupHeaderTooltipTemplate"], descendants: true }, { propertyName: "childViews", first: true, predicate: ViewsDirective, descendants: true }, { propertyName: "childResources", first: true, predicate: ResourcesDirective, descendants: true }, { propertyName: "childHeaderRows", first: true, predicate: HeaderRowsDirective, descendants: true }, { propertyName: "childToolbarItems", first: true, predicate: ToolbarItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
475
|
+
__decorate([
|
|
476
|
+
Template()
|
|
477
|
+
], ScheduleComponent.prototype, "dateHeaderTemplate", void 0);
|
|
478
|
+
__decorate([
|
|
479
|
+
Template()
|
|
480
|
+
], ScheduleComponent.prototype, "dateRangeTemplate", void 0);
|
|
481
|
+
__decorate([
|
|
482
|
+
Template()
|
|
483
|
+
], ScheduleComponent.prototype, "dayHeaderTemplate", void 0);
|
|
484
|
+
__decorate([
|
|
485
|
+
Template()
|
|
486
|
+
], ScheduleComponent.prototype, "cellTemplate", void 0);
|
|
487
|
+
__decorate([
|
|
488
|
+
Template()
|
|
489
|
+
], ScheduleComponent.prototype, "cellHeaderTemplate", void 0);
|
|
490
|
+
__decorate([
|
|
491
|
+
Template()
|
|
492
|
+
], ScheduleComponent.prototype, "eventSettings_tooltipTemplate", void 0);
|
|
493
|
+
__decorate([
|
|
494
|
+
Template()
|
|
495
|
+
], ScheduleComponent.prototype, "eventSettings_template", void 0);
|
|
496
|
+
__decorate([
|
|
497
|
+
Template()
|
|
498
|
+
], ScheduleComponent.prototype, "editorTemplate", void 0);
|
|
499
|
+
__decorate([
|
|
500
|
+
Template()
|
|
501
|
+
], ScheduleComponent.prototype, "editorHeaderTemplate", void 0);
|
|
502
|
+
__decorate([
|
|
503
|
+
Template()
|
|
504
|
+
], ScheduleComponent.prototype, "editorFooterTemplate", void 0);
|
|
505
|
+
__decorate([
|
|
506
|
+
Template()
|
|
507
|
+
], ScheduleComponent.prototype, "monthHeaderTemplate", void 0);
|
|
508
|
+
__decorate([
|
|
509
|
+
Template()
|
|
510
|
+
], ScheduleComponent.prototype, "timeScale_minorSlotTemplate", void 0);
|
|
511
|
+
__decorate([
|
|
512
|
+
Template()
|
|
513
|
+
], ScheduleComponent.prototype, "timeScale_majorSlotTemplate", void 0);
|
|
514
|
+
__decorate([
|
|
515
|
+
Template()
|
|
516
|
+
], ScheduleComponent.prototype, "resourceHeaderTemplate", void 0);
|
|
517
|
+
__decorate([
|
|
518
|
+
Template()
|
|
519
|
+
], ScheduleComponent.prototype, "headerIndentTemplate", void 0);
|
|
520
|
+
__decorate([
|
|
521
|
+
Template()
|
|
522
|
+
], ScheduleComponent.prototype, "quickInfoTemplates_header", void 0);
|
|
523
|
+
__decorate([
|
|
524
|
+
Template()
|
|
525
|
+
], ScheduleComponent.prototype, "quickInfoTemplates_content", void 0);
|
|
526
|
+
__decorate([
|
|
527
|
+
Template()
|
|
528
|
+
], ScheduleComponent.prototype, "quickInfoTemplates_footer", void 0);
|
|
529
|
+
__decorate([
|
|
530
|
+
Template()
|
|
531
|
+
], ScheduleComponent.prototype, "group_headerTooltipTemplate", void 0);
|
|
532
|
+
ScheduleComponent = __decorate([
|
|
533
|
+
ComponentMixins([ComponentBase])
|
|
534
|
+
], ScheduleComponent);
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleComponent, decorators: [{
|
|
536
|
+
type: Component,
|
|
537
|
+
args: [{
|
|
538
|
+
selector: 'ejs-schedule',
|
|
539
|
+
inputs: inputs$1,
|
|
540
|
+
outputs: outputs$1,
|
|
541
|
+
template: '',
|
|
542
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
543
|
+
queries: {
|
|
544
|
+
childViews: new ContentChild(ViewsDirective),
|
|
545
|
+
childResources: new ContentChild(ResourcesDirective),
|
|
546
|
+
childHeaderRows: new ContentChild(HeaderRowsDirective),
|
|
547
|
+
childToolbarItems: new ContentChild(ToolbarItemsDirective)
|
|
548
|
+
}
|
|
549
|
+
}]
|
|
550
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { dateHeaderTemplate: [{
|
|
551
|
+
type: ContentChild,
|
|
552
|
+
args: ['dateHeaderTemplate']
|
|
553
|
+
}], dateRangeTemplate: [{
|
|
554
|
+
type: ContentChild,
|
|
555
|
+
args: ['dateRangeTemplate']
|
|
556
|
+
}], dayHeaderTemplate: [{
|
|
557
|
+
type: ContentChild,
|
|
558
|
+
args: ['dayHeaderTemplate']
|
|
559
|
+
}], cellTemplate: [{
|
|
560
|
+
type: ContentChild,
|
|
561
|
+
args: ['cellTemplate']
|
|
562
|
+
}], cellHeaderTemplate: [{
|
|
563
|
+
type: ContentChild,
|
|
564
|
+
args: ['cellHeaderTemplate']
|
|
565
|
+
}], eventSettings_tooltipTemplate: [{
|
|
566
|
+
type: ContentChild,
|
|
567
|
+
args: ['eventSettingsTooltipTemplate']
|
|
568
|
+
}], eventSettings_template: [{
|
|
569
|
+
type: ContentChild,
|
|
570
|
+
args: ['eventSettingsTemplate']
|
|
571
|
+
}], editorTemplate: [{
|
|
572
|
+
type: ContentChild,
|
|
573
|
+
args: ['editorTemplate']
|
|
574
|
+
}], editorHeaderTemplate: [{
|
|
575
|
+
type: ContentChild,
|
|
576
|
+
args: ['editorHeaderTemplate']
|
|
577
|
+
}], editorFooterTemplate: [{
|
|
578
|
+
type: ContentChild,
|
|
579
|
+
args: ['editorFooterTemplate']
|
|
580
|
+
}], monthHeaderTemplate: [{
|
|
581
|
+
type: ContentChild,
|
|
582
|
+
args: ['monthHeaderTemplate']
|
|
583
|
+
}], timeScale_minorSlotTemplate: [{
|
|
584
|
+
type: ContentChild,
|
|
585
|
+
args: ['timeScaleMinorSlotTemplate']
|
|
586
|
+
}], timeScale_majorSlotTemplate: [{
|
|
587
|
+
type: ContentChild,
|
|
588
|
+
args: ['timeScaleMajorSlotTemplate']
|
|
589
|
+
}], resourceHeaderTemplate: [{
|
|
590
|
+
type: ContentChild,
|
|
591
|
+
args: ['resourceHeaderTemplate']
|
|
592
|
+
}], headerIndentTemplate: [{
|
|
593
|
+
type: ContentChild,
|
|
594
|
+
args: ['headerIndentTemplate']
|
|
595
|
+
}], quickInfoTemplates_header: [{
|
|
596
|
+
type: ContentChild,
|
|
597
|
+
args: ['quickInfoTemplatesHeader']
|
|
598
|
+
}], quickInfoTemplates_content: [{
|
|
599
|
+
type: ContentChild,
|
|
600
|
+
args: ['quickInfoTemplatesContent']
|
|
601
|
+
}], quickInfoTemplates_footer: [{
|
|
602
|
+
type: ContentChild,
|
|
603
|
+
args: ['quickInfoTemplatesFooter']
|
|
604
|
+
}], group_headerTooltipTemplate: [{
|
|
605
|
+
type: ContentChild,
|
|
606
|
+
args: ['groupHeaderTooltipTemplate']
|
|
607
|
+
}] } });
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* NgModule definition for the Schedule component.
|
|
611
|
+
*/
|
|
612
|
+
class ScheduleModule {
|
|
613
|
+
}
|
|
614
|
+
ScheduleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
615
|
+
ScheduleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleModule, declarations: [ScheduleComponent,
|
|
616
|
+
ViewDirective,
|
|
617
|
+
ViewsDirective,
|
|
618
|
+
ResourceDirective,
|
|
619
|
+
ResourcesDirective,
|
|
620
|
+
HeaderRowDirective,
|
|
621
|
+
HeaderRowsDirective,
|
|
622
|
+
ToolbarItemDirective,
|
|
623
|
+
ToolbarItemsDirective], imports: [CommonModule], exports: [ScheduleComponent,
|
|
624
|
+
ViewDirective,
|
|
625
|
+
ViewsDirective,
|
|
626
|
+
ResourceDirective,
|
|
627
|
+
ResourcesDirective,
|
|
628
|
+
HeaderRowDirective,
|
|
629
|
+
HeaderRowsDirective,
|
|
630
|
+
ToolbarItemDirective,
|
|
631
|
+
ToolbarItemsDirective] });
|
|
632
|
+
ScheduleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleModule, imports: [[CommonModule]] });
|
|
633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleModule, decorators: [{
|
|
634
|
+
type: NgModule,
|
|
635
|
+
args: [{
|
|
636
|
+
imports: [CommonModule],
|
|
637
|
+
declarations: [
|
|
638
|
+
ScheduleComponent,
|
|
639
|
+
ViewDirective,
|
|
640
|
+
ViewsDirective,
|
|
641
|
+
ResourceDirective,
|
|
642
|
+
ResourcesDirective,
|
|
643
|
+
HeaderRowDirective,
|
|
644
|
+
HeaderRowsDirective,
|
|
645
|
+
ToolbarItemDirective,
|
|
646
|
+
ToolbarItemsDirective
|
|
647
|
+
],
|
|
648
|
+
exports: [
|
|
649
|
+
ScheduleComponent,
|
|
650
|
+
ViewDirective,
|
|
651
|
+
ViewsDirective,
|
|
652
|
+
ResourceDirective,
|
|
653
|
+
ResourcesDirective,
|
|
654
|
+
HeaderRowDirective,
|
|
655
|
+
HeaderRowsDirective,
|
|
656
|
+
ToolbarItemDirective,
|
|
657
|
+
ToolbarItemsDirective
|
|
658
|
+
]
|
|
659
|
+
}]
|
|
660
|
+
}] });
|
|
661
|
+
|
|
662
|
+
const DayService = { provide: 'ScheduleDay', useValue: Day };
|
|
663
|
+
const WeekService = { provide: 'ScheduleWeek', useValue: Week };
|
|
664
|
+
const WorkWeekService = { provide: 'ScheduleWorkWeek', useValue: WorkWeek };
|
|
665
|
+
const MonthService = { provide: 'ScheduleMonth', useValue: Month };
|
|
666
|
+
const YearService = { provide: 'ScheduleYear', useValue: Year };
|
|
667
|
+
const AgendaService = { provide: 'ScheduleAgenda', useValue: Agenda };
|
|
668
|
+
const MonthAgendaService = { provide: 'ScheduleMonthAgenda', useValue: MonthAgenda };
|
|
669
|
+
const TimelineViewsService = { provide: 'ScheduleTimelineViews', useValue: TimelineViews };
|
|
670
|
+
const TimelineMonthService = { provide: 'ScheduleTimelineMonth', useValue: TimelineMonth };
|
|
671
|
+
const TimelineYearService = { provide: 'ScheduleTimelineYear', useValue: TimelineYear };
|
|
672
|
+
const ResizeService = { provide: 'ScheduleResize', useValue: Resize };
|
|
673
|
+
const DragAndDropService = { provide: 'ScheduleDragAndDrop', useValue: DragAndDrop };
|
|
674
|
+
const ExcelExportService = { provide: 'ScheduleExcelExport', useValue: ExcelExport };
|
|
675
|
+
const ICalendarExportService = { provide: 'ScheduleICalendarExport', useValue: ICalendarExport };
|
|
676
|
+
const ICalendarImportService = { provide: 'ScheduleICalendarImport', useValue: ICalendarImport };
|
|
677
|
+
const PrintService = { provide: 'SchedulePrint', useValue: Print };
|
|
678
|
+
/**
|
|
679
|
+
* NgModule definition for the Schedule component with providers.
|
|
680
|
+
*/
|
|
681
|
+
class ScheduleAllModule {
|
|
682
|
+
}
|
|
683
|
+
ScheduleAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
684
|
+
ScheduleAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleAllModule, imports: [CommonModule, ScheduleModule], exports: [ScheduleModule] });
|
|
685
|
+
ScheduleAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleAllModule, providers: [
|
|
686
|
+
DayService,
|
|
687
|
+
WeekService,
|
|
688
|
+
WorkWeekService,
|
|
689
|
+
MonthService,
|
|
690
|
+
YearService,
|
|
691
|
+
AgendaService,
|
|
692
|
+
MonthAgendaService,
|
|
693
|
+
TimelineViewsService,
|
|
694
|
+
TimelineMonthService,
|
|
695
|
+
TimelineYearService,
|
|
696
|
+
ResizeService,
|
|
697
|
+
DragAndDropService,
|
|
698
|
+
ExcelExportService,
|
|
699
|
+
ICalendarExportService,
|
|
700
|
+
ICalendarImportService,
|
|
701
|
+
PrintService
|
|
702
|
+
], imports: [[CommonModule, ScheduleModule], ScheduleModule] });
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ScheduleAllModule, decorators: [{
|
|
704
|
+
type: NgModule,
|
|
705
|
+
args: [{
|
|
706
|
+
imports: [CommonModule, ScheduleModule],
|
|
707
|
+
exports: [
|
|
708
|
+
ScheduleModule
|
|
709
|
+
],
|
|
710
|
+
providers: [
|
|
711
|
+
DayService,
|
|
712
|
+
WeekService,
|
|
713
|
+
WorkWeekService,
|
|
714
|
+
MonthService,
|
|
715
|
+
YearService,
|
|
716
|
+
AgendaService,
|
|
717
|
+
MonthAgendaService,
|
|
718
|
+
TimelineViewsService,
|
|
719
|
+
TimelineMonthService,
|
|
720
|
+
TimelineYearService,
|
|
721
|
+
ResizeService,
|
|
722
|
+
DragAndDropService,
|
|
723
|
+
ExcelExportService,
|
|
724
|
+
ICalendarExportService,
|
|
725
|
+
ICalendarImportService,
|
|
726
|
+
PrintService
|
|
727
|
+
]
|
|
728
|
+
}]
|
|
729
|
+
}] });
|
|
730
|
+
|
|
731
|
+
const inputs = ['calendarMode', 'cssClass', 'dateFormat', 'enablePersistence', 'enableRtl', 'endTypes', 'firstDayOfWeek', 'frequencies', 'locale', 'maxDate', 'minDate', 'selectedType', 'startDate', 'value'];
|
|
732
|
+
const outputs = ['change', 'created', 'destroyed'];
|
|
733
|
+
const twoWays = [];
|
|
734
|
+
/**
|
|
735
|
+
* `ejs-recurrenceeditor` represents the Angular RecurrenceEditor Component.
|
|
736
|
+
* ```html
|
|
737
|
+
* <ejs-recurrenceeditor></ejs-recurrenceeditor>
|
|
738
|
+
* ```
|
|
739
|
+
*/
|
|
740
|
+
let RecurrenceEditorComponent = class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
741
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
742
|
+
super();
|
|
743
|
+
this.ngEle = ngEle;
|
|
744
|
+
this.srenderer = srenderer;
|
|
745
|
+
this.viewContainerRef = viewContainerRef;
|
|
746
|
+
this.injector = injector;
|
|
747
|
+
this.element = this.ngEle.nativeElement;
|
|
748
|
+
this.injectedModules = this.injectedModules || [];
|
|
749
|
+
this.registerEvents(outputs);
|
|
750
|
+
this.addTwoWay.call(this, twoWays);
|
|
751
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
752
|
+
this.context = new ComponentBase();
|
|
753
|
+
}
|
|
754
|
+
ngOnInit() {
|
|
755
|
+
this.context.ngOnInit(this);
|
|
756
|
+
}
|
|
757
|
+
ngAfterViewInit() {
|
|
758
|
+
this.context.ngAfterViewInit(this);
|
|
759
|
+
}
|
|
760
|
+
ngOnDestroy() {
|
|
761
|
+
this.context.ngOnDestroy(this);
|
|
762
|
+
}
|
|
763
|
+
ngAfterContentChecked() {
|
|
764
|
+
this.context.ngAfterContentChecked(this);
|
|
765
|
+
}
|
|
766
|
+
};
|
|
767
|
+
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
768
|
+
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: RecurrenceEditorComponent, selector: "ejs-recurrenceeditor", inputs: { calendarMode: "calendarMode", cssClass: "cssClass", dateFormat: "dateFormat", enablePersistence: "enablePersistence", enableRtl: "enableRtl", endTypes: "endTypes", firstDayOfWeek: "firstDayOfWeek", frequencies: "frequencies", locale: "locale", maxDate: "maxDate", minDate: "minDate", selectedType: "selectedType", startDate: "startDate", value: "value" }, outputs: { change: "change", created: "created", destroyed: "destroyed" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
769
|
+
RecurrenceEditorComponent = __decorate([
|
|
770
|
+
ComponentMixins([ComponentBase])
|
|
771
|
+
], RecurrenceEditorComponent);
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
|
|
773
|
+
type: Component,
|
|
774
|
+
args: [{
|
|
775
|
+
selector: 'ejs-recurrenceeditor',
|
|
776
|
+
inputs: inputs,
|
|
777
|
+
outputs: outputs,
|
|
778
|
+
template: '',
|
|
779
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
780
|
+
queries: {}
|
|
781
|
+
}]
|
|
782
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* NgModule definition for the RecurrenceEditor component.
|
|
786
|
+
*/
|
|
787
|
+
class RecurrenceEditorModule {
|
|
788
|
+
}
|
|
789
|
+
RecurrenceEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
790
|
+
RecurrenceEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorModule, declarations: [RecurrenceEditorComponent], imports: [CommonModule], exports: [RecurrenceEditorComponent] });
|
|
791
|
+
RecurrenceEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorModule, imports: [[CommonModule]] });
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorModule, decorators: [{
|
|
793
|
+
type: NgModule,
|
|
794
|
+
args: [{
|
|
795
|
+
imports: [CommonModule],
|
|
796
|
+
declarations: [
|
|
797
|
+
RecurrenceEditorComponent
|
|
798
|
+
],
|
|
799
|
+
exports: [
|
|
800
|
+
RecurrenceEditorComponent
|
|
801
|
+
]
|
|
802
|
+
}]
|
|
803
|
+
}] });
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* NgModule definition for the RecurrenceEditor component with providers.
|
|
807
|
+
*/
|
|
808
|
+
class RecurrenceEditorAllModule {
|
|
809
|
+
}
|
|
810
|
+
RecurrenceEditorAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
811
|
+
RecurrenceEditorAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorAllModule, imports: [CommonModule, RecurrenceEditorModule], exports: [RecurrenceEditorModule] });
|
|
812
|
+
RecurrenceEditorAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorAllModule, providers: [], imports: [[CommonModule, RecurrenceEditorModule], RecurrenceEditorModule] });
|
|
813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RecurrenceEditorAllModule, decorators: [{
|
|
814
|
+
type: NgModule,
|
|
815
|
+
args: [{
|
|
816
|
+
imports: [CommonModule, RecurrenceEditorModule],
|
|
817
|
+
exports: [
|
|
818
|
+
RecurrenceEditorModule
|
|
819
|
+
],
|
|
820
|
+
providers: []
|
|
821
|
+
}]
|
|
822
|
+
}] });
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Generated bundle index. Do not edit.
|
|
826
|
+
*/
|
|
827
|
+
|
|
828
|
+
export { AgendaService, DayService, DragAndDropService, ExcelExportService, HeaderRowDirective, HeaderRowsDirective, ICalendarExportService, ICalendarImportService, MonthAgendaService, MonthService, PrintService, RecurrenceEditorAllModule, RecurrenceEditorComponent, RecurrenceEditorModule, ResizeService, ResourceDirective, ResourcesDirective, ScheduleAllModule, ScheduleComponent, ScheduleModule, TimelineMonthService, TimelineViewsService, TimelineYearService, ToolbarItemDirective, ToolbarItemsDirective, ViewDirective, ViewsDirective, WeekService, WorkWeekService, YearService };
|
|
829
|
+
//# sourceMappingURL=syncfusion-ej2-angular-schedule.mjs.map
|