@bnsights/bbsf-controls 1.2.23-beta.0 → 1.2.24
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.
|
@@ -18,4 +18,18 @@ export declare class FileUploadOptions extends ControlOptionsBase {
|
|
|
18
18
|
fileUploadAcceptsTypes: FileType[];
|
|
19
19
|
/** Ability to set Upload File Async */
|
|
20
20
|
isUploadFileAsync: boolean;
|
|
21
|
+
/** Upload-area heading; overrides the built-in "Upload"/"DragAndDropHere" text when set. */
|
|
22
|
+
titleLbl?: string;
|
|
23
|
+
/** Upload-area heading; overrides the built-in "Upload"/"DragAndDropHere" text when set. */
|
|
24
|
+
dragAndDropLbl?: string;
|
|
25
|
+
/** Label before the accepted-types list; overrides "Extensions" when set. */
|
|
26
|
+
acceptLbl?: string;
|
|
27
|
+
/** Literal accepted-types text shown after the label; overrides the auto-derived list when set. */
|
|
28
|
+
acceptTypes?: string;
|
|
29
|
+
/** Label before the per-file max size; overrides "FileMaxSizeInMB" text when set. */
|
|
30
|
+
maxFileSizeLbl?: string;
|
|
31
|
+
/** Label before the combined (all-files) max size line; shows this line when set. */
|
|
32
|
+
maxSumFilesSizeLbl?: string;
|
|
33
|
+
/** Label before the max file count; overrides "MaxFileCountValidationKey" text when set. */
|
|
34
|
+
maxFileCountLbl?: string;
|
|
21
35
|
}
|
|
@@ -39,6 +39,8 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
39
39
|
private pendingValidationErrors;
|
|
40
40
|
maxFilesReached: boolean;
|
|
41
41
|
maxFilesValidationMsg: string;
|
|
42
|
+
headerLabel: string;
|
|
43
|
+
dropHeaderLabel: string;
|
|
42
44
|
constructor(controlContainer: ControlContainer, MultipleFileUploadControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, fileUploadService: FileUploadService);
|
|
43
45
|
ngOnInit(): void;
|
|
44
46
|
ngAfterViewInit(): void;
|
|
@@ -57,6 +59,8 @@ export declare class FileUploadComponent implements OnInit, AfterViewInit, OnDes
|
|
|
57
59
|
convertSizeToMB(size: number): number;
|
|
58
60
|
ngOnDestroy(): void;
|
|
59
61
|
sanitizeFileName(fileName: string): string;
|
|
62
|
+
/** Return the option label when it has a non-empty value; otherwise the resource default. */
|
|
63
|
+
private resolveLabel;
|
|
60
64
|
private findDuplicateFiles;
|
|
61
65
|
private removeDuplicateFilesFromQueue;
|
|
62
66
|
private isFileTypeAccepted;
|