@syncfusion/ej2-angular-schedule 30.1.37-ngcc → 30.1.38-ngcc

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