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

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