@onemrvapublic/design-system 20.1.0-develop.2 → 20.1.0-develop.3

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 (64) hide show
  1. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +3 -3
  2. package/fesm2022/onemrvapublic-design-system-layout.mjs +166 -110
  3. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  4. package/fesm2022/onemrvapublic-design-system-mat-address.mjs +3 -3
  5. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -7
  6. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +10 -10
  7. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +6 -6
  8. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +3 -3
  9. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +3 -3
  10. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +3 -3
  11. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +3 -3
  12. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
  13. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +19 -19
  14. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +6 -6
  15. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +3 -3
  16. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +3 -3
  17. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +3 -3
  18. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +3 -3
  19. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +6 -6
  20. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +7 -7
  21. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +7 -7
  22. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +169 -0
  23. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -0
  24. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
  25. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +7 -7
  26. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +19 -19
  27. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +13 -13
  28. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
  29. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +13 -13
  30. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +10 -10
  31. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  32. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +7 -7
  33. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +7 -7
  34. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +10 -10
  35. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +7 -7
  36. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
  37. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  38. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
  39. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +16 -16
  40. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +22 -22
  41. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  42. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +8 -8
  43. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  44. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +10 -10
  45. package/fesm2022/onemrvapublic-design-system-page-error.mjs +6 -6
  46. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +16 -16
  47. package/fesm2022/onemrvapublic-design-system-shared.mjs +72 -70
  48. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  49. package/fesm2022/onemrvapublic-design-system.mjs +724 -516
  50. package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
  51. package/index.d.ts +121 -62
  52. package/layout/index.d.ts +55 -43
  53. package/layout/src/components/layout/layout.component.scss +4 -2
  54. package/layout/src/components/layout-drawer-title/layout-drawer-title.component.scss +1 -0
  55. package/layout/src/components/layout-left-sidenav/layout-left-sidenav.component.scss +4 -0
  56. package/layout/src/components/layout-sidenav/layout-sidenav.component.scss +21 -0
  57. package/mat-navigation/index.d.ts +54 -0
  58. package/mat-navigation/src/mat-navigation-item/onemrva-mat-navigation-item.component.scss +70 -0
  59. package/mat-navigation/src/mat-navigation-tree/onemrva-mat-navigation-tree.component.scss +0 -0
  60. package/mat-navigation/src/onemrva-mat-navigation.component.scss +34 -0
  61. package/mat-selectable-box/src/onemrva-mat-selectable-box.component.scss +63 -69
  62. package/mat-sticker/src/onemrva-mat-sticker.component.scss +7 -1
  63. package/package.json +5 -1
  64. package/shared/index.d.ts +1 -1
package/index.d.ts CHANGED
@@ -1,32 +1,33 @@
1
1
  import * as i0 from '@angular/core';
2
- import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, DestroyRef, ViewContainerRef, Type, OnInit, OnDestroy, EventEmitter, PipeTransform, ElementRef, Renderer2, InjectionToken, AfterContentChecked, OnChanges, ComponentFactoryResolver, AfterContentInit, SimpleChanges, DoCheck, ErrorHandler, Provider } from '@angular/core';
3
- import * as i14 from '@angular/router';
2
+ import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, DestroyRef, ViewContainerRef, Type, WritableSignal, OnInit, OnDestroy, EventEmitter, PipeTransform, ElementRef, Renderer2, InjectionToken, AfterContentChecked, OnChanges, ComponentFactoryResolver, AfterContentInit, SimpleChanges, DoCheck, ErrorHandler, Provider } from '@angular/core';
3
+ import * as i15 from '@angular/router';
4
4
  import { RouterLink, Router, ActivatedRoute } from '@angular/router';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { Subject, Observable, Subscription, BehaviorSubject, ReplaySubject } from 'rxjs';
7
- import * as i15 from '@angular/cdk/layout';
7
+ import * as i16 from '@angular/cdk/layout';
8
8
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
9
- import * as i18 from '@angular/material/sidenav';
9
+ import * as i19 from '@angular/material/sidenav';
10
10
  import { MatDrawer } from '@angular/material/sidenav';
11
- import * as i25 from '@ngx-translate/core';
11
+ import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
12
+ import { NavItem as NavItem$1 } from '@onemrvapublic/design-system/mat-navigation';
13
+ import * as i26 from '@ngx-translate/core';
12
14
  import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams, TranslateLoader } from '@ngx-translate/core';
