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

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 (202) hide show
  1. package/README.md +47 -121
  2. package/esm2020/public_api.mjs +3 -0
  3. package/esm2020/src/index.mjs +11 -0
  4. package/esm2020/src/recurrence-editor/recurrenceeditor-all.module.mjs +23 -0
  5. package/esm2020/src/recurrence-editor/recurrenceeditor.component.mjs +59 -0
  6. package/esm2020/src/recurrence-editor/recurrenceeditor.module.mjs +25 -0
  7. package/esm2020/src/schedule/headerrows.directive.mjs +66 -0
  8. package/esm2020/src/schedule/resources.directive.mjs +58 -0
  9. package/esm2020/src/schedule/schedule-all.module.mjs +74 -0
  10. package/esm2020/src/schedule/schedule.component.mjs +283 -0
  11. package/esm2020/src/schedule/schedule.module.mjs +52 -0
  12. package/esm2020/src/schedule/views.directive.mjs +126 -0
  13. package/esm2020/syncfusion-ej2-angular-schedule.mjs +5 -0
  14. package/fesm2015/syncfusion-ej2-angular-schedule.mjs +733 -0
  15. package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +1 -0
  16. package/fesm2020/syncfusion-ej2-angular-schedule.mjs +733 -0
  17. package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +1 -0
  18. package/package.json +48 -16
  19. package/schematics/utils/lib-details.ts +2 -2
  20. package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +6 -0
  21. package/src/recurrence-editor/recurrenceeditor.component.d.ts +3 -0
  22. package/src/recurrence-editor/recurrenceeditor.module.d.ts +6 -0
  23. package/src/schedule/headerrows.directive.d.ts +10 -6
  24. package/src/schedule/resources.directive.d.ts +5 -0
  25. package/src/schedule/schedule-all.module.d.ts +6 -0
  26. package/src/schedule/schedule.component.d.ts +8 -19
  27. package/src/schedule/schedule.module.d.ts +9 -0
  28. package/src/schedule/views.directive.d.ts +21 -31
  29. package/styles/material3-dark.css +0 -56
  30. package/styles/material3-dark.scss +1 -0
  31. package/styles/material3.css +0 -111
  32. package/styles/material3.scss +1 -0
  33. package/styles/recurrence-editor/_all.scss +2 -0
  34. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +13 -0
  35. package/styles/recurrence-editor/_bootstrap-definition.scss +13 -0
  36. package/styles/recurrence-editor/_bootstrap4-definition.scss +13 -0
  37. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +1 -0
  38. package/styles/recurrence-editor/_bootstrap5-definition.scss +13 -0
  39. package/styles/recurrence-editor/_fabric-dark-definition.scss +13 -0
  40. package/styles/recurrence-editor/_fabric-definition.scss +13 -0
  41. package/styles/recurrence-editor/_fluent-dark-definition.scss +1 -0
  42. package/styles/recurrence-editor/_fluent-definition.scss +13 -0
  43. package/styles/recurrence-editor/_fusionnew-definition.scss +13 -0
  44. package/styles/recurrence-editor/_highcontrast-definition.scss +13 -0
  45. package/styles/recurrence-editor/_highcontrast-light-definition.scss +13 -0
  46. package/styles/recurrence-editor/_layout.scss +548 -0
  47. package/styles/recurrence-editor/_material-dark-definition.scss +13 -0
  48. package/styles/recurrence-editor/_material-definition.scss +13 -0
  49. package/styles/recurrence-editor/_material3-dark-definition.scss +1 -0
  50. package/styles/recurrence-editor/_material3-definition.scss +13 -0
  51. package/styles/recurrence-editor/_tailwind-dark-definition.scss +1 -0
  52. package/styles/recurrence-editor/_tailwind-definition.scss +13 -0
  53. package/styles/recurrence-editor/_theme.scss +1 -0
  54. package/styles/recurrence-editor/bootstrap-dark.scss +8 -1
  55. package/styles/recurrence-editor/bootstrap.scss +8 -1
  56. package/styles/recurrence-editor/bootstrap4.scss +8 -1
  57. package/styles/recurrence-editor/bootstrap5-dark.scss +8 -1
  58. package/styles/recurrence-editor/bootstrap5.scss +8 -1
  59. package/styles/recurrence-editor/fabric-dark.scss +8 -1
  60. package/styles/recurrence-editor/fabric.scss +8 -1
  61. package/styles/recurrence-editor/fluent-dark.scss +8 -1
  62. package/styles/recurrence-editor/fluent.scss +8 -1
  63. package/styles/recurrence-editor/highcontrast-light.scss +8 -1
  64. package/styles/recurrence-editor/highcontrast.scss +8 -1
  65. package/styles/recurrence-editor/material-dark.scss +8 -1
  66. package/styles/recurrence-editor/material.scss +8 -1
  67. package/styles/recurrence-editor/material3-dark.scss +8 -1
  68. package/styles/recurrence-editor/material3.scss +8 -1
  69. package/styles/recurrence-editor/tailwind-dark.scss +8 -1
  70. package/styles/recurrence-editor/tailwind.scss +8 -1
  71. package/styles/schedule/_all.scss +2 -0
  72. package/styles/schedule/_bootstrap-dark-definition.scss +280 -0
  73. package/styles/schedule/_bootstrap-definition.scss +280 -0
  74. package/styles/schedule/_bootstrap4-definition.scss +283 -0
  75. package/styles/schedule/_bootstrap5-dark-definition.scss +1 -0
  76. package/styles/schedule/_bootstrap5-definition.scss +290 -0
  77. package/styles/schedule/_fabric-dark-definition.scss +279 -0
  78. package/styles/schedule/_fabric-definition.scss +280 -0
  79. package/styles/schedule/_fluent-dark-definition.scss +1 -0
  80. package/styles/schedule/_fluent-definition.scss +285 -0
  81. package/styles/schedule/_fusionnew-definition.scss +289 -0
  82. package/styles/schedule/_highcontrast-definition.scss +281 -0
  83. package/styles/schedule/_highcontrast-light-definition.scss +281 -0
  84. package/styles/schedule/_layout.scss +4134 -0
  85. package/styles/schedule/_material-dark-definition.scss +280 -0
  86. package/styles/schedule/_material-definition.scss +280 -0
  87. package/styles/schedule/_material3-dark-definition.scss +1 -0
  88. package/styles/schedule/_material3-definition.scss +292 -0
  89. package/styles/schedule/_tailwind-dark-definition.scss +1 -0
  90. package/styles/schedule/_tailwind-definition.scss +282 -0
  91. package/styles/schedule/_theme.scss +551 -0
  92. package/styles/schedule/bootstrap-dark.scss +16 -1
  93. package/styles/schedule/bootstrap.scss +16 -1
  94. package/styles/schedule/bootstrap4.scss +16 -1
  95. package/styles/schedule/bootstrap5-dark.scss +15 -1
  96. package/styles/schedule/bootstrap5.scss +16 -1
  97. package/styles/schedule/fabric-dark.scss +16 -1
  98. package/styles/schedule/fabric.scss +16 -1
  99. package/styles/schedule/fluent-dark.scss +15 -1
  100. package/styles/schedule/fluent.scss +16 -1
  101. package/styles/schedule/highcontrast-light.scss +16 -1
  102. package/styles/schedule/highcontrast.scss +16 -1
  103. package/styles/schedule/icons/_bootstrap-dark.scss +231 -0
  104. package/styles/schedule/icons/_bootstrap.scss +231 -0
  105. package/styles/schedule/icons/_bootstrap4.scss +231 -0
  106. package/styles/schedule/icons/_bootstrap5-dark.scss +1 -0
  107. package/styles/schedule/icons/_bootstrap5.scss +231 -0
  108. package/styles/schedule/icons/_fabric-dark.scss +231 -0
  109. package/styles/schedule/icons/_fabric.scss +231 -0
  110. package/styles/schedule/icons/_fluent-dark.scss +1 -0
  111. package/styles/schedule/icons/_fluent.scss +231 -0
  112. package/styles/schedule/icons/_fusionnew.scss +231 -0
  113. package/styles/schedule/icons/_highcontrast-light.scss +231 -0
  114. package/styles/schedule/icons/_highcontrast.scss +231 -0
  115. package/styles/schedule/icons/_material-dark.scss +231 -0
  116. package/styles/schedule/icons/_material.scss +231 -0
  117. package/styles/schedule/icons/_material3-dark.scss +1 -0
  118. package/styles/schedule/icons/_material3.scss +231 -0
  119. package/styles/schedule/icons/_tailwind-dark.scss +1 -0
  120. package/styles/schedule/icons/_tailwind.scss +231 -0
  121. package/styles/schedule/material-dark.scss +16 -1
  122. package/styles/schedule/material.scss +16 -1
  123. package/styles/schedule/material3-dark.scss +15 -1
  124. package/styles/schedule/material3.scss +16 -1
  125. package/styles/schedule/tailwind-dark.scss +15 -1
  126. package/styles/schedule/tailwind.scss +16 -1
  127. package/syncfusion-ej2-angular-schedule.d.ts +5 -0
  128. package/@syncfusion/ej2-angular-schedule.es5.js +0 -850
  129. package/@syncfusion/ej2-angular-schedule.es5.js.map +0 -1
  130. package/@syncfusion/ej2-angular-schedule.js +0 -798
  131. package/@syncfusion/ej2-angular-schedule.js.map +0 -1
  132. package/CHANGELOG.md +0 -1761
  133. package/dist/ej2-angular-schedule.umd.js +0 -991
  134. package/dist/ej2-angular-schedule.umd.js.map +0 -1
  135. package/dist/ej2-angular-schedule.umd.min.js +0 -11
  136. package/dist/ej2-angular-schedule.umd.min.js.map +0 -1
  137. package/ej2-angular-schedule.d.ts +0 -6
  138. package/ej2-angular-schedule.metadata.json +0 -1
  139. package/postinstall/tagchange.js +0 -18
  140. package/schematics/collection.json +0 -40
  141. package/schematics/generators/schedule-agenda-views/index.d.ts +0 -3
  142. package/schematics/generators/schedule-agenda-views/index.js +0 -8
  143. package/schematics/generators/schedule-agenda-views/sample-details.d.ts +0 -5
  144. package/schematics/generators/schedule-agenda-views/sample-details.js +0 -7
  145. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  146. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  147. package/schematics/generators/schedule-agenda-views/schema.d.ts +0 -3
  148. package/schematics/generators/schedule-agenda-views/schema.js +0 -2
  149. package/schematics/generators/schedule-agenda-views/schema.json +0 -125
  150. package/schematics/generators/schedule-calendar-views/index.d.ts +0 -3
  151. package/schematics/generators/schedule-calendar-views/index.js +0 -8
  152. package/schematics/generators/schedule-calendar-views/sample-details.d.ts +0 -5
  153. package/schematics/generators/schedule-calendar-views/sample-details.js +0 -7
  154. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  155. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  156. package/schematics/generators/schedule-calendar-views/schema.d.ts +0 -3
  157. package/schematics/generators/schedule-calendar-views/schema.js +0 -2
  158. package/schematics/generators/schedule-calendar-views/schema.json +0 -125
  159. package/schematics/generators/schedule-horizontal-grouping/index.d.ts +0 -3
  160. package/schematics/generators/schedule-horizontal-grouping/index.js +0 -8
  161. package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +0 -5
  162. package/schematics/generators/schedule-horizontal-grouping/sample-details.js +0 -7
  163. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -92
  164. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -29
  165. package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +0 -3
  166. package/schematics/generators/schedule-horizontal-grouping/schema.js +0 -2
  167. package/schematics/generators/schedule-horizontal-grouping/schema.json +0 -125
  168. package/schematics/generators/schedule-time-scale/index.d.ts +0 -3
  169. package/schematics/generators/schedule-time-scale/index.js +0 -8
  170. package/schematics/generators/schedule-time-scale/sample-details.d.ts +0 -5
  171. package/schematics/generators/schedule-time-scale/sample-details.js +0 -7
  172. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  173. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  174. package/schematics/generators/schedule-time-scale/schema.d.ts +0 -3
  175. package/schematics/generators/schedule-time-scale/schema.js +0 -2
  176. package/schematics/generators/schedule-time-scale/schema.json +0 -125
  177. package/schematics/generators/schedule-timeline-grouping/index.d.ts +0 -3
  178. package/schematics/generators/schedule-timeline-grouping/index.js +0 -8
  179. package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +0 -5
  180. package/schematics/generators/schedule-timeline-grouping/sample-details.js +0 -7
  181. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -6
  182. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -23
  183. package/schematics/generators/schedule-timeline-grouping/schema.d.ts +0 -3
  184. package/schematics/generators/schedule-timeline-grouping/schema.js +0 -2
  185. package/schematics/generators/schedule-timeline-grouping/schema.json +0 -125
  186. package/schematics/generators/schedule-timeline-views/index.d.ts +0 -3
  187. package/schematics/generators/schedule-timeline-views/index.js +0 -8
  188. package/schematics/generators/schedule-timeline-views/sample-details.d.ts +0 -5
  189. package/schematics/generators/schedule-timeline-views/sample-details.js +0 -7
  190. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  191. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  192. package/schematics/generators/schedule-timeline-views/schema.d.ts +0 -3
  193. package/schematics/generators/schedule-timeline-views/schema.js +0 -2
  194. package/schematics/generators/schedule-timeline-views/schema.json +0 -125
  195. package/schematics/ng-add/index.d.ts +0 -3
  196. package/schematics/ng-add/index.js +0 -9
  197. package/schematics/ng-add/schema.d.ts +0 -13
  198. package/schematics/ng-add/schema.js +0 -2
  199. package/schematics/ng-add/schema.json +0 -34
  200. package/schematics/tsconfig.json +0 -25
  201. package/schematics/utils/lib-details.d.ts +0 -4
  202. package/schematics/utils/lib-details.js +0 -6
@@ -1,991 +0,0 @@
1
- /*!
2
- * filename: ej2-angular-schedule.umd.js
3
- * version : 22.1.34
4
- * Copyright Syncfusion Inc. 2001 - 2020. 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
- (function (global, factory) {
11
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-schedule'), require('@angular/common')) :
12
- typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-schedule', '@angular/common'], factory) :
13
- (factory((global['ej2-angular-schedule'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.schedule,global.ng.common));
14
- }(this, (function (exports,core,ej2AngularBase,ej2Schedule,common) { 'use strict';
15
-
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 = ['allowVirtualScrolling', 'cellHeaderTemplate', 'cellTemplate', 'dateFormat', 'dateHeaderTemplate', 'dateRangeTemplate', 'dayHeaderTemplate', 'displayDate', 'displayName', 'endHour', 'eventTemplate', 'firstDayOfWeek', 'firstMonthOfYear', 'group', 'headerIndentTemplate', 'headerRows', 'interval', 'isSelected', 'monthHeaderTemplate', 'monthsCount', 'numberOfWeeks', 'option', 'orientation', 'readonly', 'resourceHeaderTemplate', 'showWeekNumber', 'showWeekend', 'startHour', 'timeFormat', 'timeScale', 'workDays'];
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 inputs = ['agendaDaysCount', 'allowDragAndDrop', 'allowInline', 'allowKeyboardInteraction', 'allowMultiCellSelection', 'allowMultiDrag', 'allowMultiRowSelection', 'allowResizing', 'allowSwiping', 'calendarMode', 'cellHeaderTemplate', 'cellTemplate', 'cssClass', 'currentView', 'dateFormat', 'dateHeaderTemplate', 'dateRangeTemplate', 'dayHeaderTemplate', 'editorTemplate', 'enableAdaptiveUI', 'enableAllDayScroll', 'enableHtmlSanitizer', 'enablePersistence', 'enableRecurrenceValidation', 'enableRtl', 'endHour', 'eventDragArea', 'eventSettings', 'firstDayOfWeek', 'firstMonthOfYear', 'group', 'headerIndentTemplate', 'headerRows', 'height', 'hideEmptyAgendaDays', 'locale', 'maxDate', 'minDate', 'monthHeaderTemplate', 'monthsCount', 'quickInfoOnSelectionEnd', 'quickInfoTemplates', 'readonly', 'resourceHeaderTemplate', 'resources', 'rowAutoHeight', 'selectedDate', 'showHeaderBar', 'showQuickInfo', 'showTimeIndicator', 'showWeekNumber', 'showWeekend', 'startHour', 'timeFormat', 'timeScale', 'timezone', 'timezoneDataSource', 'views', 'weekRule', 'width', 'workDays', 'workHours'];
333
- var outputs$3 = ['actionBegin', 'actionComplete', 'actionFailure', 'cellClick', 'cellDoubleClick', 'created', 'dataBinding', 'dataBound', 'destroyed', 'drag', 'dragStart', 'dragStop', 'eventClick', 'eventRendered', 'hover', 'moreEventsClick', 'navigating', 'popupClose', 'popupOpen', 'renderCell', 'resizeStart', 'resizeStop', 'resizing', 'select', 'currentViewChange', 'selectedDateChange'];
334
- var twoWays = ['currentView', 'selectedDate'];
335
- /**
336
- * `ej-schedule` represents the Angular Schedule Component.
337
- * ```html
338
- * <ejs-schedule></ejs-schedule>
339
- * ```
340
- */
341
- exports.ScheduleComponent = /** @class */ (function (_super) {
342
- __extends(ScheduleComponent, _super);
343
- /**
344
- * @param {?} ngEle
345
- * @param {?} srenderer
346
- * @param {?} viewContainerRef
347
- * @param {?} injector
348
- */
349
- function ScheduleComponent(ngEle, srenderer, viewContainerRef, injector) {
350
- var _this = _super.call(this) || this;
351
- _this.ngEle = ngEle;
352
- _this.srenderer = srenderer;
353
- _this.viewContainerRef = viewContainerRef;
354
- _this.injector = injector;
355
- _this.tags = ['views', 'resources', 'headerRows'];
356
- _this.element = _this.ngEle.nativeElement;
357
- _this.injectedModules = _this.injectedModules || [];
358
- try {
359
- var mod = _this.injector.get('ScheduleDay');
360
- if (_this.injectedModules.indexOf(mod) === -1) {
361
- _this.injectedModules.push(mod);
362
- }
363
- }
364
- catch (_a) { }
365
- try {
366
- var mod = _this.injector.get('ScheduleWeek');
367
- if (_this.injectedModules.indexOf(mod) === -1) {
368
- _this.injectedModules.push(mod);
369
- }
370
- }
371
- catch (_b) { }
372
- try {
373
- var mod = _this.injector.get('ScheduleWorkWeek');
374
- if (_this.injectedModules.indexOf(mod) === -1) {
375
- _this.injectedModules.push(mod);
376
- }
377
- }
378
- catch (_c) { }
379
- try {
380
- var mod = _this.injector.get('ScheduleMonth');
381
- if (_this.injectedModules.indexOf(mod) === -1) {
382
- _this.injectedModules.push(mod);
383
- }
384
- }
385
- catch (_d) { }
386
- try {
387
- var mod = _this.injector.get('ScheduleYear');
388
- if (_this.injectedModules.indexOf(mod) === -1) {
389
- _this.injectedModules.push(mod);
390
- }
391
- }
392
- catch (_e) { }
393
- try {
394
- var mod = _this.injector.get('ScheduleAgenda');
395
- if (_this.injectedModules.indexOf(mod) === -1) {
396
- _this.injectedModules.push(mod);
397
- }
398
- }
399
- catch (_f) { }
400
- try {
401
- var mod = _this.injector.get('ScheduleMonthAgenda');
402
- if (_this.injectedModules.indexOf(mod) === -1) {
403
- _this.injectedModules.push(mod);
404
- }
405
- }
406
- catch (_g) { }
407
- try {
408
- var mod = _this.injector.get('ScheduleTimelineViews');
409
- if (_this.injectedModules.indexOf(mod) === -1) {
410
- _this.injectedModules.push(mod);
411
- }
412
- }
413
- catch (_h) { }
414
- try {
415
- var mod = _this.injector.get('ScheduleTimelineMonth');
416
- if (_this.injectedModules.indexOf(mod) === -1) {
417
- _this.injectedModules.push(mod);
418
- }
419
- }
420
- catch (_j) { }
421
- try {
422
- var mod = _this.injector.get('ScheduleTimelineYear');
423
- if (_this.injectedModules.indexOf(mod) === -1) {
424
- _this.injectedModules.push(mod);
425
- }
426
- }
427
- catch (_k) { }
428
- try {
429
- var mod = _this.injector.get('ScheduleResize');
430
- if (_this.injectedModules.indexOf(mod) === -1) {
431
- _this.injectedModules.push(mod);
432
- }
433
- }
434
- catch (_l) { }
435
- try {
436
- var mod = _this.injector.get('ScheduleDragAndDrop');
437
- if (_this.injectedModules.indexOf(mod) === -1) {
438
- _this.injectedModules.push(mod);
439
- }
440
- }
441
- catch (_m) { }
442
- try {
443
- var mod = _this.injector.get('ScheduleExcelExport');
444
- if (_this.injectedModules.indexOf(mod) === -1) {
445
- _this.injectedModules.push(mod);
446
- }
447
- }
448
- catch (_o) { }
449
- try {
450
- var mod = _this.injector.get('ScheduleICalendarExport');
451
- if (_this.injectedModules.indexOf(mod) === -1) {
452
- _this.injectedModules.push(mod);
453
- }
454
- }
455
- catch (_p) { }
456
- try {
457
- var mod = _this.injector.get('ScheduleICalendarImport');
458
- if (_this.injectedModules.indexOf(mod) === -1) {
459
- _this.injectedModules.push(mod);
460
- }
461
- }
462
- catch (_q) { }
463
- try {
464
- var mod = _this.injector.get('SchedulePrint');
465
- if (_this.injectedModules.indexOf(mod) === -1) {
466
- _this.injectedModules.push(mod);
467
- }
468
- }
469
- catch (_r) { }
470
- _this.registerEvents(outputs$3);
471
- _this.addTwoWay.call(_this, twoWays);
472
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
473
- _this.context = new ej2AngularBase.ComponentBase();
474
- return _this;
475
- }
476
- /**
477
- * @return {?}
478
- */
479
- ScheduleComponent.prototype.ngOnInit = function () {
480
- this.context.ngOnInit(this);
481
- };
482
- /**
483
- * @return {?}
484
- */
485
- ScheduleComponent.prototype.ngAfterViewInit = function () {
486
- this.context.ngAfterViewInit(this);
487
- };
488
- /**
489
- * @return {?}
490
- */
491
- ScheduleComponent.prototype.ngOnDestroy = function () {
492
- this.context.ngOnDestroy(this);
493
- };
494
- /**
495
- * @return {?}
496
- */
497
- ScheduleComponent.prototype.ngAfterContentChecked = function () {
498
- this.tagObjects[0].instance = this.childViews;
499
- if (this.childResources) {
500
- this.tagObjects[1].instance = this.childResources;
501
- }
502
- if (this.childHeaderRows) {
503
- this.tagObjects[2].instance = this.childHeaderRows;
504
- }
505
- this.context.ngAfterContentChecked(this);
506
- };
507
- return ScheduleComponent;
508
- }(ej2Schedule.Schedule));
509
- exports.ScheduleComponent.decorators = [
510
- { type: core.Component, args: [{
511
- selector: 'ejs-schedule',
512
- inputs: inputs,
513
- outputs: outputs$3,
514
- template: '',
515
- changeDetection: core.ChangeDetectionStrategy.OnPush,
516
- queries: {
517
- childViews: new core.ContentChild(ViewsDirective),
518
- childResources: new core.ContentChild(ResourcesDirective),
519
- childHeaderRows: new core.ContentChild(HeaderRowsDirective)
520
- }
521
- },] },
522
- ];
523
- /**
524
- * @nocollapse
525
- */
526
- exports.ScheduleComponent.ctorParameters = function () { return [
527
- { type: core.ElementRef, },
528
- { type: core.Renderer2, },
529
- { type: core.ViewContainerRef, },
530
- { type: core.Injector, },
531
- ]; };
532
- exports.ScheduleComponent.propDecorators = {
533
- 'dateHeaderTemplate': [{ type: core.ContentChild, args: ['dateHeaderTemplate',] },],
534
- 'dateRangeTemplate': [{ type: core.ContentChild, args: ['dateRangeTemplate',] },],
535
- 'dayHeaderTemplate': [{ type: core.ContentChild, args: ['dayHeaderTemplate',] },],
536
- 'cellTemplate': [{ type: core.ContentChild, args: ['cellTemplate',] },],
537
- 'cellHeaderTemplate': [{ type: core.ContentChild, args: ['cellHeaderTemplate',] },],
538
- 'eventSettings_tooltipTemplate': [{ type: core.ContentChild, args: ['eventSettingsTooltipTemplate',] },],
539
- 'eventSettings_template': [{ type: core.ContentChild, args: ['eventSettingsTemplate',] },],
540
- 'editorTemplate': [{ type: core.ContentChild, args: ['editorTemplate',] },],
541
- 'monthHeaderTemplate': [{ type: core.ContentChild, args: ['monthHeaderTemplate',] },],
542
- 'timeScale_minorSlotTemplate': [{ type: core.ContentChild, args: ['timeScaleMinorSlotTemplate',] },],
543
- 'timeScale_majorSlotTemplate': [{ type: core.ContentChild, args: ['timeScaleMajorSlotTemplate',] },],
544
- 'resourceHeaderTemplate': [{ type: core.ContentChild, args: ['resourceHeaderTemplate',] },],
545
- 'headerIndentTemplate': [{ type: core.ContentChild, args: ['headerIndentTemplate',] },],
546
- 'quickInfoTemplates_header': [{ type: core.ContentChild, args: ['quickInfoTemplatesHeader',] },],
547
- 'quickInfoTemplates_content': [{ type: core.ContentChild, args: ['quickInfoTemplatesContent',] },],
548
- 'quickInfoTemplates_footer': [{ type: core.ContentChild, args: ['quickInfoTemplatesFooter',] },],
549
- 'group_headerTooltipTemplate': [{ type: core.ContentChild, args: ['groupHeaderTooltipTemplate',] },],
550
- };
551
- __decorate$2([
552
- ej2AngularBase.Template(),
553
- __metadata$2("design:type", Object)
554
- ], exports.ScheduleComponent.prototype, "dateHeaderTemplate", void 0);
555
- __decorate$2([
556
- ej2AngularBase.Template(),
557
- __metadata$2("design:type", Object)
558
- ], exports.ScheduleComponent.prototype, "dateRangeTemplate", void 0);
559
- __decorate$2([
560
- ej2AngularBase.Template(),
561
- __metadata$2("design:type", Object)
562
- ], exports.ScheduleComponent.prototype, "dayHeaderTemplate", void 0);
563
- __decorate$2([
564
- ej2AngularBase.Template(),
565
- __metadata$2("design:type", Object)
566
- ], exports.ScheduleComponent.prototype, "cellTemplate", void 0);
567
- __decorate$2([
568
- ej2AngularBase.Template(),
569
- __metadata$2("design:type", Object)
570
- ], exports.ScheduleComponent.prototype, "cellHeaderTemplate", void 0);
571
- __decorate$2([
572
- ej2AngularBase.Template(),
573
- __metadata$2("design:type", Object)
574
- ], exports.ScheduleComponent.prototype, "eventSettings_tooltipTemplate", void 0);
575
- __decorate$2([
576
- ej2AngularBase.Template(),
577
- __metadata$2("design:type", Object)
578
- ], exports.ScheduleComponent.prototype, "eventSettings_template", void 0);
579
- __decorate$2([
580
- ej2AngularBase.Template(),
581
- __metadata$2("design:type", Object)
582
- ], exports.ScheduleComponent.prototype, "editorTemplate", void 0);
583
- __decorate$2([
584
- ej2AngularBase.Template(),
585
- __metadata$2("design:type", Object)
586
- ], exports.ScheduleComponent.prototype, "monthHeaderTemplate", void 0);
587
- __decorate$2([
588
- ej2AngularBase.Template(),
589
- __metadata$2("design:type", Object)
590
- ], exports.ScheduleComponent.prototype, "timeScale_minorSlotTemplate", void 0);
591
- __decorate$2([
592
- ej2AngularBase.Template(),
593
- __metadata$2("design:type", Object)
594
- ], exports.ScheduleComponent.prototype, "timeScale_majorSlotTemplate", void 0);
595
- __decorate$2([
596
- ej2AngularBase.Template(),
597
- __metadata$2("design:type", Object)
598
- ], exports.ScheduleComponent.prototype, "resourceHeaderTemplate", void 0);
599
- __decorate$2([
600
- ej2AngularBase.Template(),
601
- __metadata$2("design:type", Object)
602
- ], exports.ScheduleComponent.prototype, "headerIndentTemplate", void 0);
603
- __decorate$2([
604
- ej2AngularBase.Template(),
605
- __metadata$2("design:type", Object)
606
- ], exports.ScheduleComponent.prototype, "quickInfoTemplates_header", void 0);
607
- __decorate$2([
608
- ej2AngularBase.Template(),
609
- __metadata$2("design:type", Object)
610
- ], exports.ScheduleComponent.prototype, "quickInfoTemplates_content", void 0);
611
- __decorate$2([
612
- ej2AngularBase.Template(),
613
- __metadata$2("design:type", Object)
614
- ], exports.ScheduleComponent.prototype, "quickInfoTemplates_footer", void 0);
615
- __decorate$2([
616
- ej2AngularBase.Template(),
617
- __metadata$2("design:type", Object)
618
- ], exports.ScheduleComponent.prototype, "group_headerTooltipTemplate", void 0);
619
- exports.ScheduleComponent = __decorate$2([
620
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
621
- __metadata$2("design:paramtypes", [core.ElementRef,
622
- core.Renderer2,
623
- core.ViewContainerRef,
624
- core.Injector])
625
- ], exports.ScheduleComponent);
626
- /**
627
- * NgModule definition for the Schedule component.
628
- */
629
- var ScheduleModule = /** @class */ (function () {
630
- function ScheduleModule() {
631
- }
632
- return ScheduleModule;
633
- }());
634
- ScheduleModule.decorators = [
635
- { type: core.NgModule, args: [{
636
- imports: [common.CommonModule],
637
- declarations: [
638
- exports.ScheduleComponent,
639
- ViewDirective,
640
- ViewsDirective,
641
- ResourceDirective,
642
- ResourcesDirective,
643
- HeaderRowDirective,
644
- HeaderRowsDirective
645
- ],
646
- exports: [
647
- exports.ScheduleComponent,
648
- ViewDirective,
649
- ViewsDirective,
650
- ResourceDirective,
651
- ResourcesDirective,
652
- HeaderRowDirective,
653
- HeaderRowsDirective
654
- ]
655
- },] },
656
- ];
657
- /**
658
- * @nocollapse
659
- */
660
- ScheduleModule.ctorParameters = function () { return []; };
661
- var DayService = { provide: 'ScheduleDay', useValue: ej2Schedule.Day };
662
- var WeekService = { provide: 'ScheduleWeek', useValue: ej2Schedule.Week };
663
- var WorkWeekService = { provide: 'ScheduleWorkWeek', useValue: ej2Schedule.WorkWeek };
664
- var MonthService = { provide: 'ScheduleMonth', useValue: ej2Schedule.Month };
665
- var YearService = { provide: 'ScheduleYear', useValue: ej2Schedule.Year };
666
- var AgendaService = { provide: 'ScheduleAgenda', useValue: ej2Schedule.Agenda };
667
- var MonthAgendaService = { provide: 'ScheduleMonthAgenda', useValue: ej2Schedule.MonthAgenda };
668
- var TimelineViewsService = { provide: 'ScheduleTimelineViews', useValue: ej2Schedule.TimelineViews };
669
- var TimelineMonthService = { provide: 'ScheduleTimelineMonth', useValue: ej2Schedule.TimelineMonth };
670
- var TimelineYearService = { provide: 'ScheduleTimelineYear', useValue: ej2Schedule.TimelineYear };
671
- var ResizeService = { provide: 'ScheduleResize', useValue: ej2Schedule.Resize };
672
- var DragAndDropService = { provide: 'ScheduleDragAndDrop', useValue: ej2Schedule.DragAndDrop };
673
- var ExcelExportService = { provide: 'ScheduleExcelExport', useValue: ej2Schedule.ExcelExport };
674
- var ICalendarExportService = { provide: 'ScheduleICalendarExport', useValue: ej2Schedule.ICalendarExport };
675
- var ICalendarImportService = { provide: 'ScheduleICalendarImport', useValue: ej2Schedule.ICalendarImport };
676
- var PrintService = { provide: 'SchedulePrint', useValue: ej2Schedule.Print };
677
- /**
678
- * NgModule definition for the Schedule component with providers.
679
- */
680
- var ScheduleAllModule = /** @class */ (function () {
681
- function ScheduleAllModule() {
682
- }
683
- return ScheduleAllModule;
684
- }());
685
- ScheduleAllModule.decorators = [
686
- { type: core.NgModule, args: [{
687
- imports: [common.CommonModule, ScheduleModule],
688
- exports: [
689
- ScheduleModule
690
- ],
691
- providers: [
692
- DayService,
693
- WeekService,
694
- WorkWeekService,
695
- MonthService,
696
- YearService,
697
- AgendaService,
698
- MonthAgendaService,
699
- TimelineViewsService,
700
- TimelineMonthService,
701
- TimelineYearService,
702
- ResizeService,
703
- DragAndDropService,
704
- ExcelExportService,
705
- ICalendarExportService,
706
- ICalendarImportService,
707
- PrintService
708
- ]
709
- },] },
710
- ];
711
- /**
712
- * @nocollapse
713
- */
714
- ScheduleAllModule.ctorParameters = function () { return []; };
715
- var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
716
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
717
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
718
- r = Reflect.decorate(decorators, target, key, desc);
719
- else
720
- for (var i = decorators.length - 1; i >= 0; i--)
721
- if (d = decorators[i])
722
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
723
- return c > 3 && r && Object.defineProperty(target, key, r), r;
724
- };
725
- var __metadata$3 = (this && this.__metadata) || function (k, v) {
726
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
727
- return Reflect.metadata(k, v);
728
- };
729
- var inputs$1 = ['calendarMode', 'cssClass', 'dateFormat', 'enablePersistence', 'enableRtl', 'endTypes', 'firstDayOfWeek', 'frequencies', 'locale', 'maxDate', 'minDate', 'selectedType', 'startDate', 'value'];
730
- var outputs$4 = ['change'];
731
- var twoWays$1 = [];
732
- /**
733
- * `ejs-recurrenceeditor` represents the Angular RecurrenceEditor Component.
734
- * ```html
735
- * <ejs-recurrenceeditor></ejs-recurrenceeditor>
736
- * ```
737
- */
738
- exports.RecurrenceEditorComponent = /** @class */ (function (_super) {
739
- __extends(RecurrenceEditorComponent, _super);
740
- /**
741
- * @param {?} ngEle
742
- * @param {?} srenderer
743
- * @param {?} viewContainerRef
744
- * @param {?} injector
745
- */
746
- function RecurrenceEditorComponent(ngEle, srenderer, viewContainerRef, injector) {
747
- var _this = _super.call(this) || this;
748
- _this.ngEle = ngEle;
749
- _this.srenderer = srenderer;
750
- _this.viewContainerRef = viewContainerRef;
751
- _this.injector = injector;
752
- _this.element = _this.ngEle.nativeElement;
753
- _this.injectedModules = _this.injectedModules || [];
754
- _this.registerEvents(outputs$4);
755
- _this.addTwoWay.call(_this, twoWays$1);
756
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
757
- _this.context = new ej2AngularBase.ComponentBase();
758
- return _this;
759
- }
760
- /**
761
- * @return {?}
762
- */
763
- RecurrenceEditorComponent.prototype.ngOnInit = function () {
764
- this.context.ngOnInit(this);
765
- };
766
- /**
767
- * @return {?}
768
- */
769
- RecurrenceEditorComponent.prototype.ngAfterViewInit = function () {
770
- this.context.ngAfterViewInit(this);
771
- };
772
- /**
773
- * @return {?}
774
- */
775
- RecurrenceEditorComponent.prototype.ngOnDestroy = function () {
776
- this.context.ngOnDestroy(this);
777
- };
778
- /**
779
- * @return {?}
780
- */
781
- RecurrenceEditorComponent.prototype.ngAfterContentChecked = function () {
782
- this.context.ngAfterContentChecked(this);
783
- };
784
- return RecurrenceEditorComponent;
785
- }(ej2Schedule.RecurrenceEditor));
786
- exports.RecurrenceEditorComponent.decorators = [
787
- { type: core.Component, args: [{
788
- selector: 'ejs-recurrenceeditor',
789
- inputs: inputs$1,
790
- outputs: outputs$4,
791
- template: '',
792
- changeDetection: core.ChangeDetectionStrategy.OnPush,
793
- queries: {}
794
- },] },
795
- ];
796
- /**
797
- * @nocollapse
798
- */
799
- exports.RecurrenceEditorComponent.ctorParameters = function () { return [
800
- { type: core.ElementRef, },
801
- { type: core.Renderer2, },
802
- { type: core.ViewContainerRef, },
803
- { type: core.Injector, },
804
- ]; };
805
- exports.RecurrenceEditorComponent = __decorate$3([
806
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
807
- __metadata$3("design:paramtypes", [core.ElementRef,
808
- core.Renderer2,
809
- core.ViewContainerRef,
810
- core.Injector])
811
- ], exports.RecurrenceEditorComponent);
812
- /**
813
- * NgModule definition for the RecurrenceEditor component.
814
- */
815
- var RecurrenceEditorModule = /** @class */ (function () {
816
- function RecurrenceEditorModule() {
817
- }
818
- return RecurrenceEditorModule;
819
- }());
820
- RecurrenceEditorModule.decorators = [
821
- { type: core.NgModule, args: [{
822
- imports: [common.CommonModule],
823
- declarations: [
824
- exports.RecurrenceEditorComponent
825
- ],
826
- exports: [
827
- exports.RecurrenceEditorComponent
828
- ]
829
- },] },
830
- ];
831
- /**
832
- * @nocollapse
833
- */
834
- RecurrenceEditorModule.ctorParameters = function () { return []; };
835
- /**
836
- * NgModule definition for the RecurrenceEditor component with providers.
837
- */
838
- var RecurrenceEditorAllModule = /** @class */ (function () {
839
- function RecurrenceEditorAllModule() {
840
- }
841
- return RecurrenceEditorAllModule;
842
- }());
843
- RecurrenceEditorAllModule.decorators = [
844
- { type: core.NgModule, args: [{
845
- imports: [common.CommonModule, RecurrenceEditorModule],
846
- exports: [
847
- RecurrenceEditorModule
848
- ],
849
- providers: []
850
- },] },
851
- ];
852
- /**
853
- * @nocollapse
854
- */
855
- RecurrenceEditorAllModule.ctorParameters = function () { return []; };
856
-
857
- exports.ViewDirective = ViewDirective;
858
- exports.ViewsDirective = ViewsDirective;
859
- exports.ResourceDirective = ResourceDirective;
860
- exports.ResourcesDirective = ResourcesDirective;
861
- exports.HeaderRowDirective = HeaderRowDirective;
862
- exports.HeaderRowsDirective = HeaderRowsDirective;
863
- exports.ScheduleModule = ScheduleModule;
864
- exports.ScheduleAllModule = ScheduleAllModule;
865
- exports.DayService = DayService;
866
- exports.WeekService = WeekService;
867
- exports.WorkWeekService = WorkWeekService;
868
- exports.MonthService = MonthService;
869
- exports.YearService = YearService;
870
- exports.AgendaService = AgendaService;
871
- exports.MonthAgendaService = MonthAgendaService;
872
- exports.TimelineViewsService = TimelineViewsService;
873
- exports.TimelineMonthService = TimelineMonthService;
874
- exports.TimelineYearService = TimelineYearService;
875
- exports.ResizeService = ResizeService;
876
- exports.DragAndDropService = DragAndDropService;
877
- exports.ExcelExportService = ExcelExportService;
878
- exports.ICalendarExportService = ICalendarExportService;
879
- exports.ICalendarImportService = ICalendarImportService;
880
- exports.PrintService = PrintService;
881
- exports.RecurrenceEditorModule = RecurrenceEditorModule;
882
- exports.RecurrenceEditorAllModule = RecurrenceEditorAllModule;
883
- exports.ɵc = inputs$1;
884
- exports.ɵd = outputs$4;
885
- exports.ɵa = inputs;
886
- exports.ɵb = outputs$3;
887
- exports.Schedule = ej2Schedule.Schedule;
888
- exports.cellClick = ej2Schedule.cellClick;
889
- exports.cellDoubleClick = ej2Schedule.cellDoubleClick;
890
- exports.moreEventsClick = ej2Schedule.moreEventsClick;
891
- exports.select = ej2Schedule.select;
892
- exports.hover = ej2Schedule.hover;
893
- exports.actionBegin = ej2Schedule.actionBegin;
894
- exports.actionComplete = ej2Schedule.actionComplete;
895
- exports.actionFailure = ej2Schedule.actionFailure;
896
- exports.navigating = ej2Schedule.navigating;
897
- exports.renderCell = ej2Schedule.renderCell;
898
- exports.eventClick = ej2Schedule.eventClick;
899
- exports.eventRendered = ej2Schedule.eventRendered;
900
- exports.dataBinding = ej2Schedule.dataBinding;
901
- exports.dataBound = ej2Schedule.dataBound;
902
- exports.popupOpen = ej2Schedule.popupOpen;
903
- exports.popupClose = ej2Schedule.popupClose;
904
- exports.dragStart = ej2Schedule.dragStart;
905
- exports.drag = ej2Schedule.drag;
906
- exports.dragStop = ej2Schedule.dragStop;
907
- exports.resizeStart = ej2Schedule.resizeStart;
908
- exports.resizing = ej2Schedule.resizing;
909
- exports.resizeStop = ej2Schedule.resizeStop;
910
- exports.inlineClick = ej2Schedule.inlineClick;
911
- exports.cellSelect = ej2Schedule.cellSelect;
912
- exports.initialLoad = ej2Schedule.initialLoad;
913
- exports.initialEnd = ej2Schedule.initialEnd;
914
- exports.print = ej2Schedule.print;
915
- exports.dataReady = ej2Schedule.dataReady;
916
- exports.eventsLoaded = ej2Schedule.eventsLoaded;
917
- exports.contentReady = ej2Schedule.contentReady;
918
- exports.scroll = ej2Schedule.scroll;
919
- exports.virtualScroll = ej2Schedule.virtualScroll;
920
- exports.scrollUiUpdate = ej2Schedule.scrollUiUpdate;
921
- exports.uiUpdate = ej2Schedule.uiUpdate;
922
- exports.documentClick = ej2Schedule.documentClick;
923
- exports.cellMouseDown = ej2Schedule.cellMouseDown;
924
- exports.WEEK_LENGTH = ej2Schedule.WEEK_LENGTH;
925
- exports.DEFAULT_WEEKS = ej2Schedule.DEFAULT_WEEKS;
926
- exports.MS_PER_DAY = ej2Schedule.MS_PER_DAY;
927
- exports.MS_PER_MINUTE = ej2Schedule.MS_PER_MINUTE;
928
- exports.getElementHeightFromClass = ej2Schedule.getElementHeightFromClass;
929
- exports.getElementWidthFromClass = ej2Schedule.getElementWidthFromClass;
930
- exports.getTranslateY = ej2Schedule.getTranslateY;
931
- exports.getTranslateX = ej2Schedule.getTranslateX;
932
- exports.getWeekFirstDate = ej2Schedule.getWeekFirstDate;
933
- exports.getWeekLastDate = ej2Schedule.getWeekLastDate;
934
- exports.firstDateOfMonth = ej2Schedule.firstDateOfMonth;
935
- exports.lastDateOfMonth = ej2Schedule.lastDateOfMonth;
936
- exports.getWeekNumber = ej2Schedule.getWeekNumber;
937
- exports.getWeekMiddleDate = ej2Schedule.getWeekMiddleDate;
938
- exports.setTime = ej2Schedule.setTime;
939
- exports.resetTime = ej2Schedule.resetTime;
940
- exports.getDateInMs = ej2Schedule.getDateInMs;
941
- exports.getDateCount = ej2Schedule.getDateCount;
942
- exports.addDays = ej2Schedule.addDays;
943
- exports.addMonths = ej2Schedule.addMonths;
944
- exports.addYears = ej2Schedule.addYears;
945
- exports.getStartEndHours = ej2Schedule.getStartEndHours;
946
- exports.getMaxDays = ej2Schedule.getMaxDays;
947
- exports.getDaysCount = ej2Schedule.getDaysCount;
948
- exports.getDateFromString = ej2Schedule.getDateFromString;
949
- exports.getScrollBarWidth = ej2Schedule.getScrollBarWidth;
950
- exports.findIndexInData = ej2Schedule.findIndexInData;
951
- exports.getOuterHeight = ej2Schedule.getOuterHeight;
952
- exports.removeChildren = ej2Schedule.removeChildren;
953
- exports.isDaylightSavingTime = ej2Schedule.isDaylightSavingTime;
954
- exports.getUniversalTime = ej2Schedule.getUniversalTime;
955
- exports.isMobile = ej2Schedule.isMobile;
956
- exports.isIPadDevice = ej2Schedule.isIPadDevice;
957
- exports.capitalizeFirstWord = ej2Schedule.capitalizeFirstWord;
958
- exports.Resize = ej2Schedule.Resize;
959
- exports.DragAndDrop = ej2Schedule.DragAndDrop;
960
- exports.HeaderRenderer = ej2Schedule.HeaderRenderer;
961
- exports.ViewBase = ej2Schedule.ViewBase;
962
- exports.Day = ej2Schedule.Day;
963
- exports.Week = ej2Schedule.Week;
964
- exports.WorkWeek = ej2Schedule.WorkWeek;
965
- exports.Month = ej2Schedule.Month;
966
- exports.Year = ej2Schedule.Year;
967
- exports.Agenda = ej2Schedule.Agenda;
968
- exports.MonthAgenda = ej2Schedule.MonthAgenda;
969
- exports.TimelineViews = ej2Schedule.TimelineViews;
970
- exports.TimelineMonth = ej2Schedule.TimelineMonth;
971
- exports.TimelineYear = ej2Schedule.TimelineYear;
972
- exports.Timezone = ej2Schedule.Timezone;
973
- exports.timezoneData = ej2Schedule.timezoneData;
974
- exports.ICalendarExport = ej2Schedule.ICalendarExport;
975
- exports.ICalendarImport = ej2Schedule.ICalendarImport;
976
- exports.ExcelExport = ej2Schedule.ExcelExport;
977
- exports.Print = ej2Schedule.Print;
978
- exports.RecurrenceEditor = ej2Schedule.RecurrenceEditor;
979
- exports.generateSummary = ej2Schedule.generateSummary;
980
- exports.generate = ej2Schedule.generate;
981
- exports.getDateFromRecurrenceDateString = ej2Schedule.getDateFromRecurrenceDateString;
982
- exports.extractObjectFromRule = ej2Schedule.extractObjectFromRule;
983
- exports.getCalendarUtil = ej2Schedule.getCalendarUtil;
984
- exports.getRecurrenceStringFromDate = ej2Schedule.getRecurrenceStringFromDate;
985
- exports.Gregorian = ej2Schedule.Gregorian;
986
- exports.Islamic = ej2Schedule.Islamic;
987
-
988
- Object.defineProperty(exports, '__esModule', { value: true });
989
-
990
- })));
991
- //# sourceMappingURL=ej2-angular-schedule.umd.js.map