keevo-components 1.5.191 → 1.5.193

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 (351) hide show
  1. package/README.md +24 -24
  2. package/esm2020/keevo-components.mjs +5 -0
  3. package/esm2020/lib/api/base-components/base-component-button.mjs +36 -0
  4. package/esm2020/lib/api/base-components/base-component-chart.mjs +92 -0
  5. package/esm2020/lib/api/base-components/base-component-crud-form.mjs +270 -0
  6. package/esm2020/lib/api/base-components/base-component-crud-list.mjs +68 -0
  7. package/esm2020/lib/api/base-components/base-component-crud.mjs +65 -0
  8. package/esm2020/lib/api/base-components/base-component-dropdown-new.mjs +211 -0
  9. package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -0
  10. package/esm2020/lib/api/base-components/base-component-input.mjs +94 -0
  11. package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -0
  12. package/esm2020/lib/api/base-components/base-component.mjs +49 -0
  13. package/esm2020/lib/api/components/chart/chart.config.mjs +2 -0
  14. package/esm2020/lib/api/components/chart/chart.model.mjs +2 -0
  15. package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -0
  16. package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -0
  17. package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -0
  18. package/esm2020/lib/api/components/error/error.component.mjs +26 -0
  19. package/esm2020/lib/api/components/error/kverror.module.mjs +35 -0
  20. package/esm2020/lib/api/components/table/action-item.mjs +2 -0
  21. package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -0
  22. package/esm2020/lib/api/components/table/table.config.column.mjs +2 -0
  23. package/esm2020/lib/api/components/table/table.config.mjs +2 -0
  24. package/esm2020/lib/api/components/table/table.paginate.mjs +9 -0
  25. package/esm2020/lib/api/helpers/component-providers.mjs +16 -0
  26. package/esm2020/lib/api/helpers/keevo-validators.mjs +64 -0
  27. package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -0
  28. package/esm2020/lib/api/models/menu/menu.model.mjs +2 -0
  29. package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -0
  30. package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -0
  31. package/esm2020/lib/api/modules/primeng.module.mjs +247 -0
  32. package/esm2020/lib/api/services/base.api.service.mjs +74 -0
  33. package/esm2020/lib/api/services/component.service.mjs +27 -0
  34. package/esm2020/lib/api/services/form.service.mjs +84 -0
  35. package/esm2020/lib/api/services/imagens.service.mjs +22 -0
  36. package/esm2020/lib/api/services/notification.service.mjs +67 -0
  37. package/esm2020/lib/api/services/object.service.mjs +26 -0
  38. package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -0
  39. package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +31 -0
  40. package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -0
  41. package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -0
  42. package/esm2020/lib/buttons/kvbutton.module.mjs +39 -0
  43. package/esm2020/lib/chart/chart.component.mjs +145 -0
  44. package/esm2020/lib/chart/kvchart.module.mjs +32 -0
  45. package/esm2020/lib/directives/template.directive.mjs +24 -0
  46. package/esm2020/lib/inputs/check/check.component.mjs +26 -0
  47. package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +37 -0
  48. package/esm2020/lib/inputs/editor/editor.component.mjs +70 -0
  49. package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +89 -0
  50. package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +23 -0
  51. package/esm2020/lib/inputs/input-number/input-number.component.mjs +59 -0
  52. package/esm2020/lib/inputs/input-password/input-password.component.mjs +33 -0
  53. package/esm2020/lib/inputs/input-text/input-text.component.mjs +21 -0
  54. package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +38 -0
  55. package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +43 -0
  56. package/esm2020/lib/inputs/input-time/input-time.component.mjs +24 -0
  57. package/esm2020/lib/inputs/kvinputs.module.mjs +108 -0
  58. package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +38 -0
  59. package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +53 -0
  60. package/esm2020/lib/inputs/switch/switch.component.mjs +32 -0
  61. package/esm2020/lib/keevo-components.module.mjs +105 -0
  62. package/esm2020/lib/label/label.component.mjs +15 -0
  63. package/esm2020/lib/label/label.module.mjs +24 -0
  64. package/esm2020/lib/loader/kvloader.module.mjs +28 -0
  65. package/esm2020/lib/loader/loader.component.mjs +17 -0
  66. package/esm2020/lib/loader/loader.service.mjs +29 -0
  67. package/esm2020/lib/login/kvlogin.module.mjs +47 -0
  68. package/esm2020/lib/login/login.component.mjs +52 -0
  69. package/esm2020/lib/menu/kvmenu.module.mjs +43 -0
  70. package/esm2020/lib/menu/menu.component.mjs +237 -0
  71. package/esm2020/lib/orgchart/orgchart.component.mjs +100 -0
  72. package/esm2020/lib/orgchart/orgchart.module.mjs +24 -0
  73. package/esm2020/lib/page-form/kv-page-form.module.mjs +38 -0
  74. package/esm2020/lib/page-form/page-form.component.mjs +144 -0
  75. package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -0
  76. package/esm2020/lib/picklist/picklist.component.mjs +48 -0
  77. package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -0
  78. package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -0
  79. package/esm2020/lib/pipes/pipes.module.mjs +34 -0
  80. package/esm2020/lib/pipes/telefone.pipe.mjs +45 -0
  81. package/esm2020/lib/table/kvtable.module.mjs +32 -0
  82. package/esm2020/lib/table/table.component.mjs +500 -0
  83. package/esm2020/lib/tree-table/kv-treetable.component.mjs +371 -0
  84. package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -0
  85. package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -0
  86. package/esm2020/lib/tree-view/tree-view.component.mjs +29 -0
  87. package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -0
  88. package/esm2020/lib/workspace/workspace.component.mjs +77 -0
  89. package/esm2020/public-api.mjs +138 -0
  90. package/fesm2015/keevo-components.mjs +4706 -0
  91. package/fesm2015/keevo-components.mjs.map +1 -0
  92. package/fesm2020/keevo-components.mjs +4697 -0
  93. package/fesm2020/keevo-components.mjs.map +1 -0
  94. package/index.d.ts +5 -0
  95. package/lib/api/base-components/base-component-button.d.ts +14 -0
  96. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  97. package/lib/api/base-components/base-component-crud-form.d.ts +137 -0
  98. package/lib/api/base-components/base-component-crud-list.d.ts +63 -0
  99. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  100. package/lib/api/base-components/base-component-dropdown-new.d.ts +14 -0
  101. package/lib/api/base-components/base-component-dropdown.d.ts +42 -0
  102. package/lib/api/base-components/base-component-input.d.ts +31 -0
  103. package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
  104. package/lib/api/base-components/base-component.d.ts +21 -0
  105. package/lib/api/components/chart/chart.config.d.ts +11 -0
  106. package/lib/api/components/chart/chart.model.d.ts +9 -0
  107. package/lib/api/components/chart/orchart.config.d.ts +35 -0
  108. package/lib/api/components/chart/orchart.item.d.ts +26 -0
  109. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  110. package/lib/api/components/error/error.component.d.ts +12 -0
  111. package/lib/api/components/error/kverror.module.d.ts +10 -0
  112. package/lib/api/components/table/action-item.d.ts +5 -0
  113. package/lib/api/components/table/kv-menuitem.d.ts +9 -0
  114. package/lib/api/components/table/table.config.column.d.ts +21 -0
  115. package/lib/api/components/table/table.config.d.ts +17 -0
  116. package/lib/api/components/table/table.paginate.d.ts +6 -0
  117. package/lib/api/helpers/component-providers.d.ts +2 -0
  118. package/lib/api/helpers/keevo-validators.d.ts +10 -0
  119. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  120. package/lib/api/models/menu/menu.model.d.ts +10 -0
  121. package/{src/lib/api/models/menu/menucompleto.model.ts → lib/api/models/menu/menucompleto.model.d.ts} +6 -7
  122. package/lib/api/models/menu/sistemamenu.model.d.ts +8 -0
  123. package/lib/api/modules/primeng.module.d.ts +60 -0
  124. package/lib/api/services/base.api.service.d.ts +25 -0
  125. package/lib/api/services/component.service.d.ts +11 -0
  126. package/lib/api/services/form.service.d.ts +27 -0
  127. package/lib/api/services/imagens.service.d.ts +8 -0
  128. package/lib/api/services/notification.service.d.ts +25 -0
  129. package/lib/api/services/object.service.d.ts +8 -0
  130. package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -0
  131. package/lib/buttons/button-popup/button-popup.component.d.ts +13 -0
  132. package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -0
  133. package/lib/buttons/button-success/button-success.component.d.ts +7 -0
  134. package/lib/buttons/kvbutton.module.d.ts +11 -0
  135. package/lib/chart/chart.component.d.ts +56 -0
  136. package/lib/chart/kvchart.module.d.ts +10 -0
  137. package/lib/directives/template.directive.d.ts +11 -0
  138. package/lib/inputs/check/check.component.d.ts +11 -0
  139. package/lib/inputs/dropdown/dropdown.component.d.ts +14 -0
  140. package/lib/inputs/editor/editor.component.d.ts +39 -0
  141. package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -0
  142. package/lib/inputs/input-mask/input-mask.component.d.ts +10 -0
  143. package/lib/inputs/input-number/input-number.component.d.ts +19 -0
  144. package/lib/inputs/input-password/input-password.component.d.ts +13 -0
  145. package/lib/inputs/input-text/input-text.component.d.ts +9 -0
  146. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -0
  147. package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -0
  148. package/lib/inputs/input-time/input-time.component.d.ts +10 -0
  149. package/lib/inputs/kvinputs.module.d.ts +25 -0
  150. package/lib/inputs/multi-select/multi-select.component.d.ts +12 -0
  151. package/lib/inputs/radio-group/radio-group.component.d.ts +18 -0
  152. package/lib/inputs/switch/switch.component.d.ts +13 -0
  153. package/lib/keevo-components.module.d.ts +19 -0
  154. package/lib/label/label.component.d.ts +7 -0
  155. package/lib/label/label.module.d.ts +8 -0
  156. package/lib/loader/kvloader.module.d.ts +9 -0
  157. package/lib/loader/loader.component.d.ts +8 -0
  158. package/lib/loader/loader.service.d.ts +10 -0
  159. package/lib/login/kvlogin.module.d.ts +13 -0
  160. package/lib/login/login.component.d.ts +30 -0
  161. package/lib/menu/kvmenu.module.d.ts +12 -0
  162. package/lib/menu/menu.component.d.ts +74 -0
  163. package/lib/orgchart/orgchart.component.d.ts +27 -0
  164. package/lib/orgchart/orgchart.module.d.ts +9 -0
  165. package/lib/page-form/kv-page-form.module.d.ts +11 -0
  166. package/lib/page-form/page-form.component.d.ts +69 -0
  167. package/lib/picklist/kvpicklist.module.d.ts +10 -0
  168. package/lib/picklist/picklist.component.d.ts +20 -0
  169. package/lib/pipes/codigofile.pipe.d.ts +7 -0
  170. package/lib/pipes/cpfcnpj.pipe.d.ts +7 -0
  171. package/lib/pipes/pipes.module.d.ts +10 -0
  172. package/lib/pipes/telefone.pipe.d.ts +7 -0
  173. package/lib/table/kvtable.module.d.ts +10 -0
  174. package/lib/table/table.component.d.ts +105 -0
  175. package/lib/tree-table/kv-treetable.component.d.ts +84 -0
  176. package/lib/tree-table/kv-treetable.module.d.ts +11 -0
  177. package/lib/tree-view/kvtree-view.module.d.ts +9 -0
  178. package/lib/tree-view/tree-view.component.d.ts +14 -0
  179. package/lib/workspace/kvworkspace.module.d.ts +13 -0
  180. package/lib/workspace/workspace.component.d.ts +28 -0
  181. package/package.json +22 -3
  182. package/{src/public-api.ts → public-api.d.ts} +134 -156
  183. package/ng-package.json +0 -7
  184. package/src/assets/.gitkeep +0 -0
  185. package/src/assets/images/LogoEvo.png +0 -0
  186. package/src/assets/images/LogoPequenaEvo.png +0 -0
  187. package/src/assets/images/background.png +0 -0
  188. package/src/assets/images/keepass-logo.png +0 -0
  189. package/src/assets/images/keepass-logo.svg +0 -74
  190. package/src/assets/images/keevo-logo.png +0 -0
  191. package/src/assets/images/logokeevo_2.png +0 -0
  192. package/src/index.ts +0 -1
  193. package/src/lib/api/base-components/base-component-button.ts +0 -27
  194. package/src/lib/api/base-components/base-component-chart.ts +0 -105
  195. package/src/lib/api/base-components/base-component-crud-form.ts +0 -328
  196. package/src/lib/api/base-components/base-component-crud-list.ts +0 -111
  197. package/src/lib/api/base-components/base-component-crud.ts +0 -70
  198. package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
  199. package/src/lib/api/base-components/base-component-dropdown.ts +0 -164
  200. package/src/lib/api/base-components/base-component-input.ts +0 -107
  201. package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
  202. package/src/lib/api/base-components/base-component.ts +0 -46
  203. package/src/lib/api/components/chart/chart.config.ts +0 -12
  204. package/src/lib/api/components/chart/chart.model.ts +0 -9
  205. package/src/lib/api/components/chart/orchart.config.ts +0 -41
  206. package/src/lib/api/components/chart/orchart.item.ts +0 -33
  207. package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
  208. package/src/lib/api/components/error/error.component.html +0 -3
  209. package/src/lib/api/components/error/error.component.scss +0 -5
  210. package/src/lib/api/components/error/error.component.ts +0 -22
  211. package/src/lib/api/components/error/kverror.module.ts +0 -23
  212. package/src/lib/api/components/table/action-item.ts +0 -5
  213. package/src/lib/api/components/table/kv-menuitem.ts +0 -10
  214. package/src/lib/api/components/table/table.config.column.ts +0 -21
  215. package/src/lib/api/components/table/table.config.ts +0 -20
  216. package/src/lib/api/components/table/table.paginate.ts +0 -6
  217. package/src/lib/api/helpers/component-providers.ts +0 -16
  218. package/src/lib/api/helpers/keevo-validators.ts +0 -77
  219. package/src/lib/api/helpers/translate-primeng.ts +0 -25
  220. package/src/lib/api/models/menu/menu.model.ts +0 -10
  221. package/src/lib/api/models/menu/sistemamenu.model.ts +0 -8
  222. package/src/lib/api/modules/primeng.module.ts +0 -125
  223. package/src/lib/api/services/base.api.service.ts +0 -115
  224. package/src/lib/api/services/component.service.ts +0 -22
  225. package/src/lib/api/services/form.service.ts +0 -105
  226. package/src/lib/api/services/imagens.service.ts +0 -20
  227. package/src/lib/api/services/notification.service.ts +0 -82
  228. package/src/lib/api/services/object.service.ts +0 -20
  229. package/src/lib/buttons/button-personalize/button-personalize.component.html +0 -11
  230. package/src/lib/buttons/button-personalize/button-personalize.component.scss +0 -3
  231. package/src/lib/buttons/button-personalize/button-personalize.component.ts +0 -13
  232. package/src/lib/buttons/button-popup/button-popup.component.html +0 -12
  233. package/src/lib/buttons/button-popup/button-popup.component.scss +0 -13
  234. package/src/lib/buttons/button-popup/button-popup.component.ts +0 -30
  235. package/src/lib/buttons/button-secondary/button-secondary.component.html +0 -12
  236. package/src/lib/buttons/button-secondary/button-secondary.component.scss +0 -14
  237. package/src/lib/buttons/button-secondary/button-secondary.component.ts +0 -13
  238. package/src/lib/buttons/button-success/button-success.component.html +0 -11
  239. package/src/lib/buttons/button-success/button-success.component.scss +0 -13
  240. package/src/lib/buttons/button-success/button-success.component.ts +0 -13
  241. package/src/lib/buttons/kvbutton.module.ts +0 -25
  242. package/src/lib/chart/chart.component.html +0 -38
  243. package/src/lib/chart/chart.component.scss +0 -0
  244. package/src/lib/chart/chart.component.spec.ts +0 -28
  245. package/src/lib/chart/chart.component.ts +0 -141
  246. package/src/lib/chart/kvchart.module.ts +0 -20
  247. package/src/lib/directives/template.directive.ts +0 -15
  248. package/src/lib/inputs/check/check.component.html +0 -11
  249. package/src/lib/inputs/check/check.component.scss +0 -13
  250. package/src/lib/inputs/check/check.component.ts +0 -24
  251. package/src/lib/inputs/dropdown/dropdown.component.html +0 -91
  252. package/src/lib/inputs/dropdown/dropdown.component.scss +0 -0
  253. package/src/lib/inputs/dropdown/dropdown.component.ts +0 -28
  254. package/src/lib/inputs/editor/editor.component.html +0 -90
  255. package/src/lib/inputs/editor/editor.component.scss +0 -4
  256. package/src/lib/inputs/editor/editor.component.ts +0 -80
  257. package/src/lib/inputs/input-calendar/input-calendar.component.html +0 -30
  258. package/src/lib/inputs/input-calendar/input-calendar.component.scss +0 -0
  259. package/src/lib/inputs/input-calendar/input-calendar.component.ts +0 -81
  260. package/src/lib/inputs/input-mask/input-mask.component.html +0 -20
  261. package/src/lib/inputs/input-mask/input-mask.component.scss +0 -0
  262. package/src/lib/inputs/input-mask/input-mask.component.ts +0 -20
  263. package/src/lib/inputs/input-number/input-number.component.html +0 -22
  264. package/src/lib/inputs/input-number/input-number.component.scss +0 -0
  265. package/src/lib/inputs/input-number/input-number.component.ts +0 -52
  266. package/src/lib/inputs/input-password/input-password.component.html +0 -23
  267. package/src/lib/inputs/input-password/input-password.component.scss +0 -0
  268. package/src/lib/inputs/input-password/input-password.component.ts +0 -23
  269. package/src/lib/inputs/input-text/input-text.component.html +0 -20
  270. package/src/lib/inputs/input-text/input-text.component.scss +0 -18
  271. package/src/lib/inputs/input-text/input-text.component.ts +0 -17
  272. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.html +0 -32
  273. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.scss +0 -0
  274. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.spec.ts +0 -23
  275. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.ts +0 -36
  276. package/src/lib/inputs/input-textarea/input-textarea.component.html +0 -22
  277. package/src/lib/inputs/input-textarea/input-textarea.component.scss +0 -0
  278. package/src/lib/inputs/input-textarea/input-textarea.component.ts +0 -33
  279. package/src/lib/inputs/input-time/input-time.component.html +0 -23
  280. package/src/lib/inputs/input-time/input-time.component.scss +0 -0
  281. package/src/lib/inputs/input-time/input-time.component.ts +0 -20
  282. package/src/lib/inputs/kvinputs.module.ts +0 -64
  283. package/src/lib/inputs/multi-select/multi-select.component.html +0 -28
  284. package/src/lib/inputs/multi-select/multi-select.component.scss +0 -8
  285. package/src/lib/inputs/multi-select/multi-select.component.ts +0 -31
  286. package/src/lib/inputs/radio-group/radio-group.component.html +0 -19
  287. package/src/lib/inputs/radio-group/radio-group.component.scss +0 -15
  288. package/src/lib/inputs/radio-group/radio-group.component.ts +0 -50
  289. package/src/lib/inputs/switch/switch.component.html +0 -12
  290. package/src/lib/inputs/switch/switch.component.scss +0 -3
  291. package/src/lib/inputs/switch/switch.component.ts +0 -30
  292. package/src/lib/keevo-components.module.ts +0 -50
  293. package/src/lib/label/label.component.html +0 -6
  294. package/src/lib/label/label.component.scss +0 -9
  295. package/src/lib/label/label.component.spec.ts +0 -23
  296. package/src/lib/label/label.component.ts +0 -13
  297. package/src/lib/label/label.module.ts +0 -18
  298. package/src/lib/loader/kvloader.module.ts +0 -17
  299. package/src/lib/loader/loader.component.html +0 -1
  300. package/src/lib/loader/loader.component.ts +0 -14
  301. package/src/lib/loader/loader.service.ts +0 -26
  302. package/src/lib/login/kvlogin.module.ts +0 -28
  303. package/src/lib/login/login.component.html +0 -108
  304. package/src/lib/login/login.component.scss +0 -48
  305. package/src/lib/login/login.component.spec.ts +0 -23
  306. package/src/lib/login/login.component.ts +0 -65
  307. package/src/lib/menu/kvmenu.module.ts +0 -27
  308. package/src/lib/menu/menu.component.html +0 -342
  309. package/src/lib/menu/menu.component.scss +0 -210
  310. package/src/lib/menu/menu.component.spec.ts +0 -23
  311. package/src/lib/menu/menu.component.ts +0 -246
  312. package/src/lib/orgchart/orgchart.component.html +0 -58
  313. package/src/lib/orgchart/orgchart.component.scss +0 -21
  314. package/src/lib/orgchart/orgchart.component.ts +0 -118
  315. package/src/lib/orgchart/orgchart.module.ts +0 -14
  316. package/src/lib/page-form/kv-page-form.module.ts +0 -22
  317. package/src/lib/page-form/page-form.component.html +0 -57
  318. package/src/lib/page-form/page-form.component.scss +0 -72
  319. package/src/lib/page-form/page-form.component.spec.ts +0 -28
  320. package/src/lib/page-form/page-form.component.ts +0 -121
  321. package/src/lib/picklist/kvpicklist.module.ts +0 -20
  322. package/src/lib/picklist/picklist.component.html +0 -17
  323. package/src/lib/picklist/picklist.component.scss +0 -0
  324. package/src/lib/picklist/picklist.component.spec.ts +0 -26
  325. package/src/lib/picklist/picklist.component.ts +0 -27
  326. package/src/lib/pipes/codigofile.pipe.ts +0 -15
  327. package/src/lib/pipes/cpfcnpj.pipe.ts +0 -21
  328. package/src/lib/pipes/pipes.module.ts +0 -22
  329. package/src/lib/pipes/telefone.pipe.ts +0 -38
  330. package/src/lib/styles-components.scss +0 -11
  331. package/src/lib/table/kvtable.module.ts +0 -22
  332. package/src/lib/table/table.component.html +0 -473
  333. package/src/lib/table/table.component.scss +0 -240
  334. package/src/lib/table/table.component.spec.ts +0 -28
  335. package/src/lib/table/table.component.ts +0 -546
  336. package/src/lib/tree-table/kv-treetable.component.html +0 -649
  337. package/src/lib/tree-table/kv-treetable.component.scss +0 -315
  338. package/src/lib/tree-table/kv-treetable.component.ts +0 -390
  339. package/src/lib/tree-table/kv-treetable.module.ts +0 -18
  340. package/src/lib/tree-view/kvtree-view.module.ts +0 -19
  341. package/src/lib/tree-view/tree-view.component.html +0 -9
  342. package/src/lib/tree-view/tree-view.component.scss +0 -0
  343. package/src/lib/tree-view/tree-view.component.spec.ts +0 -23
  344. package/src/lib/tree-view/tree-view.component.ts +0 -29
  345. package/src/lib/workspace/kvworkspace.module.ts +0 -29
  346. package/src/lib/workspace/workspace.component.html +0 -108
  347. package/src/lib/workspace/workspace.component.scss +0 -83
  348. package/src/lib/workspace/workspace.component.ts +0 -75
  349. package/tsconfig.lib.json +0 -14
  350. package/tsconfig.lib.prod.json +0 -10
  351. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./inputs/kvinputs.module";
