keevo-components 2.0.170 → 2.0.172

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.
@@ -142,7 +142,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
142
142
  onClickEvent(event: any): void;
143
143
  styleSetter(style: string, data: string): void;
144
144
  checkMenuFiltro(col: TableConfigColumn): void;
145
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
145
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
146
146
  dinamicDisableColumn(col: TableConfigColumn): boolean;
147
147
  checkHideColumns(): void;
148
148
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -139,7 +139,7 @@ export declare class KvTableDraggableComponent implements OnInit, DoCheck, After
139
139
  onClickEvent(event: any): void;
140
140
  styleSetter(style: string, data: string): void;
141
141
  checkMenuFiltro(col: TableConfigColumn): void;
142
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
142
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
143
143
  dinamicDisableColumn(col: TableConfigColumn): boolean;
144
144
  checkHideColumns(): void;
145
145
  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;
@@ -1,14 +1,6 @@
1
- import { EventEmitter, WritableSignal } from '@angular/core';
2
- import { NoArvore, NoArvoreSimples, ConfigArvoreSimples, EstruturaArvore, DadosArvore } from '../../models/no-arvore.model';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { NoArvore, NoArvoreSimples, ConfigArvoreSimples, EstruturaArvore, DadosArvore, NoPlano } from '../../models/no-arvore.model';
3
3
  import * as i0 from "@angular/core";
4
- export interface NoPlano {
5
- id: string;
6
- nivel: number;
7
- expansivel: boolean;
8
- estaExpandido: boolean;
9
- isLast: boolean;
10
- dadosOriginais: NoArvore;
11
- }
12
4
  export declare class KvTreeEnvironmentComponent {
13
5
  arvoreDeDados: import("@angular/core").InputSignal<NoArvore[]>;
14
6
  nosSimples: import("@angular/core").InputSignal<NoArvoreSimples[]>;
@@ -19,9 +11,9 @@ export declare class KvTreeEnvironmentComponent {
19
11
  showAddButton: import("@angular/core").InputSignal<boolean>;
20
12
  onAddClick: EventEmitter<void>;
21
13
  private mapaDeExpansao;
22
- listaPlana: WritableSignal<NoPlano[]>;
23
- iconCollapsed: WritableSignal<string>;
24
- collapsedAll: WritableSignal<boolean>;
14
+ listaPlana: import("@angular/core").WritableSignal<NoPlano[]>;
15
+ iconCollapsed: import("@angular/core").WritableSignal<string>;
16
+ collapsedAll: import("@angular/core").WritableSignal<boolean>;
25
17
  constructor();
26
18
  ngOnInit(): void;
27
19
  alternarNo(noPlano: NoPlano): void;
@@ -1,6 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { NoArvore } from '../../models/no-arvore.model';
3
- import { NoPlano } from '../kv-tree-environment/kv-tree-environment.component';
2
+ import { NoArvore, NoPlano } from '../../models/no-arvore.model';
4
3
  import { MenuItem } from 'primeng/api';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class NoArvoreComponent {
@@ -1,3 +1,12 @@
1
+ import { MenuItem } from 'primeng/api';
2
+ export interface NoPlano {
3
+ id: string;
4
+ nivel: number;
5
+ expansivel: boolean;
6
+ estaExpandido: boolean;
7
+ isLast: boolean;
8
+ dadosOriginais: NoArvore;
9
+ }
1
10
  export interface NoArvore {
2
11
  rotulo: string;
3
12
  icone: string;
@@ -21,7 +30,6 @@ export interface ConfigArvoreSimples {
21
30
  mostrarBotaoColapsar?: boolean;
22
31
  mostrarBotaoAdicionar?: boolean;
23
32
  }
24
- import { MenuItem } from 'primeng/api';
25
33
  export interface EstruturaArvore {
26
34
  id: number;
27
35
  parentId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.170",
3
+ "version": "2.0.172",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -313,4 +313,5 @@ export * from './lib/components/kv-table-draggable/kv-table-draggable.module';
313
313
  * Tree Environment
314
314
  */
315
315
  export * from './lib/components/kv-tree-environment/components/kv-tree-environment/kv-tree-environment.component';
316
+ export * from './lib/components/kv-tree-environment/components/no-arvore/no-arvore.component';
316
317
  export * from './lib/components/kv-tree-environment/models/no-arvore.model';