keevo-components 1.8.45 → 1.8.47

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 (401) hide show
  1. package/esm2022/keevo-components.mjs +5 -0
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +36 -0
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -0
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -0
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +78 -0
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -0
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +169 -0
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +94 -0
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -0
  11. package/esm2022/lib/api/base-components/base-component.mjs +51 -0
  12. package/esm2022/lib/api/components/chart/chart.config.mjs +2 -0
  13. package/esm2022/lib/api/components/chart/chart.model.mjs +2 -0
  14. package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -0
  15. package/esm2022/lib/api/components/chart/orchart.item.mjs +2 -0
  16. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
  17. package/esm2022/lib/api/components/table/action-item.mjs +2 -0
  18. package/esm2022/lib/api/components/table/kv-menuitem.mjs +3 -0
  19. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
  20. package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
  21. package/esm2022/lib/api/components/table/table.config.mjs +2 -0
  22. package/esm2022/lib/api/components/table/table.paginate.mjs +9 -0
  23. package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
  24. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
  25. package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
  26. package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
  27. package/esm2022/lib/api/helpers/keevo-validators.mjs +72 -0
  28. package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
  29. package/esm2022/lib/api/modules/primeng.module.mjs +255 -0
  30. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
  31. package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
  32. package/esm2022/lib/api/pipes/pipes.module.mjs +34 -0
  33. package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
  34. package/esm2022/lib/api/services/base.api.service.mjs +74 -0
  35. package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -0
  36. package/esm2022/lib/api/services/component.service.mjs +27 -0
  37. package/esm2022/lib/api/services/form.service.mjs +85 -0
  38. package/esm2022/lib/api/services/imagens.service.mjs +28 -0
  39. package/esm2022/lib/api/services/notification.service.mjs +67 -0
  40. package/esm2022/lib/api/services/object.service.mjs +39 -0
  41. package/esm2022/lib/components/keevo-components.module.mjs +137 -0
  42. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -0
  43. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -0
  44. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +31 -0
  45. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -0
  46. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
  47. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
  48. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
  49. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -0
  50. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
  51. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -0
  52. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
  53. package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
  54. package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
  55. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -0
  56. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -0
  57. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -0
  58. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -0
  59. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -0
  60. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
  61. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
  62. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +25 -0
  63. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -0
  64. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
  65. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
  66. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -0
  67. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -0
  68. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -0
  69. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -0
  70. package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
  71. package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
  72. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -0
  73. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
  74. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
  75. package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -0
  76. package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
  77. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +190 -0
  78. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -0
  79. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -0
  80. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -0
  81. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -0
  82. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -0
  83. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -0
  84. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -0
  85. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -0
  86. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -0
  87. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
  88. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
  89. package/esm2022/lib/components/kv-table/kv-table.component.mjs +553 -0
  90. package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -0
  91. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +564 -0
  92. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -0
  93. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +220 -0
  94. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -0
  95. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -0
  96. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
  97. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -0
  98. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -0
  99. package/esm2022/public-api.mjs +166 -0
  100. package/fesm2022/keevo-components.mjs +5680 -0
  101. package/fesm2022/keevo-components.mjs.map +1 -0
  102. package/index.d.ts +5 -0
  103. package/lib/api/base-components/base-component-button.d.ts +14 -0
  104. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  105. package/lib/api/base-components/base-component-crud-form.d.ts +145 -0
  106. package/lib/api/base-components/base-component-crud-list.d.ts +63 -0
  107. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  108. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
  109. package/lib/api/base-components/base-component-dropdown.d.ts +44 -0
  110. package/lib/api/base-components/base-component-input.d.ts +31 -0
  111. package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
  112. package/lib/api/base-components/base-component.d.ts +22 -0
  113. package/lib/api/components/chart/chart.config.d.ts +11 -0
  114. package/lib/api/components/chart/chart.model.d.ts +9 -0
  115. package/lib/api/components/chart/orchart.config.d.ts +35 -0
  116. package/lib/api/components/chart/orchart.item.d.ts +26 -0
  117. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  118. package/lib/api/components/table/action-item.d.ts +11 -0
  119. package/lib/api/components/table/kv-menuitem.d.ts +10 -0
  120. package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
  121. package/lib/api/components/table/table.config.column.d.ts +25 -0
  122. package/lib/api/components/table/table.config.d.ts +19 -0
  123. package/lib/api/components/table/table.paginate.d.ts +6 -0
  124. package/lib/api/components/table/tabledit.config.d.ts +8 -0
  125. package/lib/api/components/table/tableedit.config.column.d.ts +10 -0
  126. package/lib/api/directives/template/template.directive.d.ts +11 -0
  127. package/lib/api/helpers/component-providers.d.ts +2 -0
  128. package/lib/api/helpers/keevo-validators.d.ts +11 -0
  129. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  130. package/lib/api/modules/primeng.module.d.ts +62 -0
  131. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
  132. package/lib/api/pipes/mask.pipe.d.ts +7 -0
  133. package/lib/api/pipes/pipes.module.d.ts +10 -0
  134. package/lib/api/pipes/telefone.pipe.d.ts +7 -0
  135. package/lib/api/services/base.api.service.d.ts +25 -0
  136. package/lib/api/services/breadcrumbs.service.d.ts +15 -0
  137. package/lib/api/services/component.service.d.ts +11 -0
  138. package/lib/api/services/form.service.d.ts +28 -0
  139. package/lib/api/services/imagens.service.d.ts +10 -0
  140. package/lib/api/services/notification.service.d.ts +25 -0
  141. package/lib/api/services/object.service.d.ts +9 -0
  142. package/lib/components/keevo-components.module.d.ts +24 -0
  143. package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -0
  144. package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -0
  145. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +13 -0
  146. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -0
  147. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
  148. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
  149. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
  150. package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -0
  151. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
  152. package/lib/components/kv-chart/kv-chart.component.d.ts +56 -0
  153. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
  154. package/lib/components/kv-error/kv-error.component.d.ts +12 -0
  155. package/lib/components/kv-error/kv-error.module.d.ts +10 -0
  156. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -0
  157. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -0
  158. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +36 -0
  159. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -0
  160. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
  161. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
  162. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
  163. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +10 -0
  164. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -0
  165. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
  166. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
  167. package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -0
  168. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -0
  169. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -0
  170. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -0
  171. package/lib/components/kv-label/kv-label.component.d.ts +7 -0
  172. package/lib/components/kv-label/kv-label.module.d.ts +8 -0
  173. package/lib/components/kv-loader/kv-loader.component.d.ts +8 -0
  174. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
  175. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
  176. package/lib/components/kv-login/kv-login.component.d.ts +30 -0
  177. package/lib/components/kv-login/kv-login.module.d.ts +13 -0
  178. package/lib/components/kv-menu/kv-menu.component.d.ts +58 -0
  179. package/lib/components/kv-menu/kv-menu.module.d.ts +13 -0
  180. package/lib/components/kv-modal/kv-modal.component.d.ts +20 -0
  181. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
  182. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -0
  183. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -0
  184. package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -0
  185. package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -0
  186. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -0
  187. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -0
  188. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
  189. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
  190. package/lib/components/kv-table/kv-table.component.d.ts +112 -0
  191. package/lib/components/kv-table/kv-table.module.d.ts +11 -0
  192. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +115 -0
  193. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +12 -0
  194. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +43 -0
  195. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -0
  196. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -0
  197. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
  198. package/lib/components/kv-workspace/kv-workspace.component.d.ts +46 -0
  199. package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -0
  200. package/package.json +16 -3
  201. package/{src/public-api.ts → public-api.d.ts} +14 -41
  202. package/ng-package.json +0 -7
  203. package/src/assets/.gitkeep +0 -0
  204. package/src/assets/images/LogoEvo.png +0 -0
  205. package/src/assets/images/LogoPequenaEvo.png +0 -0
  206. package/src/assets/images/background.png +0 -0
  207. package/src/assets/images/keepass-logo.png +0 -0
  208. package/src/assets/images/keepass-logo.svg +0 -74
  209. package/src/assets/images/keevo-logo.png +0 -0
  210. package/src/assets/images/logokeevo_2.png +0 -0
  211. package/src/index.ts +0 -1
  212. package/src/lib/api/base-components/base-component-button.ts +0 -27
  213. package/src/lib/api/base-components/base-component-chart.ts +0 -105
  214. package/src/lib/api/base-components/base-component-crud-form.ts +0 -361
  215. package/src/lib/api/base-components/base-component-crud-list.ts +0 -121
  216. package/src/lib/api/base-components/base-component-crud.ts +0 -70
  217. package/src/lib/api/base-components/base-component-dropdown-external.ts +0 -29
  218. package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
  219. package/src/lib/api/base-components/base-component-dropdown.ts +0 -170
  220. package/src/lib/api/base-components/base-component-input.ts +0 -107
  221. package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
  222. package/src/lib/api/base-components/base-component.ts +0 -47
  223. package/src/lib/api/components/chart/chart.config.ts +0 -12
  224. package/src/lib/api/components/chart/chart.model.ts +0 -9
  225. package/src/lib/api/components/chart/orchart.config.ts +0 -41
  226. package/src/lib/api/components/chart/orchart.item.ts +0 -33
  227. package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
  228. package/src/lib/api/components/table/action-item.ts +0 -11
  229. package/src/lib/api/components/table/kv-menuitem.ts +0 -11
  230. package/src/lib/api/components/table/table-dropdown-control.ts +0 -6
  231. package/src/lib/api/components/table/table.config.column.ts +0 -27
  232. package/src/lib/api/components/table/table.config.ts +0 -22
  233. package/src/lib/api/components/table/table.paginate.ts +0 -6
  234. package/src/lib/api/components/table/tabledit.config.ts +0 -10
  235. package/src/lib/api/components/table/tableedit.config.column.ts +0 -12
  236. package/src/lib/api/directives/directives.module.ts +0 -16
  237. package/src/lib/api/directives/drag/drag.directive.ts +0 -40
  238. package/src/lib/api/directives/template/template.directive.ts +0 -15
  239. package/src/lib/api/helpers/component-providers.ts +0 -16
  240. package/src/lib/api/helpers/keevo-validators.ts +0 -86
  241. package/src/lib/api/helpers/translate-primeng.ts +0 -25
  242. package/src/lib/api/modules/primeng.module.ts +0 -130
  243. package/src/lib/api/pipes/cpfcnpj.pipe.ts +0 -21
  244. package/src/lib/api/pipes/mask.pipe.ts +0 -24
  245. package/src/lib/api/pipes/pipes.module.ts +0 -23
  246. package/src/lib/api/pipes/telefone.pipe.ts +0 -38
  247. package/src/lib/api/services/base.api.service.ts +0 -115
  248. package/src/lib/api/services/breadcrumbs.service.ts +0 -58
  249. package/src/lib/api/services/component.service.ts +0 -32
  250. package/src/lib/api/services/docs.service.ts +0 -129
  251. package/src/lib/api/services/form.service.ts +0 -115
  252. package/src/lib/api/services/imagens.service.ts +0 -28
  253. package/src/lib/api/services/notification.service.ts +0 -85
  254. package/src/lib/api/services/object.service.ts +0 -33
  255. package/src/lib/components/keevo-components-styles.scss +0 -11
  256. package/src/lib/components/keevo-components.module.ts +0 -65
  257. package/src/lib/components/kv-avatar/kv-avatar.component.html +0 -12
  258. package/src/lib/components/kv-avatar/kv-avatar.component.scss +0 -45
  259. package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +0 -23
  260. package/src/lib/components/kv-avatar/kv-avatar.component.ts +0 -72
  261. package/src/lib/components/kv-avatar/kv-avatar.module.ts +0 -21
  262. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +0 -15
  263. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +0 -3
  264. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +0 -34
  265. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +0 -12
  266. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +0 -13
  267. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +0 -35
  268. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +0 -12
  269. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +0 -14
  270. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +0 -14
  271. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +0 -11
  272. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +0 -13
  273. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +0 -14
  274. package/src/lib/components/kv-buttons/kv-button.module.ts +0 -26
  275. package/src/lib/components/kv-carousel/kv-carousel.component.html +0 -31
  276. package/src/lib/components/kv-carousel/kv-carousel.component.scss +0 -24
  277. package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +0 -23
  278. package/src/lib/components/kv-carousel/kv-carousel.component.ts +0 -104
  279. package/src/lib/components/kv-carousel/kv-carousel.module.ts +0 -19
  280. package/src/lib/components/kv-chart/kv-chart.component.html +0 -38
  281. package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
  282. package/src/lib/components/kv-chart/kv-chart.component.spec.ts +0 -28
  283. package/src/lib/components/kv-chart/kv-chart.component.ts +0 -153
  284. package/src/lib/components/kv-chart/kv-chart.module.ts +0 -21
  285. package/src/lib/components/kv-error/kv-error.component.html +0 -3
  286. package/src/lib/components/kv-error/kv-error.component.scss +0 -5
  287. package/src/lib/components/kv-error/kv-error.component.ts +0 -27
  288. package/src/lib/components/kv-error/kv-error.module.ts +0 -26
  289. package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +0 -11
  290. package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +0 -13
  291. package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +0 -32
  292. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +0 -91
  293. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +0 -4
  294. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +0 -38
  295. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +0 -97
  296. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +0 -4
  297. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +0 -99
  298. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +0 -30
  299. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -0
  300. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +0 -84
  301. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +0 -22
  302. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
  303. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +0 -35
  304. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +0 -23
  305. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
  306. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +0 -61
  307. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +0 -23
  308. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
  309. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +0 -26
  310. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +0 -22
  311. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +0 -18
  312. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +0 -27
  313. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +0 -35
  314. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -0
  315. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +0 -23
  316. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +0 -43
  317. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +0 -22
  318. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
  319. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +0 -40
  320. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +0 -23
  321. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
  322. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +0 -27
  323. package/src/lib/components/kv-inputs/kv-inputs.module.ts +0 -70
  324. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +0 -45
  325. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +0 -8
  326. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +0 -44
  327. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +0 -19
  328. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +0 -15
  329. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +0 -59
  330. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +0 -13
  331. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +0 -3
  332. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +0 -41
  333. package/src/lib/components/kv-label/kv-label.component.html +0 -6
  334. package/src/lib/components/kv-label/kv-label.component.scss +0 -9
  335. package/src/lib/components/kv-label/kv-label.component.spec.ts +0 -23
  336. package/src/lib/components/kv-label/kv-label.component.ts +0 -14
  337. package/src/lib/components/kv-label/kv-label.module.ts +0 -17
  338. package/src/lib/components/kv-loader/kv-loader.component.html +0 -1
  339. package/src/lib/components/kv-loader/kv-loader.component.ts +0 -15
  340. package/src/lib/components/kv-loader/kv-loader.module.ts +0 -17
  341. package/src/lib/components/kv-loader/kv-loader.service.ts +0 -31
  342. package/src/lib/components/kv-login/kv-login.component.html +0 -108
  343. package/src/lib/components/kv-login/kv-login.component.scss +0 -48
  344. package/src/lib/components/kv-login/kv-login.component.spec.ts +0 -23
  345. package/src/lib/components/kv-login/kv-login.component.ts +0 -81
  346. package/src/lib/components/kv-login/kv-login.module.ts +0 -33
  347. package/src/lib/components/kv-menu/kv-menu.component.html +0 -259
  348. package/src/lib/components/kv-menu/kv-menu.component.scss +0 -210
  349. package/src/lib/components/kv-menu/kv-menu.component.spec.ts +0 -23
  350. package/src/lib/components/kv-menu/kv-menu.component.ts +0 -192
  351. package/src/lib/components/kv-menu/kv-menu.module.ts +0 -33
  352. package/src/lib/components/kv-modal/kv-modal.component.html +0 -19
  353. package/src/lib/components/kv-modal/kv-modal.component.scss +0 -13
  354. package/src/lib/components/kv-modal/kv-modal.component.spec.ts +0 -21
  355. package/src/lib/components/kv-modal/kv-modal.component.ts +0 -73
  356. package/src/lib/components/kv-modal/kv-modal.module.ts +0 -21
  357. package/src/lib/components/kv-orgchart/kv-orgchart.component.html +0 -58
  358. package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +0 -21
  359. package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +0 -110
  360. package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +0 -14
  361. package/src/lib/components/kv-page-form/kv-page-form.component.html +0 -59
  362. package/src/lib/components/kv-page-form/kv-page-form.component.scss +0 -76
  363. package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +0 -28
  364. package/src/lib/components/kv-page-form/kv-page-form.component.ts +0 -134
  365. package/src/lib/components/kv-page-form/kv-page-form.module.ts +0 -31
  366. package/src/lib/components/kv-pick-list/kv-pick-list.component.html +0 -17
  367. package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -0
  368. package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +0 -26
  369. package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +0 -34
  370. package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +0 -21
  371. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +0 -38
  372. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +0 -110
  373. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +0 -21
  374. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +0 -79
  375. package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +0 -19
  376. package/src/lib/components/kv-table/kv-table.component.html +0 -530
  377. package/src/lib/components/kv-table/kv-table.component.scss +0 -265
  378. package/src/lib/components/kv-table/kv-table.component.spec.ts +0 -28
  379. package/src/lib/components/kv-table/kv-table.component.ts +0 -599
  380. package/src/lib/components/kv-table/kv-table.module.ts +0 -23
  381. package/src/lib/components/kv-table-edit/kv-table-edit.component.html +0 -630
  382. package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +0 -365
  383. package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +0 -602
  384. package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +0 -24
  385. package/src/lib/components/kv-tree-table/kv-tree-table.component.html +0 -316
  386. package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +0 -130
  387. package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +0 -21
  388. package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +0 -231
  389. package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +0 -18
  390. package/src/lib/components/kv-tree-view/kv-tree-view.component.html +0 -9
  391. package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -0
  392. package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +0 -23
  393. package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +0 -31
  394. package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +0 -19
  395. package/src/lib/components/kv-workspace/kv-workspace.component.html +0 -57
  396. package/src/lib/components/kv-workspace/kv-workspace.component.scss +0 -117
  397. package/src/lib/components/kv-workspace/kv-workspace.component.ts +0 -196
  398. package/src/lib/components/kv-workspace/kv-workspace.module.ts +0 -35
  399. package/tsconfig.lib.json +0 -14
  400. package/tsconfig.lib.prod.json +0 -10
  401. package/tsconfig.spec.json +0 -14
