keevo-components 1.8.210 → 1.8.211
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/api/base-components/base-component-table.mjs +32 -3
- package/esm2022/lib/api/helpers/keevo-validators.mjs +18 -1
- package/fesm2022/keevo-components.mjs +48 -2
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-table.d.ts +2 -0
- package/lib/api/helpers/keevo-validators.d.ts +1 -0
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare abstract class BasecomponentTable implements OnInit {
|
|
|
26
26
|
tamanhoTela: number;
|
|
27
27
|
collapsed: boolean;
|
|
28
28
|
globalFilterFields: string[];
|
|
29
|
+
prepositions: string[];
|
|
29
30
|
selectedItems: any[];
|
|
30
31
|
totalRecords: number;
|
|
31
32
|
paginator: boolean;
|
|
@@ -66,6 +67,7 @@ export declare abstract class BasecomponentTable implements OnInit {
|
|
|
66
67
|
alignColunasHeader(col: any): string;
|
|
67
68
|
formatarValor(valor: number): string;
|
|
68
69
|
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
70
|
+
transformCapitalize(value: string): string;
|
|
69
71
|
onGlobalFilter(table: Table, event: Event): void;
|
|
70
72
|
onSwitchChange(estado: any, rowData: boolean, col: any): void;
|
|
71
73
|
isSwitchField(col: TableConfigColumn): boolean;
|
|
@@ -2,6 +2,7 @@ import { ValidatorFn } from '@angular/forms';
|
|
|
2
2
|
export declare class KeevoValidators {
|
|
3
3
|
static required(erroMessage?: string): ValidatorFn;
|
|
4
4
|
static dateGreaterThan(startControlName: string, erroMessage?: string): ValidatorFn;
|
|
5
|
+
static dateLessThan(startControlName: string, erroMessage?: string): ValidatorFn;
|
|
5
6
|
static min(min: number, erroMessage?: string): ValidatorFn;
|
|
6
7
|
static max(min: number, erroMessage?: string): ValidatorFn;
|
|
7
8
|
static email(erroMessage?: string): ValidatorFn;
|
|
@@ -119,7 +119,7 @@ export declare class KvTableComponent implements OnInit, DoCheck {
|
|
|
119
119
|
onClickEvent(event: any): void;
|
|
120
120
|
styleSetter(style: string, data: string): void;
|
|
121
121
|
checkMenuFiltro(col: any): void;
|
|
122
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
122
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
123
123
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
124
124
|
checkHideColumns(): void;
|
|
125
125
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -61,7 +61,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
61
61
|
onGlobalFilter(table: Table, event: Event): void;
|
|
62
62
|
adicionaAcoesTabela(): void;
|
|
63
63
|
checkMenuFiltro(col: any): void;
|
|
64
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
64
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
65
65
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
66
66
|
dinamicColumnSet(e: any, col: any): void;
|
|
67
67
|
addColumn(field: string): void;
|