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

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 (138) 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 +301 -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 +757 -0
  14. package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +1 -0
  15. package/fesm2020/syncfusion-ej2-angular-schedule.mjs +757 -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 -1
  26. package/src/schedule/schedule.module.d.ts +9 -0
  27. package/src/schedule/views.directive.d.ts +5 -0
  28. package/styles/material3-dark.css +0 -55
  29. package/styles/material3-dark.scss +1 -0
  30. package/styles/material3.css +0 -111
  31. package/styles/material3.scss +1 -0
  32. package/styles/recurrence-editor/_all.scss +2 -0
  33. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +13 -0
  34. package/styles/recurrence-editor/_bootstrap-definition.scss +13 -0
  35. package/styles/recurrence-editor/_bootstrap4-definition.scss +13 -0
  36. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +1 -0
  37. package/styles/recurrence-editor/_bootstrap5-definition.scss +13 -0
  38. package/styles/recurrence-editor/_fabric-dark-definition.scss +13 -0
  39. package/styles/recurrence-editor/_fabric-definition.scss +13 -0
  40. package/styles/recurrence-editor/_fluent-dark-definition.scss +1 -0
  41. package/styles/recurrence-editor/_fluent-definition.scss +13 -0
  42. package/styles/recurrence-editor/_fusionnew-definition.scss +13 -0
  43. package/styles/recurrence-editor/_highcontrast-definition.scss +13 -0
  44. package/styles/recurrence-editor/_highcontrast-light-definition.scss +13 -0
  45. package/styles/recurrence-editor/_layout.scss +548 -0
  46. package/styles/recurrence-editor/_material-dark-definition.scss +13 -0
  47. package/styles/recurrence-editor/_material-definition.scss +13 -0
  48. package/styles/recurrence-editor/_material3-dark-definition.scss +1 -0
  49. package/styles/recurrence-editor/_material3-definition.scss +13 -0
  50. package/styles/recurrence-editor/_tailwind-dark-definition.scss +1 -0
  51. package/styles/recurrence-editor/_tailwind-definition.scss +13 -0
  52. package/styles/recurrence-editor/_theme.scss +1 -0
  53. package/styles/recurrence-editor/bootstrap-dark.scss +8 -1
  54. package/styles/recurrence-editor/bootstrap.scss +8 -1
  55. package/styles/recurrence-editor/bootstrap4.scss +8 -1
  56. package/styles/recurrence-editor/bootstrap5-dark.scss +8 -1
  57. package/styles/recurrence-editor/bootstrap5.scss +8 -1
  58. package/styles/recurrence-editor/fabric-dark.scss +8 -1
  59. package/styles/recurrence-editor/fabric.scss +8 -1
  60. package/styles/recurrence-editor/fluent-dark.scss +8 -1
  61. package/styles/recurrence-editor/fluent.scss +8 -1
  62. package/styles/recurrence-editor/highcontrast-light.scss +8 -1
  63. package/styles/recurrence-editor/highcontrast.scss +8 -1
  64. package/styles/recurrence-editor/material-dark.scss +8 -1
  65. package/styles/recurrence-editor/material.scss +8 -1
  66. package/styles/recurrence-editor/material3-dark.scss +8 -1
  67. package/styles/recurrence-editor/material3.scss +8 -1
  68. package/styles/recurrence-editor/tailwind-dark.scss +8 -1
  69. package/styles/recurrence-editor/tailwind.scss +8 -1
  70. package/styles/schedule/_all.scss +2 -0
  71. package/styles/schedule/_bootstrap-dark-definition.scss +280 -0
  72. package/styles/schedule/_bootstrap-definition.scss +280 -0
  73. package/styles/schedule/_bootstrap4-definition.scss +283 -0
  74. package/styles/schedule/_bootstrap5-dark-definition.scss +1 -0
  75. package/styles/schedule/_bootstrap5-definition.scss +290 -0
  76. package/styles/schedule/_fabric-dark-definition.scss +279 -0
  77. package/styles/schedule/_fabric-definition.scss +280 -0
  78. package/styles/schedule/_fluent-dark-definition.scss +1 -0
  79. package/styles/schedule/_fluent-definition.scss +285 -0
  80. package/styles/schedule/_fusionnew-definition.scss +289 -0
  81. package/styles/schedule/_highcontrast-definition.scss +281 -0
  82. package/styles/schedule/_highcontrast-light-definition.scss +281 -0
  83. package/styles/schedule/_layout.scss +4149 -0
  84. package/styles/schedule/_material-dark-definition.scss +280 -0
  85. package/styles/schedule/_material-definition.scss +280 -0
  86. package/styles/schedule/_material3-dark-definition.scss +1 -0
  87. package/styles/schedule/_material3-definition.scss +292 -0
  88. package/styles/schedule/_tailwind-dark-definition.scss +1 -0
  89. package/styles/schedule/_tailwind-definition.scss +282 -0
  90. package/styles/schedule/_theme.scss +551 -0
  91. package/styles/schedule/bootstrap-dark.scss +16 -1
  92. package/styles/schedule/bootstrap.scss +16 -1
  93. package/styles/schedule/bootstrap4.scss +16 -1
  94. package/styles/schedule/bootstrap5-dark.scss +15 -1
  95. package/styles/schedule/bootstrap5.scss +16 -1
  96. package/styles/schedule/fabric-dark.scss +16 -1
  97. package/styles/schedule/fabric.scss +16 -1
  98. package/styles/schedule/fluent-dark.scss +15 -1
  99. package/styles/schedule/fluent.scss +16 -1
  100. package/styles/schedule/highcontrast-light.scss +16 -1
  101. package/styles/schedule/highcontrast.scss +16 -1
  102. package/styles/schedule/icons/_bootstrap-dark.scss +231 -0
  103. package/styles/schedule/icons/_bootstrap.scss +231 -0
  104. package/styles/schedule/icons/_bootstrap4.scss +231 -0
  105. package/styles/schedule/icons/_bootstrap5-dark.scss +1 -0
  106. package/styles/schedule/icons/_bootstrap5.scss +231 -0
  107. package/styles/schedule/icons/_fabric-dark.scss +231 -0
  108. package/styles/schedule/icons/_fabric.scss +231 -0
  109. package/styles/schedule/icons/_fluent-dark.scss +1 -0
  110. package/styles/schedule/icons/_fluent.scss +231 -0
  111. package/styles/schedule/icons/_fusionnew.scss +231 -0
  112. package/styles/schedule/icons/_highcontrast-light.scss +231 -0
  113. package/styles/schedule/icons/_highcontrast.scss +231 -0
  114. package/styles/schedule/icons/_material-dark.scss +231 -0
  115. package/styles/schedule/icons/_material.scss +231 -0
  116. package/styles/schedule/icons/_material3-dark.scss +1 -0
  117. package/styles/schedule/icons/_material3.scss +231 -0
  118. package/styles/schedule/icons/_tailwind-dark.scss +1 -0
  119. package/styles/schedule/icons/_tailwind.scss +231 -0
  120. package/styles/schedule/material-dark.scss +16 -1
  121. package/styles/schedule/material.scss +16 -1
  122. package/styles/schedule/material3-dark.scss +15 -1
  123. package/styles/schedule/material3.scss +16 -1
  124. package/styles/schedule/tailwind-dark.scss +15 -1
  125. package/styles/schedule/tailwind.scss +16 -1
  126. package/syncfusion-ej2-angular-schedule.d.ts +5 -0
  127. package/@syncfusion/ej2-angular-schedule.es5.js +0 -860
  128. package/@syncfusion/ej2-angular-schedule.es5.js.map +0 -1
  129. package/@syncfusion/ej2-angular-schedule.js +0 -808
  130. package/@syncfusion/ej2-angular-schedule.js.map +0 -1
  131. package/CHANGELOG.md +0 -1837
  132. package/dist/ej2-angular-schedule.umd.js +0 -1005
  133. package/dist/ej2-angular-schedule.umd.js.map +0 -1
  134. package/dist/ej2-angular-schedule.umd.min.js +0 -11
  135. package/dist/ej2-angular-schedule.umd.min.js.map +0 -1
  136. package/ej2-angular-schedule.d.ts +0 -6
  137. package/ej2-angular-schedule.metadata.json +0 -1
  138. package/postinstall/tagchange.js +0 -18
