keevo-components 1.5.142 → 1.5.144

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 (168) hide show
  1. package/README.md +24 -24
  2. package/esm2020/keevo-components.mjs +4 -4
  3. package/esm2020/lib/api/base-components/base-component-button.mjs +36 -36
  4. package/esm2020/lib/api/base-components/base-component-chart.mjs +92 -92
  5. package/esm2020/lib/api/base-components/base-component-crud-form.mjs +278 -278
  6. package/esm2020/lib/api/base-components/base-component-crud-list.mjs +67 -67
  7. package/esm2020/lib/api/base-components/base-component-crud.mjs +65 -65
  8. package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -161
  9. package/esm2020/lib/api/base-components/base-component-input.mjs +93 -93
  10. package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -128
  11. package/esm2020/lib/api/base-components/base-component.mjs +49 -49
  12. package/esm2020/lib/api/components/chart/chart.config.mjs +2 -2
  13. package/esm2020/lib/api/components/chart/chart.model.mjs +2 -2
  14. package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -2
  15. package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -2
  16. package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -2
  17. package/esm2020/lib/api/components/error/error.component.mjs +26 -26
  18. package/esm2020/lib/api/components/error/kverror.module.mjs +35 -35
  19. package/esm2020/lib/api/components/table/action-item.mjs +2 -2
  20. package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -3
  21. package/esm2020/lib/api/components/table/table.config.column.mjs +2 -2
  22. package/esm2020/lib/api/components/table/table.config.mjs +2 -2
  23. package/esm2020/lib/api/components/table/table.paginate.mjs +9 -9
  24. package/esm2020/lib/api/helpers/component-providers.mjs +16 -16
  25. package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -23
  26. package/esm2020/lib/api/models/menu/master.model.mjs +2 -2
  27. package/esm2020/lib/api/models/menu/menu.model.mjs +2 -2
  28. package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -2
  29. package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -2
  30. package/esm2020/lib/api/modules/primeng.module.mjs +247 -247
  31. package/esm2020/lib/api/services/base.api.service.mjs +74 -74
  32. package/esm2020/lib/api/services/component.service.mjs +27 -27
  33. package/esm2020/lib/api/services/form.service.mjs +102 -102
  34. package/esm2020/lib/api/services/imagens.service.mjs +22 -22
  35. package/esm2020/lib/api/services/notification.service.mjs +67 -67
  36. package/esm2020/lib/api/services/object.service.mjs +26 -26
  37. package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -17
  38. package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +30 -30
  39. package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -17
  40. package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -17
  41. package/esm2020/lib/buttons/kvbutton.module.mjs +39 -39
  42. package/esm2020/lib/chart/chart.component.mjs +145 -145
  43. package/esm2020/lib/chart/kvchart.module.mjs +32 -32
  44. package/esm2020/lib/directives/template.directive.mjs +24 -24
  45. package/esm2020/lib/inputs/check/check.component.mjs +26 -26
  46. package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +37 -36
  47. package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +89 -88
  48. package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +23 -22
  49. package/esm2020/lib/inputs/input-number/input-number.component.mjs +57 -56
  50. package/esm2020/lib/inputs/input-password/input-password.component.mjs +33 -32
  51. package/esm2020/lib/inputs/input-text/input-text.component.mjs +21 -20
  52. package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +38 -37
  53. package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +43 -42
  54. package/esm2020/lib/inputs/input-time/input-time.component.mjs +24 -23
  55. package/esm2020/lib/inputs/kvinputs.module.mjs +103 -99
  56. package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +38 -37
  57. package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +49 -49
  58. package/esm2020/lib/inputs/switch/switch.component.mjs +32 -32
  59. package/esm2020/lib/keevo-components.module.mjs +91 -91
  60. package/esm2020/lib/label/label.component.mjs +15 -0
  61. package/esm2020/lib/label/label.module.mjs +24 -0
  62. package/esm2020/lib/login/kvlogin.module.mjs +47 -47
  63. package/esm2020/lib/login/login.component.mjs +38 -38
  64. package/esm2020/lib/menu/kvmenu.module.mjs +43 -43
  65. package/esm2020/lib/menu/menu.component.mjs +220 -212
  66. package/esm2020/lib/orgchart/orgchart.component.mjs +100 -100
  67. package/esm2020/lib/orgchart/orgchart.module.mjs +24 -24
  68. package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -32
  69. package/esm2020/lib/picklist/picklist.component.mjs +48 -48
  70. package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -19
  71. package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -25
  72. package/esm2020/lib/pipes/pipes.module.mjs +34 -34
  73. package/esm2020/lib/pipes/telefone.pipe.mjs +45 -45
  74. package/esm2020/lib/table/kvtable.module.mjs +32 -32
  75. package/esm2020/lib/table/table.component.mjs +476 -476
  76. package/esm2020/lib/tree-table/kv-treetable.component.mjs +290 -290
  77. package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -32
  78. package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -28
  79. package/esm2020/lib/tree-view/tree-view.component.mjs +29 -29
  80. package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -47
  81. package/esm2020/lib/workspace/workspace.component.mjs +77 -77
  82. package/esm2020/public-api.mjs +124 -124
  83. package/fesm2015/keevo-components.mjs +3800 -3756
  84. package/fesm2015/keevo-components.mjs.map +1 -1
  85. package/fesm2020/keevo-components.mjs +3791 -3747
  86. package/fesm2020/keevo-components.mjs.map +1 -1
  87. package/index.d.ts +5 -5
  88. package/lib/api/base-components/base-component-button.d.ts +14 -14
  89. package/lib/api/base-components/base-component-chart.d.ts +40 -40
  90. package/lib/api/base-components/base-component-crud-form.d.ts +134 -134
  91. package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
  92. package/lib/api/base-components/base-component-crud.d.ts +36 -36
  93. package/lib/api/base-components/base-component-dropdown.d.ts +42 -42
  94. package/lib/api/base-components/base-component-input.d.ts +31 -31
  95. package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
  96. package/lib/api/base-components/base-component.d.ts +21 -21
  97. package/lib/api/components/chart/chart.config.d.ts +11 -11
  98. package/lib/api/components/chart/chart.model.d.ts +9 -9
  99. package/lib/api/components/chart/orchart.config.d.ts +35 -35
  100. package/lib/api/components/chart/orchart.item.d.ts +26 -26
  101. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
  102. package/lib/api/components/error/error.component.d.ts +12 -12
  103. package/lib/api/components/error/kverror.module.d.ts +10 -10
  104. package/lib/api/components/table/action-item.d.ts +5 -5
  105. package/lib/api/components/table/kv-menuitem.d.ts +9 -9
  106. package/lib/api/components/table/table.config.column.d.ts +21 -21
  107. package/lib/api/components/table/table.config.d.ts +17 -17
  108. package/lib/api/components/table/table.paginate.d.ts +6 -6
  109. package/lib/api/helpers/component-providers.d.ts +2 -2
  110. package/lib/api/helpers/translate-primeng.d.ts +4 -4
  111. package/lib/api/models/menu/master.model.d.ts +6 -6
  112. package/lib/api/models/menu/menu.model.d.ts +10 -10
  113. package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
  114. package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
  115. package/lib/api/modules/primeng.module.d.ts +60 -60
  116. package/lib/api/services/base.api.service.d.ts +25 -25
  117. package/lib/api/services/component.service.d.ts +11 -11
  118. package/lib/api/services/form.service.d.ts +27 -27
  119. package/lib/api/services/imagens.service.d.ts +8 -8
  120. package/lib/api/services/notification.service.d.ts +25 -25
  121. package/lib/api/services/object.service.d.ts +8 -8
  122. package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -7
  123. package/lib/buttons/button-popup/button-popup.component.d.ts +13 -13
  124. package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -7
  125. package/lib/buttons/button-success/button-success.component.d.ts +7 -7
  126. package/lib/buttons/kvbutton.module.d.ts +11 -11
  127. package/lib/chart/chart.component.d.ts +56 -56
  128. package/lib/chart/kvchart.module.d.ts +10 -10
  129. package/lib/directives/template.directive.d.ts +11 -11
  130. package/lib/inputs/check/check.component.d.ts +11 -11
  131. package/lib/inputs/dropdown/dropdown.component.d.ts +14 -14
  132. package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -27
  133. package/lib/inputs/input-mask/input-mask.component.d.ts +10 -10
  134. package/lib/inputs/input-number/input-number.component.d.ts +18 -18
  135. package/lib/inputs/input-password/input-password.component.d.ts +13 -13
  136. package/lib/inputs/input-text/input-text.component.d.ts +9 -9
  137. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -15
  138. package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -16
  139. package/lib/inputs/input-time/input-time.component.d.ts +10 -10
  140. package/lib/inputs/kvinputs.module.d.ts +24 -23
  141. package/lib/inputs/multi-select/multi-select.component.d.ts +12 -12
  142. package/lib/inputs/radio-group/radio-group.component.d.ts +17 -17
  143. package/lib/inputs/switch/switch.component.d.ts +13 -13
  144. package/lib/keevo-components.module.d.ts +17 -17
  145. package/lib/label/label.component.d.ts +7 -0
  146. package/lib/label/label.module.d.ts +8 -0
  147. package/lib/login/kvlogin.module.d.ts +13 -13
  148. package/lib/login/login.component.d.ts +17 -17
  149. package/lib/menu/kvmenu.module.d.ts +12 -12
  150. package/lib/menu/menu.component.d.ts +70 -67
  151. package/lib/orgchart/orgchart.component.d.ts +27 -27
  152. package/lib/orgchart/orgchart.module.d.ts +9 -9
  153. package/lib/picklist/kvpicklist.module.d.ts +10 -10
  154. package/lib/picklist/picklist.component.d.ts +20 -20
  155. package/lib/pipes/codigofile.pipe.d.ts +7 -7
  156. package/lib/pipes/cpfcnpj.pipe.d.ts +7 -7
  157. package/lib/pipes/pipes.module.d.ts +10 -10
  158. package/lib/pipes/telefone.pipe.d.ts +7 -7
  159. package/lib/table/kvtable.module.d.ts +10 -10
  160. package/lib/table/table.component.d.ts +103 -103
  161. package/lib/tree-table/kv-treetable.component.d.ts +69 -69
  162. package/lib/tree-table/kv-treetable.module.d.ts +11 -11
  163. package/lib/tree-view/kvtree-view.module.d.ts +9 -9
  164. package/lib/tree-view/tree-view.component.d.ts +14 -14
  165. package/lib/workspace/kvworkspace.module.d.ts +13 -13
  166. package/lib/workspace/workspace.component.d.ts +28 -28
  167. package/package.json +1 -1
  168. package/public-api.d.ts +120 -120
