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