keevo-components 1.8.323 → 1.8.325
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/components/table/table.config.column.mjs +1 -1
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +2 -2
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +1 -1
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +7 -3
- package/fesm2022/keevo-components.mjs +8 -4
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/components/table/table.config.column.d.ts +1 -0
- package/lib/components/kv-loader/kv-loader.service.d.ts +2 -2
- package/lib/components/kv-table/kv-table.component.d.ts +2 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ export interface TableConfigColumn {
|
|
|
22
22
|
subtitle?: string;
|
|
23
23
|
boolean?: boolean;
|
|
24
24
|
templateOnly?: 'pai' | 'filho';
|
|
25
|
+
styleClass?: ((rowData: any, col: any, data?: any) => string);
|
|
25
26
|
tagColor?: ((rowData: any, col: any, data?: any) => string);
|
|
26
27
|
tooltipTag?: ((rowData: any, col: any, data?: any) => string);
|
|
27
28
|
tooltip?: ((rowData: any, col: any, data?: any) => string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
1
|
+
import { Observable, Subject } from 'rxjs';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class KvLoaderService {
|
|
4
4
|
static isLoading: Subject<boolean>;
|
|
@@ -7,4 +7,4 @@ export declare class KvLoaderService {
|
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderService, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<KvLoaderService>;
|
|
9
9
|
}
|
|
10
|
-
export declare const loading: () =>
|
|
10
|
+
export declare const loading: <T>() => (src: Observable<T>) => Observable<T>;
|
|
@@ -97,6 +97,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
97
97
|
isRowSelectable(event: any): boolean;
|
|
98
98
|
isDisabledCheckbox(rowData: any): boolean;
|
|
99
99
|
isDisabledRow(rowData: any): boolean;
|
|
100
|
+
getStyleClass(rowData: any, col: TableConfigColumn, data: any): string;
|
|
100
101
|
verificaCursor(): void;
|
|
101
102
|
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
102
103
|
onGlobalFilter(table: Table, event: Event): void;
|
|
@@ -126,7 +127,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
126
127
|
onClickEvent(event: any): void;
|
|
127
128
|
styleSetter(style: string, data: string): void;
|
|
128
129
|
checkMenuFiltro(col: any): void;
|
|
129
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
130
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
130
131
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
131
132
|
checkHideColumns(): void;
|
|
132
133
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -64,7 +64,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
64
64
|
onGlobalFilter(table: Table, event: Event): void;
|
|
65
65
|
executeCollapsed(): void;
|
|
66
66
|
checkMenuFiltro(col: any): void;
|
|
67
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
67
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
68
68
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
69
69
|
dinamicColumnSet(e: any, col: any): void;
|
|
70
70
|
addColumn(field: string): void;
|