@bnsights/bbsf-controls 1.0.178 → 1.0.179
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.
|
@@ -25,6 +25,7 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
25
25
|
private readonly ERROR_DISPLAY_DURATION;
|
|
26
26
|
private readonly MAX_MEMORY_USAGE;
|
|
27
27
|
private currentMemoryUsage;
|
|
28
|
+
private hasClearedRequiredError;
|
|
28
29
|
fileInput: ElementRef<HTMLInputElement>;
|
|
29
30
|
isSubmitted: boolean;
|
|
30
31
|
group: FormGroup;
|
|
@@ -89,6 +90,7 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
89
90
|
private validateMinFileCount;
|
|
90
91
|
private validateMaxFileCount;
|
|
91
92
|
private showFileCountError;
|
|
93
|
+
private forceValidationErrorDisplay;
|
|
92
94
|
private clearFileCountError;
|
|
93
95
|
private validateTotalFileSize;
|
|
94
96
|
private showTotalSizeError;
|
|
@@ -117,6 +119,7 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
117
119
|
private setupMultipleFileModel;
|
|
118
120
|
private updateFormControl;
|
|
119
121
|
private preserveErrorsAndUpdateValue;
|
|
122
|
+
private hasValidFileValue;
|
|
120
123
|
private handlePatchAndEmit;
|
|
121
124
|
removeFromControlValue(item: FileItem): void;
|
|
122
125
|
private handleAsyncFileDeletion;
|
|
@@ -127,8 +130,14 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
127
130
|
private handleExistingFileRemoval;
|
|
128
131
|
private removeFromUploadedFiles;
|
|
129
132
|
private validateRemainingFiles;
|
|
133
|
+
private reEvaluateAllValidations;
|
|
134
|
+
private clearObsoleteValidationErrors;
|
|
135
|
+
private reValidateFileCountConstraints;
|
|
136
|
+
private reValidateTotalFileSize;
|
|
137
|
+
private reValidateIndividualFiles;
|
|
130
138
|
private updateMultipleFileModel;
|
|
131
139
|
removeRequiredValidation: () => void;
|
|
140
|
+
removeRequiredValidatorOnly: () => void;
|
|
132
141
|
addRequiredValidation: () => void;
|
|
133
142
|
removeCustomValidation: (customValidation: any) => void;
|
|
134
143
|
addCustomValidation: (customValidation: any) => void;
|