@n-isi-platform/design-system 1.0.20 → 1.0.22

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.
@@ -14,7 +14,6 @@ export declare class FileUploadComponent {
14
14
  protected readonly ButtonColor: typeof ButtonColor;
15
15
  uploadedFiles: {
16
16
  id: number;
17
- objectURL: string;
18
17
  name: string;
19
18
  }[];
20
19
  maxFileSize: number;
@@ -27,7 +26,6 @@ export declare class FileUploadComponent {
27
26
  onDownload: EventEmitter<{
28
27
  id: number;
29
28
  name: string;
30
- objectURL: string;
31
29
  }>;
32
30
  valid: EventEmitter<boolean>;
33
31
  fileList: File[];
@@ -42,7 +40,7 @@ export declare class FileUploadComponent {
42
40
  choose(event: any, callback: any): void;
43
41
  remove(event: any): void;
44
42
  onRemoveTemplatingFile(event: any, priloga: any, removeFileCallback: any, index: any): void;
45
- downloadFile(id: number, name: string, objectURL: string): void;
43
+ downloadFile(id: number, name: string): void;
46
44
  onClearTemplatingUpload(): void;
47
45
  private calculateFileSize;
48
46
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
@@ -1,4 +1,8 @@
1
1
  import { InputType } from '../../enums/input/input-type.enum';
2
+ /**
3
+ * @DEPRECATED: tale ni v uporabi, nadomesti ga spodnji
4
+ * @SEE: table-column.interface.ts
5
+ */
2
6
  export interface TableColumn {
3
7
  field: string;
4
8
  header: string;
@@ -4,7 +4,7 @@ export interface TableColumn {
4
4
  header: string;
5
5
  position: number;
6
6
  show: boolean;
7
- type: "date" | "text" | "icon" | "button" | "checkbox" | "multiselect" | "radiobutton" | "datetime" | "boolean" | "string" | "link" | "toggle" | "number" | "actions";
7
+ type: "date" | "text" | "icon" | "button" | "checkbox" | "multiselect" | "radiobutton" | "datetime" | "boolean" | "string" | "link" | "toggle" | "number" | "actions" | "numberWithUnit" | "vrstaBlaga" | "opombe" | "opombaDateByCode";
8
8
  filterType?: "select" | "text" | "date" | "button" | "boolean";
9
9
  selectList?: any;
10
10
  class?: string;
@@ -12,4 +12,7 @@ export interface TableColumn {
12
12
  icon?: string;
13
13
  iconColor?: string;
14
14
  tooltipText?: string;
15
+ unitPath?: string;
16
+ opombaCode?: string;
17
+ showCodes?: boolean;
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n-isi-platform/design-system",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.6",
6
6
  "@angular/core": "19.2.6"
package/public-api.d.ts CHANGED
@@ -34,7 +34,6 @@ export * from './lib/input-mask/input-mask.component';
34
34
  export * from './lib/loader/loader.component';
35
35
  export * from './lib/main-menu/main-menu.component';
36
36
  export * from './lib/modal/modal.component';
37
- export * from './lib/navbar/navbar.component';
38
37
  export * from './lib/no-data-found/no-data-found.component';
39
38
  export * from './lib/picklist/picklist.component';
40
39
  export * from './lib/progress-bar/progress-bar.component';
@@ -1,34 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { LocalStorageService } from '../../services/local-storage.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NavbarComponent implements OnInit {
5
- protected readonly localStorageService: LocalStorageService;
6
- imageWidth: string;
7
- imageHeight: string;
8
- logoAltText: string;
9
- multiLanguageEnabled: boolean;
10
- isLogoClick: EventEmitter<any>;
11
- isAccessibilityClicked: EventEmitter<any>;
12
- notificationList: any;
13
- currentLanguage: string;
14
- currentNotification: string;
15
- currentIndex: number;
16
- animationClass: string;
17
- notificationChangeInterval: number;
18
- constructor(localStorageService: LocalStorageService);
19
- ngOnInit(): void;
20
- /**
21
- * prikaz nujnih obvestil
22
- */
23
- showUrgentNotifications(): void;
24
- displayNotification(): void;
25
- changeNotification(): void;
26
- clickLogo(event: MouseEvent): void;
27
- accessibilityClick(event: MouseEvent): void;
28
- /**
29
- * Mare, 2024-09-13; safe version, da ne faila Checkmarx XSS check
30
- */
31
- changeLanguage(event: any, language: string): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
33
- 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; }; "notificationList": { "alias": "notificationList"; "required": false; }; }, { "isLogoClick": "isLogoClick"; "isAccessibilityClicked": "isAccessibilityClicked"; }, never, never, true, never>;
34
- }