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