3
+ import * as i2 from "./buttons/kvbutton.module";
4
+ import * as i3 from "./table/kvtable.module";
5
+ import * as i4 from "./tree-view/kvtree-view.module";
6
+ import * as i5 from "./chart/kvchart.module";
7
+ import * as i6 from "./menu/kvmenu.module";
8
+ import * as i7 from "./picklist/kvpicklist.module";
9
+ import * as i8 from "./tree-table/kv-treetable.module";
10
+ import * as i9 from "./workspace/kvworkspace.module";
11
+ import * as i10 from "./orgchart/orgchart.module";
12
+ import * as i11 from "./login/kvlogin.module";
13
+ import * as i12 from "./page-form/kv-page-form.module";
14
+ import * as i13 from "./loader/kvloader.module";
15
+ export declare class KeevoComponentsModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule], [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
19
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LabelComponent {
3
+ componentId: string;
4
+ label: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "kv-label", never, { "componentId": "componentId"; "label": "label"; }, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./label.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class LabelModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LabelModule, [typeof i1.LabelComponent], [typeof i2.CommonModule], [typeof i1.LabelComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<LabelModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./loader.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ngx-loading";
5
+ export declare class KvLoaderModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvLoaderModule, [typeof i1.LoaderComponent], [typeof i2.CommonModule, typeof i3.NgxLoadingModule], [typeof i1.LoaderComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvLoaderModule>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoaderComponent {
4
+ loading: Subject<boolean>;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "kv-loader", never, {}, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoaderService {
4
+ static isLoading: Subject<boolean>;
5
+ static show(): void;
6
+ static hide(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
9
+ }
10
+ export declare const loading: () => any;
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./login.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 "../inputs/kvinputs.module";
7
+ import * as i6 from "../buttons/kvbutton.module";
8
+ import * as i7 from "primeng/progressspinner";
9
+ export declare class KvLoginModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvLoginModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvLoginModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.KvInputsModule, typeof i6.KvButtonsModule, typeof i7.ProgressSpinnerModule], [typeof i1.LoginComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvLoginModule>;
13
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { BaseComponentCrudForm } from '../api/base-components/base-component-crud-form';
4
+ import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
5
+ import { NotificationService } from '../api/services/notification.service';
6
+ import { ActivatedRoute, Router } from '@angular/router';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Componente de login personalizado.
10
+ * Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
11
+ */
12
+ export declare class LoginComponent extends BaseComponentCrudForm {
13
+ private formBuilder;
14
+ /** URL da imagem de fundo do componente. */
15
+ Background: any;
16
+ /** URL do logo do sistema. */
17
+ SystemLogo: any;
18
+ /** Cor primária do sistema. */
19
+ SystemColorPrimary: string;
20
+ /** Cor secundária do sistema. */
21
+ SystemColorSecondary: string;
22
+ /** Evento emitido quando o usuário faz login. */
23
+ onLogin: EventEmitter<any>;
24
+ constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router, formBuilder: FormBuilder);
25
+ configureForm(): void;
26
+ loadForm(id: any): void;
27
+ save(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "kv-login", never, { "Background": "Background"; "SystemLogo": "SystemLogo"; "SystemColorPrimary": "SystemColorPrimary"; "SystemColorSecondary": "SystemColorSecondary"; }, { "onLogin": "onLogin"; }, never, never, false, never>;
30
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.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 "../inputs/kvinputs.module";
7
+ import * as i6 from "../buttons/kvbutton.module";
8
+ export declare class KvMenuModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvMenuModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvMenuModule, [typeof i1.MenuComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.KvInputsModule, typeof i6.KvButtonsModule], [typeof i1.MenuComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvMenuModule>;
12
+ }
@@ -0,0 +1,74 @@
1
+ import { ActivatedRoute, Router } from '@angular/router';
2
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
3
+ import { Sidebar } from 'primeng/sidebar';
4
+ import { OverlayPanel } from 'primeng/overlaypanel';
5
+ import { MasterComboModel } from 'keevo-api-services-keevocenter';
6
+ import { menuCompletoModel } from '../api/models/menu/menucompleto.model';
7
+ import { menuModel } from '../api/models/menu/menu.model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class MenuComponent implements OnInit {
10
+ private cdr;
11
+ protected router: Router;
12
+ private route;
13
+ menuCompleto: menuCompletoModel[];
14
+ licencas: MasterComboModel[];
15
+ licencaSelecionada: MasterComboModel;
16
+ logoImage: any;
17
+ nomeUsuario: string;
18
+ breadCrumbs: boolean;
19
+ licencaChange: EventEmitter<any>;
20
+ gerenciarKeePassEvent: EventEmitter<any>;
21
+ sairEvent: EventEmitter<any>;
22
+ expandMenuEmit: EventEmitter<boolean>;
23
+ trocarLicencaEmit: EventEmitter<boolean>;
24
+ sidebarRef: Sidebar;
25
+ sistemasPanel: OverlayPanel;
26
+ meusDadosPanel: OverlayPanel;
27
+ licencasOptions: {
28
+ id: number;
29
+ descricao: string;
30
+ cpfcnpj: string;
31
+ }[];
32
+ licencaSelected: {
33
+ id: number;
34
+ descricao: string;
35
+ cpfcnpj: string;
36
+ };
37
+ menusFiltrados: menuCompletoModel[];
38
+ menus: menuModel[];
39
+ breadCrumbItems: {
40
+ label: string;
41
+ routerLink: string;
42
+ }[];
43
+ heigthCard: number;
44
+ widthCard: number;
45
+ expandMenu: boolean;
46
+ visibleDialogLicenca: boolean;
47
+ mouseOverIndex: any;
48
+ mouseOverFilhoIndex: any;
49
+ onWindowResize(): void;
50
+ constructor(cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute);
51
+ ngOnInit(): void;
52
+ configurarLicencas(): void;
53
+ private getBreadcrumbs;
54
+ closeCallback(e: Event): void;
55
+ MascaraNomeLicenca(nomeLicenca: any): string;
56
+ MascaraCnpj(cpfcnpj: string): string;
57
+ definirMenusPorSistema(idsistema: number): void;
58
+ retornarMenuFilhos(idsistema: number, idmenu: number): menuModel[] | undefined;
59
+ callRoute(e: any, expand?: boolean): void;
60
+ toggleMenu(): void;
61
+ trocarLicenca(): void;
62
+ setLicenca(): void;
63
+ gerenciarKeePass(event: any): void;
64
+ sair(event: any): void;
65
+ expandMenuEvent(): void;
66
+ ajustarHeigthCard(): number;
67
+ verificarPaginaSelecionada(link: any): boolean;
68
+ retornarTituloBreadCrumbs(str: string): string;
69
+ onMouseEnter(index: number): void;
70
+ onMouseFilhoEnter(index: number): void;
71
+ onMouseLeave(): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "kv-menu", never, { "menuCompleto": "menuCompleto"; "licencas": "licencas"; "licencaSelecionada": "licencaSelecionada"; "logoImage": "logoImage"; "nomeUsuario": "nomeUsuario"; "breadCrumbs": "breadCrumbs"; }, { "licencaChange": "licencaChange"; "gerenciarKeePassEvent": "gerenciarKeePassEvent"; "sairEvent": "sairEvent"; "expandMenuEmit": "expandMenuEmit"; "trocarLicencaEmit": "trocarLicencaEmit"; }, never, ["*"], false, never>;
74
+ }
@@ -0,0 +1,27 @@
1
+ import { ElementRef, OnInit, Renderer2, TemplateRef } from '@angular/core';
2
+ import OrgChartItem from '../api/components/chart/orchart.item';
3
+ import OrgChartConfig from '../api/components/chart/orchart.config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class OrgchartComponent implements OnInit {
6
+ private renderer;
7
+ chartContainer: ElementRef;
8
+ chart: any;
9
+ dataSource: OrgChartItem[];
10
+ config: OrgChartConfig;
11
+ template: string;
12
+ nodeTemplate: TemplateRef<any>;
13
+ generateTemplate: Function;
14
+ templateFuncion: boolean;
15
+ corDeFundo: string;
16
+ compact: boolean;
17
+ mostraMenu: boolean;
18
+ constructor(renderer: Renderer2);
19
+ ngOnInit(): void;
20
+ ngAfterViewInit(): void;
21
+ ngOnChanges(): void;
22
+ updateChart(): void;
23
+ stringToTemplateLiteral(string: string): string;
24
+ compactSwap(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrgchartComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrgchartComponent, "kv-orgchart", never, { "dataSource": "dataSource"; "config": "config"; "template": "template"; "nodeTemplate": "nodeTemplate"; "generateTemplate": "generateTemplate"; "templateFuncion": "templateFuncion"; "corDeFundo": "corDeFundo"; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./orgchart.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ export declare class OrgchartModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrgchartModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OrgchartModule, [typeof i1.OrgchartComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.OrgchartComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<OrgchartModule>;
9
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./page-form.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../api/modules/primeng.module";
6
+ import * as i5 from "../buttons/kvbutton.module";
7
+ export declare class KvPageFormModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageFormModule, [typeof i1.PageFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule], [typeof i1.PageFormComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvPageFormModule>;
11
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +1,105 @@
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
+ collapsed: boolean;
36
+ templates: QueryList<any>;
37
+ _templates: any;
38
+ table: Table;
39
+ deletedColumnsIndex: any[];
40
+ set setConfig(value: TableConfig);
41
+ dataSource: any;
42
+ selectedItems: any[];
43
+ totalRecords: number;
44
+ paginator: boolean;
45
+ rowsPerPageOptions: number[];
46
+ rows: number;
47
+ pageLinksOptions: number;
48
+ showFirstLastIcon: boolean;
49
+ tableSize: number;
50
+ applyStyle: Function;
51
+ acoesLinhaTabela: boolean;
52
+ filterColumnsBtn: boolean;
53
+ filtrosAvancados: boolean;
54
+ onActiveItem: EventEmitter<any>;
55
+ onActiveItemLote: EventEmitter<any>;
56
+ onPaginate: EventEmitter<any>;
57
+ onSelectionChange: EventEmitter<any>;
58
+ doubleClickEvent: EventEmitter<any>;
59
+ filterField: EventEmitter<any>;
60
+ filtrosAvancadosEmit: EventEmitter<boolean>;
61
+ menuFiltroDiv: ElementRef;
62
+ botaoFiltro: ElementRef;
63
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer);
64
+ ngOnInit(): void;
65
+ onWindowResize(): void;
66
+ activeItem(rowData: any): void;
67
+ activeItemLote(rowData: any): void;
68
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
69
+ isChipField(col: TableConfigColumn): boolean;
70
+ isImageField(col: TableConfigColumn): boolean;
71
+ isRowSelectable(event: any): boolean;
72
+ isDisabledCheckbox(rowData: any): boolean;
73
+ loadImage(rowData: any, col: TableConfigColumn): string;
74
+ onGlobalFilter(table: Table, event: Event): void;
75
+ paginate(event: any): void;
76
+ selectionChange(value?: never[]): void;
77
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
78
+ expiredFile(rowData: any, col: TableConfigColumn): boolean;
79
+ transformValue(rowData: any, col: TableConfigColumn): any;
80
+ formatarValor(valor: number): string;
81
+ adjustTableSize(): void;
82
+ doubleClick(e: any, rowData: any): void;
83
+ centralizarColunas(col: any): string;
84
+ alignColunas(col: any): string;
85
+ alignColunasHeader(col: any): string;
86
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
87
+ retornarRow(rowData: any, col: any, field: string): string;
88
+ exibirCampo(field: any, rowData: any): any;
89
+ criarMenusModal(data: any): void;
90
+ returnClassChip(rowData: any, col: any): string;
91
+ returnClassIcon(rowData: any, col: any): string;
92
+ returnTooltipIcon(rowData: any, col: any): string;
93
+ deleteColumn(field: string): void;
94
+ addColumn(field: string): void;
95
+ dinamicColumnSet(e: any, col: any): void;
96
+ checkMenuFiltro(col: any): void;
97
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
98
+ callDisabled(action: KvMenuItem, data: any): boolean;
99
+ dinamicDisableColumn(col: TableConfigColumn): boolean;
100
+ checkHideColumns(): void;
101
+ getCustomTemplate(templatename: string): TemplateRef<any>;
102
+ filtrosAvancadosEvent(e: any): void;
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
104
+ 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>;
105
+ }
@@ -0,0 +1,84 @@
1
+ import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
+ import { TreeNode } from 'primeng/api';
3
+ import { CodigoFipePipe, CpfCnpjPipe, KvMenuItem, TableConfig, TableConfigColumn, TelefonePipe } from '../../public-api';
4
+ import { Table } from 'primeng/table';
5
+ import { TreeTable } from 'primeng/treetable';
6
+ import { DatePipe, DecimalPipe } from '@angular/common';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TreeTableComponent implements OnInit {
9
+ private readonly datePipe;
10
+ private readonly decimalPipe;
11
+ private readonly codigoFipePipe;
12
+ private readonly cpfCnpjPipe;
13
+ private readonly telefonePipe;
14
+ config: TableConfig;
15
+ dataSource: TreeNode[];
16
+ selectedItems: any[];
17
+ acoesLinhaTabela: boolean;
18
+ espacamentoPai: string;
19
+ espacamentoLateral: boolean;
20
+ tamanhoTotalTree: number;
21
+ rowsPerPageOptions: number[];
22
+ rows: number;
23
+ tableSize: number;
24
+ paginator: boolean;
25
+ showFirstLastIcon: boolean;
26
+ rightCollapse: boolean;
27
+ applyStyle: Function;
28
+ _templates: any;
29
+ colorButtonToggleNodes: string;
30
+ templates: QueryList<any>;
31
+ table: Table;
32
+ onFilter: EventEmitter<any>;
33
+ onPaginate: EventEmitter<any>;
34
+ onActiveItem: EventEmitter<any>;
35
+ onActiveItemLote: EventEmitter<any>;
36
+ doubleClickEvent: EventEmitter<any>;
37
+ tamanhoTela: number;
38
+ selectedSize: string;
39
+ nodeContext: {
40
+ $implicit: string;
41
+ rowNode: string;
42
+ };
43
+ selectedNodes: TreeNode[];
44
+ menuItems: KvMenuItem[];
45
+ imgDefault: string;
46
+ isExpanded: boolean;
47
+ constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, codigoFipePipe: CodigoFipePipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe);
48
+ ngOnInit(): void;
49
+ onGlobalFilter(table: TreeTable, event: Event): void;
50
+ onWindowResize(): void;
51
+ adjustTableSize(): void;
52
+ paginate($event: any): void;
53
+ isBooleanField(rowData: any, col: TableConfigColumn): boolean;
54
+ isChipField(col: TableConfigColumn): boolean;
55
+ isImageField(col: TableConfigColumn): boolean;
56
+ returnRowClass(rowData: any, col: TableConfigColumn): string;
57
+ transformValue(rowData: any, col: TableConfigColumn): any;
58
+ alignColunasHeader(col: any): string;
59
+ centralizarColunas(col: any): string;
60
+ alignColunas(col: any): string;
61
+ returnClassIcon(rowData: any, col: any): string;
62
+ returnTooltipIcon(rowData: any, col: any): string;
63
+ returnClassChip(rowData: any, col: any): string;
64
+ retornarRow(rowData: any, col: any, field: string): string;
65
+ formatarValor(valor: number): string;
66
+ loadImage(rowData: any, col: TableConfigColumn): string;
67
+ getCustomTemplate(templatename: string): TemplateRef<any>;
68
+ exibirCampo(field: any, rowData: any): any;
69
+ activeItem(rowData: any, rowNode: any): void;
70
+ activeItemLote(rowData: any): void;
71
+ retornarCampo(action: KvMenuItem, rowData: any, field: string): string;
72
+ callDisabled(action: KvMenuItem, data: any): boolean;
73
+ criarMenusModal(data: any, rowNode: any): void;
74
+ recuperarRowNode(rowNode: any): any;
75
+ validaLinhaAcaoVazia(rowData: any, rowNode: any): boolean;
76
+ toggleNodes(): void;
77
+ expandAll(): void;
78
+ collapseAll(): void;
79
+ private expandCollapseRecursive;
80
+ doubleClick(e: any, rowData: any, rowNode: any): void;
81
+ isDisabledCheckbox(rowData: any, rowNode: any): boolean;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "kv-treetable", never, { "config": "config"; "dataSource": "dataSource"; "selectedItems": "selectedItems"; "acoesLinhaTabela": "acoesLinhaTabela"; "espacamentoPai": "espacamentoPai"; "espacamentoLateral": "espacamentoLateral"; "tamanhoTotalTree": "tamanhoTotalTree"; "rowsPerPageOptions": "rowsPerPageOptions"; "rows": "rows"; "tableSize": "tableSize"; "paginator": "paginator"; "showFirstLastIcon": "showFirstLastIcon"; "rightCollapse": "rightCollapse"; "applyStyle": "applyStyle"; "_templates": "templates"; "colorButtonToggleNodes": "colorButtonToggleNodes"; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; }, ["templates"], never, false, never>;
84
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-treetable.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../buttons/kvbutton.module";
7
+ export declare class KVTreeTableModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KVTreeTableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KVTreeTableModule, [typeof i1.TreeTableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.KvButtonsModule], [typeof i1.TreeTableComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KVTreeTableModule>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tree-view.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ export declare class KvtreeViewModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvtreeViewModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvtreeViewModule, [typeof i1.TreeViewComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.TreeViewComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvtreeViewModule>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TreeNode } from 'primeng/api';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeViewComponent implements OnInit {
5
+ selectedFiles: TreeNode[] | undefined;
6
+ selectionMode: string;
7
+ treeViewData: TreeNode[];
8
+ selectedItems: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ onSelectionChange(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "kv-tree-view", never, { "selectedFiles": "selectedFiles"; "selectionMode": "selectionMode"; "treeViewData": "treeViewData"; }, { "selectedItems": "selectedItems"; }, never, never, false, never>;
14
+ }