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