keevo-components 1.5.183 → 1.5.184

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 (178) 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 +269 -269
  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-new.mjs +211 -211
  9. package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -161
  10. package/esm2020/lib/api/base-components/base-component-input.mjs +94 -94
  11. package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -128
  12. package/esm2020/lib/api/base-components/base-component.mjs +49 -49
  13. package/esm2020/lib/api/components/chart/chart.config.mjs +2 -2
  14. package/esm2020/lib/api/components/chart/chart.model.mjs +2 -2
  15. package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -2
  16. package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -2
  17. package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -2
  18. package/esm2020/lib/api/components/error/error.component.mjs +26 -26
  19. package/esm2020/lib/api/components/error/kverror.module.mjs +35 -35
  20. package/esm2020/lib/api/components/table/action-item.mjs +2 -2
  21. package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -3
  22. package/esm2020/lib/api/components/table/table.config.column.mjs +2 -2
  23. package/esm2020/lib/api/components/table/table.config.mjs +2 -2
  24. package/esm2020/lib/api/components/table/table.paginate.mjs +9 -9
  25. package/esm2020/lib/api/helpers/component-providers.mjs +16 -16
  26. package/esm2020/lib/api/helpers/keevo-validators.mjs +64 -64
  27. package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -23
  28. package/esm2020/lib/api/models/menu/menu.model.mjs +2 -2
  29. package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -2
  30. package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -2
  31. package/esm2020/lib/api/modules/primeng.module.mjs +247 -247
  32. package/esm2020/lib/api/services/base.api.service.mjs +74 -74
  33. package/esm2020/lib/api/services/component.service.mjs +27 -27
  34. package/esm2020/lib/api/services/form.service.mjs +84 -84
  35. package/esm2020/lib/api/services/imagens.service.mjs +22 -22
  36. package/esm2020/lib/api/services/notification.service.mjs +67 -67
  37. package/esm2020/lib/api/services/object.service.mjs +26 -26
  38. package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -17
  39. package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +31 -31
  40. package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -17
  41. package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -17
  42. package/esm2020/lib/buttons/kvbutton.module.mjs +39 -39
  43. package/esm2020/lib/chart/chart.component.mjs +145 -145
  44. package/esm2020/lib/chart/kvchart.module.mjs +32 -32
  45. package/esm2020/lib/directives/template.directive.mjs +24 -24
  46. package/esm2020/lib/inputs/check/check.component.mjs +26 -26
  47. package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +37 -37
  48. package/esm2020/lib/inputs/editor/editor.component.mjs +70 -70
  49. package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +89 -89
  50. package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +23 -23
  51. package/esm2020/lib/inputs/input-number/input-number.component.mjs +59 -59
  52. package/esm2020/lib/inputs/input-password/input-password.component.mjs +33 -33
  53. package/esm2020/lib/inputs/input-text/input-text.component.mjs +21 -21
  54. package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +37 -37
  55. package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +43 -43
  56. package/esm2020/lib/inputs/input-time/input-time.component.mjs +24 -24
  57. package/esm2020/lib/inputs/kvinputs.module.mjs +108 -108
  58. package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +38 -38
  59. package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +53 -53
  60. package/esm2020/lib/inputs/switch/switch.component.mjs +32 -32
  61. package/esm2020/lib/keevo-components.module.mjs +98 -98
  62. package/esm2020/lib/label/label.component.mjs +14 -14
  63. package/esm2020/lib/label/label.module.mjs +23 -23
  64. package/esm2020/lib/login/kvlogin.module.mjs +47 -47
  65. package/esm2020/lib/login/login.component.mjs +52 -52
  66. package/esm2020/lib/menu/kvmenu.module.mjs +43 -43
  67. package/esm2020/lib/menu/menu.component.mjs +237 -237
  68. package/esm2020/lib/orgchart/orgchart.component.mjs +100 -100
  69. package/esm2020/lib/orgchart/orgchart.module.mjs +24 -24
  70. package/esm2020/lib/page-form/kv-page-form.module.mjs +38 -38
  71. package/esm2020/lib/page-form/page-form.component.mjs +144 -144
  72. package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -32
  73. package/esm2020/lib/picklist/picklist.component.mjs +48 -48
  74. package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -19
  75. package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -25
  76. package/esm2020/lib/pipes/pipes.module.mjs +34 -34
  77. package/esm2020/lib/pipes/telefone.pipe.mjs +45 -45
  78. package/esm2020/lib/table/kvtable.module.mjs +32 -32
  79. package/esm2020/lib/table/table.component.mjs +499 -499
  80. package/esm2020/lib/tree-table/kv-treetable.component.mjs +371 -371
  81. package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -32
  82. package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -28
  83. package/esm2020/lib/tree-view/tree-view.component.mjs +29 -29
  84. package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -47
  85. package/esm2020/lib/workspace/workspace.component.mjs +77 -77
  86. package/esm2020/public-api.mjs +132 -132
  87. package/fesm2015/keevo-components.mjs +4382 -4382
  88. package/fesm2015/keevo-components.mjs.map +1 -1
  89. package/fesm2020/keevo-components.mjs +4373 -4373
  90. package/fesm2020/keevo-components.mjs.map +1 -1
  91. package/index.d.ts +5 -5
  92. package/lib/api/base-components/base-component-button.d.ts +14 -14
  93. package/lib/api/base-components/base-component-chart.d.ts +40 -40
  94. package/lib/api/base-components/base-component-crud-form.d.ts +137 -137
  95. package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
  96. package/lib/api/base-components/base-component-crud.d.ts +36 -36
  97. package/lib/api/base-components/base-component-dropdown-new.d.ts +14 -14
  98. package/lib/api/base-components/base-component-dropdown.d.ts +42 -42
  99. package/lib/api/base-components/base-component-input.d.ts +31 -31
  100. package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
  101. package/lib/api/base-components/base-component.d.ts +21 -21
  102. package/lib/api/components/chart/chart.config.d.ts +11 -11
  103. package/lib/api/components/chart/chart.model.d.ts +9 -9
  104. package/lib/api/components/chart/orchart.config.d.ts +35 -35
  105. package/lib/api/components/chart/orchart.item.d.ts +26 -26
  106. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
  107. package/lib/api/components/error/error.component.d.ts +12 -12
  108. package/lib/api/components/error/kverror.module.d.ts +10 -10
  109. package/lib/api/components/table/action-item.d.ts +5 -5
  110. package/lib/api/components/table/kv-menuitem.d.ts +9 -9
  111. package/lib/api/components/table/table.config.column.d.ts +21 -21
  112. package/lib/api/components/table/table.config.d.ts +17 -17
  113. package/lib/api/components/table/table.paginate.d.ts +6 -6
  114. package/lib/api/helpers/component-providers.d.ts +2 -2
  115. package/lib/api/helpers/keevo-validators.d.ts +10 -10
  116. package/lib/api/helpers/translate-primeng.d.ts +4 -4
  117. package/lib/api/models/menu/menu.model.d.ts +10 -10
  118. package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
  119. package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
  120. package/lib/api/modules/primeng.module.d.ts +60 -60
  121. package/lib/api/services/base.api.service.d.ts +25 -25
  122. package/lib/api/services/component.service.d.ts +11 -11
  123. package/lib/api/services/form.service.d.ts +27 -27
  124. package/lib/api/services/imagens.service.d.ts +8 -8
  125. package/lib/api/services/notification.service.d.ts +25 -25
  126. package/lib/api/services/object.service.d.ts +8 -8
  127. package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -7
  128. package/lib/buttons/button-popup/button-popup.component.d.ts +13 -13
  129. package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -7
  130. package/lib/buttons/button-success/button-success.component.d.ts +7 -7
  131. package/lib/buttons/kvbutton.module.d.ts +11 -11
  132. package/lib/chart/chart.component.d.ts +56 -56
  133. package/lib/chart/kvchart.module.d.ts +10 -10
  134. package/lib/directives/template.directive.d.ts +11 -11
  135. package/lib/inputs/check/check.component.d.ts +11 -11
  136. package/lib/inputs/dropdown/dropdown.component.d.ts +14 -14
  137. package/lib/inputs/editor/editor.component.d.ts +39 -39
  138. package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -27
  139. package/lib/inputs/input-mask/input-mask.component.d.ts +10 -10
  140. package/lib/inputs/input-number/input-number.component.d.ts +19 -19
  141. package/lib/inputs/input-password/input-password.component.d.ts +13 -13
  142. package/lib/inputs/input-text/input-text.component.d.ts +9 -9
  143. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -15
  144. package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -16
  145. package/lib/inputs/input-time/input-time.component.d.ts +10 -10
  146. package/lib/inputs/kvinputs.module.d.ts +25 -25
  147. package/lib/inputs/multi-select/multi-select.component.d.ts +12 -12
  148. package/lib/inputs/radio-group/radio-group.component.d.ts +18 -18
  149. package/lib/inputs/switch/switch.component.d.ts +13 -13
  150. package/lib/keevo-components.module.d.ts +18 -18
  151. package/lib/label/label.component.d.ts +7 -7
  152. package/lib/label/label.module.d.ts +8 -8
  153. package/lib/login/kvlogin.module.d.ts +13 -13
  154. package/lib/login/login.component.d.ts +30 -30
  155. package/lib/menu/kvmenu.module.d.ts +12 -12
  156. package/lib/menu/menu.component.d.ts +74 -74
  157. package/lib/orgchart/orgchart.component.d.ts +27 -27
  158. package/lib/orgchart/orgchart.module.d.ts +9 -9
  159. package/lib/page-form/kv-page-form.module.d.ts +11 -11
  160. package/lib/page-form/page-form.component.d.ts +69 -69
  161. package/lib/picklist/kvpicklist.module.d.ts +10 -10
  162. package/lib/picklist/picklist.component.d.ts +20 -20
  163. package/lib/pipes/codigofile.pipe.d.ts +7 -7
  164. package/lib/pipes/cpfcnpj.pipe.d.ts +7 -7
  165. package/lib/pipes/pipes.module.d.ts +10 -10
  166. package/lib/pipes/telefone.pipe.d.ts +7 -7
  167. package/lib/table/kvtable.module.d.ts +10 -10
  168. package/lib/table/table.component.d.ts +104 -104
  169. package/lib/tree-table/kv-treetable.component.d.ts +84 -84
  170. package/lib/tree-table/kv-treetable.module.d.ts +11 -11
  171. package/lib/tree-view/kvtree-view.module.d.ts +9 -9
  172. package/lib/tree-view/tree-view.component.d.ts +14 -14
  173. package/lib/workspace/kvworkspace.module.d.ts +13 -13
  174. package/lib/workspace/workspace.component.d.ts +28 -28
  175. package/package.json +1 -1
  176. package/public-api.d.ts +128 -128
  177. package/esm2020/lib/api/models/menu/master.model.mjs +0 -2
  178. package/lib/api/models/menu/master.model.d.ts +0 -6
