@syncfusion/ej2-angular-schedule 20.3.57-ngcc → 20.3.57

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