keevo-components 1.8.357 → 1.8.359

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.
Files changed (68) hide show
  1. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +1 -1
  2. package/esm2022/lib/api/base-components/base-component-table.mjs +1 -1
  3. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  4. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  5. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  6. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  7. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
  8. package/esm2022/lib/api/services/image.cutter.service.mjs +2 -2
  9. package/esm2022/lib/api/services/notification.service.mjs +3 -3
  10. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
  11. package/esm2022/lib/components/kv-button/kv-button.component.mjs +19 -28
  12. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
  13. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +6 -3
  14. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
  15. package/esm2022/lib/components/kv-error/kv-error.component.mjs +2 -2
  16. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +3 -3
  17. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +1 -1
  18. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
  19. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +16 -4
  20. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
  21. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
  22. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
  23. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
  24. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
  25. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
  26. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
  27. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
  28. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
  29. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
  30. package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +3 -3
  31. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
  32. package/esm2022/lib/components/kv-label/kv-label.component.mjs +2 -2
  33. package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +1 -1
  34. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +10 -3
  35. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +2 -2
  36. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
  37. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +1 -1
  38. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +2 -2
  39. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +2 -2
  40. package/esm2022/lib/components/kv-table/kv-table.component.mjs +35 -30
  41. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +2 -2
  42. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +9 -9
  43. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
  44. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +2 -2
  45. package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +1 -1
  46. package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +1 -1
  47. package/fesm2022/keevo-components.mjs +138 -119
  48. package/fesm2022/keevo-components.mjs.map +1 -1
  49. package/lib/api/base-components/base-component-crud-list.d.ts +2 -2
  50. package/lib/api/base-components/base-component-table.d.ts +8 -8
  51. package/lib/api/components/table/table.config.column.d.ts +13 -5
  52. package/lib/api/components/table/table.config.d.ts +4 -4
  53. package/lib/api/components/table/tabledit.config.d.ts +1 -1
  54. package/lib/api/components/table/tableedit.config.column.d.ts +2 -2
  55. package/lib/api/components/tree-table/tree-table.config.d.ts +1 -1
  56. package/lib/components/kv-button/kv-button.component.d.ts +10 -10
  57. package/lib/components/kv-carousel/kv-carousel.component.d.ts +2 -1
  58. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +6 -2
  59. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +4 -1
  60. package/lib/components/kv-table/kv-table.component.d.ts +37 -42
  61. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +1 -1
  62. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +17 -17
  63. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +1 -1
  64. package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +1 -1
  65. package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/esm2022/lib/api/types/severity.mjs +0 -2
  68. package/lib/api/types/severity.d.ts +0 -2
@@ -15,10 +15,10 @@ export declare abstract class BaseComponentCrudList extends BaseComponentCrud im
15
15
  router: Router;
16
16
  dataSource: any;
17
17
  selectedItem: any;
18
- tableConfig: TableConfig | TreeTableConfig;
18
+ tableConfig: TableConfig<any> | TreeTableConfig;
19
19
  totalRecords: number;
20
20
  actionsPageList: ActionItem[];
21
- table: KvTableComponent;
21
+ table: KvTableComponent<any>;
22
22
  treetable: KvTreetableComponent;
23
23
  constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
24
24
  ngOnInit(): void;
@@ -20,7 +20,7 @@ export declare abstract class BasecomponentTable implements OnInit {
20
20
  */
21
21
  constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, notificationService: NotificationService);
22
22
  imgDefault: string;
23
- config: TableConfig | TableEditConfig | TreeTableConfig;
23
+ config: TableConfig<any> | TableEditConfig | TreeTableConfig;
24
24
  selectedItem: any;
25
25
  selectedSize: any;
26
26
  tamanhoTela: number;
