@ieeesa-npm/presentation 0.19.2 → 0.19.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.
@@ -244,8 +244,10 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
244
244
  errorReadingFile: string;
245
245
  invalidFileFormat: string;
246
246
  invalidFileSize: string;
247
- "2025": string;
248
247
  "2026": string;
248
+ "2059": string;
249
+ "2060": string;
250
+ "2061": string;
249
251
  };
250
252
  };
251
253
  };
@@ -241,8 +241,10 @@ export declare class FileUploadComponent implements OnInit {
241
241
  errorReadingFile: string;
242
242
  invalidFileFormat: string;
243
243
  invalidFileSize: string;
244
- "2025": string;
245
244
  "2026": string;
245
+ "2059": string;
246
+ "2060": string;
247
+ "2061": string;
246
248
  };
247
249
  };
248
250
  };
@@ -3,3 +3,9 @@ export interface FileUploadPresignedUrl {
3
3
  body: string;
4
4
  message: string;
5
5
  }
6
+ export interface GetFileDownloadPresignedUrlPayload {
7
+ payload: {
8
+ fileName: string;
9
+ domain: string;
10
+ };
11
+ }
@@ -10,4 +10,5 @@ export interface HeaderConfig {
10
10
  apiBaseUrl?: string;
11
11
  isLogoFromAwsS3?: boolean;
12
12
  isPublicAPI?: boolean;
13
+ domainUrl?: string;
13
14
  }
@@ -75,6 +75,11 @@ export declare class FileUploadService implements OnDestroy {
75
75
  search: string;
76
76
  selectAll: string;
77
77
  select: string;
78
+ /**
79
+ * Sets the base URL for API requests.
80
+ * @param {string} apiBaseUrl -API base URL.
81
+ * @memberof FileUploadService
82
+ */
78
83
  link: string;
79
84
  pagination: string;
80
85
  };
@@ -176,6 +181,11 @@ export declare class FileUploadService implements OnDestroy {
176
181
  };
177
182
  loader: {
178
183
  ariaLabel: {
184
+ /**
185
+ * Returns file upload status.
186
+ * @return {boolean}
187
+ * @memberof FileUploadService
188
+ */
179
189
  spinner: string;
180
190
  };
181
191
  };
@@ -240,8 +250,10 @@ export declare class FileUploadService implements OnDestroy {
240
250
  errorReadingFile: string;
241
251
  invalidFileFormat: string;
242
252
  invalidFileSize: string;
243
- "2025": string;
244
253
  "2026": string;
254
+ "2059": string;
255
+ "2060": string;
256
+ "2061": string;
245
257
  };
246
258
  };
247
259
  };
@@ -318,7 +330,7 @@ export declare class FileUploadService implements OnDestroy {
318
330
  * @return {Observable<string>}
319
331
  * @memberof FileUploadService
320
332
  */
321
- getFileDownloadPresignedUrls(file: File | FileList | string, isPublicAPI?: boolean): Observable<string>;
333
+ getFileDownloadPresignedUrls(file: File | FileList | string, isPublicAPI?: boolean, domainUrl?: string): Observable<string>;
322
334
  /**
323
335
  * Downloads file to AWS S3 using a presigned URL.
324
336
  * @return {Observable<any>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -563,12 +563,14 @@
563
563
  "errorReadingFile": "File is damaged or unreadable.",
564
564
  "invalidFileFormat": "Invalid file format. Please upload SVG, PNG and JPG file format only.",
565
565
  "invalidFileSize": "File size exceeds the maximum limit.",
566
- "2025": "Unable to establish connection. Please try again later.",
567
- "2026": "Invalid file format. Please upload SVG, PNG and JPG file format only."
566
+ "2026": "Invalid file format. Please upload SVG, PNG and JPG file format only.",
567
+ "2059": "Application Details not found.",
568
+ "2060": "Invalid file format.",
569
+ "2061": "Unable to establish connection. Please try again later."
568
570
  }
569
571
  }
570
572
  },
571
573
  "list": {
572
574
  "defaultIndentation": 12
573
575
  }
574
- }
576
+ }