keevo-components 1.8.232 → 1.8.234
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/kv-file-upload.component.mjs +118 -0
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +18 -0
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +9 -6
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/keevo-components.mjs +137 -6
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +29 -0
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +8 -0
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -0,0 +1,29 @@
|
|
|
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 KvFileUploadComponent {
|
|
6
|
+
private notificationService;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
formControlName: string;
|
|
9
|
+
widthComponent: string;
|
|
10
|
+
heightComponent: string;
|
|
11
|
+
description: string;
|
|
12
|
+
validFileTypes: string[];
|
|
13
|
+
fileEmit: EventEmitter<any>;
|
|
14
|
+
fileInput: ElementRef;
|
|
15
|
+
inputUpload: ElementRef;
|
|
16
|
+
constructor(notificationService: NotificationService);
|
|
17
|
+
onFileSelected(event: any): void;
|
|
18
|
+
deleteFile(): void;
|
|
19
|
+
formatBytes(bytes: any, decimals?: number): string;
|
|
20
|
+
addDragOverClass(event: DragEvent): void;
|
|
21
|
+
removeDragOverClass(event: DragEvent): void;
|
|
22
|
+
handleFile(file: File): void;
|
|
23
|
+
onDragOver(event: DragEvent): void;
|
|
24
|
+
onDragLeave(event: DragEvent): void;
|
|
25
|
+
onDrop(event: DragEvent): void;
|
|
26
|
+
setAccept(): string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFileUploadComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvFileUploadComponent, "kv-file-upload", 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; }; }, { "fileEmit": "fileEmit"; }, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-file-upload.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class KvFileUploadModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFileUploadModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFileUploadModule, [typeof i1.KvFileUploadComponent], [typeof i2.CommonModule], [typeof i1.KvFileUploadComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvFileUploadModule>;
|
|
8
|
+
}
|
|
@@ -67,6 +67,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
67
67
|
mouseOverFilhoIndex: any;
|
|
68
68
|
mouseOverIndex: any;
|
|
69
69
|
widthCard: number;
|
|
70
|
+
menuSelecionado: any;
|
|
70
71
|
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router);
|
|
71
72
|
accessKeePass(event: any): void;
|
|
72
73
|
adjustHeightCard(): number;
|
|
@@ -100,7 +101,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
100
101
|
selectApp(idaplicativo: number): void;
|
|
101
102
|
showLicencas(): boolean;
|
|
102
103
|
toggleMenu(): void;
|
|
103
|
-
verifySelectedPage(link: any): boolean;
|
|
104
|
+
verifySelectedPage(link: any, pai?: any): boolean;
|
|
104
105
|
navigateToDefaultRoute(): void;
|
|
105
106
|
getSidebarState(): "collapsed" | "expanded";
|
|
106
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -195,6 +195,11 @@ export * from './lib/components/kv-stepper/kv-stepper.module';
|
|
|
195
195
|
*/
|
|
196
196
|
export * from './lib/components/kv-image-upload/kv-image-upload.component';
|
|
197
197
|
export * from './lib/components/kv-image-upload/kv-image-upload.module';
|
|
198
|
+
/**
|
|
199
|
+
* File Upload
|
|
200
|
+
*/
|
|
201
|
+
export * from './lib/components/kv-file-upload/kv-file-upload.component';
|
|
202
|
+
export * from './lib/components/kv-file-upload/kv-file-upload.module';
|
|
198
203
|
/**
|
|
199
204
|
* Report
|
|
200
205
|
*/
|