@syncfusion/ej2-angular-layouts 29.2.4-ngcc → 30.1.37-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-layouts.es5.js +725 -725
- package/@syncfusion/ej2-angular-layouts.js +629 -629
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-layouts.umd.js +716 -716
- package/dist/ej2-angular-layouts.umd.min.js +1 -1
- package/ej2-angular-layouts.d.ts +7 -7
- package/package.json +15 -46
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/dashboard-layout/dashboardlayout-all.module.d.ts +5 -5
- package/src/dashboard-layout/dashboardlayout.component.d.ts +39 -39
- package/src/dashboard-layout/dashboardlayout.module.d.ts +5 -5
- package/src/dashboard-layout/panels.directive.d.ts +102 -102
- package/src/index.d.ts +13 -13
- package/src/splitter/panesettings.directive.d.ts +77 -77
- package/src/splitter/splitter-all.module.d.ts +5 -5
- package/src/splitter/splitter.component.d.ts +39 -39
- package/src/splitter/splitter.module.d.ts +5 -5
- package/src/timeline/items.directive.d.ts +59 -59
- package/src/timeline/timeline-all.module.d.ts +5 -5
- package/src/timeline/timeline.component.d.ts +46 -46
- package/src/timeline/timeline.module.d.ts +5 -5
@@ -3,659 +3,659 @@ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setVa
|
|
3
3
|
import { DashboardLayout, Splitter, Timeline } from '@syncfusion/ej2-layouts';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
|
6
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
9
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
10
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
11
|
-
};
|
12
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
14
|
-
};
|
15
|
-
let input = ['collapsed', 'collapsible', 'content', 'cssClass', 'max', 'min', 'resizable', 'size'];
|
16
|
-
let outputs = [];
|
17
|
-
/**
|
18
|
-
* 'e-panesettings' directive represent a panes of angular splitter
|
19
|
-
* It must be contained in a Splitter component(`ejs-splitter`).
|
20
|
-
* ```html
|
21
|
-
* <ejs-splitter id='splitter' >
|
22
|
-
* <e-panes>
|
23
|
-
* <e-pane size ='150px'></e-pane>
|
24
|
-
* <e-pane size = '20%'></e-pane>
|
25
|
-
* </e-panes>
|
26
|
-
* </ejs-splitter>
|
27
|
-
* ```
|
28
|
-
*/
|
29
|
-
class PaneDirective extends ComplexBase {
|
30
|
-
/**
|
31
|
-
* @param {?} viewContainerRef
|
32
|
-
*/
|
33
|
-
constructor(viewContainerRef) {
|
34
|
-
super();
|
35
|
-
this.viewContainerRef = viewContainerRef;
|
36
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
37
|
-
this.registerEvents(outputs);
|
38
|
-
this.directivePropList = input;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
PaneDirective.decorators = [
|
42
|
-
{ type: Directive, args: [{
|
43
|
-
selector: 'e-panes>e-pane',
|
44
|
-
inputs: input,
|
45
|
-
outputs: outputs,
|
46
|
-
queries: {}
|
47
|
-
},] },
|
48
|
-
];
|
49
|
-
/**
|
50
|
-
* @nocollapse
|
51
|
-
*/
|
52
|
-
PaneDirective.ctorParameters = () => [
|
53
|
-
{ type: ViewContainerRef, },
|
54
|
-
];
|
55
|
-
PaneDirective.propDecorators = {
|
56
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
57
|
-
};
|
58
|
-
__decorate([
|
59
|
-
Template(),
|
60
|
-
__metadata("design:type", Object)
|
61
|
-
], PaneDirective.prototype, "content", void 0);
|
62
|
-
/**
|
63
|
-
* Pane Array Directive
|
64
|
-
*/
|
65
|
-
class PanesDirective extends ArrayBase {
|
66
|
-
constructor() {
|
67
|
-
super('panesettings');
|
68
|
-
}
|
69
|
-
}
|
70
|
-
PanesDirective.decorators = [
|
71
|
-
{ type: Directive, args: [{
|
72
|
-
selector: 'ejs-splitter>e-panes',
|
73
|
-
queries: {
|
74
|
-
children: new ContentChildren(PaneDirective)
|
75
|
-
},
|
76
|
-
},] },
|
77
|
-
];
|
78
|
-
/**
|
79
|
-
* @nocollapse
|
80
|
-
*/
|
6
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
9
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
10
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
11
|
+
};
|
12
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
14
|
+
};
|
15
|
+
let input = ['collapsed', 'collapsible', 'content', 'cssClass', 'max', 'min', 'resizable', 'size'];
|
16
|
+
let outputs = [];
|
17
|
+
/**
|
18
|
+
* 'e-panesettings' directive represent a panes of angular splitter
|
19
|
+
* It must be contained in a Splitter component(`ejs-splitter`).
|
20
|
+
* ```html
|
21
|
+
* <ejs-splitter id='splitter' >
|
22
|
+
* <e-panes>
|
23
|
+
* <e-pane size ='150px'></e-pane>
|
24
|
+
* <e-pane size = '20%'></e-pane>
|
25
|
+
* </e-panes>
|
26
|
+
* </ejs-splitter>
|
27
|
+
* ```
|
28
|
+
*/
|
29
|
+
class PaneDirective extends ComplexBase {
|
30
|
+
/**
|
31
|
+
* @param {?} viewContainerRef
|
32
|
+
*/
|
33
|
+
constructor(viewContainerRef) {
|
34
|
+
super();
|
35
|
+
this.viewContainerRef = viewContainerRef;
|
36
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
37
|
+
this.registerEvents(outputs);
|
38
|
+
this.directivePropList = input;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
PaneDirective.decorators = [
|
42
|
+
{ type: Directive, args: [{
|
43
|
+
selector: 'e-panes>e-pane',
|
44
|
+
inputs: input,
|
45
|
+
outputs: outputs,
|
46
|
+
queries: {}
|
47
|
+
},] },
|
48
|
+
];
|
49
|
+
/**
|
50
|
+
* @nocollapse
|
51
|
+
*/
|
52
|
+
PaneDirective.ctorParameters = () => [
|
53
|
+
{ type: ViewContainerRef, },
|
54
|
+
];
|
55
|
+
PaneDirective.propDecorators = {
|
56
|
+
'content': [{ type: ContentChild, args: ['content',] },],
|
57
|
+
};
|
58
|
+
__decorate([
|
59
|
+
Template(),
|
60
|
+
__metadata("design:type", Object)
|
61
|
+
], PaneDirective.prototype, "content", void 0);
|
62
|
+
/**
|
63
|
+
* Pane Array Directive
|
64
|
+
*/
|
65
|
+
class PanesDirective extends ArrayBase {
|
66
|
+
constructor() {
|
67
|
+
super('panesettings');
|
68
|
+
}
|
69
|
+
}
|
70
|
+
PanesDirective.decorators = [
|
71
|
+
{ type: Directive, args: [{
|
72
|
+
selector: 'ejs-splitter>e-panes',
|
73
|
+
queries: {
|
74
|
+
children: new ContentChildren(PaneDirective)
|
75
|
+
},
|
76
|
+
},] },
|
77
|
+
];
|
78
|
+
/**
|
79
|
+
* @nocollapse
|
80
|
+
*/
|
81
81
|
PanesDirective.ctorParameters = () => [];
|
82
82
|
|
83
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
84
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
85
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
86
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
87
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
88
|
-
};
|
89
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
90
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
91
|
-
};
|
92
|
-
const inputs = ['cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width'];
|
93
|
-
const outputs$1 = ['beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];
|
94
|
-
const twoWays = [''];
|
95
|
-
/**
|
96
|
-
* Represents the Angular Splitter Component
|
97
|
-
* ```html
|
98
|
-
* <ejs-splitter></ejs-splitter>
|
99
|
-
* ```
|
100
|
-
*/
|
101
|
-
let SplitterComponent = class SplitterComponent extends Splitter {
|
102
|
-
/**
|
103
|
-
* @param {?} ngEle
|
104
|
-
* @param {?} srenderer
|
105
|
-
* @param {?} viewContainerRef
|
106
|
-
* @param {?} injector
|
107
|
-
*/
|
108
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
109
|
-
super();
|
110
|
-
this.ngEle = ngEle;
|
111
|
-
this.srenderer = srenderer;
|
112
|
-
this.viewContainerRef = viewContainerRef;
|
113
|
-
this.injector = injector;
|
114
|
-
this.tags = ['paneSettings'];
|
115
|
-
this.element = this.ngEle.nativeElement;
|
116
|
-
this.injectedModules = this.injectedModules || [];
|
117
|
-
this.registerEvents(outputs$1);
|
118
|
-
this.addTwoWay.call(this, twoWays);
|
119
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
120
|
-
this.containerContext = new ComponentBase();
|
121
|
-
}
|
122
|
-
/**
|
123
|
-
* @return {?}
|
124
|
-
*/
|
125
|
-
ngOnInit() {
|
126
|
-
this.containerContext.ngOnInit(this);
|
127
|
-
}
|
128
|
-
/**
|
129
|
-
* @return {?}
|
130
|
-
*/
|
131
|
-
ngAfterViewInit() {
|
132
|
-
this.containerContext.ngAfterViewInit(this);
|
133
|
-
}
|
134
|
-
/**
|
135
|
-
* @return {?}
|
136
|
-
*/
|
137
|
-
ngOnDestroy() {
|
138
|
-
this.containerContext.ngOnDestroy(this);
|
139
|
-
}
|
140
|
-
/**
|
141
|
-
* @return {?}
|
142
|
-
*/
|
143
|
-
ngAfterContentChecked() {
|
144
|
-
this.tagObjects[0].instance = this.childPaneSettings;
|
145
|
-
this.containerContext.ngAfterContentChecked(this);
|
146
|
-
}
|
147
|
-
};
|
148
|
-
SplitterComponent.decorators = [
|
149
|
-
{ type: Component, args: [{
|
150
|
-
selector: 'ejs-splitter',
|
151
|
-
inputs: inputs,
|
152
|
-
outputs: outputs$1,
|
153
|
-
template: `<ng-content select='div'></ng-content>`,
|
154
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
155
|
-
queries: {
|
156
|
-
childPaneSettings: new ContentChild(PanesDirective)
|
157
|
-
}
|
158
|
-
},] },
|
159
|
-
];
|
160
|
-
/**
|
161
|
-
* @nocollapse
|
162
|
-
*/
|
163
|
-
SplitterComponent.ctorParameters = () => [
|
164
|
-
{ type: ElementRef, },
|
165
|
-
{ type: Renderer2, },
|
166
|
-
{ type: ViewContainerRef, },
|
167
|
-
{ type: Injector, },
|
168
|
-
];
|
169
|
-
SplitterComponent = __decorate$1([
|
170
|
-
ComponentMixins([ComponentBase]),
|
171
|
-
__metadata$1("design:paramtypes", [ElementRef,
|
172
|
-
Renderer2,
|
173
|
-
ViewContainerRef,
|
174
|
-
Injector])
|
83
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
84
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
85
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
86
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
87
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
88
|
+
};
|
89
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
90
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
91
|
+
};
|
92
|
+
const inputs = ['cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width'];
|
93
|
+
const outputs$1 = ['beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];
|
94
|
+
const twoWays = [''];
|
95
|
+
/**
|
96
|
+
* Represents the Angular Splitter Component
|
97
|
+
* ```html
|
98
|
+
* <ejs-splitter></ejs-splitter>
|
99
|
+
* ```
|
100
|
+
*/
|
101
|
+
let SplitterComponent = class SplitterComponent extends Splitter {
|
102
|
+
/**
|
103
|
+
* @param {?} ngEle
|
104
|
+
* @param {?} srenderer
|
105
|
+
* @param {?} viewContainerRef
|
106
|
+
* @param {?} injector
|
107
|
+
*/
|
108
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
109
|
+
super();
|
110
|
+
this.ngEle = ngEle;
|
111
|
+
this.srenderer = srenderer;
|
112
|
+
this.viewContainerRef = viewContainerRef;
|
113
|
+
this.injector = injector;
|
114
|
+
this.tags = ['paneSettings'];
|
115
|
+
this.element = this.ngEle.nativeElement;
|
116
|
+
this.injectedModules = this.injectedModules || [];
|
117
|
+
this.registerEvents(outputs$1);
|
118
|
+
this.addTwoWay.call(this, twoWays);
|
119
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
120
|
+
this.containerContext = new ComponentBase();
|
121
|
+
}
|
122
|
+
/**
|
123
|
+
* @return {?}
|
124
|
+
*/
|
125
|
+
ngOnInit() {
|
126
|
+
this.containerContext.ngOnInit(this);
|
127
|
+
}
|
128
|
+
/**
|
129
|
+
* @return {?}
|
130
|
+
*/
|
131
|
+
ngAfterViewInit() {
|
132
|
+
this.containerContext.ngAfterViewInit(this);
|
133
|
+
}
|
134
|
+
/**
|
135
|
+
* @return {?}
|
136
|
+
*/
|
137
|
+
ngOnDestroy() {
|
138
|
+
this.containerContext.ngOnDestroy(this);
|
139
|
+
}
|
140
|
+
/**
|
141
|
+
* @return {?}
|
142
|
+
*/
|
143
|
+
ngAfterContentChecked() {
|
144
|
+
this.tagObjects[0].instance = this.childPaneSettings;
|
145
|
+
this.containerContext.ngAfterContentChecked(this);
|
146
|
+
}
|
147
|
+
};
|
148
|
+
SplitterComponent.decorators = [
|
149
|
+
{ type: Component, args: [{
|
150
|
+
selector: 'ejs-splitter',
|
151
|
+
inputs: inputs,
|
152
|
+
outputs: outputs$1,
|
153
|
+
template: `<ng-content select='div'></ng-content>`,
|
154
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
155
|
+
queries: {
|
156
|
+
childPaneSettings: new ContentChild(PanesDirective)
|
157
|
+
}
|
158
|
+
},] },
|
159
|
+
];
|
160
|
+
/**
|
161
|
+
* @nocollapse
|
162
|
+
*/
|
163
|
+
SplitterComponent.ctorParameters = () => [
|
164
|
+
{ type: ElementRef, },
|
165
|
+
{ type: Renderer2, },
|
166
|
+
{ type: ViewContainerRef, },
|
167
|
+
{ type: Injector, },
|
168
|
+
];
|
169
|
+
SplitterComponent = __decorate$1([
|
170
|
+
ComponentMixins([ComponentBase]),
|
171
|
+
__metadata$1("design:paramtypes", [ElementRef,
|
172
|
+
Renderer2,
|
173
|
+
ViewContainerRef,
|
174
|
+
Injector])
|
175
175
|
], SplitterComponent);
|
176
176
|
|
177
|
-
/**
|
178
|
-
* NgModule definition for the Splitter component.
|
179
|
-
*/
|
180
|
-
class SplitterModule {
|
181
|
-
}
|
182
|
-
SplitterModule.decorators = [
|
183
|
-
{ type: NgModule, args: [{
|
184
|
-
imports: [CommonModule],
|
185
|
-
declarations: [
|
186
|
-
SplitterComponent,
|
187
|
-
PaneDirective,
|
188
|
-
PanesDirective
|
189
|
-
],
|
190
|
-
exports: [
|
191
|
-
SplitterComponent,
|
192
|
-
PaneDirective,
|
193
|
-
PanesDirective
|
194
|
-
]
|
195
|
-
},] },
|
196
|
-
];
|
197
|
-
/**
|
198
|
-
* @nocollapse
|
199
|
-
*/
|
177
|
+
/**
|
178
|
+
* NgModule definition for the Splitter component.
|
179
|
+
*/
|
180
|
+
class SplitterModule {
|
181
|
+
}
|
182
|
+
SplitterModule.decorators = [
|
183
|
+
{ type: NgModule, args: [{
|
184
|
+
imports: [CommonModule],
|
185
|
+
declarations: [
|
186
|
+
SplitterComponent,
|
187
|
+
PaneDirective,
|
188
|
+
PanesDirective
|
189
|
+
],
|
190
|
+
exports: [
|
191
|
+
SplitterComponent,
|
192
|
+
PaneDirective,
|
193
|
+
PanesDirective
|
194
|
+
]
|
195
|
+
},] },
|
196
|
+
];
|
197
|
+
/**
|
198
|
+
* @nocollapse
|
199
|
+
*/
|
200
200
|
SplitterModule.ctorParameters = () => [];
|
201
201
|
|
202
|
-
/**
|
203
|
-
* NgModule definition for the Splitter component with providers.
|
204
|
-
*/
|
205
|
-
class SplitterAllModule {
|
206
|
-
}
|
207
|
-
SplitterAllModule.decorators = [
|
208
|
-
{ type: NgModule, args: [{
|
209
|
-
imports: [CommonModule, SplitterModule],
|
210
|
-
exports: [
|
211
|
-
SplitterModule
|
212
|
-
],
|
213
|
-
providers: []
|
214
|
-
},] },
|
215
|
-
];
|
216
|
-
/**
|
217
|
-
* @nocollapse
|
218
|
-
*/
|
202
|
+
/**
|
203
|
+
* NgModule definition for the Splitter component with providers.
|
204
|
+
*/
|
205
|
+
class SplitterAllModule {
|
206
|
+
}
|
207
|
+
SplitterAllModule.decorators = [
|
208
|
+
{ type: NgModule, args: [{
|
209
|
+
imports: [CommonModule, SplitterModule],
|
210
|
+
exports: [
|
211
|
+
SplitterModule
|
212
|
+
],
|
213
|
+
providers: []
|
214
|
+
},] },
|
215
|
+
];
|
216
|
+
/**
|
217
|
+
* @nocollapse
|
218
|
+
*/
|
219
219
|
SplitterAllModule.ctorParameters = () => [];
|
220
220
|
|
221
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
222
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
223
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
224
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
225
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
226
|
-
};
|
227
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
228
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
229
|
-
};
|
230
|
-
let input$1 = ['col', 'content', 'cssClass', 'enabled', 'header', 'id', 'maxSizeX', 'maxSizeY', 'minSizeX', 'minSizeY', 'row', 'sizeX', 'sizeY', 'zIndex'];
|
231
|
-
let outputs$2 = [];
|
232
|
-
/**
|
233
|
-
* 'e-panels' directive represent a panels of angular dashboardlayout
|
234
|
-
* It must be contained in a dashboardlayout component(`ej-dashboardlayout`).
|
235
|
-
* ```html
|
236
|
-
* <ejs-dashboardlayout>
|
237
|
-
* <e-panels>
|
238
|
-
* <e-panel></e-panel>
|
239
|
-
* <e-panel></e-panel>
|
240
|
-
* </e-panels>
|
241
|
-
* </ejs-dashboardlayout>
|
242
|
-
* ```
|
243
|
-
*/
|
244
|
-
class PanelDirective extends ComplexBase {
|
245
|
-
/**
|
246
|
-
* @param {?} viewContainerRef
|
247
|
-
*/
|
248
|
-
constructor(viewContainerRef) {
|
249
|
-
super();
|
250
|
-
this.viewContainerRef = viewContainerRef;
|
251
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
252
|
-
this.registerEvents(outputs$2);
|
253
|
-
this.directivePropList = input$1;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
PanelDirective.decorators = [
|
257
|
-
{ type: Directive, args: [{
|
258
|
-
selector: 'e-panels>e-panel',
|
259
|
-
inputs: input$1,
|
260
|
-
outputs: outputs$2,
|
261
|
-
queries: {}
|
262
|
-
},] },
|
263
|
-
];
|
264
|
-
/**
|
265
|
-
* @nocollapse
|
266
|
-
*/
|
267
|
-
PanelDirective.ctorParameters = () => [
|
268
|
-
{ type: ViewContainerRef, },
|
269
|
-
];
|
270
|
-
PanelDirective.propDecorators = {
|
271
|
-
'header': [{ type: ContentChild, args: ['header',] },],
|
272
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
273
|
-
};
|
274
|
-
__decorate$2([
|
275
|
-
Template(),
|
276
|
-
__metadata$2("design:type", Object)
|
277
|
-
], PanelDirective.prototype, "header", void 0);
|
278
|
-
__decorate$2([
|
279
|
-
Template(),
|
280
|
-
__metadata$2("design:type", Object)
|
281
|
-
], PanelDirective.prototype, "content", void 0);
|
282
|
-
/**
|
283
|
-
* Panel Array Directive
|
284
|
-
*/
|
285
|
-
class PanelsDirective extends ArrayBase {
|
286
|
-
constructor() {
|
287
|
-
super('panels');
|
288
|
-
}
|
289
|
-
}
|
290
|
-
PanelsDirective.decorators = [
|
291
|
-
{ type: Directive, args: [{
|
292
|
-
selector: 'ejs-dashboardlayout>e-panels',
|
293
|
-
queries: {
|
294
|
-
children: new ContentChildren(PanelDirective)
|
295
|
-
},
|
296
|
-
},] },
|
297
|
-
];
|
298
|
-
/**
|
299
|
-
* @nocollapse
|
300
|
-
*/
|
221
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
222
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
223
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
224
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
225
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
226
|
+
};
|
227
|
+
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
228
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
229
|
+
};
|
230
|
+
let input$1 = ['col', 'content', 'cssClass', 'enabled', 'header', 'id', 'maxSizeX', 'maxSizeY', 'minSizeX', 'minSizeY', 'row', 'sizeX', 'sizeY', 'zIndex'];
|
231
|
+
let outputs$2 = [];
|
232
|
+
/**
|
233
|
+
* 'e-panels' directive represent a panels of angular dashboardlayout
|
234
|
+
* It must be contained in a dashboardlayout component(`ej-dashboardlayout`).
|
235
|
+
* ```html
|
236
|
+
* <ejs-dashboardlayout>
|
237
|
+
* <e-panels>
|
238
|
+
* <e-panel></e-panel>
|
239
|
+
* <e-panel></e-panel>
|
240
|
+
* </e-panels>
|
241
|
+
* </ejs-dashboardlayout>
|
242
|
+
* ```
|
243
|
+
*/
|
244
|
+
class PanelDirective extends ComplexBase {
|
245
|
+
/**
|
246
|
+
* @param {?} viewContainerRef
|
247
|
+
*/
|
248
|
+
constructor(viewContainerRef) {
|
249
|
+
super();
|
250
|
+
this.viewContainerRef = viewContainerRef;
|
251
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
252
|
+
this.registerEvents(outputs$2);
|
253
|
+
this.directivePropList = input$1;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
PanelDirective.decorators = [
|
257
|
+
{ type: Directive, args: [{
|
258
|
+
selector: 'e-panels>e-panel',
|
259
|
+
inputs: input$1,
|
260
|
+
outputs: outputs$2,
|
261
|
+
queries: {}
|
262
|
+
},] },
|
263
|
+
];
|
264
|
+
/**
|
265
|
+
* @nocollapse
|
266
|
+
*/
|
267
|
+
PanelDirective.ctorParameters = () => [
|
268
|
+
{ type: ViewContainerRef, },
|
269
|
+
];
|
270
|
+
PanelDirective.propDecorators = {
|
271
|
+
'header': [{ type: ContentChild, args: ['header',] },],
|
272
|
+
'content': [{ type: ContentChild, args: ['content',] },],
|
273
|
+
};
|
274
|
+
__decorate$2([
|
275
|
+
Template(),
|
276
|
+
__metadata$2("design:type", Object)
|
277
|
+
], PanelDirective.prototype, "header", void 0);
|
278
|
+
__decorate$2([
|
279
|
+
Template(),
|
280
|
+
__metadata$2("design:type", Object)
|
281
|
+
], PanelDirective.prototype, "content", void 0);
|
282
|
+
/**
|
283
|
+
* Panel Array Directive
|
284
|
+
*/
|
285
|
+
class PanelsDirective extends ArrayBase {
|
286
|
+
constructor() {
|
287
|
+
super('panels');
|
288
|
+
}
|
289
|
+
}
|
290
|
+
PanelsDirective.decorators = [
|
291
|
+
{ type: Directive, args: [{
|
292
|
+
selector: 'ejs-dashboardlayout>e-panels',
|
293
|
+
queries: {
|
294
|
+
children: new ContentChildren(PanelDirective)
|
295
|
+
},
|
296
|
+
},] },
|
297
|
+
];
|
298
|
+
/**
|
299
|
+
* @nocollapse
|
300
|
+
*/
|
301
301
|
PanelsDirective.ctorParameters = () => [];
|
302
302
|
|
303
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
304
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
305
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
306
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
307
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
308
|
-
};
|
309
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
310
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
311
|
-
};
|
312
|
-
const inputs$1 = ['allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines'];
|
313
|
-
const outputs$3 = ['change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];
|
314
|
-
const twoWays$1 = [''];
|
315
|
-
/**
|
316
|
-
* Represents the Essential JS 2 Angular DashboardLayout Component.
|
317
|
-
* ```html
|
318
|
-
* <ejs-dashboardlayout></ejs-dashboardlayout>
|
319
|
-
* ```
|
320
|
-
*/
|
321
|
-
let DashboardLayoutComponent = class DashboardLayoutComponent extends DashboardLayout {
|
322
|
-
/**
|
323
|
-
* @param {?} ngEle
|
324
|
-
* @param {?} srenderer
|
325
|
-
* @param {?} viewContainerRef
|
326
|
-
* @param {?} injector
|
327
|
-
*/
|
328
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
329
|
-
super();
|
330
|
-
this.ngEle = ngEle;
|
331
|
-
this.srenderer = srenderer;
|
332
|
-
this.viewContainerRef = viewContainerRef;
|
333
|
-
this.injector = injector;
|
334
|
-
this.tags = ['panels'];
|
335
|
-
this.element = this.ngEle.nativeElement;
|
336
|
-
this.injectedModules = this.injectedModules || [];
|
337
|
-
this.registerEvents(outputs$3);
|
338
|
-
this.addTwoWay.call(this, twoWays$1);
|
339
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
340
|
-
this.containerContext = new ComponentBase();
|
341
|
-
}
|
342
|
-
/**
|
343
|
-
* @return {?}
|
344
|
-
*/
|
345
|
-
ngOnInit() {
|
346
|
-
this.containerContext.ngOnInit(this);
|
347
|
-
}
|
348
|
-
/**
|
349
|
-
* @return {?}
|
350
|
-
*/
|
351
|
-
ngAfterViewInit() {
|
352
|
-
this.containerContext.ngAfterViewInit(this);
|
353
|
-
}
|
354
|
-
/**
|
355
|
-
* @return {?}
|
356
|
-
*/
|
357
|
-
ngOnDestroy() {
|
358
|
-
this.containerContext.ngOnDestroy(this);
|
359
|
-
}
|
360
|
-
/**
|
361
|
-
* @return {?}
|
362
|
-
*/
|
363
|
-
ngAfterContentChecked() {
|
364
|
-
this.tagObjects[0].instance = this.childPanels;
|
365
|
-
this.containerContext.ngAfterContentChecked(this);
|
366
|
-
}
|
367
|
-
};
|
368
|
-
DashboardLayoutComponent.decorators = [
|
369
|
-
{ type: Component, args: [{
|
370
|
-
selector: 'ejs-dashboardlayout',
|
371
|
-
inputs: inputs$1,
|
372
|
-
outputs: outputs$3,
|
373
|
-
template: `<ng-content select='div'></ng-content>`,
|
374
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
375
|
-
queries: {
|
376
|
-
childPanels: new ContentChild(PanelsDirective)
|
377
|
-
}
|
378
|
-
},] },
|
379
|
-
];
|
380
|
-
/**
|
381
|
-
* @nocollapse
|
382
|
-
*/
|
383
|
-
DashboardLayoutComponent.ctorParameters = () => [
|
384
|
-
{ type: ElementRef, },
|
385
|
-
{ type: Renderer2, },
|
386
|
-
{ type: ViewContainerRef, },
|
387
|
-
{ type: Injector, },
|
388
|
-
];
|
389
|
-
DashboardLayoutComponent = __decorate$3([
|
390
|
-
ComponentMixins([ComponentBase]),
|
391
|
-
__metadata$3("design:paramtypes", [ElementRef,
|
392
|
-
Renderer2,
|
393
|
-
ViewContainerRef,
|
394
|
-
Injector])
|
303
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
304
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
305
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
306
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
307
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
308
|
+
};
|
309
|
+
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
310
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
311
|
+
};
|
312
|
+
const inputs$1 = ['allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines'];
|
313
|
+
const outputs$3 = ['change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];
|
314
|
+
const twoWays$1 = [''];
|
315
|
+
/**
|
316
|
+
* Represents the Essential JS 2 Angular DashboardLayout Component.
|
317
|
+
* ```html
|
318
|
+
* <ejs-dashboardlayout></ejs-dashboardlayout>
|
319
|
+
* ```
|
320
|
+
*/
|
321
|
+
let DashboardLayoutComponent = class DashboardLayoutComponent extends DashboardLayout {
|
322
|
+
/**
|
323
|
+
* @param {?} ngEle
|
324
|
+
* @param {?} srenderer
|
325
|
+
* @param {?} viewContainerRef
|
326
|
+
* @param {?} injector
|
327
|
+
*/
|
328
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
329
|
+
super();
|
330
|
+
this.ngEle = ngEle;
|
331
|
+
this.srenderer = srenderer;
|
332
|
+
this.viewContainerRef = viewContainerRef;
|
333
|
+
this.injector = injector;
|
334
|
+
this.tags = ['panels'];
|
335
|
+
this.element = this.ngEle.nativeElement;
|
336
|
+
this.injectedModules = this.injectedModules || [];
|
337
|
+
this.registerEvents(outputs$3);
|
338
|
+
this.addTwoWay.call(this, twoWays$1);
|
339
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
340
|
+
this.containerContext = new ComponentBase();
|
341
|
+
}
|
342
|
+
/**
|
343
|
+
* @return {?}
|
344
|
+
*/
|
345
|
+
ngOnInit() {
|
346
|
+
this.containerContext.ngOnInit(this);
|
347
|
+
}
|
348
|
+
/**
|
349
|
+
* @return {?}
|
350
|
+
*/
|
351
|
+
ngAfterViewInit() {
|
352
|
+
this.containerContext.ngAfterViewInit(this);
|
353
|
+
}
|
354
|
+
/**
|
355
|
+
* @return {?}
|
356
|
+
*/
|
357
|
+
ngOnDestroy() {
|
358
|
+
this.containerContext.ngOnDestroy(this);
|
359
|
+
}
|
360
|
+
/**
|
361
|
+
* @return {?}
|
362
|
+
*/
|
363
|
+
ngAfterContentChecked() {
|
364
|
+
this.tagObjects[0].instance = this.childPanels;
|
365
|
+
this.containerContext.ngAfterContentChecked(this);
|
366
|
+
}
|
367
|
+
};
|
368
|
+
DashboardLayoutComponent.decorators = [
|
369
|
+
{ type: Component, args: [{
|
370
|
+
selector: 'ejs-dashboardlayout',
|
371
|
+
inputs: inputs$1,
|
372
|
+
outputs: outputs$3,
|
373
|
+
template: `<ng-content select='div'></ng-content>`,
|
374
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
375
|
+
queries: {
|
376
|
+
childPanels: new ContentChild(PanelsDirective)
|
377
|
+
}
|
378
|
+
},] },
|
379
|
+
];
|
380
|
+
/**
|
381
|
+
* @nocollapse
|
382
|
+
*/
|
383
|
+
DashboardLayoutComponent.ctorParameters = () => [
|
384
|
+
{ type: ElementRef, },
|
385
|
+
{ type: Renderer2, },
|
386
|
+
{ type: ViewContainerRef, },
|
387
|
+
{ type: Injector, },
|
388
|
+
];
|
389
|
+
DashboardLayoutComponent = __decorate$3([
|
390
|
+
ComponentMixins([ComponentBase]),
|
391
|
+
__metadata$3("design:paramtypes", [ElementRef,
|
392
|
+
Renderer2,
|
393
|
+
ViewContainerRef,
|
394
|
+
Injector])
|
395
395
|
], DashboardLayoutComponent);
|
396
396
|
|
397
|
-
/**
|
398
|
-
* NgModule definition for the DashboardLayout component.
|
399
|
-
*/
|
400
|
-
class DashboardLayoutModule {
|
401
|
-
}
|
402
|
-
DashboardLayoutModule.decorators = [
|
403
|
-
{ type: NgModule, args: [{
|
404
|
-
imports: [CommonModule],
|
405
|
-
declarations: [
|
406
|
-
DashboardLayoutComponent,
|
407
|
-
PanelDirective,
|
408
|
-
PanelsDirective
|
409
|
-
],
|
410
|
-
exports: [
|
411
|
-
DashboardLayoutComponent,
|
412
|
-
PanelDirective,
|
413
|
-
PanelsDirective
|
414
|
-
]
|
415
|
-
},] },
|
416
|
-
];
|
417
|
-
/**
|
418
|
-
* @nocollapse
|
419
|
-
*/
|
397
|
+
/**
|
398
|
+
* NgModule definition for the DashboardLayout component.
|
399
|
+
*/
|
400
|
+
class DashboardLayoutModule {
|
401
|
+
}
|
402
|
+
DashboardLayoutModule.decorators = [
|
403
|
+
{ type: NgModule, args: [{
|
404
|
+
imports: [CommonModule],
|
405
|
+
declarations: [
|
406
|
+
DashboardLayoutComponent,
|
407
|
+
PanelDirective,
|
408
|
+
PanelsDirective
|
409
|
+
],
|
410
|
+
exports: [
|
411
|
+
DashboardLayoutComponent,
|
412
|
+
PanelDirective,
|
413
|
+
PanelsDirective
|
414
|
+
]
|
415
|
+
},] },
|
416
|
+
];
|
417
|
+
/**
|
418
|
+
* @nocollapse
|
419
|
+
*/
|
420
420
|
DashboardLayoutModule.ctorParameters = () => [];
|
421
421
|
|
422
|
-
/**
|
423
|
-
* NgModule definition for the DashboardLayout component with providers.
|
424
|
-
*/
|
425
|
-
class DashboardLayoutAllModule {
|
426
|
-
}
|
427
|
-
DashboardLayoutAllModule.decorators = [
|
428
|
-
{ type: NgModule, args: [{
|
429
|
-
imports: [CommonModule, DashboardLayoutModule],
|
430
|
-
exports: [
|
431
|
-
DashboardLayoutModule
|
432
|
-
],
|
433
|
-
providers: []
|
434
|
-
},] },
|
435
|
-
];
|
436
|
-
/**
|
437
|
-
* @nocollapse
|
438
|
-
*/
|
422
|
+
/**
|
423
|
+
* NgModule definition for the DashboardLayout component with providers.
|
424
|
+
*/
|
425
|
+
class DashboardLayoutAllModule {
|
426
|
+
}
|
427
|
+
DashboardLayoutAllModule.decorators = [
|
428
|
+
{ type: NgModule, args: [{
|
429
|
+
imports: [CommonModule, DashboardLayoutModule],
|
430
|
+
exports: [
|
431
|
+
DashboardLayoutModule
|
432
|
+
],
|
433
|
+
providers: []
|
434
|
+
},] },
|
435
|
+
];
|
436
|
+
/**
|
437
|
+
* @nocollapse
|
438
|
+
*/
|
439
439
|
DashboardLayoutAllModule.ctorParameters = () => [];
|
440
440
|
|
441
|
-
let input$2 = ['content', 'cssClass', 'disabled', 'dotCss', 'oppositeContent'];
|
442
|
-
let outputs$4 = [];
|
443
|
-
/**
|
444
|
-
* 'e-timelineItem' directive represents a item of the Angular Timeline.
|
445
|
-
* It must be contained in a Timeline component(`ejs-timeline`).
|
446
|
-
* ```html
|
447
|
-
* <ejs-timeline>
|
448
|
-
* <e-items>
|
449
|
-
* <e-item [dotCss]='e-icons e-folder' [content]='Item 1' />
|
450
|
-
* <e-item [dotCss]='e-icons e-folder' [content]='Item 2' />
|
451
|
-
* </e-items>
|
452
|
-
* </ejs-timeline>
|
453
|
-
* ```
|
454
|
-
*/
|
455
|
-
class ItemDirective extends ComplexBase {
|
456
|
-
/**
|
457
|
-
* @param {?} viewContainerRef
|
458
|
-
*/
|
459
|
-
constructor(viewContainerRef) {
|
460
|
-
super();
|
461
|
-
this.viewContainerRef = viewContainerRef;
|
462
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
463
|
-
this.registerEvents(outputs$4);
|
464
|
-
this.directivePropList = input$2;
|
465
|
-
}
|
466
|
-
}
|
467
|
-
ItemDirective.decorators = [
|
468
|
-
{ type: Directive, args: [{
|
469
|
-
selector: 'ejs-timeline>e-items>e-item',
|
470
|
-
inputs: input$2,
|
471
|
-
outputs: outputs$4,
|
472
|
-
queries: {}
|
473
|
-
},] },
|
474
|
-
];
|
475
|
-
/**
|
476
|
-
* @nocollapse
|
477
|
-
*/
|
478
|
-
ItemDirective.ctorParameters = () => [
|
479
|
-
{ type: ViewContainerRef, },
|
480
|
-
];
|
481
|
-
/**
|
482
|
-
* Item Array Directive
|
483
|
-
*/
|
484
|
-
class ItemsDirective extends ArrayBase {
|
485
|
-
constructor() {
|
486
|
-
super('items');
|
487
|
-
}
|
488
|
-
}
|
489
|
-
ItemsDirective.decorators = [
|
490
|
-
{ type: Directive, args: [{
|
491
|
-
selector: 'ejs-timeline>e-items',
|
492
|
-
queries: {
|
493
|
-
children: new ContentChildren(ItemDirective)
|
494
|
-
},
|
495
|
-
},] },
|
496
|
-
];
|
497
|
-
/**
|
498
|
-
* @nocollapse
|
499
|
-
*/
|
441
|
+
let input$2 = ['content', 'cssClass', 'disabled', 'dotCss', 'oppositeContent'];
|
442
|
+
let outputs$4 = [];
|
443
|
+
/**
|
444
|
+
* 'e-timelineItem' directive represents a item of the Angular Timeline.
|
445
|
+
* It must be contained in a Timeline component(`ejs-timeline`).
|
446
|
+
* ```html
|
447
|
+
* <ejs-timeline>
|
448
|
+
* <e-items>
|
449
|
+
* <e-item [dotCss]='e-icons e-folder' [content]='Item 1' />
|
450
|
+
* <e-item [dotCss]='e-icons e-folder' [content]='Item 2' />
|
451
|
+
* </e-items>
|
452
|
+
* </ejs-timeline>
|
453
|
+
* ```
|
454
|
+
*/
|
455
|
+
class ItemDirective extends ComplexBase {
|
456
|
+
/**
|
457
|
+
* @param {?} viewContainerRef
|
458
|
+
*/
|
459
|
+
constructor(viewContainerRef) {
|
460
|
+
super();
|
461
|
+
this.viewContainerRef = viewContainerRef;
|
462
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
463
|
+
this.registerEvents(outputs$4);
|
464
|
+
this.directivePropList = input$2;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
ItemDirective.decorators = [
|
468
|
+
{ type: Directive, args: [{
|
469
|
+
selector: 'ejs-timeline>e-items>e-item',
|
470
|
+
inputs: input$2,
|
471
|
+
outputs: outputs$4,
|
472
|
+
queries: {}
|
473
|
+
},] },
|
474
|
+
];
|
475
|
+
/**
|
476
|
+
* @nocollapse
|
477
|
+
*/
|
478
|
+
ItemDirective.ctorParameters = () => [
|
479
|
+
{ type: ViewContainerRef, },
|
480
|
+
];
|
481
|
+
/**
|
482
|
+
* Item Array Directive
|
483
|
+
*/
|
484
|
+
class ItemsDirective extends ArrayBase {
|
485
|
+
constructor() {
|
486
|
+
super('items');
|
487
|
+
}
|
488
|
+
}
|
489
|
+
ItemsDirective.decorators = [
|
490
|
+
{ type: Directive, args: [{
|
491
|
+
selector: 'ejs-timeline>e-items',
|
492
|
+
queries: {
|
493
|
+
children: new ContentChildren(ItemDirective)
|
494
|
+
},
|
495
|
+
},] },
|
496
|
+
];
|
497
|
+
/**
|
498
|
+
* @nocollapse
|
499
|
+
*/
|
500
500
|
ItemsDirective.ctorParameters = () => [];
|
501
501
|
|
502
|
-
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
503
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
504
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
505
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
506
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
507
|
-
};
|
508
|
-
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
509
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
510
|
-
};
|
511
|
-
const inputs$2 = ['align', 'cssClass', 'enablePersistence', 'enableRtl', 'items', 'locale', 'orientation', 'reverse', 'template'];
|
512
|
-
const outputs$5 = ['beforeItemRender', 'created'];
|
513
|
-
const twoWays$2 = [];
|
514
|
-
/**
|
515
|
-
* Represents the EJ2 Angular Timeline Component.
|
516
|
-
* ```html
|
517
|
-
* <div ejs-timeline [items]='timelineItems'></div>
|
518
|
-
* ```
|
519
|
-
*/
|
520
|
-
let TimelineComponent = class TimelineComponent extends Timeline {
|
521
|
-
/**
|
522
|
-
* @param {?} ngEle
|
523
|
-
* @param {?} srenderer
|
524
|
-
* @param {?} viewContainerRef
|
525
|
-
* @param {?} injector
|
526
|
-
*/
|
527
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
528
|
-
super();
|
529
|
-
this.ngEle = ngEle;
|
530
|
-
this.srenderer = srenderer;
|
531
|
-
this.viewContainerRef = viewContainerRef;
|
532
|
-
this.injector = injector;
|
533
|
-
this.tags = ['items'];
|
534
|
-
this.element = this.ngEle.nativeElement;
|
535
|
-
this.injectedModules = this.injectedModules || [];
|
536
|
-
this.registerEvents(outputs$5);
|
537
|
-
this.addTwoWay.call(this, twoWays$2);
|
538
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
539
|
-
this.containerContext = new ComponentBase();
|
540
|
-
}
|
541
|
-
/**
|
542
|
-
* @return {?}
|
543
|
-
*/
|
544
|
-
ngOnInit() {
|
545
|
-
this.containerContext.ngOnInit(this);
|
546
|
-
}
|
547
|
-
/**
|
548
|
-
* @return {?}
|
549
|
-
*/
|
550
|
-
ngAfterViewInit() {
|
551
|
-
this.containerContext.ngAfterViewInit(this);
|
552
|
-
}
|
553
|
-
/**
|
554
|
-
* @return {?}
|
555
|
-
*/
|
556
|
-
ngOnDestroy() {
|
557
|
-
this.containerContext.ngOnDestroy(this);
|
558
|
-
}
|
559
|
-
/**
|
560
|
-
* @return {?}
|
561
|
-
*/
|
562
|
-
ngAfterContentChecked() {
|
563
|
-
this.tagObjects[0].instance = this.childItems;
|
564
|
-
this.containerContext.ngAfterContentChecked(this);
|
565
|
-
}
|
566
|
-
};
|
567
|
-
TimelineComponent.decorators = [
|
568
|
-
{ type: Component, args: [{
|
569
|
-
selector: 'ejs-timeline',
|
570
|
-
inputs: inputs$2,
|
571
|
-
outputs: outputs$5,
|
572
|
-
template: `<ng-content select='div'></ng-content>`,
|
573
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
574
|
-
queries: {
|
575
|
-
childItems: new ContentChild(ItemsDirective)
|
576
|
-
}
|
577
|
-
},] },
|
578
|
-
];
|
579
|
-
/**
|
580
|
-
* @nocollapse
|
581
|
-
*/
|
582
|
-
TimelineComponent.ctorParameters = () => [
|
583
|
-
{ type: ElementRef, },
|
584
|
-
{ type: Renderer2, },
|
585
|
-
{ type: ViewContainerRef, },
|
586
|
-
{ type: Injector, },
|
587
|
-
];
|
588
|
-
TimelineComponent.propDecorators = {
|
589
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
590
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
591
|
-
'oppositeContent': [{ type: ContentChild, args: ['oppositeContent',] },],
|
592
|
-
};
|
593
|
-
__decorate$4([
|
594
|
-
Template(),
|
595
|
-
__metadata$4("design:type", Object)
|
596
|
-
], TimelineComponent.prototype, "template", void 0);
|
597
|
-
__decorate$4([
|
598
|
-
Template(),
|
599
|
-
__metadata$4("design:type", Object)
|
600
|
-
], TimelineComponent.prototype, "content", void 0);
|
601
|
-
__decorate$4([
|
602
|
-
Template(),
|
603
|
-
__metadata$4("design:type", Object)
|
604
|
-
], TimelineComponent.prototype, "oppositeContent", void 0);
|
605
|
-
TimelineComponent = __decorate$4([
|
606
|
-
ComponentMixins([ComponentBase]),
|
607
|
-
__metadata$4("design:paramtypes", [ElementRef,
|
608
|
-
Renderer2,
|
609
|
-
ViewContainerRef,
|
610
|
-
Injector])
|
502
|
+
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
503
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
504
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
505
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
506
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
507
|
+
};
|
508
|
+
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
509
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
510
|
+
};
|
511
|
+
const inputs$2 = ['align', 'cssClass', 'enablePersistence', 'enableRtl', 'items', 'locale', 'orientation', 'reverse', 'template'];
|
512
|
+
const outputs$5 = ['beforeItemRender', 'created'];
|
513
|
+
const twoWays$2 = [];
|
514
|
+
/**
|
515
|
+
* Represents the EJ2 Angular Timeline Component.
|
516
|
+
* ```html
|
517
|
+
* <div ejs-timeline [items]='timelineItems'></div>
|
518
|
+
* ```
|
519
|
+
*/
|
520
|
+
let TimelineComponent = class TimelineComponent extends Timeline {
|
521
|
+
/**
|
522
|
+
* @param {?} ngEle
|
523
|
+
* @param {?} srenderer
|
524
|
+
* @param {?} viewContainerRef
|
525
|
+
* @param {?} injector
|
526
|
+
*/
|
527
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
528
|
+
super();
|
529
|
+
this.ngEle = ngEle;
|
530
|
+
this.srenderer = srenderer;
|
531
|
+
this.viewContainerRef = viewContainerRef;
|
532
|
+
this.injector = injector;
|
533
|
+
this.tags = ['items'];
|
534
|
+
this.element = this.ngEle.nativeElement;
|
535
|
+
this.injectedModules = this.injectedModules || [];
|
536
|
+
this.registerEvents(outputs$5);
|
537
|
+
this.addTwoWay.call(this, twoWays$2);
|
538
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
539
|
+
this.containerContext = new ComponentBase();
|
540
|
+
}
|
541
|
+
/**
|
542
|
+
* @return {?}
|
543
|
+
*/
|
544
|
+
ngOnInit() {
|
545
|
+
this.containerContext.ngOnInit(this);
|
546
|
+
}
|
547
|
+
/**
|
548
|
+
* @return {?}
|
549
|
+
*/
|
550
|
+
ngAfterViewInit() {
|
551
|
+
this.containerContext.ngAfterViewInit(this);
|
552
|
+
}
|
553
|
+
/**
|
554
|
+
* @return {?}
|
555
|
+
*/
|
556
|
+
ngOnDestroy() {
|
557
|
+
this.containerContext.ngOnDestroy(this);
|
558
|
+
}
|
559
|
+
/**
|
560
|
+
* @return {?}
|
561
|
+
*/
|
562
|
+
ngAfterContentChecked() {
|
563
|
+
this.tagObjects[0].instance = this.childItems;
|
564
|
+
this.containerContext.ngAfterContentChecked(this);
|
565
|
+
}
|
566
|
+
};
|
567
|
+
TimelineComponent.decorators = [
|
568
|
+
{ type: Component, args: [{
|
569
|
+
selector: 'ejs-timeline',
|
570
|
+
inputs: inputs$2,
|
571
|
+
outputs: outputs$5,
|
572
|
+
template: `<ng-content select='div'></ng-content>`,
|
573
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
574
|
+
queries: {
|
575
|
+
childItems: new ContentChild(ItemsDirective)
|
576
|
+
}
|
577
|
+
},] },
|
578
|
+
];
|
579
|
+
/**
|
580
|
+
* @nocollapse
|
581
|
+
*/
|
582
|
+
TimelineComponent.ctorParameters = () => [
|
583
|
+
{ type: ElementRef, },
|
584
|
+
{ type: Renderer2, },
|
585
|
+
{ type: ViewContainerRef, },
|
586
|
+
{ type: Injector, },
|
587
|
+
];
|
588
|
+
TimelineComponent.propDecorators = {
|
589
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
590
|
+
'content': [{ type: ContentChild, args: ['content',] },],
|
591
|
+
'oppositeContent': [{ type: ContentChild, args: ['oppositeContent',] },],
|
592
|
+
};
|
593
|
+
__decorate$4([
|
594
|
+
Template(),
|
595
|
+
__metadata$4("design:type", Object)
|
596
|
+
], TimelineComponent.prototype, "template", void 0);
|
597
|
+
__decorate$4([
|
598
|
+
Template(),
|
599
|
+
__metadata$4("design:type", Object)
|
600
|
+
], TimelineComponent.prototype, "content", void 0);
|
601
|
+
__decorate$4([
|
602
|
+
Template(),
|
603
|
+
__metadata$4("design:type", Object)
|
604
|
+
], TimelineComponent.prototype, "oppositeContent", void 0);
|
605
|
+
TimelineComponent = __decorate$4([
|
606
|
+
ComponentMixins([ComponentBase]),
|
607
|
+
__metadata$4("design:paramtypes", [ElementRef,
|
608
|
+
Renderer2,
|
609
|
+
ViewContainerRef,
|
610
|
+
Injector])
|
611
611
|
], TimelineComponent);
|
612
612
|
|
613
|
-
/**
|
614
|
-
* NgModule definition for the Timeline component.
|
615
|
-
*/
|
616
|
-
class TimelineModule {
|
617
|
-
}
|
618
|
-
TimelineModule.decorators = [
|
619
|
-
{ type: NgModule, args: [{
|
620
|
-
imports: [CommonModule],
|
621
|
-
declarations: [
|
622
|
-
TimelineComponent,
|
623
|
-
ItemDirective,
|
624
|
-
ItemsDirective
|
625
|
-
],
|
626
|
-
exports: [
|
627
|
-
TimelineComponent,
|
628
|
-
ItemDirective,
|
629
|
-
ItemsDirective
|
630
|
-
]
|
631
|
-
},] },
|
632
|
-
];
|
633
|
-
/**
|
634
|
-
* @nocollapse
|
635
|
-
*/
|
613
|
+
/**
|
614
|
+
* NgModule definition for the Timeline component.
|
615
|
+
*/
|
616
|
+
class TimelineModule {
|
617
|
+
}
|
618
|
+
TimelineModule.decorators = [
|
619
|
+
{ type: NgModule, args: [{
|
620
|
+
imports: [CommonModule],
|
621
|
+
declarations: [
|
622
|
+
TimelineComponent,
|
623
|
+
ItemDirective,
|
624
|
+
ItemsDirective
|
625
|
+
],
|
626
|
+
exports: [
|
627
|
+
TimelineComponent,
|
628
|
+
ItemDirective,
|
629
|
+
ItemsDirective
|
630
|
+
]
|
631
|
+
},] },
|
632
|
+
];
|
633
|
+
/**
|
634
|
+
* @nocollapse
|
635
|
+
*/
|
636
636
|
TimelineModule.ctorParameters = () => [];
|
637
637
|
|
638
|
-
/**
|
639
|
-
* NgModule definition for the Timeline component with providers.
|
640
|
-
*/
|
641
|
-
class TimelineAllModule {
|
642
|
-
}
|
643
|
-
TimelineAllModule.decorators = [
|
644
|
-
{ type: NgModule, args: [{
|
645
|
-
imports: [CommonModule, TimelineModule],
|
646
|
-
exports: [
|
647
|
-
TimelineModule
|
648
|
-
],
|
649
|
-
providers: []
|
650
|
-
},] },
|
651
|
-
];
|
652
|
-
/**
|
653
|
-
* @nocollapse
|
654
|
-
*/
|
638
|
+
/**
|
639
|
+
* NgModule definition for the Timeline component with providers.
|
640
|
+
*/
|
641
|
+
class TimelineAllModule {
|
642
|
+
}
|
643
|
+
TimelineAllModule.decorators = [
|
644
|
+
{ type: NgModule, args: [{
|
645
|
+
imports: [CommonModule, TimelineModule],
|
646
|
+
exports: [
|
647
|
+
TimelineModule
|
648
|
+
],
|
649
|
+
providers: []
|
650
|
+
},] },
|
651
|
+
];
|
652
|
+
/**
|
653
|
+
* @nocollapse
|
654
|
+
*/
|
655
655
|
TimelineAllModule.ctorParameters = () => [];
|
656
656
|
|
657
|
-
/**
|
658
|
-
* Generated bundle index. Do not edit.
|
657
|
+
/**
|
658
|
+
* Generated bundle index. Do not edit.
|
659
659
|
*/
|
660
660
|
|
661
661
|
export { PaneDirective, PanesDirective, SplitterComponent, SplitterModule, SplitterAllModule, PanelDirective, PanelsDirective, DashboardLayoutComponent, DashboardLayoutModule, DashboardLayoutAllModule, ItemDirective, ItemsDirective, TimelineComponent, TimelineModule, TimelineAllModule, inputs$1 as ɵc, outputs$3 as ɵd, inputs as ɵa, outputs$1 as ɵb, inputs$2 as ɵe, outputs$5 as ɵf };
|