keevo-components 2.0.257 → 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.
- package/esm2022/index.mjs +2 -0
- package/esm2022/lib/components/kv-file-upload-new/kv-file-upload-new.component.mjs +205 -0
- package/esm2022/lib/components/kv-inputs/kv-chips/kv-chips.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +13 -4
- package/esm2022/lib/components/kv-select-cards/kv-select-cards.component.mjs +2 -2
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/keevo-components.mjs +215 -8
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-file-upload-new/kv-file-upload-new.component.d.ts +36 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +2 -1
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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
|
+
}
|
|
@@ -57,6 +57,7 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
57
57
|
disabledEditor: import("@angular/core").InputSignal<boolean>;
|
|
58
58
|
showHeaderButtons: import("@angular/core").InputSignal<boolean>;
|
|
59
59
|
showAlphaCrmButtons: import("@angular/core").InputSignal<boolean>;
|
|
60
|
+
showAlphaContratoButtons: import("@angular/core").InputSignal<boolean>;
|
|
60
61
|
enableButtonInsert: import("@angular/core").InputSignal<boolean>;
|
|
61
62
|
idRelatorioSelected: import("@angular/core").Signal<number>;
|
|
62
63
|
relatorio: import("@angular/core").Signal<KvEditorRelatorio | null>;
|
|
@@ -116,5 +117,5 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
116
117
|
*/
|
|
117
118
|
private handleHashInsertion;
|
|
118
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvEditorComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "enablePreviewMode": { "alias": "enablePreviewMode"; "required": false; "isSignal": true; }; "showVariableValuesInPreview": { "alias": "showVariableValuesInPreview"; "required": false; "isSignal": true; }; "showVariableValueFirst": { "alias": "showVariableValueFirst"; "required": false; "isSignal": true; }; "relatorios": { "alias": "relatorios"; "required": false; "isSignal": true; }; "idRelatorioInitial": { "alias": "idRelatorioInitial"; "required": false; "isSignal": true; }; "printButton": { "alias": "printButton"; "required": false; "isSignal": true; }; "labelEmptyDropdown": { "alias": "labelEmptyDropdown"; "required": false; "isSignal": true; }; "instrucoesTemplate": { "alias": "instrucoesTemplate"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabledEditor": { "alias": "disabledEditor"; "required": false; "isSignal": true; }; "showHeaderButtons": { "alias": "showHeaderButtons"; "required": false; "isSignal": true; }; "showAlphaCrmButtons": { "alias": "showAlphaCrmButtons"; "required": false; "isSignal": true; }; "enableButtonInsert": { "alias": "enableButtonInsert"; "required": false; "isSignal": true; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "outputRaw": "outputRaw"; "outputHtml": "outputHtml"; "previewHtmlOutput": "previewHtmlOutput"; "onCustomButtonClick": "onCustomButtonClick"; "idRelatorioInitial": "idRelatorioInitialChange"; }, never, never, false, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "enablePreviewMode": { "alias": "enablePreviewMode"; "required": false; "isSignal": true; }; "showVariableValuesInPreview": { "alias": "showVariableValuesInPreview"; "required": false; "isSignal": true; }; "showVariableValueFirst": { "alias": "showVariableValueFirst"; "required": false; "isSignal": true; }; "relatorios": { "alias": "relatorios"; "required": false; "isSignal": true; }; "idRelatorioInitial": { "alias": "idRelatorioInitial"; "required": false; "isSignal": true; }; "printButton": { "alias": "printButton"; "required": false; "isSignal": true; }; "labelEmptyDropdown": { "alias": "labelEmptyDropdown"; "required": false; "isSignal": true; }; "instrucoesTemplate": { "alias": "instrucoesTemplate"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabledEditor": { "alias": "disabledEditor"; "required": false; "isSignal": true; }; "showHeaderButtons": { "alias": "showHeaderButtons"; "required": false; "isSignal": true; }; "showAlphaCrmButtons": { "alias": "showAlphaCrmButtons"; "required": false; "isSignal": true; }; "showAlphaContratoButtons": { "alias": "showAlphaContratoButtons"; "required": false; "isSignal": true; }; "enableButtonInsert": { "alias": "enableButtonInsert"; "required": false; "isSignal": true; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "outputRaw": "outputRaw"; "outputHtml": "outputHtml"; "previewHtmlOutput": "previewHtmlOutput"; "onCustomButtonClick": "onCustomButtonClick"; "idRelatorioInitial": "idRelatorioInitialChange"; }, never, never, false, never>;
|
|
120
121
|
}
|
|
@@ -153,7 +153,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
153
153
|
onClickEvent(event: any): void;
|
|
154
154
|
styleSetter(style: string, data: string): void;
|
|
155
155
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
156
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
156
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
157
157
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
158
158
|
checkHideColumns(): void;
|
|
159
159
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -139,7 +139,7 @@ export declare class KvTableDraggableComponent implements OnInit, DoCheck, After
|
|
|
139
139
|
onClickEvent(event: any): void;
|
|
140
140
|
styleSetter(style: string, data: string): void;
|
|
141
141
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
142
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
142
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
143
143
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
144
144
|
checkHideColumns(): void;
|
|
145
145
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
68
68
|
onGlobalFilter(table: Table, event: Event): void;
|
|
69
69
|
executeCollapsed(): void;
|
|
70
70
|
checkMenuFiltro(col: any): void;
|
|
71
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
71
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
72
72
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
73
73
|
dinamicColumnSet(e: any, col: any): void;
|
|
74
74
|
addColumn(field: string): void;
|
|
@@ -32,7 +32,7 @@ export declare class KvTableViewerComponent implements OnDestroy {
|
|
|
32
32
|
elementRef: ElementRef<any>;
|
|
33
33
|
renderer: Renderer2;
|
|
34
34
|
columns: import("@angular/core").InputSignal<ColumnTableViewer[]>;
|
|
35
|
-
actionsRow: import("@angular/core").InputSignal<
|
|
35
|
+
actionsRow: import("@angular/core").InputSignal<[] | MenuItem[]>;
|
|
36
36
|
actionsHeader: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
37
37
|
actionsLote: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
38
38
|
data: import("@angular/core").InputSignal<any[]>;
|
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';
|