@syncfusion/ej2-angular-schedule 31.2.15-ngcc → 32.1.19-ngcc

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