keevo-components 1.5.74 → 1.5.76
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/esm2020/lib/api/base-components/base-component-input.mjs +8 -2
- package/esm2020/lib/inputs/input-text/input-text.component.mjs +3 -3
- package/esm2020/lib/table/table.component.mjs +36 -16
- package/fesm2015/keevo-components.mjs +37 -11
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +37 -11
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-input.d.ts +3 -1
- package/lib/table/table.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare abstract class BaseComponentInput<T> extends BaseComponent<T> imp
|
|
|
10
10
|
protected hasError: boolean | undefined;
|
|
11
11
|
placeholder: string;
|
|
12
12
|
onBlur: EventEmitter<any>;
|
|
13
|
+
onInput: EventEmitter<any>;
|
|
13
14
|
onClose: EventEmitter<any>;
|
|
14
15
|
viewErrors: QueryList<ErrorComponent>;
|
|
15
16
|
contentErrors: QueryList<ErrorComponent>;
|
|
@@ -23,7 +24,8 @@ export declare abstract class BaseComponentInput<T> extends BaseComponent<T> imp
|
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
onInputBlur(event: Event): void;
|
|
25
26
|
onInputClose(event: Event): void;
|
|
27
|
+
onInputInput(event: Event): void;
|
|
26
28
|
protected setPlaceHolder(p: string): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentInput<any>, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentInput<any>, "ng-component", never, { "placeholder": "placeholder"; }, { "onBlur": "onBlur"; "onClose": "onClose"; }, ["contentErrors"], never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentInput<any>, "ng-component", never, { "placeholder": "placeholder"; }, { "onBlur": "onBlur"; "onInput": "onInput"; "onClose": "onClose"; }, ["contentErrors"], never, false, never>;
|
|
29
31
|
}
|
|
@@ -7,6 +7,7 @@ import { CodigoFipePipe } from '../pipes/codigofile.pipe';
|
|
|
7
7
|
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
8
8
|
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
9
9
|
import { KvMenuItem } from '../api/components/table/kv-menuitem';
|
|
10
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class TableComponent implements OnInit {
|
|
12
13
|
private readonly datePipe;
|
|
@@ -16,6 +17,7 @@ export declare class TableComponent implements OnInit {
|
|
|
16
17
|
private readonly telefonePipe;
|
|
17
18
|
private renderer;
|
|
18
19
|
private elementRef;
|
|
20
|
+
private sanitizer;
|
|
19
21
|
config: TableConfig;
|
|
20
22
|
pesquisaValue: string;
|
|
21
23
|
globalFilterFields: string[];
|
|
@@ -52,13 +54,15 @@ export declare class TableComponent implements OnInit {
|
|
|
52
54
|
filterField: EventEmitter<any>;
|
|
53
55
|
menuFiltroDiv: ElementRef;
|
|
54
56
|
botaoFiltro: ElementRef;
|
|
55
|
-
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef);
|
|
57
|
+
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
|
|
56
58
|
ngOnInit(): void;
|
|
57
59
|
onWindowResize(): void;
|
|
58
60
|
activeItem(rowData: any): void;
|
|
59
61
|
activeItemLote(rowData: any): void;
|
|
60
62
|
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
61
63
|
isChipField(col: TableConfigColumn): boolean;
|
|
64
|
+
isImageField(col: TableConfigColumn): boolean;
|
|
65
|
+
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
62
66
|
onGlobalFilter(table: Table, event: Event): void;
|
|
63
67
|
paginate(event: any): void;
|
|
64
68
|
selectionChange(value?: never[]): void;
|