@@ -1,103 +1,103 @@
1
- import { DatePipe, DecimalPipe } from '@angular/common';
2
- import { ElementRef, EventEmitter, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
3
- import { Table } from 'primeng/table';
4
- import { TableConfig } from '../api/components/table/table.config';
5
- import { TableConfigColumn } from '../api/components/table/table.config.column';
6
- import { CodigoFipePipe } from '../pipes/codigofile.pipe';
7
- import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
8
- import { TelefonePipe } from '../pipes/telefone.pipe';
9
- import { KvMenuItem } from '../api/components/table/kv-menuitem';
10
- import { DomSanitizer } from '@angular/platform-browser';
11
- import * as i0 from "@angular/core";
12
- export declare class TableComponent implements OnInit {
13
- private readonly datePipe;
14
- private readonly decimalPipe;
15
- private readonly codigoFipePipe;
16
- private readonly cpfCnpjPipe;
17
- private readonly telefonePipe;
18
- private renderer;
19
- private elementRef;
20
- private sanitizer;
21
- config: TableConfig;
22
- pesquisaValue: string;
23
- globalFilterFields: string[];
24
- actionsTemplate: TemplateRef<any>;
25
- selectedSize: string;
26
- tamanhoTela: number;
27
- menuItems: KvMenuItem[];
28
- menuColumns: KvMenuItem[];
29
- checked: boolean;
30
- columns: TableConfigColumn[];
31
- deletedColuns: TableConfigColumn[];
32
- menuFiltro: boolean;
33
- checkboxClicked: boolean;
34
- templates: QueryList<any>;
35
- _templates: any;
36
- table: Table;
37
- deletedColumnsIndex: any[];
38
- set setConfig(value: TableConfig);
39
- dataSource: any;
40
- selectedItems: any[];
41
- totalRecords: number;
42
- paginator: boolean;
43
- rowsPerPageOptions: number[];
44
- rows: number;
45
- tableSize: number;
46
- applyStyle: Function;
47
- acoesLinhaTabela: boolean;
48
- filterColumnsBtn: boolean;
49
- onActiveItem: EventEmitter<any>;
50
- onActiveItemLote: EventEmitter<any>;
51
- onPaginate: EventEmitter<any>;
52
- onSelectionChange: EventEmitter<any>;
53
- doubleClickEvent: EventEmitter<any>;
54
- filterField: EventEmitter<any>;
55
- menuFiltroDiv: ElementRef;
56
- botaoFiltro: ElementRef;
57
- constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
58
- ngOnInit(): void;
59
- onWindowResize(): void;
60
- activeItem(rowData: any): void;
61
- activeItemLote(rowData: any): void;
62
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
63
- isChipField(col: TableConfigColumn): boolean;
64
- isImageField(col: TableConfigColumn): boolean;
65
- isRowSelectable(event: any): boolean;
66
- isDisabledCheckbox(rowData: any): boolean;
67
- loadImage(rowData: any, col: TableConfigColumn): string;
68
- onGlobalFilter(table: Table, event: Event): void;
69
- paginate(event: any): void;
70
- selectionChange(value?: never[]): void;
71
- returnRowClass(rowData: any, col: TableConfigColumn): string;
72
- expiredFile(rowData: any, col: TableConfigColumn): boolean;
73
- transformValue(rowData: any, col: TableConfigColumn): any;
74
- formatarValor(valor: number): string;
75
- adjustTableSize(): void;
76
- doubleClick(e: any, rowData: any): void;
77
- centralizarColunas(col: any): string;
78
- alignColunas(col: any): string;
79
- alignColunasHeader(col: any): string;
80
- retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
81
- retornarRow(rowData: any, col: any, field: string): string;
82
- exibirCampo(field: any, rowData: any): any;
83
- criarMenusModal(data: any): void;
84
- returnClassChip(rowData: any, col: any): string;
85
- returnClassIcon(rowData: any, col: any): string;
86
- returnTooltipIcon(rowData: any, col: any): string;
87
- deleteColumn(field: string): void;
88
- addColumn(field: string): void;
89
- dinamicColumnSet(e: any, col: any): void;
90
- abrirMenuFiltro(e: any): void;
91
- fecharMenuFiltro(): void;
92
- onEscapeKey(event: KeyboardEvent): void;
93
- onClickEvent(event: any): void;
94
- checkMenuFiltro(col: any): void;
95
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
96
- callDisabled(action: KvMenuItem, data: any): boolean;
97
- dinamicDisableColumn(col: TableConfigColumn): boolean;
98
- checkHideColumns(): void;
99
- getCustomTemplate(templatename: string): TemplateRef<any>;
100
- styleSetter(style: string, data: string): void;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "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>;
103
- }
1
+ import { DatePipe, DecimalPipe } from '@angular/common';
2
+ import { ElementRef, EventEmitter, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
3
+ import { Table } from 'primeng/table';
4
+ import { TableConfig } from '../api/components/table/table.config';
5
+ import { TableConfigColumn } from '../api/components/table/table.config.column';
6
+ import { CodigoFipePipe } from '../pipes/codigofile.pipe';
7
+ import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
8
+ import { TelefonePipe } from '../pipes/telefone.pipe';
9
+ import { KvMenuItem } from '../api/components/table/kv-menuitem';
10
+ import { DomSanitizer } from '@angular/platform-browser';
11
+ import * as i0 from "@angular/core";
12
+ export declare class TableComponent implements OnInit {
13
+ private readonly datePipe;
14
+ private readonly decimalPipe;
15
+ private readonly codigoFipePipe;
16
+ private readonly cpfCnpjPipe;
17
+ private readonly telefonePipe;
18
+ private renderer;
19
+ private elementRef;
20
+ private sanitizer;
21
+ config: TableConfig;
22
+ pesquisaValue: string;
23
+ globalFilterFields: string[];
24
+ actionsTemplate: TemplateRef<any>;
25
+ selectedSize: string;
26
+ tamanhoTela: number;
27
+ menuItems: KvMenuItem[];
28
+ menuColumns: KvMenuItem[];
29
+ checked: boolean;
30
+ columns: TableConfigColumn[];
31
+ deletedColuns: TableConfigColumn[];
32
+ menuFiltro: boolean;
33
+ checkboxClicked: boolean;
34
+ templates: QueryList<any>;
35
+ _templates: any;
36
+ table: Table;
37
+ deletedColumnsIndex: any[];
38
+ set setConfig(value: TableConfig);
39
+ dataSource: any;
40
+ selectedItems: any[];
41
+ totalRecords: number;
42
+ paginator: boolean;
43
+ rowsPerPageOptions: number[];
44
+ rows: number;
45
+ tableSize: number;
46
+ applyStyle: Function;
47
+ acoesLinhaTabela: boolean;
48
+ filterColumnsBtn: boolean;
49
+ onActiveItem: EventEmitter<any>;
50
+ onActiveItemLote: EventEmitter<any>;
51
+ onPaginate: EventEmitter<any>;
52
+ onSelectionChange: EventEmitter<any>;
53
+ doubleClickEvent: EventEmitter<any>;
54
+ filterField: EventEmitter<any>;
55
+ menuFiltroDiv: ElementRef;
56
+ botaoFiltro: ElementRef;
57
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
58
+ ngOnInit(): void;
59
+ onWindowResize(): void;
60
+ activeItem(rowData: any): void;
61
+ activeItemLote(rowData: any): void;
62
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
63
+ isChipField(col: TableConfigColumn): boolean;
64
+ isImageField(col: TableConfigColumn): boolean;
65
+ isRowSelectable(event: any): boolean;
66
+ isDisabledCheckbox(rowData: any): boolean;
67
+ loadImage(rowData: any, col: TableConfigColumn): string;
68
+ onGlobalFilter(table: Table, event: Event): void;
69
+ paginate(event: any): void;
70
+ selectionChange(value?: never[]): void;
71
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
72
+ expiredFile(rowData: any, col: TableConfigColumn): boolean;
73
+ transformValue(rowData: any, col: TableConfigColumn): any;
74
+ formatarValor(valor: number): string;
75
+ adjustTableSize(): void;
76
+ doubleClick(e: any, rowData: any): void;
77
+ centralizarColunas(col: any): string;
78
+ alignColunas(col: any): string;
79
+ alignColunasHeader(col: any): string;
80
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
81
+ retornarRow(rowData: any, col: any, field: string): string;
82
+ exibirCampo(field: any, rowData: any): any;
83
+ criarMenusModal(data: any): void;
84
+ returnClassChip(rowData: any, col: any): string;
85
+ returnClassIcon(rowData: any, col: any): string;
86
+ returnTooltipIcon(rowData: any, col: any): string;
87
+ deleteColumn(field: string): void;
88
+ addColumn(field: string): void;
89
+ dinamicColumnSet(e: any, col: any): void;
90
+ abrirMenuFiltro(e: any): void;
91
+ fecharMenuFiltro(): void;
92
+ onEscapeKey(event: KeyboardEvent): void;
93
+ onClickEvent(event: any): void;
94
+ checkMenuFiltro(col: any): void;
95
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
96
+ callDisabled(action: KvMenuItem, data: any): boolean;
97
+ dinamicDisableColumn(col: TableConfigColumn): boolean;
98
+ checkHideColumns(): void;
99
+ getCustomTemplate(templatename: string): TemplateRef<any>;
100
+ styleSetter(style: string, data: string): void;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "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>;
103
+ }
@@ -1,69 +1,69 @@
1
- import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
- import { TreeNode } from 'primeng/api';
3
- import { CodigoFipePipe, CpfCnpjPipe, KvMenuItem, TableConfig, TableConfigColumn, TelefonePipe } from '../../public-api';
4
- import { Table } from 'primeng/table';
5
- import { TreeTable } from 'primeng/treetable';
6
- import { DatePipe, DecimalPipe } from '@angular/common';
7
- import * as i0 from "@angular/core";
8
- export declare class TreeTableComponent implements OnInit {
9
- private readonly datePipe;
10
- private readonly decimalPipe;
11
- private readonly codigoFipePipe;
12
- private readonly cpfCnpjPipe;
13
- private readonly telefonePipe;
14
- config: TableConfig;
15
- dataSource: TreeNode[];
16
- selectedItems: any[];
17
- acoesLinhaTabela: boolean;
18
- espacamentoPai: string;
19
- espacamentoLateral: boolean;
20
- tamanhoTotalTree: number;
21
- rowsPerPageOptions: number[];
22
- rows: number;
23
- tableSize: number;
24
- paginator: boolean;
25
- rightCollapse: boolean;
26
- applyStyle: Function;
27
- _templates: any;
28
- colorButtonToggleNodes: string;
29
- templates: QueryList<any>;
30
- table: Table;
31
- onFilter: EventEmitter<any>;
32
- onPaginate: EventEmitter<any>;
33
- onActiveItem: EventEmitter<any>;
34
- onActiveItemLote: EventEmitter<any>;
35
- nodeContext: {
36
- $implicit: string;
37
- rowNode: string;
38
- };
39
- selectedNodes: TreeNode[];
40
- menuItems: KvMenuItem[];
41
- imgDefault: string;
42
- isExpanded: boolean;
43
- constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
44
- ngOnInit(): void;
45
- onGlobalFilter(table: TreeTable, event: Event): void;
46
- paginate($event: any): void;
47
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
48
- isChipField(col: TableConfigColumn): boolean;
49
- isImageField(col: TableConfigColumn): boolean;
50
- returnRowClass(rowData: any, col: TableConfigColumn): string;
51
- transformValue(rowData: any, col: TableConfigColumn): any;
52
- formatarValor(valor: number): string;
53
- loadImage(rowData: any, col: TableConfigColumn): string;
54
- getCustomTemplate(templatename: string): TemplateRef<any>;
55
- exibirCampo(field: any, rowData: any): any;
56
- activeItem(rowNode: any, rowData: any): void;
57
- activeItemLote(rowData: any): void;
58
- retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
59
- callDisabled(action: KvMenuItem, data: any): boolean;
60
- criarMenusModal(data: any, rowNode: any): void;
61
- recuperarRowNode(rowNode: any): any;
62
- validaLinhaAcaoVazia(rowData: any, rowNode: any): boolean;
63
- toggleNodes(): void;
64
- expandAll(): void;
65
- collapseAll(): void;
66
- private expandCollapseRecursive;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "kv-treetable", never, { "config": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "acoesLinhaTabela": "acoesLinhaTabela"; "espacamentoPai": "espacamentoPai"; "espacamentoLateral": "espacamentoLateral"; "tamanhoTotalTree": "tamanhoTotalTree"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "paginator": "paginator"; "rightCollapse": "rightCollapse"; "applyStyle": "applyStyle"; "_templates": "templates"; "colorButtonToggleNodes": "colorButtonToggleNodes"; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; }, ["templates"], never, false, never>;
69
- }
1
+ import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
+ import { TreeNode } from 'primeng/api';
3
+ import { CodigoFipePipe, CpfCnpjPipe, KvMenuItem, TableConfig, TableConfigColumn, TelefonePipe } from '../../public-api';
4
+ import { Table } from 'primeng/table';
5
+ import { TreeTable } from 'primeng/treetable';
6
+ import { DatePipe, DecimalPipe } from '@angular/common';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TreeTableComponent implements OnInit {
9
+ private readonly datePipe;
10
+ private readonly decimalPipe;
11
+ private readonly codigoFipePipe;
12
+ private readonly cpfCnpjPipe;
13
+ private readonly telefonePipe;
14
+ config: TableConfig;
15
+ dataSource: TreeNode[];
16
+ selectedItems: any[];
17
+ acoesLinhaTabela: boolean;
18
+ espacamentoPai: string;
19
+ espacamentoLateral: boolean;
20
+ tamanhoTotalTree: number;
21
+ rowsPerPageOptions: number[];
22
+ rows: number;
23
+ tableSize: number;
24
+ paginator: boolean;
25
+ rightCollapse: boolean;
26
+ applyStyle: Function;
27
+ _templates: any;
28
+ colorButtonToggleNodes: string;
29
+ templates: QueryList<any>;
30
+ table: Table;
31
+ onFilter: EventEmitter<any>;
32
+ onPaginate: EventEmitter<any>;
33
+ onActiveItem: EventEmitter<any>;
34
+ onActiveItemLote: EventEmitter<any>;
35
+ nodeContext: {
36
+ $implicit: string;
37
+ rowNode: string;
38
+ };
39
+ selectedNodes: TreeNode[];
40
+ menuItems: KvMenuItem[];
41
+ imgDefault: string;
42
+ isExpanded: boolean;
43
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
44
+ ngOnInit(): void;
45
+ onGlobalFilter(table: TreeTable, event: Event): void;
46
+ paginate($event: any): void;
47
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
48
+ isChipField(col: TableConfigColumn): boolean;
49
+ isImageField(col: TableConfigColumn): boolean;
50
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
51
+ transformValue(rowData: any, col: TableConfigColumn): any;
52
+ formatarValor(valor: number): string;
53
+ loadImage(rowData: any, col: TableConfigColumn): string;
54
+ getCustomTemplate(templatename: string): TemplateRef<any>;
55
+ exibirCampo(field: any, rowData: any): any;
56
+ activeItem(rowNode: any, rowData: any): void;
57
+ activeItemLote(rowData: any): void;
58
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
59
+ callDisabled(action: KvMenuItem, data: any): boolean;
60
+ criarMenusModal(data: any, rowNode: any): void;
61
+ recuperarRowNode(rowNode: any): any;
62
+ validaLinhaAcaoVazia(rowData: any, rowNode: any): boolean;
63
+ toggleNodes(): void;
64
+ expandAll(): void;
65
+ collapseAll(): void;
66
+ private expandCollapseRecursive;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "kv-treetable", never, { "config": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "acoesLinhaTabela": "acoesLinhaTabela"; "espacamentoPai": "espacamentoPai"; "espacamentoLateral": "espacamentoLateral"; "tamanhoTotalTree": "tamanhoTotalTree"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "paginator": "paginator"; "rightCollapse": "rightCollapse"; "applyStyle": "applyStyle"; "_templates": "templates"; "colorButtonToggleNodes": "colorButtonToggleNodes"; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; }, ["templates"], never, false, never>;
69
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./kv-treetable.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../api/modules/primeng.module";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "../buttons/kvbutton.module";
7
- export declare class KVTreeTableModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<KVTreeTableModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KVTreeTableModule, [typeof i1.TreeTableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.KvButtonsModule], [typeof i1.TreeTableComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<KVTreeTableModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-treetable.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../buttons/kvbutton.module";
7
+ export declare class KVTreeTableModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KVTreeTableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KVTreeTableModule, [typeof i1.TreeTableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.KvButtonsModule], [typeof i1.TreeTableComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KVTreeTableModule>;
11
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tree-view.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../api/modules/primeng.module";
5
- export declare class KvtreeViewModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<KvtreeViewModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvtreeViewModule, [typeof i1.TreeViewComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.TreeViewComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<KvtreeViewModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tree-view.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ export declare class KvtreeViewModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvtreeViewModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvtreeViewModule, [typeof i1.TreeViewComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.TreeViewComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvtreeViewModule>;
9
+ }
@@ -1,14 +1,14 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { TreeNode } from 'primeng/api';
3
- import * as i0 from "@angular/core";
4
- export declare class TreeViewComponent implements OnInit {
5
- selectedFiles: TreeNode[] | undefined;
6
- selectionMode: string;
7
- treeViewData: TreeNode[];
8
- selectedItems: EventEmitter<any>;
9
- constructor();
10
- ngOnInit(): void;
11
- onSelectionChange(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kv-tree-view", never, { "selectedFiles": "selectedFiles"; "selectionMode": "selectionMode"; "treeViewData": "treeViewData"; }, { "selectedItems": "selectedItems"; }, never, never, false, never>;
14
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TreeNode } from 'primeng/api';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeViewComponent implements OnInit {
5
+ selectedFiles: TreeNode[] | undefined;
6
+ selectionMode: string;
7
+ treeViewData: TreeNode[];
8
+ selectedItems: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ onSelectionChange(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kv-tree-view", never, { "selectedFiles": "selectedFiles"; "selectionMode": "selectionMode"; "treeViewData": "treeViewData"; }, { "selectedItems": "selectedItems"; }, never, never, false, never>;
14
+ }
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./workspace.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../api/modules/primeng.module";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "primeng/progressspinner";
7
- import * as i6 from "primeng/autocomplete";
8
- import * as i7 from "../buttons/kvbutton.module";
9
- export declare class KvWorkspaceModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i5.ProgressSpinnerModule, typeof i6.AutoCompleteModule, typeof i4.FormsModule, typeof i7.KvButtonsModule], [typeof i1.WorkspaceComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./workspace.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "primeng/progressspinner";
7
+ import * as i6 from "primeng/autocomplete";
8
+ import * as i7 from "../buttons/kvbutton.module";
9
+ export declare class KvWorkspaceModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i5.ProgressSpinnerModule, typeof i6.AutoCompleteModule, typeof i4.FormsModule, typeof i7.KvButtonsModule], [typeof i1.WorkspaceComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
13
+ }
@@ -1,28 +1,28 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class WorkspaceComponent implements OnInit {
4
- nomeSistema: string;
5
- nomeUsuario: string;
6
- masters: any[];
7
- somenteMaster: boolean;
8
- onGetMasterSelecionada: EventEmitter<any>;
9
- onGetEmpresaSelecionada: EventEmitter<any>;
10
- empresas: any[];
11
- masterSelecionada: any;
12
- empresaSelecionada: any;
13
- visivel: boolean;
14
- txtPesquisa: string;
15
- imgPersonagens: string;
16
- imgLogoKeevo: string;
17
- styleBackground: string;
18
- constructor();
19
- ngOnInit(): void;
20
- verificaMasterUnica(): void;
21
- selecionarMaster(master: any): void;
22
- verificaEmpresaUnica(): void;
23
- selecionarEmpresa(empresa: any): void;
24
- voltar(): void;
25
- filtrarEmpresa(event: any): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "nomeSistema": "nomeSistema"; "nomeUsuario": "nomeUsuario"; "masters": "masters"; "somenteMaster": "somenteMaster"; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; }, never, never, false, never>;
28
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspaceComponent implements OnInit {
4
+ nomeSistema: string;
5
+ nomeUsuario: string;
6
+ masters: any[];
7
+ somenteMaster: boolean;
8
+ onGetMasterSelecionada: EventEmitter<any>;
9
+ onGetEmpresaSelecionada: EventEmitter<any>;
10
+ empresas: any[];
11
+ masterSelecionada: any;
12
+ empresaSelecionada: any;
13
+ visivel: boolean;
14
+ txtPesquisa: string;
15
+ imgPersonagens: string;
16
+ imgLogoKeevo: string;
17
+ styleBackground: string;
18
+ constructor();
19
+ ngOnInit(): void;
20
+ verificaMasterUnica(): void;
21
+ selecionarMaster(master: any): void;
22
+ verificaEmpresaUnica(): void;
23
+ selecionarEmpresa(empresa: any): void;
24
+ voltar(): void;
25
+ filtrarEmpresa(event: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "nomeSistema": "nomeSistema"; "nomeUsuario": "nomeUsuario"; "masters": "masters"; "somenteMaster": "somenteMaster"; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; }, never, never, false, never>;
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.5.142",
3
+ "version": "1.5.144",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",