@valtimo/layout 4.23.0 → 5.0.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
package/assets/css/app.css
CHANGED
|
@@ -113,6 +113,7 @@ body {
|
|
|
113
113
|
color: #404040;
|
|
114
114
|
text-align: left;
|
|
115
115
|
background-color: #eeeeee;
|
|
116
|
+
overflow-y: scroll;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
[tabindex='-1']:focus:not(:focus-visible) {
|
|
@@ -12013,9 +12014,9 @@ a.text-grey:focus {
|
|
|
12013
12014
|
}
|
|
12014
12015
|
|
|
12015
12016
|
/* General styles for the modal */
|
|
12016
|
-
/*
|
|
12017
|
+
/*
|
|
12017
12018
|
Styles for the html/body for special modal where we want 3d effects
|
|
12018
|
-
Note that we need a container wrapping all content on the page for the
|
|
12019
|
+
Note that we need a container wrapping all content on the page for the
|
|
12019
12020
|
perspective effects (not including the modals and the overlay).
|
|
12020
12021
|
*/
|
|
12021
12022
|
.modal-open {
|
|
@@ -13494,9 +13495,9 @@ canvas {
|
|
|
13494
13495
|
}
|
|
13495
13496
|
|
|
13496
13497
|
.be-top-header .be-toggle-top-header-menu:before {
|
|
13497
|
-
content: '\
|
|
13498
|
+
content: '\F0360';
|
|
13498
13499
|
float: right;
|
|
13499
|
-
font-family: 'Material Icons';
|
|
13500
|
+
font-family: 'Material Design Icons';
|
|
13500
13501
|
font-size: 2.077rem;
|
|
13501
13502
|
line-height: 22px;
|
|
13502
13503
|
color: #c5c5c5;
|
|
@@ -13508,7 +13509,7 @@ canvas {
|
|
|
13508
13509
|
}
|
|
13509
13510
|
|
|
13510
13511
|
.be-top-header .be-toggle-top-header-menu.collapsed:before {
|
|
13511
|
-
content: '\
|
|
13512
|
+
content: '\F035D';
|
|
13512
13513
|
}
|
|
13513
13514
|
|
|
13514
13515
|
@media (max-width: 767.98px) {
|
|
@@ -14431,16 +14432,16 @@ canvas {
|
|
|
14431
14432
|
}
|
|
14432
14433
|
|
|
14433
14434
|
.be-left-sidebar .left-sidebar-toggle:before {
|
|
14434
|
-
content: '\
|
|
14435
|
+
content: '\F035D';
|
|
14435
14436
|
float: right;
|
|
14436
|
-
font-family: 'Material Icons';
|
|
14437
|
+
font-family: 'Material Design Icons';
|
|
14437
14438
|
font-size: 2.077rem;
|
|
14438
14439
|
line-height: 22px;
|
|
14439
14440
|
color: #c5c5c5;
|
|
14440
14441
|
}
|
|
14441
14442
|
|
|
14442
14443
|
.be-left-sidebar .left-sidebar-toggle.open:before {
|
|
14443
|
-
content: '\
|
|
14444
|
+
content: '\F0360';
|
|
14444
14445
|
}
|
|
14445
14446
|
|
|
14446
14447
|
@media (max-width: 767.98px) {
|
|
@@ -14781,9 +14782,9 @@ canvas {
|
|
|
14781
14782
|
}
|
|
14782
14783
|
|
|
14783
14784
|
.be-left-sidebar .sidebar-elements li.parent > a:before {
|
|
14784
|
-
content: '\
|
|
14785
|
+
content: '\F035D';
|
|
14785
14786
|
float: right;
|
|
14786
|
-
font-family: 'Material Icons';
|
|
14787
|
+
font-family: 'Material Design Icons';
|
|
14787
14788
|
font-size: 1.615rem;
|
|
14788
14789
|
color: #b0b0b0;
|
|
14789
14790
|
}
|
|
@@ -14795,7 +14796,7 @@ canvas {
|
|
|
14795
14796
|
}
|
|
14796
14797
|
|
|
14797
14798
|
.be-left-sidebar .sidebar-elements li.parent.open > a:before {
|
|
14798
|
-
content: '\
|
|
14799
|
+
content: '\F0360';
|
|
14799
14800
|
}
|
|
14800
14801
|
|
|
14801
14802
|
.be-left-sidebar .sidebar-elements li.open > ul {
|
|
@@ -16413,8 +16414,8 @@ canvas {
|
|
|
16413
16414
|
}
|
|
16414
16415
|
|
|
16415
16416
|
.be-scroll-top:before {
|
|
16416
|
-
content: '\
|
|
16417
|
-
font-family: 'Material Icons';
|
|
16417
|
+
content: '\F0143';
|
|
16418
|
+
font-family: 'Material Design Icons';
|
|
16418
16419
|
font-size: 2.538rem;
|
|
16419
16420
|
display: inline-block;
|
|
16420
16421
|
vertical-align: middle;
|
|
@@ -16586,13 +16587,13 @@ canvas {
|
|
|
16586
16587
|
}
|
|
16587
16588
|
|
|
16588
16589
|
.be-sub-navigation-collapse.collapsed:before {
|
|
16589
|
-
content: '\
|
|
16590
|
+
content: '\F035D';
|
|
16590
16591
|
}
|
|
16591
16592
|
|
|
16592
16593
|
.be-sub-navigation-collapse:before {
|
|
16593
|
-
content: '\
|
|
16594
|
+
content: '\F0360';
|
|
16594
16595
|
float: right;
|
|
16595
|
-
font-family: 'Material Icons';
|
|
16596
|
+
font-family: 'Material Design Icons';
|
|
16596
16597
|
font-size: 2.077rem;
|
|
16597
16598
|
line-height: 22px;
|
|
16598
16599
|
color: #c5c5c5;
|
|
@@ -16701,7 +16702,7 @@ canvas {
|
|
|
16701
16702
|
.be-mega-menu-section.parent > .nav-link:after {
|
|
16702
16703
|
position: absolute;
|
|
16703
16704
|
content: '';
|
|
16704
|
-
font-family: 'Material Icons';
|
|
16705
|
+
font-family: 'Material Design Icons';
|
|
16705
16706
|
font-size: 1.615rem;
|
|
16706
16707
|
vertical-align: middle;
|
|
16707
16708
|
top: 0;
|
|
@@ -16874,7 +16875,7 @@ canvas {
|
|
|
16874
16875
|
}
|
|
16875
16876
|
|
|
16876
16877
|
.be-sub-header .navbar-toggler.collapsed .mega-menu-toggle:before {
|
|
16877
|
-
content: '\
|
|
16878
|
+
content: '\F035D';
|
|
16878
16879
|
}
|
|
16879
16880
|
|
|
16880
16881
|
.be-sub-header .navbar-toggler .mega-menu-toggle {
|
|
@@ -16888,9 +16889,9 @@ canvas {
|
|
|
16888
16889
|
}
|
|
16889
16890
|
|
|
16890
16891
|
.be-sub-header .navbar-toggler .mega-menu-toggle:before {
|
|
16891
|
-
content: '\
|
|
16892
|
+
content: '\F0360';
|
|
16892
16893
|
float: right;
|
|
16893
|
-
font-family: 'Material Icons';
|
|
16894
|
+
font-family: 'Material Design Icons';
|
|
16894
16895
|
font-size: 2.077rem;
|
|
16895
16896
|
line-height: 22px;
|
|
16896
16897
|
color: #c5c5c5;
|
|
@@ -16983,7 +16984,7 @@ canvas {
|
|
|
16983
16984
|
.be-sub-header .navbar-nav > .nav-item.parent > .nav-link:after {
|
|
16984
16985
|
position: absolute;
|
|
16985
16986
|
content: '';
|
|
16986
|
-
font-family: 'Material Icons';
|
|
16987
|
+
font-family: 'Material Design Icons';
|
|
16987
16988
|
font-size: 1.615rem;
|
|
16988
16989
|
vertical-align: middle;
|
|
16989
16990
|
right: 15px;
|
|
@@ -17119,7 +17120,7 @@ canvas {
|
|
|
17119
17120
|
.be-nav-tabs-sub > .nav-item.parent > .nav-link:after {
|
|
17120
17121
|
position: absolute;
|
|
17121
17122
|
content: '';
|
|
17122
|
-
font-family: 'Material Icons';
|
|
17123
|
+
font-family: 'Material Design Icons';
|
|
17123
17124
|
font-size: 1.615rem;
|
|
17124
17125
|
vertical-align: middle;
|
|
17125
17126
|
margin-top: 1px;
|
|
@@ -23798,9 +23799,9 @@ fieldset[disabled] .btn-color.btn-evernote.active {
|
|
|
23798
23799
|
}
|
|
23799
23800
|
|
|
23800
23801
|
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
|
|
23801
|
-
content: '\
|
|
23802
|
+
content: '\F012C';
|
|
23802
23803
|
font-size: 1.5452rem;
|
|
23803
|
-
font-family: 'Material Icons';
|
|
23804
|
+
font-family: 'Material Design Icons';
|
|
23804
23805
|
margin: 0 0;
|
|
23805
23806
|
font-weight: normal;
|
|
23806
23807
|
text-align: center;
|
|
@@ -23816,12 +23817,12 @@ fieldset[disabled] .btn-color.btn-evernote.active {
|
|
|
23816
23817
|
}
|
|
23817
23818
|
|
|
23818
23819
|
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
|
|
23819
|
-
content: '\
|
|
23820
|
+
content: '\F0765';
|
|
23820
23821
|
width: 1.77592rem;
|
|
23821
23822
|
height: 1.77592rem;
|
|
23822
23823
|
margin: 0 0;
|
|
23823
23824
|
font-size: 1rem;
|
|
23824
|
-
font-family: 'Material Icons';
|
|
23825
|
+
font-family: 'Material Design Icons';
|
|
23825
23826
|
text-align: center;
|
|
23826
23827
|
line-height: 1.8;
|
|
23827
23828
|
}
|
|
@@ -28321,8 +28322,8 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
28321
28322
|
|
|
28322
28323
|
.gritter-item-wrapper .gritter-item .gritter-content.gritter-with-image .gritter-close:after,
|
|
28323
28324
|
.gritter-item-wrapper .gritter-item .gritter-content.gritter-without-image .gritter-close:after {
|
|
28324
|
-
content: '\
|
|
28325
|
-
font-family: 'Material Icons';
|
|
28325
|
+
content: '\F0156';
|
|
28326
|
+
font-family: 'Material Design Icons';
|
|
28326
28327
|
color: #ffffff;
|
|
28327
28328
|
font-size: 1.538rem;
|
|
28328
28329
|
text-shadow: none;
|
|
@@ -28577,8 +28578,8 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
28577
28578
|
}
|
|
28578
28579
|
|
|
28579
28580
|
.select2-container--default .select2-selection--single .select2-selection__arrow b:after {
|
|
28580
|
-
content: '\
|
|
28581
|
-
font-family: 'Material Icons';
|
|
28581
|
+
content: '\F035D';
|
|
28582
|
+
font-family: 'Material Design Icons';
|
|
28582
28583
|
font-size: 1.923rem;
|
|
28583
28584
|
font-weight: normal;
|
|
28584
28585
|
line-height: 3.5382rem;
|
|
@@ -28636,7 +28637,7 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
28636
28637
|
.select2-selection--single
|
|
28637
28638
|
.select2-selection__arrow
|
|
28638
28639
|
b:after {
|
|
28639
|
-
content: '\
|
|
28640
|
+
content: '\F035D';
|
|
28640
28641
|
}
|
|
28641
28642
|
|
|
28642
28643
|
.select2-container--default .select2-results__group {
|
|
@@ -29100,7 +29101,7 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
29100
29101
|
|
|
29101
29102
|
.dd-list .dd-item > button,
|
|
29102
29103
|
.dd-list .dd3-item > button {
|
|
29103
|
-
font-family: 'Material Icons';
|
|
29104
|
+
font-family: 'Material Design Icons';
|
|
29104
29105
|
display: block;
|
|
29105
29106
|
position: relative;
|
|
29106
29107
|
cursor: pointer;
|
|
@@ -29121,7 +29122,7 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
29121
29122
|
|
|
29122
29123
|
.dd-list .dd-item > button:before,
|
|
29123
29124
|
.dd-list .dd3-item > button:before {
|
|
29124
|
-
content: '\
|
|
29125
|
+
content: '\F0415';
|
|
29125
29126
|
display: block;
|
|
29126
29127
|
position: absolute;
|
|
29127
29128
|
width: 100%;
|
|
@@ -29131,7 +29132,7 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
29131
29132
|
|
|
29132
29133
|
.dd-list .dd-item > button[data-action='collapse']:before,
|
|
29133
29134
|
.dd-list .dd3-item > button[data-action='collapse']:before {
|
|
29134
|
-
content: '\
|
|
29135
|
+
content: '\F0374';
|
|
29135
29136
|
}
|
|
29136
29137
|
|
|
29137
29138
|
.dd-list .dd-item .dd3-content,
|
|
@@ -30154,8 +30155,8 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
30154
30155
|
.widget-calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span:after,
|
|
30155
30156
|
.widget-calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next span:after {
|
|
30156
30157
|
cursor: pointer;
|
|
30157
|
-
content: '\
|
|
30158
|
-
font-family: 'Material Icons';
|
|
30158
|
+
content: '\F035E';
|
|
30159
|
+
font-family: 'Material Design Icons';
|
|
30159
30160
|
display: block;
|
|
30160
30161
|
position: absolute;
|
|
30161
30162
|
width: 16px;
|
|
@@ -30173,7 +30174,7 @@ fieldset[disabled] .full-calendar .fc-button.active {
|
|
|
30173
30174
|
}
|
|
30174
30175
|
|
|
30175
30176
|
.widget-calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next span:after {
|
|
30176
|
-
content: '\
|
|
30177
|
+
content: '\F035F';
|
|
30177
30178
|
right: 2px;
|
|
30178
30179
|
}
|
|
30179
30180
|
|
|
@@ -0,0 +1,57 @@
|
|
|
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, ViewChild } from '@angular/core';
|
|
17
|
+
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "../layout.service";
|
|
20
|
+
import * as i2 from "@valtimo/user-interface";
|
|
21
|
+
import * as i3 from "@valtimo/components";
|
|
22
|
+
import * as i4 from "@angular/common";
|
|
23
|
+
import * as i5 from "@angular/router";
|
|
24
|
+
export class LayoutInternalComponent {
|
|
25
|
+
constructor(layoutService, renderer, userInterfaceService) {
|
|
26
|
+
this.layoutService = layoutService;
|
|
27
|
+
this.renderer = renderer;
|
|
28
|
+
this.userInterfaceService = userInterfaceService;
|
|
29
|
+
this.menuOpen$ = new BehaviorSubject(true);
|
|
30
|
+
this.menuWidth$ = new BehaviorSubject(undefined);
|
|
31
|
+
this.observer = new MutationObserver((e) => this.menuOpen$.next(!e[0].target.className.includes('be-collapsible-sidebar-collapsed')));
|
|
32
|
+
this.showPageHeader$ = this.userInterfaceService.showPageHeader$;
|
|
33
|
+
this.renderer.addClass(document.body, 'be-animate');
|
|
34
|
+
}
|
|
35
|
+
ngAfterViewInit() {
|
|
36
|
+
App.init();
|
|
37
|
+
this.observer.observe(this.wrapperRef.nativeElement, {
|
|
38
|
+
attributes: true,
|
|
39
|
+
attributeFilter: ['class'],
|
|
40
|
+
childList: false,
|
|
41
|
+
characterData: false,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
menuWidthChanged(width) {
|
|
45
|
+
this.menuWidth$.next(width);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
LayoutInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutInternalComponent, deps: [{ token: i1.LayoutService }, { token: i0.Renderer2 }, { token: i2.UserInterfaceService }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
LayoutInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: LayoutInternalComponent, selector: "valtimo-layout-internal", viewQueries: [{ propertyName: "wrapperRef", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, 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}}\n"], components: [{ type: i3.TopbarComponent, selector: "valtimo-topbar" }, { type: i3.LeftSidebarComponent, selector: "valtimo-left-sidebar", inputs: ["menuIsOpen"], outputs: ["menuWidthChanged"] }, { type: i3.AlertComponent, selector: "valtimo-alert" }, { type: i3.PageHeaderComponent, selector: "valtimo-page-header" }, { type: i3.RightSidebarComponent, selector: "valtimo-right-sidebar" }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], pipes: { "async": i4.AsyncPipe } });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutInternalComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ 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}}\n"] }]
|
|
53
|
+
}], ctorParameters: function () { return [{ type: i1.LayoutService }, { type: i0.Renderer2 }, { type: i2.UserInterfaceService }]; }, propDecorators: { wrapperRef: [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0PlxuICAgIDx2YWx0aW1vLXBhZ2UtaGVhZGVyIFtoaWRkZW5dPVwibGF5b3V0U2VydmljZS5pc0Z1bGxzY3JlZW5cIj48L3ZhbHRpbW8tcGFnZS1oZWFkZXI+XG4gICAgPHJvdXRlci1vdXRsZXQ+PC9yb3V0ZXItb3V0bGV0PlxuICA8L2Rpdj5cbiAgPHZhbHRpbW8tcmlnaHQtc2lkZWJhcj48L3ZhbHRpbW8tcmlnaHQtc2lkZWJhcj5cbiAgPCEtLTx2YWx0aW1vLXNlc3Npb24tZXhwaXJlZC1wb3B1cCAqbmdJZj1cImF1dGgwU2VydmljZS5zZXNzaW9uRXhwaXJlZFwiPjwvdmFsdGltby1zZXNzaW9uLWV4cGlyZWQtcG9wdXA+LS0+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,29 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "@angular/router";
|
|
19
|
+
export class LayoutPublicComponent {
|
|
20
|
+
constructor() { }
|
|
21
|
+
ngOnInit() { }
|
|
22
|
+
}
|
|
23
|
+
LayoutPublicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutPublicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
LayoutPublicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: LayoutPublicComponent, selector: "valtimo-layout-public", ngImport: i0, 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;margin:60px auto;border:1px solid #dee2e6;padding:0 30px 30px}.public-page-content .logo{width:25%;display:block;margin:30px auto}@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%}}\n"], directives: [{ type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutPublicComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ 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;margin:60px auto;border:1px solid #dee2e6;padding:0 30px 30px}.public-page-content .logo{width:25%;display:block;margin:30px auto}@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%}}\n"] }]
|
|
28
|
+
}], ctorParameters: function () { return []; } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LXB1YmxpYy5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BMaWNlbnNlLlxuICB+IFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICB+XG4gIH4gaHR0cHM6Ly9qb2ludXAuZWMuZXVyb3BhLmV1L2NvbGxlY3Rpb24vZXVwbC9ldXBsLXRleHQtZXVwbC0xMlxuICB+XG4gIH4gVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICB+IGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAgfiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAgfiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gIH4gbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gIC0tPlxuXG48ZGl2IGNsYXNzPVwicHVibGljLXBhZ2UtY29udGVudFwiPlxuICA8aW1nIHNyYz1cImFzc2V0cy9sb2dvLnN2Z1wiIGNsYXNzPVwibG9nb1wiIC8+XG4gIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { NavigationEnd } from '@angular/router';
|
|
18
|
+
import { filter } from 'rxjs/operators';
|
|
19
|
+
import { Subscription } from 'rxjs';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
import * as i1 from "@angular/router";
|
|
22
|
+
import * as i2 from "./layout-public/layout-public.component";
|
|
23
|
+
import * as i3 from "./layout-internal/layout-internal.component";
|
|
24
|
+
import * as i4 from "@angular/common";
|
|
25
|
+
export class LayoutComponent {
|
|
26
|
+
constructor(router, route) {
|
|
27
|
+
this.router = router;
|
|
28
|
+
this.route = route;
|
|
29
|
+
this.layoutType = null;
|
|
30
|
+
this.routerSub = Subscription.EMPTY;
|
|
31
|
+
this.defaultLayout = 'internal';
|
|
32
|
+
}
|
|
33
|
+
ngOnInit() {
|
|
34
|
+
this.routerSub = this.router.events
|
|
35
|
+
.pipe(filter(event => event instanceof NavigationEnd))
|
|
36
|
+
.subscribe(() => {
|
|
37
|
+
const layout = this.route.snapshot.firstChild.data.layout;
|
|
38
|
+
this.layoutType = layout ? layout : this.defaultLayout;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
ngOnDestroy() {
|
|
42
|
+
this.routerSub.unsubscribe();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
LayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
LayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: LayoutComponent, selector: "valtimo-layout", ngImport: i0, 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", components: [{ type: i2.LayoutPublicComponent, selector: "valtimo-layout-public" }, { type: i3.LayoutInternalComponent, selector: "valtimo-layout-internal" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ 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" }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }]; } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy9saWIvbGF5b3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy9saWIvbGF5b3V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBb0IsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFpQixhQUFhLEVBQVMsTUFBTSxpQkFBaUIsQ0FBQztBQUN0RSxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDdEMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLE1BQU0sQ0FBQzs7Ozs7O0FBU2xDLE1BQU0sT0FBTyxlQUFlO0lBSzFCLFlBQW9CLE1BQWMsRUFBVSxLQUFxQjtRQUE3QyxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQVUsVUFBSyxHQUFMLEtBQUssQ0FBZ0I7UUFKMUQsZUFBVSxHQUFrQixJQUFJLENBQUM7UUFDaEMsY0FBUyxHQUFHLFlBQVksQ0FBQyxLQUFLLENBQUM7UUFDL0Isa0JBQWEsR0FBRyxVQUFVLENBQUM7SUFFaUMsQ0FBQztJQUVyRSxRQUFRO1FBQ04sSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU07YUFDaEMs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gVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICB+IGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAgfiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAgfiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gIH4gbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gIC0tPlxuXG48dmFsdGltby1sYXlvdXQtcHVibGljICpuZ0lmPVwibGF5b3V0VHlwZSA9PT0gJ3B1YmxpYydcIj48L3ZhbHRpbW8tbGF5b3V0LXB1YmxpYz5cbjx2YWx0aW1vLWxheW91dC1pbnRlcm5hbCAqbmdJZj1cImxheW91dFR5cGUgPT09ICdpbnRlcm5hbCdcIj48L3ZhbHRpbW8tbGF5b3V0LWludGVybmFsPlxuIl19
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
import * as i0 from "@angular/core";
|
|
24
|
+
export class LayoutModule {
|
|
25
|
+
}
|
|
26
|
+
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
+
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutModule, declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent], imports: [RouterModule,
|
|
28
|
+
MenuRoutingModule,
|
|
29
|
+
TopbarModule,
|
|
30
|
+
LeftSidebarModule,
|
|
31
|
+
RightSidebarModule,
|
|
32
|
+
PageHeaderModule,
|
|
33
|
+
AlertModule,
|
|
34
|
+
CommonModule], exports: [LayoutComponent] });
|
|
35
|
+
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutModule, imports: [[
|
|
36
|
+
RouterModule,
|
|
37
|
+
MenuRoutingModule,
|
|
38
|
+
TopbarModule,
|
|
39
|
+
LeftSidebarModule,
|
|
40
|
+
RightSidebarModule,
|
|
41
|
+
PageHeaderModule,
|
|
42
|
+
AlertModule,
|
|
43
|
+
CommonModule,
|
|
44
|
+
]] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutModule, decorators: [{
|
|
46
|
+
type: NgModule,
|
|
47
|
+
args: [{
|
|
48
|
+
declarations: [LayoutComponent, LayoutPublicComponent, LayoutInternalComponent],
|
|
49
|
+
imports: [
|
|
50
|
+
RouterModule,
|
|
51
|
+
MenuRoutingModule,
|
|
52
|
+
TopbarModule,
|
|
53
|
+
LeftSidebarModule,
|
|
54
|
+
RightSidebarModule,
|
|
55
|
+
PageHeaderModule,
|
|
56
|
+
AlertModule,
|
|
57
|
+
CommonModule,
|
|
58
|
+
],
|
|
59
|
+
exports: [LayoutComponent],
|
|
60
|
+
}]
|
|
61
|
+
}] });
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy9saWIvbGF5b3V0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQ25ELE9BQU8sRUFDTCxXQUFXLEVBQ1gsaUJBQWlCLEVBQ2pCLGlCQUFpQixFQUNqQixnQkFBZ0IsRUFDaEIsa0JBQWtCLEVBQ2xCLFlBQVksR0FDYixNQUFNLHFCQUFxQixDQUFDO0FBQzdCLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUM5RSxPQUFPLEVBQUMsdUJBQXVCLE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0UHVibGljQ29tcG9uZW50fSBmcm9tICcuL2xheW91dC1wdWJsaWMvbGF5b3V0LXB1YmxpYy5jb21wb25lbnQnO1xuaW1wb3J0IHtMYXlvdXRJbnRlcm5hbENvbXBvbmVudH0gZnJvbSAnLi9sYXlvdXQtaW50ZXJuYWwvbGF5b3V0LWludGVybmFsLmNvbXBvbmVudCc7XG5pbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbTGF5b3V0Q29tcG9uZW50LCBMYXlvdXRQdWJsaWNDb21wb25lbnQsIExheW91dEludGVybmFsQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIFJvdXRlck1vZHVsZSxcbiAgICBNZW51Um91dGluZ01vZHVsZSxcbiAgICBUb3BiYXJNb2R1bGUsXG4gICAgTGVmdFNpZGViYXJNb2R1bGUsXG4gICAgUmlnaHRTaWRlYmFyTW9kdWxlLFxuICAgIFBhZ2VIZWFkZXJNb2R1bGUsXG4gICAgQWxlcnRNb2R1bGUsXG4gICAgQ29tbW9uTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbTGF5b3V0Q29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgTGF5b3V0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,37 @@
|
|
|
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.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
LayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutService, providedIn: 'root' });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: LayoutService, decorators: [{
|
|
32
|
+
type: Injectable,
|
|
33
|
+
args: [{
|
|
34
|
+
providedIn: 'root',
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: function () { return []; } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvbGliL2xheW91dC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFLekMsTUFBTSxP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VyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmltcG9ydCB7SW5qZWN0YWJsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBMYXlvdXRTZXJ2aWNlIHtcbiAgcHJpdmF0ZSBmdWxsc2NyZWVuID0gZmFsc2U7XG5cbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIHB1YmxpYyBnZXQgaXNGdWxsc2NyZWVuKCkge1xuICAgIHJldHVybiB0aGlzLmZ1bGxzY3JlZW47XG4gIH1cblxuICBwdWJsaWMgdG9nZ2xlRnVsbHNjcmVlbigpIHtcbiAgICB0aGlzLmZ1bGxzY3JlZW4gPSAhdGhpcy5mdWxsc2NyZWVuO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vbGF5b3V0L3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUg7O0dBRUc7QUFFSCxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBDb3B5cmlnaHQgMjAxNS0yMDIwIFJpdGVuc2UgQlYsIHRoZSBOZXRoZXJsYW5kcy5cbiAqXG4gKiBMaWNlbnNlZCB1bmRlciBFVVBMLCBWZXJzaW9uIDEuMiAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqIGh0dHBzOi8vam9pbnVwLmVjLmV1cm9wYS5ldS9jb2xsZWN0aW9uL2V1cGwvZXVwbC10ZXh0LWV1cGwtMTJcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgYmFzaXMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbGF5b3V0XG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbGF5b3V0LnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9sYXlvdXQubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGltby1sYXlvdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2xheW91dC9zcmMvdmFsdGltby1sYXlvdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|