@syncfusion/ej2-angular-schedule 22.1.34-ngcc → 22.1.35

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