@@ -1,808 +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', 'enableLazyLoading', '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', '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', 'views', 'weekRule', 'width', 'workDays', 'workHours'];
286
- const outputs$3 = ['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'];
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
- 'editorHeaderTemplate': [{ type: ContentChild, args: ['editorHeaderTemplate',] },],
492
- 'editorFooterTemplate': [{ type: ContentChild, args: ['editorFooterTemplate',] },],
493
- 'monthHeaderTemplate': [{ type: ContentChild, args: ['monthHeaderTemplate',] },],
494
- 'timeScale_minorSlotTemplate': [{ type: ContentChild, args: ['timeScaleMinorSlotTemplate',] },],
495
- 'timeScale_majorSlotTemplate': [{ type: ContentChild, args: ['timeScaleMajorSlotTemplate',] },],
496
- 'resourceHeaderTemplate': [{ type: ContentChild, args: ['resourceHeaderTemplate',] },],
497
- 'headerIndentTemplate': [{ type: ContentChild, args: ['headerIndentTemplate',] },],
498
- 'quickInfoTemplates_header': [{ type: ContentChild, args: ['quickInfoTemplatesHeader',] },],
499
- 'quickInfoTemplates_content': [{ type: ContentChild, args: ['quickInfoTemplatesContent',] },],
500
- 'quickInfoTemplates_footer': [{ type: ContentChild, args: ['quickInfoTemplatesFooter',] },],
501
- 'group_headerTooltipTemplate': [{ type: ContentChild, args: ['groupHeaderTooltipTemplate',] },],
502
- };
503
- __decorate$2([
504
- Template(),
505
- __metadata$2("design:type", Object)
506
- ], ScheduleComponent.prototype, "dateHeaderTemplate", void 0);
507
- __decorate$2([
508
- Template(),
509
- __metadata$2("design:type", Object)
510
- ], ScheduleComponent.prototype, "dateRangeTemplate", void 0);
511
- __decorate$2([
512
- Template(),
513
- __metadata$2("design:type", Object)
514
- ], ScheduleComponent.prototype, "dayHeaderTemplate", void 0);
515
- __decorate$2([
516
- Template(),
517
- __metadata$2("design:type", Object)
518
- ], ScheduleComponent.prototype, "cellTemplate", void 0);
519
- __decorate$2([
520
- Template(),
521
- __metadata$2("design:type", Object)
522
- ], ScheduleComponent.prototype, "cellHeaderTemplate", void 0);
523
- __decorate$2([
524
- Template(),
525
- __metadata$2("design:type", Object)
526
- ], ScheduleComponent.prototype, "eventSettings_tooltipTemplate", void 0);
527
- __decorate$2([
528
- Template(),
529
- __metadata$2("design:type", Object)
530
- ], ScheduleComponent.prototype, "eventSettings_template", void 0);
531
- __decorate$2([
532
- Template(),
533
- __metadata$2("design:type", Object)
534
- ], ScheduleComponent.prototype, "editorTemplate", void 0);
535
- __decorate$2([
536
- Template(),
537
- __metadata$2("design:type", Object)
538
- ], ScheduleComponent.prototype, "editorHeaderTemplate", void 0);
539
- __decorate$2([
540
- Template(),
541
- __metadata$2("design:type", Object)
542
- ], ScheduleComponent.prototype, "editorFooterTemplate", void 0);
543
- __decorate$2([
544
- Template(),
545
- __metadata$2("design:type", Object)
546
- ], ScheduleComponent.prototype, "monthHeaderTemplate", void 0);
547
- __decorate$2([
548
- Template(),
549
- __metadata$2("design:type", Object)
550
- ], ScheduleComponent.prototype, "timeScale_minorSlotTemplate", void 0);
551
- __decorate$2([
552
- Template(),
553
- __metadata$2("design:type", Object)
554
- ], ScheduleComponent.prototype, "timeScale_majorSlotTemplate", void 0);
555
- __decorate$2([
556
- Template(),
557
- __metadata$2("design:type", Object)
558
- ], ScheduleComponent.prototype, "resourceHeaderTemplate", void 0);
559
- __decorate$2([
560
- Template(),
561
- __metadata$2("design:type", Object)
562
- ], ScheduleComponent.prototype, "headerIndentTemplate", void 0);
563
- __decorate$2([
564
- Template(),
565
- __metadata$2("design:type", Object)
566
- ], ScheduleComponent.prototype, "quickInfoTemplates_header", void 0);
567
- __decorate$2([
568
- Template(),
569
- __metadata$2("design:type", Object)
570
- ], ScheduleComponent.prototype, "quickInfoTemplates_content", void 0);
571
- __decorate$2([
572
- Template(),
573
- __metadata$2("design:type", Object)
574
- ], ScheduleComponent.prototype, "quickInfoTemplates_footer", void 0);
575
- __decorate$2([
576
- Template(),
577
- __metadata$2("design:type", Object)
578
- ], ScheduleComponent.prototype, "group_headerTooltipTemplate", void 0);
579
- ScheduleComponent = __decorate$2([
580
- ComponentMixins([ComponentBase]),
581
- __metadata$2("design:paramtypes", [ElementRef,
582
- Renderer2,
583
- ViewContainerRef,
584
- Injector])
585
- ], ScheduleComponent);
586
-
587
- /**
588
- * NgModule definition for the Schedule component.
589
- */
590
- class ScheduleModule {
591
- }
592
- ScheduleModule.decorators = [
593
- { type: NgModule, args: [{
594
- imports: [CommonModule],
595
- declarations: [
596
- ScheduleComponent,
597
- ViewDirective,
598
- ViewsDirective,
599
- ResourceDirective,
600
- ResourcesDirective,
601
- HeaderRowDirective,
602
- HeaderRowsDirective
603
- ],
604
- exports: [
605
- ScheduleComponent,
606
- ViewDirective,
607
- ViewsDirective,
608
- ResourceDirective,
609
- ResourcesDirective,
610
- HeaderRowDirective,
611
- HeaderRowsDirective
612
- ]
613
- },] },
614
- ];
615
- /**
616
- * @nocollapse
617
- */
618
- ScheduleModule.ctorParameters = () => [];
619
-
620
- const DayService = { provide: 'ScheduleDay', useValue: Day };
621
- const WeekService = { provide: 'ScheduleWeek', useValue: Week };
622
- const WorkWeekService = { provide: 'ScheduleWorkWeek', useValue: WorkWeek };
623
- const MonthService = { provide: 'ScheduleMonth', useValue: Month };
624
- const YearService = { provide: 'ScheduleYear', useValue: Year };
625
- const AgendaService = { provide: 'ScheduleAgenda', useValue: Agenda };
626
- const MonthAgendaService = { provide: 'ScheduleMonthAgenda', useValue: MonthAgenda };
627
- const TimelineViewsService = { provide: 'ScheduleTimelineViews', useValue: TimelineViews };
628
- const TimelineMonthService = { provide: 'ScheduleTimelineMonth', useValue: TimelineMonth };
629
- const TimelineYearService = { provide: 'ScheduleTimelineYear', useValue: TimelineYear };
630
- const ResizeService = { provide: 'ScheduleResize', useValue: Resize };
631
- const DragAndDropService = { provide: 'ScheduleDragAndDrop', useValue: DragAndDrop };
632
- const ExcelExportService = { provide: 'ScheduleExcelExport', useValue: ExcelExport };
633
- const ICalendarExportService = { provide: 'ScheduleICalendarExport', useValue: ICalendarExport };
634
- const ICalendarImportService = { provide: 'ScheduleICalendarImport', useValue: ICalendarImport };
635
- const PrintService = { provide: 'SchedulePrint', useValue: Print };
636
- /**
637
- * NgModule definition for the Schedule component with providers.
638
- */
639
- class ScheduleAllModule {
640
- }
641
- ScheduleAllModule.decorators = [
642
- { type: NgModule, args: [{
643
- imports: [CommonModule, ScheduleModule],
644
- exports: [
645
- ScheduleModule
646
- ],
647
- providers: [
648
- DayService,
649
- WeekService,
650
- WorkWeekService,
651
- MonthService,
652
- YearService,
653
- AgendaService,
654
- MonthAgendaService,
655
- TimelineViewsService,
656
- TimelineMonthService,
657
- TimelineYearService,
658
- ResizeService,
659
- DragAndDropService,
660
- ExcelExportService,
661
- ICalendarExportService,
662
- ICalendarImportService,
663
- PrintService
664
- ]
665
- },] },
666
- ];
667
- /**
668
- * @nocollapse
669
- */
670
- ScheduleAllModule.ctorParameters = () => [];
671
-
672
- var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
673
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
674
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
675
- 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;
676
- return c > 3 && r && Object.defineProperty(target, key, r), r;
677
- };
678
- var __metadata$3 = (this && this.__metadata) || function (k, v) {
679
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
680
- };
681
- const inputs$1 = ['calendarMode', 'cssClass', 'dateFormat', 'enablePersistence', 'enableRtl', 'endTypes', 'firstDayOfWeek', 'frequencies', 'locale', 'maxDate', 'minDate', 'selectedType', 'startDate', 'value'];
682
- const outputs$4 = ['change'];
683
- const twoWays$1 = [];
684
- /**
685
- * `ejs-recurrenceeditor` represents the Angular RecurrenceEditor Component.
686
- * ```html
687
- * <ejs-recurrenceeditor></ejs-recurrenceeditor>
688
- * ```
689
- */
690
- let RecurrenceEditorComponent = class RecurrenceEditorComponent extends RecurrenceEditor {
691
- /**
692
- * @param {?} ngEle
693
- * @param {?} srenderer
694
- * @param {?} viewContainerRef
695
- * @param {?} injector
696
- */
697
- constructor(ngEle, srenderer, viewContainerRef, injector) {
698
- super();
699
- this.ngEle = ngEle;
700
- this.srenderer = srenderer;
701
- this.viewContainerRef = viewContainerRef;
702
- this.injector = injector;
703
- this.element = this.ngEle.nativeElement;
704
- this.injectedModules = this.injectedModules || [];
705
- this.registerEvents(outputs$4);
706
- this.addTwoWay.call(this, twoWays$1);
707
- setValue('currentInstance', this, this.viewContainerRef);
708
- this.context = new ComponentBase();
709
- }
710
- /**
711
- * @return {?}
712
- */
713
- ngOnInit() {
714
- this.context.ngOnInit(this);
715
- }
716
- /**
717
- * @return {?}
718
- */
719
- ngAfterViewInit() {
720
- this.context.ngAfterViewInit(this);
721
- }
722
- /**
723
- * @return {?}
724
- */
725
- ngOnDestroy() {
726
- this.context.ngOnDestroy(this);
727
- }
728
- /**
729
- * @return {?}
730
- */
731
- ngAfterContentChecked() {
732
- this.context.ngAfterContentChecked(this);
733
- }
734
- };
735
- RecurrenceEditorComponent.decorators = [
736
- { type: Component, args: [{
737
- selector: 'ejs-recurrenceeditor',
738
- inputs: inputs$1,
739
- outputs: outputs$4,
740
- template: '',
741
- changeDetection: ChangeDetectionStrategy.OnPush,
742
- queries: {}
743
- },] },
744
- ];
745
- /**
746
- * @nocollapse
747
- */
748
- RecurrenceEditorComponent.ctorParameters = () => [
749
- { type: ElementRef, },
750
- { type: Renderer2, },
751
- { type: ViewContainerRef, },
752
- { type: Injector, },
753
- ];
754
- RecurrenceEditorComponent = __decorate$3([
755
- ComponentMixins([ComponentBase]),
756
- __metadata$3("design:paramtypes", [ElementRef,
757
- Renderer2,
758
- ViewContainerRef,
759
- Injector])
760
- ], RecurrenceEditorComponent);
761
-
762
- /**
763
- * NgModule definition for the RecurrenceEditor component.
764
- */
765
- class RecurrenceEditorModule {
766
- }
767
- RecurrenceEditorModule.decorators = [
768
- { type: NgModule, args: [{
769
- imports: [CommonModule],
770
- declarations: [
771
- RecurrenceEditorComponent
772
- ],
773
- exports: [
774
- RecurrenceEditorComponent
775
- ]
776
- },] },
777
- ];
778
- /**
779
- * @nocollapse
780
- */
781
- RecurrenceEditorModule.ctorParameters = () => [];
782
-
783
- /**
784
- * NgModule definition for the RecurrenceEditor component with providers.
785
- */
786
- class RecurrenceEditorAllModule {
787
- }
788
- RecurrenceEditorAllModule.decorators = [
789
- { type: NgModule, args: [{
790
- imports: [CommonModule, RecurrenceEditorModule],
791
- exports: [
792
- RecurrenceEditorModule
793
- ],
794
- providers: []
795
- },] },
796
- ];
797
- /**
798
- * @nocollapse
799
- */
800
- RecurrenceEditorAllModule.ctorParameters = () => [];
801
-
802
- /**
803
- * Generated bundle index. Do not edit.
804
- */
805
-
806
- 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 };
807
- 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, 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';
808
- //# sourceMappingURL=ej2-angular-schedule.js.map