@@ -1,630 +0,0 @@
1
-
2
-
3
- <div class="card" >
4
- <p-toast></p-toast>
5
-
6
- <p-panel
7
- *ngIf="filtrosAvancados"
8
- header="Filtros avançados"
9
- [toggleable]="true"
10
- [collapsed]="true"
11
- (collapsedChange)="collapsed = !collapsed"
12
- [style]="{ 'margin-bottom': '2px' }"
13
- >
14
- <ng-template pTemplate="headericons">
15
- <i
16
- *ngIf="!collapsed"
17
- class="pi pi-filter"
18
- ></i>
19
- <!-- Ícone quando o painel está aberto -->
20
- <i
21
- *ngIf="collapsed"
22
- class="pi pi-minus"
23
- ></i>
24
- <!-- Ícone quando o painel está fechado -->
25
- </ng-template>
26
- <ng-content></ng-content>
27
- </p-panel>
28
-
29
- <p-contextMenu #cm [model]="items"></p-contextMenu>
30
- <p-table
31
- #te
32
- [reorderableColumns]="config.reorderableColumns || false"
33
- *ngIf="config"
34
- [value]="dataSource"
35
- [dataKey]="config.dataKey"
36
- [tableStyle]="{ 'min-width': '50rem' }"
37
- [columns]="config.columns"
38
- [editMode]="'row'"
39
- [scrollable]="true"
40
- scrollHeight="400px"
41
- appendTo="body"
42
- [styleClass]="'p-datatable-sm'"
43
- [(selection)]="selectedItems"
44
- [rowSelectable]="isRowSelectable"
45
- [globalFilterFields]="globalFilterFields"
46
- [rows]="rows"
47
- [paginator]="paginator"
48
- [rowsPerPageOptions]="rowsPerPageOptions"
49
- [showCurrentPageReport]="true"
50
- currentPageReportTemplate="{first} - {last} de {{ totalRecords }}"
51
- (selectionChange)="selectionChange($event)"
52
- [rowHover]="true"
53
- [totalRecords]="totalRecords"
54
- [lazy]="config.lazy"
55
- (onLazyLoad)="paginate($event)"
56
- [groupRowsBy]="config.fieldGroup"
57
- [showFirstLastIcon]="showFirstLastIcon"
58
- [pageLinks]="pageLinksOptions"
59
- [scrollable]="isTableScrollable"
60
- [scrollHeight]="scrollHeight"
61
- [rowTrackBy]="rowTrackBy "
62
- [(contextMenuSelection)]="selectedProduct"
63
- [contextMenu]=" isEditableTable() ? cm : null"
64
- >
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
74
-
75
- <ng-template
76
- pTemplate="caption"
77
- *ngIf="config.enableCation"
78
- >
79
- <div class="flex flex-row flex-wrap justify-content-between align-items-center grid formgrid p-fluid col-12">
80
- <div class="col-12 flex flex-column">
81
- <div
82
- *ngIf="config.title"
83
- class="text-md font-bold my-3"
84
- >
85
- {{ config.title }}
86
- </div>
87
- <div
88
- *ngIf="config.subtitle"
89
- class="text-sm mb-4 font-medium"
90
- >
91
- {{ config.subtitle }}
92
- </div>
93
- </div>
94
-
95
- <div class="flex flex-row align-items-center md:col-6 lg:col-4 {{
96
- tamanhoTela < 768 ? 'col-10' : 'col-12'
97
- }} mt-1 mb-2 ">
98
- <span
99
- *ngIf="config.enableFilter"
100
- class="p-input-icon-left"
101
- >
102
- <i class="pi pi-search"></i>
103
-
104
- <input
105
- pInputText
106
- pAutoFocus
107
- [autofocus]="true"
108
- type="text"
109
- (input)="onGlobalFilter(te, $event)"
110
- placeholder="Pesquisar..."
111
- class="h-2rem"
112
- />
113
- </span>
114
-
115
- </div>
116
-
117
- <div class="flex flex-row col-1 justify-content-end">
118
- <div
119
- *ngFor="let action of config.actionsLote"
120
- class="btns-options"
121
- [style]="{ 'margin-right': '7px' }"
122
- >
123
- <button
124
- id="actionLoteBtns"
125
- pButton
126
- *ngIf="
127
- (selectedItems.length > 0 || action.showAcoesLote) &&
128
- exibirCampo(action, this.action)
129
- "
130
- class="actionLoteBtns p-button-raised p-button-text"
131
- (click)="
132
- action?.command(commandEvent); activeItemLote(selectedItems)
133
- "
134
- [pTooltip]="retornarCampo(action, selectedItems, 'tooltip')"
135
- [tooltipPosition]="'bottom'"
136
- [style.backgroundColor]="
137
- retornarCampo(action, selectedItems, 'btnColor')
138
- "
139
- [disabled]="retornarCampo(action, selectedItems, 'disabled')"
140
- >
141
- <span
142
- class="material-symbols-outlined md-22"
143
- [style.color]="
144
- retornarCampo(action, selectedItems, 'iconBtnColor')
145
- "
146
- >
147
- {{ retornarCampo(action, selectedItems, "icon") }}
148
- </span>
149
- </button>
150
- </div>
151
- </div>
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
- </div>
168
- </ng-template>
169
-
170
- <ng-template
171
- pTemplate="header"
172
- let-columns
173
- >
174
- <tr>
175
- <th
176
- style="width: 4rem; border-left: solid 4px transparent"
177
- *ngIf="config.enableSelect"
178
- >
179
- <p-tableHeaderCheckbox (click)="activeItemLote(selectedItems)"></p-tableHeaderCheckbox>
180
- </th>
181
-
182
- <th
183
- *ngFor="let col of columns"
184
- [pSortableColumn]="col.field"
185
- [pSortableColumnDisabled]="col.sortable === false"
186
- [style.min-width]="col.width"
187
- pReorderableColumn
188
- class="text-sm"
189
- >
190
- <div
191
- [class]="
192
- centralizarColunas(col) && alignColunasHeader(col) == ''
193
- ? 'flex flex-row justify-content-center'
194
- : 'flex flex-row'
195
- "
196
- [style]="alignColunasHeader(col)"
197
- >
198
- <span>{{ col.header }}</span>
199
- <p-sortIcon
200
- *ngIf="col.sortable === true"
201
- [field]="col.field"
202
- style="font-size: 10px"
203
- ></p-sortIcon>
204
-
205
- <span
206
- *ngIf="col.headerTooltip"
207
- class="material-symbols-outlined flex align-items-center"
208
- [pTooltip]="col.headerTooltip"
209
- >info</span>
210
- </div>
211
- </th>
212
- <th *ngIf="config.actions && config.actions.length > 0"></th>
213
- <th *ngIf="isEditableTable()" id="th-edit" style="width: 20px">Editar</th>
214
- </tr>
215
- </ng-template>
216
-
217
-
218
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
219
-
220
-
221
-
222
-
223
- <ng-template pTemplate="body" let-rowData let-editing="editing" let-ri="rowIndex" let-columns="columns"
224
- let-rowgroup="rowgroup" let-rowspan="rowspan">
225
- <tr [pEditableRow]="rowData" [pEditableRowDisabled]="false"
226
- [pContextMenuRow]="{rowData, editing}"
227
- >
228
-
229
-
230
- <td
231
- *ngIf="config.enableSelect"
232
- [style]="applyStyle(rowData, { field: 'check-box', header: '' })"
233
- >
234
- <!--<p-tableCheckbox *ngIf="isVisibleCheckbox(rowData)"-->
235
- <p-tableCheckbox
236
- [value]="rowData"
237
- [disabled]="isDisabledCheckbox(rowData)"
238
- (click)="activeItemLote(selectedItems)"
239
- ></p-tableCheckbox>
240
- </td>
241
-
242
-
243
- <ng-container *ngFor="let col of columns; let i = index">
244
-
245
-
246
-
247
-
248
-
249
-
250
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
251
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
252
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
253
-
254
- <!-- Celula que armazena os controles de edição para os campos -->
255
- <td *ngIf="col.fieldControlType"
256
- [id]="'rowTable'+ rowData[config.dataKey]"
257
- pSelectableRowDblClick=""
258
- (click)="activeItem(rowData)"
259
- (dblclick)="dbClickEdit()"
260
- pSelectableRowDblClick=""
261
- class="rowTable" [style]="
262
- applyStyle(rowData, col) +
263
- centralizarColunas(col) +
264
- alignColunas(col) " [pTooltip]="returnTooltipRow(rowData, col)"
265
- >
266
- <p-cellEditor [ngClass]="{'switch': col.fieldControlType == 'switch'}">
267
- <!-- Controle de edição do campo -->
268
- <ng-template pTemplate="input">
269
-
270
- <ng-container [ngSwitch]="col.fieldControlType">
271
-
272
- <ng-container *ngSwitchCase="'text'">
273
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
274
- <kv-input-text [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" [required]="col.required ?? true"></kv-input-text>
275
- </div>
276
- </ng-container>
277
-
278
- <ng-container *ngSwitchCase="'number'">
279
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
280
- <kv-input-number [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" [required]="col.required ?? true"></kv-input-number>
281
- </div>
282
- </ng-container>
283
-
284
- <ng-container *ngSwitchCase="'mask'">
285
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
286
- <kv-input-mask [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [mask]="col.mask" [required]="col.required ?? true" [(ngModel)]="rowData[col.field]"></kv-input-mask>
287
- </div>
288
- </ng-container>
289
-
290
- <ng-container *ngSwitchCase="'switch'">
291
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
292
- <kv-switch [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" ></kv-switch>
293
- </div>
294
- </ng-container>
295
-
296
- <ng-container *ngSwitchCase="'calendar'">
297
- <div [style.width]="col.width">
298
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
299
- <kv-input-calendar class="cellControl col" [(ngModel)]="rowData[col.field]"></kv-input-calendar>
300
- </div>
301
- </div>
302
- </ng-container>
303
- <ng-container *ngSwitchCase="'dropdown'">
304
- <div [style.width]="col.width" class="grid formgrid p-fluid" >
305
- <p-dropdown
306
- [disabled]="isDisableEditRowCellFunction(rowData, col)"
307
- class="cellControl col"
308
- appendTo="body"
309
- [optionLabel]="col.fieldDropDownControl.descricaoobjeto"
310
- [optionValue]="col.fieldDropDownControl.idobjeto"
311
- [options]="col.fieldDropDownControl.fieldControlDropdownSource"
312
- [(ngModel)]="rowData[col.field]"
313
- >
314
- </p-dropdown>
315
- </div>
316
- </ng-container>
317
- </ng-container>
318
- </ng-template>
319
-
320
-
321
-
322
-
323
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
324
-
325
-
326
-
327
-
328
- <!-- Valor atual do campo -->
329
- <ng-template pTemplate="output">
330
- <ng-container [ngSwitch]="col.fieldControlType">
331
- <ng-container *ngSwitchCase="'dropdown'">
332
- <ng-container *ngIf="rowData[col.field]">
333
- {{
334
- retornaDescricaoDrop(
335
- rowData,
336
- col
337
- )
338
- }}
339
- <!-- {{rowData[col.field]}} -->
340
- </ng-container>
341
- </ng-container>
342
-
343
- <ng-container *ngSwitchCase="'switch'">
344
- <kv-switch [(ngModel)]="rowData[col.field]" [disabled]="true"></kv-switch>
345
- </ng-container>
346
-
347
- <ng-container *ngSwitchCase="'calendar'">
348
- {{ rowData[col.field] | date }}
349
- </ng-container>
350
-
351
- <ng-container *ngSwitchCase="'mask'">
352
- {{ rowData[col.field] | mask:col.mask }}
353
- </ng-container>
354
-
355
- <ng-container *ngSwitchDefault>
356
- {{ rowData[col.field] }}
357
- </ng-container>
358
-
359
- </ng-container>
360
- </ng-template>
361
- </p-cellEditor>
362
- </td>
363
-
364
-
365
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
366
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
367
- <!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
- <td *ngIf="rowgroup && !col.template && !col.fieldControlType" [attr.rowspan]="rowgroup && col.grouped ? rowspan : null"
383
- class="rowTable" [style]="
384
- applyStyle(rowData, col) +
385
- centralizarColunas(col) +
386
- alignColunas(col)
387
- " [pTooltip]="returnTooltipRow(rowData, col)">
388
- <span class="p-column-title">{{ col.header }}:</span>
389
-
390
- <span *ngIf="!isBooleanField(rowData, col); else booleanField" [class]="returnRowClass(rowData, col)">
391
- <span *ngIf="
392
- !isChipField(col) && !col.iconField && !isImageField(col)
393
- ">
394
- <i *ngIf="col.icon" [class]="col.icon + ' mr-2'"></i>
395
- {{ transformValue(rowData, col) }}
396
- </span>
397
-
398
- <div *ngIf="isChipField(col) && !col.iconField">
399
- <span [class]="returnClassChip(rowData, col)" [pTooltip]="returnTooltipIcon(rowData, col)">{{
400
- transformValue(rowData, col) }}</span>
401
- </div>
402
- </span>
403
-
404
- <span *ngIf="isImageField(col)">
405
- <span>
406
- <img class="image" [src]="loadImage(rowData, col)" />
407
- </span>
408
- </span>
409
-
410
- <i *ngIf="col.iconField" [ngClass]="{
411
- 'material-icons': col.indIconMaterial,
412
- 'material-symbols-outlined mr-2': !col.indIconMaterial
413
- }" [pTooltip]="returnTooltipIcon(rowData, col)">
414
- {{ returnClassIcon(rowData, col) }}
415
- </i>
416
-
417
- <ng-template #booleanField>
418
- <i *ngIf="!col.iconField && !isSwitchField(col)" [ngClass]="
419
- rowData[col.field] ? 'text-green-500' : 'text-red-500'
420
- "><span class="material-symbols-outlined">
421
- {{ rowData[col.field] ? "check" : "close" }}
422
- </span>
423
- </i>
424
-
425
- <span *ngIf="isSwitchField(col)" [class]="returnRowClass(rowData, col)">
426
- <kv-switch (onSwitchChange)="onSwitchChange($event, rowData, col)"
427
- [disabled]="col?.onlyReadField ?? true" [switchValue]="transformValue(rowData, col)">
428
- </kv-switch>
429
- </span>
430
- </ng-template>
431
- </td>
432
-
433
- <td *ngIf="!rowgroup && !col.grouped && !col.template && !col.fieldControlType" [style]="
434
- applyStyle(rowData, col) +
435
- centralizarColunas(col) +
436
- alignColunas(col)
437
- " class="rowTable" [pTooltip]="returnTooltipRow(rowData, col)">
438
- <span class="p-column-title">{{ col.header }}:</span>
439
-
440
- <span *ngIf="!isBooleanField(rowData, col); else booleanField" [class]="returnRowClass(rowData, col)">
441
- <span *ngIf="
442
- !isChipField(col) && !col.iconField && !isImageField(col)
443
- ">
444
- <i *ngIf="col.icon" [class]="col.icon + ' mr-2'"></i>
445
- {{ transformValue(rowData, col) }}
446
- </span>
447
-
448
- <div *ngIf="isChipField(col) && !col.iconField">
449
- <span [class]="returnClassChip(rowData, col)" [pTooltip]="returnTooltipIcon(rowData, col)">
450
- {{ transformValue(rowData, col) }}</span>
451
- </div>
452
- </span>
453
-
454
- <span *ngIf="isImageField(col)">
455
- <span>
456
- <img class="image" [src]="loadImage(rowData, col)" />
457
- </span>
458
- </span>
459
-
460
- <i *ngIf="col.iconField" [ngClass]="{
461
- 'material-icons': col.indIconMaterial,
462
- 'material-symbols-outlined mr-2': !col.indIconMaterial
463
- }" [pTooltip]="returnTooltipIcon(rowData, col)">
464
- {{ returnClassIcon(rowData, col) }}
465
- </i>
466
-
467
- <ng-template #booleanField>
468
- <i *ngIf="!col.iconField && !isSwitchField(col)" [ngClass]="
469
- rowData[col.field] ? 'text-green-500' : 'text-red-500'
470
- "><span class="material-symbols-outlined">
471
- {{ rowData[col.field] ? "check" : "close" }}
472
- </span>
473
- </i>
474
-
475
- <span *ngIf="isSwitchField(col)" [class]="returnRowClass(rowData, col)">
476
- <kv-switch (onSwitchChange)="onSwitchChange($event, rowData, col)"
477
- [disabled]="col?.onlyReadField ?? true" [switchValue]="transformValue(rowData, col)">
478
- </kv-switch>
479
- </span>
480
- </ng-template>
481
- </td>
482
-
483
- <td *ngIf="col.template && !col.fieldControlType" [style]="
484
- applyStyle(rowData, col) +
485
- centralizarColunas(col) +
486
- alignColunas(col)
487
- " class="rowTable">
488
- <span class="p-column-title">{{ col.header }}:</span>
489
- <ng-container *ngIf="getCustomTemplate(col.template.name)"
490
- [ngTemplateOutlet]="getCustomTemplate(col.template.name)"
491
- [ngTemplateOutletContext]="{ $implicit: rowData }">
492
- </ng-container>
493
- </td>
494
-
495
- </ng-container>
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
- <!-- ------------------------------------------------------------------------------------------------------------------------------------------- -->
508
- <!-- Controle de ação -->
509
- <td [ngClass]="{'td-tools': isEditableTable(), 'td-tools-sticky': !isEditableTable() }"
510
- *ngIf="config.actions && config.actions.length > 0 && !editing"
511
- [style]="applyStyle(rowData, { field: 'btns-options', header: '' })"
512
- >
513
- <div
514
- class="flex flex-row justify-content-end w-full gap-1"
515
- *ngIf="acoesLinhaTabela"
516
- >
517
- <div
518
- *ngFor="let action of config.actions"
519
- class="mr-1"
520
- >
521
- <!-- <button
522
- id="actionBtns"
523
- pButton
524
- *ngIf="exibirCampo(action, rowData)"
525
- class="actionBtns p-button-text p-button-raised"
526
- (click)="activeItem(rowData); action?.command(commandEvent)"
527
- [pTooltip]="retornarCampo(action, rowData, 'tooltip')"
528
- [tooltipPosition]="
529
- action.tooltipPosition ? action.tooltipPosition : 'bottom'
530
- "
531
- [disabled]="callDisabled(action, rowData)"
532
- >
533
- <span class="material-symbols-outlined md-19">
534
- {{ retornarCampo(action, rowData, "icon") }}</span
535
- >
536
- </button> -->
537
-
538
- <span
539
- class="material-symbols-outlined {{
540
- callDisabled(action, rowData)
541
- ? 'text-gray-400 cursor-auto'
542
- : 'cursor-pointer'
543
- }}"
544
- style="font-size: 20px"
545
- (click)="isButtonDisable(action, rowData, commandEvent)"
546
- [pTooltip]="retornarCampo(action, rowData, 'tooltip')"
547
- [tooltipPosition]="
548
- action.tooltipPosition ? action.tooltipPosition : 'bottom'
549
- "
550
- >
551
- {{ retornarCampo(action, rowData, "icon") }}
552
- </span>
553
- </div>
554
- </div>
555
- <div
556
- class="flex flex-row justify-content-end w-full"
557
- *ngIf="!acoesLinhaTabela"
558
- >
559
- <!-- <button
560
- id="moreVertBtn"
561
- pButton
562
- class="actionBtns p-button-text p-button-raised"
563
- (click)="menu.toggle($event); activeItem(rowData)"
564
- > -->
565
- <span
566
- class="material-symbols-outlined cursor-pointer icon-more-horiz"
567
- style="font-size: 20px"
568
- (click)="menu.toggle($event); activeItem(rowData)"
569
- >
570
- more_horiz
571
- </span>
572
- <!-- </button> -->
573
-
574
- <div *ngFor="let action of config.actions">
575
- {{ criarMenusModal(rowData) }}
576
- </div>
577
-
578
- <!-- <div *ngFor="let action of config.actions">
579
- {{ criarMenusModal(rowData) }}
580
- </div> -->
581
-
582
- <p-menu
583
- #menu
584
- [popup]="true"
585
- [model]="menuItems"
586
- appendTo="body"
587
- ></p-menu>
588
- </div>
589
- </td>
590
-
591
- <td
592
- class="td-tools"
593
- *ngIf="config.actions && config.actions.length > 0 && editing"
594
- [style]="applyStyle(rowData, { field: 'btns-options', header: '' })"
595
- >
596
- <div
597
- class="flex flex-row justify-content-end w-full gap-1"
598
- *ngIf="acoesLinhaTabela"
599
- >
600
-
601
- </div>
602
- <div
603
- class="flex flex-row justify-content-end w-full"
604
- *ngIf="!acoesLinhaTabela"
605
- >
606
- </div>
607
- </td>
608
-
609
-
610
-
611
- <!-- ------------------------------------------------------------------------------------------------------------------------------------------- -->
612
- <!-- Controle de edição -->
613
- <td class="td-edit" *ngIf="this.isEditableTable()" >
614
- <div class="flex align-items-center justify-content-center gap-2">
615
- <button [style.height]="'28px'" [id]="'rowEdit' + rowData[config.dataKey] " [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="!editing" pButton pRipple type="button" pInitEditableRow icon="pi pi-pencil"
616
- (click)="onRowEditInit(rowData)" class="p-button-rounded p-button-text"></button>
617
- <button [style.height]="'28px'" [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="editing" pButton pRipple type="button" pSaveEditableRow icon="pi pi-check"
618
- (click)="onRowEditSave(rowData, ri)" [id]="'rowSave' + rowData[config.dataKey] " class="p-button-rounded p-button-text p-button-success mr-2"></button>
619
- <button [style.height]="'28px'" [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="editing" pButton pRipple type="button" pCancelEditableRow icon="pi pi-times"
620
- (click)="onRowEditCancel(rowData, ri)" [id]="'rowCancel' + rowData[config.dataKey] " class="p-button-rounded p-button-text p-button-danger"></button>
621
- </div>
622
- </td>
623
-
624
-
625
-
626
-
627
- </tr>
628
- </ng-template>
629
- </p-table>
630
- </div>