@valtimo/layout 4.23.0 → 5.2.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 +38 -37
- package/esm2020/lib/layout-internal/layout-internal.component.mjs +57 -0
- package/esm2020/lib/layout-public/layout-public.component.mjs +29 -0
- package/esm2020/lib/layout.component.mjs +51 -0
- package/esm2020/lib/layout.module.mjs +62 -0
- package/esm2020/lib/layout.service.mjs +37 -0
- package/esm2020/public_api.mjs +22 -0
- package/esm2020/valtimo-layout.mjs +5 -0
- package/fesm2015/valtimo-layout.mjs +240 -0
- package/fesm2015/valtimo-layout.mjs.map +1 -0
- package/fesm2020/valtimo-layout.mjs +240 -0
- package/fesm2020/valtimo-layout.mjs.map +1 -0
- package/lib/layout-internal/layout-internal.component.d.ts +8 -1
- package/lib/layout-internal/layout-internal.component.d.ts.map +1 -0
- package/lib/layout-public/layout-public.component.d.ts +4 -0
- package/lib/layout-public/layout-public.component.d.ts.map +1 -0
- package/lib/layout.component.d.ts +4 -0
- package/lib/layout.component.d.ts.map +1 -0
- package/lib/layout.module.d.ts +11 -0
- package/lib/layout.module.d.ts.map +1 -0
- package/lib/layout.service.d.ts +4 -0
- package/lib/layout.service.d.ts.map +1 -0
- package/package.json +22 -11
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-layout.d.ts +2 -2
- package/valtimo-layout.d.ts.map +1 -0
- package/bundles/valtimo-layout.umd.js +0 -244
- package/bundles/valtimo-layout.umd.js.map +0 -1
- package/bundles/valtimo-layout.umd.min.js +0 -2
- package/bundles/valtimo-layout.umd.min.js.map +0 -1
- package/esm2015/lib/layout-internal/layout-internal.component.js +0 -55
- package/esm2015/lib/layout-public/layout-public.component.js +0 -29
- package/esm2015/lib/layout.component.js +0 -50
- package/esm2015/lib/layout.module.js +0 -41
- package/esm2015/lib/layout.service.js +0 -36
- package/esm2015/public_api.js +0 -22
- package/esm2015/valtimo-layout.js +0 -7
- package/fesm2015/valtimo-layout.js +0 -223
- package/fesm2015/valtimo-layout.js.map +0 -1
- package/valtimo-layout.metadata.json +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Component } from '@angular/core';
|
|
17
|
-
import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';
|
|
18
|
-
import { filter } from 'rxjs/operators';
|
|
19
|
-
import { Subscription } from 'rxjs';
|
|
20
|
-
export class LayoutComponent {
|
|
21
|
-
constructor(router, route) {
|
|
22
|
-
this.router = router;
|
|
23
|
-
this.route = route;
|
|
24
|
-
this.layoutType = null;
|
|
25
|
-
this.routerSub = Subscription.EMPTY;
|
|
26
|
-
this.defaultLayout = 'internal';
|
|
27
|
-
}
|
|
28
|
-
ngOnInit() {
|
|
29
|
-
this.routerSub = this.router.events
|
|
30
|
-
.pipe(filter(event => event instanceof NavigationEnd))
|
|
31
|
-
.subscribe(() => {
|
|
32
|
-
const layout = this.route.snapshot.firstChild.data.layout;
|
|
33
|
-
this.layoutType = layout ? layout : this.defaultLayout;
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
ngOnDestroy() {
|
|
37
|
-
this.routerSub.unsubscribe();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
LayoutComponent.decorators = [
|
|
41
|
-
{ type: Component, args: [{
|
|
42
|
-
selector: 'valtimo-layout',
|
|
43
|
-
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-layout-public *ngIf=\"layoutType === 'public'\"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf=\"layoutType === 'internal'\"></valtimo-layout-internal>\n"
|
|
44
|
-
},] }
|
|
45
|
-
];
|
|
46
|
-
LayoutComponent.ctorParameters = () => [
|
|
47
|
-
{ type: Router },
|
|
48
|
-
{ type: ActivatedRoute }
|
|
49
|
-
];
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtMGU4NGY2MGYvd29ya3NwYWNlL3JvbnRlbmRfbGlicmFyaWVzXy1fcmVsZWFzZV9tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLCJzb3VyY2VzIjpbImxpYi9sYXlvdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBb0IsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFDLGNBQWMsRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFDLE1BQU0saUJBQWlC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dWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { NgModule } from '@angular/core';
|
|
17
|
-
import { LayoutComponent } from './layout.component';
|
|
18
|
-
import { AlertModule, LeftSidebarModule, MenuRoutingModule, PageHeaderModule, RightSidebarModule, TopbarModule, } from '@valtimo/components';
|
|
19
|
-
import { RouterModule } from '@angular/router';
|
|
20
|
-
import { LayoutPublicComponent } from './layout-public/layout-public.component';
|
|
21
|
-
import { LayoutInternalComponent } from './layout-internal/layout-internal.component';
|
|
22
|
-
import { CommonModule } from '@angular/common';
|
|
23
|
-
export class LayoutModule {
|
|
24
|
-
}
|
|
25
|
-
LayoutModule.decorators = [
|
|
26
|
-
{ type: NgModule, args: [{
|
|
27
|
-
declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
|
|
28
|
-
imports: [
|
|
29
|
-
RouterModule,
|
|
30
|
-
MenuRoutingModule,
|
|
31
|
-
TopbarModule,
|
|
32
|
-
LeftSidebarModule,
|
|
33
|
-
RightSidebarModule,
|
|
34
|
-
PageHeaderModule,
|
|
35
|
-
AlertModule,
|
|
36
|
-
CommonModule,
|
|
37
|
-
],
|
|
38
|
-
exports: [LayoutCompon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bn0pXG5leHBvcnQgY2xhc3MgTGF5b3V0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Injectable } from '@angular/core';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export class LayoutService {
|
|
19
|
-
constructor() {
|
|
20
|
-
this.fullscreen = false;
|
|
21
|
-
}
|
|
22
|
-
get isFullscreen() {
|
|
23
|
-
return this.fullscreen;
|
|
24
|
-
}
|
|
25
|
-
toggleFullscreen() {
|
|
26
|
-
this.fullscreen = !this.fullscreen;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
LayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
|
|
30
|
-
LayoutService.decorators = [
|
|
31
|
-
{ type: Injectable, args: [{
|
|
32
|
-
providedIn: 'root',
|
|
33
|
-
},] }
|
|
34
|
-
];
|
|
35
|
-
LayoutService.ctorParameters = () => [];
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiL3RtcC9qZW5raW5zLT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BvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IHtJbmplY3RhYmxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIExheW91dFNlcnZpY2Uge1xuICBwcml2YXRlIGZ1bGxzY3JlZW4gPSBmYWxzZTtcblxuICBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgcHVibGljIGdldCBpc0Z1bGxzY3JlZW4oKSB7XG4gICAgcmV0dXJuIHRoaXMuZnVsbHNjcmVlbjtcbiAgfVxuXG4gIHB1YmxpYyB0b2dnbGVGdWxsc2NyZWVuKCkge1xuICAgIHRoaXMuZnVsbHNjcmVlbiA9ICF0aGlzLmZ1bGxzY3JlZW47XG4gIH1cbn1cbiJdfQ==
|
package/esm2015/public_api.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/*
|
|
17
|
-
* Public API Surface of layout
|
|
18
|
-
*/
|
|
19
|
-
export * from './lib/layout.service';
|
|
20
|
-
export * from './lib/layout.component';
|
|
21
|
-
export * from './lib/layout.module';
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtMGU4NGY2MGYvd29ya3NwYWNlL3JvbnRlbmRfbGlicmFyaWVzXy1fcmVsZWFzZV9tYWluL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSDs7R0FFRztBQUVILGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIENvcHlyaWdodCAyMDE1LTIwMjAgUml0ZW5zZSBCViwgdGhlIE5ldGhlcmxhbmRzLlxuICpcbiAqIExpY2Vuc2VkIHVuZGVyIEVVUEwsIFZlcnNpb24gMS4yICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogaHR0cHM6Ly9qb2ludXAuZWMuZXVyb3BhLmV1L2NvbGxlY3Rpb24vZXVwbC9ldXBsLXRleHQtZXVwbC0xMlxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBsYXlvdXRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sYXlvdXQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9sYXlvdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xheW91dC5tb2R1bGUnO1xuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { LayoutInternalComponent as ɵb } from './lib/layout-internal/layout-internal.component';
|
|
6
|
-
export { LayoutPublicComponent as ɵa } from './lib/layout-public/layout-public.component';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGltby1sYXlvdXQuanMiLCJzb3VyY2VSb290IjoiL3RtcC9qZW5raW5zLTBlODRmNjBmL3dvcmtzcGFjZS9yb250ZW5kX2xpYnJhcmllc18tX3JlbGVhc2VfbWFpbi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvIiwic291cmNlcyI6WyJ2YWx0aW1vLWxheW91dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyx1QkFBdUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxpREFBaUQsQ0FBQztBQUM5RixPQUFPLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLE1BQU0sNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG5cbmV4cG9ydCB7TGF5b3V0SW50ZXJuYWxDb21wb25lbnQgYXMgybVifSBmcm9tICcuL2xpYi9sYXlvdXQtaW50ZXJuYWwvbGF5b3V0LWludGVybmFsLmNvbXBvbmVudCc7XG5leHBvcnQge0xheW91dFB1YmxpY0NvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL2xheW91dC1wdWJsaWMvbGF5b3V0LXB1YmxpYy5jb21wb25lbnQnOyJdfQ==
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { ɵɵdefineInjectable, Injectable, Component, Renderer2, ViewChild, NgModule } from '@angular/core';
|
|
2
|
-
import { NavigationEnd, Router, ActivatedRoute, RouterModule } from '@angular/router';
|
|
3
|
-
import { filter } from 'rxjs/operators';
|
|
4
|
-
import { Subscription, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { MenuRoutingModule, TopbarModule, LeftSidebarModule, RightSidebarModule, PageHeaderModule, AlertModule } from '@valtimo/components';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
|
|
8
|
-
/*
|
|
9
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
class LayoutService {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.fullscreen = false;
|
|
26
|
-
}
|
|
27
|
-
get isFullscreen() {
|
|
28
|
-
return this.fullscreen;
|
|
29
|
-
}
|
|
30
|
-
toggleFullscreen() {
|
|
31
|
-
this.fullscreen = !this.fullscreen;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
LayoutService.ɵprov = ɵɵdefineInjectable({ factory: function LayoutService_Factory() { return new LayoutService(); }, token: LayoutService, providedIn: "root" });
|
|
35
|
-
LayoutService.decorators = [
|
|
36
|
-
{ type: Injectable, args: [{
|
|
37
|
-
providedIn: 'root',
|
|
38
|
-
},] }
|
|
39
|
-
];
|
|
40
|
-
LayoutService.ctorParameters = () => [];
|
|
41
|
-
|
|
42
|
-
/*
|
|
43
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
44
|
-
*
|
|
45
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
46
|
-
* you may not use this file except in compliance with the License.
|
|
47
|
-
* You may obtain a copy of the License at
|
|
48
|
-
*
|
|
49
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
50
|
-
*
|
|
51
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
52
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
53
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
54
|
-
* See the License for the specific language governing permissions and
|
|
55
|
-
* limitations under the License.
|
|
56
|
-
*/
|
|
57
|
-
class LayoutComponent {
|
|
58
|
-
constructor(router, route) {
|
|
59
|
-
this.router = router;
|
|
60
|
-
this.route = route;
|
|
61
|
-
this.layoutType = null;
|
|
62
|
-
this.routerSub = Subscription.EMPTY;
|
|
63
|
-
this.defaultLayout = 'internal';
|
|
64
|
-
}
|
|
65
|
-
ngOnInit() {
|
|
66
|
-
this.routerSub = this.router.events
|
|
67
|
-
.pipe(filter(event => event instanceof NavigationEnd))
|
|
68
|
-
.subscribe(() => {
|
|
69
|
-
const layout = this.route.snapshot.firstChild.data.layout;
|
|
70
|
-
this.layoutType = layout ? layout : this.defaultLayout;
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
ngOnDestroy() {
|
|
74
|
-
this.routerSub.unsubscribe();
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
LayoutComponent.decorators = [
|
|
78
|
-
{ type: Component, args: [{
|
|
79
|
-
selector: 'valtimo-layout',
|
|
80
|
-
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-layout-public *ngIf=\"layoutType === 'public'\"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf=\"layoutType === 'internal'\"></valtimo-layout-internal>\n"
|
|
81
|
-
},] }
|
|
82
|
-
];
|
|
83
|
-
LayoutComponent.ctorParameters = () => [
|
|
84
|
-
{ type: Router },
|
|
85
|
-
{ type: ActivatedRoute }
|
|
86
|
-
];
|
|
87
|
-
|
|
88
|
-
/*
|
|
89
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
90
|
-
*
|
|
91
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
92
|
-
* you may not use this file except in compliance with the License.
|
|
93
|
-
* You may obtain a copy of the License at
|
|
94
|
-
*
|
|
95
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
96
|
-
*
|
|
97
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
98
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
99
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
100
|
-
* See the License for the specific language governing permissions and
|
|
101
|
-
* limitations under the License.
|
|
102
|
-
*/
|
|
103
|
-
class LayoutPublicComponent {
|
|
104
|
-
constructor() { }
|
|
105
|
-
ngOnInit() { }
|
|
106
|
-
}
|
|
107
|
-
LayoutPublicComponent.decorators = [
|
|
108
|
-
{ type: Component, args: [{
|
|
109
|
-
selector: 'valtimo-layout-public',
|
|
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",
|
|
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%}}"]
|
|
112
|
-
},] }
|
|
113
|
-
];
|
|
114
|
-
LayoutPublicComponent.ctorParameters = () => [];
|
|
115
|
-
|
|
116
|
-
/*
|
|
117
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
118
|
-
*
|
|
119
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
120
|
-
* you may not use this file except in compliance with the License.
|
|
121
|
-
* You may obtain a copy of the License at
|
|
122
|
-
*
|
|
123
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
124
|
-
*
|
|
125
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
126
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
127
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
128
|
-
* See the License for the specific language governing permissions and
|
|
129
|
-
* limitations under the License.
|
|
130
|
-
*/
|
|
131
|
-
class LayoutInternalComponent {
|
|
132
|
-
constructor(layoutService, renderer) {
|
|
133
|
-
this.layoutService = layoutService;
|
|
134
|
-
this.renderer = renderer;
|
|
135
|
-
this.menuOpen$ = new BehaviorSubject(true);
|
|
136
|
-
this.menuWidth$ = new BehaviorSubject(undefined);
|
|
137
|
-
this.observer = new MutationObserver((e) => this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed')));
|
|
138
|
-
this.renderer.addClass(document.body, 'be-animate');
|
|
139
|
-
}
|
|
140
|
-
ngAfterViewInit() {
|
|
141
|
-
App.init();
|
|
142
|
-
this.observer.observe(this.wrapperRef.nativeElement, {
|
|
143
|
-
attributes: true,
|
|
144
|
-
attributeFilter: ['class'],
|
|
145
|
-
childList: false,
|
|
146
|
-
characterData: false,
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
menuWidthChanged(width) {
|
|
150
|
-
this.menuWidth$.next(width);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
LayoutInternalComponent.decorators = [
|
|
154
|
-
{ type: Component, args: [{
|
|
155
|
-
selector: 'valtimo-layout-internal',
|
|
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",
|
|
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}}"]
|
|
158
|
-
},] }
|
|
159
|
-
];
|
|
160
|
-
LayoutInternalComponent.ctorParameters = () => [
|
|
161
|
-
{ type: LayoutService },
|
|
162
|
-
{ type: Renderer2 }
|
|
163
|
-
];
|
|
164
|
-
LayoutInternalComponent.propDecorators = {
|
|
165
|
-
wrapperRef: [{ type: ViewChild, args: ['wrapper',] }]
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
/*
|
|
169
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
170
|
-
*
|
|
171
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
172
|
-
* you may not use this file except in compliance with the License.
|
|
173
|
-
* You may obtain a copy of the License at
|
|
174
|
-
*
|
|
175
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
176
|
-
*
|
|
177
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
178
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
179
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
180
|
-
* See the License for the specific language governing permissions and
|
|
181
|
-
* limitations under the License.
|
|
182
|
-
*/
|
|
183
|
-
class LayoutModule {
|
|
184
|
-
}
|
|
185
|
-
LayoutModule.decorators = [
|
|
186
|
-
{ type: NgModule, args: [{
|
|
187
|
-
declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
|
|
188
|
-
imports: [
|
|
189
|
-
RouterModule,
|
|
190
|
-
MenuRoutingModule,
|
|
191
|
-
TopbarModule,
|
|
192
|
-
LeftSidebarModule,
|
|
193
|
-
RightSidebarModule,
|
|
194
|
-
PageHeaderModule,
|
|
195
|
-
AlertModule,
|
|
196
|
-
CommonModule,
|
|
197
|
-
],
|
|
198
|
-
exports: [LayoutComponent],
|
|
199
|
-
},] }
|
|
200
|
-
];
|
|
201
|
-
|
|
202
|
-
/*
|
|
203
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
204
|
-
*
|
|
205
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
206
|
-
* you may not use this file except in compliance with the License.
|
|
207
|
-
* You may obtain a copy of the License at
|
|
208
|
-
*
|
|
209
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
210
|
-
*
|
|
211
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
212
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
213
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
214
|
-
* See the License for the specific language governing permissions and
|
|
215
|
-
* limitations under the License.
|
|
216
|
-
*/
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Generated bundle index. Do not edit.
|
|
220
|
-
*/
|
|
221
|
-
|
|
222
|
-
export { LayoutComponent, LayoutModule, LayoutService, LayoutPublicComponent as ɵa, LayoutInternalComponent as ɵb };
|
|
223
|
-
//# sourceMappingURL=valtimo-layout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CA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AI,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,++CAA+C;;aAEhD;;;YARO,aAAa;YAFyB,SAAS;;;yBAYpD,SAAS,SAAC,SAAS;;;AC5BtB;;;;;;;;;;;;;;;MA6Ca,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;;;AC5CD;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"LayoutService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":18,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"toggleFullscreen":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"LayoutComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"valtimo-layout","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-layout-public *ngIf=\"layoutType === 'public'\"></valtimo-layout-public>\n<valtimo-layout-internal *ngIf=\"layoutType === 'internal'\"></valtimo-layout-internal>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":32,"character":30},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":32,"character":53}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"LayoutModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":31,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LayoutComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":34,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"MenuRoutingModule","line":35,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"TopbarModule","line":36,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"LeftSidebarModule","line":37,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"RightSidebarModule","line":38,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"PageHeaderModule","line":39,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"AlertModule","line":40,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":41,"character":4}],"exports":[{"__symbolic":"reference","name":"LayoutComponent"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"valtimo-layout-public","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"public-page-content\">\n <img src=\"assets/logo.svg\" class=\"logo\" />\n <router-outlet></router-outlet>\n</div>\n","styles":["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */body{background-color:#eee}.public-page-content{background-color:#fff;border:1px solid #dee2e6;margin:60px auto;padding:0 30px 30px}.public-page-content .logo{display:block;margin:30px auto;width:25%}@media (min-width:768px){.public-page-content{width:50%}}@media (max-width:767px) and (min-width:576px){.public-page-content{width:75%}}@media (max-width:575px){.public-page-content{width:95%}.public-page-content .logo{width:50%}}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"valtimo-layout-internal","template":"<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"be-wrapper be-fixed-sidebar be-collapsible-sidebar\" #wrapper>\n <valtimo-topbar></valtimo-topbar>\n <valtimo-left-sidebar\n [hidden]=\"layoutService.isFullscreen\"\n [menuIsOpen]=\"menuOpen$ | async\"\n (menuWidthChanged)=\"menuWidthChanged($event)\"\n ></valtimo-left-sidebar>\n <div\n [ngClass]=\"{'be-content': !layoutService.isFullscreen}\"\n [style.marginLeft.px]=\"\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","styles":["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */@media screen and (max-width:767px){.be-content{margin-left:0!important}}"]}]}],"members":{"wrapperRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["wrapper"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LayoutService"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":37,"character":69}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"menuWidthChanged":[{"__symbolic":"method"}]}}},"origins":{"LayoutService":"./lib/layout.service","LayoutComponent":"./lib/layout.component","LayoutModule":"./lib/layout.module","ɵa":"./lib/layout-public/layout-public.component","ɵb":"./lib/layout-internal/layout-internal.component"},"importAs":"@valtimo/layout"}
|