keevo-components 2.0.258 → 2.0.260
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/esm2022/lib/components/kv-file-upload-new/kv-file-upload-new.component.mjs +205 -0
- package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-chips/kv-chips.component.mjs +2 -2
- package/esm2022/lib/components/kv-kanban/kv-kanban.component.mjs +1 -1
- package/esm2022/lib/components/kv-select-cards/kv-select-cards.component.mjs +2 -2
- package/esm2022/lib/components/kv-table-draggable/kv-table-draggable.component.mjs +35 -35
- package/esm2022/lib/components/kv-tree-environment/components/kv-tree-environment/kv-tree-environment.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-environment/components/no-arvore/no-arvore.component.mjs +3 -3
- package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/keevo-components.mjs +244 -47
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-button/kv-button.component.d.ts +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-file-upload-new/kv-file-upload-new.component.d.ts +36 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -9,7 +9,7 @@ export declare class KvButtonComponent {
|
|
|
9
9
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary" | "danger">;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
11
|
icon: import("@angular/core").ModelSignal<string>;
|
|
12
|
-
iconPosition: import("@angular/core").InputSignal<"
|
|
12
|
+
iconPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
13
13
|
label: import("@angular/core").InputSignal<string>;
|
|
14
14
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
onClick: import("@angular/core").OutputEmitterRef<any>;
|
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"normal" | "text" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -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
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';
|