keevo-components 2.0.138 → 2.0.140

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.
@@ -141,7 +141,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
141
141
  onClickEvent(event: any): void;
142
142
  styleSetter(style: string, data: string): void;
143
143
  checkMenuFiltro(col: TableConfigColumn): void;
144
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
144
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
145
145
  dinamicDisableColumn(col: TableConfigColumn): boolean;
146
146
  checkHideColumns(): void;
147
147
  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) => 0 | 1 | -1;
71
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
72
72
  dinamicDisableColumn(col: TableConfigColumn): boolean;
73
73
  dinamicColumnSet(e: any, col: any): void;
74
74
  addColumn(field: string): void;
@@ -54,6 +54,10 @@ export declare class KvTableViewerComponent {
54
54
  selectedItem: import("@angular/core").WritableSignal<any>;
55
55
  first: import("@angular/core").WritableSignal<number>;
56
56
  searchValue: import("@angular/core").WritableSignal<string>;
57
+ lastEmittedSort: import("@angular/core").WritableSignal<{
58
+ field: string;
59
+ order: number;
60
+ } | null>;
57
61
  onPageChange: import("@angular/core").OutputEmitterRef<TablePageEvent>;
58
62
  onClickRowItem: import("@angular/core").OutputEmitterRef<any>;
59
63
  onSelectItems: import("@angular/core").OutputEmitterRef<any[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.138",
3
+ "version": "2.0.140",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",