@valtimo/layout 4.15.2-next-main.14 → 4.15.3-next-main.15

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 (65) hide show
  1. package/assets/lib/roboto/Roboto-Black.eot +0 -0
  2. package/assets/lib/roboto/Roboto-Black.svg +0 -0
  3. package/assets/lib/roboto/Roboto-Black.ttf +0 -0
  4. package/assets/lib/roboto/Roboto-Black.woff +0 -0
  5. package/assets/lib/roboto/Roboto-BlackItalic.eot +0 -0
  6. package/assets/lib/roboto/Roboto-BlackItalic.svg +0 -0
  7. package/assets/lib/roboto/Roboto-BlackItalic.ttf +0 -0
  8. package/assets/lib/roboto/Roboto-BlackItalic.woff +0 -0
  9. package/assets/lib/roboto/Roboto-Bold.eot +0 -0
  10. package/assets/lib/roboto/Roboto-Bold.svg +0 -0
  11. package/assets/lib/roboto/Roboto-Bold.ttf +0 -0
  12. package/assets/lib/roboto/Roboto-Bold.woff +0 -0
  13. package/assets/lib/roboto/Roboto-BoldItalic.eot +0 -0
  14. package/assets/lib/roboto/Roboto-BoldItalic.svg +0 -0
  15. package/assets/lib/roboto/Roboto-BoldItalic.ttf +0 -0
  16. package/assets/lib/roboto/Roboto-BoldItalic.woff +0 -0
  17. package/assets/lib/roboto/Roboto-Light.eot +0 -0
  18. package/assets/lib/roboto/Roboto-Light.svg +0 -0
  19. package/assets/lib/roboto/Roboto-Light.ttf +0 -0
  20. package/assets/lib/roboto/Roboto-Light.woff +0 -0
  21. package/assets/lib/roboto/Roboto-LightItalic.eot +0 -0
  22. package/assets/lib/roboto/Roboto-LightItalic.svg +0 -0
  23. package/assets/lib/roboto/Roboto-LightItalic.ttf +0 -0
  24. package/assets/lib/roboto/Roboto-LightItalic.woff +0 -0
  25. package/assets/lib/roboto/Roboto-Medium.eot +0 -0
  26. package/assets/lib/roboto/Roboto-Medium.svg +0 -0
  27. package/assets/lib/roboto/Roboto-Medium.ttf +0 -0
  28. package/assets/lib/roboto/Roboto-Medium.woff +0 -0
  29. package/assets/lib/roboto/Roboto-MediumItalic.eot +0 -0
  30. package/assets/lib/roboto/Roboto-MediumItalic.svg +0 -0
  31. package/assets/lib/roboto/Roboto-MediumItalic.ttf +0 -0
  32. package/assets/lib/roboto/Roboto-MediumItalic.woff +0 -0
  33. package/assets/lib/roboto/Roboto-Regular.eot +0 -0
  34. package/assets/lib/roboto/Roboto-Regular.svg +0 -0
  35. package/assets/lib/roboto/Roboto-Regular.ttf +0 -0
  36. package/assets/lib/roboto/Roboto-Regular.woff +0 -0
  37. package/assets/lib/roboto/Roboto-RegularItalic.eot +0 -0
  38. package/assets/lib/roboto/Roboto-RegularItalic.svg +0 -0
  39. package/assets/lib/roboto/Roboto-RegularItalic.ttf +0 -0
  40. package/assets/lib/roboto/Roboto-RegularItalic.woff +0 -0
  41. package/assets/lib/roboto/Roboto-Thin.eot +0 -0
  42. package/assets/lib/roboto/Roboto-Thin.svg +0 -0
  43. package/assets/lib/roboto/Roboto-Thin.ttf +0 -0
  44. package/assets/lib/roboto/Roboto-Thin.woff +0 -0
  45. package/assets/lib/roboto/Roboto-ThinItalic.eot +0 -0
  46. package/assets/lib/roboto/Roboto-ThinItalic.svg +0 -0
  47. package/assets/lib/roboto/Roboto-ThinItalic.ttf +0 -0
  48. package/assets/lib/roboto/Roboto-ThinItalic.woff +0 -0
  49. package/bundles/valtimo-layout.umd.js +213 -213
  50. package/esm2015/lib/layout-internal/layout-internal.component.js +54 -54
  51. package/esm2015/lib/layout-public/layout-public.component.js +29 -29
  52. package/esm2015/lib/layout.component.js +47 -47
  53. package/esm2015/lib/layout.module.js +40 -40
  54. package/esm2015/lib/layout.service.js +35 -35
  55. package/esm2015/public_api.js +21 -21
  56. package/esm2015/valtimo-layout.js +6 -6
  57. package/fesm2015/valtimo-layout.js +199 -199
  58. package/lib/layout-internal/layout-internal.component.d.ts +14 -14
  59. package/lib/layout-public/layout-public.component.d.ts +5 -5
  60. package/lib/layout.component.d.ts +12 -12
  61. package/lib/layout.module.d.ts +2 -2
  62. package/lib/layout.service.d.ts +6 -6
  63. package/package.json +1 -1
  64. package/public_api.d.ts +3 -3
  65. package/valtimo-layout.d.ts +6 -6
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -4,231 +4,231 @@
4
4
  (global = global || self, factory((global.valtimo = global.valtimo || {}, global.valtimo.layout = {}), global.ng.core, global.ng.router, global.rxjs.operators, global.rxjs, global.components, global.ng.common));
