keevo-components 1.5.14 → 1.5.16

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.
@@ -4,4 +4,5 @@ export interface KvMenuItem extends MenuItem {
4
4
  [key: string]: any;
5
5
  fieldcondition?: string;
6
6
  showAcoesLote?: boolean;
7
+ disabled?: any;
7
8
  }
@@ -12,4 +12,6 @@ export interface TableConfigColumn {
12
12
  icon?: string;
13
13
  iconField?: boolean;
14
14
  checked?: boolean;
15
+ hideColumn?: boolean;
16
+ fixedColumn?: boolean;
15
17
  }
@@ -4,7 +4,6 @@ export interface TableConfig {
4
4
  actions: KvMenuItem[];
5
5
  actionsLote?: KvMenuItem[];
6
6
  columns: TableConfigColumn[];
7
- hideColumns?: string[];
8
7
  rows?: any;
9
8
  title?: string;
10
9
  subtitle?: string;
@@ -16,6 +16,7 @@ export declare class InputCalendarComponent extends BaseComponentInput<Date> imp
16
16
  constructor(componentService: ComponentService);
17
17
  writeValue(value: Date): void;
18
18
  ngOnInit(): void;
19
+ teste(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<InputCalendarComponent, never>;
20
21
  static ɵcmp: i0.ɵɵComponentDeclaration<InputCalendarComponent, "kv-input-calendar", never, { "isYear": "isYear"; "isMonthYear": "isMonthYear"; "minDate": "minDate"; "maxDate": "maxDate"; "showButtonBar": "showButtonBar"; "showIcon": "showIcon"; "selectionMode": "selectionMode"; }, {}, never, ["*"], false, never>;
21
22
  }
@@ -7,7 +7,6 @@ import { CodigoFipePipe } from '../pipes/codigofile.pipe';
7
7
  import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
8
8
  import { TelefonePipe } from '../pipes/telefone.pipe';
9
9
  import { KvMenuItem } from '../api/components/table/kv-menuitem';
10
- import { MenuItem } from 'primeng/api';
11
10
  import * as i0 from "@angular/core";
12
11
  export declare class TableComponent implements OnInit {
13
12
  private readonly datePipe;
@@ -22,7 +21,7 @@ export declare class TableComponent implements OnInit {
22
21
  actionsTemplate: TemplateRef<any>;
23
22
  selectedSize: string;
24
23
  tamanhoTela: number;
25
- menuItems: MenuItem[];
24
+ menuItems: KvMenuItem[];
26
25
  menuColumns: KvMenuItem[];
27
26
  checked: boolean;
28
27
  columns: TableConfigColumn[];
@@ -77,6 +76,9 @@ export declare class TableComponent implements OnInit {
77
76
  abrirMenuFiltro(e: any): void;
78
77
  checkMenuFiltro(col: any): void;
79
78
  sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
79
+ callDisabled(action: KvMenuItem, data: any): boolean;
80
+ dinamicDisableColumn(col: TableConfigColumn): boolean;
81
+ checkHideColumns(): void;
80
82
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
81
83
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; }, ["templates"], never, false, never>;
82
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.5.14",
3
+ "version": "1.5.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"