13
- import * as i13 from '@angular/common';
15
+ import * as i14 from '@angular/common';
14
16
  import { Location } from '@angular/common';
15
- import * as i16 from '@angular/material/toolbar';
16
- import * as i17 from '@angular/material/divider';
17
- import * as i19 from '@angular/material/tabs';
18
- import * as i20 from '@angular/material/button';
19
- import * as i21 from '@angular/material/menu';
20
- import * as i22 from '@angular/material/icon';
21
- import * as i23 from '@onemrvapublic/design-system/mat-avatar';
22
- import * as i24 from '@angular/material/tooltip';
17
+ import * as i17 from '@angular/material/toolbar';
18
+ import * as i18 from '@angular/material/divider';
19
+ import * as i20 from '@angular/material/tabs';
20
+ import * as i21 from '@angular/material/button';
21
+ import * as i22 from '@angular/material/menu';
22
+ import * as i23 from '@angular/material/icon';
23
+ import * as i24 from '@onemrvapublic/design-system/mat-avatar';
24
+ import * as i25 from '@angular/material/tooltip';
23
25
  import { MatTooltip, TooltipPosition } from '@angular/material/tooltip';
24
- import * as i26 from '@angular/material/core';
26
+ import * as i27 from '@angular/material/core';
25
27
  import { MatOption, ThemePalette, ErrorStateMatcher, MatDateFormats, NativeDateAdapter, DateAdapter } from '@angular/material/core';
26
28
  import { AnimationBuilder, AnimationFactory } from '@angular/animations';
27
29
  import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
28
30
  import { MatCalendar } from '@angular/material/datepicker';
29
- import { OnemrvaMatColor, OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
30
31
  import * as i8 from '@angular/material/dialog';
31
32
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
32
33
  import { OnemRvaCDNMimeService as OnemRvaCDNMimeService$1, OSMResult as OSMResult$1, OnemRvaCommonCountry as OnemRvaCommonCountry$1, OnemrvaMaterialCountry as OnemrvaMaterialCountry$1 } from '@onemrvapublic/design-system/shared';
@@ -37,6 +38,7 @@ import { ComponentStore } from '@ngrx/component-store';
37
38
  import { HttpEvent, HttpClient } from '@angular/common/http';
38
39
  import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
39
40
  import { BooleanInput } from '@angular/cdk/coercion';
41
+ import { MatExpansionPanel } from '@angular/material/expansion';
40
42
  import { PageEvent } from '@angular/material/paginator';
41
43
  import { MatSelect } from '@angular/material/select';
42
44
  import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
@@ -56,25 +58,26 @@ declare class LayoutSubrouteComponent implements AfterViewInit {
56
58
  routerLink: typeof RouterLink.prototype.routerLink | string;
57
59
  routerLinkActiveOptions?: any;
58
60
  dataCy?: string;
61
+ label?: string;
62
+ icon?: string;
59
63
  subroutes?: QueryList<LayoutSubrouteComponent>;
60
64
  ngAfterViewInit(): void;
61
65
  hasSubroutes(): boolean;
62
66
  hasActiveSubroute(): boolean;
63
67
  private isActiveRoute;
64
68
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSubrouteComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSubrouteComponent, "onemrva-layout-subroute", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; }, {}, ["subroutes"], ["*"], true, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSubrouteComponent, "onemrva-layout-subroute", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subroutes"], never, true, never>;
66
70
  }
67
71
 