@@ -56,29 +56,29 @@ export declare abstract class BasecomponentTable implements OnInit {
56
56
  doubleClick(e: any, rowData: any): void;
57
57
  returnTooltipRow(rowData: any, col: any): any;
58
58
  retornarRow(rowData: any, col: any, field: string): string;
59
- returnRowClass(rowData: any, col: TableConfigColumn): string;
59
+ returnRowClass(rowData: any, col: TableConfigColumn<any>): string;
60
60
  getCustomTemplate(templatename: string): TemplateRef<any>;
61
61
  returnClassIcon(rowData: any, col: any): string;
62
62
  returnClassChip(rowData: any, col: any): string;
63
63
  returnTooltipIcon(rowData: any, col: any): string;
64
- loadImage(rowData: any, col: TableConfigColumn): string;
64
+ loadImage(rowData: any, col: TableConfigColumn<any>): string;
65
65
  alignColunas(col: any): string;
66
66
  centralizarColunas(col: any): string;
67
67
  alignColunasHeader(col: any): string;
68
68
  formatarValor(valor: number): string;
69
- transformValue(rowData: any, col: TableConfigColumn): any;
69
+ transformValue(rowData: any, col: TableConfigColumn<any>): any;
70
70
  transformCapitalize(value: string): string;
71
71
  onGlobalFilter(table: Table, event: Event): void;
72
72
  onSwitchChange(estado: any, rowData: boolean, col: any): void;
73
- isSwitchField(col: TableConfigColumn): boolean;
73
+ isSwitchField(col: TableConfigColumn<any>): boolean;
74
74
  isDisabledCheckbox(rowData: any): boolean;
75
75
  activeItemLote(selectedItems: any): void;
76
76
  activeItem(rowData: any): void;
77
77
  exibirCampo(field: any, rowData: any): any;
78
78
  selectionChange(value?: never[]): void;
79
- isImageField(col: TableConfigColumn): boolean;
80
- isChipField(col: TableConfigColumn): boolean;
81
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
79
+ isImageField(col: TableConfigColumn<any>): boolean;
80
+ isChipField(col: TableConfigColumn<any>): boolean;
81
+ isBooleanField(rowData: any, col: TableConfigColumn<any>): boolean;
82
82
  paginate($event: any): void;
83
83
  adjustTableSize(): void;
84
84
  onWindowResize(): void;
@@ -1,12 +1,11 @@
1
- export interface TableConfigColumn {
1
+ export type TableConfigColumn<TData> = {
2
2
  position?: number;
3
- field: string;
3
+ field: string & keyof TData;
4
4
  header: string;
5
5
  headerTooltip?: string;
6
6
  fieldType?: string;
7
7
  onlyReadField?: boolean;
8
8
  width?: string;
9
- pipe?: 'date' | 'datetime' | 'dateMonthYear' | 'decimal' | 'cpfcnpj' | 'telefone' | 'codigofipe' | 'money' | 'percentage' | 'capitalize';
10
9
  sortable: boolean;
11
10
  grouped?: boolean;
12
11
  centralize?: boolean;
@@ -21,9 +20,18 @@ export interface TableConfigColumn {
21
20
  align?: string;
22
21
  subtitle?: string;
23
22
  boolean?: boolean;
24
- templateOnly?: 'pai' | 'filho';
23
+ templateOnly?: "pai" | "filho";
25
24
  styleClass?: ((rowData: any, col: any, data?: any) => string);
26
25
  tagColor?: ((rowData: any, col: any, data?: any) => string);
27
26
  tooltipTag?: ((rowData: any, col: any, data?: any) => string);
28
27
  tooltip?: ((rowData: any, col: any, data?: any) => string);
29
- }
28
+ } & ({
29
+ pipe: "date" | "datetime" | "dateMonthYear" | "decimal" | "cpfcnpj" | "telefone" | "codigofipe" | "money" | "percentage" | "capitalize";
30
+ transform?: never;
31
+ } | {
32
+ transform: (value: TData) => any;
33
+ pipe?: never;
34
+ } | {
35
+ transform?: never;
36
+ pipe?: never;
37
+ });
@@ -1,9 +1,9 @@
1
1
  import { TableConfigColumn } from './table.config.column';
2
2
  import { KvMenuItem, ValueOrFn } from './kv-menuitem';
3
- export interface TableConfig {
3
+ export interface TableConfig<TData> {
4
4
  actions?: KvMenuItem[];
5
5
  actionsLote?: ActionsLoteItem[];
6
- columns: TableConfigColumn[];
6
+ columns: TableConfigColumn<TData>[];
7
7
  dataKey?: string;
8
8
  rows?: any;
9
9
  title?: string;
@@ -14,9 +14,9 @@ export interface TableConfig {
14
14
  enableFilter?: boolean;
15
15
  enableSelect?: boolean;
16
16
  enableToggleNodes?: boolean;
17
- disableControlCheckboxFunction?: (rowData: any, rowNode?: any) => boolean;
17
+ disableControlCheckboxFunction?: (rowData: TData, rowNode?: any) => boolean;
18
18
  fieldGroupColorFunction?: (data: any) => string;
19
- disableRow?: (rowData: any) => boolean;
19
+ disableRow?: (rowData: TData) => boolean;
20
20
  }
21
21
  export interface ActionsLoteItem {
22
22
  /**
@@ -1,6 +1,6 @@
1
1
  import { TableConfig } from "./table.config";
2
2
  import { TableEditConfigColumn } from "./tableedit.config.column";
3
- export default interface TableEditConfig extends TableConfig {
3
+ export default interface TableEditConfig extends TableConfig<any> {
4
4
  columns: TableEditConfigColumn[];
5
5
  dataKey: string;
6
6
  reorderableColumns?: boolean;
@@ -1,10 +1,10 @@
1
1
  import FieldDropDownControl from "./table-dropdown-control";
2
2
  import { TableConfigColumn } from "./table.config.column";
3
- export interface TableEditConfigColumn extends TableConfigColumn {
3
+ export type TableEditConfigColumn = TableConfigColumn<any> & {
4
4
  required?: boolean;
5
5
  validator?: any;
6
6
  mask?: string;
7
7
  fieldControlType?: 'text' | 'switch' | 'dropdown' | 'multiselect' | 'number' | 'calendar' | 'mask';
8
8
  fieldDropDownControl?: FieldDropDownControl;
9
9
  disableEditRowCellFunction?: (rowData: any, rowNode?: any) => boolean;
10
- }
10
+ };
@@ -5,7 +5,7 @@ export interface TreeTableConfig {
5
5
  actions?: KvMenuItem[];
6
6
  actionsLote?: ActionsLoteItem[];
7
7
  actionsPai?: ActionsPaiItem[];
8
- columns: TableConfigColumn[];
8
+ columns: TableConfigColumn<any>[];
9
9
  dataKey?: string;
10
10
  rows?: any;
11
11
  title?: string;
@@ -1,15 +1,15 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class KvButtonComponent {
4
- label: string;
5
- icon: string;
6
- loading: boolean;
7
- disabled: boolean;
8
- severity: 'primary' | 'secondary' | 'tertiary';
9
- size: 'small' | 'normal' | 'large';
10
- fullWidth: boolean;
11
- onClick: EventEmitter<any>;
3
+ fullWidth: import("@angular/core").InputSignal<boolean>;
4
+ type: import("@angular/core").InputSignal<"text" | "outline" | undefined>;
5
+ loading: import("@angular/core").InputSignal<boolean>;
6
+ severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
7
+ size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
8
+ icon: import("@angular/core").InputSignal<string>;
9
+ label: import("@angular/core").InputSignal<string>;
10
+ disabled: import("@angular/core").InputSignal<boolean>;
11
+ onClick: import("@angular/core").OutputEmitterRef<any>;
12
12
  constructor();
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
15
15
  }
@@ -7,10 +7,11 @@ export declare class KvCarouselComponent {
7
7
  heightCarousel: import("@angular/core").InputSignal<number | undefined>;
8
8
  heightComputed: import("@angular/core").Signal<any>;
9
9
  carouselData: any[];
10
+ autoplayInterval: number;
10
11
  widthCarousel: number;
11
12
  isCollapsed: boolean;
12
13
  constructor(cd: ChangeDetectorRef);
13
14
  navigateToLink(link: string): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<KvCarouselComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<KvCarouselComponent, "kv-carousel", never, { "heightCarousel": { "alias": "heightCarousel"; "required": false; "isSignal": true; }; "carouselData": { "alias": "carouselData"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvCarouselComponent, "kv-carousel", never, { "heightCarousel": { "alias": "heightCarousel"; "required": false; "isSignal": true; }; "carouselData": { "alias": "carouselData"; "required": false; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; }; }, {}, never, never, false, never>;
16
17
  }
@@ -1,4 +1,4 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import { DialogService } from 'primeng/dynamicdialog';
3
3
  import { BaseComponentDropDown } from '../../../api/base-components/base-component-dropdown';
4
4
  import { ComponentService } from '../../../api/services/component.service';
@@ -10,7 +10,11 @@ export declare class KvDropdownComponent extends BaseComponentDropDown implement
10
10
  dropDowValue: any;
11
11
  itemTemplate: TemplateRef<any>;
12
12
  selectedItemTemplate: TemplateRef<any>;
13
+ virtualScroll: boolean;
14
+ virtualScrollItemSize: number;
15
+ onLazyLoad: EventEmitter<any>;
13
16
  ngOnInit(): void;
17
+ onInputLazyLoad(event: any): void;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<KvDropdownComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<KvDropdownComponent, "kv-dropdown", never, { "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dropDowValue": { "alias": "dropDowValue"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; }, {}, never, ["*"], false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvDropdownComponent, "kv-dropdown", never, { "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dropDowValue": { "alias": "dropDowValue"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; }, { "onLazyLoad": "onLazyLoad"; }, never, ["*"], false, never>;
16
20
  }
@@ -56,6 +56,8 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
56
56
  showMenu: boolean;
57
57
  showTrocaEmpresa: boolean;
58
58
  userName: string;
59
+ masterName: string;
60
+ empresaName: string;
59
61
  accessKeePassEmit: EventEmitter<any>;
60
62
  changeEmpresaEmit: EventEmitter<boolean>;
61
63
  changeLicenseEmit: EventEmitter<number>;
@@ -109,6 +111,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
109
111
  toggleMenu(): void;
110
112
  navigateToDefaultRoute(): void;
111
113
  getSidebarState(): "expanded" | "collapsed";
114
+ get exibirNomes(): string | false;
112
115
  static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; "isSignal": true; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; }, { "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, ["topMenuActions"], ["*"], false, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; "isSignal": true; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "masterName": { "alias": "masterName"; "required": false; }; "empresaName": { "alias": "empresaName"; "required": false; }; }, { "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, ["topMenuActions"], ["*"], false, never>;
114
117
  }
@@ -9,7 +9,7 @@ import { TableConfigColumn } from '../../api/components/table/table.config.colum
9
9
  import { TablePaginate } from '../../api/components/table/table.paginate';
10
10
  import { TelefonePipe } from '../../api/pipes/telefone.pipe';
11
11
  import * as i0 from "@angular/core";
12
- export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit {
12
+ export declare class KvTableComponent<TData> implements OnInit, DoCheck, AfterViewInit {
13
13
  private readonly datePipe;
14
14
  private readonly decimalPipe;
15
15
  private readonly cpfCnpjPipe;
@@ -21,30 +21,25 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
21
21
  selectedSize: string;
22
22
  tamanhoTela: number;
23
23
  checked: boolean;
24
- columns: TableConfigColumn[];
25
- deletedColuns: TableConfigColumn[];
24
+ columns: TableConfigColumn<TData>[];
25
+ deletedColuns: TableConfigColumn<TData>[];
26
26
  prepositions: string[];
27
27
  menuFiltro: boolean;
28
28
  checkboxClicked: boolean;
29
- showFiltrosAvancados: boolean;
30
29
  collapsed: boolean;
31
30
  tableActions: MenuItem[][];
32
- currDataSource: any[];
33
- dataIndex: {
34
- [key: string]: any;
35
- };
31
+ currDataSource: TData[];
36
32
  menuItems: MenuItem[];
37
33
  actionsOffset: number;
38
34
  templates: QueryList<any>;
39
35
  _templates: any;
40
36
  table: Table;
41
- deletedColumnsIndex: any[];
42
37
  ptable: Table;
43
- set setConfig(value: TableConfig);
38
+ set setConfig(value: TableConfig<TData>);
44
39
  first: import("@angular/core").ModelSignal<number>;
45
40
  rows: import("@angular/core").ModelSignal<number>;
46
- defaultSortField: string;
47
- dataSource: any[];
41
+ defaultSortField: keyof TData | undefined;
42
+ dataSource: TData[];
48
43
  selectedItems: any[];
49
44
  totalRecords: number;
50
45
  paginator: boolean;
@@ -59,7 +54,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
59
54
  scrollHeight: string;
60
55
  isTableScrollable: boolean;
61
56
  tableCaptalized: boolean;
62
- rowTrackBy: Function;
57
+ rowTrackBy: (index: number, item: TData) => any;
63
58
  responsiveLayout: boolean;
64
59
  disabledHeaderCheckbox: boolean;
65
60
  /**
@@ -74,7 +69,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
74
69
  * @deprecated A quantidade de paginitorPageIcons é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
75
70
  */
76
71
  showFirstLastIcon: boolean;
77
- onActiveItem: EventEmitter<any>;
72
+ onActiveItem: EventEmitter<TData>;
78
73
  onActiveItemLote: EventEmitter<any>;
79
74
  onPaginate: EventEmitter<TablePaginate>;
80
75
  onSelectionChange: EventEmitter<any>;
@@ -89,58 +84,58 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
89
84
  ngDoCheck(): void;
90
85
  ngOnInit(): void;
91
86
  ngAfterViewInit(): void;
92
- definirColunasConfiguraveis(config: TableConfig): void;
93
- definirFiltrosGlobais(config: TableConfig): void;
87
+ definirColunasConfiguraveis(config: TableConfig<TData>): void;
88
+ definirFiltrosGlobais(config: TableConfig<TData>): void;
94
89
  resetTable(): void;
95
90
  onWindowResize(): void;
96
- activeItem(rowData: any): void;
91
+ activeItem(rowData: TData): void;
97
92
  getOrExecute<T>(action: ValueOrFn<T>, data: any): T;
98
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
99
- isChipField(col: TableConfigColumn): boolean;
93
+ isBooleanField(rowData: TData, col: TableConfigColumn<TData>): boolean;
94
+ isChipField(col: TableConfigColumn<TData>): boolean;
100
95
  protected onPage(event: TablePageEvent): void;
101
- isImageField(col: TableConfigColumn): boolean;
102
- isSwitchField(col: TableConfigColumn): boolean;
96
+ isImageField(col: TableConfigColumn<TData>): boolean;
97
+ isSwitchField(col: TableConfigColumn<TData>): boolean;
103
98
  isRowSelectable(event: any): boolean;
104
- isDisabledCheckbox(rowData: any): boolean;
105
- isDisabledRow(rowData: any): boolean;
106
- getStyleClass(rowData: any, col: TableConfigColumn, data: any): string;
99
+ isDisabledCheckbox(rowData: TData): boolean;
100
+ isDisabledRow(rowData: TData): boolean;
101
+ private getStyleClass;
107
102
  verificaCursor(): void;
108
- loadImage(rowData: any, col: TableConfigColumn): string;
103
+ loadImage(rowData: any, col: TableConfigColumn<TData>): string;
109
104
  onGlobalFilter(table: Table, event: Event): void;
110
105
  paginate(event: any): void;
111
106
  selectionChange(value: any): void;
112
107
  activeItemLote(selectedItems: any): void;
113
- returnRowClass(rowData: any, col: TableConfigColumn): string;
114
- expiredFile(rowData: any, col: TableConfigColumn): boolean;
115
- transformValue(rowData: any, col: TableConfigColumn): any;
108
+ returnRowClass(rowData: any, col: TableConfigColumn<TData>): string;
109
+ private expiredFile;
110
+ transformValue(rowData: any, col: TableConfigColumn<TData>): any;
116
111
  transformCapitalize(value: string): string;
117
112
  formatarValor(valor: number): string;
118
113
  adjustTableSize(): void;
119
114
  doubleClick(e: any, rowData: any): void;
120
- retornarRow(rowData: any, col: any, field: string): string;
121
- exibirCampo(field: any, rowData: any): any;
122
- returnClassChip(rowData: any, col: any): string;
123
- returnClassIcon(rowData: any, col: any): string;
124
- returnTooltipIcon(rowData: any, col: any): string;
125
- returnTooltipRow(rowData: any, col: any): any;
115
+ retornarRow(rowData: TData, col: TableConfigColumn<TData>, field: string): string;
116
+ private exibirCampo;
117
+ returnClassChip(rowData: TData, col: TableConfigColumn<TData>): string;
118
+ returnClassIcon(rowData: TData, col: TableConfigColumn<TData>): string;
119
+ returnTooltipIcon(rowData: TData, col: TableConfigColumn<TData>): string;
120
+ returnTooltipRow(rowData: TData, col: TableConfigColumn<TData>): any;
126
121
  deleteColumn(field: string): void;
127
122
  addColumn(field: string): void;
128
- dinamicColumnSet(e: any, col: any): void;
123
+ dinamicColumnSet(e: any, col: TableConfigColumn<TData>): void;
129
124
  abrirMenuFiltro(e: any): void;
130
125
  fecharMenuFiltro(): void;
131
126
  onEscapeKey(event: KeyboardEvent): void;
132
127
  onClickEvent(event: any): void;
133
128
  styleSetter(style: string, data: string): void;
134
- checkMenuFiltro(col: any): void;
129
+ checkMenuFiltro(col: TableConfigColumn<TData>): void;
135
130
  sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
136
- dinamicDisableColumn(col: TableConfigColumn): boolean;
131
+ dinamicDisableColumn(col: TableConfigColumn<TData>): boolean;
137
132
  checkHideColumns(): void;
138
133
  getCustomTemplate(templatename: string): TemplateRef<any>;
139
- onSwitchChange(estado: any, rowData: any, col: any): void;
134
+ onSwitchChange(estado: any, rowData: TData, col: TableConfigColumn<TData>): void;
140
135
  createTableActions(): void;
141
136
  onSort(e: any): void;
142
- get config(): TableConfig;
143
- columnsFilter: import("@angular/core").Signal<TableConfigColumn[]>;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
137
+ get config(): TableConfig<TData>;
138
+ columnsFilter: import("@angular/core").Signal<TableConfigColumn<TData>[]>;
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent<any>, never>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent<any>, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], never, false, never>;
146
141
  }
@@ -54,7 +54,7 @@ export declare class KvTableEditComponent extends BasecomponentTable implements
54
54
  isDisableEditRowFunction(rowData: any): boolean;
55
55
  isDisableEditRowCellFunction(rowData: any, col: any): boolean;
56
56
  isEditableTable(): boolean | null;
57
- transformValueDrop(value: any, col: TableConfigColumn): any;
57
+ transformValueDrop(value: any, col: TableConfigColumn<any>): any;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTableEditComponent, never>;
59
59
  static ɵcmp: i0.ɵɵComponentDeclaration<KvTableEditComponent, "kv-table-edit", never, { "enableSizes": { "alias": "enableSizes"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "onSave": "onSave"; "filterField": "filterField"; }, never, ["*"], false, never>;
60
60
  }
@@ -9,17 +9,17 @@ import { TelefonePipe } from '../../api/pipes/telefone.pipe';
9
9
  import { MenuItem } from 'primeng/api';
10
10
  import { TablePaginate } from '../../api/components/table/table.paginate';
11
11
  import * as i0 from "@angular/core";
12
- export declare class KvTableExpandableComponent implements OnInit, DoCheck {
12
+ export declare class KvTableExpandableComponent<TData> implements OnInit, DoCheck {
13
13
  private readonly datePipe;
14
14
  private readonly decimalPipe;
15
15
  private readonly cpfCnpjPipe;
16
16
  private readonly telefonePipe;
17
17
  expandedRows: any;
18
- config: TableConfig;
18
+ config: TableConfig<TData>;
19
19
  globalFilterFields: string[];
20
20
  tamanhoTela: number;
21
- columns: TableConfigColumn[];
22
- deletedColuns: TableConfigColumn[];
21
+ columns: TableConfigColumn<TData>[];
22
+ deletedColuns: TableConfigColumn<TData>[];
23
23
  dataIndex: {
24
24
  [key: string]: any;
25
25
  };
@@ -30,11 +30,11 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
30
30
  data: any;
31
31
  actions?: MenuItem[];
32
32
  }[];
33
- currDataSource: any[];
33
+ currDataSource: TData[];
34
34
  _templates: any;
35
- set setConfig(value: TableConfig);
35
+ set setConfig(value: TableConfig<TData>);
36
36
  filtrosAvancados: boolean;
37
- dataSource: any[];
37
+ dataSource: TData[];
38
38
  selectedItems: any[];
39
39
  tableCaptalized: boolean;
40
40
  applyStyle: Function;
@@ -65,7 +65,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
65
65
  executeCollapsed(): void;
66
66
  checkMenuFiltro(col: any): void;
67
67
  sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
68
- dinamicDisableColumn(col: TableConfigColumn): boolean;
68
+ dinamicDisableColumn(col: TableConfigColumn<TData>): boolean;
69
69
  dinamicColumnSet(e: any, col: any): void;
70
70
  addColumn(field: string): void;
71
71
  deleteColumn(field: string): void;
@@ -76,10 +76,10 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
76
76
  retornarRow(rowData: any, col: any, field: string): string;
77
77
  returnTooltipRow(rowData: any, col: any): any;
78
78
  getOrExecute<T>(action: ValueOrFn<T>, data: any): T;
79
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
80
- isChipField(col: TableConfigColumn): boolean;
81
- isImageField(col: TableConfigColumn): boolean;
82
- isSwitchField(col: TableConfigColumn): boolean;
79
+ isBooleanField(rowData: any, col: TableConfigColumn<TData>): boolean;
80
+ isChipField(col: TableConfigColumn<TData>): boolean;
81
+ isImageField(col: TableConfigColumn<TData>): boolean;
82
+ isSwitchField(col: TableConfigColumn<TData>): boolean;
83
83
  isRowSelectable(event: any): boolean;
84
84
  activeItemLote(selectedItems: any): void;
85
85
  selectItem(event: any, group: any): void;
@@ -91,15 +91,15 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
91
91
  selectAll(event: any): void;
92
92
  isAllIndeterminate(): boolean;
93
93
  isAllSelected(): boolean;
94
- transformValue(rowData: any, col: TableConfigColumn): any;
94
+ transformValue(rowData: any, col: TableConfigColumn<TData>): any;
95
95
  getCustomTemplate(templatename: string): TemplateRef<any>;
96
96
  formatarValor(valor: number): string;
97
- returnRowClass(rowData: any, col: TableConfigColumn): string;
97
+ returnRowClass(rowData: any, col: TableConfigColumn<TData>): string;
98
98
  returnClassChip(rowData: any, col: any): string;
99
99
  returnClassIcon(rowData: any, col: any): string;
100
100
  returnTooltipIcon(rowData: any, col: any): string;
101
101
  isDisabledCheckbox(rowData: any): boolean;
102
- loadImage(rowData: any, col: TableConfigColumn): string;
102
+ loadImage(rowData: any, col: TableConfigColumn<TData>): string;
103
103
  onSwitchChange(estado: any, rowData: boolean, col: any): void;
104
104
  paginate(event: any): void;
105
105
  selectionChange(value: any): void;
@@ -108,6 +108,6 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
108
108
  createDataIndex(): void;
109
109
  returnRowDataActions(rowData: any): void;
110
110
  onSort(e: any): void;
111
- static ɵfac: i0.ɵɵFactoryDeclaration<KvTableExpandableComponent, never>;
112
- static ɵcmp: i0.ɵɵComponentDeclaration<KvTableExpandableComponent, "kv-table-expandable", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showTopHeader": { "alias": "showTopHeader"; "required": false; }; "showButtonCollapsed": { "alias": "showButtonCollapsed"; "required": false; }; }, { "filterField": "filterField"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onSwitchTableChange": "onSwitchTableChange"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
111
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTableExpandableComponent<any>, never>;
112
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTableExpandableComponent<any>, "kv-table-expandable", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showTopHeader": { "alias": "showTopHeader"; "required": false; }; "showButtonCollapsed": { "alias": "showButtonCollapsed"; "required": false; }; }, { "filterField": "filterField"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onSwitchTableChange": "onSwitchTableChange"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
113
113
  }
@@ -72,7 +72,7 @@ export declare class KvTreetableComponent {
72
72
  getCustomTemplate(templatename: string): TemplateRef<any>;
73
73
  validateShowTemplate(rowNode: any, col: any): boolean;
74
74
  getIcon(icon: string): string;
75
- align(col: TableConfigColumn): string;
75
+ align(col: TableConfigColumn<any>): string;
76
76
  resetTreeTable(): void;
77
77
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableComponent, never>;
78
78
  static ɵcmp: i0.ɵɵComponentDeclaration<KvTreetableComponent, "kv-tree-table", never, { "disableRowNodeSticky": { "alias": "disableRowNodeSticky"; "required": false; }; "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "treeTableDraggable": { "alias": "treeTableDraggable"; "required": false; }; "transferArrayItem": { "alias": "transferArrayItem"; "required": false; }; "ordenacao": { "alias": "ordenacao"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "textoEmptyMessage": { "alias": "textoEmptyMessage"; "required": false; }; "childrenRecoil": { "alias": "childrenRecoil"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onDropItem": "onDropItem"; }, ["templates"], never, false, never>;
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { TableConfig } from '../../../api/components/table/table.config';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WorkspaceEmpresaComponent implements OnInit {
5
- tableConfig: TableConfig;
5
+ tableConfig: TableConfig<any>;
6
6
  empresas: any[];
7
7
  empresaSelecionada: any;
8
8
  totalEmpresas: number;
@@ -3,7 +3,7 @@ import { TableConfig } from '../../../api/components/table/table.config';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WorkspaceMasterComponent implements OnInit {
5
5
  dataSource: any;
6
- tableConfig: TableConfig;
6
+ tableConfig: TableConfig<any>;
7
7
  masters: any[];
8
8
  masterSelecionada: any;
9
9
  onMasterSelecionada: EventEmitter<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.357",
3
+ "version": "1.8.359",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V2ZXJpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvYXBpL3R5cGVzL3NldmVyaXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJ0eXBlIFNldmVyaXR5ID0gXCJwcmltYXJ5XCIgfCBcInNlY29uZGFyeVwiIHwgXCJzdWNjZXNzXCIgfCBcImluZm9cIiB8IFwid2FybmluZ1wiIHwgXCJoZWxwXCIgfCBcImRhbmdlclwiO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgU2V2ZXJpdHk7XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- type Severity = "primary" | "secondary" | "success" | "info" | "warning" | "help" | "danger";
2
- export default Severity;