@indigina/ui-kit 1.1.0 → 1.1.1
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/components/kit-file-upload/kit-file-upload.component.mjs +13 -4
- package/fesm2015/indigina-ui-kit.mjs +12 -3
- package/fesm2015/indigina-ui-kit.mjs.map +1 -1
- package/fesm2020/indigina-ui-kit.mjs +12 -3
- package/fesm2020/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-file-upload/kit-file-upload.component.d.ts +7 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export declare class KitFileUploadComponent {
|
|
|
7
7
|
/**
|
|
8
8
|
* Defines the URL of the endpoint for the upload request
|
|
9
9
|
*/
|
|
10
|
-
saveUrl: string
|
|
10
|
+
saveUrl: string;
|
|
11
11
|
/**
|
|
12
12
|
* Defines the initial list of files
|
|
13
13
|
*/
|
|
@@ -32,12 +32,17 @@ export declare class KitFileUploadComponent {
|
|
|
32
32
|
* An action which is emitted when download file button clicked
|
|
33
33
|
*/
|
|
34
34
|
fileDownloaded: EventEmitter<KitFileUploadFile>;
|
|
35
|
+
/**
|
|
36
|
+
* An action which is emitted when files are selected
|
|
37
|
+
*/
|
|
38
|
+
filesSelected: EventEmitter<KitFileUploadFile[]>;
|
|
35
39
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
36
40
|
readonly KitButtonKind: typeof KitButtonKind;
|
|
37
41
|
readonly kitFileUploadValidationErrorMap: Record<string, () => string>;
|
|
38
42
|
onFileDownload(file: KitFileUploadFile): void;
|
|
43
|
+
onFilesSelect(files: KitFileUploadFile[]): void;
|
|
39
44
|
getValidationError(error: string): string;
|
|
40
45
|
getTypedFiles(files: KitFileUploadFile[]): KitFileUploadFile[];
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileUploadComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileUploadComponent, "kit-file-upload", never, { "saveUrl": "saveUrl"; "files": "files"; "selectFilesLabel": "selectFilesLabel"; "dropzoneLabel": "dropzoneLabel"; "restrictions": "restrictions"; "restrictionsErrorMessages": "restrictionsErrorMessages"; }, { "fileDownloaded": "fileDownloaded"; }, never, never, false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileUploadComponent, "kit-file-upload", never, { "saveUrl": "saveUrl"; "files": "files"; "selectFilesLabel": "selectFilesLabel"; "dropzoneLabel": "dropzoneLabel"; "restrictions": "restrictions"; "restrictionsErrorMessages": "restrictionsErrorMessages"; }, { "fileDownloaded": "fileDownloaded"; "filesSelected": "filesSelected"; }, never, never, false, never>;
|
|
43
48
|
}
|