@valtimo/layout 4.15.3-next-main.14 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/app.css +4020 -1726
- package/assets/img/valtimo/favicons/manifest.json +17 -17
- package/assets/js/app.js +2617 -408
- package/bundles/valtimo-layout.umd.js +10 -9
- package/bundles/valtimo-layout.umd.js.map +1 -1
- package/bundles/valtimo-layout.umd.min.js +1 -1
- package/bundles/valtimo-layout.umd.min.js.map +1 -1
- package/esm2015/lib/layout-internal/layout-internal.component.js +3 -3
- package/esm2015/lib/layout-public/layout-public.component.js +3 -4
- package/esm2015/lib/layout.component.js +4 -2
- package/esm2015/lib/layout.module.js +4 -4
- package/esm2015/lib/layout.service.js +2 -2
- package/esm2015/public_api.js +1 -1
- package/esm2015/valtimo-layout.js +1 -1
- package/fesm2015/valtimo-layout.js +10 -9
- package/fesm2015/valtimo-layout.js.map +1 -1
- package/package.json +1 -1
- package/valtimo-layout.metadata.json +1 -1
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
LayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
|
|
39
39
|
LayoutService.decorators = [
|
|
40
40
|
{ type: i0.Injectable, args: [{
|
|
41
|
-
providedIn: 'root'
|
|
41
|
+
providedIn: 'root',
|
|
42
42
|
},] }
|
|
43
43
|
];
|
|
44
44
|
LayoutService.ctorParameters = function () { return []; };
|
|
@@ -68,7 +68,9 @@
|
|
|
68
68
|
}
|
|
69
69
|
LayoutComponent.prototype.ngOnInit = function () {
|
|
70
70
|
var _this = this;
|
|
71
|
-
this.routerSub = this.router.events
|
|
71
|
+
this.routerSub = this.router.events
|
|
72
|
+
.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; }))
|
|
73
|
+
.subscribe(function () {
|
|
72
74
|
var layout = _this.route.snapshot.firstChild.data.layout;
|
|
73
75
|
_this.layoutType = layout ? layout : _this.defaultLayout;
|
|
74
76
|
});
|
|
@@ -107,14 +109,13 @@
|
|
|
107
109
|
var LayoutPublicComponent = /** @class */ (function () {
|
|
108
110
|
function LayoutPublicComponent() {
|
|
109
111
|
}
|
|
110
|
-
LayoutPublicComponent.prototype.ngOnInit = function () {
|
|
111
|
-
};
|
|
112
|
+
LayoutPublicComponent.prototype.ngOnInit = function () { };
|
|
112
113
|
return LayoutPublicComponent;
|
|
113
114
|
}());
|
|
114
115
|
LayoutPublicComponent.decorators = [
|
|
115
116
|
{ type: i0.Component, args: [{
|
|
116
117
|
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\"
|
|
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",
|
|
118
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%}}"]
|
|
119
120
|
},] }
|
|
120
121
|
];
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
attributes: true,
|
|
152
153
|
attributeFilter: ['class'],
|
|
153
154
|
childList: false,
|
|
154
|
-
characterData: false
|
|
155
|
+
characterData: false,
|
|
155
156
|
});
|
|
156
157
|
};
|
|
157
158
|
LayoutInternalComponent.prototype.menuWidthChanged = function (width) {
|
|
@@ -162,7 +163,7 @@
|
|
|
162
163
|
LayoutInternalComponent.decorators = [
|
|
163
164
|
{ type: i0.Component, args: [{
|
|
164
165
|
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
|
+
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",
|
|
166
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}}"]
|
|
167
168
|
},] }
|
|
168
169
|
];
|
|
@@ -205,9 +206,9 @@
|
|
|
205
206
|
components.RightSidebarModule,
|
|
206
207
|
components.PageHeaderModule,
|
|
207
208
|
components.AlertModule,
|
|
208
|
-
common.CommonModule
|
|
209
|
+
common.CommonModule,
|
|
209
210
|
],
|
|
210
|
-
exports: [LayoutComponent]
|
|
211
|
+
exports: [LayoutComponent],
|
|
211
212
|
},] }
|
|
212
213
|
];
|
|
213
214
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valtimo-layout.umd.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":["Injectable","Subscription","filter","NavigationEnd","Component","Router","ActivatedRoute","BehaviorSubject","Renderer2","ViewChild","NgModule","RouterModule","MenuRoutingModule","TopbarModule","LeftSidebarModule","RightSidebarModule","PageHeaderModule","AlertModule","CommonModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;;;QAwBE;YAFQ,eAAU,GAAG,KAAK,CAAC;SAG1B;QAED,sBAAW,uCAAY;iBAAvB;gBACE,OAAO,IAAI,CAAC,UAAU,CAAC;aACxB;;;WAAA;QAEM,wCAAgB,GAAhB;YACL,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;SACpC;;;;;gBAfFA,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;ICpBD;;;;;;;;;;;;;;;;QAiCE,yBAAoB,MAAc,EAAU,KAAqB;YAA7C,WAAM,GAAN,MAAM,CAAQ;YAAU,UAAK,GAAL,KAAK,CAAgB;YAJ1D,eAAU,GAAkB,IAAI,CAAC;YAChC,cAAS,GAAGC,iBAAY,CAAC,KAAK,CAAC;YAC/B,kBAAa,GAAG,UAAU,CAAC;SAGlC;QAED,kCAAQ,GAAR;YAAA,iBAKC;YAJC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAACC,gBAAM,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,YAAYC,oBAAa,GAAA,CAAC,CAAC,CAAC,SAAS,CAAC;gBAClG,IAAM,MAAM,GAAG,KAAI,CAAC,KAAK,CAAC,QAAQ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AO,CAAC;gBAC1B,SAAS,EAAE,KAAK;gBAChB,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ;QAED,kDAAgB,GAAhB,UAAiB,KAAa;YAC5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC7B;;;;gBAhCFH,YAAS,SAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,i+CAA+C;;iBAEhD;;;gBARO,aAAa;gBAFyBI,YAAS;;;6BAYpDC,YAAS,SAAC,SAAS;;;IC5BtB;;;;;;;;;;;;;;;;QAsCA;;;;;gBAdCC,WAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,eAAe,EAAE,qBAAqB,EAAE,uBAAuB,CAAC;oBAC/E,OAAO,EAAE;wBACPC,mBAAY;wBACZC,4BAAiB;wBACjBC,uBAAY;wBACZC,4BAAiB;wBACjBC,6BAAkB;wBAClBC,2BAAgB;wBAChBC,sBAAW;wBACXC,mBAAY;qBACb;oBACD,OAAO,EAAE,CAAC,eAAe,CAAC;iBAC3B;;;ICrCD;;;;;;;;;;;;;;;;ICAA;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"valtimo-layout.umd.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 public get isFullscreen() {\n return this.fullscreen;\n }\n\n public toggleFullscreen() {\n this.fullscreen = !this.fullscreen;\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 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 ngOnInit() {\n this.routerSub = this.router.events\n .pipe(filter(event => event instanceof NavigationEnd))\n .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 * 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 constructor() {}\n\n ngOnInit() {}\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 {\n AlertModule,\n LeftSidebarModule,\n MenuRoutingModule,\n PageHeaderModule,\n RightSidebarModule,\n TopbarModule,\n} 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 * 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":["Injectable","Subscription","filter","NavigationEnd","Component","Router","ActivatedRoute","BehaviorSubject","Renderer2","ViewChild","NgModule","RouterModule","MenuRoutingModule","TopbarModule","LeftSidebarModule","RightSidebarModule","PageHeaderModule","AlertModule","CommonModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;;;QAwBE;YAFQ,eAAU,GAAG,KAAK,CAAC;SAEX;QAEhB,sBAAW,uCAAY;iBAAvB;gBACE,OAAO,IAAI,CAAC,UAAU,CAAC;aACxB;;;WAAA;QAEM,wCAAgB,GAAhB;YACL,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;SACpC;;;;;gBAdFA,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;ICpBD;;;;;;;;;;;;;;;;QAgCE,yBAAoB,MAAc,EAAU,KAAqB;YAA7C,WAAM,GAAN,MAAM,CAAQ;YAAU,UAAK,GAAL,KAAK,CAAgB;YAJ1D,eAAU,GAAkB,IAAI,CAAC;YAChC,cAAS,GAAGC,iBAAY,CAAC,KAAK,CAAC;YAC/B,kBAAa,GAAG,UAAU,CAAC;SAEkC;QAErE,kCAAQ,GAAR;YAAA,iBAOC;YANC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM;iBAChC,IAAI,CAACC,gBAAM,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,YAAYC,oBAAa,GAAA,CAAC,CAAC;iBACrD,SAAS,CAAC;gBACT,IAAM,MAAM,GAAG,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC1D,KAAI,CAAC,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,KAAI,CAAC,aAAa,CAAC;aACxD,CAAC,CAAC;SACN;QAED,qC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,CAAC,KAAK,CAAC,CAAC;SAC7B;;;;gBAhCFH,YAAS,SAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,++CAA+C;;iBAEhD;;;gBARO,aAAa;gBAFyBI,YAAS;;;6BAYpDC,YAAS,SAAC,SAAS;;;IC5BtB;;;;;;;;;;;;;;;;QA6CA;;;;;gBAdCC,WAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,eAAe,EAAE,qBAAqB,EAAE,uBAAuB,CAAC;oBAC/E,OAAO,EAAE;wBACPC,mBAAY;wBACZC,4BAAiB;wBACjBC,uBAAY;wBACZC,4BAAiB;wBACjBC,6BAAkB;wBAClBC,2BAAgB;wBAChBC,sBAAW;wBACXC,mBAAY;qBACb;oBACD,OAAO,EAAE,CAAC,eAAe,CAAC;iBAC3B;;;IC5CD;;;;;;;;;;;;;;;;ICAA;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/router"),require("rxjs/operators"),require("rxjs"),require("@valtimo/components"),require("@angular/common")):"function"==typeof define&&define.amd?define("@valtimo/layout",["exports","@angular/core","@angular/router","rxjs/operators","rxjs","@valtimo/components","@angular/common"],n):n(((e=e||self).valtimo=e.valtimo||{},e.valtimo.layout={}),e.ng.core,e.ng.router,e.rxjs.operators,e.rxjs,e.components,e.ng.common)}(this,(function(e,n,t,i,o,r,a){"use strict";var s=function(){function e(){this.fullscreen=!1}return Object.defineProperty(e.prototype,"isFullscreen",{get:function(){return this.fullscreen},enumerable:!1,configurable:!0}),e.prototype.toggleFullscreen=function(){this.fullscreen=!this.fullscreen},e}();s.ɵprov=n.ɵɵdefineInjectable({factory:function(){return new s},token:s,providedIn:"root"}),s.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],s.ctorParameters=function(){return[]};var u=function(){function e(e,n){this.router=e,this.route=n,this.layoutType=null,this.routerSub=o.Subscription.EMPTY,this.defaultLayout="internal"}return e.prototype.ngOnInit=function(){var e=this;this.routerSub=this.router.events.pipe(i.filter((function(e){return e instanceof t.NavigationEnd}))).subscribe((function(){var n=e.route.snapshot.firstChild.data.layout;e.layoutType=n||e.defaultLayout}))},e.prototype.ngOnDestroy=function(){this.routerSub.unsubscribe()},e}();u.decorators=[{type:n.Component,args:[{selector:"valtimo-layout",template:'\x3c!--\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 --\x3e\n\n<valtimo-layout-public *ngIf="layoutType === \'public\'"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf="layoutType === \'internal\'"></valtimo-layout-internal>\n'}]}],u.ctorParameters=function(){return[{type:t.Router},{type:t.ActivatedRoute}]};var l=function(){function e(){}return e.prototype.ngOnInit=function(){},e}();l.decorators=[{type:n.Component,args:[{selector:"valtimo-layout-public",template:'\x3c!--\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 --\x3e\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%}}']}]}],l.ctorParameters=function(){return[]};var c=function(){function e(e,n){var t=this;this.layoutService=e,this.renderer=n,this.menuOpen$=new o.BehaviorSubject(!0),this.menuWidth$=new o.BehaviorSubject(void 0),this.observer=new MutationObserver((function(e){return t.menuOpen$.next(!e[0].target.className.includes("be-collapsible-sidebar-collapsed"))})),this.renderer.addClass(document.body,"be-animate")}return e.prototype.ngAfterViewInit=function(){App.init(),this.observer.observe(this.wrapperRef.nativeElement,{attributes:!0,attributeFilter:["class"],childList:!1,characterData:!1})},e.prototype.menuWidthChanged=function(e){this.menuWidth$.next(e)},e}();c.decorators=[{type:n.Component,args:[{selector:"valtimo-layout-internal",template:'\x3c!--\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 --\x3e\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 \x3c!--<valtimo-session-expired-popup *ngIf="auth0Service.sessionExpired"></valtimo-session-expired-popup>--\x3e\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}}']}]}],c.ctorParameters=function(){return[{type:s},{type:n.Renderer2}]},c.propDecorators={wrapperRef:[{type:n.ViewChild,args:["wrapper"]}]};var p=function(){};p.decorators=[{type:n.NgModule,args:[{declarations:[u,l,c],imports:[t.RouterModule,r.MenuRoutingModule,r.TopbarModule,r.LeftSidebarModule,r.RightSidebarModule,r.PageHeaderModule,r.AlertModule,a.CommonModule],exports:[u]}]}],e.LayoutComponent=u,e.LayoutModule=p,e.LayoutService=s,e.ɵa=l,e.ɵb=c,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=valtimo-layout.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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"],"names":["LayoutService","this","fullscreen","Object","defineProperty","prototype","toggleFullscreen","Injectable","args","providedIn","LayoutComponent","router","route","layoutType","routerSub","Subscription","EMPTY","defaultLayout","ngOnInit","_this","events","pipe","filter","event","NavigationEnd","subscribe","layout","snapshot","firstChild","data","ngOnDestroy","unsubscribe","Component","selector","template","Router","ActivatedRoute","LayoutPublicComponent","LayoutInternalComponent","layoutService","renderer","menuOpen$","BehaviorSubject","menuWidth$","undefined","observer","MutationObserver","e","next","target","className","includes","addClass","document","body","ngAfterViewInit","App","init","observe","wrapperRef","nativeElement","attributes","attributeFilter","childList","characterData","menuWidthChanged","width","Renderer2","ViewChild","NgModule","declarations","imports","RouterModule","MenuRoutingModule","TopbarModule","LeftSidebarModule","RightSidebarModule","PageHeaderModule","AlertModule","CommonModule","exports"],"mappings":"slBAwBE,SAAAA,IAFQC,KAAAC,YAAa,
|
|
1
|
+
{"version":3,"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"],"names":["LayoutService","this","fullscreen","Object","defineProperty","prototype","toggleFullscreen","Injectable","args","providedIn","LayoutComponent","router","route","layoutType","routerSub","Subscription","EMPTY","defaultLayout","ngOnInit","_this","events","pipe","filter","event","NavigationEnd","subscribe","layout","snapshot","firstChild","data","ngOnDestroy","unsubscribe","Component","selector","template","Router","ActivatedRoute","LayoutPublicComponent","LayoutInternalComponent","layoutService","renderer","menuOpen$","BehaviorSubject","menuWidth$","undefined","observer","MutationObserver","e","next","target","className","includes","addClass","document","body","ngAfterViewInit","App","init","observe","wrapperRef","nativeElement","attributes","attributeFilter","childList","characterData","menuWidthChanged","width","Renderer2","ViewChild","NgModule","declarations","imports","RouterModule","MenuRoutingModule","TopbarModule","LeftSidebarModule","RightSidebarModule","PageHeaderModule","AlertModule","CommonModule","exports"],"mappings":"slBAwBE,SAAAA,IAFQC,KAAAC,YAAa,SAIrBC,OAAAC,eAAWJ,EAAAK,UAAA,eAAY,KAAvB,WACE,OAAOJ,KAAKC,4CAGPF,EAAAK,UAAAC,iBAAA,WACLL,KAAKC,YAAcD,KAAKC,gIAb3BK,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,kECaZ,SAAAC,EAAoBC,EAAwBC,GAAxBX,KAAAU,OAAAA,EAAwBV,KAAAW,MAAAA,EAJrCX,KAAAY,WAA4B,KAC3BZ,KAAAa,UAAYC,EAAAA,aAAaC,MACzBf,KAAAgB,cAAgB,kBAIxBP,EAAAL,UAAAa,SAAA,WAAA,IAAAC,EAAAlB,KACEA,KAAKa,UAAYb,KAAKU,OAAOS,OAC1BC,KAAKC,EAAAA,QAAO,SAAAC,GAAS,OAAAA,aAAiBC,EAAAA,kBACtCC,WAAU,WACT,IAAMC,EAASP,EAAKP,MAAMe,SAASC,WAAWC,KAAKH,OACnDP,EAAKN,WAAaa,GAAkBP,EAAKF,kBAI/CP,EAAAL,UAAAyB,YAAA,WACE7B,KAAKa,UAAUiB,wCArBlBC,EAAAA,UAASxB,KAAA,CAAC,CACTyB,SAAU,iBACVC,SAAA,82BARqCC,EAAAA,cAA/BC,EAAAA,mCCON,SAAAC,YAEAA,EAAAhC,UAAAa,SAAA,sCARDc,EAAAA,UAASxB,KAAA,CAAC,CACTyB,SAAU,wBACVC,SAAA,83DCiBA,SAAAI,EAAmBC,EAAsCC,GAAzD,IAAArB,EAAAlB,KAAmBA,KAAAsC,cAAAA,EAAsCtC,KAAAuC,SAAAA,EAPhDvC,KAAAwC,UAAY,IAAIC,EAAAA,iBAAyB,GACzCzC,KAAA0C,WAAa,IAAID,EAAAA,qBAAwBE,GAEzC3C,KAAA4C,SAAW,IAAIC,kBAAiB,SAACC,GACxC,OAAA5B,EAAKsB,UAAUO,MAAMD,EAAE,GAAGE,OAAOC,UAAUC,SAAS,wCAIpDlD,KAAKuC,SAASY,SAASC,SAASC,KAAM,qBAGxChB,EAAAjC,UAAAkD,gBAAA,WACEC,IAAIC,OAEJxD,KAAK4C,SAASa,QAAQzD,KAAK0D,WAAWC,cAAe,CACnDC,YAAY,EACZC,gBAAiB,CAAC,SAClBC,WAAW,EACXC,eAAe,KAInB1B,EAAAjC,UAAA4D,iBAAA,SAAiBC,GACfjE,KAAK0C,WAAWK,KAAKkB,6BA/BxBlC,EAAAA,UAASxB,KAAA,CAAC,CACTyB,SAAU,0BACVC,SAAA,0tEANMlC,SAFsCmE,EAAAA,iDAY3CC,EAAAA,UAAS5D,KAAA,CAAC,oBCiBb,iCAdC6D,EAAAA,SAAQ7D,KAAA,CAAC,CACR8D,aAAc,CAAC5D,EAAiB2B,EAAuBC,GACvDiC,QAAS,CACPC,EAAAA,aACAC,EAAAA,kBACAC,EAAAA,aACAC,EAAAA,kBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,YACAC,EAAAA,cAEFC,QAAS,CAACtE","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 public get isFullscreen() {\n return this.fullscreen;\n }\n\n public toggleFullscreen() {\n this.fullscreen = !this.fullscreen;\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 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 ngOnInit() {\n this.routerSub = this.router.events\n .pipe(filter(event => event instanceof NavigationEnd))\n .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 * 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 constructor() {}\n\n ngOnInit() {}\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 {\n AlertModule,\n LeftSidebarModule,\n MenuRoutingModule,\n PageHeaderModule,\n RightSidebarModule,\n TopbarModule,\n} 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"]}
|
|
@@ -31,7 +31,7 @@ export class LayoutInternalComponent {
|
|
|
31
31
|
attributes: true,
|
|
32
32
|
attributeFilter: ['class'],
|
|
33
33
|
childList: false,
|
|
34
|
-
characterData: false
|
|
34
|
+
characterData: false,
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
menuWidthChanged(width) {
|
|
@@ -41,7 +41,7 @@ export class LayoutInternalComponent {
|
|
|
41
41
|
LayoutInternalComponent.decorators = [
|
|
42
42
|
{ type: Component, args: [{
|
|
43
43
|
selector: 'valtimo-layout-internal',
|
|
44
|
-
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",
|
|
44
|
+
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",
|
|
45
45
|
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}}"]
|
|
46
46
|
},] }
|
|
47
47
|
];
|
|
@@ -52,4 +52,4 @@ LayoutInternalComponent.ctorParameters = () => [
|
|
|
52
52
|
LayoutInternalComponent.propDecorators = {
|
|
53
53
|
wrapperRef: [{ type: ViewChild, args: ['wrapper',] }]
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LWludGVybmFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtNGMzYmI3NzAvd29ya3NwYWNlL1ZhbHRpbW9fLV9Bbmd1bGFyX0xpYnJhcmllc19tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLC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5cbiAgcmVhZG9ubHkgb2JzZXJ2ZXIgPSBuZXcgTXV0YXRpb25PYnNlcnZlcigoZTogYW55KSA9PlxuICAgIHRoaXMubWVudU9wZW4kLm5leHQoIWVbMF0udGFyZ2V0LmNsYXNzTmFtZS5pbmNsdWRlcygnYmUtY29sbGFwc2libGUtc2lkZWJhci1jb2xsYXBzZWQnKSlcbiAgKTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgbGF5b3V0U2VydmljZTogTGF5b3V0U2VydmljZSwgcHJpdmF0ZSByZW5kZXJlcjogUmVuZGVyZXIyKSB7XG4gICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyhkb2N1bWVudC5ib2R5LCAnYmUtYW5pbWF0ZScpO1xuICB9XG5cbiAgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgIEFwcC5pbml0KCk7XG5cbiAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUodGhpcy53cmFwcGVyUmVmLm5hdGl2ZUVsZW1lbnQsIHtcbiAgICAgIGF0dHJpYnV0ZXM6IHRydWUsXG4gICAgICBhdHRyaWJ1dGVGaWx0ZXI6IFsnY2xhc3MnXSxcbiAgICAgIGNoaWxkTGlzdDogZmFsc2UsXG4gICAgICBjaGFyYWN0ZXJEYXRhOiBmYWxzZSxcbiAgICB9KTtcbiAgfVxuXG4gIG1lbnVXaWR0aENoYW5nZWQod2lkdGg6IG51bWJlcik6IHZvaWQge1xuICAgIHRoaXMubWVudVdpZHRoJC5uZXh0KHdpZHRoKTtcbiAgfVxufVxuIl19
|
|
@@ -16,15 +16,14 @@
|
|
|
16
16
|
import { Component } from '@angular/core';
|
|
17
17
|
export class LayoutPublicComponent {
|
|
18
18
|
constructor() { }
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
}
|
|
19
|
+
ngOnInit() { }
|
|
21
20
|
}
|
|
22
21
|
LayoutPublicComponent.decorators = [
|
|
23
22
|
{ type: Component, args: [{
|
|
24
23
|
selector: 'valtimo-layout-public',
|
|
25
|
-
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\"
|
|
24
|
+
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",
|
|
26
25
|
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%}}"]
|
|
27
26
|
},] }
|
|
28
27
|
];
|
|
29
28
|
LayoutPublicComponent.ctorParameters = () => [];
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LXB1YmxpYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiL3RtcC9qZW5raW5zLTRjM2JiNzcwL3dvcmtzcGFjZS9WYWx0aW1vXy1fQW5ndWxhcl9MaWJyYXJpZXNfbWFpbi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvIiwic291cmNlcyI6WyJsaWIvbGF5b3V0LXB1YmxpYy9sYXlvdXQtcHVibGljLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxTQUFTLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFPaEQsTUFBTSxPQUFPLHFCQUFxQjtJQUNoQyxnQkFBZSxDQUFDO0lBRWhCLFFBQVEsS0FBSSxDQUFDOzs7WUFSZCxTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLHVCQUF1QjtnQkFDakMsOHhCQUE2Qzs7YUFFOUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQ29weXJpZ2h0IDIwMTUtMjAyMCBSaXRlbnNlIEJWLCB0aGUgTmV0aGVybGFuZHMuXG4gKlxuICogTGljZW5zZWQgdW5kZXIgRVVQTCwgVmVyc2lvbiAxLjIgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb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ayoutComponent {
|
|
|
26
26
|
this.defaultLayout = 'internal';
|
|
27
27
|
}
|
|
28
28
|
ngOnInit() {
|
|
29
|
-
this.routerSub = this.router.events
|
|
29
|
+
this.routerSub = this.router.events
|
|
30
|
+
.pipe(filter(event => event instanceof NavigationEnd))
|
|
31
|
+
.subscribe(() => {
|
|
30
32
|
const layout = this.route.snapshot.firstChild.data.layout;
|
|
31
33
|
this.layoutType = layout ? layout : this.defaultLayout;
|
|
32
34
|
});
|
|
@@ -45,4 +47,4 @@ LayoutComponent.ctorParameters = () => [
|
|
|
45
47
|
{ type: Router },
|
|
46
48
|
{ type: ActivatedRoute }
|
|
47
49
|
];
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtNGMzYmI3NzAvd29ya3NwYWNlL1ZhbHRpbW9fLV9Bbmd1bGFyX0xpYnJhcmllc19tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLCJzb3VyY2VzIjpbImxpYi9sYXlvdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBb0IsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFDLGNBQWMsRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDdEUsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ3RDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFRbEMsTUFBTSxPQUFPLGVBQWU7SUFLMUIsWUFBb0IsTUFBYyxFQUFVLEtBQXFCO1FBQ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ltby1sYXlvdXQnLFxuICB0ZW1wbGF0ZVVybDogJy4vbGF5b3V0LmNvbXBvbmVudC5odG1sJyxcbn0pXG5leHBvcnQgY2xhc3MgTGF5b3V0Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xuICBwdWJsaWMgbGF5b3V0VHlwZTogc3RyaW5nIHwgbnVsbCA9IG51bGw7XG4gIHByaXZhdGUgcm91dGVyU3ViID0gU3Vic2NyaXB0aW9uLkVNUFRZO1xuICBwcml2YXRlIGRlZmF1bHRMYXlvdXQgPSAnaW50ZXJuYWwnO1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcm91dGVyOiBSb3V0ZXIsIHByaXZhdGUgcm91dGU6IEFjdGl2YXRlZFJvdXRlKSB7fVxuXG4gIG5nT25Jbml0KCkge1xuICAgIHRoaXMucm91dGVyU3ViID0gdGhpcy5yb3V0ZXIuZXZlbnRzXG4gICAgICAucGlwZShmaWx0ZXIoZXZlbnQgPT4gZXZlbnQgaW5zdGFuY2VvZiBOYXZpZ2F0aW9uRW5kKSlcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICBjb25zdCBsYXlvdXQgPSB0aGlzLnJvdXRlLnNuYXBzaG90LmZpcnN0Q2hpbGQuZGF0YS5sYXlvdXQ7XG4gICAgICAgIHRoaXMubGF5b3V0VHlwZSA9IGxheW91dCA/IGxheW91dCA6IHRoaXMuZGVmYXVsdExheW91dDtcbiAgICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5yb3V0ZXJTdWIudW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { NgModule } from '@angular/core';
|
|
17
17
|
import { LayoutComponent } from './layout.component';
|
|
18
|
-
import { AlertModule, LeftSidebarModule, MenuRoutingModule, PageHeaderModule, RightSidebarModule, TopbarModule } from '@valtimo/components';
|
|
18
|
+
import { AlertModule, LeftSidebarModule, MenuRoutingModule, PageHeaderModule, RightSidebarModule, TopbarModule, } from '@valtimo/components';
|
|
19
19
|
import { RouterModule } from '@angular/router';
|
|
20
20
|
import { LayoutPublicComponent } from './layout-public/layout-public.component';
|
|
21
21
|
import { LayoutInternalComponent } from './layout-internal/layout-internal.component';
|
|
@@ -33,9 +33,9 @@ LayoutModule.decorators = [
|
|
|
33
33
|
RightSidebarModule,
|
|
34
34
|
PageHeaderModule,
|
|
35
35
|
AlertModule,
|
|
36
|
-
CommonModule
|
|
36
|
+
CommonModule,
|
|
37
37
|
],
|
|
38
|
-
exports: [LayoutComponent]
|
|
38
|
+
exports: [LayoutComponent],
|
|
39
39
|
},] }
|
|
40
40
|
];
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtNGMzYmI3NzAvd29ya3NwYWNlL1ZhbHRpbW9fLV9Bbmd1bGFyX0xpYnJhcmllc19tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLCJzb3VyY2VzIjpbImxpYi9sYXlvdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFDbkQsT0FBTyxFQUNMLFdBQVcsRUFDWCxpQkFBaUIsRUFDakIsaUJBQWlCLEVBQ2pCLGdCQUFnQixFQUNoQixrQkFBa0IsRUFDbEIsWUFBWSxHQUNiLE1BQU0scUJBQXFCLENBQUM7QUFDN0IsT0FBTyxFQUFD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cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbTGF5b3V0Q29tcG9uZW50LCBMYXlvdXRQdWJsaWNDb21wb25lbnQsIExheW91dEludGVybmFsQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIFJvdXRlck1vZHVsZSxcbiAgICBNZW51Um91dGluZ01vZHVsZSxcbiAgICBUb3BiYXJNb2R1bGUsXG4gICAgTGVmdFNpZGViYXJNb2R1bGUsXG4gICAgUmlnaHRTaWRlYmFyTW9kdWxlLFxuICAgIFBhZ2VIZWFkZXJNb2R1bGUsXG4gICAgQWxlcnRNb2R1bGUsXG4gICAgQ29tbW9uTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbTGF5b3V0Q29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgTGF5b3V0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -29,8 +29,8 @@ export class LayoutService {
|
|
|
29
29
|
LayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
|
|
30
30
|
LayoutService.decorators = [
|
|
31
31
|
{ type: Injectable, args: [{
|
|
32
|
-
providedIn: 'root'
|
|
32
|
+
providedIn: 'root',
|
|
33
33
|
},] }
|
|
34
34
|
];
|
|
35
35
|
LayoutService.ctorParameters = () => [];
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiL3RtcC9qZW5raW5zLTRjM2JiNzcwL3dvcmtzcGFjZS9WYWx0aW1vXy1fQW5ndWxhcl9MaWJyYXJpZXNfbWFpbi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvIiwic291cmNlcyI6WyJsaWIvbGF5b3V0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5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UyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IHtJbmplY3RhYmxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIExheW91dFNlcnZpY2Uge1xuICBwcml2YXRlIGZ1bGxzY3JlZW4gPSBmYWxzZTtcblxuICBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgcHVibGljIGdldCBpc0Z1bGxzY3JlZW4oKSB7XG4gICAgcmV0dXJuIHRoaXMuZnVsbHNjcmVlbjtcbiAgfVxuXG4gIHB1YmxpYyB0b2dnbGVGdWxsc2NyZWVuKCkge1xuICAgIHRoaXMuZnVsbHNjcmVlbiA9ICF0aGlzLmZ1bGxzY3JlZW47XG4gIH1cbn1cbiJdfQ==
|
package/esm2015/public_api.js
CHANGED
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
export * from './lib/layout.service';
|
|
20
20
|
export * from './lib/layout.component';
|
|
21
21
|
export * from './lib/layout.module';
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtNGMzYmI3NzAvd29ya3NwYWNlL1ZhbHRpbW9fLV9Bbmd1bGFyX0xpYnJhcmllc19tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmF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3VyZmFjZSBvZiBsYXlvdXRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sYXlvdXQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9sYXlvdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xheW91dC5tb2R1bGUnO1xuIl19
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
export * from './public_api';
|
|
5
5
|
export { LayoutInternalComponent as ɵb } from './lib/layout-internal/layout-internal.component';
|
|
6
6
|
export { LayoutPublicComponent as ɵa } from './lib/layout-public/layout-public.component';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGltby1sYXlvdXQuanMiLCJzb3VyY2VSb290IjoiL3RtcC9qZW5raW5zLTRjM2JiNzcwL3dvcmtzcGFjZS9WYWx0aW1vXy1fQW5ndWxhcl9MaWJyYXJpZXNfbWFpbi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvIiwic291cmNlcyI6WyJ2YWx0aW1vLWxheW91dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyx1QkFBdUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxpREFBaUQsQ0FBQztBQUM5RixPQUFPLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLE1BQU0sNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG5cbmV4cG9ydCB7TGF5b3V0SW50ZXJuYWxDb21wb25lbnQgYXMgybVifSBmcm9tICcuL2xpYi9sYXlvdXQtaW50ZXJuYWwvbGF5b3V0LWludGVybmFsLmNvbXBvbmVudCc7XG5leHBvcnQge0xheW91dFB1YmxpY0NvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL2xheW91dC1wdWJsaWMvbGF5b3V0LXB1YmxpYy5jb21wb25lbnQnOyJdfQ==
|
|
@@ -34,7 +34,7 @@ class LayoutService {
|
|
|
34
34
|
LayoutService.ɵprov = ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
|
|
35
35
|
LayoutService.decorators = [
|
|
36
36
|
{ type: Injectable, args: [{
|
|
37
|
-
providedIn: 'root'
|
|
37
|
+
providedIn: 'root',
|
|
38
38
|
},] }
|
|
39
39
|
];
|
|
40
40
|
LayoutService.ctorParameters = () => [];
|
|
@@ -63,7 +63,9 @@ class LayoutComponent {
|
|
|
63
63
|
this.defaultLayout = 'internal';
|
|
64
64
|
}
|
|
65
65
|
ngOnInit() {
|
|
66
|
-
this.routerSub = this.router.events
|
|
66
|
+
this.routerSub = this.router.events
|
|
67
|
+
.pipe(filter(event => event instanceof NavigationEnd))
|
|
68
|
+
.subscribe(() => {
|
|
67
69
|
const layout = this.route.snapshot.firstChild.data.layout;
|
|
68
70
|
this.layoutType = layout ? layout : this.defaultLayout;
|
|
69
71
|
});
|
|
@@ -100,13 +102,12 @@ LayoutComponent.ctorParameters = () => [
|
|
|
100
102
|
*/
|
|
101
103
|
class LayoutPublicComponent {
|
|
102
104
|
constructor() { }
|
|
103
|
-
ngOnInit() {
|
|
104
|
-
}
|
|
105
|
+
ngOnInit() { }
|
|
105
106
|
}
|
|
106
107
|
LayoutPublicComponent.decorators = [
|
|
107
108
|
{ type: Component, args: [{
|
|
108
109
|
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\"
|
|
110
|
+
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
111
|
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
|
},] }
|
|
112
113
|
];
|
|
@@ -142,7 +143,7 @@ class LayoutInternalComponent {
|
|
|
142
143
|
attributes: true,
|
|
143
144
|
attributeFilter: ['class'],
|
|
144
145
|
childList: false,
|
|
145
|
-
characterData: false
|
|
146
|
+
characterData: false,
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
menuWidthChanged(width) {
|
|
@@ -152,7 +153,7 @@ class LayoutInternalComponent {
|
|
|
152
153
|
LayoutInternalComponent.decorators = [
|
|
153
154
|
{ type: Component, args: [{
|
|
154
155
|
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
|
+
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",
|
|
156
157
|
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
|
},] }
|
|
158
159
|
];
|
|
@@ -192,9 +193,9 @@ LayoutModule.decorators = [
|
|
|
192
193
|
RightSidebarModule,
|
|
193
194
|
PageHeaderModule,
|
|
194
195
|
AlertModule,
|
|
195
|
-
CommonModule
|
|
196
|
+
CommonModule,
|
|
196
197
|
],
|
|
197
|
-
exports: [LayoutComponent]
|
|
198
|
+
exports: [LayoutComponent],
|
|
198
199
|
},] }
|
|
199
200
|
];
|
|
200
201
|
|
|
@@ -1 +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,UA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pD,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;;;;;;"}
|
|
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 public get isFullscreen() {\n return this.fullscreen;\n }\n\n public toggleFullscreen() {\n this.fullscreen = !this.fullscreen;\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 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 ngOnInit() {\n this.routerSub = this.router.events\n .pipe(filter(event => event instanceof NavigationEnd))\n .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 * 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 constructor() {}\n\n ngOnInit() {}\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 {\n AlertModule,\n LeftSidebarModule,\n MenuRoutingModule,\n PageHeaderModule,\n RightSidebarModule,\n TopbarModule,\n} 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 * 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;KAEX;IAEhB,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IAEM,gBAAgB;QACrB,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;KACpC;;;;YAdF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;ACpBD;;;;;;;;;;;;;;;MA2Ba,eAAe;IAK1B,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;KAEkC;IAErE,QAAQ;QACN,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM;aAChC,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,KAAK,YAAY,aAAa,CAAC,CAAC;aACrD,SAAS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