@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.
- package/esm2022/lib/assets/constants.json +4 -2
- package/esm2022/lib/components/header/header.component.mjs +2 -2
- package/esm2022/lib/models/file-upload-presigned-url-res.model.mjs +1 -1
- package/esm2022/lib/models/header-config.model.mjs +1 -1
- package/esm2022/lib/services/file-upload.service.mjs +16 -5
- package/fesm2022/ieeesa-npm-presentation.mjs +19 -6
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/chips/chips.component.d.ts +3 -1
- package/lib/components/file-upload/file-upload.component.d.ts +3 -1
- package/lib/models/file-upload-presigned-url-res.model.d.ts +6 -0
- package/lib/models/header-config.model.d.ts +1 -0
- package/lib/services/file-upload.service.d.ts +14 -2
- package/package.json +1 -1
- package/src/lib/assets/constants.json +5 -3
|
@@ -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
|
};
|
|
@@ -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
|
@@ -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
|
-
"
|
|
567
|
-
"
|
|
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
|
+
}
|