@energycap/components 0.39.24-ECAP-26526-file-upload-validation-fix.20240910-1046 → 0.39.24-ECAP-26378-account-icon-pipe-summary-account-support.20240911-1311
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/esm2020/lib/controls/file-upload/file-upload.component.mjs +9 -17
- package/fesm2015/energycap-components.mjs +8 -16
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +8 -16
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/controls/file-upload/file-upload.component.d.ts +1 -8
- package/package.json +1 -1
@@ -80,13 +80,6 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
|
|
80
80
|
* Optional property to control whether the user can select multiple files
|
81
81
|
*/
|
82
82
|
multiSelect?: boolean;
|
83
|
-
/**
|
84
|
-
* When true, the onFileSelected callback will not be called if the form is invalid.
|
85
|
-
* This is useful when the file needs to be validated before it can be uploaded.
|
86
|
-
* For server-side validation, leave this as false and use the onFileSelected callback
|
87
|
-
* to upload the file and handle any errors thrown by the API.
|
88
|
-
*/
|
89
|
-
validateBeforeUpload: boolean;
|
90
83
|
fileInput?: ElementRef;
|
91
84
|
/** Property bound to the file input to filter what file types are shown in the dialog */
|
92
85
|
fileTypeAccept: string | undefined;
|
@@ -120,5 +113,5 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
|
|
120
113
|
private handleMultipleFiles;
|
121
114
|
private readFile;
|
122
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "formModel": "formModel"; "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; "onMultipleFilesSelected": "onMultipleFilesSelected"; "displayType": "displayType"; "buttonLabel": "buttonLabel"; "buttonType": "buttonType"; "multiSelect": "multiSelect";
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "formModel": "formModel"; "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; "onMultipleFilesSelected": "onMultipleFilesSelected"; "displayType": "displayType"; "buttonLabel": "buttonLabel"; "buttonType": "buttonType"; "multiSelect": "multiSelect"; }, {}, never, never, false, never>;
|
124
117
|
}
|
package/package.json
CHANGED