@syncfusion/ej2-angular-schedule 31.2.15 → 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.
- package/@syncfusion/ej2-angular-schedule.es5.js +955 -0
- package/@syncfusion/ej2-angular-schedule.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-schedule.js +894 -0
- package/@syncfusion/ej2-angular-schedule.js.map +1 -0
- package/CHANGELOG.md +9 -517
- package/README.md +2 -9
- package/dist/ej2-angular-schedule.umd.js +1096 -0
- package/dist/ej2-angular-schedule.umd.js.map +1 -0
- package/dist/ej2-angular-schedule.umd.min.js +2 -0
- package/dist/ej2-angular-schedule.umd.min.js.map +1 -0
- package/ej2-angular-schedule.d.ts +6 -0
- package/ej2-angular-schedule.metadata.json +1 -0
- package/license +10 -0
- package/package.json +48 -30
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +39 -10
- package/schematics/generators/schedule-agenda-views/index.d.ts +3 -0
- package/schematics/generators/schedule-agenda-views/index.js +8 -0
- package/schematics/generators/schedule-agenda-views/index.ts +8 -0
- package/schematics/generators/schedule-agenda-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-agenda-views/sample-details.js +7 -0
- package/schematics/generators/schedule-agenda-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +29 -0
- package/schematics/generators/schedule-agenda-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-agenda-views/schema.js +2 -0
- package/schematics/generators/schedule-agenda-views/schema.json +125 -0
- package/schematics/generators/schedule-agenda-views/schema.ts +3 -0
- package/schematics/generators/schedule-calendar-views/index.d.ts +3 -0
- package/schematics/generators/schedule-calendar-views/index.js +8 -0
- package/schematics/generators/schedule-calendar-views/index.ts +8 -0
- package/schematics/generators/schedule-calendar-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-calendar-views/sample-details.js +7 -0
- package/schematics/generators/schedule-calendar-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +92 -0
- package/schematics/generators/schedule-calendar-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-calendar-views/schema.js +2 -0
- package/schematics/generators/schedule-calendar-views/schema.json +125 -0
- package/schematics/generators/schedule-calendar-views/schema.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/index.d.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/index.js +8 -0
- package/schematics/generators/schedule-horizontal-grouping/index.ts +8 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.js +7 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.ts +5 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +92 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +29 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +51 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +25 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.js +2 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.json +125 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.ts +3 -0
- package/schematics/generators/schedule-time-scale/index.d.ts +3 -0
- package/schematics/generators/schedule-time-scale/index.js +8 -0
- package/schematics/generators/schedule-time-scale/index.ts +8 -0
- package/schematics/generators/schedule-time-scale/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-time-scale/sample-details.js +7 -0
- package/schematics/generators/schedule-time-scale/sample-details.ts +5 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +22 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +62 -0
- package/schematics/generators/schedule-time-scale/schema.d.ts +3 -0
- package/schematics/generators/schedule-time-scale/schema.js +2 -0
- package/schematics/generators/schedule-time-scale/schema.json +125 -0
- package/schematics/generators/schedule-time-scale/schema.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/index.d.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/index.js +8 -0
- package/schematics/generators/schedule-timeline-grouping/index.ts +8 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.js +7 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.ts +5 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +6 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +23 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +39 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +92 -0
- package/schematics/generators/schedule-timeline-grouping/schema.d.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/schema.js +2 -0
- package/schematics/generators/schedule-timeline-grouping/schema.json +125 -0
- package/schematics/generators/schedule-timeline-grouping/schema.ts +3 -0
- package/schematics/generators/schedule-timeline-views/index.d.ts +3 -0
- package/schematics/generators/schedule-timeline-views/index.js +8 -0
- package/schematics/generators/schedule-timeline-views/index.ts +8 -0
- package/schematics/generators/schedule-timeline-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-timeline-views/sample-details.js +7 -0
- package/schematics/generators/schedule-timeline-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +184 -0
- package/schematics/generators/schedule-timeline-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-timeline-views/schema.js +2 -0
- package/schematics/generators/schedule-timeline-views/schema.json +125 -0
- package/schematics/generators/schedule-timeline-views/schema.ts +3 -0
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +0 -6
- package/src/recurrence-editor/recurrenceeditor.component.d.ts +0 -5
- package/src/recurrence-editor/recurrenceeditor.module.d.ts +0 -6
- package/src/schedule/headerrows.directive.d.ts +0 -5
- package/src/schedule/resources.directive.d.ts +0 -5
- package/src/schedule/schedule-all.module.d.ts +0 -6
- package/src/schedule/schedule.component.d.ts +0 -7
- package/src/schedule/schedule.module.d.ts +0 -10
- package/src/schedule/toolbaritems.directive.d.ts +0 -5
- package/src/schedule/views.directive.d.ts +0 -31
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -12
- package/esm2020/src/recurrence-editor/recurrenceeditor-all.module.mjs +0 -23
- package/esm2020/src/recurrence-editor/recurrenceeditor.component.mjs +0 -59
- package/esm2020/src/recurrence-editor/recurrenceeditor.module.mjs +0 -25
- package/esm2020/src/schedule/headerrows.directive.mjs +0 -66
- package/esm2020/src/schedule/resources.directive.mjs +0 -58
- package/esm2020/src/schedule/schedule-all.module.mjs +0 -74
- package/esm2020/src/schedule/schedule.component.mjs +0 -306
- package/esm2020/src/schedule/schedule.module.mjs +0 -61
- package/esm2020/src/schedule/toolbaritems.directive.mjs +0 -67
- package/esm2020/src/schedule/views.directive.mjs +0 -132
- package/esm2020/syncfusion-ej2-angular-schedule.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-schedule.mjs +0 -829
- package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-schedule.mjs +0 -829
- package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +0 -1
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -2
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -2
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -2
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/recurrence-editor/bds.css +0 -1
- package/styles/recurrence-editor/bds.scss +0 -1
- package/styles/recurrence-editor/bootstrap5.3.css +0 -1
- package/styles/recurrence-editor/bootstrap5.3.scss +0 -1
- package/styles/recurrence-editor/fluent2.css +0 -1
- package/styles/recurrence-editor/fluent2.scss +0 -1
- package/styles/recurrence-editor/tailwind3.css +0 -1
- package/styles/recurrence-editor/tailwind3.scss +0 -1
- package/styles/schedule/bds.css +0 -1
- package/styles/schedule/bds.scss +0 -1
- package/styles/schedule/bootstrap5.3.css +0 -1
- package/styles/schedule/bootstrap5.3.scss +0 -1
- package/styles/schedule/fluent2.css +0 -1
- package/styles/schedule/fluent2.scss +0 -1
- package/styles/schedule/tailwind3.css +0 -1
- package/styles/schedule/tailwind3.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -2
- package/syncfusion-ej2-angular-schedule.d.ts +0 -5
|
@@ -0,0 +1,1096 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-schedule'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-schedule', '@angular/common'], factory) :
|
|
4
|
+
(factory((global['ej2-angular-schedule'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.schedule,global.ng.common));
|
|
5
|
+
}(this, (function (exports,core,ej2AngularBase,ej2Schedule,common) { 'use strict';
|
|
6
|
+
|
|
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
|
+
*/
|
|
951
|
+
RecurrenceEditorAllModule.ctorParameters = function () { return []; };
|
|
952
|
+
|
|
953
|
+
exports.ViewDirective = ViewDirective;
|
|
954
|
+
exports.ViewsDirective = ViewsDirective;
|
|
955
|
+
exports.ResourceDirective = ResourceDirective;
|
|
956
|
+
exports.ResourcesDirective = ResourcesDirective;
|
|
957
|
+
exports.HeaderRowDirective = HeaderRowDirective;
|
|
958
|
+
exports.HeaderRowsDirective = HeaderRowsDirective;
|
|
959
|
+
exports.ToolbarItemDirective = ToolbarItemDirective;
|
|
960
|
+
exports.ToolbarItemsDirective = ToolbarItemsDirective;
|
|
961
|
+
exports.ScheduleModule = ScheduleModule;
|
|
962
|
+
exports.ScheduleAllModule = ScheduleAllModule;
|
|
963
|
+
exports.DayService = DayService;
|
|
964
|
+
exports.WeekService = WeekService;
|
|
965
|
+
exports.WorkWeekService = WorkWeekService;
|
|
966
|
+
exports.MonthService = MonthService;
|
|
967
|
+
exports.YearService = YearService;
|
|
968
|
+
exports.AgendaService = AgendaService;
|
|
969
|
+
exports.MonthAgendaService = MonthAgendaService;
|
|
970
|
+
exports.TimelineViewsService = TimelineViewsService;
|
|
971
|
+
exports.TimelineMonthService = TimelineMonthService;
|
|
972
|
+
exports.TimelineYearService = TimelineYearService;
|
|
973
|
+
exports.ResizeService = ResizeService;
|
|
974
|
+
exports.DragAndDropService = DragAndDropService;
|
|
975
|
+
exports.ExcelExportService = ExcelExportService;
|
|
976
|
+
exports.ICalendarExportService = ICalendarExportService;
|
|
977
|
+
exports.ICalendarImportService = ICalendarImportService;
|
|
978
|
+
exports.PrintService = PrintService;
|
|
979
|
+
exports.RecurrenceEditorModule = RecurrenceEditorModule;
|
|
980
|
+
exports.RecurrenceEditorAllModule = RecurrenceEditorAllModule;
|
|
981
|
+
exports.ɵc = inputs$1;
|
|
982
|
+
exports.ɵd = outputs$5;
|
|
983
|
+
exports.ɵa = inputs;
|
|
984
|
+
exports.ɵb = outputs$4;
|
|
985
|
+
exports.Schedule = ej2Schedule.Schedule;
|
|
986
|
+
exports.cellClick = ej2Schedule.cellClick;
|
|
987
|
+
exports.cellDoubleClick = ej2Schedule.cellDoubleClick;
|
|
988
|
+
exports.moreEventsClick = ej2Schedule.moreEventsClick;
|
|
989
|
+
exports.select = ej2Schedule.select;
|
|
990
|
+
exports.hover = ej2Schedule.hover;
|
|
991
|
+
exports.actionBegin = ej2Schedule.actionBegin;
|
|
992
|
+
exports.actionComplete = ej2Schedule.actionComplete;
|
|
993
|
+
exports.actionFailure = ej2Schedule.actionFailure;
|
|
994
|
+
exports.navigating = ej2Schedule.navigating;
|
|
995
|
+
exports.renderCell = ej2Schedule.renderCell;
|
|
996
|
+
exports.eventClick = ej2Schedule.eventClick;
|
|
997
|
+
exports.eventDoubleClick = ej2Schedule.eventDoubleClick;
|
|
998
|
+
exports.eventRendered = ej2Schedule.eventRendered;
|
|
999
|
+
exports.dataBinding = ej2Schedule.dataBinding;
|
|
1000
|
+
exports.dataBound = ej2Schedule.dataBound;
|
|
1001
|
+
exports.popupOpen = ej2Schedule.popupOpen;
|
|
1002
|
+
exports.popupClose = ej2Schedule.popupClose;
|
|
1003
|
+
exports.dragStart = ej2Schedule.dragStart;
|
|
1004
|
+
exports.drag = ej2Schedule.drag;
|
|
1005
|
+
exports.dragStop = ej2Schedule.dragStop;
|
|
1006
|
+
exports.resizeStart = ej2Schedule.resizeStart;
|
|
1007
|
+
exports.resizing = ej2Schedule.resizing;
|
|
1008
|
+
exports.resizeStop = ej2Schedule.resizeStop;
|
|
1009
|
+
exports.inlineClick = ej2Schedule.inlineClick;
|
|
1010
|
+
exports.cellSelect = ej2Schedule.cellSelect;
|
|
1011
|
+
exports.virtualScrollStart = ej2Schedule.virtualScrollStart;
|
|
1012
|
+
exports.virtualScrollStop = ej2Schedule.virtualScrollStop;
|
|
1013
|
+
exports.initialLoad = ej2Schedule.initialLoad;
|
|
1014
|
+
exports.initialEnd = ej2Schedule.initialEnd;
|
|
1015
|
+
exports.print = ej2Schedule.print;
|
|
1016
|
+
exports.dataReady = ej2Schedule.dataReady;
|
|
1017
|
+
exports.eventsLoaded = ej2Schedule.eventsLoaded;
|
|
1018
|
+
exports.contentReady = ej2Schedule.contentReady;
|
|
1019
|
+
exports.scroll = ej2Schedule.scroll;
|
|
1020
|
+
exports.virtualScroll = ej2Schedule.virtualScroll;
|
|
1021
|
+
exports.scrollUiUpdate = ej2Schedule.scrollUiUpdate;
|
|
1022
|
+
exports.uiUpdate = ej2Schedule.uiUpdate;
|
|
1023
|
+
exports.documentClick = ej2Schedule.documentClick;
|
|
1024
|
+
exports.cellMouseDown = ej2Schedule.cellMouseDown;
|
|
1025
|
+
exports.WEEK_LENGTH = ej2Schedule.WEEK_LENGTH;
|
|
1026
|
+
exports.DEFAULT_WEEKS = ej2Schedule.DEFAULT_WEEKS;
|
|
1027
|
+
exports.MS_PER_DAY = ej2Schedule.MS_PER_DAY;
|
|
1028
|
+
exports.MS_PER_MINUTE = ej2Schedule.MS_PER_MINUTE;
|
|
1029
|
+
exports.getElementHeightFromClass = ej2Schedule.getElementHeightFromClass;
|
|
1030
|
+
exports.getElementWidthFromClass = ej2Schedule.getElementWidthFromClass;
|
|
1031
|
+
exports.getTranslateY = ej2Schedule.getTranslateY;
|
|
1032
|
+
exports.getTranslateX = ej2Schedule.getTranslateX;
|
|
1033
|
+
exports.getWeekFirstDate = ej2Schedule.getWeekFirstDate;
|
|
1034
|
+
exports.getWeekLastDate = ej2Schedule.getWeekLastDate;
|
|
1035
|
+
exports.firstDateOfMonth = ej2Schedule.firstDateOfMonth;
|
|
1036
|
+
exports.lastDateOfMonth = ej2Schedule.lastDateOfMonth;
|
|
1037
|
+
exports.getWeekNumber = ej2Schedule.getWeekNumber;
|
|
1038
|
+
exports.getWeekMiddleDate = ej2Schedule.getWeekMiddleDate;
|
|
1039
|
+
exports.setTime = ej2Schedule.setTime;
|
|
1040
|
+
exports.resetTime = ej2Schedule.resetTime;
|
|
1041
|
+
exports.getDateInMs = ej2Schedule.getDateInMs;
|
|
1042
|
+
exports.getDateCount = ej2Schedule.getDateCount;
|
|
1043
|
+
exports.addDays = ej2Schedule.addDays;
|
|
1044
|
+
exports.addMonths = ej2Schedule.addMonths;
|
|
1045
|
+
exports.addYears = ej2Schedule.addYears;
|
|
1046
|
+
exports.getStartEndHours = ej2Schedule.getStartEndHours;
|
|
1047
|
+
exports.getMaxDays = ej2Schedule.getMaxDays;
|
|
1048
|
+
exports.getDaysCount = ej2Schedule.getDaysCount;
|
|
1049
|
+
exports.getDateFromString = ej2Schedule.getDateFromString;
|
|
1050
|
+
exports.getScrollBarWidth = ej2Schedule.getScrollBarWidth;
|
|
1051
|
+
exports.resetScrollbarWidth = ej2Schedule.resetScrollbarWidth;
|
|
1052
|
+
exports.findIndexInData = ej2Schedule.findIndexInData;
|
|
1053
|
+
exports.getOuterHeight = ej2Schedule.getOuterHeight;
|
|
1054
|
+
exports.removeChildren = ej2Schedule.removeChildren;
|
|
1055
|
+
exports.isDaylightSavingTime = ej2Schedule.isDaylightSavingTime;
|
|
1056
|
+
exports.getUniversalTime = ej2Schedule.getUniversalTime;
|
|
1057
|
+
exports.isMobile = ej2Schedule.isMobile;
|
|
1058
|
+
exports.isIPadDevice = ej2Schedule.isIPadDevice;
|
|
1059
|
+
exports.capitalizeFirstWord = ej2Schedule.capitalizeFirstWord;
|
|
1060
|
+
exports.getElementWidth = ej2Schedule.getElementWidth;
|
|
1061
|
+
exports.getElementHeight = ej2Schedule.getElementHeight;
|
|
1062
|
+
exports.getElementTop = ej2Schedule.getElementTop;
|
|
1063
|
+
exports.Resize = ej2Schedule.Resize;
|
|
1064
|
+
exports.DragAndDrop = ej2Schedule.DragAndDrop;
|
|
1065
|
+
exports.HeaderRenderer = ej2Schedule.HeaderRenderer;
|
|
1066
|
+
exports.ViewBase = ej2Schedule.ViewBase;
|
|
1067
|
+
exports.Day = ej2Schedule.Day;
|
|
1068
|
+
exports.Week = ej2Schedule.Week;
|
|
1069
|
+
exports.WorkWeek = ej2Schedule.WorkWeek;
|
|
1070
|
+
exports.Month = ej2Schedule.Month;
|
|
1071
|
+
exports.Year = ej2Schedule.Year;
|
|
1072
|
+
exports.Agenda = ej2Schedule.Agenda;
|
|
1073
|
+
exports.MonthAgenda = ej2Schedule.MonthAgenda;
|
|
1074
|
+
exports.TimelineViews = ej2Schedule.TimelineViews;
|
|
1075
|
+
exports.TimelineMonth = ej2Schedule.TimelineMonth;
|
|
1076
|
+
exports.TimelineYear = ej2Schedule.TimelineYear;
|
|
1077
|
+
exports.Timezone = ej2Schedule.Timezone;
|
|
1078
|
+
exports.timezoneData = ej2Schedule.timezoneData;
|
|
1079
|
+
exports.ICalendarExport = ej2Schedule.ICalendarExport;
|
|
1080
|
+
exports.ICalendarImport = ej2Schedule.ICalendarImport;
|
|
1081
|
+
exports.ExcelExport = ej2Schedule.ExcelExport;
|
|
1082
|
+
exports.Print = ej2Schedule.Print;
|
|
1083
|
+
exports.RecurrenceEditor = ej2Schedule.RecurrenceEditor;
|
|
1084
|
+
exports.generateSummary = ej2Schedule.generateSummary;
|
|
1085
|
+
exports.generate = ej2Schedule.generate;
|
|
1086
|
+
exports.getDateFromRecurrenceDateString = ej2Schedule.getDateFromRecurrenceDateString;
|
|
1087
|
+
exports.extractObjectFromRule = ej2Schedule.extractObjectFromRule;
|
|
1088
|
+
exports.getCalendarUtil = ej2Schedule.getCalendarUtil;
|
|
1089
|
+
exports.getRecurrenceStringFromDate = ej2Schedule.getRecurrenceStringFromDate;
|
|
1090
|
+
exports.Gregorian = ej2Schedule.Gregorian;
|
|
1091
|
+
exports.Islamic = ej2Schedule.Islamic;
|
|
1092
|
+
|
|
1093
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1094
|
+
|
|
1095
|
+
})));
|
|
1096
|
+
//# sourceMappingURL=ej2-angular-schedule.umd.js.map
|