68
72
  declare class LayoutRouteComponent implements AfterViewInit {
69
73
  customNgClass: any;
70
74
  template: TemplateRef<any> | null;
71
- mobileTemplate: TemplateRef<any> | null;
72
- contentTemplate: TemplateRef<any> | null;
73
- routerLink: typeof RouterLink.prototype.routerLink;
75
+ routerLink?: string;
74
76
  routerLinkActiveOptions?: any;
75
77
  dataCy?: string;
76
78
  baseRouteForActiveMenu?: string;
77
79
  label?: string;
80
+ icon?: string;
78
81
  subroutes?: QueryList<LayoutSubrouteComponent>;
79
82
  hasSubroutes(): boolean;
80
83
  cd: ChangeDetectorRef;
@@ -82,7 +85,7 @@ declare class LayoutRouteComponent implements AfterViewInit {
82
85
  ngAfterViewInit(): void;
83
86
  isRouteActive(): boolean;
84
87
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutRouteComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutRouteComponent, "onemrva-layout-route", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "baseRouteForActiveMenu": { "alias": "baseRouteForActiveMenu"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["subroutes"], ["*"], true, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutRouteComponent, "onemrva-layout-route", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "baseRouteForActiveMenu": { "alias": "baseRouteForActiveMenu"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subroutes"], never, true, never>;
86
89
  }
87
90
 
88
91
  declare class LayoutContentComponent implements AfterViewInit {
@@ -156,11 +159,15 @@ declare class DrawerHostDirective implements AfterViewInit {
156
159
 
157
160
  declare class OnemrvaDrawerService {
158
161
  host?: DrawerHostDirective;
159
- drawer?: MatDrawer;
160
- hasBackdrop: boolean;
161
- toggle(): void;
162
- open(): void;
162
+ private drawer?;
163
+ hasBackdrop: WritableSignal<boolean>;
164
+ size: WritableSignal<OnemrvaMatSize>;
165
+ isSide: boolean;
166
+ toggle(isSide?: boolean): void;
167
+ open(isSide?: boolean): void;
163
168
  close(): void;
169
+ classes(): string[];
170
+ setDrawer(drawer: MatDrawer): void;
164
171
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaDrawerService, never>;
165
172
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaDrawerService>;
166
173
  }
@@ -201,11 +208,9 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
201
208
  drawerHost: DrawerHostDirective;
202
209
  id: string;
203
210
  role: string;
204
- drawerClass: string;
205
211
  showThemeSwitcher: boolean;
206
212
  activeTheme: i0.WritableSignal<"light" | "dark" | "system">;
207
213
  toggleTheme(newTheme: 'light' | 'dark' | 'system'): void;
208
- effectiveDrawerClass: string;
209
214
  private readonly translateService;
210
215
  private readonly cdn;
211
216
  private readonly cd;
@@ -222,31 +227,38 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
222
227
  changeLanguage(langCode: string): void;
223
228
  toggleSideNav(): void;
224
229
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
225
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "drawerClass": { "alias": "drawerClass"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
230
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
231
+ }
232
+
233
+ declare class LayoutLeftSidenavComponent {
234
+ items: NavItem$1[];
235
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutLeftSidenavComponent, never>;
236
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLeftSidenavComponent, "onemrva-layout-left-sidenav", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
237
+ }
238
+
239
+ declare class LayoutSidenavTitleComponent {
240
+ template?: TemplateRef<any>;
241
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
242
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
226
243
  }
227
244
 
228
245
  declare class LayoutSidenavComponent implements OnInit {
229
246
  isSmall: boolean;
230
- languages: OnemRvaLanguage[];
231
247
  routes?: QueryList<LayoutRouteComponent>;
232
- selectedLanguageIndex$: Observable<number>;
248
+ languages: OnemRvaLanguage[];
249
+ items: NavItem$1[];
250
+ currentLanguage?: OnemRvaLanguage;
233
251
  helpMenuOpen: string[][];
234
252
  translateService: TranslateService;
235
253
  document: Document;
236
254
  drawerService: OnemrvaDrawerService;
237
- constructor();
238
255
  ngOnInit(): void;
239
- changeLanguage(index: number): void;
256
+ changeLanguage(event: any): void;
240
257
  close(): void;
241
- openSubmenu(index: number, subIdx?: number): void;
258
+ private populateItemsRecursively;
259
+ private getRouteLabel;
242
260
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavComponent, never>;
243
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; }, {}, never, never, true, never>;
244
- }
245
-
246
- declare class LayoutSidenavTitleComponent {
247
- template?: TemplateRef<any>;
248
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
249
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
261
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; }, {}, never, never, true, never>;
250
262
  }
251
263
 
252
264
  declare class LayoutDrawerActionsComponent {
@@ -268,7 +280,7 @@ declare class LayoutDrawerTitleComponent {
268
280
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
269
281
  }
270
282
 
271
- declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent)[];
283
+ declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
272
284
 
273
285
  declare class StripHtmlPipe implements PipeTransform {
274
286
  transform(value: string): any;
@@ -282,10 +294,25 @@ declare function ObservableContent(): (target: any, propertyKey: string) => void
282
294
 
283
295
  declare class OnemrvaLayoutModule {
284
296
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaLayoutModule, never>;
285
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i13.CommonModule, typeof i14.RouterModule, typeof i15.LayoutModule, typeof i16.MatToolbarModule, typeof i17.MatDividerModule, typeof i18.MatSidenavModule, typeof i19.MatTabsModule, typeof i20.MatButtonModule, typeof i21.MatMenuModule, typeof i22.MatIconModule, typeof i23.OnemrvaMatAvatarModule, typeof i24.MatTooltipModule, typeof i25.TranslateModule, typeof i26.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof i15.LayoutModule]>;
297
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.LayoutModule, typeof i17.MatToolbarModule, typeof i18.MatDividerModule, typeof i19.MatSidenavModule, typeof i20.MatTabsModule, typeof i21.MatButtonModule, typeof i22.MatMenuModule, typeof i23.MatIconModule, typeof i24.OnemrvaMatAvatarModule, typeof i25.MatTooltipModule, typeof i26.TranslateModule, typeof i27.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof i16.LayoutModule]>;
286
298
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaLayoutModule>;
287
299
  }
288
300
 
301
+ declare class FlagIconComponent {
302
+ countryCode?: string | null | undefined;
303
+ mode: 'square' | 'rectangle';
304
+ width: number;
305
+ height: number;
306
+ private readonly cdnUrl;
307
+ private cdn;
308
+ constructor();
309
+ get normalizedCountryCode(): string;
310
+ get modeValue(): "4x3" | "1x1";
311
+ get url(): string;
312
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlagIconComponent, never>;
313
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlagIconComponent, "flag-icon", never, { "countryCode": { "alias": "countryCode"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
314
+ }
315
+
289
316
  declare const MatAvatarType: {
290
317
  INITIALS: "initials";
291
318
  IMAGE: "image";
@@ -482,7 +509,7 @@ declare class OnemrvaMatBreadcrumbComponent implements OnInit {
482
509
 
483
510
  declare class OnemrvaMatBreadcrumbModule {
484
511
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatBreadcrumbModule, never>;
485
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatBreadcrumbModule, never, [typeof i13.CommonModule, typeof i22.MatIconModule, typeof i14.RouterModule, typeof OnemrvaMatBreadcrumbComponent], never>;
512
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatBreadcrumbModule, never, [typeof i14.CommonModule, typeof i23.MatIconModule, typeof i15.RouterModule, typeof OnemrvaMatBreadcrumbComponent], never>;
486
513
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaMatBreadcrumbModule>;
487
514
  }
488
515
 
@@ -761,7 +788,7 @@ declare class DndDirective {
761
788
 
762
789
  declare class OnemrvaMatFileUploadModule {
763
790
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatFileUploadModule, never>;
764
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatFileUploadModule, never, [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective, typeof i13.CommonModule, typeof i5.ReactiveFormsModule, typeof i20.MatButtonModule, typeof i24.MatTooltipModule, typeof i8.MatDialogModule, typeof i25.TranslateModule, typeof i22.MatIconModule, typeof i11.MatInputModule], [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective]>;
791
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatFileUploadModule, never, [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective, typeof i14.CommonModule, typeof i5.ReactiveFormsModule, typeof i21.MatButtonModule, typeof i25.MatTooltipModule, typeof i8.MatDialogModule, typeof i26.TranslateModule, typeof i23.MatIconModule, typeof i11.MatInputModule], [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective]>;
765
792
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaMatFileUploadModule>;
766
793
  }
767
794
 
@@ -911,21 +938,6 @@ declare class OnemrvaMatFileUploadService implements OnemrvaMatFileUploadInterfa
911
938
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaMatFileUploadService>;
912
939
  }
913
940
 
914
- declare class FlagIconComponent {
915
- countryCode?: string | null | undefined;
916
- mode: 'square' | 'rectangle';
917
- width: number;
918
- height: number;
919
- private readonly cdnUrl;
920
- private cdn;
921
- constructor();
922
- get normalizedCountryCode(): string;
923
- get modeValue(): "4x3" | "1x1";
924
- get url(): string;
925
- static ɵfac: i0.ɵɵFactoryDeclaration<FlagIconComponent, never>;
926
- static ɵcmp: i0.ɵɵComponentDeclaration<FlagIconComponent, "flag-icon", never, { "countryCode": { "alias": "countryCode"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
927
- }
928
-
929
941
  declare class OnemrvaMatInputAddressComponent implements OnInit {
930
942
  placeholder: string;
931
943
  readonly: boolean;
@@ -1342,6 +1354,53 @@ declare class OnemrvaMatNotificationComponent implements OnDestroy {
1342
1354
  static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatNotificationComponent, "onemrva-mat-notification", never, { "message": { "alias": "message"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "id": { "alias": "id"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; }, { "notificationClose": "notificationClose"; }, never, ["*"], true, never>;
1343
1355
  }
1344
1356
 
1357
+ interface NavItem {
1358
+ label: string;
1359
+ icon?: string;
1360
+ dataCy?: string;
1361
+ routerLink?: string;
1362
+ children?: NavItem[];
1363
+ highlighted?: boolean;
1364
+ opened?: boolean;
1365
+ }
1366
+
1367
+ declare class OnemrvaMatNavigationComponent {
1368
+ items: i0.InputSignal<NavItem[]>;
1369
+ level: i0.InputSignal<number>;
1370
+ translate: i0.InputSignal<boolean>;
1371
+ router: Router;
1372
+ constructor();
1373
+ private updateNavigationState;
1374
+ private resetNavigationStates;
1375
+ private findActiveItemPath;
1376
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatNavigationComponent, never>;
1377
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatNavigationComponent, "onemrva-mat-navigation", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "translate": { "alias": "translate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1378
+ }
1379
+
1380
+ declare class OnemrvaMatNavigationItemComponent implements AfterViewInit {
1381
+ routerLink: string | undefined;
1382
+ routerLinkActiveOptions?: any;
1383
+ dataCy?: string;
1384
+ baseRouteForActiveMenu?: string;
1385
+ label: string;
1386
+ icon?: string;
1387
+ level: number;
1388
+ highlighted: boolean | undefined;
1389
+ opened: boolean | undefined;
1390
+ children: NavItem[] | undefined;
1391
+ customNgClass: any;
1392
+ translate: boolean;
1393
+ matExpansionPanel?: MatExpansionPanel;
1394
+ isExpanded: boolean;
1395
+ get isHighlighted(): boolean | undefined;
1396
+ get isHighlighted2(): boolean;
1397
+ get indentArray(): number[];
1398
+ cd: ChangeDetectorRef;
1399
+ ngAfterViewInit(): void;
1400
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatNavigationItemComponent, never>;
1401
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatNavigationItemComponent, "onemrva-mat-navigation-item", never, { "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "baseRouteForActiveMenu": { "alias": "baseRouteForActiveMenu"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "level": { "alias": "level"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "children": { "alias": "children"; "required": false; }; "customNgClass": { "alias": "customNgClass"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; }, {}, never, ["*"], true, never>;
1402
+ }
1403
+
1345
1404
  declare class OnemrvaMatPaginatorComponent implements OnInit, OnDestroy {
1346
1405
  type: 'default' | 'complex';
1347
1406
  pageSizeSelector: boolean;
@@ -2597,7 +2656,7 @@ declare class OnemRvaColorDirective {
2597
2656
  /** @hidden @internal */
2598
2657
  get _isNeutral(): boolean;
2599
2658
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaColorDirective, never>;
2600
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
2659
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],mat-form-field[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
2601
2660
  }
2602
2661
 
2603
2662
  declare class MatRowClickableDirective extends OnemRvaColorDirective {
@@ -3012,5 +3071,5 @@ declare function onemrvaThemeProvider(): Provider[];
3012
3071
  declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
3013
3072
  declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
3014
3073
 
3015
- export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
3016
- export type { ActionConfig, ConfigurableDefaultOptions, CustomValidationFn, FileUploadStoreEvent, HttpCacheOptions, HttpCacheStorage, MatSelectSearchOptions, MimeDefinition, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemRvaLanguage, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, OnemrvaMatToc, OnemrvaMatTocAnchor, OnemrvaMaterialCountry, OnemrvaMenu, OnemrvaSkeletonLoaderConfigTheme, ProgressFile, ReferencedProgressFile, UploadState };
3074
+ export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNavigationComponent, OnemrvaMatNavigationItemComponent, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
3075
+ export type { ActionConfig, ConfigurableDefaultOptions, CustomValidationFn, FileUploadStoreEvent, HttpCacheOptions, HttpCacheStorage, MatSelectSearchOptions, MimeDefinition, NavItem, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemRvaLanguage, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, OnemrvaMatToc, OnemrvaMatTocAnchor, OnemrvaMaterialCountry, OnemrvaMenu, OnemrvaSkeletonLoaderConfigTheme, ProgressFile, ReferencedProgressFile, UploadState };
package/layout/index.d.ts CHANGED
@@ -1,24 +1,26 @@
1
1
  import * as i0 from '@angular/core';
2
- import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, DestroyRef, ViewContainerRef, Type, OnInit, OnDestroy, EventEmitter, PipeTransform } from '@angular/core';
3
- import * as i14 from '@angular/router';
2
+ import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, DestroyRef, ViewContainerRef, Type, WritableSignal, OnInit, OnDestroy, EventEmitter, PipeTransform } from '@angular/core';
3
+ import * as i15 from '@angular/router';
4
4
  import { RouterLink, Router } from '@angular/router';
5
- import { Subject, Observable } from 'rxjs';
6
- import * as i15 from '@angular/cdk/layout';
5
+ import { Subject } from 'rxjs';
6
+ import * as i16 from '@angular/cdk/layout';
7
7
  import { BreakpointObserver } from '@angular/cdk/layout';
8
- import * as i18 from '@angular/material/sidenav';
8
+ import * as i19 from '@angular/material/sidenav';
9
9
  import { MatDrawer } from '@angular/material/sidenav';
10
- import * as i25 from '@ngx-translate/core';
10
+ import { OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
11
+ import { NavItem } from '@onemrvapublic/design-system/mat-navigation';
12
+ import * as i26 from '@ngx-translate/core';
11
13
  import { TranslateService } from '@ngx-translate/core';
12
- import * as i13 from '@angular/common';
13
- import * as i16 from '@angular/material/toolbar';
14
- import * as i17 from '@angular/material/divider';
15
- import * as i19 from '@angular/material/tabs';
16
- import * as i20 from '@angular/material/button';
17
- import * as i21 from '@angular/material/menu';
18
- import * as i22 from '@angular/material/icon';
19
- import * as i23 from '@onemrvapublic/design-system/mat-avatar';
20
- import * as i24 from '@angular/material/tooltip';
21
- import * as i26 from '@angular/material/core';
14
+ import * as i14 from '@angular/common';
15
+ import * as i17 from '@angular/material/toolbar';
16
+ import * as i18 from '@angular/material/divider';
17
+ import * as i20 from '@angular/material/tabs';
18
+ import * as i21 from '@angular/material/button';
19
+ import * as i22 from '@angular/material/menu';
20
+ import * as i23 from '@angular/material/icon';
21
+ import * as i24 from '@onemrvapublic/design-system/mat-avatar';
22
+ import * as i25 from '@angular/material/tooltip';
23
+ import * as i27 from '@angular/material/core';
22
24
 
23
25
  declare class LayoutSubrouteComponent implements AfterViewInit {
24
26
  private cd;
@@ -28,25 +30,26 @@ declare class LayoutSubrouteComponent implements AfterViewInit {
28
30
  routerLink: typeof RouterLink.prototype.routerLink | string;
29
31
  routerLinkActiveOptions?: any;
30
32
  dataCy?: string;
33
+ label?: string;
34
+ icon?: string;
31
35
  subroutes?: QueryList<LayoutSubrouteComponent>;
32
36
  ngAfterViewInit(): void;
33
37
  hasSubroutes(): boolean;
34
38
  hasActiveSubroute(): boolean;
35
39
  private isActiveRoute;
36
40
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSubrouteComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSubrouteComponent, "onemrva-layout-subroute", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; }, {}, ["subroutes"], ["*"], true, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSubrouteComponent, "onemrva-layout-subroute", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subroutes"], never, true, never>;
38
42
  }
39
43
 
40
44
  declare class LayoutRouteComponent implements AfterViewInit {
41
45
  customNgClass: any;
42
46
  template: TemplateRef<any> | null;
43
- mobileTemplate: TemplateRef<any> | null;
44
- contentTemplate: TemplateRef<any> | null;
45
- routerLink: typeof RouterLink.prototype.routerLink;
47
+ routerLink?: string;
46
48
  routerLinkActiveOptions?: any;
47
49
  dataCy?: string;
48
50
  baseRouteForActiveMenu?: string;
49
51
  label?: string;
52
+ icon?: string;
50
53
  subroutes?: QueryList<LayoutSubrouteComponent>;
51
54
  hasSubroutes(): boolean;
52
55
  cd: ChangeDetectorRef;
@@ -54,7 +57,7 @@ declare class LayoutRouteComponent implements AfterViewInit {
54
57
  ngAfterViewInit(): void;
55
58
  isRouteActive(): boolean;
56
59
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutRouteComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutRouteComponent, "onemrva-layout-route", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "baseRouteForActiveMenu": { "alias": "baseRouteForActiveMenu"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["subroutes"], ["*"], true, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutRouteComponent, "onemrva-layout-route", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "baseRouteForActiveMenu": { "alias": "baseRouteForActiveMenu"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subroutes"], never, true, never>;
58
61
  }
59
62
 
60
63
  declare class LayoutContentComponent implements AfterViewInit {
@@ -128,11 +131,15 @@ declare class DrawerHostDirective implements AfterViewInit {
128
131
 
129
132
  declare class OnemrvaDrawerService {
130
133
  host?: DrawerHostDirective;
131
- drawer?: MatDrawer;
132
- hasBackdrop: boolean;
133
- toggle(): void;
134
- open(): void;
134
+ private drawer?;
135
+ hasBackdrop: WritableSignal<boolean>;
136
+ size: WritableSignal<OnemrvaMatSize>;
137
+ isSide: boolean;
138
+ toggle(isSide?: boolean): void;
139
+ open(isSide?: boolean): void;
135
140
  close(): void;
141
+ classes(): string[];
142
+ setDrawer(drawer: MatDrawer): void;
136
143
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaDrawerService, never>;
137
144
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaDrawerService>;
138
145
  }
@@ -173,11 +180,9 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
173
180
  drawerHost: DrawerHostDirective;
174
181
  id: string;
175
182
  role: string;
176
- drawerClass: string;
177
183
  showThemeSwitcher: boolean;
178
184
  activeTheme: i0.WritableSignal<"light" | "dark" | "system">;
179
185
  toggleTheme(newTheme: 'light' | 'dark' | 'system'): void;
180
- effectiveDrawerClass: string;
181
186
  private readonly translateService;
182
187
  private readonly cdn;
183
188
  private readonly cd;
@@ -194,31 +199,38 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
194
199
  changeLanguage(langCode: string): void;
195
200
  toggleSideNav(): void;
196
201
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
197
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "drawerClass": { "alias": "drawerClass"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
202
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
203
+ }
204
+
205
+ declare class LayoutLeftSidenavComponent {
206
+ items: NavItem[];
207
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutLeftSidenavComponent, never>;
208
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLeftSidenavComponent, "onemrva-layout-left-sidenav", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
209
+ }
210
+
211
+ declare class LayoutSidenavTitleComponent {
212
+ template?: TemplateRef<any>;
213
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
214
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
198
215
  }
199
216
 
200
217
  declare class LayoutSidenavComponent implements OnInit {
201
218
  isSmall: boolean;
202
- languages: OnemRvaLanguage[];
203
219
  routes?: QueryList<LayoutRouteComponent>;
204
- selectedLanguageIndex$: Observable<number>;
220
+ languages: OnemRvaLanguage[];
221
+ items: NavItem[];
222
+ currentLanguage?: OnemRvaLanguage;
205
223
  helpMenuOpen: string[][];
206
224
  translateService: TranslateService;
207
225
  document: Document;
208
226
  drawerService: OnemrvaDrawerService;
209
- constructor();
210
227
  ngOnInit(): void;
211
- changeLanguage(index: number): void;
228
+ changeLanguage(event: any): void;
212
229
  close(): void;
213
- openSubmenu(index: number, subIdx?: number): void;
230
+ private populateItemsRecursively;
231
+ private getRouteLabel;
214
232
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavComponent, never>;
215
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; }, {}, never, never, true, never>;
216
- }
217
-
218
- declare class LayoutSidenavTitleComponent {
219
- template?: TemplateRef<any>;
220
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
221
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
233
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; }, {}, never, never, true, never>;
222
234
  }
223
235
 
224
236
  declare class LayoutDrawerActionsComponent {
@@ -240,7 +252,7 @@ declare class LayoutDrawerTitleComponent {
240
252
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
241
253
  }
242
254
 
243
- declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent)[];
255
+ declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
244
256
 
245
257
  declare class StripHtmlPipe implements PipeTransform {
246
258
  transform(value: string): any;
@@ -254,9 +266,9 @@ declare function ObservableContent(): (target: any, propertyKey: string) => void
254
266
 
255
267
  declare class OnemrvaLayoutModule {
256
268
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaLayoutModule, never>;
257
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i13.CommonModule, typeof i14.RouterModule, typeof i15.LayoutModule, typeof i16.MatToolbarModule, typeof i17.MatDividerModule, typeof i18.MatSidenavModule, typeof i19.MatTabsModule, typeof i20.MatButtonModule, typeof i21.MatMenuModule, typeof i22.MatIconModule, typeof i23.OnemrvaMatAvatarModule, typeof i24.MatTooltipModule, typeof i25.TranslateModule, typeof i26.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof i15.LayoutModule]>;
269
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.LayoutModule, typeof i17.MatToolbarModule, typeof i18.MatDividerModule, typeof i19.MatSidenavModule, typeof i20.MatTabsModule, typeof i21.MatButtonModule, typeof i22.MatMenuModule, typeof i23.MatIconModule, typeof i24.OnemrvaMatAvatarModule, typeof i25.MatTooltipModule, typeof i26.TranslateModule, typeof i27.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof i16.LayoutModule]>;
258
270
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaLayoutModule>;
259
271
  }
260
272
 
261
- export { CoerceBooleanInput, DrawerHostDirective, Environment, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, ObservableContent, OnemRvaProfile, OnemrvaDrawerService, OnemrvaLayoutModule, StripHtmlPipe, layoutComponents };
273
+ export { CoerceBooleanInput, DrawerHostDirective, Environment, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, ObservableContent, OnemRvaProfile, OnemrvaDrawerService, OnemrvaLayoutModule, StripHtmlPipe, layoutComponents };
262
274
  export type { OnemRvaLanguage };
@@ -89,8 +89,10 @@
89
89
  }
90
90
  }
91
91
  mat-drawer {
92
- padding: var(--double-spacer);
93
- background: var(--mat-sys-surface-container-high);
92
+ &:not(.side-menu) {
93
+ padding: var(--double-spacer);
94
+ background: var(--mat-sys-surface-container-high);
95
+ }
94
96
  &.xsmall {
95
97
  width: 20%;
96
98
  }
@@ -2,6 +2,7 @@
2
2
  width: calc(100% - var(--double-spacer));
3
3
  display: block;
4
4
  padding: var(--spacer);
5
+ margin: var(--spacer);
5
6
 
6
7
  span:first-child {
7
8
  font: var(--mat-sys-title-large);
@@ -0,0 +1,4 @@
1
+ :host {
2
+ width: 240px;
3
+ margin-right: 40px;
4
+ }
@@ -1,5 +1,10 @@
1
1
  :host {
2
2
  min-width: 250px;
3
+ .close-button {
4
+ display: flex;
5
+ justify-content: flex-end;
6
+ padding: var(--spacer);
7
+ }
3
8
  .mobile-menu-item {
4
9
  display: flex;
5
10
  width: 100%;
@@ -19,4 +24,20 @@
19
24
  margin-left: 4px;
20
25
  }
21
26
  }
27
+ .sidebar {
28
+ overflow: scroll;
29
+ display: flex;
30
+ flex-direction: column;
31
+ justify-content: space-between;
32
+ height: 100vh;
33
+ .navigation {
34
+ }
35
+ .language-selector {
36
+ mat-form-field {
37
+ width: 100%;
38
+ }
39
+ margin: var(--double-spacer);
40
+ bottom: 0;
41
+ }
42
+ }
22
43
  }