keevo-components 2.0.258 → 2.0.259

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.
@@ -0,0 +1,36 @@
1
+ import { EventEmitter, ElementRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { NotificationService } from '../../api/services/notification.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class KvFileUploadNewComponent {
6
+ private notificationService;
7
+ formGroup: FormGroup;
8
+ formControlName: string;
9
+ widthComponent: string;
10
+ heightComponent: string;
11
+ description: string;
12
+ validFileTypes: string[];
13
+ tamanhoMaximoPermitido: string;
14
+ includeOfficeTypes: boolean;
15
+ maxSizeFile: import("@angular/core").InputSignal<number>;
16
+ fileEmit: EventEmitter<any>;
17
+ removeFileEmit: EventEmitter<any>;
18
+ fileInput: ElementRef<HTMLInputElement>;
19
+ inputUpload: ElementRef;
20
+ constructor(notificationService: NotificationService);
21
+ triggerClick(): void;
22
+ onFileSelected(event: any): void;
23
+ deleteFile(): void;
24
+ progressValue: import("@angular/core").Signal<(bytes: any) => number>;
25
+ returnProgressLabel: import("@angular/core").Signal<(bytes: any) => string>;
26
+ formatBytes(bytes: any, decimals?: number): string;
27
+ addDragOverClass(event: DragEvent): void;
28
+ removeDragOverClass(event: DragEvent): void;
29
+ handleFile(file: File): void;
30
+ onDragOver(event: DragEvent): void;
31
+ onDragLeave(event: DragEvent): void;
32
+ onDrop(event: DragEvent): void;
33
+ setAccept(): string;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvFileUploadNewComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvFileUploadNewComponent, "kv-file-upload-new", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "widthComponent": { "alias": "widthComponent"; "required": false; }; "heightComponent": { "alias": "heightComponent"; "required": false; }; "description": { "alias": "description"; "required": false; }; "validFileTypes": { "alias": "validFileTypes"; "required": false; }; "tamanhoMaximoPermitido": { "alias": "tamanhoMaximoPermitido"; "required": false; }; "includeOfficeTypes": { "alias": "includeOfficeTypes"; "required": false; }; "maxSizeFile": { "alias": "maxSizeFile"; "required": false; "isSignal": true; }; }, { "fileEmit": "fileEmit"; "removeFileEmit": "removeFileEmit"; }, never, never, true, never>;
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.258",
3
+ "version": "2.0.259",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -334,3 +334,4 @@ export * from './lib/components/kv-instruction-page/kv-instruction-page.componen
334
334
  export * from './lib/components/kv-instruction-page/components/cards-instruction/kv-cards-instruction.component';
335
335
  export * from './lib/components/kv-inputs/kv-chips/kv-chips.component';
336
336
  export * from './lib/components/kv-select-cards/kv-select-cards.component';
337
+ export * from './lib/components/kv-file-upload-new/kv-file-upload-new.component';