@ieeesa-npm/presentation 0.19.4 → 0.19.5

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.
@@ -248,6 +248,9 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
248
248
  "2059": string;
249
249
  "2060": string;
250
250
  "2061": string;
251
+ "2062": string;
252
+ "2063": string;
253
+ "2064": string;
251
254
  };
252
255
  };
253
256
  };
@@ -245,6 +245,9 @@ export declare class FileUploadComponent implements OnInit {
245
245
  "2059": string;
246
246
  "2060": string;
247
247
  "2061": string;
248
+ "2062": string;
249
+ "2063": string;
250
+ "2064": string;
248
251
  };
249
252
  };
250
253
  };
@@ -9,3 +9,9 @@ export interface GetFileDownloadPresignedUrlPayload {
9
9
  domain: string;
10
10
  };
11
11
  }
12
+ export interface GetFileUploadPresignedUrlPayload {
13
+ payload: {
14
+ fileName: string;
15
+ tenantAppId: string;
16
+ };
17
+ }
@@ -75,11 +75,6 @@ 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
- */
83
78
  link: string;
84
79
  pagination: string;
85
80
  };
@@ -181,11 +176,6 @@ export declare class FileUploadService implements OnDestroy {
181
176
  };
182
177
  loader: {
183
178
  ariaLabel: {
184
- /**
185
- * Returns file upload status.
186
- * @return {boolean}
187
- * @memberof FileUploadService
188
- */
189
179
  spinner: string;
190
180
  };
191
181
  };
@@ -200,6 +190,11 @@ export declare class FileUploadService implements OnDestroy {
200
190
  };
201
191
  ariaLabel: {
202
192
  colorPicker: string;
193
+ /**
194
+ * Returns file upload status.
195
+ * @return {boolean}
196
+ * @memberof FileUploadService
197
+ */
203
198
  next: string;
204
199
  back: string;
205
200
  select: string;
@@ -254,6 +249,9 @@ export declare class FileUploadService implements OnDestroy {
254
249
  "2059": string;
255
250
  "2060": string;
256
251
  "2061": string;
252
+ "2062": string;
253
+ "2063": string;
254
+ "2064": string;
257
255
  };
258
256
  };
259
257
  };
@@ -278,7 +276,7 @@ export declare class FileUploadService implements OnDestroy {
278
276
  * @return {Observable<FileUploadPresignedUrl>}
279
277
  * @memberof FileUploadService
280
278
  */
281
- getFileUploadPresignedUrl(file: File | FileList): Observable<FileUploadPresignedUrl>;
279
+ getFileUploadPresignedUrl(file: File | FileList, appId: string): Observable<FileUploadPresignedUrl>;
282
280
  /**
283
281
  * Uploads file to AWS S3 using a presigned URL.
284
282
  * @param {string} presignedUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.19.4",
3
+ "version": "0.19.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -566,7 +566,10 @@
566
566
  "2026": "Invalid file format. Please upload SVG, PNG and JPG file format only.",
567
567
  "2059": "Application Details not found.",
568
568
  "2060": "Invalid file format.",
569
- "2061": "Unable to establish connection. Please try again later."
569
+ "2061": "Unable to establish connection. Please try again later.",
570
+ "2062": "File not found.",
571
+ "2063": "File Name is required.",
572
+ "2064": "Application Id or Domain is required."
570
573
  }
571
574
  }
572
575
  },