@ieeesa-npm/presentation 0.26.2 → 0.26.4

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.
@@ -87,7 +87,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit, A
87
87
  formTimeSelected: EventEmitter<SelectedTime>;
88
88
  supportTextLinkClick: EventEmitter<LinkEventEmitType>;
89
89
  formSlideToggleChange: EventEmitter<SlideToggleOption>;
90
- formFileUpload: EventEmitter<File | FileList>;
90
+ formFileUpload: EventEmitter<FileList | File>;
91
91
  dropdownOpenedChange: EventEmitter<SelectOpenedState>;
92
92
  formColorPickerChange: EventEmitter<string>;
93
93
  formRadioOptionSelected: EventEmitter<RadioOption>;
@@ -217,6 +217,11 @@ export declare class FileUploadComponent implements OnInit {
217
217
  hexCodeInput: string;
218
218
  palette: string;
219
219
  };
220
+ /**
221
+ * Handles the selected file(s) and emits FileUpload event emitter for uploading the file(s).
222
+ * @param {(File | FileList)} file
223
+ * @memberof FileUploadComponent
224
+ */
220
225
  defaultColor: string;
221
226
  ariaDescription: string;
222
227
  ariaDescribedById: string;
@@ -368,8 +373,8 @@ export declare class FileUploadComponent implements OnInit {
368
373
  set fileUploadStatus(value: FileUploadStatus);
369
374
  get uploadedSize(): number;
370
375
  set uploadedSize(value: number);
371
- uploadSelectedFiles: EventEmitter<File | FileList>;
372
- downloadSelectedFile: EventEmitter<File | FileList>;
376
+ uploadSelectedFiles: EventEmitter<FileList | File>;
377
+ downloadSelectedFile: EventEmitter<FileList | File>;
373
378
  constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
374
379
  /**
375
380
  * Initializes component properties and retrieves configuration.
@@ -78,7 +78,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
78
78
  formSlideToggleChange: EventEmitter<SlideToggleOption>;
79
79
  dropdownOpenedChange: EventEmitter<SelectOpenedState>;
80
80
  formColorPickerChange: EventEmitter<string>;
81
- formFileUpload: EventEmitter<File | FileList>;
81
+ formFileUpload: EventEmitter<FileList | File>;
82
82
  formRadioOptionSelected: EventEmitter<RadioOption>;
83
83
  ctaButtonClick: EventEmitter<IconButton>;
84
84
  formMultiSelectAutoCompleteSearch: EventEmitter<string>;
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
8
8
  export declare class FileUploadDirective {
9
9
  allowedFileTypes: string[];
10
10
  isMultiFileUpload: boolean;
11
- fileDropped: EventEmitter<File | FileList>;
11
+ fileDropped: EventEmitter<FileList | File>;
12
12
  /**
13
13
  * Binds the 'multiple' attribute based on the value of allowMultiple property.
14
14
  * @readonly
@@ -3,4 +3,5 @@ export interface FileUploadStatus {
3
3
  filesNamesUploadFailed: string[];
4
4
  alreadyExistsFiles: string[];
5
5
  isUploadingStart: boolean;
6
+ uploadedFiles: string[];
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.26.2",
3
+ "version": "0.26.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",