@valtimo/layout 4.15.2-next-main.8

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 (136) hide show
  1. package/assets/css/app.css +28364 -0
  2. package/assets/img/1088x336.png +0 -0
  3. package/assets/img/140x140.png +0 -0
  4. package/assets/img/342x239.png +0 -0
  5. package/assets/img/346x106.png +0 -0
  6. package/assets/img/362x239.png +0 -0
  7. package/assets/img/404-bg.png +0 -0
  8. package/assets/img/529x161.png +0 -0
  9. package/assets/img/avatar-150.png +0 -0
  10. package/assets/img/avatar.png +0 -0
  11. package/assets/img/avatar1.png +0 -0
  12. package/assets/img/avatar2.png +0 -0
  13. package/assets/img/avatar3.png +0 -0
  14. package/assets/img/avatar4.png +0 -0
  15. package/assets/img/avatar5.png +0 -0
  16. package/assets/img/avatar6.png +0 -0
  17. package/assets/img/bitbucket.png +0 -0
  18. package/assets/img/db-icon.png +0 -0
  19. package/assets/img/dribbble.png +0 -0
  20. package/assets/img/dropbox.png +0 -0
  21. package/assets/img/fb-icon.png +0 -0
  22. package/assets/img/fl-icon.png +0 -0
  23. package/assets/img/gh-icon.png +0 -0
  24. package/assets/img/github.png +0 -0
  25. package/assets/img/gp-icon.png +0 -0
  26. package/assets/img/in-icon.png +0 -0
  27. package/assets/img/logo-fav.png +0 -0
  28. package/assets/img/logo-symbol.png +0 -0
  29. package/assets/img/logo-white-xx.png +0 -0
  30. package/assets/img/logo-white.png +0 -0
  31. package/assets/img/logo-white.svg +1 -0
  32. package/assets/img/logo-xx.png +0 -0
  33. package/assets/img/logo.png +0 -0
  34. package/assets/img/logo.svg +1 -0
  35. package/assets/img/mail_chimp.png +0 -0
  36. package/assets/img/pi-icon.png +0 -0
  37. package/assets/img/slack.png +0 -0
  38. package/assets/img/slack_logo.png +0 -0
  39. package/assets/img/tu-icon.png +0 -0
  40. package/assets/img/tw-icon.png +0 -0
  41. package/assets/img/user-profile-display.png +0 -0
  42. package/assets/img/valtimo/favicons/android-chrome-192x192.png +0 -0
  43. package/assets/img/valtimo/favicons/android-chrome-256x256.png +0 -0
  44. package/assets/img/valtimo/favicons/apple-touch-icon.png +0 -0
  45. package/assets/img/valtimo/favicons/browserconfig.xml +25 -0
  46. package/assets/img/valtimo/favicons/favicon-16x16.png +0 -0
  47. package/assets/img/valtimo/favicons/favicon-32x32.png +0 -0
  48. package/assets/img/valtimo/favicons/favicon.ico +0 -0
  49. package/assets/img/valtimo/favicons/manifest.json +18 -0
  50. package/assets/img/valtimo/favicons/mstile-150x150.png +0 -0
  51. package/assets/img/valtimo/favicons/safari-pinned-tab.svg +19 -0
  52. package/assets/img/yt-icon.png +0 -0
  53. package/assets/js/app.js +835 -0
  54. package/assets/lib/jquery.gritter/images/gritter-bg.png +0 -0
  55. package/assets/lib/roboto/Roboto-Black.eot +0 -0
  56. package/assets/lib/roboto/Roboto-Black.svg +10968 -0
  57. package/assets/lib/roboto/Roboto-Black.ttf +0 -0
  58. package/assets/lib/roboto/Roboto-Black.woff +0 -0
  59. package/assets/lib/roboto/Roboto-Black.woff2 +0 -0
  60. package/assets/lib/roboto/Roboto-BlackItalic.eot +0 -0
  61. package/assets/lib/roboto/Roboto-BlackItalic.svg +11086 -0
  62. package/assets/lib/roboto/Roboto-BlackItalic.ttf +0 -0
  63. package/assets/lib/roboto/Roboto-BlackItalic.woff +0 -0
  64. package/assets/lib/roboto/Roboto-BlackItalic.woff2 +0 -0
  65. package/assets/lib/roboto/Roboto-Bold.eot +0 -0
  66. package/assets/lib/roboto/Roboto-Bold.svg +11010 -0
  67. package/assets/lib/roboto/Roboto-Bold.ttf +0 -0
  68. package/assets/lib/roboto/Roboto-Bold.woff +0 -0
  69. package/assets/lib/roboto/Roboto-Bold.woff2 +0 -0
  70. package/assets/lib/roboto/Roboto-BoldItalic.eot +0 -0
  71. package/assets/lib/roboto/Roboto-BoldItalic.svg +11096 -0
  72. package/assets/lib/roboto/Roboto-BoldItalic.ttf +0 -0
  73. package/assets/lib/roboto/Roboto-BoldItalic.woff +0 -0
  74. package/assets/lib/roboto/Roboto-BoldItalic.woff2 +0 -0
  75. package/assets/lib/roboto/Roboto-Light.eot +0 -0
  76. package/assets/lib/roboto/Roboto-Light.svg +10564 -0
  77. package/assets/lib/roboto/Roboto-Light.ttf +0 -0
  78. package/assets/lib/roboto/Roboto-Light.woff +0 -0
  79. package/assets/lib/roboto/Roboto-Light.woff2 +0 -0
  80. package/assets/lib/roboto/Roboto-LightItalic.eot +0 -0
  81. package/assets/lib/roboto/Roboto-LightItalic.svg +10646 -0
  82. package/assets/lib/roboto/Roboto-LightItalic.ttf +0 -0
  83. package/assets/lib/roboto/Roboto-LightItalic.woff +0 -0
  84. package/assets/lib/roboto/Roboto-LightItalic.woff2 +0 -0
  85. package/assets/lib/roboto/Roboto-Medium.eot +0 -0
  86. package/assets/lib/roboto/Roboto-Medium.svg +10999 -0
  87. package/assets/lib/roboto/Roboto-Medium.ttf +0 -0
  88. package/assets/lib/roboto/Roboto-Medium.woff +0 -0
  89. package/assets/lib/roboto/Roboto-Medium.woff2 +0 -0
  90. package/assets/lib/roboto/Roboto-MediumItalic.eot +0 -0
  91. package/assets/lib/roboto/Roboto-MediumItalic.svg +11100 -0
  92. package/assets/lib/roboto/Roboto-MediumItalic.ttf +0 -0
  93. package/assets/lib/roboto/Roboto-MediumItalic.woff +0 -0
  94. package/assets/lib/roboto/Roboto-MediumItalic.woff2 +0 -0
  95. package/assets/lib/roboto/Roboto-Regular.eot +0 -0
  96. package/assets/lib/roboto/Roboto-Regular.svg +10520 -0
  97. package/assets/lib/roboto/Roboto-Regular.ttf +0 -0
  98. package/assets/lib/roboto/Roboto-Regular.woff +0 -0
  99. package/assets/lib/roboto/Roboto-Regular.woff2 +0 -0
  100. package/assets/lib/roboto/Roboto-RegularItalic.eot +0 -0
  101. package/assets/lib/roboto/Roboto-RegularItalic.svg +10629 -0
  102. package/assets/lib/roboto/Roboto-RegularItalic.ttf +0 -0
  103. package/assets/lib/roboto/Roboto-RegularItalic.woff +0 -0
  104. package/assets/lib/roboto/Roboto-RegularItalic.woff2 +0 -0
  105. package/assets/lib/roboto/Roboto-Thin.eot +0 -0
  106. package/assets/lib/roboto/Roboto-Thin.svg +10617 -0
  107. package/assets/lib/roboto/Roboto-Thin.ttf +0 -0
  108. package/assets/lib/roboto/Roboto-Thin.woff +0 -0
  109. package/assets/lib/roboto/Roboto-Thin.woff2 +0 -0
  110. package/assets/lib/roboto/Roboto-ThinItalic.eot +0 -0
  111. package/assets/lib/roboto/Roboto-ThinItalic.svg +10726 -0
  112. package/assets/lib/roboto/Roboto-ThinItalic.ttf +0 -0
  113. package/assets/lib/roboto/Roboto-ThinItalic.woff +0 -0
  114. package/assets/lib/roboto/Roboto-ThinItalic.woff2 +0 -0
  115. package/bundles/valtimo-layout.umd.js +243 -0
  116. package/bundles/valtimo-layout.umd.js.map +1 -0
  117. package/bundles/valtimo-layout.umd.min.js +2 -0
  118. package/bundles/valtimo-layout.umd.min.js.map +1 -0
  119. package/esm2015/lib/layout-internal/layout-internal.component.js +55 -0
  120. package/esm2015/lib/layout-public/layout-public.component.js +30 -0
  121. package/esm2015/lib/layout.component.js +48 -0
  122. package/esm2015/lib/layout.module.js +41 -0
  123. package/esm2015/lib/layout.service.js +36 -0
  124. package/esm2015/public_api.js +22 -0
  125. package/esm2015/valtimo-layout.js +7 -0
  126. package/fesm2015/valtimo-layout.js +222 -0
  127. package/fesm2015/valtimo-layout.js.map +1 -0
  128. package/lib/layout-internal/layout-internal.component.d.ts +14 -0
  129. package/lib/layout-public/layout-public.component.d.ts +5 -0
  130. package/lib/layout.component.d.ts +12 -0
  131. package/lib/layout.module.d.ts +2 -0
  132. package/lib/layout.service.d.ts +6 -0
  133. package/package.json +70 -0
  134. package/public_api.d.ts +3 -0
  135. package/valtimo-layout.d.ts +6 -0
  136. package/valtimo-layout.metadata.json +1 -0
