@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.
Files changed (208) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/dashboard-layout/dashboardlayout-all.module.mjs +23 -0
  3. package/esm2020/src/dashboard-layout/dashboardlayout.component.mjs +64 -0
  4. package/esm2020/src/dashboard-layout/dashboardlayout.module.mjs +34 -0
  5. package/esm2020/src/dashboard-layout/panels.directive.mjs +72 -0
  6. package/esm2020/src/index.mjs +10 -0
  7. package/esm2020/src/splitter/panesettings.directive.mjs +66 -0
  8. package/esm2020/src/splitter/splitter-all.module.mjs +23 -0
  9. package/esm2020/src/splitter/splitter.component.mjs +64 -0
  10. package/esm2020/src/splitter/splitter.module.mjs +34 -0
  11. package/esm2020/syncfusion-ej2-angular-layouts.mjs +5 -0
  12. package/fesm2015/syncfusion-ej2-angular-layouts.mjs +354 -0
  13. package/fesm2015/syncfusion-ej2-angular-layouts.mjs.map +1 -0
  14. package/fesm2020/syncfusion-ej2-angular-layouts.mjs +354 -0
  15. package/fesm2020/syncfusion-ej2-angular-layouts.mjs.map +1 -0
  16. package/package.json +26 -12
  17. package/src/dashboard-layout/dashboardlayout-all.module.d.ts +6 -0
  18. package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -0
  19. package/src/dashboard-layout/dashboardlayout.module.d.ts +7 -0
  20. package/src/dashboard-layout/panels.directive.d.ts +5 -0
  21. package/src/splitter/panesettings.directive.d.ts +5 -0
  22. package/src/splitter/splitter-all.module.d.ts +6 -0
  23. package/src/splitter/splitter.component.d.ts +3 -0
  24. package/src/splitter/splitter.module.d.ts +7 -0
  25. package/styles/avatar/_all.scss +1 -0
  26. package/styles/avatar/_bootstrap-dark-definition.scss +18 -0
  27. package/styles/avatar/_bootstrap-definition.scss +18 -0
  28. package/styles/avatar/_bootstrap4-definition.scss +18 -0
  29. package/styles/avatar/_bootstrap5-dark-definition.scss +1 -0
  30. package/styles/avatar/_bootstrap5-definition.scss +26 -0
  31. package/styles/avatar/_fabric-dark-definition.scss +18 -0
  32. package/styles/avatar/_fabric-definition.scss +18 -0
  33. package/styles/avatar/_fluent-dark-definition.scss +1 -0
  34. package/styles/avatar/_fluent-definition.scss +25 -0
  35. package/styles/avatar/_fusionnew-definition.scss +26 -0
  36. package/styles/avatar/_highcontrast-definition.scss +18 -0
  37. package/styles/avatar/_highcontrast-light-definition.scss +18 -0
  38. package/styles/avatar/_layout.scss +79 -0
  39. package/styles/avatar/_material-dark-definition.scss +18 -0
  40. package/styles/avatar/_material-definition.scss +18 -0
  41. package/styles/avatar/_tailwind-dark-definition.scss +1 -0
  42. package/styles/avatar/_tailwind-definition.scss +25 -0
  43. package/styles/avatar/_theme.scss +1 -0
  44. package/styles/avatar/bootstrap-dark.scss +3 -1
  45. package/styles/avatar/bootstrap.scss +3 -1
  46. package/styles/avatar/bootstrap4.scss +3 -1
  47. package/styles/avatar/bootstrap5-dark.scss +3 -1
  48. package/styles/avatar/bootstrap5.scss +3 -1
  49. package/styles/avatar/fabric-dark.scss +3 -1
  50. package/styles/avatar/fabric.scss +3 -1
  51. package/styles/avatar/fluent-dark.scss +3 -1
  52. package/styles/avatar/fluent.scss +3 -1
  53. package/styles/avatar/highcontrast-light.scss +3 -1
  54. package/styles/avatar/highcontrast.scss +3 -1
  55. package/styles/avatar/material-dark.scss +3 -1
  56. package/styles/avatar/material.scss +3 -1
  57. package/styles/avatar/tailwind-dark.scss +3 -1
  58. package/styles/avatar/tailwind.scss +3 -1
  59. package/styles/card/_all.scss +2 -0
  60. package/styles/card/_bootstrap-dark-definition.scss +245 -0
  61. package/styles/card/_bootstrap-definition.scss +125 -0
  62. package/styles/card/_bootstrap4-definition.scss +126 -0
  63. package/styles/card/_bootstrap5-dark-definition.scss +1 -0
  64. package/styles/card/_bootstrap5-definition.scss +125 -0
  65. package/styles/card/_fabric-dark-definition.scss +233 -0
  66. package/styles/card/_fabric-definition.scss +124 -0
  67. package/styles/card/_fluent-dark-definition.scss +1 -0
  68. package/styles/card/_fluent-definition.scss +130 -0
  69. package/styles/card/_fusionnew-definition.scss +125 -0
  70. package/styles/card/_highcontrast-definition.scss +125 -0
  71. package/styles/card/_highcontrast-light-definition.scss +246 -0
  72. package/styles/card/_layout.scss +528 -0
  73. package/styles/card/_material-dark-definition.scss +240 -0
  74. package/styles/card/_material-definition.scss +124 -0
  75. package/styles/card/_tailwind-dark-definition.scss +1 -0
  76. package/styles/card/_tailwind-definition.scss +123 -0
  77. package/styles/card/_theme.scss +104 -0
  78. package/styles/card/bootstrap-dark.scss +3 -1
  79. package/styles/card/bootstrap.scss +3 -1
  80. package/styles/card/bootstrap4.scss +3 -1
  81. package/styles/card/bootstrap5-dark.scss +3 -1
  82. package/styles/card/bootstrap5.scss +3 -1
  83. package/styles/card/fabric-dark.scss +3 -1
  84. package/styles/card/fabric.scss +3 -1
  85. package/styles/card/fluent-dark.scss +3 -1
  86. package/styles/card/fluent.scss +3 -1
  87. package/styles/card/highcontrast-light.scss +3 -1
  88. package/styles/card/highcontrast.scss +3 -1
  89. package/styles/card/material-dark.scss +3 -1
  90. package/styles/card/material.scss +3 -1
  91. package/styles/card/tailwind-dark.scss +3 -1
  92. package/styles/card/tailwind.scss +3 -1
  93. package/styles/dashboard-layout/_all.scss +2 -0
  94. package/styles/dashboard-layout/_bootstrap-dark-definition.scss +102 -0
  95. package/styles/dashboard-layout/_bootstrap-definition.scss +102 -0
  96. package/styles/dashboard-layout/_bootstrap4-definition.scss +102 -0
  97. package/styles/dashboard-layout/_bootstrap5-dark-definition.scss +1 -0
  98. package/styles/dashboard-layout/_bootstrap5-definition.scss +108 -0
  99. package/styles/dashboard-layout/_fabric-dark-definition.scss +103 -0
  100. package/styles/dashboard-layout/_fabric-definition.scss +102 -0
  101. package/styles/dashboard-layout/_fluent-dark-definition.scss +1 -0
  102. package/styles/dashboard-layout/_fluent-definition.scss +111 -0
  103. package/styles/dashboard-layout/_fusionnew-definition.scss +108 -0
  104. package/styles/dashboard-layout/_highcontrast-definition.scss +100 -0
  105. package/styles/dashboard-layout/_highcontrast-light-definition.scss +100 -0
  106. package/styles/dashboard-layout/_layout.scss +263 -0
  107. package/styles/dashboard-layout/_material-dark-definition.scss +103 -0
  108. package/styles/dashboard-layout/_material-definition.scss +102 -0
  109. package/styles/dashboard-layout/_tailwind-dark-definition.scss +1 -0
  110. package/styles/dashboard-layout/_tailwind-definition.scss +109 -0
  111. package/styles/dashboard-layout/_theme.scss +128 -0
  112. package/styles/dashboard-layout/bootstrap-dark.scss +4 -1
  113. package/styles/dashboard-layout/bootstrap.scss +4 -1
  114. package/styles/dashboard-layout/bootstrap4.scss +4 -1
  115. package/styles/dashboard-layout/bootstrap5-dark.scss +4 -1
  116. package/styles/dashboard-layout/bootstrap5.scss +4 -1
  117. package/styles/dashboard-layout/fabric-dark.scss +4 -1
  118. package/styles/dashboard-layout/fabric.scss +4 -1
  119. package/styles/dashboard-layout/fluent-dark.scss +4 -1
  120. package/styles/dashboard-layout/fluent.scss +4 -1
  121. package/styles/dashboard-layout/highcontrast-light.scss +3 -1
  122. package/styles/dashboard-layout/highcontrast.scss +4 -1
  123. package/styles/dashboard-layout/icons/_bootstrap-dark.scss +80 -0
  124. package/styles/dashboard-layout/icons/_bootstrap.scss +80 -0
  125. package/styles/dashboard-layout/icons/_bootstrap4.scss +80 -0
  126. package/styles/dashboard-layout/icons/_bootstrap5-dark.scss +1 -0
  127. package/styles/dashboard-layout/icons/_bootstrap5.scss +80 -0
  128. package/styles/dashboard-layout/icons/_fabric-dark.scss +80 -0
  129. package/styles/dashboard-layout/icons/_fabric.scss +80 -0
  130. package/styles/dashboard-layout/icons/_fluent-dark.scss +1 -0
  131. package/styles/dashboard-layout/icons/_fluent.scss +80 -0
  132. package/styles/dashboard-layout/icons/_fusionnew.scss +80 -0
  133. package/styles/dashboard-layout/icons/_highcontrast.scss +80 -0
  134. package/styles/dashboard-layout/icons/_material-dark.scss +80 -0
  135. package/styles/dashboard-layout/icons/_material.scss +80 -0
  136. package/styles/dashboard-layout/icons/_material3.scss +80 -0
  137. package/styles/dashboard-layout/icons/_tailwind-dark.scss +80 -0
  138. package/styles/dashboard-layout/icons/_tailwind.scss +80 -0
  139. package/styles/dashboard-layout/material-dark.scss +4 -1
  140. package/styles/dashboard-layout/material.scss +4 -1
  141. package/styles/dashboard-layout/tailwind-dark.scss +4 -1
  142. package/styles/dashboard-layout/tailwind.scss +4 -1
  143. package/styles/splitter/_all.scss +3 -0
  144. package/styles/splitter/_bootstrap-dark-definition.scss +26 -0
  145. package/styles/splitter/_bootstrap-definition.scss +26 -0
  146. package/styles/splitter/_bootstrap4-definition.scss +26 -0
  147. package/styles/splitter/_bootstrap5-dark-definition.scss +1 -0
  148. package/styles/splitter/_bootstrap5-definition.scss +31 -0
  149. package/styles/splitter/_definition.scss +1 -0
  150. package/styles/splitter/_fabric-dark-definition.scss +26 -0
  151. package/styles/splitter/_fabric-definition.scss +26 -0
  152. package/styles/splitter/_fluent-dark-definition.scss +1 -0
  153. package/styles/splitter/_fluent-definition.scss +31 -0
  154. package/styles/splitter/_fusionnew-definition.scss +31 -0
  155. package/styles/splitter/_highcontrast-definition.scss +26 -0
  156. package/styles/splitter/_highcontrast-light-definition.scss +26 -0
  157. package/styles/splitter/_layout.scss +416 -0
  158. package/styles/splitter/_material-dark-definition.scss +26 -0
  159. package/styles/splitter/_material-definition.scss +27 -0
  160. package/styles/splitter/_responsive.scss +1 -0
  161. package/styles/splitter/_tailwind-dark-definition.scss +1 -0
  162. package/styles/splitter/_tailwind-definition.scss +31 -0
  163. package/styles/splitter/_theme.scss +205 -0
  164. package/styles/splitter/bootstrap-dark.scss +4 -1
  165. package/styles/splitter/bootstrap.scss +4 -1
  166. package/styles/splitter/bootstrap4.scss +4 -1
  167. package/styles/splitter/bootstrap5-dark.scss +4 -1
  168. package/styles/splitter/bootstrap5.scss +4 -1
  169. package/styles/splitter/fabric-dark.scss +4 -1
  170. package/styles/splitter/fabric.scss +4 -1
  171. package/styles/splitter/fluent-dark.scss +4 -1
  172. package/styles/splitter/fluent.scss +4 -1
  173. package/styles/splitter/highcontrast-light.scss +4 -1
  174. package/styles/splitter/highcontrast.scss +4 -1
  175. package/styles/splitter/icons/_bootstrap-dark.scss +52 -0
  176. package/styles/splitter/icons/_bootstrap.scss +52 -0
  177. package/styles/splitter/icons/_bootstrap4.scss +51 -0
  178. package/styles/splitter/icons/_bootstrap5-dark.scss +1 -0
  179. package/styles/splitter/icons/_bootstrap5.scss +39 -0
  180. package/styles/splitter/icons/_fabric-dark.scss +52 -0
  181. package/styles/splitter/icons/_fabric.scss +52 -0
  182. package/styles/splitter/icons/_fluent-dark.scss +1 -0
  183. package/styles/splitter/icons/_fluent.scss +39 -0
  184. package/styles/splitter/icons/_fusionnew.scss +39 -0
  185. package/styles/splitter/icons/_highcontrast-light.scss +52 -0
  186. package/styles/splitter/icons/_highcontrast.scss +52 -0
  187. package/styles/splitter/icons/_material-dark.scss +51 -0
  188. package/styles/splitter/icons/_material.scss +51 -0
  189. package/styles/splitter/icons/_material3.scss +39 -0
  190. package/styles/splitter/icons/_tailwind-dark.scss +1 -0
  191. package/styles/splitter/icons/_tailwind.scss +39 -0
  192. package/styles/splitter/material-dark.scss +4 -1
  193. package/styles/splitter/material.scss +4 -1
  194. package/styles/splitter/tailwind-dark.scss +4 -1
  195. package/styles/splitter/tailwind.scss +4 -1
  196. package/syncfusion-ej2-angular-layouts.d.ts +5 -0
  197. package/@syncfusion/ej2-angular-layouts.es5.js +0 -495
  198. package/@syncfusion/ej2-angular-layouts.es5.js.map +0 -1
  199. package/@syncfusion/ej2-angular-layouts.js +0 -447
  200. package/@syncfusion/ej2-angular-layouts.js.map +0 -1
  201. package/CHANGELOG.md +0 -575
  202. package/dist/ej2-angular-layouts.umd.js +0 -522
  203. package/dist/ej2-angular-layouts.umd.js.map +0 -1
  204. package/dist/ej2-angular-layouts.umd.min.js +0 -11
  205. package/dist/ej2-angular-layouts.umd.min.js.map +0 -1
  206. package/ej2-angular-layouts.d.ts +0 -6
  207. package/ej2-angular-layouts.metadata.json +0 -1
  208. 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 +1,4 @@
