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

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