@onemrvapublic/design-system 20.5.1-develop.1 → 20.5.1-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.
package/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
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
- import { RouterLink, Router, ActivatedRoute } from '@angular/router';
2
+ import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, PipeTransform, DestroyRef, ViewContainerRef, Type, WritableSignal, OnInit, OnDestroy, EventEmitter, ElementRef, Renderer2, InjectionToken, AfterContentChecked, OnChanges, ComponentFactoryResolver, AfterContentInit, SimpleChanges, DoCheck, ErrorHandler, Provider } from '@angular/core';
5
3
  import * as rxjs from 'rxjs';
6
4
  import { Subject, Observable, Subscription, BehaviorSubject, ReplaySubject } from 'rxjs';
7
5
  import * as i16 from '@angular/cdk/layout';
8
6
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
9
7
  import * as i19 from '@angular/material/sidenav';
10
8
  import { MatDrawer } from '@angular/material/sidenav';
9
+ import * as i15 from '@angular/router';
10
+ import { RouterLink, Router, ActivatedRoute } from '@angular/router';
11
11
  import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
12
12
  import { NavItem as NavItem$1 } from '@onemrvapublic/design-system/mat-navigation';
13
13
  import * as i26 from '@ngx-translate/core';
@@ -119,6 +119,11 @@ declare class LayoutFooterComponent {
119
119
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutFooterComponent, "onemrva-layout-footer", never, {}, {}, never, ["*"], true, never>;
120
120
  }
121
121
 
