@energycap/components 0.39.4-ECAP-23220-bc-file-upload-dialog.20231219-1515 → 0.39.4-ECAP-23220-bc-file-upload-dialog.20231220-1222

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.
@@ -45,6 +45,10 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
45
45
  * When display type is set to button this property will control the button label
46
46
  */
47
47
  buttonLabel?: string;
48
+ /**
49
+ * Optional property to control whether the user can select multiple files
50
+ */
51
+ multiSelect?: boolean;
48
52
  fileInput?: ElementRef;
49
53
  /** Property bound to the file input to filter what file types are shown in the dialog */
50
54
  fileTypeAccept: string | undefined;
@@ -78,6 +82,9 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
78
82
  * @param onFileSelectedResult
79
83
  */
80
84
  private patchFileResult;
85
+ private clearFormModel;
86
+ private handleMultipleFiles;
87
+ private readFile;
81
88
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; "displayType": "displayType"; "buttonLabel": "buttonLabel"; }, {}, never, never, false, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; "displayType": "displayType"; "buttonLabel": "buttonLabel"; "multiSelect": "multiSelect"; }, {}, never, never, false, never>;
83
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.4-ECAP-23220-bc-file-upload-dialog.20231219-1515",
3
+ "version": "0.39.4-ECAP-23220-bc-file-upload-dialog.20231220-1222",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },