@ieeesa-npm/presentation 0.15.5 → 0.15.6

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.
@@ -162,11 +162,6 @@ export declare class FileUploadService implements OnDestroy {
162
162
  welcome: {
163
163
  buttons: {
164
164
  label: string;
165
- /**
166
- * Returns file upload status.
167
- * @return {boolean}
168
- * @memberof FileUploadService
169
- */
170
165
  ariaLabel: string;
171
166
  url: string;
172
167
  }[];
@@ -185,6 +180,12 @@ export declare class FileUploadService implements OnDestroy {
185
180
  timePicker: {
186
181
  defaultTimeFormat: number;
187
182
  };
183
+ /**
184
+ * Retrieves presigned URL for downloading files to Amazon S3 bucket.
185
+ * @param {(File | FileList)} file
186
+ * @return {Observable<string>}
187
+ * @memberof FileUploadService
188
+ */
188
189
  colorPicker: {
189
190
  selectLabel: string;
190
191
  cancelLabel: string;
@@ -230,7 +231,14 @@ export declare class FileUploadService implements OnDestroy {
230
231
  invalidFileSize: string;
231
232
  "2025": string;
232
233
  "2026": string;
233
- };
234
+ }; /**
235
+ * Validates the file types of the uploaded files.
236
+ * @param {(File | FileList)} files
237
+ * @param {string[]} allowedFileTypes
238
+ * @param {boolean} isMultiFileUpload
239
+ * @return {boolean} -Returns true if all files have valid extensions, otherwise false.
240
+ * @memberof FileUploadService
241
+ */
234
242
  };
235
243
  };
236
244
  list: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",