@n-isi-platform/design-system 1.0.49 → 1.0.51

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.
@@ -15,6 +15,8 @@ export declare class ErrorInterceptor implements HttpInterceptor {
15
15
  private router;
16
16
  constructor();
17
17
  intercept(httpRequest: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
18
+ private getErrorText;
19
+ private isNoActiveLockLookupError;
18
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
19
21
  static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
20
22
  }
@@ -17,6 +17,9 @@ export type LocalPhotoUploadItem = {
17
17
  image?: string;
18
18
  postavkaPregledaId?: number;
19
19
  synced?: boolean;
20
+ deleted?: boolean;
21
+ serverPrilogaId?: number;
22
+ serverPrilogaIds?: number[];
20
23
  };
21
24
  export type UploadItem = File | BackendPriloga | LocalPhotoUploadItem;
22
25
  export declare class FileUploadComponent {
@@ -66,6 +69,7 @@ export declare class FileUploadComponent {
66
69
  getLocalPhotoStatusLabel(item: UploadItem): string;
67
70
  getLocalPhotoStatusShortLabel(item: UploadItem): string;
68
71
  getLocalPhotoStatusSeverity(item: UploadItem): 'success' | 'warn';
72
+ hasDownloadableLocalPhoto(item: UploadItem): boolean;
69
73
  private isLocalPhotoSynced;
70
74
  onClearTemplatingUpload(): void;
71
75
  private calculateFileSize;
@@ -0,0 +1,50 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { LocalStorageService } from '../../services/local-storage.service';
3
+ import { ButtonColor } from '../../models/enums/button/button-color.enum';
4
+ import { ProfilUporabnikaDTO } from '../../models/profilUporabnikaDTO';
5
+ import { AppConfigService } from '../../services/app-config.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NavbarComponent implements OnInit {
8
+ protected readonly localStorageService: LocalStorageService;
9
+ private readonly appConfigService;
10
+ imageWidth: string;
11
+ imageHeight: string;
12
+ logoAltText: string;
13
+ multiLanguageEnabled: boolean;
14
+ userData?: ProfilUporabnikaDTO | null;
15
+ logoutLabel: string;
16
+ isLogoClick: EventEmitter<any>;
17
+ isAccessibilityClicked: EventEmitter<any>;
18
+ isLogoutClicked: EventEmitter<MouseEvent>;
19
+ notificationList: any;
20
+ protected readonly ButtonColor: typeof ButtonColor;
21
+ currentLanguage: string;
22
+ currentNotification: string;
23
+ currentIndex: number;
24
+ animationClass: string;
25
+ notificationChangeInterval: number;
26
+ constructor(localStorageService: LocalStorageService, appConfigService: AppConfigService);
27
+ ngOnInit(): void;
28
+ /**
29
+ * prikaz nujnih obvestil
30
+ */
31
+ showUrgentNotifications(): void;
32
+ displayNotification(): void;
33
+ changeNotification(): void;
34
+ clickLogo(event: MouseEvent): void;
35
+ accessibilityClick(event: MouseEvent): void;
36
+ logoutClick(event: MouseEvent): void;
37
+ get userFullName(): string;
38
+ get userInspekcije(): string;
39
+ /**
40
+ * Mare; 2026-01-13; safe version za checkmarx
41
+ */
42
+ private sanitizeLang;
43
+ /**
44
+ * Mare, 2024-09-13; safe version, da ne faila Checkmarx XSS check
45
+ * Mare; 2026-01-13; safe version za checkmarx
46
+ */
47
+ changeLanguage(event: any, language: string): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "lib-navbar", never, { "imageWidth": { "alias": "imageWidth"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "logoAltText": { "alias": "logoAltText"; "required": false; }; "multiLanguageEnabled": { "alias": "multiLanguageEnabled"; "required": false; }; "userData": { "alias": "userData"; "required": false; }; "logoutLabel": { "alias": "logoutLabel"; "required": false; }; "notificationList": { "alias": "notificationList"; "required": false; }; }, { "isLogoClick": "isLogoClick"; "isAccessibilityClicked": "isAccessibilityClicked"; "isLogoutClicked": "isLogoutClicked"; }, never, never, true, never>;
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n-isi-platform/design-system",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.6",
6
6
  "@angular/core": "19.2.6"
package/public-api.d.ts CHANGED
@@ -38,6 +38,7 @@ export * from './lib/input-mask/input-mask.component';
38
38
  export * from './lib/loader/loader.component';
39
39
  export * from './lib/main-menu/main-menu.component';
40
40
  export * from './lib/modal/modal.component';
41
+ export * from './lib/navbar/navbar.component';
41
42
  export * from './lib/no-data-found/no-data-found.component';
42
43
  export * from './lib/picklist/picklist.component';
43
44
  export * from './lib/progress-bar/progress-bar.component';