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.
@@ -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: () => any;
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) => 1 | 0 | -1;
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) => 1 | 0 | -1;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.323",
3
+ "version": "1.8.325",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",