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

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