5
5
  }(this, (function (exports, i0, router, operators, rxjs, components, common) { 'use strict';
6
6
 
7
- /*
8
- * Copyright 2015-2020 Ritense BV, the Netherlands.
9
- *
10
- * Licensed under EUPL, Version 1.2 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" basis,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- */
22
- var LayoutService = /** @class */ (function () {
23
- function LayoutService() {
24
- this.fullscreen = false;
25
- }
26
- Object.defineProperty(LayoutService.prototype, "isFullscreen", {
27
- get: function () {
28
- return this.fullscreen;
29
- },
30
- enumerable: false,
31
- configurable: true
32
- });
33
- LayoutService.prototype.toggleFullscreen = function () {
34
- this.fullscreen = !this.fullscreen;
35
- };
36
- return LayoutService;
37
- }());
38
- LayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
39
- LayoutService.decorators = [
40
- { type: i0.Injectable, args: [{
41
- providedIn: 'root'
42
- },] }
43
- ];
7
+ /*
8
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
9
+ *
10
+ * Licensed under EUPL, Version 1.2 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" basis,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */
22
+ var LayoutService = /** @class */ (function () {
23
+ function LayoutService() {
24
+ this.fullscreen = false;
25
+ }
26
+ Object.defineProperty(LayoutService.prototype, "isFullscreen", {
27
+ get: function () {
28
+ return this.fullscreen;
29
+ },
30
+ enumerable: false,
31
+ configurable: true
32
+ });
33
+ LayoutService.prototype.toggleFullscreen = function () {
34
+ this.fullscreen = !this.fullscreen;
35
+ };
36
+ return LayoutService;
37
+ }());
38
+ LayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
39
+ LayoutService.decorators = [
40
+ { type: i0.Injectable, args: [{
41
+ providedIn: 'root'
42
+ },] }
43
+ ];
44
44
  LayoutService.ctorParameters = function () { return []; };
45
45
 
46
- /*
47
- * Copyright 2015-2020 Ritense BV, the Netherlands.
48
- *
49
- * Licensed under EUPL, Version 1.2 (the "License");
50
- * you may not use this file except in compliance with the License.
51
- * You may obtain a copy of the License at
52
- *
53
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
54
- *
55
- * Unless required by applicable law or agreed to in writing, software
56
- * distributed under the License is distributed on an "AS IS" basis,
57
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
58
- * See the License for the specific language governing permissions and
59
- * limitations under the License.
60
- */
61
- var LayoutComponent = /** @class */ (function () {
62
- function LayoutComponent(router, route) {
63
- this.router = router;
64
- this.route = route;
65
- this.layoutType = null;
66
- this.routerSub = rxjs.Subscription.EMPTY;
67
- this.defaultLayout = 'internal';
68
- }
69
- LayoutComponent.prototype.ngOnInit = function () {
70
- var _this = this;
71
- this.routerSub = this.router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; })).subscribe(function () {
72
- var layout = _this.route.snapshot.firstChild.data.layout;
73
- _this.layoutType = layout ? layout : _this.defaultLayout;
74
- });
75
- };
76
- LayoutComponent.prototype.ngOnDestroy = function () {
77
- this.routerSub.unsubscribe();
78
- };
79
- return LayoutComponent;
80
- }());
81
- LayoutComponent.decorators = [
82
- { type: i0.Component, args: [{
83
- selector: 'valtimo-layout',
84
- 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"
85
- },] }
86
- ];
87
- LayoutComponent.ctorParameters = function () { return [
88
- { type: router.Router },
89
- { type: router.ActivatedRoute }
46
+ /*
47
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
48
+ *
49
+ * Licensed under EUPL, Version 1.2 (the "License");
50
+ * you may not use this file except in compliance with the License.
51
+ * You may obtain a copy of the License at
52
+ *
53
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
54
+ *
55
+ * Unless required by applicable law or agreed to in writing, software
56
+ * distributed under the License is distributed on an "AS IS" basis,
57
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
58
+ * See the License for the specific language governing permissions and
59
+ * limitations under the License.
60
+ */
61
+ var LayoutComponent = /** @class */ (function () {
62
+ function LayoutComponent(router, route) {
63
+ this.router = router;
64
+ this.route = route;
65
+ this.layoutType = null;
66
+ this.routerSub = rxjs.Subscription.EMPTY;
67
+ this.defaultLayout = 'internal';
68
+ }
69
+ LayoutComponent.prototype.ngOnInit = function () {
70
+ var _this = this;
71
+ this.routerSub = this.router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; })).subscribe(function () {
72
+ var layout = _this.route.snapshot.firstChild.data.layout;
73
+ _this.layoutType = layout ? layout : _this.defaultLayout;
74
+ });
75
+ };
76
+ LayoutComponent.prototype.ngOnDestroy = function () {
77
+ this.routerSub.unsubscribe();
78
+ };
79
+ return LayoutComponent;
80
+ }());
81
+ LayoutComponent.decorators = [
82
+ { type: i0.Component, args: [{
83
+ selector: 'valtimo-layout',
84
+ 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"
85
+ },] }
86
+ ];
87
+ LayoutComponent.ctorParameters = function () { return [
88
+ { type: router.Router },
89
+ { type: router.ActivatedRoute }
90
90
  ]; };
