@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.
@@ -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 | null;
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
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.0",
10
+ "version": "1.1.1",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "15.2.7",
13
13
  "@angular/core": "15.2.7"