keevo-components 1.8.256 → 1.8.257

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.
@@ -17,6 +17,7 @@ export interface TreeTableConfig {
17
17
  enableSelect?: boolean;
18
18
  enableToggleNodes?: boolean;
19
19
  disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
20
+ disableControlEnableFunction?: (rowData: any, rowNode?: any) => boolean;
20
21
  }
21
22
  interface ActionsPaiItem {
22
23
  severity?: 'primary' | 'secondary' | 'tertiary';
@@ -126,7 +126,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
126
126
  onClickEvent(event: any): void;
127
127
  styleSetter(style: string, data: string): void;
128
128
  checkMenuFiltro(col: any): void;
129
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
129
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
130
130
  dinamicDisableColumn(col: TableConfigColumn): boolean;
131
131
  checkHideColumns(): void;
132
132
  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) => 0 | 1 | -1;
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;
@@ -7,6 +7,7 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
7
7
  import { TableConfigColumn } from '../../api/components/table/table.config.column';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class KvTreetableComponent {
10
+ private elementRef;
10
11
  menuItems: MenuItem[];
11
12
  tamanhoTela: number;
12
13
  config: TreeTableConfig;
@@ -22,6 +23,7 @@ export declare class KvTreetableComponent {
22
23
  totalRecords: number;
23
24
  textoEmptyMessage: string;
24
25
  childrenRecoil: boolean;
26
+ constructor(elementRef: ElementRef);
25
27
  /**
26
28
  * @deprecated O valor de pageLinks é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
27
29
  */
@@ -46,7 +48,7 @@ export declare class KvTreetableComponent {
46
48
  templates: QueryList<any>;
47
49
  _templates: any;
48
50
  pTreeTable: TreeTable;
49
- inputField: ElementRef;
51
+ inputBusca: ElementRef;
50
52
  onWindowResize(): void;
51
53
  activeItem(rowData: any): void;
52
54
  activeItemLote(rowData: any): void;
@@ -61,6 +63,7 @@ export declare class KvTreetableComponent {
61
63
  validateActionPosition(rowNode: any): boolean;
62
64
  doubleClick(e: any, rowData: any): void;
63
65
  isDisabledCheckbox(rowData: any, rowNode: any): boolean;
66
+ isSelectEnabled(rowData: any, rowNode: any): boolean;
64
67
  onNodeSelected(event: any): void;
65
68
  onNodeUnselected(event: any): void;
66
69
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -3,8 +3,9 @@ import * as i1 from "./kv-tree-table.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../../api/modules/primeng.module";
5
5
  import * as i4 from "../kv-button/kv-button.module";
6
+ import * as i5 from "../kv-inputs/kv-inputs.module";
6
7
  export declare class KvTreetableModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvTreetableModule, [typeof i1.KvTreetableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonModule], [typeof i1.KvTreetableComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvTreetableModule, [typeof i1.KvTreetableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonModule, typeof i5.KvInputsModule, typeof i4.KvButtonModule], [typeof i1.KvTreetableComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<KvTreetableModule>;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.256",
3
+ "version": "1.8.257",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",