91
91
 
92
- /*
93
- * Copyright 2015-2020 Ritense BV, the Netherlands.
94
- *
95
- * Licensed under EUPL, Version 1.2 (the "License");
96
- * you may not use this file except in compliance with the License.
97
- * You may obtain a copy of the License at
98
- *
99
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
100
- *
101
- * Unless required by applicable law or agreed to in writing, software
102
- * distributed under the License is distributed on an "AS IS" basis,
103
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
104
- * See the License for the specific language governing permissions and
105
- * limitations under the License.
106
- */
107
- var LayoutPublicComponent = /** @class */ (function () {
108
- function LayoutPublicComponent() {
109
- }
110
- LayoutPublicComponent.prototype.ngOnInit = function () {
111
- };
112
- return LayoutPublicComponent;
113
- }());
114
- LayoutPublicComponent.decorators = [
115
- { type: i0.Component, args: [{
116
- selector: 'valtimo-layout-public',
117
- 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",
118
- 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%}}"]
119
- },] }
120
- ];
92
+ /*
93
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
94
+ *
95
+ * Licensed under EUPL, Version 1.2 (the "License");
96
+ * you may not use this file except in compliance with the License.
97
+ * You may obtain a copy of the License at
98
+ *
99
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
100
+ *
101
+ * Unless required by applicable law or agreed to in writing, software
102
+ * distributed under the License is distributed on an "AS IS" basis,
103
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
104
+ * See the License for the specific language governing permissions and
105
+ * limitations under the License.
106
+ */
107
+ var LayoutPublicComponent = /** @class */ (function () {
108
+ function LayoutPublicComponent() {
109
+ }
110
+ LayoutPublicComponent.prototype.ngOnInit = function () {
111
+ };
112
+ return LayoutPublicComponent;
113
+ }());
114
+ LayoutPublicComponent.decorators = [
115
+ { type: i0.Component, args: [{
116
+ selector: 'valtimo-layout-public',
117
+ 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",
118
+ 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%}}"]
119
+ },] }
120
+ ];
121
121
  LayoutPublicComponent.ctorParameters = function () { return []; };
