keevo-components 1.8.62 → 1.8.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/esm2022/keevo-components.mjs +4 -4
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +36 -36
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -92
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -298
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +78 -78
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -65
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -31
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +169 -169
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +94 -94
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -130
  11. package/esm2022/lib/api/base-components/base-component.mjs +51 -51
  12. package/esm2022/lib/api/components/chart/chart.config.mjs +1 -1
  13. package/esm2022/lib/api/components/chart/chart.model.mjs +1 -1
  14. package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
  15. package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
  16. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
  17. package/esm2022/lib/api/components/table/action-item.mjs +1 -1
  18. package/esm2022/lib/api/components/table/kv-menuitem.mjs +2 -2
  19. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
  20. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  21. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  22. package/esm2022/lib/api/components/table/table.paginate.mjs +8 -8
  23. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  24. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  25. package/esm2022/lib/api/directives/template/template.directive.mjs +24 -24
  26. package/esm2022/lib/api/helpers/component-providers.mjs +15 -15
  27. package/esm2022/lib/api/helpers/keevo-validators.mjs +72 -72
  28. package/esm2022/lib/api/helpers/translate-primeng.mjs +22 -22
  29. package/esm2022/lib/api/modules/primeng.module.mjs +255 -255
  30. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -25
  31. package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -29
  32. package/esm2022/lib/api/pipes/pipes.module.mjs +34 -34
  33. package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -45
  34. package/esm2022/lib/api/services/base.api.service.mjs +74 -74
  35. package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -57
  36. package/esm2022/lib/api/services/component.service.mjs +27 -27
  37. package/esm2022/lib/api/services/form.service.mjs +85 -85
  38. package/esm2022/lib/api/services/imagens.service.mjs +28 -28
  39. package/esm2022/lib/api/services/notification.service.mjs +67 -67
  40. package/esm2022/lib/api/services/object.service.mjs +39 -39
  41. package/esm2022/lib/components/keevo-components.module.mjs +137 -137
  42. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -78
  43. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -32
  44. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +31 -31
  45. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -31
  46. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -17
  47. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -17
  48. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -39
  49. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -92
  50. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -28
  51. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -145
  52. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -32
  53. package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -26
  54. package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -35
  55. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -26
  56. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -37
  57. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -88
  58. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -89
  59. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -29
  60. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -59
  61. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -33
  62. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +25 -25
  63. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -42
  64. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -43
  65. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -24
  66. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -108
  67. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -44
  68. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -53
  69. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -34
  70. package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -15
  71. package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -24
  72. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -17
  73. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -28
  74. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -29
  75. package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -52
  76. package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -47
  77. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +198 -198
  78. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -47
  79. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -69
  80. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -31
  81. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -100
  82. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -24
  83. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -147
  84. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -38
  85. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -48
  86. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -32
  87. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -58
  88. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -28
  89. package/esm2022/lib/components/kv-table/kv-table.component.mjs +553 -553
  90. package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -36
  91. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +564 -564
  92. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -34
  93. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +220 -220
  94. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -28
  95. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -30
  96. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -28
  97. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -178
  98. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -51
  99. package/esm2022/public-api.mjs +165 -165
  100. package/fesm2022/keevo-components.mjs +5409 -5411
  101. package/fesm2022/keevo-components.mjs.map +1 -1
  102. package/index.d.ts +5 -5
  103. package/lib/api/base-components/base-component-button.d.ts +14 -14
  104. package/lib/api/base-components/base-component-chart.d.ts +40 -40
  105. package/lib/api/base-components/base-component-crud-form.d.ts +145 -145
  106. package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
  107. package/lib/api/base-components/base-component-crud.d.ts +36 -36
  108. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -15
  109. package/lib/api/base-components/base-component-dropdown.d.ts +44 -44
  110. package/lib/api/base-components/base-component-input.d.ts +31 -31
  111. package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
  112. package/lib/api/base-components/base-component.d.ts +22 -22
  113. package/lib/api/components/chart/chart.config.d.ts +11 -11
  114. package/lib/api/components/chart/chart.model.d.ts +9 -9
  115. package/lib/api/components/chart/orchart.config.d.ts +35 -35
  116. package/lib/api/components/chart/orchart.item.d.ts +26 -26
  117. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
  118. package/lib/api/components/table/action-item.d.ts +11 -11
  119. package/lib/api/components/table/kv-menuitem.d.ts +10 -10
  120. package/lib/api/components/table/table-dropdown-control.d.ts +6 -6
  121. package/lib/api/components/table/table.config.column.d.ts +25 -25
  122. package/lib/api/components/table/table.config.d.ts +19 -19
  123. package/lib/api/components/table/table.paginate.d.ts +6 -6
  124. package/lib/api/components/table/tabledit.config.d.ts +8 -8
  125. package/lib/api/components/table/tableedit.config.column.d.ts +10 -10
  126. package/lib/api/directives/template/template.directive.d.ts +11 -11
  127. package/lib/api/helpers/component-providers.d.ts +2 -2
  128. package/lib/api/helpers/keevo-validators.d.ts +11 -11
  129. package/lib/api/helpers/translate-primeng.d.ts +4 -4
  130. package/lib/api/modules/primeng.module.d.ts +62 -62
  131. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -7
  132. package/lib/api/pipes/mask.pipe.d.ts +7 -7
  133. package/lib/api/pipes/pipes.module.d.ts +10 -10
  134. package/lib/api/pipes/telefone.pipe.d.ts +7 -7
  135. package/lib/api/services/base.api.service.d.ts +25 -25
  136. package/lib/api/services/breadcrumbs.service.d.ts +15 -15
  137. package/lib/api/services/component.service.d.ts +11 -11
  138. package/lib/api/services/form.service.d.ts +28 -28
  139. package/lib/api/services/imagens.service.d.ts +10 -10
  140. package/lib/api/services/notification.service.d.ts +25 -25
  141. package/lib/api/services/object.service.d.ts +9 -9
  142. package/lib/components/keevo-components.module.d.ts +24 -24
  143. package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -22
  144. package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -10
  145. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +13 -13
  146. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -13
  147. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -7
  148. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -7
  149. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -11
  150. package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -16
  151. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -9
  152. package/lib/components/kv-chart/kv-chart.component.d.ts +56 -56
  153. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -10
  154. package/lib/components/kv-error/kv-error.component.d.ts +12 -12
  155. package/lib/components/kv-error/kv-error.module.d.ts +10 -10
  156. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -11
  157. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -14
  158. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +36 -36
  159. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -27
  160. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -12
  161. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -19
  162. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -13
  163. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +10 -10
  164. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -16
  165. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -16
  166. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -10
  167. package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -25
  168. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -15
  169. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -18
  170. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -14
  171. package/lib/components/kv-label/kv-label.component.d.ts +7 -7
  172. package/lib/components/kv-label/kv-label.module.d.ts +8 -8
  173. package/lib/components/kv-loader/kv-loader.component.d.ts +8 -8
  174. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -9
  175. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -10
  176. package/lib/components/kv-login/kv-login.component.d.ts +30 -30
  177. package/lib/components/kv-login/kv-login.module.d.ts +13 -13
  178. package/lib/components/kv-menu/kv-menu.component.d.ts +60 -60
  179. package/lib/components/kv-menu/kv-menu.module.d.ts +13 -13
  180. package/lib/components/kv-modal/kv-modal.component.d.ts +20 -20
  181. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -10
  182. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -27
  183. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -9
  184. package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -70
  185. package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -11
  186. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -20
  187. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -10
  188. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -67
  189. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -9
  190. package/lib/components/kv-table/kv-table.component.d.ts +112 -112
  191. package/lib/components/kv-table/kv-table.module.d.ts +11 -11
  192. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +115 -115
  193. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +12 -12
  194. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +43 -43
  195. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -9
  196. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -14
  197. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -9
  198. package/lib/components/kv-workspace/kv-workspace.component.d.ts +46 -46
  199. package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -14
  200. package/package.json +5 -2
  201. package/public-api.d.ts +162 -162