@@ -1,69 +1,69 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { ActionItem } from '../api/components/table/action-item';
4
- import * as i0 from "@angular/core";
5
- export declare class PageFormComponent implements OnInit {
6
- private fb;
7
- /**
8
- * Configurações do formulário
9
- */
10
- formGroup: FormGroup;
11
- TituloForm: string | undefined;
12
- SubTituloForm: string | undefined;
13
- isSaveLoading: boolean;
14
- popup: boolean;
15
- locationUseComponent: 'page' | 'dialog';
16
- /**
17
- * Botão cancelar
18
- */
19
- iconBtnCancel: string;
20
- showBtnCancel: boolean;
21
- txtBtnCancel: string;
22
- /**
23
- * Botão salvar
24
- */
25
- iconBtnSave: string;
26
- showBtnSave: boolean;
27
- txtBtnSave: string;
28
- /**
29
- * Botão de opções
30
- */
31
- actions: ActionItem[];
32
- iconBtnSaveToogle: string;
33
- showBtnSaveToogle: boolean;
34
- txtBtnSaveToogle: string;
35
- /**
36
- * Botão fechar
37
- */
38
- disableBtnSair: boolean;
39
- /**
40
- * Salvar dados
41
- */
42
- onSave: EventEmitter<any>;
43
- /**
44
- * Cancelar
45
- */
46
- onCancel: EventEmitter<any>;
47
- constructor(fb: FormBuilder);
48
- /**
49
- * Adiciona sub-título à tela
50
- */
51
- addSubTitle(): void;
52
- ngOnInit(): void;
53
- /**
54
- * Dispara o método de cancelamento da tela
55
- * @param event evento
56
- */
57
- cancel(event: Event): void;
58
- /**
59
- * Dispara o método de salvar da tela
60
- * @param event evento
61
- */
62
- save(event: Event): void;
63
- /**
64
- * Ajusta o tamanho da tela considerando o menu lateral
65
- */
66
- setPageFormContainerAttributes(): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "kv-page-form", never, { "formGroup": "formGroup"; "TituloForm": "TituloForm"; "SubTituloForm": "SubTituloForm"; "isSaveLoading": "isSaveLoading"; "popup": "popup"; "locationUseComponent": "locationUseComponent"; "iconBtnCancel": "iconBtnCancel"; "showBtnCancel": "showBtnCancel"; "txtBtnCancel": "txtBtnCancel"; "iconBtnSave": "iconBtnSave"; "showBtnSave": "showBtnSave"; "txtBtnSave": "txtBtnSave"; "actions": "actions"; "iconBtnSaveToogle": "iconBtnSaveToogle"; "showBtnSaveToogle": "showBtnSaveToogle"; "txtBtnSaveToogle": "txtBtnSaveToogle"; "disableBtnSair": "disableBtnSair"; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["*"], false, never>;
69
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { ActionItem } from '../api/components/table/action-item';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PageFormComponent implements OnInit {
6
+ private fb;
7
+ /**
8
+ * Configurações do formulário
9
+ */
10
+ formGroup: FormGroup;
11
+ TituloForm: string | undefined;
12
+ SubTituloForm: string | undefined;
13
+ isSaveLoading: boolean;
14
+ popup: boolean;
15
+ locationUseComponent: 'page' | 'dialog';
16
+ /**
17
+ * Botão cancelar
18
+ */
19
+ iconBtnCancel: string;
20
+ showBtnCancel: boolean;
21
+ txtBtnCancel: string;
22
+ /**
23
+ * Botão salvar
24
+ */
25
+ iconBtnSave: string;
26
+ showBtnSave: boolean;
27
+ txtBtnSave: string;
28
+ /**
29
+ * Botão de opções
30
+ */
31
+ actions: ActionItem[];
32
+ iconBtnSaveToogle: string;
33
+ showBtnSaveToogle: boolean;
34
+ txtBtnSaveToogle: string;
35
+ /**
36
+ * Botão fechar
37
+ */
38
+ disableBtnSair: boolean;
39
+ /**
40
+ * Salvar dados
41
+ */
42
+ onSave: EventEmitter<any>;
43
+ /**
44
+ * Cancelar
45
+ */
46
+ onCancel: EventEmitter<any>;
47
+ constructor(fb: FormBuilder);
48
+ /**
49
+ * Adiciona sub-título à tela
50
+ */
51
+ addSubTitle(): void;
52
+ ngOnInit(): void;
53
+ /**
54
+ * Dispara o método de cancelamento da tela
55
+ * @param event evento
56
+ */
57
+ cancel(event: Event): void;
58
+ /**
59
+ * Dispara o método de salvar da tela
60
+ * @param event evento
61
+ */
62
+ save(event: Event): void;
63
+ /**
64
+ * Ajusta o tamanho da tela considerando o menu lateral
65
+ */
66
+ setPageFormContainerAttributes(): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "kv-page-form", never, { "formGroup": "formGroup"; "TituloForm": "TituloForm"; "SubTituloForm": "SubTituloForm"; "isSaveLoading": "isSaveLoading"; "popup": "popup"; "locationUseComponent": "locationUseComponent"; "iconBtnCancel": "iconBtnCancel"; "showBtnCancel": "showBtnCancel"; "txtBtnCancel": "txtBtnCancel"; "iconBtnSave": "iconBtnSave"; "showBtnSave": "showBtnSave"; "txtBtnSave": "txtBtnSave"; "actions": "actions"; "iconBtnSaveToogle": "iconBtnSaveToogle"; "showBtnSaveToogle": "showBtnSaveToogle"; "txtBtnSaveToogle": "txtBtnSaveToogle"; "disableBtnSair": "disableBtnSair"; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["*"], false, never>;
69
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./picklist.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
- export declare class KvPickListModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvPickListModule, [typeof i1.PickListComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.PickListComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<KvPickListModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./picklist.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
+ export declare class KvPickListModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvPickListModule, [typeof i1.PickListComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.PickListComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvPickListModule>;
10
+ }
@@ -1,20 +1,20 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PickListComponent implements OnInit {
4
- source: any[];
5
- sourceHeader: string;
6
- sourceStyle: any;
7
- target: any[];
8
- targetHeader: string;
9
- targetStyle: any;
10
- dragdrop: boolean;
11
- responsive: boolean;
12
- filterBy: string;
13
- breakpoint: string;
14
- stripedRows: boolean;
15
- itemTemplate: TemplateRef<any>;
16
- constructor();
17
- ngOnInit(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<PickListComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PickListComponent, "kv-picklist", never, { "source": "source"; "sourceHeader": "sourceHeader"; "sourceStyle": "sourceStyle"; "target": "target"; "targetHeader": "targetHeader"; "targetStyle": "targetStyle"; "dragdrop": "dragdrop"; "responsive": "responsive"; "filterBy": "filterBy"; "breakpoint": "breakpoint"; "stripedRows": "stripedRows"; "itemTemplate": "itemTemplate"; }, {}, never, never, false, never>;
20
- }
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PickListComponent implements OnInit {
4
+ source: any[];
5
+ sourceHeader: string;
6
+ sourceStyle: any;
7
+ target: any[];
8
+ targetHeader: string;
9
+ targetStyle: any;
10
+ dragdrop: boolean;
11
+ responsive: boolean;
12
+ filterBy: string;
13
+ breakpoint: string;
14
+ stripedRows: boolean;
15
+ itemTemplate: TemplateRef<any>;
16
+ constructor();
17
+ ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<PickListComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PickListComponent, "kv-picklist", never, { "source": "source"; "sourceHeader": "sourceHeader"; "sourceStyle": "sourceStyle"; "target": "target"; "targetHeader": "targetHeader"; "targetStyle": "targetStyle"; "dragdrop": "dragdrop"; "responsive": "responsive"; "filterBy": "filterBy"; "breakpoint": "breakpoint"; "stripedRows": "stripedRows"; "itemTemplate": "itemTemplate"; }, {}, never, never, false, never>;
20
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CodigoFipePipe implements PipeTransform {
4
- transform(value: string): string | null;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CodigoFipePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CodigoFipePipe, "codigoFipe", false>;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CodigoFipePipe implements PipeTransform {
4
+ transform(value: string): string | null;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CodigoFipePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CodigoFipePipe, "codigoFipe", false>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CpfCnpjPipe implements PipeTransform {
4
- transform(value: string): string | null;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", false>;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CpfCnpjPipe implements PipeTransform {
4
+ transform(value: string): string | null;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CpfCnpjPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CpfCnpjPipe, "cpfCnpj", false>;
7
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./cpfcnpj.pipe";
3
- import * as i2 from "./telefone.pipe";
4
- import * as i3 from "./codigofile.pipe";
5
- import * as i4 from "@angular/common";
6
- export declare class PipesModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe], [typeof i4.CommonModule], [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cpfcnpj.pipe";
3
+ import * as i2 from "./telefone.pipe";
4
+ import * as i3 from "./codigofile.pipe";
5
+ import * as i4 from "@angular/common";
6
+ export declare class PipesModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe], [typeof i4.CommonModule], [typeof i1.CpfCnpjPipe, typeof i2.TelefonePipe, typeof i3.CodigoFipePipe]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
10
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TelefonePipe implements PipeTransform {
4
- transform(tel: string): string | null;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "Telefone", false>;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TelefonePipe implements PipeTransform {
4
+ transform(tel: string): string | null;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TelefonePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TelefonePipe, "Telefone", false>;
7
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table.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
- export declare class KvTableModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.TableComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.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
+ export declare class KvTableModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule], [typeof i1.TableComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
10
+ }
@@ -1,104 +1,104 @@
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
- showFiltrosAvancados: boolean;
35
- templates: QueryList<any>;
36
- _templates: any;
37
- table: Table;
38
- deletedColumnsIndex: any[];
39
- set setConfig(value: TableConfig);
40
- dataSource: any;
41
- selectedItems: any[];
42
- totalRecords: number;
43
- paginator: boolean;
44
- rowsPerPageOptions: number[];
45
- rows: number;
46
- pageLinksOptions: number;
47
- showFirstLastIcon: boolean;
48
- tableSize: number;
49
- applyStyle: Function;
50
- acoesLinhaTabela: boolean;
51
- filterColumnsBtn: boolean;
52
- filtrosAvancados: boolean;
53
- onActiveItem: EventEmitter<any>;
54
- onActiveItemLote: EventEmitter<any>;
55
- onPaginate: EventEmitter<any>;
56
- onSelectionChange: EventEmitter<any>;
57
- doubleClickEvent: EventEmitter<any>;
58
- filterField: EventEmitter<any>;
59
- filtrosAvancadosEmit: EventEmitter<boolean>;
60
- menuFiltroDiv: ElementRef;
61
- botaoFiltro: ElementRef;
62
- constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
63
- ngOnInit(): void;
64
- onWindowResize(): void;
65
- activeItem(rowData: any): void;
66
- activeItemLote(rowData: any): void;
67
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
68
- isChipField(col: TableConfigColumn): boolean;
69
- isImageField(col: TableConfigColumn): boolean;
70
- isRowSelectable(event: any): boolean;
71
- isDisabledCheckbox(rowData: any): boolean;
72
- loadImage(rowData: any, col: TableConfigColumn): string;
73
- onGlobalFilter(table: Table, event: Event): void;
74
- paginate(event: any): void;
75
- selectionChange(value?: never[]): void;
76
- returnRowClass(rowData: any, col: TableConfigColumn): string;
77
- expiredFile(rowData: any, col: TableConfigColumn): boolean;
78
- transformValue(rowData: any, col: TableConfigColumn): any;
79
- formatarValor(valor: number): string;
80
- adjustTableSize(): void;
81
- doubleClick(e: any, rowData: any): void;
82
- centralizarColunas(col: any): string;
83
- alignColunas(col: any): string;
84
- alignColunasHeader(col: any): string;
85
- retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
86
- retornarRow(rowData: any, col: any, field: string): string;
87
- exibirCampo(field: any, rowData: any): any;
88
- criarMenusModal(data: any): void;
89
- returnClassChip(rowData: any, col: any): string;
90
- returnClassIcon(rowData: any, col: any): string;
91
- returnTooltipIcon(rowData: any, col: any): string;
92
- deleteColumn(field: string): void;
93
- addColumn(field: string): void;
94
- dinamicColumnSet(e: any, col: any): void;
95
- checkMenuFiltro(col: any): void;
96
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
97
- callDisabled(action: KvMenuItem, data: any): boolean;
98
- dinamicDisableColumn(col: TableConfigColumn): boolean;
99
- checkHideColumns(): void;
100
- getCustomTemplate(templatename: string): TemplateRef<any>;
101
- filtrosAvancadosEvent(e: any): void;
102
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "pageLinksOptions": "pageLinksOptions"; "showFirstLastIcon": "showFirstLastIcon"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; "filtrosAvancados": "filtrosAvancados"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; }, ["templates"], ["*"], false, never>;
104
- }
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
+ showFiltrosAvancados: boolean;
35
+ templates: QueryList<any>;
36
+ _templates: any;
37
+ table: Table;
38
+ deletedColumnsIndex: any[];
39
+ set setConfig(value: TableConfig);
40
+ dataSource: any;
41
+ selectedItems: any[];
42
+ totalRecords: number;
43
+ paginator: boolean;
44
+ rowsPerPageOptions: number[];
45
+ rows: number;
46
+ pageLinksOptions: number;
47
+ showFirstLastIcon: boolean;
48
+ tableSize: number;
49
+ applyStyle: Function;
50
+ acoesLinhaTabela: boolean;
51
+ filterColumnsBtn: boolean;
52
+ filtrosAvancados: boolean;
53
+ onActiveItem: EventEmitter<any>;
54
+ onActiveItemLote: EventEmitter<any>;
55
+ onPaginate: EventEmitter<any>;
56
+ onSelectionChange: EventEmitter<any>;
57
+ doubleClickEvent: EventEmitter<any>;
58
+ filterField: EventEmitter<any>;
59
+ filtrosAvancadosEmit: EventEmitter<boolean>;
60
+ menuFiltroDiv: ElementRef;
61
+ botaoFiltro: ElementRef;
62
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
63
+ ngOnInit(): void;
64
+ onWindowResize(): void;
65
+ activeItem(rowData: any): void;
66
+ activeItemLote(rowData: any): void;
67
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
68
+ isChipField(col: TableConfigColumn): boolean;
69
+ isImageField(col: TableConfigColumn): boolean;
70
+ isRowSelectable(event: any): boolean;
71
+ isDisabledCheckbox(rowData: any): boolean;
72
+ loadImage(rowData: any, col: TableConfigColumn): string;
73
+ onGlobalFilter(table: Table, event: Event): void;
74
+ paginate(event: any): void;
75
+ selectionChange(value?: never[]): void;
76
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
77
+ expiredFile(rowData: any, col: TableConfigColumn): boolean;
78
+ transformValue(rowData: any, col: TableConfigColumn): any;
79
+ formatarValor(valor: number): string;
80
+ adjustTableSize(): void;
81
+ doubleClick(e: any, rowData: any): void;
82
+ centralizarColunas(col: any): string;
83
+ alignColunas(col: any): string;
84
+ alignColunasHeader(col: any): string;
85
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
86
+ retornarRow(rowData: any, col: any, field: string): string;
87
+ exibirCampo(field: any, rowData: any): any;
88
+ criarMenusModal(data: any): void;
89
+ returnClassChip(rowData: any, col: any): string;
90
+ returnClassIcon(rowData: any, col: any): string;
91
+ returnTooltipIcon(rowData: any, col: any): string;
92
+ deleteColumn(field: string): void;
93
+ addColumn(field: string): void;
94
+ dinamicColumnSet(e: any, col: any): void;
95
+ checkMenuFiltro(col: any): void;
96
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
97
+ callDisabled(action: KvMenuItem, data: any): boolean;
98
+ dinamicDisableColumn(col: TableConfigColumn): boolean;
99
+ checkHideColumns(): void;
100
+ getCustomTemplate(templatename: string): TemplateRef<any>;
101
+ filtrosAvancadosEvent(e: any): void;
102
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kv-table", never, { "_templates": "templates"; "setConfig": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "totalRecords": "totalRecords"; "paginator": "paginator"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "pageLinksOptions": "pageLinksOptions"; "showFirstLastIcon": "showFirstLastIcon"; "tableSize": "tableSize"; "applyStyle": "applyStyle"; "acoesLinhaTabela": "acoesLinhaTabela"; "filterColumnsBtn": "filterColumnsBtn"; "filtrosAvancados": "filtrosAvancados"; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; }, ["templates"], ["*"], false, never>;
104
+ }