122
122
 
123
- /*
124
- * Copyright 2015-2020 Ritense BV, the Netherlands.
125
- *
126
- * Licensed under EUPL, Version 1.2 (the "License");
127
- * you may not use this file except in compliance with the License.
128
- * You may obtain a copy of the License at
129
- *
130
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
131
- *
132
- * Unless required by applicable law or agreed to in writing, software
133
- * distributed under the License is distributed on an "AS IS" basis,
134
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
135
- * See the License for the specific language governing permissions and
136
- * limitations under the License.
137
- */
138
- var LayoutInternalComponent = /** @class */ (function () {
139
- function LayoutInternalComponent(layoutService, renderer) {
140
- var _this = this;
141
- this.layoutService = layoutService;
142
- this.renderer = renderer;
143
- this.menuOpen$ = new rxjs.BehaviorSubject(true);
144
- this.menuWidth$ = new rxjs.BehaviorSubject(undefined);
145
- this.observer = new MutationObserver(function (e) { return _this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed')); });
146
- this.renderer.addClass(document.body, 'be-animate');
147
- }
148
- LayoutInternalComponent.prototype.ngAfterViewInit = function () {
149
- App.init();
150
- this.observer.observe(this.wrapperRef.nativeElement, {
151
- attributes: true,
152
- attributeFilter: ['class'],
153
- childList: false,
154
- characterData: false
155
- });
156
- };
157
- LayoutInternalComponent.prototype.menuWidthChanged = function (width) {
158
- this.menuWidth$.next(width);
159
- };
160
- return LayoutInternalComponent;
161
- }());
162
- LayoutInternalComponent.decorators = [
163
- { type: i0.Component, args: [{
164
- selector: 'valtimo-layout-internal',
165
- 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",
166
- 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}}"]
167
- },] }
168
- ];
169
- LayoutInternalComponent.ctorParameters = function () { return [
170
- { type: LayoutService },
171
- { type: i0.Renderer2 }
172
- ]; };
173
- LayoutInternalComponent.propDecorators = {
174
- wrapperRef: [{ type: i0.ViewChild, args: ['wrapper',] }]
123
+ /*
124
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
125
+ *
126
+ * Licensed under EUPL, Version 1.2 (the "License");
127
+ * you may not use this file except in compliance with the License.
128
+ * You may obtain a copy of the License at
129
+ *
130
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
131
+ *
132
+ * Unless required by applicable law or agreed to in writing, software
133
+ * distributed under the License is distributed on an "AS IS" basis,
134
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
135
+ * See the License for the specific language governing permissions and
136
+ * limitations under the License.
137
+ */
138
+ var LayoutInternalComponent = /** @class */ (function () {
139
+ function LayoutInternalComponent(layoutService, renderer) {
140
+ var _this = this;
141
+ this.layoutService = layoutService;
142
+ this.renderer = renderer;
143
+ this.menuOpen$ = new rxjs.BehaviorSubject(true);
144
+ this.menuWidth$ = new rxjs.BehaviorSubject(undefined);
145
+ this.observer = new MutationObserver(function (e) { return _this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed')); });
146
+ this.renderer.addClass(document.body, 'be-animate');
147
+ }
148
+ LayoutInternalComponent.prototype.ngAfterViewInit = function () {
149
+ App.init();
150
+ this.observer.observe(this.wrapperRef.nativeElement, {
151
+ attributes: true,
152
+ attributeFilter: ['class'],
153
+ childList: false,
154
+ characterData: false
155
+ });
156
+ };
157
+ LayoutInternalComponent.prototype.menuWidthChanged = function (width) {
158
+ this.menuWidth$.next(width);
159
+ };
160
+ return LayoutInternalComponent;
161
+ }());
162
+ LayoutInternalComponent.decorators = [
163
+ { type: i0.Component, args: [{
164
+ selector: 'valtimo-layout-internal',
165
+ 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",
166
+ 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}}"]
167
+ },] }
168
+ ];
169
+ LayoutInternalComponent.ctorParameters = function () { return [
170
+ { type: LayoutService },
171
+ { type: i0.Renderer2 }
172
+ ]; };
173
+ LayoutInternalComponent.propDecorators = {
174
+ wrapperRef: [{ type: i0.ViewChild, args: ['wrapper',] }]
175
175
  };
176
176
 
177
- /*
178
- * Copyright 2015-2020 Ritense BV, the Netherlands.
179
- *
180
- * Licensed under EUPL, Version 1.2 (the "License");
181
- * you may not use this file except in compliance with the License.
182
- * You may obtain a copy of the License at
183
- *
184
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
185
- *
186
- * Unless required by applicable law or agreed to in writing, software
187
- * distributed under the License is distributed on an "AS IS" basis,
188
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
- * See the License for the specific language governing permissions and
190
- * limitations under the License.
191
- */
192
- var LayoutModule = /** @class */ (function () {
193
- function LayoutModule() {
194
- }
195
- return LayoutModule;
196
- }());
197
- LayoutModule.decorators = [
198
- { type: i0.NgModule, args: [{
199
- declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
200
- imports: [
201
- router.RouterModule,
202
- components.MenuRoutingModule,
203
- components.TopbarModule,
204
- components.LeftSidebarModule,
205
- components.RightSidebarModule,
206
- components.PageHeaderModule,
207
- components.AlertModule,
208
- common.CommonModule
209
- ],
210
- exports: [LayoutComponent]
211
- },] }
177
+ /*
178
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
179
+ *
180
+ * Licensed under EUPL, Version 1.2 (the "License");
181
+ * you may not use this file except in compliance with the License.
182
+ * You may obtain a copy of the License at
183
+ *
184
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
185
+ *
186
+ * Unless required by applicable law or agreed to in writing, software
187
+ * distributed under the License is distributed on an "AS IS" basis,
188
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ * See the License for the specific language governing permissions and
190
+ * limitations under the License.
191
+ */
192
+ var LayoutModule = /** @class */ (function () {
193
+ function LayoutModule() {
194
+ }
195
+ return LayoutModule;
196
+ }());
197
+ LayoutModule.decorators = [
198
+ { type: i0.NgModule, args: [{
199
+ declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
200
+ imports: [
201
+ router.RouterModule,
202
+ components.MenuRoutingModule,
203
+ components.TopbarModule,
204
+ components.LeftSidebarModule,
205
+ components.RightSidebarModule,
206
+ components.PageHeaderModule,
207
+ components.AlertModule,
208
+ common.CommonModule
209
+ ],
210
+ exports: [LayoutComponent]
211
+ },] }
212
212
  ];
213
213
 
214
- /*
215
- * Copyright 2015-2020 Ritense BV, the Netherlands.
216
- *
217
- * Licensed under EUPL, Version 1.2 (the "License");
218
- * you may not use this file except in compliance with the License.
219
- * You may obtain a copy of the License at
220
- *
221
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
222
- *
223
- * Unless required by applicable law or agreed to in writing, software
224
- * distributed under the License is distributed on an "AS IS" basis,
225
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
226
- * See the License for the specific language governing permissions and
227
- * limitations under the License.
214
+ /*
215
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
216
+ *
217
+ * Licensed under EUPL, Version 1.2 (the "License");
218
+ * you may not use this file except in compliance with the License.
219
+ * You may obtain a copy of the License at
220
+ *
221
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
222
+ *
223
+ * Unless required by applicable law or agreed to in writing, software
224
+ * distributed under the License is distributed on an "AS IS" basis,
225
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
226
+ * See the License for the specific language governing permissions and
227
+ * limitations under the License.
228
228
  */
229
229
 
230
- /**
231
- * Generated bundle index. Do not edit.
230
+ /**
231
+ * Generated bundle index. Do not edit.
232
232
  */
233
233
 
234
234
  exports.LayoutComponent = LayoutComponent;