1
- @import 'ej2-layouts/styles/splitter/material-dark.scss';
1
+ @import 'ej2-base/styles/material-dark-definition.scss';
2
+ @import 'material-dark-definition.scss';
3
+ @import 'icons/material-dark.scss';
4
+ @import 'all.scss';
@@ -1 +1,4 @@
1
- @import 'ej2-layouts/styles/splitter/material.scss';
1
+ @import 'ej2-base/styles/material-definition.scss';
2
+ @import 'material-definition.scss';
3
+ @import 'icons/material.scss';
4
+ @import 'all.scss';
@@ -1 +1,4 @@
1
- @import 'ej2-layouts/styles/splitter/tailwind-dark.scss';
1
+ @import 'ej2-base/styles/tailwind-dark-definition.scss';
2
+ @import 'tailwind-dark-definition.scss';
3
+ @import 'icons/tailwind-dark.scss';
4
+ @import 'all.scss';
@@ -1 +1,4 @@
1
- @import 'ej2-layouts/styles/splitter/tailwind.scss';
1
+ @import 'ej2-base/styles/tailwind-definition.scss';
2
+ @import 'tailwind-definition.scss';
3
+ @import 'icons/tailwind.scss';
4
+ @import 'all.scss';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@syncfusion/ej2-angular-layouts" />
5
+ export * from './public_api';
@@ -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