@ieeesa-npm/presentation 0.15.4 → 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.
|
@@ -163,11 +163,6 @@ export declare class FileUploadService implements OnDestroy {
|
|
|
163
163
|
buttons: {
|
|
164
164
|
label: string;
|
|
165
165
|
ariaLabel: string;
|
|
166
|
-
/**
|
|
167
|
-
* Returns file upload status.
|
|
168
|
-
* @return {boolean}
|
|
169
|
-
* @memberof FileUploadService
|
|
170
|
-
*/
|
|
171
166
|
url: string;
|
|
172
167
|
}[];
|
|
173
168
|
};
|
|
@@ -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: {
|