122
+ interface OnemRvaLanguage {
123
+ code: string;
124
+ label: string;
125
+ }
126
+
122
127
  declare class OnemRvaProfile {
123
128
  private _isLoggedIn;
124
129
  private _firstName;
@@ -145,6 +150,12 @@ declare class LayoutLoginMenuComponent implements AfterViewInit {
145
150
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLoginMenuComponent, "onemrva-layout-login-menu", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
146
151
  }
147
152
 
153
+ declare class StripHtmlPipe implements PipeTransform {
154
+ transform(value: string): any;
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
156
+ static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "striphtml", true>;
157
+ }
158
+
148
159
  declare class DrawerHostDirective implements AfterViewInit {
149
160
  destroyRef: DestroyRef;
150
161
  drawer: MatDrawer;
@@ -172,25 +183,9 @@ declare class OnemrvaDrawerService {
172
183
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaDrawerService>;
173
184
  }
174
185
 
175
- declare class LayoutAfterNavComponent implements AfterViewInit {
176
- private cd;
177
- customNgClass: any;
178
- template?: TemplateRef<any>;
179
- ngAfterViewInit(): void;
180
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAfterNavComponent, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAfterNavComponent, "onemrva-layout-after-nav", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
182
- }
183
-
184
- interface OnemRvaLanguage {
185
- code: string;
186
- label: string;
187
- }
188
-
189
186
  declare class OnemrvaLeftSidenavService {
190
187
  private originalItems;
191
188
  readonly items: WritableSignal<NavItem$1[]>;
192
- private router;
193
- constructor();
194
189
  setOriginal(items: NavItem$1[]): void;
195
190
  updateItems(items: NavItem$1[]): void;
196
191
  reset(): void;
@@ -198,6 +193,15 @@ declare class OnemrvaLeftSidenavService {
198
193
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaLeftSidenavService>;
199
194
  }
200
195
 
196
+ declare class LayoutAfterNavComponent implements AfterViewInit {
197
+ private cd;
198
+ customNgClass: any;
199
+ template?: TemplateRef<any>;
200
+ ngAfterViewInit(): void;
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAfterNavComponent, never>;
202
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAfterNavComponent, "onemrva-layout-after-nav", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
203
+ }
204
+
201
205
  declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
202
206
  routes?: QueryList<LayoutRouteComponent>;
203
207
  title?: LayoutTitleComponent;
@@ -299,13 +303,7 @@ declare class LayoutDrawerTitleComponent {
299
303
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
300
304
  }
301
305
 
302
- declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutLeftSidenavComponent | typeof LayoutComponent)[];
303
-
304
- declare class StripHtmlPipe implements PipeTransform {
305
- transform(value: string): any;
306
- static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
307
- static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "striphtml", true>;
308
- }
306
+ declare const layoutComponents: (typeof LayoutLeftSidenavComponent | typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent)[];
309
307
 
310
308
  declare function CoerceBooleanInput(defaultValue: boolean): (target: any, propertyKey: string | symbol) => void;
311
309
 
package/layout/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
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
- import { RouterLink, Router } from '@angular/router';
2
+ import { AfterViewInit, TemplateRef, QueryList, ChangeDetectorRef, PipeTransform, DestroyRef, ViewContainerRef, Type, WritableSignal, OnInit, OnDestroy, EventEmitter } from '@angular/core';
5
3
  import { Subject } from 'rxjs';
6
4
  import * as i16 from '@angular/cdk/layout';
7
5
  import { BreakpointObserver } from '@angular/cdk/layout';
8
6
  import * as i19 from '@angular/material/sidenav';
9
7
  import { MatDrawer } from '@angular/material/sidenav';
8
+ import * as i15 from '@angular/router';
9
+ import { RouterLink, Router } from '@angular/router';
10
10
  import { OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
11
11
  import { NavItem } from '@onemrvapublic/design-system/mat-navigation';
12
12
  import * as i26 from '@ngx-translate/core';
@@ -91,6 +91,11 @@ declare class LayoutFooterComponent {
91
91
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutFooterComponent, "onemrva-layout-footer", never, {}, {}, never, ["*"], true, never>;
92
92
  }
93
93
 
94
+ interface OnemRvaLanguage {
95
+ code: string;
96
+ label: string;
97
+ }
98
+
94
99
  declare class OnemRvaProfile {
95
100
  private _isLoggedIn;
96
101
  private _firstName;
@@ -117,6 +122,12 @@ declare class LayoutLoginMenuComponent implements AfterViewInit {
117
122
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLoginMenuComponent, "onemrva-layout-login-menu", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
118
123
  }
119
124
 
125
+ declare class StripHtmlPipe implements PipeTransform {
126
+ transform(value: string): any;
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
128
+ static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "striphtml", true>;
129
+ }
130
+
120
131
  declare class DrawerHostDirective implements AfterViewInit {
121
132
  destroyRef: DestroyRef;
122
133
  drawer: MatDrawer;
@@ -144,25 +155,9 @@ declare class OnemrvaDrawerService {
144
155
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaDrawerService>;
145
156
  }
146
157
 
147
- declare class LayoutAfterNavComponent implements AfterViewInit {
148
- private cd;
149
- customNgClass: any;
150
- template?: TemplateRef<any>;
151
- ngAfterViewInit(): void;
152
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAfterNavComponent, never>;
153
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAfterNavComponent, "onemrva-layout-after-nav", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
154
- }
155
-
156
- interface OnemRvaLanguage {
157
- code: string;
158
- label: string;
159
- }
160
-
161
158
  declare class OnemrvaLeftSidenavService {
162
159
  private originalItems;
163
160
  readonly items: WritableSignal<NavItem[]>;
164
- private router;
165
- constructor();
166
161
  setOriginal(items: NavItem[]): void;
167
162
  updateItems(items: NavItem[]): void;
168
163
  reset(): void;
@@ -170,6 +165,15 @@ declare class OnemrvaLeftSidenavService {
170
165
  static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaLeftSidenavService>;
171
166
  }
172
167
 
168
+ declare class LayoutAfterNavComponent implements AfterViewInit {
169
+ private cd;
170
+ customNgClass: any;
171
+ template?: TemplateRef<any>;
172
+ ngAfterViewInit(): void;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAfterNavComponent, never>;
174
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAfterNavComponent, "onemrva-layout-after-nav", never, { "customNgClass": { "alias": "customNgClass"; "required": false; }; }, {}, never, ["*"], true, never>;
175
+ }
176
+
173
177
  declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
174
178
  routes?: QueryList<LayoutRouteComponent>;
175
179
  title?: LayoutTitleComponent;
@@ -271,13 +275,7 @@ declare class LayoutDrawerTitleComponent {
271
275
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
272
276
  }
273
277
 
274
- declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutLeftSidenavComponent | typeof LayoutComponent)[];
275
-
276
- declare class StripHtmlPipe implements PipeTransform {
277
- transform(value: string): any;
278
- static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
279
- static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "striphtml", true>;
280
- }
278
+ declare const layoutComponents: (typeof LayoutLeftSidenavComponent | typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent)[];
281
279
 
282
280
  declare function CoerceBooleanInput(defaultValue: boolean): (target: any, propertyKey: string | symbol) => void;
283
281
 
@@ -27,18 +27,16 @@
27
27
  border-left: 0.5rem solid transparent;
28
28
 
29
29
  &.active {
30
- button {
31
- border-left: 0.5rem solid var(--mat-sys-tertiary);
32
- font-weight: 600;
33
- mat-icon {
34
- font-variation-settings:
35
- 'FILL' 1,
36
- 'wght' 600,
37
- 'GRAD' 0,
38
- 'opsz' 24;
39
- }
40
- background: var(--mat-sys-surface-container-low);
30
+ border-left: 0.5rem solid var(--mat-sys-tertiary);
31
+ font-weight: 600;
32
+ mat-icon {
33
+ font-variation-settings:
34
+ 'FILL' 1,
35
+ 'wght' 600,
36
+ 'GRAD' 0,
37
+ 'opsz' 24;
41
38
  }
39
+ background: var(--mat-sys-surface-container-low);
42
40
  }
43
41
  &:hover,
44
42
  &:focus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "20.5.1-develop.1",
3
+ "version": "20.5.1-develop.3",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,6 +40,10 @@
40
40
  "./package.json": {
41
41
  "default": "./package.json"
42
42
  },
43
+ "./flag-icon": {
44
+ "types": "./flag-icon/index.d.ts",
45
+ "default": "./fesm2022/onemrvapublic-design-system-flag-icon.mjs"
46
+ },
43
47
  "./layout": {
44
48
  "types": "./layout/index.d.ts",
45
49
  "default": "./fesm2022/onemrvapublic-design-system-layout.mjs"
@@ -48,18 +52,14 @@
48
52
  "types": "./mat-address/index.d.ts",
49
53
  "default": "./fesm2022/onemrvapublic-design-system-mat-address.mjs"
50
54
  },
51
- "./flag-icon": {
52
- "types": "./flag-icon/index.d.ts",
53
- "default": "./fesm2022/onemrvapublic-design-system-flag-icon.mjs"
55
+ "./mat-avatar": {
56
+ "types": "./mat-avatar/index.d.ts",
57
+ "default": "./fesm2022/onemrvapublic-design-system-mat-avatar.mjs"
54
58
  },
55
59
  "./mat-breadcrumb": {
56
60
  "types": "./mat-breadcrumb/index.d.ts",
57
61
  "default": "./fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs"
58
62
  },
59
- "./mat-avatar": {
60
- "types": "./mat-avatar/index.d.ts",
61
- "default": "./fesm2022/onemrvapublic-design-system-mat-avatar.mjs"
62
- },
63
63
  "./mat-carousel": {
64
64
  "types": "./mat-carousel/index.d.ts",
65
65
  "default": "./fesm2022/onemrvapublic-design-system-mat-carousel.mjs"
@@ -120,14 +120,14 @@
120
120
  "types": "./mat-multi-select/index.d.ts",
121
121
  "default": "./fesm2022/onemrvapublic-design-system-mat-multi-select.mjs"
122
122
  },
123
- "./mat-navigation": {
124
- "types": "./mat-navigation/index.d.ts",
125
- "default": "./fesm2022/onemrvapublic-design-system-mat-navigation.mjs"
126
- },
127
123
  "./mat-notification": {
128
124
  "types": "./mat-notification/index.d.ts",
129
125
  "default": "./fesm2022/onemrvapublic-design-system-mat-notification.mjs"
130
126
  },
127
+ "./mat-navigation": {
128
+ "types": "./mat-navigation/index.d.ts",
129
+ "default": "./fesm2022/onemrvapublic-design-system-mat-navigation.mjs"
130
+ },
131
131
  "./mat-paginator": {
132
132
  "types": "./mat-paginator/index.d.ts",
133
133
  "default": "./fesm2022/onemrvapublic-design-system-mat-paginator.mjs"