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
@@ -1,108 +0,0 @@
1
- <div
2
- id="kvLogin-container"
3
- class="flex justify-content-center align-items-center flex-column h-screen "
4
- [style.background-image]="'url(' + Background + ')'"
5
- >
6
-
7
- <!-- CARD PRINCIPAL -->
8
- <div
9
- [formGroup]=" formGroup"
10
- class="flex flex-column align-items-center justify-content-between bg-white border-round-xl "
11
- [style.width.rem]="19"
12
- [style.height.px]="435"
13
- (keydown.enter)="save()"
14
- >
15
-
16
- <!-- LOGO DO SISTEMA -->
17
- <div class="flex flex-row align-items-center justify-content-center p-3 mt-2">
18
- <img
19
- alt="Logo do Sistema"
20
- [style.height.rem]="4"
21
- [src]="SystemLogo"
22
- />
23
- </div>
24
-
25
- <!-- INFORMAÇÕES CENTRAIS -->
26
- <div class=" grid formgrid p-fluid gap-2 p-3">
27
-
28
- <div
29
- class=" w-full "
30
- class="mb-2"
31
- >
32
- <img
33
- [style.height.rem]="2.5"
34
- class="ml-2"
35
- alt="keepass"
36
- src="https://work-assets.keevo.com.br/img/keepass-logo.png"
37
- />
38
- </div>
39
-
40
- <kv-input-text
41
- componentId="usuario"
42
- label="CPF ou Email"
43
- formControlName="usuario"
44
- class="field col-12"
45
- >
46
- </kv-input-text>
47
-
48
- <kv-input-password
49
- componentId="senha"
50
- label="Senha"
51
- [toggleMask]="true"
52
- formControlName="senha"
53
- [required]="true"
54
- class="field col-12"
55
- >
56
- </kv-input-password>
57
-
58
- <div
59
- class="flex w-full justify-content-end mb-2"
60
- id="kvLogin-esqueceu-senha"
61
- >
62
- <a
63
- href="https://keepass.seg.br/redefinirsenha"
64
- target="_blank"
65
- style="font-size: 0.8rem;"
66
- [style.color]="SystemColorPrimary"
67
- >
68
- Esqueceu a senha?
69
- </a>
70
- </div>
71
-
72
- </div>
73
-
74
- <button
75
- id="kvLogin-login-button"
76
- [style.background-color]="SystemColorPrimary"
77
- [style.color]="'white'"
78
- class="w-full "
79
- (click)="save()"
80
- [style.height.px]="50"
81
- ><strong>Login</strong></button>
82
- </div>
83
-
84
- <div id="kvLogin-cadastro">
85
- <p
86
- [style.color]="SystemColorSecondary"
87
- style="font-size: 1rem;"
88
- >
89
- Não possui um Evopass?
90
- <a
91
- href="https://keepass.seg.br/cadastrar"
92
- target="_blank"
93
- [style.color]="SystemColorSecondary"
94
- style="font-size: 1rem;"
95
- >
96
- Cadastre-se
97
- </a>
98
- </p>
99
- </div>
100
-
101
- <div class="logo-keevo">
102
- <img
103
- src="https://work-assets.keevo.com.br/img/keevo-logo.png"
104
- [style.height.rem]="4"
105
- />
106
- </div>
107
-
108
- </div>
@@ -1,48 +0,0 @@
1
- #kvLogin-container {
2
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol " !important;
3
- background: no-repeat center;
4
- background-size: cover;
5
- }
6
-
7
- #kvLogin-esqueceu-senha {
8
- position: relative;
9
- bottom: .5rem;
10
- padding-right: 10px;
11
- }
12
-
13
- #kvLogin-esqueceu-senha a,
14
- #kvLogin-cadastro a {
15
- text-decoration: none;
16
- font-weight: 500;
17
- cursor: pointer;
18
- gap: 3px;
19
-
20
- transition: text-shadow 0.2s ease-in-out;
21
-
22
- &:hover {
23
- text-shadow: 0 0 2px rgba(158, 158, 158, 0.692);
24
- }
25
- }
26
-
27
- #kvLogin-login-button {
28
- width: 100%;
29
- height: 3rem !important;
30
- border-radius: 0 0 10px 10px;
31
- border: none;
32
- cursor: pointer;
33
- font-size: 14px;
34
- transition: all ease-in 0.2s;
35
- -webkit-transition: all ease-in 0.2s;
36
- -moz-transition: all ease-in 0.2s;
37
- -ms-transition: all ease-in 0.2s;
38
- -o-transition: all ease-in 0.2s;
39
- }
40
-
41
- #kvLogin-login-button:hover {
42
- opacity: 0.9;
43
- }
44
-
45
- .logo-keevo {
46
- position: relative;
47
- top: 50px;
48
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { LoginComponent } from './login.component';
4
-
5
- describe('LoginComponent', () => {
6
- let component: LoginComponent;
7
- let fixture: ComponentFixture<LoginComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ LoginComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(LoginComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,65 +0,0 @@
1
- import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
- import { FormGroup, FormBuilder, Validators } 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 { KeevoValidators } from '../../public-api';
8
-
9
- /**
10
- * Componente de login personalizado.
11
- * Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
12
- */
13
- @Component({
14
- selector: 'kv-login',
15
- templateUrl: './login.component.html',
16
- styleUrls: ['./login.component.scss']
17
- })
18
- export class LoginComponent extends BaseComponentCrudForm {
19
-
20
- /** URL da imagem de fundo do componente. */
21
- @Input() Background!: any;
22
- /** URL do logo do sistema. */
23
- @Input() SystemLogo!: any;
24
- /** Cor primária do sistema. */
25
- @Input() SystemColorPrimary!: string;
26
- /** Cor secundária do sistema. */
27
- @Input() SystemColorSecondary!: string;
28
- /** Evento emitido quando o usuário faz login. */
29
- @Output() onLogin: EventEmitter<any> = new EventEmitter<any>();
30
-
31
- constructor(
32
- dialogService: DialogService,
33
- notificationService: NotificationService,
34
- activatedRoute: ActivatedRoute,
35
- dynamicDialogRef: DynamicDialogRef,
36
- dynamicDialogConfig: DynamicDialogConfig,
37
- router: Router,
38
- private formBuilder: FormBuilder) {
39
- super(
40
- dialogService,
41
- notificationService,
42
- activatedRoute,
43
- dynamicDialogRef,
44
- dynamicDialogConfig,
45
- router
46
- )
47
- }
48
-
49
- override configureForm(): void {
50
- this.formGroup = this.formBuilder.group({
51
- usuario: ['', KeevoValidators.required('Campo obrigatório')],
52
- senha: ['', KeevoValidators.required('Campo obrigatório')]
53
- });
54
- }
55
-
56
- override loadForm(id: any): void {
57
-
58
- }
59
-
60
- override save(): void {
61
- if (this.validateForm()) {
62
- this.onLogin.emit(this.formGroup.value);
63
- }
64
- }
65
- }
@@ -1,27 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MenuComponent } from './menu.component';
4
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
5
- import { PrimeNgModule } from '../api/modules/primeng.module';
6
- import { KvInputsModule } from '../inputs/kvinputs.module';
7
- import { KvButtonsModule } from '../buttons/kvbutton.module';
8
-
9
-
10
-
11
- @NgModule({
12
- declarations: [
13
- MenuComponent
14
- ],
15
- imports: [
16
- CommonModule,
17
- PrimeNgModule,
18
- FormsModule,
19
- ReactiveFormsModule,
20
- KvInputsModule,
21
- KvButtonsModule
22
- ],
23
- exports: [
24
- MenuComponent
25
- ]
26
- })
27
- export class KvMenuModule { }
@@ -1,342 +0,0 @@
1
- <div class="flex flex-row overflow-y-hidden w- full-container">
2
-
3
- <div [style]="{minWidth: expandMenu ? '300px' : '60px'}"></div>
4
-
5
- <p-sidebar
6
- #sidebarRef
7
- [visible]="true"
8
- [showCloseIcon]="false"
9
- [modal]="false"
10
- [style]="{width: expandMenu ? '300px' : '60px'}"
11
- >
12
- <ng-template pTemplate="headless">
13
- <div class="flex flex-column {{expandMenu ? 'mx-1' : 'mx-1'}}">
14
- <div class="flex flex-column gap-2 justify-content-between flex-shrink-0 mx-2">
15
- <div
16
- class="flex flex-row align-items-center {{expandMenu ? 'justify-content-between' : 'justify-content-center'}} py-3"
17
- >
18
- <img
19
- *ngIf="expandMenu"
20
- alt="Card"
21
- [src]="logoImage"
22
- width="150"
23
- />
24
-
25
- <button
26
- pButton
27
- class="p-button-rounded p-button-text padding-style h-2rem w-2rem hover:bg-green-600 hover:text-white icon-menu"
28
- (click)="toggleMenu()"
29
- [pTooltip]="expandMenu ? 'Ocutar Menu' : 'Expandir Menu'"
30
- [tooltipPosition]="'right'"
31
- >
32
- <i class="material-symbols-outlined">
33
- menu
34
- </i>
35
- </button>
36
- </div>
37
-
38
- <div
39
- class="flex flex-row align-items-center {{expandMenu ? 'justify-content-between' : 'justify-content-center'}}"
40
- >
41
- <div
42
- class="flex flex-column cursor-pointer"
43
- *ngIf="expandMenu"
44
- (click)="trocarLicenca()"
45
- >
46
- <span
47
- class="text-sm font-semibold mr-2"
48
- [pTooltip]="this.licencaSelecionada.nome"
49
- [tooltipPosition]="'right'"
50
- >
51
- {{MascaraNomeLicenca(this.licencaSelecionada.nome)}}
52
- </span>
53
- <span class="text-sm mt-1">{{MascaraCnpj(this.licencaSelecionada.cpfcnpj)}}</span>
54
- </div>
55
-
56
- <button
57
- pButton
58
- class="p-button-rounded p-button-text padding-style h-2rem w-2rem hover:bg-green-600 hover:text-white icon-menu"
59
- (click)="trocarLicenca()"
60
- [pTooltip]="'Alterar workspace'"
61
- [tooltipPosition]="'right'"
62
- >
63
- <i class="material-symbols-outlined">
64
- sync_alt
65
- </i>
66
- </button>
67
-
68
- </div>
69
- <p-divider type="solid"></p-divider>
70
- </div>
71
-
72
- <div
73
- class="list-none m-0 card-container {{expandMenu ? 'mx-1' : ''}}"
74
- [style.max-height]="(heigthCard - 220) + 'px'"
75
- style="overflow-y: auto;"
76
- >
77
- <!-- menus -->
78
- <li *ngFor="let menu of menus; let i = index">
79
- <!-- menu que não tem filho -->
80
- <a
81
- (mouseenter)="onMouseEnter(i)"
82
- (mouseleave)="onMouseLeave()"
83
- [ngClass]="{'hover-color': mouseOverIndex === i}"
84
- (click)="callRoute(menu.link)"
85
- *ngIf="!menu.menupai && menu.idmenupai == 0"
86
- pRipple
87
- [pTooltip]="!expandMenu ? menu.descricaomenu : ''"
88
- [tooltipPosition]="'right'"
89
- class="{{verificarPaginaSelecionada(menu.link) ? 'bg-green-600' : ''}} menu-option flex align-items-center no-underline {{!expandMenu ? 'justify-content-center' : ''}} cursor-pointer border-round text-700 hover:bg-green-600 hover:text-white transition-duration-150 transition-colors p-ripple"
90
- >
91
-
92
- <i
93
- class="material-symbols-outlined icon-menu {{expandMenu ? 'ml-1 mr-2' : ''}} icon-hover-color {{verificarPaginaSelecionada(menu.link) ? 'text-white' : ''}}"
94
- *ngIf="menu.icone && menu.icone !== ''"
95
- >
96
- {{ menu.icone }}
97
- </i>
98
- <span
99
- class="text-base text-blue-900 font-medium {{verificarPaginaSelecionada(menu.link) ? 'text-white' : ''}}"
100
- *ngIf="expandMenu"
101
- >{{ menu.descricaomenu }}</span>
102
- </a>
103
- <!-- menu com filho -->
104
- <div *ngIf="menu.menupai">
105
- <a
106
- (mouseenter)="onMouseEnter(i)"
107
- (mouseleave)="onMouseLeave()"
108
- [ngClass]="{'hover-color': mouseOverIndex === i}"
109
- pRipple
110
- pStyleClass="@next"
111
- enterClass="hidden"
112
- enterActiveClass="slidedown"
113
- leaveToClass="hidden"
114
- leaveActiveClass="slideup"
115
- class="menu-option flex align-items-center {{!expandMenu ? 'justify-content-center' : 'justify-content-between'}} cursor-pointer border-round text-700 hover:bg-green-600 hover:text-white transition-duration-150 transition-colors p-ripple"
116
- [tooltipPosition]="'right'"
117
- [pTooltip]="!expandMenu ? menu.descricaomenu : ''"
118
- (click)="!expandMenu ? expandMenu = !expandMenu : ''"
119
- >
120
- <div class="flex flex-row align-items-center">
121
-
122
- <i
123
- class="material-symbols-outlined icon-menu {{expandMenu ? 'ml-1 mr-2' : ''}} icon-hover-color"
124
- *ngIf="menu.icone && menu.icone !== ''"
125
- [ngClass]="{'hover-color': mouseOverIndex === i}"
126
- >
127
- {{ menu.icone }}
128
- </i>
129
- <span
130
- class="text-base text-blue-900 font-medium"
131
- *ngIf="expandMenu"
132
- >{{ menu.descricaomenu }}</span>
133
- </div>
134
- <i
135
- class="pi pi-chevron-down text-blue-900 mr-1 icon-hover-color"
136
- *ngIf="expandMenu"
137
- [ngClass]="{'hover-color': mouseOverIndex === i}"
138
- ></i>
139
- </a>
140
-
141
- <!-- filhos -->
142
- <div
143
- class="list-none py-0 pl-3 pr-0 m-0 hidden overflow-y-hidden transition-all transition-duration-400 transition-ease-in-out"
144
- >
145
- <li *ngFor="
146
- let filho of retornarMenuFilhos(menu.idsistema, menu.idmenu); let iFilho = index
147
- ">
148
- <a
149
- (mouseenter)="onMouseFilhoEnter(filho.idmenu)"
150
- (mouseleave)="onMouseLeave()"
151
- [ngClass]="{'hover-color': mouseOverFilhoIndex === filho.idmenu}"
152
- *ngIf="expandMenu"
153
- (click)="callRoute(filho.link)"
154
- pRipple
155
- class="{{verificarPaginaSelecionada(filho.link) ? 'bg-green-600' : ''}} menu-option flex align-items-center no-underline cursor-pointer border-round text-700 hover:bg-green-600 transition-duration-150 transition-colors p-ripple p-2"
156
- >
157
- <i
158
- class="pi pi-chart-line mr-2 ml-1 adjust-icon-menu"
159
- *ngIf="filho.icone && filho.icone !== ''"
160
- ></i>
161
- <span
162
- class="text-base text-blue-900 ml-4 {{verificarPaginaSelecionada(filho.link) ? 'text-white' : ''}}"
163
- *ngIf="expandMenu"
164
- >{{ filho.descricaomenu }}</span>
165
- </a>
166
- </li>
167
- </div>
168
- </div>
169
- </div>
170
- </div>
171
- </ng-template>
172
- </p-sidebar>
173
-
174
-
175
- <div
176
- class="w-auto h-screen page-content overflow-y-hidden"
177
- id="page-content"
178
- >
179
-
180
- <div class="flex flex-row align-items-center justify-content-between m-3">
181
- <div *ngIf="breadCrumbs">
182
- <p class="text-xl font-semibold text-blue-900 breadcrumb-title">{{breadCrumbItems[breadCrumbItems.length -
183
- 1]?.label}}</p>
184
- <p-breadcrumb
185
- *ngIf="widthCard > 400"
186
- styleClass="border-none p-0 flex align-items-center h-2rem !important;"
187
- [model]="breadCrumbItems"
188
- [style]="{backgroundColor: '#d4d3d3'}"
189
- (onItemClick)="callRoute($event.item.routerLink, true)"
190
- ></p-breadcrumb>
191
- </div>
192
-
193
- <div *ngIf="!breadCrumbs"></div>
194
-
195
- <div class="w-auto flex flex-row align-items-center gap-2">
196
- <button
197
- pButton
198
- class="p-button-rounded p-button-text h-2rem w-2rem hover:bg-green-600 hover:text-white icon-menu padding-style"
199
- (click)="sistemasPanel.toggle($event)"
200
- [pTooltip]="'Sistemas'"
201
- [tooltipPosition]="'left'"
202
- >
203
- <i class="material-symbols-outlined">
204
- apps
205
- </i>
206
- </button>
207
- <button
208
- pButton
209
- class="p-button-rounded p-button-text h-2rem w-2rem hover:bg-green-600 hover:text-white icon-menu padding-style"
210
- (click)="meusDadosPanel.toggle($event)"
211
- [pTooltip]="'Menu do Usuário'"
212
- [tooltipPosition]="'left'"
213
- >
214
- <i class="material-symbols-outlined">
215
- person
216
- </i>
217
- </button>
218
- </div>
219
- </div>
220
-
221
-
222
- <p-card
223
- class="card-container"
224
- styleClass="m-3 border-noround overflow-y-auto card-container"
225
- [style]="{height: heigthCard - ajustarHeigthCard() + 'px'}"
226
- >
227
- <div class="card-container w-full">
228
- <ng-content></ng-content>
229
- </div>
230
- </p-card>
231
-
232
- </div>
233
-
234
-
235
- </div>
236
-
237
- <p-overlayPanel
238
- #sistemasPanel
239
- [showTransitionOptions]="'350ms ease-out'"
240
- [hideTransitionOptions]="'250ms ease-in'"
241
- >
242
-
243
- <ng-template pTemplate="container">
244
-
245
- <p class="title-style mt-3">Sistemas</p>
246
- <div
247
- class="flex flex-row flex-wrap gap-2 align-items-center justify-content-center mt-5 mb-3"
248
- style="width: 250px; height: 100%;"
249
- >
250
- <button
251
- *ngFor="let menu of menuCompleto"
252
- pButton
253
- pRipple
254
- class="btn-sistema-2 btn-sistema hover-btn-cor-padrao remove-focus h-4rem w-4rem"
255
- (click)="definirMenusPorSistema(menu.sistema.idsistema)"
256
- [pTooltip]="menu.sistema.descricaosistema"
257
- [tooltipPosition]="'left'"
258
- >
259
- <!-- <img
260
- alt="logo"
261
- style="width: 2rem; height: 2rem;"
262
- /> -->
263
- {{ menu.sistema.nomesistema.charAt(0).toUpperCase() }}
264
-
265
- </button>
266
-
267
-
268
- <!-- <p-button styleClass="p-button-outlined">
269
- <img alt="logo" src="https://primefaces.org/cdn/primeng/images/primeng-icon.svg" style="width: 1.5rem" />
270
- <span class="ml-2 font-bold">PrimeNG</span>
271
- </p-button> -->
272
-
273
- </div>
274
- </ng-template>
275
- </p-overlayPanel>
276
-
277
- <p-overlayPanel
278
- #meusDadosPanel
279
- [showTransitionOptions]="'350ms ease-out'"
280
- [hideTransitionOptions]="'250ms ease-in'"
281
- >
282
-
283
- <ng-template pTemplate="container">
284
-
285
- <p class="title-style mt-3">Olá, {{nomeUsuario ? nomeUsuario.split(' ')[0] : 'Usuário'}} !</p>
286
- <div class="mt-5 mb-3">
287
-
288
- </div>
289
-
290
- <p-button
291
- icon="pi pi-lock"
292
- label="Gerênciar KeevoPass"
293
- (onClick)="gerenciarKeePass($event)"
294
- styleClass="border-noround w-full p-button-text text-blue-900"
295
- [disabled]="true"
296
- ></p-button>
297
- <p-button
298
- icon="pi pi-sign-out"
299
- label="Sair"
300
- (onClick)="sair($event)"
301
- styleClass="border-noround w-full p-button-text text-blue-900"
302
- ></p-button>
303
- </ng-template>
304
-
305
- </p-overlayPanel>
306
-
307
- <p-dialog
308
- [(visible)]="visibleDialogLicenca"
309
- [modal]="true"
310
- [draggable]="false"
311
- header="Trocar Licença"
312
- [style]="{width: '50vh' }"
313
- >
314
- <div class="flex flex-column align-items-end">
315
-
316
- <div class="w-full">
317
- <p-dropdown
318
- styleClass="w-full"
319
- [options]="licencasOptions"
320
- [(ngModel)]="licencaSelected"
321
- optionLabel="descricao"
322
- ></p-dropdown>
323
- </div>
324
-
325
- <kv-button-success
326
- [label]="'Salvar'"
327
- class="mt-2"
328
- (onClick)="setLicenca()"
329
- ></kv-button-success>
330
-
331
- </div>
332
-
333
- </p-dialog>
334
-
335
- <!-- <p-confirmDialog
336
- [style]="{width: '40vw'}"
337
- [baseZIndex]="10000"
338
- rejectButtonStyleClass="p-button-text"
339
- >
340
- </p-confirmDialog>
341
-
342
- <p-toast></p-toast> -->