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