suis 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,13 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { SuisInputBase } from '../../shared/classes/suis-input.base';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SuisInputImageComponent extends SuisInputBase {
5
5
  /** @internal */
6
6
  fileInput?: ElementRef;
7
+ /**
8
+ * Emits value on FileList upload.
9
+ */
10
+ uploaded: EventEmitter<FileList>;
7
11
  /** @internal */
8
12
  value: FileList | null;
9
13
  /** @internal */
@@ -12,5 +16,5 @@ export declare class SuisInputImageComponent extends SuisInputBase {
12
16
  onChange(event: Event): void;
13
17
  onRemove(): void;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputImageComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputImageComponent, "suis-input-image", never, {}, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputImageComponent, "suis-input-image", never, {}, { "uploaded": "uploaded"; }, never, never, true, never>;
16
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "Angular 16+ Component Library",