@@ -0,0 +1,222 @@
1
+ import { ɵɵdefineInjectable, Injectable, Component, Renderer2, ViewChild, NgModule } from '@angular/core';
2
+ import { NavigationEnd, Router, ActivatedRoute, RouterModule } from '@angular/router';
3
+ import { filter } from 'rxjs/operators';
4
+ import { Subscription, BehaviorSubject } from 'rxjs';
5
+ import { MenuRoutingModule, TopbarModule, LeftSidebarModule, RightSidebarModule, PageHeaderModule, AlertModule } from '@valtimo/components';
6
+ import { CommonModule } from '@angular/common';
7
+
8
+ /*
9
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
10
+ *
11
+ * Licensed under EUPL, Version 1.2 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" basis,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
22
+ */
23
+ class LayoutService {
24
+ constructor() {
25
+ this.fullscreen = false;
26
+ }
27
+ get isFullscreen() {
28
+ return this.fullscreen;
29
+ }
30
+ toggleFullscreen() {
31
+ this.fullscreen = !this.fullscreen;
32
+ }
33
+ }
34
+ LayoutService.ɵprov = ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
35
+ LayoutService.decorators = [
36
+ { type: Injectable, args: [{
37
+ providedIn: 'root'
38
+ },] }
39
+ ];
40
+ LayoutService.ctorParameters = () => [];
41
+
42
+ /*
43
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
44
+ *
45
+ * Licensed under EUPL, Version 1.2 (the "License");
46
+ * you may not use this file except in compliance with the License.
47
+ * You may obtain a copy of the License at
48
+ *
49
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
50
+ *
51
+ * Unless required by applicable law or agreed to in writing, software
52
+ * distributed under the License is distributed on an "AS IS" basis,
53
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54
+ * See the License for the specific language governing permissions and
55
+ * limitations under the License.
56
+ */
57
+ class LayoutComponent {
58
+ constructor(router, route) {
59
+ this.router = router;
60
+ this.route = route;
61
+ this.layoutType = null;
62
+ this.routerSub = Subscription.EMPTY;
63
+ this.defaultLayout = 'internal';
64
+ }
65
+ ngOnInit() {
66
+ this.routerSub = this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {
67
+ const layout = this.route.snapshot.firstChild.data.layout;
68
+ this.layoutType = layout ? layout : this.defaultLayout;
69
+ });
70
+ }
71
+ ngOnDestroy() {
72
+ this.routerSub.unsubscribe();
73
+ }
74
+ }
75
+ LayoutComponent.decorators = [
76
+ { type: Component, args: [{
77
+ selector: 'valtimo-layout',
78
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-layout-public *ngIf=\"layoutType === 'public'\"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf=\"layoutType === 'internal'\"></valtimo-layout-internal>\n"
79
+ },] }
80
+ ];
81
+ LayoutComponent.ctorParameters = () => [
82
+ { type: Router },
83
+ { type: ActivatedRoute }
84
+ ];
85
+
86
+ /*
87
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
88
+ *
89
+ * Licensed under EUPL, Version 1.2 (the "License");
90
+ * you may not use this file except in compliance with the License.
91
+ * You may obtain a copy of the License at
92
+ *
93
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
94
+ *
95
+ * Unless required by applicable law or agreed to in writing, software
96
+ * distributed under the License is distributed on an "AS IS" basis,
97
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
98
+ * See the License for the specific language governing permissions and
99
+ * limitations under the License.
100
+ */
101
+ class LayoutPublicComponent {
102
+ constructor() { }
103
+ ngOnInit() {
104
+ }
105
+ }
106
+ LayoutPublicComponent.decorators = [
107
+ { type: Component, args: [{
108
+ selector: 'valtimo-layout-public',
109
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"public-page-content\">\n <img src=\"assets/logo.svg\" class=\"logo\">\n <router-outlet></router-outlet>\n</div>\n",
110
+ styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */body{background-color:#eee}.public-page-content{background-color:#fff;border:1px solid #dee2e6;margin:60px auto;padding:0 30px 30px}.public-page-content .logo{display:block;margin:30px auto;width:25%}@media (min-width:768px){.public-page-content{width:50%}}@media (max-width:767px) and (min-width:576px){.public-page-content{width:75%}}@media (max-width:575px){.public-page-content{width:95%}.public-page-content .logo{width:50%}}"]
111
+ },] }
112
+ ];
113
+ LayoutPublicComponent.ctorParameters = () => [];
114
+
115
+ /*
116
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
117
+ *
118
+ * Licensed under EUPL, Version 1.2 (the "License");
119
+ * you may not use this file except in compliance with the License.
120
+ * You may obtain a copy of the License at
121
+ *
122
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
123
+ *
124
+ * Unless required by applicable law or agreed to in writing, software
125
+ * distributed under the License is distributed on an "AS IS" basis,
126
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
127
+ * See the License for the specific language governing permissions and
128
+ * limitations under the License.
129
+ */
130
+ class LayoutInternalComponent {
131
+ constructor(layoutService, renderer) {
132
+ this.layoutService = layoutService;
133
+ this.renderer = renderer;
134
+ this.menuOpen$ = new BehaviorSubject(true);
135
+ this.menuWidth$ = new BehaviorSubject(undefined);
136
+ this.observer = new MutationObserver((e) => this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed')));
137
+ this.renderer.addClass(document.body, 'be-animate');
138
+ }
139
+ ngAfterViewInit() {
140
+ App.init();
141
+ this.observer.observe(this.wrapperRef.nativeElement, {
142
+ attributes: true,
143
+ attributeFilter: ['class'],
144
+ childList: false,
145
+ characterData: false
146
+ });
147
+ }
148
+ menuWidthChanged(width) {
149
+ this.menuWidth$.next(width);
150
+ }
151
+ }
152
+ LayoutInternalComponent.decorators = [
153
+ { type: Component, args: [{
154
+ selector: 'valtimo-layout-internal',
155
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"be-wrapper be-fixed-sidebar be-collapsible-sidebar\" #wrapper>\n <valtimo-topbar></valtimo-topbar>\n <valtimo-left-sidebar\n [hidden]=\"layoutService.isFullscreen\"\n [menuIsOpen]=\"menuOpen$ | async\"\n (menuWidthChanged)=\"menuWidthChanged($event)\"\n ></valtimo-left-sidebar>\n <div\n [ngClass]=\"{'be-content': !layoutService.isFullscreen}\"\n [style.marginLeft.px]=\"(menuOpen$ | async) && !layoutService.isFullscreen ? (menuWidth$ | async) : null\"\n >\n <valtimo-alert></valtimo-alert>\n <valtimo-page-header [hidden]=\"layoutService.isFullscreen\"></valtimo-page-header>\n <router-outlet></router-outlet>\n </div>\n <valtimo-right-sidebar></valtimo-right-sidebar>\n <!--<valtimo-session-expired-popup *ngIf=\"auth0Service.sessionExpired\"></valtimo-session-expired-popup>-->\n</div>\n",
156
+ styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */@media screen and (max-width:767px){.be-content{margin-left:0!important}}"]
157
+ },] }
158
+ ];
159
+ LayoutInternalComponent.ctorParameters = () => [
160
+ { type: LayoutService },
161
+ { type: Renderer2 }
162
+ ];
163
+ LayoutInternalComponent.propDecorators = {
164
+ wrapperRef: [{ type: ViewChild, args: ['wrapper',] }]
165
+ };
166
+
167
+ /*
168
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
169
+ *
170
+ * Licensed under EUPL, Version 1.2 (the "License");
171
+ * you may not use this file except in compliance with the License.
172
+ * You may obtain a copy of the License at
173
+ *
174
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
175
+ *
176
+ * Unless required by applicable law or agreed to in writing, software
177
+ * distributed under the License is distributed on an "AS IS" basis,
178
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
179
+ * See the License for the specific language governing permissions and
180
+ * limitations under the License.
181
+ */
182
+ class LayoutModule {
183
+ }
184
+ LayoutModule.decorators = [
185
+ { type: NgModule, args: [{
186
+ declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
187
+ imports: [
188
+ RouterModule,
189
+ MenuRoutingModule,
190
+ TopbarModule,
191
+ LeftSidebarModule,
192
+ RightSidebarModule,
193
+ PageHeaderModule,
194
+ AlertModule,
195
+ CommonModule
196
+ ],
197
+ exports: [LayoutComponent]
198
+ },] }
199
+ ];
200
+
201
+ /*
202
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
203
+ *
204
+ * Licensed under EUPL, Version 1.2 (the "License");
205
+ * you may not use this file except in compliance with the License.
206
+ * You may obtain a copy of the License at
207
+ *
208
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
209
+ *
210
+ * Unless required by applicable law or agreed to in writing, software
211
+ * distributed under the License is distributed on an "AS IS" basis,
212
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
213
+ * See the License for the specific language governing permissions and
214
+ * limitations under the License.
215
+ */
216
+
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
+ */
220
+
221
+ export { LayoutComponent, LayoutModule, LayoutService, LayoutPublicComponent as ɵa, LayoutInternalComponent as ɵb };
222
+ //# sourceMappingURL=valtimo-layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valtimo-layout.js","sources":["../../../../projects/valtimo/layout/src/lib/layout.service.ts","../../../../projects/valtimo/layout/src/lib/layout.component.ts","../../../../projects/valtimo/layout/src/lib/layout-public/layout-public.component.ts","../../../../projects/valtimo/layout/src/lib/layout-internal/layout-internal.component.ts","../../../../projects/valtimo/layout/src/lib/layout.module.ts","../../../../projects/valtimo/layout/src/public_api.ts","../../../../projects/valtimo/layout/src/valtimo-layout.ts"],"sourcesContent":["/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LayoutService {\n private fullscreen = false;\n\n constructor() {\n }\n\n public get isFullscreen() {\n return this.fullscreen;\n }\n\n public toggleFullscreen() {\n this.fullscreen = !this.fullscreen;\n }\n\n\n}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component, OnDestroy, OnInit} from '@angular/core';\nimport {ActivatedRoute, NavigationEnd, Router} from '@angular/router';\nimport {filter} from 'rxjs/operators';\nimport {Subscription} from 'rxjs';\n\ndeclare var App: any;\n\n@Component({\n selector: 'valtimo-layout',\n templateUrl: './layout.component.html'\n})\nexport class LayoutComponent implements OnInit, OnDestroy {\n\n public layoutType: string | null = null;\n private routerSub = Subscription.EMPTY;\n private defaultLayout = 'internal';\n\n constructor(private router: Router, private route: ActivatedRoute) {\n }\n\n ngOnInit() {\n this.routerSub = this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {\n const layout = this.route.snapshot.firstChild.data.layout;\n this.layoutType = layout ? layout : this.defaultLayout;\n });\n }\n\n ngOnDestroy() {\n this.routerSub.unsubscribe();\n }\n\n}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component, OnInit} from '@angular/core';\n\n@Component({\n selector: 'valtimo-layout-public',\n templateUrl: './layout-public.component.html',\n styleUrls: ['./layout-public.component.scss']\n})\nexport class LayoutPublicComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {AfterViewInit, Component, ElementRef, Renderer2, ViewChild} from '@angular/core';\nimport {BehaviorSubject} from 'rxjs';\nimport {LayoutService} from '../layout.service';\n\ndeclare var App;\n\n@Component({\n selector: 'valtimo-layout-internal',\n templateUrl: './layout-internal.component.html',\n styleUrls: ['./layout-internal.component.scss']\n})\nexport class LayoutInternalComponent implements AfterViewInit {\n @ViewChild('wrapper') wrapperRef: ElementRef;\n\n readonly menuOpen$ = new BehaviorSubject<boolean>(true);\n readonly menuWidth$ = new BehaviorSubject<number>(undefined);\n\n readonly observer = new MutationObserver((e: any) =>\n this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed'))\n );\n\n constructor(public layoutService: LayoutService, private renderer: Renderer2) {\n this.renderer.addClass(document.body, 'be-animate');\n }\n\n ngAfterViewInit(): void {\n App.init();\n\n this.observer.observe(this.wrapperRef.nativeElement, {\n attributes: true,\n attributeFilter: ['class'],\n childList: false,\n characterData: false\n });\n }\n\n menuWidthChanged(width: number): void {\n this.menuWidth$.next(width);\n }\n}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {LayoutComponent} from './layout.component';\nimport {AlertModule, LeftSidebarModule, MenuRoutingModule, PageHeaderModule, RightSidebarModule, TopbarModule} from '@valtimo/components';\nimport {RouterModule} from '@angular/router';\nimport {LayoutPublicComponent} from './layout-public/layout-public.component';\nimport {LayoutInternalComponent} from './layout-internal/layout-internal.component';\nimport {CommonModule} from '@angular/common';\n\n@NgModule({\n declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],\n imports: [\n RouterModule,\n MenuRoutingModule,\n TopbarModule,\n LeftSidebarModule,\n RightSidebarModule,\n PageHeaderModule,\n AlertModule,\n CommonModule\n ],\n exports: [LayoutComponent]\n})\nexport class LayoutModule {\n}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of layout\n */\n\nexport * from './lib/layout.service';\nexport * from './lib/layout.component';\nexport * from './lib/layout.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {LayoutInternalComponent as ɵb} from './lib/layout-internal/layout-internal.component';\nexport {LayoutPublicComponent as ɵa} from './lib/layout-public/layout-public.component';"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;MAqBa,aAAa;IAGxB;QAFQ,eAAU,GAAG,KAAK,CAAC;KAG1B;IAED,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IAEM,gBAAgB;QACrB,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;KACpC;;;;YAfF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;ACpBD;;;;;;;;;;;;;;;MA2Ba,eAAe;IAM1B,YAAoB,MAAc,EAAU,KAAqB;QAA7C,WAAM,GAAN,MAAM,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAgB;QAJ1D,eAAU,GAAkB,IAAI,CAAC;QAChC,cAAS,GAAG,YAAY,CAAC,KAAK,CAAC;QAC/B,kBAAa,GAAG,UAAU,CAAC;KAGlC;IAED,QAAQ;QACN,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,KAAK,YAAY,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;YAC1D,IAAI,CAAC,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC;SACxD,CAAC,CAAC;KACJ;IAED,WAAW;QACT,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;KAC9B;;;YAtBF,SAAS,SAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,w0BAAsC;aACvC;;;YATsC,MAAM;YAArC,cAAc;;;ACjBtB;;;;;;;;;;;;;;;MAuBa,qBAAqB;IAEhC,iBAAiB;IAEjB,QAAQ;KACP;;;YAVF,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,4xBAA6C;;aAE9C;;;;ACtBD;;;;;;;;;;;;;;;MA2Ba,uBAAuB;IAUlC,YAAmB,aAA4B,EAAU,QAAmB;QAAzD,kBAAa,GAAb,aAAa,CAAe;QAAU,aAAQ,GAAR,QAAQ,CAAW;QAPnE,cAAS,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC,CAAC;QAC/C,eAAU,GAAG,IAAI,eAAe,CAAS,SAAS,CAAC,CAAC;QAEpD,aAAQ,GAAG,IAAI,gBAAgB,CAAC,CAAC,CAAM,KAC9C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,kCAAkC,CAAC,CAAC,CACzF,CAAC;QAGA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;KACrD;IAED,eAAe;QACb,GAAG,CAAC,IAAI,EAAE,CAAC;QAEX,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACnD,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,OAAO,CAAC;YAC1B,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,KAAK;SACrB,CAAC,CAAC;KACJ;IAED,gBAAgB,CAAC,KAAa;QAC5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC7B;;;YAhCF,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,i+CAA+C;;aAEhD;;;YARO,aAAa;YAFyB,SAAS;;;yBAYpD,SAAS,SAAC,SAAS;;;AC5BtB;;;;;;;;;;;;;;;MAsCa,YAAY;;;YAdxB,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,eAAe,EAAE,qBAAqB,EAAE,uBAAuB,CAAC;gBAC/E,OAAO,EAAE;oBACP,YAAY;oBACZ,iBAAiB;oBACjB,YAAY;oBACZ,iBAAiB;oBACjB,kBAAkB;oBAClB,gBAAgB;oBAChB,WAAW;oBACX,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,eAAe,CAAC;aAC3B;;;ACrCD;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -0,0 +1,14 @@
1
+ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { LayoutService } from '../layout.service';
4
+ export declare class LayoutInternalComponent implements AfterViewInit {
5
+ layoutService: LayoutService;
6
+ private renderer;
7
+ wrapperRef: ElementRef;
8
+ readonly menuOpen$: BehaviorSubject<boolean>;
9
+ readonly menuWidth$: BehaviorSubject<number>;
10
+ readonly observer: MutationObserver;
11
+ constructor(layoutService: LayoutService, renderer: Renderer2);
12
+ ngAfterViewInit(): void;
13
+ menuWidthChanged(width: number): void;
14
+ }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class LayoutPublicComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -0,0 +1,12 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ export declare class LayoutComponent implements OnInit, OnDestroy {
4
+ private router;
5
+ private route;
6
+ layoutType: string | null;
7
+ private routerSub;
8
+ private defaultLayout;
9
+ constructor(router: Router, route: ActivatedRoute);
10
+ ngOnInit(): void;
11
+ ngOnDestroy(): void;
12
+ }
@@ -0,0 +1,2 @@
1
+ export declare class LayoutModule {
2
+ }
@@ -0,0 +1,6 @@
1
+ export declare class LayoutService {
2
+ private fullscreen;
3
+ constructor();
4
+ get isFullscreen(): boolean;
5
+ toggleFullscreen(): void;
6
+ }
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@valtimo/layout",
3
+ "version": "4.15.2-next-main.8",
4
+ "peerDependencies": {
5
+ "@angular/common": "^10.0.11",
6
+ "@angular/core": "^10.0.11"
7
+ },
8
+ "publishConfig": {
9
+ "registry": "http://repo.ritense.com/repository/npm-ritense-private/"
10
+ },
11
+ "dependencies": {
12
+ "@foxythemes/material-design-iconic-font": "^2.2.1",
13
+ "@foxythemes/gritter": "^1.7.4",
14
+ "@foxythemes/sparkline": "^2.1.3",
15
+ "@foxythemes/bootstrap-datetime-picker-bs4": "^2.3.4",
16
+ "@foxythemes/fastclick": "^1.0.3",
17
+ "@foxythemes/jquery-nestable": "^1.0.0",
18
+ "@foxythemes/jvectormap": "^1.0.0",
19
+ "@foxythemes/morris.js": "^0.5.1",
20
+ "beagle-resources": "^v1.0.2",
21
+ "bootstrap": "^4.1.3",
22
+ "@popperjs/core": "^2.0.5",
23
+ "bootstrap-slider": "^10.0.0",
24
+ "bs4-breakpoint-check": "^1.0.5",
25
+ "chart.js": "^2.7.1",
26
+ "code-prettify": "^0.1.0",
27
+ "codemirror": "^5.19.0",
28
+ "countup.js": "^1.5.3",
29
+ "datatables.net": "^1.10.19",
30
+ "datatables.net-bs4": "^1.10.19",
31
+ "datatables.net-buttons": "^1.5.3",
32
+ "datatables.net-buttons-bs4": "^1.5.3",
33
+ "datatables.net-responsive": "^2.2.3",
34
+ "datatables.net-responsive-bs4": "^2.2.3",
35
+ "dragula": "^3.7.2",
36
+ "dropzone": "^4.3.0",
37
+ "fuelux": "^3.15.11",
38
+ "fullcalendar": "^3.8.0",
39
+ "jquery": "3.4.1",
40
+ "jquery-touchswipe": "^1.6.12",
41
+ "components-jqueryui": "^1.11.4",
42
+ "jquery.maskedinput": "^1.4.1",
43
+ "jquery.quicksearch": "^2.3.1",
44
+ "jqvmap": "^1.5.1",
45
+ "jszip": "^3.1.5",
46
+ "magnific-popup": "^1.0.0",
47
+ "masonry-layout": "^4.1.0",
48
+ "moment": "2.24.0",
49
+ "mprogress": "^0.1.1",
50
+ "multiselect": "^0.9.12",
51
+ "parsleyjs": "^2.4.3",
52
+ "pdfmake": "^0.1.37",
53
+ "perfect-scrollbar": "^1.4.0",
54
+ "raphael": "^2.1.0",
55
+ "roboto-fontface": "~0.4.3",
56
+ "select2": "^4.0.3",
57
+ "summernote": "^0.8.10",
58
+ "sweetalert2": "^7.26.28",
59
+ "tinycolor2": "^1.2.1",
60
+ "tslib": "^2.0.0"
61
+ },
62
+ "main": "bundles/valtimo-layout.umd.js",
63
+ "module": "fesm2015/valtimo-layout.js",
64
+ "es2015": "fesm2015/valtimo-layout.js",
65
+ "esm2015": "esm2015/valtimo-layout.js",
66
+ "fesm2015": "fesm2015/valtimo-layout.js",
67
+ "typings": "valtimo-layout.d.ts",
68
+ "metadata": "valtimo-layout.metadata.json",
69
+ "sideEffects": false
70
+ }
@@ -0,0 +1,3 @@
1
+ export * from './lib/layout.service';
2
+ export * from './lib/layout.component';
3
+ export * from './lib/layout.module';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ export { LayoutInternalComponent as ɵb } from './lib/layout-internal/layout-internal.component';
6
+ export { LayoutPublicComponent as ɵa } from './lib/layout-public/layout-public.component';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"LayoutService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":18,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"toggleFullscreen":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"LayoutComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"valtimo-layout","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-layout-public *ngIf=\"layoutType === 'public'\"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf=\"layoutType === 'internal'\"></valtimo-layout-internal>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":33,"character":30},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":33,"character":53}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"LayoutModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":24,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LayoutComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":27,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"MenuRoutingModule","line":28,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"TopbarModule","line":29,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"LeftSidebarModule","line":30,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"RightSidebarModule","line":31,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"PageHeaderModule","line":32,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"AlertModule","line":33,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":34,"character":4}],"exports":[{"__symbolic":"reference","name":"LayoutComponent"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"valtimo-layout-public","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"public-page-content\">\n <img src=\"assets/logo.svg\" class=\"logo\">\n <router-outlet></router-outlet>\n</div>\n","styles":["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */body{background-color:#eee}.public-page-content{background-color:#fff;border:1px solid #dee2e6;margin:60px auto;padding:0 30px 30px}.public-page-content .logo{display:block;margin:30px auto;width:25%}@media (min-width:768px){.public-page-content{width:50%}}@media (max-width:767px) and (min-width:576px){.public-page-content{width:75%}}@media (max-width:575px){.public-page-content{width:95%}.public-page-content .logo{width:50%}}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"valtimo-layout-internal","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"be-wrapper be-fixed-sidebar be-collapsible-sidebar\" #wrapper>\n <valtimo-topbar></valtimo-topbar>\n <valtimo-left-sidebar\n [hidden]=\"layoutService.isFullscreen\"\n [menuIsOpen]=\"menuOpen$ | async\"\n (menuWidthChanged)=\"menuWidthChanged($event)\"\n ></valtimo-left-sidebar>\n <div\n [ngClass]=\"{'be-content': !layoutService.isFullscreen}\"\n [style.marginLeft.px]=\"(menuOpen$ | async) && !layoutService.isFullscreen ? (menuWidth$ | async) : null\"\n >\n <valtimo-alert></valtimo-alert>\n <valtimo-page-header [hidden]=\"layoutService.isFullscreen\"></valtimo-page-header>\n <router-outlet></router-outlet>\n </div>\n <valtimo-right-sidebar></valtimo-right-sidebar>\n <!--<valtimo-session-expired-popup *ngIf=\"auth0Service.sessionExpired\"></valtimo-session-expired-popup>-->\n</div>\n","styles":["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */@media screen and (max-width:767px){.be-content{margin-left:0!important}}"]}]}],"members":{"wrapperRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["wrapper"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LayoutService"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":37,"character":69}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"menuWidthChanged":[{"__symbolic":"method"}]}}},"origins":{"LayoutService":"./lib/layout.service","LayoutComponent":"./lib/layout.component","LayoutModule":"./lib/layout.module","ɵa":"./lib/layout-public/layout-public.component","ɵb":"./lib/layout-internal/layout-internal.component"},"importAs":"@valtimo/layout"}