@syncfusion/ej2-angular-layouts 21.1.37-ngcc → 21.1.37
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/esm2020/public_api.mjs +3 -0
- package/esm2020/src/dashboard-layout/dashboardlayout-all.module.mjs +23 -0
- package/esm2020/src/dashboard-layout/dashboardlayout.component.mjs +64 -0
- package/esm2020/src/dashboard-layout/dashboardlayout.module.mjs +34 -0
- package/esm2020/src/dashboard-layout/panels.directive.mjs +72 -0
- package/esm2020/src/index.mjs +10 -0
- package/esm2020/src/splitter/panesettings.directive.mjs +66 -0
- package/esm2020/src/splitter/splitter-all.module.mjs +23 -0
- package/esm2020/src/splitter/splitter.component.mjs +64 -0
- package/esm2020/src/splitter/splitter.module.mjs +34 -0
- package/esm2020/syncfusion-ej2-angular-layouts.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-layouts.mjs +354 -0
- package/fesm2015/syncfusion-ej2-angular-layouts.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-layouts.mjs +354 -0
- package/fesm2020/syncfusion-ej2-angular-layouts.mjs.map +1 -0
- package/package.json +26 -12
- package/src/dashboard-layout/dashboardlayout-all.module.d.ts +6 -0
- package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -0
- package/src/dashboard-layout/dashboardlayout.module.d.ts +7 -0
- package/src/dashboard-layout/panels.directive.d.ts +5 -0
- package/src/splitter/panesettings.directive.d.ts +5 -0
- package/src/splitter/splitter-all.module.d.ts +6 -0
- package/src/splitter/splitter.component.d.ts +3 -0
- package/src/splitter/splitter.module.d.ts +7 -0
- package/styles/avatar/_all.scss +1 -0
- package/styles/avatar/_bootstrap-dark-definition.scss +18 -0
- package/styles/avatar/_bootstrap-definition.scss +18 -0
- package/styles/avatar/_bootstrap4-definition.scss +18 -0
- package/styles/avatar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/avatar/_bootstrap5-definition.scss +26 -0
- package/styles/avatar/_fabric-dark-definition.scss +18 -0
- package/styles/avatar/_fabric-definition.scss +18 -0
- package/styles/avatar/_fluent-dark-definition.scss +1 -0
- package/styles/avatar/_fluent-definition.scss +25 -0
- package/styles/avatar/_fusionnew-definition.scss +26 -0
- package/styles/avatar/_highcontrast-definition.scss +18 -0
- package/styles/avatar/_highcontrast-light-definition.scss +18 -0
- package/styles/avatar/_layout.scss +79 -0
- package/styles/avatar/_material-dark-definition.scss +18 -0
- package/styles/avatar/_material-definition.scss +18 -0
- package/styles/avatar/_tailwind-dark-definition.scss +1 -0
- package/styles/avatar/_tailwind-definition.scss +25 -0
- package/styles/avatar/_theme.scss +1 -0
- package/styles/avatar/bootstrap-dark.scss +3 -1
- package/styles/avatar/bootstrap.scss +3 -1
- package/styles/avatar/bootstrap4.scss +3 -1
- package/styles/avatar/bootstrap5-dark.scss +3 -1
- package/styles/avatar/bootstrap5.scss +3 -1
- package/styles/avatar/fabric-dark.scss +3 -1
- package/styles/avatar/fabric.scss +3 -1
- package/styles/avatar/fluent-dark.scss +3 -1
- package/styles/avatar/fluent.scss +3 -1
- package/styles/avatar/highcontrast-light.scss +3 -1
- package/styles/avatar/highcontrast.scss +3 -1
- package/styles/avatar/material-dark.scss +3 -1
- package/styles/avatar/material.scss +3 -1
- package/styles/avatar/tailwind-dark.scss +3 -1
- package/styles/avatar/tailwind.scss +3 -1
- package/styles/card/_all.scss +2 -0
- package/styles/card/_bootstrap-dark-definition.scss +245 -0
- package/styles/card/_bootstrap-definition.scss +125 -0
- package/styles/card/_bootstrap4-definition.scss +126 -0
- package/styles/card/_bootstrap5-dark-definition.scss +1 -0
- package/styles/card/_bootstrap5-definition.scss +125 -0
- package/styles/card/_fabric-dark-definition.scss +233 -0
- package/styles/card/_fabric-definition.scss +124 -0
- package/styles/card/_fluent-dark-definition.scss +1 -0
- package/styles/card/_fluent-definition.scss +130 -0
- package/styles/card/_fusionnew-definition.scss +125 -0
- package/styles/card/_highcontrast-definition.scss +125 -0
- package/styles/card/_highcontrast-light-definition.scss +246 -0
- package/styles/card/_layout.scss +528 -0
- package/styles/card/_material-dark-definition.scss +240 -0
- package/styles/card/_material-definition.scss +124 -0
- package/styles/card/_tailwind-dark-definition.scss +1 -0
- package/styles/card/_tailwind-definition.scss +123 -0
- package/styles/card/_theme.scss +104 -0
- package/styles/card/bootstrap-dark.scss +3 -1
- package/styles/card/bootstrap.scss +3 -1
- package/styles/card/bootstrap4.scss +3 -1
- package/styles/card/bootstrap5-dark.scss +3 -1
- package/styles/card/bootstrap5.scss +3 -1
- package/styles/card/fabric-dark.scss +3 -1
- package/styles/card/fabric.scss +3 -1
- package/styles/card/fluent-dark.scss +3 -1
- package/styles/card/fluent.scss +3 -1
- package/styles/card/highcontrast-light.scss +3 -1
- package/styles/card/highcontrast.scss +3 -1
- package/styles/card/material-dark.scss +3 -1
- package/styles/card/material.scss +3 -1
- package/styles/card/tailwind-dark.scss +3 -1
- package/styles/card/tailwind.scss +3 -1
- package/styles/dashboard-layout/_all.scss +2 -0
- package/styles/dashboard-layout/_bootstrap-dark-definition.scss +102 -0
- package/styles/dashboard-layout/_bootstrap-definition.scss +102 -0
- package/styles/dashboard-layout/_bootstrap4-definition.scss +102 -0
- package/styles/dashboard-layout/_bootstrap5-dark-definition.scss +1 -0
- package/styles/dashboard-layout/_bootstrap5-definition.scss +108 -0
- package/styles/dashboard-layout/_fabric-dark-definition.scss +103 -0
- package/styles/dashboard-layout/_fabric-definition.scss +102 -0
- package/styles/dashboard-layout/_fluent-dark-definition.scss +1 -0
- package/styles/dashboard-layout/_fluent-definition.scss +111 -0
- package/styles/dashboard-layout/_fusionnew-definition.scss +108 -0
- package/styles/dashboard-layout/_highcontrast-definition.scss +100 -0
- package/styles/dashboard-layout/_highcontrast-light-definition.scss +100 -0
- package/styles/dashboard-layout/_layout.scss +263 -0
- package/styles/dashboard-layout/_material-dark-definition.scss +103 -0
- package/styles/dashboard-layout/_material-definition.scss +102 -0
- package/styles/dashboard-layout/_tailwind-dark-definition.scss +1 -0
- package/styles/dashboard-layout/_tailwind-definition.scss +109 -0
- package/styles/dashboard-layout/_theme.scss +128 -0
- package/styles/dashboard-layout/bootstrap-dark.scss +4 -1
- package/styles/dashboard-layout/bootstrap.scss +4 -1
- package/styles/dashboard-layout/bootstrap4.scss +4 -1
- package/styles/dashboard-layout/bootstrap5-dark.scss +4 -1
- package/styles/dashboard-layout/bootstrap5.scss +4 -1
- package/styles/dashboard-layout/fabric-dark.scss +4 -1
- package/styles/dashboard-layout/fabric.scss +4 -1
- package/styles/dashboard-layout/fluent-dark.scss +4 -1
- package/styles/dashboard-layout/fluent.scss +4 -1
- package/styles/dashboard-layout/highcontrast-light.scss +3 -1
- package/styles/dashboard-layout/highcontrast.scss +4 -1
- package/styles/dashboard-layout/icons/_bootstrap-dark.scss +80 -0
- package/styles/dashboard-layout/icons/_bootstrap.scss +80 -0
- package/styles/dashboard-layout/icons/_bootstrap4.scss +80 -0
- package/styles/dashboard-layout/icons/_bootstrap5-dark.scss +1 -0
- package/styles/dashboard-layout/icons/_bootstrap5.scss +80 -0
- package/styles/dashboard-layout/icons/_fabric-dark.scss +80 -0
- package/styles/dashboard-layout/icons/_fabric.scss +80 -0
- package/styles/dashboard-layout/icons/_fluent-dark.scss +1 -0
- package/styles/dashboard-layout/icons/_fluent.scss +80 -0
- package/styles/dashboard-layout/icons/_fusionnew.scss +80 -0
- package/styles/dashboard-layout/icons/_highcontrast.scss +80 -0
- package/styles/dashboard-layout/icons/_material-dark.scss +80 -0
- package/styles/dashboard-layout/icons/_material.scss +80 -0
- package/styles/dashboard-layout/icons/_material3.scss +80 -0
- package/styles/dashboard-layout/icons/_tailwind-dark.scss +80 -0
- package/styles/dashboard-layout/icons/_tailwind.scss +80 -0
- package/styles/dashboard-layout/material-dark.scss +4 -1
- package/styles/dashboard-layout/material.scss +4 -1
- package/styles/dashboard-layout/tailwind-dark.scss +4 -1
- package/styles/dashboard-layout/tailwind.scss +4 -1
- package/styles/splitter/_all.scss +3 -0
- package/styles/splitter/_bootstrap-dark-definition.scss +26 -0
- package/styles/splitter/_bootstrap-definition.scss +26 -0
- package/styles/splitter/_bootstrap4-definition.scss +26 -0
- package/styles/splitter/_bootstrap5-dark-definition.scss +1 -0
- package/styles/splitter/_bootstrap5-definition.scss +31 -0
- package/styles/splitter/_definition.scss +1 -0
- package/styles/splitter/_fabric-dark-definition.scss +26 -0
- package/styles/splitter/_fabric-definition.scss +26 -0
- package/styles/splitter/_fluent-dark-definition.scss +1 -0
- package/styles/splitter/_fluent-definition.scss +31 -0
- package/styles/splitter/_fusionnew-definition.scss +31 -0
- package/styles/splitter/_highcontrast-definition.scss +26 -0
- package/styles/splitter/_highcontrast-light-definition.scss +26 -0
- package/styles/splitter/_layout.scss +416 -0
- package/styles/splitter/_material-dark-definition.scss +26 -0
- package/styles/splitter/_material-definition.scss +27 -0
- package/styles/splitter/_responsive.scss +1 -0
- package/styles/splitter/_tailwind-dark-definition.scss +1 -0
- package/styles/splitter/_tailwind-definition.scss +31 -0
- package/styles/splitter/_theme.scss +205 -0
- package/styles/splitter/bootstrap-dark.scss +4 -1
- package/styles/splitter/bootstrap.scss +4 -1
- package/styles/splitter/bootstrap4.scss +4 -1
- package/styles/splitter/bootstrap5-dark.scss +4 -1
- package/styles/splitter/bootstrap5.scss +4 -1
- package/styles/splitter/fabric-dark.scss +4 -1
- package/styles/splitter/fabric.scss +4 -1
- package/styles/splitter/fluent-dark.scss +4 -1
- package/styles/splitter/fluent.scss +4 -1
- package/styles/splitter/highcontrast-light.scss +4 -1
- package/styles/splitter/highcontrast.scss +4 -1
- package/styles/splitter/icons/_bootstrap-dark.scss +52 -0
- package/styles/splitter/icons/_bootstrap.scss +52 -0
- package/styles/splitter/icons/_bootstrap4.scss +51 -0
- package/styles/splitter/icons/_bootstrap5-dark.scss +1 -0
- package/styles/splitter/icons/_bootstrap5.scss +39 -0
- package/styles/splitter/icons/_fabric-dark.scss +52 -0
- package/styles/splitter/icons/_fabric.scss +52 -0
- package/styles/splitter/icons/_fluent-dark.scss +1 -0
- package/styles/splitter/icons/_fluent.scss +39 -0
- package/styles/splitter/icons/_fusionnew.scss +39 -0
- package/styles/splitter/icons/_highcontrast-light.scss +52 -0
- package/styles/splitter/icons/_highcontrast.scss +52 -0
- package/styles/splitter/icons/_material-dark.scss +51 -0
- package/styles/splitter/icons/_material.scss +51 -0
- package/styles/splitter/icons/_material3.scss +39 -0
- package/styles/splitter/icons/_tailwind-dark.scss +1 -0
- package/styles/splitter/icons/_tailwind.scss +39 -0
- package/styles/splitter/material-dark.scss +4 -1
- package/styles/splitter/material.scss +4 -1
- package/styles/splitter/tailwind-dark.scss +4 -1
- package/styles/splitter/tailwind.scss +4 -1
- package/syncfusion-ej2-angular-layouts.d.ts +5 -0
- package/@syncfusion/ej2-angular-layouts.es5.js +0 -495
- package/@syncfusion/ej2-angular-layouts.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-layouts.js +0 -447
- package/@syncfusion/ej2-angular-layouts.js.map +0 -1
- package/CHANGELOG.md +0 -575
- package/dist/ej2-angular-layouts.umd.js +0 -522
- package/dist/ej2-angular-layouts.umd.js.map +0 -1
- package/dist/ej2-angular-layouts.umd.min.js +0 -11
- package/dist/ej2-angular-layouts.umd.min.js.map +0 -1
- package/ej2-angular-layouts.d.ts +0 -6
- package/ej2-angular-layouts.metadata.json +0 -1
- package/postinstall/tagchange.js +0 -18
@@ -0,0 +1,39 @@
|
|
1
|
+
@include export-module('splitter-material-icons') {
|
2
|
+
.e-splitter {
|
3
|
+
.e-split-bar {
|
4
|
+
&.e-split-bar-horizontal {
|
5
|
+
.e-resize-handler::before {
|
6
|
+
content: '\e7e3';
|
7
|
+
font-family: 'e-icons';
|
8
|
+
font-size: $splitbar-icon-size;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
&.e-split-bar-vertical {
|
13
|
+
& .e-resize-handler::before {
|
14
|
+
content: '\e7fd';
|
15
|
+
font-family: 'e-icons';
|
16
|
+
font-size: $splitbar-icon-size;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.e-bigger {
|
23
|
+
.e-splitter {
|
24
|
+
.e-split-bar {
|
25
|
+
.e-resize-handler::before {
|
26
|
+
font-size: $bigger-splitbar-icon-size;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
&.e-splitter {
|
32
|
+
.e-split-bar {
|
33
|
+
.e-resize-handler::before {
|
34
|
+
font-size: $bigger-splitbar-icon-size;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './tailwind.scss';
|
@@ -0,0 +1,39 @@
|
|
1
|
+
@include export-module('splitter-material-icons') {
|
2
|
+
.e-splitter {
|
3
|
+
.e-split-bar {
|
4
|
+
&.e-split-bar-horizontal {
|
5
|
+
.e-resize-handler::before {
|
6
|
+
content: '\e7e3';
|
7
|
+
font-family: 'e-icons';
|
8
|
+
font-size: $splitbar-icon-size;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
&.e-split-bar-vertical {
|
13
|
+
& .e-resize-handler::before {
|
14
|
+
content: '\e7fd';
|
15
|
+
font-family: 'e-icons';
|
16
|
+
font-size: $splitbar-icon-size;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.e-bigger {
|
23
|
+
.e-splitter {
|
24
|
+
.e-split-bar {
|
25
|
+
.e-resize-handler::before {
|
26
|
+
font-size: $bigger-splitbar-icon-size;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
&.e-splitter {
|
32
|
+
.e-split-bar {
|
33
|
+
.e-resize-handler::before {
|
34
|
+
font-size: $bigger-splitbar-icon-size;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -1,495 +0,0 @@
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
5
|
-
return function (d, b) {
|
6
|
-
extendStatics(d, b);
|
7
|
-
function __() { this.constructor = d; }
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
9
|
-
};
|
10
|
-
})();
|
11
|
-
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
12
|
-
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
13
|
-
import { DashboardLayout, Splitter } from '@syncfusion/ej2-layouts';
|
14
|
-
import { CommonModule } from '@angular/common';
|
15
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
16
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
17
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
18
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
19
|
-
else
|
20
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
21
|
-
if (d = decorators[i])
|
22
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
23
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
24
|
-
};
|
25
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
26
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
27
|
-
return Reflect.metadata(k, v);
|
28
|
-
};
|
29
|
-
var input = ['collapsed', 'collapsible', 'content', 'cssClass', 'max', 'min', 'resizable', 'size'];
|
30
|
-
var outputs = [];
|
31
|
-
/**
|
32
|
-
* 'e-panesettings' directive represent a panes of angular splitter
|
33
|
-
* It must be contained in a Splitter component(`ejs-splitter`).
|
34
|
-
* ```html
|
35
|
-
* <ejs-splitter id='splitter' >
|
36
|
-
* <e-panes>
|
37
|
-
* <e-pane size ='150px'></e-pane>
|
38
|
-
* <e-pane size = '20%'></e-pane>
|
39
|
-
* </e-panes>
|
40
|
-
* </ejs-splitter>
|
41
|
-
* ```
|
42
|
-
*/
|
43
|
-
var PaneDirective = /** @class */ (function (_super) {
|
44
|
-
__extends(PaneDirective, _super);
|
45
|
-
/**
|
46
|
-
* @param {?} viewContainerRef
|
47
|
-
*/
|
48
|
-
function PaneDirective(viewContainerRef) {
|
49
|
-
var _this = _super.call(this) || this;
|
50
|
-
_this.viewContainerRef = viewContainerRef;
|
51
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
52
|
-
_this.registerEvents(outputs);
|
53
|
-
_this.directivePropList = input;
|
54
|
-
return _this;
|
55
|
-
}
|
56
|
-
return PaneDirective;
|
57
|
-
}(ComplexBase));
|
58
|
-
PaneDirective.decorators = [
|
59
|
-
{ type: Directive, args: [{
|
60
|
-
selector: 'e-panes>e-pane',
|
61
|
-
inputs: input,
|
62
|
-
outputs: outputs,
|
63
|
-
queries: {}
|
64
|
-
},] },
|
65
|
-
];
|
66
|
-
/**
|
67
|
-
* @nocollapse
|
68
|
-
*/
|
69
|
-
PaneDirective.ctorParameters = function () { return [
|
70
|
-
{ type: ViewContainerRef, },
|
71
|
-
]; };
|
72
|
-
PaneDirective.propDecorators = {
|
73
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
74
|
-
};
|
75
|
-
__decorate([
|
76
|
-
Template(),
|
77
|
-
__metadata("design:type", Object)
|
78
|
-
], PaneDirective.prototype, "content", void 0);
|
79
|
-
/**
|
80
|
-
* Pane Array Directive
|
81
|
-
*/
|
82
|
-
var PanesDirective = /** @class */ (function (_super) {
|
83
|
-
__extends(PanesDirective, _super);
|
84
|
-
function PanesDirective() {
|
85
|
-
return _super.call(this, 'panesettings') || this;
|
86
|
-
}
|
87
|
-
return PanesDirective;
|
88
|
-
}(ArrayBase));
|
89
|
-
PanesDirective.decorators = [
|
90
|
-
{ type: Directive, args: [{
|
91
|
-
selector: 'ejs-splitter>e-panes',
|
92
|
-
queries: {
|
93
|
-
children: new ContentChildren(PaneDirective)
|
94
|
-
},
|
95
|
-
},] },
|
96
|
-
];
|
97
|
-
/**
|
98
|
-
* @nocollapse
|
99
|
-
*/
|
100
|
-
PanesDirective.ctorParameters = function () { return []; };
|
101
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
102
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
103
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
104
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
105
|
-
else
|
106
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
107
|
-
if (d = decorators[i])
|
108
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
109
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
110
|
-
};
|
111
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
112
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
113
|
-
return Reflect.metadata(k, v);
|
114
|
-
};
|
115
|
-
var inputs = ['cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width'];
|
116
|
-
var outputs$1 = ['beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];
|
117
|
-
var twoWays = [''];
|
118
|
-
/**
|
119
|
-
* Represents the Angular Splitter Component
|
120
|
-
* ```html
|
121
|
-
* <ejs-splitter></ejs-splitter>
|
122
|
-
* ```
|
123
|
-
*/
|
124
|
-
var SplitterComponent = /** @class */ (function (_super) {
|
125
|
-
__extends(SplitterComponent, _super);
|
126
|
-
/**
|
127
|
-
* @param {?} ngEle
|
128
|
-
* @param {?} srenderer
|
129
|
-
* @param {?} viewContainerRef
|
130
|
-
* @param {?} injector
|
131
|
-
*/
|
132
|
-
function SplitterComponent(ngEle, srenderer, viewContainerRef, injector) {
|
133
|
-
var _this = _super.call(this) || this;
|
134
|
-
_this.ngEle = ngEle;
|
135
|
-
_this.srenderer = srenderer;
|
136
|
-
_this.viewContainerRef = viewContainerRef;
|
137
|
-
_this.injector = injector;
|
138
|
-
_this.tags = ['paneSettings'];
|
139
|
-
_this.element = _this.ngEle.nativeElement;
|
140
|
-
_this.injectedModules = _this.injectedModules || [];
|
141
|
-
_this.registerEvents(outputs$1);
|
142
|
-
_this.addTwoWay.call(_this, twoWays);
|
143
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
144
|
-
_this.containerContext = new ComponentBase();
|
145
|
-
return _this;
|
146
|
-
}
|
147
|
-
/**
|
148
|
-
* @return {?}
|
149
|
-
*/
|
150
|
-
SplitterComponent.prototype.ngOnInit = function () {
|
151
|
-
this.containerContext.ngOnInit(this);
|
152
|
-
};
|
153
|
-
/**
|
154
|
-
* @return {?}
|
155
|
-
*/
|
156
|
-
SplitterComponent.prototype.ngAfterViewInit = function () {
|
157
|
-
this.containerContext.ngAfterViewInit(this);
|
158
|
-
};
|
159
|
-
/**
|
160
|
-
* @return {?}
|
161
|
-
*/
|
162
|
-
SplitterComponent.prototype.ngOnDestroy = function () {
|
163
|
-
this.containerContext.ngOnDestroy(this);
|
164
|
-
};
|
165
|
-
/**
|
166
|
-
* @return {?}
|
167
|
-
*/
|
168
|
-
SplitterComponent.prototype.ngAfterContentChecked = function () {
|
169
|
-
this.tagObjects[0].instance = this.childPaneSettings;
|
170
|
-
this.containerContext.ngAfterContentChecked(this);
|
171
|
-
};
|
172
|
-
return SplitterComponent;
|
173
|
-
}(Splitter));
|
174
|
-
SplitterComponent.decorators = [
|
175
|
-
{ type: Component, args: [{
|
176
|
-
selector: 'ejs-splitter',
|
177
|
-
inputs: inputs,
|
178
|
-
outputs: outputs$1,
|
179
|
-
template: "<ng-content select='div'></ng-content>",
|
180
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
181
|
-
queries: {
|
182
|
-
childPaneSettings: new ContentChild(PanesDirective)
|
183
|
-
}
|
184
|
-
},] },
|
185
|
-
];
|
186
|
-
/**
|
187
|
-
* @nocollapse
|
188
|
-
*/
|
189
|
-
SplitterComponent.ctorParameters = function () { return [
|
190
|
-
{ type: ElementRef, },
|
191
|
-
{ type: Renderer2, },
|
192
|
-
{ type: ViewContainerRef, },
|
193
|
-
{ type: Injector, },
|
194
|
-
]; };
|
195
|
-
SplitterComponent = __decorate$1([
|
196
|
-
ComponentMixins([ComponentBase]),
|
197
|
-
__metadata$1("design:paramtypes", [ElementRef,
|
198
|
-
Renderer2,
|
199
|
-
ViewContainerRef,
|
200
|
-
Injector])
|
201
|
-
], SplitterComponent);
|
202
|
-
/**
|
203
|
-
* NgModule definition for the Splitter component.
|
204
|
-
*/
|
205
|
-
var SplitterModule = /** @class */ (function () {
|
206
|
-
function SplitterModule() {
|
207
|
-
}
|
208
|
-
return SplitterModule;
|
209
|
-
}());
|
210
|
-
SplitterModule.decorators = [
|
211
|
-
{ type: NgModule, args: [{
|
212
|
-
imports: [CommonModule],
|
213
|
-
declarations: [
|
214
|
-
SplitterComponent,
|
215
|
-
PaneDirective,
|
216
|
-
PanesDirective
|
217
|
-
],
|
218
|
-
exports: [
|
219
|
-
SplitterComponent,
|
220
|
-
PaneDirective,
|
221
|
-
PanesDirective
|
222
|
-
]
|
223
|
-
},] },
|
224
|
-
];
|
225
|
-
/**
|
226
|
-
* @nocollapse
|
227
|
-
*/
|
228
|
-
SplitterModule.ctorParameters = function () { return []; };
|
229
|
-
/**
|
230
|
-
* NgModule definition for the Splitter component with providers.
|
231
|
-
*/
|
232
|
-
var SplitterAllModule = /** @class */ (function () {
|
233
|
-
function SplitterAllModule() {
|
234
|
-
}
|
235
|
-
return SplitterAllModule;
|
236
|
-
}());
|
237
|
-
SplitterAllModule.decorators = [
|
238
|
-
{ type: NgModule, args: [{
|
239
|
-
imports: [CommonModule, SplitterModule],
|
240
|
-
exports: [
|
241
|
-
SplitterModule
|
242
|
-
],
|
243
|
-
providers: []
|
244
|
-
},] },
|
245
|
-
];
|
246
|
-
/**
|
247
|
-
* @nocollapse
|
248
|
-
*/
|
249
|
-
SplitterAllModule.ctorParameters = function () { return []; };
|
250
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
251
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
252
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
253
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
254
|
-
else
|
255
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
256
|
-
if (d = decorators[i])
|
257
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
258
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
259
|
-
};
|
260
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
261
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
262
|
-
return Reflect.metadata(k, v);
|
263
|
-
};
|
264
|
-
var input$1 = ['col', 'content', 'cssClass', 'enabled', 'header', 'id', 'maxSizeX', 'maxSizeY', 'minSizeX', 'minSizeY', 'row', 'sizeX', 'sizeY', 'zIndex'];
|
265
|
-
var outputs$2 = [];
|
266
|
-
/**
|
267
|
-
* 'e-panels' directive represent a panels of angular dashboardlayout
|
268
|
-
* It must be contained in a dashboardlayout component(`ej-dashboardlayout`).
|
269
|
-
* ```html
|
270
|
-
* <ejs-dashboardlayout>
|
271
|
-
* <e-panels>
|
272
|
-
* <e-panel></e-panel>
|
273
|
-
* <e-panel></e-panel>
|
274
|
-
* </e-panels>
|
275
|
-
* </ejs-dashboardlayout>
|
276
|
-
* ```
|
277
|
-
*/
|
278
|
-
var PanelDirective = /** @class */ (function (_super) {
|
279
|
-
__extends(PanelDirective, _super);
|
280
|
-
/**
|
281
|
-
* @param {?} viewContainerRef
|
282
|
-
*/
|
283
|
-
function PanelDirective(viewContainerRef) {
|
284
|
-
var _this = _super.call(this) || this;
|
285
|
-
_this.viewContainerRef = viewContainerRef;
|
286
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
287
|
-
_this.registerEvents(outputs$2);
|
288
|
-
_this.directivePropList = input$1;
|
289
|
-
return _this;
|
290
|
-
}
|
291
|
-
return PanelDirective;
|
292
|
-
}(ComplexBase));
|
293
|
-
PanelDirective.decorators = [
|
294
|
-
{ type: Directive, args: [{
|
295
|
-
selector: 'e-panels>e-panel',
|
296
|
-
inputs: input$1,
|
297
|
-
outputs: outputs$2,
|
298
|
-
queries: {}
|
299
|
-
},] },
|
300
|
-
];
|
301
|
-
/**
|
302
|
-
* @nocollapse
|
303
|
-
*/
|
304
|
-
PanelDirective.ctorParameters = function () { return [
|
305
|
-
{ type: ViewContainerRef, },
|
306
|
-
]; };
|
307
|
-
PanelDirective.propDecorators = {
|
308
|
-
'header': [{ type: ContentChild, args: ['header',] },],
|
309
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
310
|
-
};
|
311
|
-
__decorate$2([
|
312
|
-
Template(),
|
313
|
-
__metadata$2("design:type", Object)
|
314
|
-
], PanelDirective.prototype, "header", void 0);
|
315
|
-
__decorate$2([
|
316
|
-
Template(),
|
317
|
-
__metadata$2("design:type", Object)
|
318
|
-
], PanelDirective.prototype, "content", void 0);
|
319
|
-
/**
|
320
|
-
* Panel Array Directive
|
321
|
-
*/
|
322
|
-
var PanelsDirective = /** @class */ (function (_super) {
|
323
|
-
__extends(PanelsDirective, _super);
|
324
|
-
function PanelsDirective() {
|
325
|
-
return _super.call(this, 'panels') || this;
|
326
|
-
}
|
327
|
-
return PanelsDirective;
|
328
|
-
}(ArrayBase));
|
329
|
-
PanelsDirective.decorators = [
|
330
|
-
{ type: Directive, args: [{
|
331
|
-
selector: 'ejs-dashboardlayout>e-panels',
|
332
|
-
queries: {
|
333
|
-
children: new ContentChildren(PanelDirective)
|
334
|
-
},
|
335
|
-
},] },
|
336
|
-
];
|
337
|
-
/**
|
338
|
-
* @nocollapse
|
339
|
-
*/
|
340
|
-
PanelsDirective.ctorParameters = function () { return []; };
|
341
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
342
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
343
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
344
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
345
|
-
else
|
346
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
347
|
-
if (d = decorators[i])
|
348
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
349
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
350
|
-
};
|
351
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
352
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
353
|
-
return Reflect.metadata(k, v);
|
354
|
-
};
|
355
|
-
var inputs$1 = ['allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines'];
|
356
|
-
var outputs$3 = ['change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];
|
357
|
-
var twoWays$1 = [''];
|
358
|
-
/**
|
359
|
-
* Represents the Essential JS 2 Angular DashboardLayout Component.
|
360
|
-
* ```html
|
361
|
-
* <ejs-dashboardlayout></ejs-dashboardlayout>
|
362
|
-
* ```
|
363
|
-
*/
|
364
|
-
var DashboardLayoutComponent = /** @class */ (function (_super) {
|
365
|
-
__extends(DashboardLayoutComponent, _super);
|
366
|
-
/**
|
367
|
-
* @param {?} ngEle
|
368
|
-
* @param {?} srenderer
|
369
|
-
* @param {?} viewContainerRef
|
370
|
-
* @param {?} injector
|
371
|
-
*/
|
372
|
-
function DashboardLayoutComponent(ngEle, srenderer, viewContainerRef, injector) {
|
373
|
-
var _this = _super.call(this) || this;
|
374
|
-
_this.ngEle = ngEle;
|
375
|
-
_this.srenderer = srenderer;
|
376
|
-
_this.viewContainerRef = viewContainerRef;
|
377
|
-
_this.injector = injector;
|
378
|
-
_this.tags = ['panels'];
|
379
|
-
_this.element = _this.ngEle.nativeElement;
|
380
|
-
_this.injectedModules = _this.injectedModules || [];
|
381
|
-
_this.registerEvents(outputs$3);
|
382
|
-
_this.addTwoWay.call(_this, twoWays$1);
|
383
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
384
|
-
_this.containerContext = new ComponentBase();
|
385
|
-
return _this;
|
386
|
-
}
|
387
|
-
/**
|
388
|
-
* @return {?}
|
389
|
-
*/
|
390
|
-
DashboardLayoutComponent.prototype.ngOnInit = function () {
|
391
|
-
this.containerContext.ngOnInit(this);
|
392
|
-
};
|
393
|
-
/**
|
394
|
-
* @return {?}
|
395
|
-
*/
|
396
|
-
DashboardLayoutComponent.prototype.ngAfterViewInit = function () {
|
397
|
-
this.containerContext.ngAfterViewInit(this);
|
398
|
-
};
|
399
|
-
/**
|
400
|
-
* @return {?}
|
401
|
-
*/
|
402
|
-
DashboardLayoutComponent.prototype.ngOnDestroy = function () {
|
403
|
-
this.containerContext.ngOnDestroy(this);
|
404
|
-
};
|
405
|
-
/**
|
406
|
-
* @return {?}
|
407
|
-
*/
|
408
|
-
DashboardLayoutComponent.prototype.ngAfterContentChecked = function () {
|
409
|
-
this.tagObjects[0].instance = this.childPanels;
|
410
|
-
this.containerContext.ngAfterContentChecked(this);
|
411
|
-
};
|
412
|
-
return DashboardLayoutComponent;
|
413
|
-
}(DashboardLayout));
|
414
|
-
DashboardLayoutComponent.decorators = [
|
415
|
-
{ type: Component, args: [{
|
416
|
-
selector: 'ejs-dashboardlayout',
|
417
|
-
inputs: inputs$1,
|
418
|
-
outputs: outputs$3,
|
419
|
-
template: "<ng-content select='div'></ng-content>",
|
420
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
421
|
-
queries: {
|
422
|
-
childPanels: new ContentChild(PanelsDirective)
|
423
|
-
}
|
424
|
-
},] },
|
425
|
-
];
|
426
|
-
/**
|
427
|
-
* @nocollapse
|
428
|
-
*/
|
429
|
-
DashboardLayoutComponent.ctorParameters = function () { return [
|
430
|
-
{ type: ElementRef, },
|
431
|
-
{ type: Renderer2, },
|
432
|
-
{ type: ViewContainerRef, },
|
433
|
-
{ type: Injector, },
|
434
|
-
]; };
|
435
|
-
DashboardLayoutComponent = __decorate$3([
|
436
|
-
ComponentMixins([ComponentBase]),
|
437
|
-
__metadata$3("design:paramtypes", [ElementRef,
|
438
|
-
Renderer2,
|
439
|
-
ViewContainerRef,
|
440
|
-
Injector])
|
441
|
-
], DashboardLayoutComponent);
|
442
|
-
/**
|
443
|
-
* NgModule definition for the DashboardLayout component.
|
444
|
-
*/
|
445
|
-
var DashboardLayoutModule = /** @class */ (function () {
|
446
|
-
function DashboardLayoutModule() {
|
447
|
-
}
|
448
|
-
return DashboardLayoutModule;
|
449
|
-
}());
|
450
|
-
DashboardLayoutModule.decorators = [
|
451
|
-
{ type: NgModule, args: [{
|
452
|
-
imports: [CommonModule],
|
453
|
-
declarations: [
|
454
|
-
DashboardLayoutComponent,
|
455
|
-
PanelDirective,
|
456
|
-
PanelsDirective
|
457
|
-
],
|
458
|
-
exports: [
|
459
|
-
DashboardLayoutComponent,
|
460
|
-
PanelDirective,
|
461
|
-
PanelsDirective
|
462
|
-
]
|
463
|
-
},] },
|
464
|
-
];
|
465
|
-
/**
|
466
|
-
* @nocollapse
|
467
|
-
*/
|
468
|
-
DashboardLayoutModule.ctorParameters = function () { return []; };
|
469
|
-
/**
|
470
|
-
* NgModule definition for the DashboardLayout component with providers.
|
471
|
-
*/
|
472
|
-
var DashboardLayoutAllModule = /** @class */ (function () {
|
473
|
-
function DashboardLayoutAllModule() {
|
474
|
-
}
|
475
|
-
return DashboardLayoutAllModule;
|
476
|
-
}());
|
477
|
-
DashboardLayoutAllModule.decorators = [
|
478
|
-
{ type: NgModule, args: [{
|
479
|
-
imports: [CommonModule, DashboardLayoutModule],
|
480
|
-
exports: [
|
481
|
-
DashboardLayoutModule
|
482
|
-
],
|
483
|
-
providers: []
|
484
|
-
},] },
|
485
|
-
];
|
486
|
-
/**
|
487
|
-
* @nocollapse
|
488
|
-
*/
|
489
|
-
DashboardLayoutAllModule.ctorParameters = function () { return []; };
|
490
|
-
/**
|
491
|
-
* Generated bundle index. Do not edit.
|
492
|
-
*/
|
493
|
-
export { PaneDirective, PanesDirective, SplitterComponent, SplitterModule, SplitterAllModule, PanelDirective, PanelsDirective, DashboardLayoutComponent, DashboardLayoutModule, DashboardLayoutAllModule, inputs$1 as ɵc, outputs$3 as ɵd, inputs as ɵa, outputs$1 as ɵb };
|
494
|
-
export { PaneProperties, Splitter, Panel, DashboardLayout } from '@syncfusion/ej2-layouts';
|
495
|
-
//# sourceMappingURL=ej2-angular-layouts.es5.js.map
|