@@ -1,67 +1,67 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ProgressBarComponent {
3
- /**
4
- * Current value of the progress.
5
- * @group Props
6
- */
7
- value: number | undefined;
8
- /**
9
- * Max value of the progress.
10
- * @group Props
11
- */
12
- maxValue: number | undefined;
13
- /**
14
- * Label value of the progress.
15
- * @group Props
16
- */
17
- label: string | undefined;
18
- /**
19
- * Whether to display the progress bar value.
20
- * @group Props
21
- */
22
- showValue: boolean;
23
- /**
24
- * Whether to display the progress bar value.
25
- * @group Props
26
- */
27
- showLabel: boolean;
28
- /**
29
- * Class of the element.
30
- * @group Props
31
- */
32
- styleClass: string | undefined;
33
- /**
34
- * Class of the element.
35
- * @group Props
36
- */
37
- labelStyleClass: string | undefined;
38
- /**
39
- * Class of the element.
40
- * @group Props
41
- */
42
- barStyleClass: string | undefined;
43
- /**
44
- * Inline style of the element.
45
- * @group Props
46
- */
47
- style: {
48
- [klass: string]: any;
49
- } | null | undefined;
50
- /**
51
- * Unit sign appended to the value.
52
- * @group Props
53
- */
54
- unit: string;
55
- /**
56
- * Defines the mode of the progress
57
- * @group Props
58
- */
59
- mode: string;
60
- /**
61
- * Color for the background of the progress.
62
- * @group Props
63
- */
64
- color: string | undefined;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kv-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "labelStyleClass": { "alias": "labelStyleClass"; "required": false; }; "barStyleClass": { "alias": "barStyleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
67
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class ProgressBarComponent {
3
+ /**
4
+ * Current value of the progress.
5
+ * @group Props
6
+ */
7
+ value: number | undefined;
8
+ /**
9
+ * Max value of the progress.
10
+ * @group Props
11
+ */
12
+ maxValue: number | undefined;
13
+ /**
14
+ * Label value of the progress.
15
+ * @group Props
16
+ */
17
+ label: string | undefined;
18
+ /**
19
+ * Whether to display the progress bar value.
20
+ * @group Props
21
+ */
22
+ showValue: boolean;
23
+ /**
24
+ * Whether to display the progress bar value.
25
+ * @group Props
26
+ */
27
+ showLabel: boolean;
28
+ /**
29
+ * Class of the element.
30
+ * @group Props
31
+ */
32
+ styleClass: string | undefined;
33
+ /**
34
+ * Class of the element.
35
+ * @group Props
36
+ */
37
+ labelStyleClass: string | undefined;
38
+ /**
39
+ * Class of the element.
40
+ * @group Props
41
+ */
42
+ barStyleClass: string | undefined;
43
+ /**
44
+ * Inline style of the element.
45
+ * @group Props
46
+ */
47
+ style: {
48
+ [klass: string]: any;
49
+ } | null | undefined;
50
+ /**
51
+ * Unit sign appended to the value.
52
+ * @group Props
53
+ */
54
+ unit: string;
55
+ /**
56
+ * Defines the mode of the progress
57
+ * @group Props
58
+ */
59
+ mode: string;
60
+ /**
61
+ * Color for the background of the progress.
62
+ * @group Props
63
+ */
64
+ color: string | undefined;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "kv-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "labelStyleClass": { "alias": "labelStyleClass"; "required": false; }; "barStyleClass": { "alias": "barStyleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
67
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./kv-progress-bar.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../api/modules/primeng.module";
5
- export declare class KvProgressBarModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<KvProgressBarModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvProgressBarModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.ProgressBarComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<KvProgressBarModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-progress-bar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../api/modules/primeng.module";
5
+ export declare class KvProgressBarModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvProgressBarModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvProgressBarModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.ProgressBarComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvProgressBarModule>;
9
+ }
@@ -1,112 +1,112 @@
1
- import { DatePipe, DecimalPipe } from '@angular/common';
2
- import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
3
- import { MenuItemCommandEvent } from 'primeng/api';
4
- import { Table } from 'primeng/table';
5
- import { CpfCnpjPipe } from '../../api/pipes/cpfcnpj.pipe';
6
- import { KvMenuItem } from '../../api/components/table/kv-menuitem';
7
- import { TableConfig } from '../../api/components/table/table.config';
8
- import { TableConfigColumn } from '../../api/components/table/table.config.column';
9
- import { TelefonePipe } from '../../api/pipes/telefone.pipe';
10
- import * as i0 from "@angular/core";
11
- export declare class KvTableComponent implements OnInit {
12
- private readonly datePipe;
13
- private readonly decimalPipe;
14
- private readonly cpfCnpjPipe;
15
- private readonly telefonePipe;
16
- config: TableConfig;
17
- pesquisaValue: string;
18
- globalFilterFields: string[];
19
- actionsTemplate: TemplateRef<any>;
20
- selectedSize: string;
21
- tamanhoTela: number;
22
- menuItems: KvMenuItem[];
23
- menuColumns: KvMenuItem[];
24
- checked: boolean;
25
- columns: TableConfigColumn[];
26
- deletedColuns: TableConfigColumn[];
27
- menuFiltro: boolean;
28
- checkboxClicked: boolean;
29
- showFiltrosAvancados: boolean;
30
- collapsed: boolean;
31
- commandEvent: MenuItemCommandEvent;
32
- templates: QueryList<any>;
33
- _templates: any;
34
- table: Table;
35
- deletedColumnsIndex: any[];
36
- set setConfig(value: TableConfig);
37
- defaultSortField: string;
38
- dataSource: any;
39
- selectedItems: any[];
40
- totalRecords: number;
41
- paginator: boolean;
42
- rowsPerPageOptions: number[];
43
- rows: number;
44
- pageLinksOptions: number;
45
- showFirstLastIcon: boolean;
46
- tableSize: number;
47
- applyStyle: Function;
48
- acoesLinhaTabela: boolean;
49
- filterColumnsBtn: boolean;
50
- filtrosAvancados: boolean;
51
- scrollHeight: string;
52
- isTableScrollable: boolean;
53
- tableCaptalized: boolean;
54
- rowTrackBy: Function;
55
- responsiveLayout: boolean;
56
- onActiveItem: EventEmitter<any>;
57
- onActiveItemLote: EventEmitter<any>;
58
- onPaginate: EventEmitter<any>;
59
- onSelectionChange: EventEmitter<any>;
60
- doubleClickEvent: EventEmitter<any>;
61
- filterField: EventEmitter<any>;
62
- filtrosAvancadosEmit: EventEmitter<boolean>;
63
- onSwitchTableChange: EventEmitter<any>;
64
- menuFiltroDiv: ElementRef;
65
- botaoFiltro: ElementRef;
66
- constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
67
- ngOnInit(): void;
68
- onWindowResize(): void;
69
- activeItem(rowData: any): void;
70
- activeItemLote(rowData: any): void;
71
- isBooleanField(rowData: any, col: TableConfigColumn): boolean;
72
- isChipField(col: TableConfigColumn): boolean;
73
- isImageField(col: TableConfigColumn): boolean;
74
- isSwitchField(col: TableConfigColumn): boolean;
75
- isRowSelectable(event: any): boolean;
76
- isDisabledCheckbox(rowData: any): boolean;
77
- loadImage(rowData: any, col: TableConfigColumn): string;
78
- onGlobalFilter(table: Table, event: Event): void;
79
- paginate(event: any): void;
80
- selectionChange(value?: never[]): void;
81
- returnRowClass(rowData: any, col: TableConfigColumn): string;
82
- expiredFile(rowData: any, col: TableConfigColumn): boolean;
83
- transformValue(rowData: any, col: TableConfigColumn): any;
84
- formatarValor(valor: number): string;
85
- adjustTableSize(): void;
86
- doubleClick(e: any, rowData: any): void;
87
- centralizarColunas(col: any): string;
88
- alignColunas(col: any): string;
89
- alignColunasHeader(col: any): string;
90
- retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
91
- retornarRow(rowData: any, col: any, field: string): string;
92
- exibirCampo(field: any, rowData: any): any;
93
- criarMenusModal(data: any): void;
94
- returnClassChip(rowData: any, col: any): string;
95
- returnClassIcon(rowData: any, col: any): string;
96
- returnTooltipIcon(rowData: any, col: any): string;
97
- returnTooltipRow(rowData: any, col: any): any;
98
- deleteColumn(field: string): void;
99
- addColumn(field: string): void;
100
- dinamicColumnSet(e: any, col: any): void;
101
- checkMenuFiltro(col: any): void;
102
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
103
- callDisabled(action: KvMenuItem, data: any): boolean;
104
- dinamicDisableColumn(col: TableConfigColumn): boolean;
105
- checkHideColumns(): void;
106
- getCustomTemplate(templatename: string): TemplateRef<any>;
107
- filtrosAvancadosEvent(e: any): void;
108
- isButtonDisable(action: any, rowData: any, commandEvent: any): any;
109
- onSwitchChange(estado: any, rowData: boolean, col: any): void;
110
- static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "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; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "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; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
112
- }
1
+ import { DatePipe, DecimalPipe } from '@angular/common';
2
+ import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
3
+ import { MenuItemCommandEvent } from 'primeng/api';
4
+ import { Table } from 'primeng/table';
5
+ import { CpfCnpjPipe } from '../../api/pipes/cpfcnpj.pipe';
6
+ import { KvMenuItem } from '../../api/components/table/kv-menuitem';
7
+ import { TableConfig } from '../../api/components/table/table.config';
8
+ import { TableConfigColumn } from '../../api/components/table/table.config.column';
9
+ import { TelefonePipe } from '../../api/pipes/telefone.pipe';
10
+ import * as i0 from "@angular/core";
11
+ export declare class KvTableComponent implements OnInit {
12
+ private readonly datePipe;
13
+ private readonly decimalPipe;
14
+ private readonly cpfCnpjPipe;
15
+ private readonly telefonePipe;
16
+ config: TableConfig;
17
+ pesquisaValue: string;
18
+ globalFilterFields: string[];
19
+ actionsTemplate: TemplateRef<any>;
20
+ selectedSize: string;
21
+ tamanhoTela: number;
22
+ menuItems: KvMenuItem[];
23
+ menuColumns: KvMenuItem[];
24
+ checked: boolean;
25
+ columns: TableConfigColumn[];
26
+ deletedColuns: TableConfigColumn[];
27
+ menuFiltro: boolean;
28
+ checkboxClicked: boolean;
29
+ showFiltrosAvancados: boolean;
30
+ collapsed: boolean;
31
+ commandEvent: MenuItemCommandEvent;
32
+ templates: QueryList<any>;
33
+ _templates: any;
34
+ table: Table;
35
+ deletedColumnsIndex: any[];
36
+ set setConfig(value: TableConfig);
37
+ defaultSortField: string;
38
+ dataSource: any;
39
+ selectedItems: any[];
40
+ totalRecords: number;
41
+ paginator: boolean;
42
+ rowsPerPageOptions: number[];
43
+ rows: number;
44
+ pageLinksOptions: number;
45
+ showFirstLastIcon: boolean;
46
+ tableSize: number;
47
+ applyStyle: Function;
48
+ acoesLinhaTabela: boolean;
49
+ filterColumnsBtn: boolean;
50
+ filtrosAvancados: boolean;
51
+ scrollHeight: string;
52
+ isTableScrollable: boolean;
53
+ tableCaptalized: boolean;
54
+ rowTrackBy: Function;
55
+ responsiveLayout: boolean;
56
+ onActiveItem: EventEmitter<any>;
57
+ onActiveItemLote: EventEmitter<any>;
58
+ onPaginate: EventEmitter<any>;
59
+ onSelectionChange: EventEmitter<any>;
60
+ doubleClickEvent: EventEmitter<any>;
61
+ filterField: EventEmitter<any>;
62
+ filtrosAvancadosEmit: EventEmitter<boolean>;
63
+ onSwitchTableChange: EventEmitter<any>;
64
+ menuFiltroDiv: ElementRef;
65
+ botaoFiltro: ElementRef;
66
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
67
+ ngOnInit(): void;
68
+ onWindowResize(): void;
69
+ activeItem(rowData: any): void;
70
+ activeItemLote(rowData: any): void;
71
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
72
+ isChipField(col: TableConfigColumn): boolean;
73
+ isImageField(col: TableConfigColumn): boolean;
74
+ isSwitchField(col: TableConfigColumn): boolean;
75
+ isRowSelectable(event: any): boolean;
76
+ isDisabledCheckbox(rowData: any): boolean;
77
+ loadImage(rowData: any, col: TableConfigColumn): string;
78
+ onGlobalFilter(table: Table, event: Event): void;
79
+ paginate(event: any): void;
80
+ selectionChange(value?: never[]): void;
81
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
82
+ expiredFile(rowData: any, col: TableConfigColumn): boolean;
83
+ transformValue(rowData: any, col: TableConfigColumn): any;
84
+ formatarValor(valor: number): string;
85
+ adjustTableSize(): void;
86
+ doubleClick(e: any, rowData: any): void;
87
+ centralizarColunas(col: any): string;
88
+ alignColunas(col: any): string;
89
+ alignColunasHeader(col: any): string;
90
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
91
+ retornarRow(rowData: any, col: any, field: string): string;
92
+ exibirCampo(field: any, rowData: any): any;
93
+ criarMenusModal(data: any): void;
94
+ returnClassChip(rowData: any, col: any): string;
95
+ returnClassIcon(rowData: any, col: any): string;
96
+ returnTooltipIcon(rowData: any, col: any): string;
97
+ returnTooltipRow(rowData: any, col: any): any;
98
+ deleteColumn(field: string): void;
99
+ addColumn(field: string): void;
100
+ dinamicColumnSet(e: any, col: any): void;
101
+ checkMenuFiltro(col: any): void;
102
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
103
+ callDisabled(action: KvMenuItem, data: any): boolean;
104
+ dinamicDisableColumn(col: TableConfigColumn): boolean;
105
+ checkHideColumns(): void;
106
+ getCustomTemplate(templatename: string): TemplateRef<any>;
107
+ filtrosAvancadosEvent(e: any): void;
108
+ isButtonDisable(action: any, rowData: any, commandEvent: any): any;
109
+ onSwitchChange(estado: any, rowData: boolean, col: any): void;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "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; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "acoesLinhaTabela": { "alias": "acoesLinhaTabela"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "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; }; }, { "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "filtrosAvancadosEmit": "filtrosAvancadosEmit"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
112
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./kv-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
- import * as i5 from "../kv-inputs/kv-inputs.module";
7
- export declare class KvTableModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.KvTableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.KvInputsModule], [typeof i1.KvTableComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-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
+ import * as i5 from "../kv-inputs/kv-inputs.module";
7
+ export declare class KvTableModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvTableModule, [typeof i1.KvTableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.KvInputsModule], [typeof i1.KvTableComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvTableModule>;
11
+ }