keevo-components 1.5.191 → 1.5.192

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 (350) hide show
  1. package/esm2020/keevo-components.mjs +5 -0
  2. package/esm2020/lib/api/base-components/base-component-button.mjs +36 -0
  3. package/esm2020/lib/api/base-components/base-component-chart.mjs +92 -0
  4. package/esm2020/lib/api/base-components/base-component-crud-form.mjs +270 -0
  5. package/esm2020/lib/api/base-components/base-component-crud-list.mjs +68 -0
  6. package/esm2020/lib/api/base-components/base-component-crud.mjs +65 -0
  7. package/esm2020/lib/api/base-components/base-component-dropdown-new.mjs +211 -0
  8. package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -0
  9. package/esm2020/lib/api/base-components/base-component-input.mjs +94 -0
  10. package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -0
  11. package/esm2020/lib/api/base-components/base-component.mjs +49 -0
  12. package/esm2020/lib/api/components/chart/chart.config.mjs +2 -0
  13. package/esm2020/lib/api/components/chart/chart.model.mjs +2 -0
  14. package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -0
  15. package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -0
  16. package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -0
  17. package/esm2020/lib/api/components/error/error.component.mjs +26 -0
  18. package/esm2020/lib/api/components/error/kverror.module.mjs +35 -0
  19. package/esm2020/lib/api/components/table/action-item.mjs +2 -0
  20. package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -0
  21. package/esm2020/lib/api/components/table/table.config.column.mjs +2 -0
  22. package/esm2020/lib/api/components/table/table.config.mjs +2 -0
  23. package/esm2020/lib/api/components/table/table.paginate.mjs +9 -0
  24. package/esm2020/lib/api/helpers/component-providers.mjs +16 -0
  25. package/esm2020/lib/api/helpers/keevo-validators.mjs +64 -0
  26. package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -0
  27. package/esm2020/lib/api/models/menu/menu.model.mjs +2 -0
  28. package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -0
  29. package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -0
  30. package/esm2020/lib/api/modules/primeng.module.mjs +247 -0
  31. package/esm2020/lib/api/services/base.api.service.mjs +74 -0
  32. package/esm2020/lib/api/services/component.service.mjs +27 -0
  33. package/esm2020/lib/api/services/form.service.mjs +84 -0
  34. package/esm2020/lib/api/services/imagens.service.mjs +22 -0
  35. package/esm2020/lib/api/services/notification.service.mjs +67 -0
  36. package/esm2020/lib/api/services/object.service.mjs +26 -0
  37. package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -0
  38. package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +31 -0
  39. package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -0
  40. package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -0
  41. package/esm2020/lib/buttons/kvbutton.module.mjs +39 -0
  42. package/esm2020/lib/chart/chart.component.mjs +145 -0
  43. package/esm2020/lib/chart/kvchart.module.mjs +32 -0
  44. package/esm2020/lib/directives/template.directive.mjs +24 -0
  45. package/esm2020/lib/inputs/check/check.component.mjs +26 -0
  46. package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +37 -0
  47. package/esm2020/lib/inputs/editor/editor.component.mjs +70 -0
  48. package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +89 -0
  49. package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +23 -0
  50. package/esm2020/lib/inputs/input-number/input-number.component.mjs +59 -0
  51. package/esm2020/lib/inputs/input-password/input-password.component.mjs +33 -0
  52. package/esm2020/lib/inputs/input-text/input-text.component.mjs +21 -0
  53. package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +38 -0
  54. package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +43 -0
  55. package/esm2020/lib/inputs/input-time/input-time.component.mjs +24 -0
  56. package/esm2020/lib/inputs/kvinputs.module.mjs +108 -0
  57. package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +38 -0
  58. package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +53 -0
  59. package/esm2020/lib/inputs/switch/switch.component.mjs +32 -0
  60. package/esm2020/lib/keevo-components.module.mjs +105 -0
  61. package/esm2020/lib/label/label.component.mjs +15 -0
  62. package/esm2020/lib/label/label.module.mjs +24 -0
  63. package/esm2020/lib/loader/kvloader.module.mjs +28 -0
  64. package/esm2020/lib/loader/loader.component.mjs +17 -0
  65. package/esm2020/lib/loader/loader.service.mjs +29 -0
  66. package/esm2020/lib/login/kvlogin.module.mjs +47 -0
  67. package/esm2020/lib/login/login.component.mjs +52 -0
  68. package/esm2020/lib/menu/kvmenu.module.mjs +43 -0
  69. package/esm2020/lib/menu/menu.component.mjs +237 -0
  70. package/esm2020/lib/orgchart/orgchart.component.mjs +100 -0
  71. package/esm2020/lib/orgchart/orgchart.module.mjs +24 -0
  72. package/esm2020/lib/page-form/kv-page-form.module.mjs +38 -0
  73. package/esm2020/lib/page-form/page-form.component.mjs +144 -0
  74. package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -0
  75. package/esm2020/lib/picklist/picklist.component.mjs +48 -0
  76. package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -0
  77. package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -0
  78. package/esm2020/lib/pipes/pipes.module.mjs +34 -0
  79. package/esm2020/lib/pipes/telefone.pipe.mjs +45 -0
  80. package/esm2020/lib/table/kvtable.module.mjs +32 -0
  81. package/esm2020/lib/table/table.component.mjs +499 -0
  82. package/esm2020/lib/tree-table/kv-treetable.component.mjs +371 -0
  83. package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -0
  84. package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -0
  85. package/esm2020/lib/tree-view/tree-view.component.mjs +29 -0
  86. package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -0
  87. package/esm2020/lib/workspace/workspace.component.mjs +77 -0
  88. package/esm2020/public-api.mjs +138 -0
  89. package/fesm2015/keevo-components.mjs +4705 -0
  90. package/fesm2015/keevo-components.mjs.map +1 -0
  91. package/fesm2020/keevo-components.mjs +4696 -0
  92. package/fesm2020/keevo-components.mjs.map +1 -0
  93. package/index.d.ts +5 -0
  94. package/lib/api/base-components/base-component-button.d.ts +14 -0
  95. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  96. package/lib/api/base-components/base-component-crud-form.d.ts +137 -0
  97. package/lib/api/base-components/base-component-crud-list.d.ts +63 -0
  98. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  99. package/lib/api/base-components/base-component-dropdown-new.d.ts +14 -0
  100. package/lib/api/base-components/base-component-dropdown.d.ts +42 -0
  101. package/lib/api/base-components/base-component-input.d.ts +31 -0
  102. package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
  103. package/lib/api/base-components/base-component.d.ts +21 -0
  104. package/lib/api/components/chart/chart.config.d.ts +11 -0
  105. package/lib/api/components/chart/chart.model.d.ts +9 -0
  106. package/lib/api/components/chart/orchart.config.d.ts +35 -0
  107. package/lib/api/components/chart/orchart.item.d.ts +26 -0
  108. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  109. package/lib/api/components/error/error.component.d.ts +12 -0
  110. package/lib/api/components/error/kverror.module.d.ts +10 -0
  111. package/lib/api/components/table/action-item.d.ts +5 -0
  112. package/lib/api/components/table/kv-menuitem.d.ts +9 -0
  113. package/lib/api/components/table/table.config.column.d.ts +21 -0
  114. package/lib/api/components/table/table.config.d.ts +17 -0
  115. package/lib/api/components/table/table.paginate.d.ts +6 -0
  116. package/lib/api/helpers/component-providers.d.ts +2 -0
  117. package/lib/api/helpers/keevo-validators.d.ts +10 -0
  118. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  119. package/lib/api/models/menu/menu.model.d.ts +10 -0
  120. package/{src/lib/api/models/menu/menucompleto.model.ts → lib/api/models/menu/menucompleto.model.d.ts} +3 -4
  121. package/lib/api/models/menu/sistemamenu.model.d.ts +8 -0
  122. package/lib/api/modules/primeng.module.d.ts +60 -0
  123. package/lib/api/services/base.api.service.d.ts +25 -0
  124. package/lib/api/services/component.service.d.ts +11 -0
  125. package/lib/api/services/form.service.d.ts +27 -0
  126. package/lib/api/services/imagens.service.d.ts +8 -0
  127. package/lib/api/services/notification.service.d.ts +25 -0
  128. package/lib/api/services/object.service.d.ts +8 -0
  129. package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -0
  130. package/lib/buttons/button-popup/button-popup.component.d.ts +13 -0
  131. package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -0
  132. package/lib/buttons/button-success/button-success.component.d.ts +7 -0
  133. package/lib/buttons/kvbutton.module.d.ts +11 -0
  134. package/lib/chart/chart.component.d.ts +56 -0
  135. package/lib/chart/kvchart.module.d.ts +10 -0
  136. package/lib/directives/template.directive.d.ts +11 -0
  137. package/lib/inputs/check/check.component.d.ts +11 -0
  138. package/lib/inputs/dropdown/dropdown.component.d.ts +14 -0
  139. package/lib/inputs/editor/editor.component.d.ts +39 -0
  140. package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -0
  141. package/lib/inputs/input-mask/input-mask.component.d.ts +10 -0
  142. package/lib/inputs/input-number/input-number.component.d.ts +19 -0
  143. package/lib/inputs/input-password/input-password.component.d.ts +13 -0
  144. package/lib/inputs/input-text/input-text.component.d.ts +9 -0
  145. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -0
  146. package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -0
  147. package/lib/inputs/input-time/input-time.component.d.ts +10 -0
  148. package/lib/inputs/kvinputs.module.d.ts +25 -0
  149. package/lib/inputs/multi-select/multi-select.component.d.ts +12 -0
  150. package/lib/inputs/radio-group/radio-group.component.d.ts +18 -0
  151. package/lib/inputs/switch/switch.component.d.ts +13 -0
  152. package/lib/keevo-components.module.d.ts +19 -0
  153. package/lib/label/label.component.d.ts +7 -0
  154. package/lib/label/label.module.d.ts +8 -0
  155. package/lib/loader/kvloader.module.d.ts +9 -0
  156. package/lib/loader/loader.component.d.ts +8 -0
  157. package/lib/loader/loader.service.d.ts +10 -0
  158. package/lib/login/kvlogin.module.d.ts +13 -0
  159. package/lib/login/login.component.d.ts +30 -0
  160. package/lib/menu/kvmenu.module.d.ts +12 -0
  161. package/lib/menu/menu.component.d.ts +74 -0
  162. package/lib/orgchart/orgchart.component.d.ts +27 -0
  163. package/lib/orgchart/orgchart.module.d.ts +9 -0
  164. package/lib/page-form/kv-page-form.module.d.ts +11 -0
  165. package/lib/page-form/page-form.component.d.ts +69 -0
  166. package/lib/picklist/kvpicklist.module.d.ts +10 -0
  167. package/lib/picklist/picklist.component.d.ts +20 -0
  168. package/lib/pipes/codigofile.pipe.d.ts +7 -0
  169. package/lib/pipes/cpfcnpj.pipe.d.ts +7 -0
  170. package/lib/pipes/pipes.module.d.ts +10 -0
  171. package/lib/pipes/telefone.pipe.d.ts +7 -0
  172. package/lib/table/kvtable.module.d.ts +10 -0
  173. package/lib/table/table.component.d.ts +104 -0
  174. package/lib/tree-table/kv-treetable.component.d.ts +84 -0
  175. package/lib/tree-table/kv-treetable.module.d.ts +11 -0
  176. package/lib/tree-view/kvtree-view.module.d.ts +9 -0
  177. package/lib/tree-view/tree-view.component.d.ts +14 -0
  178. package/lib/workspace/kvworkspace.module.d.ts +13 -0
  179. package/lib/workspace/workspace.component.d.ts +28 -0
  180. package/package.json +22 -3
  181. package/{src/public-api.ts → public-api.d.ts} +14 -36
  182. package/ng-package.json +0 -7
  183. package/src/assets/.gitkeep +0 -0
  184. package/src/assets/images/LogoEvo.png +0 -0
  185. package/src/assets/images/LogoPequenaEvo.png +0 -0
  186. package/src/assets/images/background.png +0 -0
  187. package/src/assets/images/keepass-logo.png +0 -0
  188. package/src/assets/images/keepass-logo.svg +0 -74
  189. package/src/assets/images/keevo-logo.png +0 -0
  190. package/src/assets/images/logokeevo_2.png +0 -0
  191. package/src/index.ts +0 -1
  192. package/src/lib/api/base-components/base-component-button.ts +0 -27
  193. package/src/lib/api/base-components/base-component-chart.ts +0 -105
  194. package/src/lib/api/base-components/base-component-crud-form.ts +0 -328
  195. package/src/lib/api/base-components/base-component-crud-list.ts +0 -111
  196. package/src/lib/api/base-components/base-component-crud.ts +0 -70
  197. package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
  198. package/src/lib/api/base-components/base-component-dropdown.ts +0 -164
  199. package/src/lib/api/base-components/base-component-input.ts +0 -107
  200. package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
  201. package/src/lib/api/base-components/base-component.ts +0 -46
  202. package/src/lib/api/components/chart/chart.config.ts +0 -12
  203. package/src/lib/api/components/chart/chart.model.ts +0 -9
  204. package/src/lib/api/components/chart/orchart.config.ts +0 -41
  205. package/src/lib/api/components/chart/orchart.item.ts +0 -33
  206. package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
  207. package/src/lib/api/components/error/error.component.html +0 -3
  208. package/src/lib/api/components/error/error.component.scss +0 -5
  209. package/src/lib/api/components/error/error.component.ts +0 -22
  210. package/src/lib/api/components/error/kverror.module.ts +0 -23
  211. package/src/lib/api/components/table/action-item.ts +0 -5
  212. package/src/lib/api/components/table/kv-menuitem.ts +0 -10
  213. package/src/lib/api/components/table/table.config.column.ts +0 -21
  214. package/src/lib/api/components/table/table.config.ts +0 -20
  215. package/src/lib/api/components/table/table.paginate.ts +0 -6
  216. package/src/lib/api/helpers/component-providers.ts +0 -16
  217. package/src/lib/api/helpers/keevo-validators.ts +0 -77
  218. package/src/lib/api/helpers/translate-primeng.ts +0 -25
  219. package/src/lib/api/models/menu/menu.model.ts +0 -10
  220. package/src/lib/api/models/menu/sistemamenu.model.ts +0 -8
  221. package/src/lib/api/modules/primeng.module.ts +0 -125
  222. package/src/lib/api/services/base.api.service.ts +0 -115
  223. package/src/lib/api/services/component.service.ts +0 -22
  224. package/src/lib/api/services/form.service.ts +0 -105
  225. package/src/lib/api/services/imagens.service.ts +0 -20
  226. package/src/lib/api/services/notification.service.ts +0 -82
  227. package/src/lib/api/services/object.service.ts +0 -20
  228. package/src/lib/buttons/button-personalize/button-personalize.component.html +0 -11
  229. package/src/lib/buttons/button-personalize/button-personalize.component.scss +0 -3
  230. package/src/lib/buttons/button-personalize/button-personalize.component.ts +0 -13
  231. package/src/lib/buttons/button-popup/button-popup.component.html +0 -12
  232. package/src/lib/buttons/button-popup/button-popup.component.scss +0 -13
  233. package/src/lib/buttons/button-popup/button-popup.component.ts +0 -30
  234. package/src/lib/buttons/button-secondary/button-secondary.component.html +0 -12
  235. package/src/lib/buttons/button-secondary/button-secondary.component.scss +0 -14
  236. package/src/lib/buttons/button-secondary/button-secondary.component.ts +0 -13
  237. package/src/lib/buttons/button-success/button-success.component.html +0 -11
  238. package/src/lib/buttons/button-success/button-success.component.scss +0 -13
  239. package/src/lib/buttons/button-success/button-success.component.ts +0 -13
  240. package/src/lib/buttons/kvbutton.module.ts +0 -25
  241. package/src/lib/chart/chart.component.html +0 -38
  242. package/src/lib/chart/chart.component.scss +0 -0
  243. package/src/lib/chart/chart.component.spec.ts +0 -28
  244. package/src/lib/chart/chart.component.ts +0 -141
  245. package/src/lib/chart/kvchart.module.ts +0 -20
  246. package/src/lib/directives/template.directive.ts +0 -15
  247. package/src/lib/inputs/check/check.component.html +0 -11
  248. package/src/lib/inputs/check/check.component.scss +0 -13
  249. package/src/lib/inputs/check/check.component.ts +0 -24
  250. package/src/lib/inputs/dropdown/dropdown.component.html +0 -91
  251. package/src/lib/inputs/dropdown/dropdown.component.scss +0 -0
  252. package/src/lib/inputs/dropdown/dropdown.component.ts +0 -28
  253. package/src/lib/inputs/editor/editor.component.html +0 -90
  254. package/src/lib/inputs/editor/editor.component.scss +0 -4
  255. package/src/lib/inputs/editor/editor.component.ts +0 -80
  256. package/src/lib/inputs/input-calendar/input-calendar.component.html +0 -30
  257. package/src/lib/inputs/input-calendar/input-calendar.component.scss +0 -0
  258. package/src/lib/inputs/input-calendar/input-calendar.component.ts +0 -81
  259. package/src/lib/inputs/input-mask/input-mask.component.html +0 -20
  260. package/src/lib/inputs/input-mask/input-mask.component.scss +0 -0
  261. package/src/lib/inputs/input-mask/input-mask.component.ts +0 -20
  262. package/src/lib/inputs/input-number/input-number.component.html +0 -22
  263. package/src/lib/inputs/input-number/input-number.component.scss +0 -0
  264. package/src/lib/inputs/input-number/input-number.component.ts +0 -52
  265. package/src/lib/inputs/input-password/input-password.component.html +0 -23
  266. package/src/lib/inputs/input-password/input-password.component.scss +0 -0
  267. package/src/lib/inputs/input-password/input-password.component.ts +0 -23
  268. package/src/lib/inputs/input-text/input-text.component.html +0 -20
  269. package/src/lib/inputs/input-text/input-text.component.scss +0 -18
  270. package/src/lib/inputs/input-text/input-text.component.ts +0 -17
  271. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.html +0 -32
  272. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.scss +0 -0
  273. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.spec.ts +0 -23
  274. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.ts +0 -36
  275. package/src/lib/inputs/input-textarea/input-textarea.component.html +0 -22
  276. package/src/lib/inputs/input-textarea/input-textarea.component.scss +0 -0
  277. package/src/lib/inputs/input-textarea/input-textarea.component.ts +0 -33
  278. package/src/lib/inputs/input-time/input-time.component.html +0 -23
  279. package/src/lib/inputs/input-time/input-time.component.scss +0 -0
  280. package/src/lib/inputs/input-time/input-time.component.ts +0 -20
  281. package/src/lib/inputs/kvinputs.module.ts +0 -64
  282. package/src/lib/inputs/multi-select/multi-select.component.html +0 -28
  283. package/src/lib/inputs/multi-select/multi-select.component.scss +0 -8
  284. package/src/lib/inputs/multi-select/multi-select.component.ts +0 -31
  285. package/src/lib/inputs/radio-group/radio-group.component.html +0 -19
  286. package/src/lib/inputs/radio-group/radio-group.component.scss +0 -15
  287. package/src/lib/inputs/radio-group/radio-group.component.ts +0 -50
  288. package/src/lib/inputs/switch/switch.component.html +0 -12
  289. package/src/lib/inputs/switch/switch.component.scss +0 -3
  290. package/src/lib/inputs/switch/switch.component.ts +0 -30
  291. package/src/lib/keevo-components.module.ts +0 -50
  292. package/src/lib/label/label.component.html +0 -6
  293. package/src/lib/label/label.component.scss +0 -9
  294. package/src/lib/label/label.component.spec.ts +0 -23
  295. package/src/lib/label/label.component.ts +0 -13
  296. package/src/lib/label/label.module.ts +0 -18
  297. package/src/lib/loader/kvloader.module.ts +0 -17
  298. package/src/lib/loader/loader.component.html +0 -1
  299. package/src/lib/loader/loader.component.ts +0 -14
  300. package/src/lib/loader/loader.service.ts +0 -26
  301. package/src/lib/login/kvlogin.module.ts +0 -28
  302. package/src/lib/login/login.component.html +0 -108
  303. package/src/lib/login/login.component.scss +0 -48
  304. package/src/lib/login/login.component.spec.ts +0 -23
  305. package/src/lib/login/login.component.ts +0 -65
  306. package/src/lib/menu/kvmenu.module.ts +0 -27
  307. package/src/lib/menu/menu.component.html +0 -342
  308. package/src/lib/menu/menu.component.scss +0 -210
  309. package/src/lib/menu/menu.component.spec.ts +0 -23
  310. package/src/lib/menu/menu.component.ts +0 -246
  311. package/src/lib/orgchart/orgchart.component.html +0 -58
  312. package/src/lib/orgchart/orgchart.component.scss +0 -21
  313. package/src/lib/orgchart/orgchart.component.ts +0 -118
  314. package/src/lib/orgchart/orgchart.module.ts +0 -14
  315. package/src/lib/page-form/kv-page-form.module.ts +0 -22
  316. package/src/lib/page-form/page-form.component.html +0 -57
  317. package/src/lib/page-form/page-form.component.scss +0 -72
  318. package/src/lib/page-form/page-form.component.spec.ts +0 -28
  319. package/src/lib/page-form/page-form.component.ts +0 -121
  320. package/src/lib/picklist/kvpicklist.module.ts +0 -20
  321. package/src/lib/picklist/picklist.component.html +0 -17
  322. package/src/lib/picklist/picklist.component.scss +0 -0
  323. package/src/lib/picklist/picklist.component.spec.ts +0 -26
  324. package/src/lib/picklist/picklist.component.ts +0 -27
  325. package/src/lib/pipes/codigofile.pipe.ts +0 -15
  326. package/src/lib/pipes/cpfcnpj.pipe.ts +0 -21
  327. package/src/lib/pipes/pipes.module.ts +0 -22
  328. package/src/lib/pipes/telefone.pipe.ts +0 -38
  329. package/src/lib/styles-components.scss +0 -11
  330. package/src/lib/table/kvtable.module.ts +0 -22
  331. package/src/lib/table/table.component.html +0 -473
  332. package/src/lib/table/table.component.scss +0 -240
  333. package/src/lib/table/table.component.spec.ts +0 -28
  334. package/src/lib/table/table.component.ts +0 -546
  335. package/src/lib/tree-table/kv-treetable.component.html +0 -649
  336. package/src/lib/tree-table/kv-treetable.component.scss +0 -315
  337. package/src/lib/tree-table/kv-treetable.component.ts +0 -390
  338. package/src/lib/tree-table/kv-treetable.module.ts +0 -18
  339. package/src/lib/tree-view/kvtree-view.module.ts +0 -19
  340. package/src/lib/tree-view/tree-view.component.html +0 -9
  341. package/src/lib/tree-view/tree-view.component.scss +0 -0
  342. package/src/lib/tree-view/tree-view.component.spec.ts +0 -23
  343. package/src/lib/tree-view/tree-view.component.ts +0 -29
  344. package/src/lib/workspace/kvworkspace.module.ts +0 -29
  345. package/src/lib/workspace/workspace.component.html +0 -108
  346. package/src/lib/workspace/workspace.component.scss +0 -83
  347. package/src/lib/workspace/workspace.component.ts +0 -75
  348. package/tsconfig.lib.json +0 -14
  349. package/tsconfig.lib.prod.json +0 -10
  350. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./workspace.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 "primeng/progressspinner";
7
+ import * as i6 from "primeng/autocomplete";
8
+ import * as i7 from "../buttons/kvbutton.module";
9
+ export declare class KvWorkspaceModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i5.ProgressSpinnerModule, typeof i6.AutoCompleteModule, typeof i4.FormsModule, typeof i7.KvButtonsModule], [typeof i1.WorkspaceComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
13
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspaceComponent implements OnInit {
4
+ nomeSistema: string;
5
+ nomeUsuario: string;
6
+ masters: any[];
7
+ somenteMaster: boolean;
8
+ onGetMasterSelecionada: EventEmitter<any>;
9
+ onGetEmpresaSelecionada: EventEmitter<any>;
10
+ empresas: any[];
11
+ masterSelecionada: any;
12
+ empresaSelecionada: any;
13
+ visivel: boolean;
14
+ txtPesquisa: string;
15
+ imgPersonagens: string;
16
+ imgLogoKeevo: string;
17
+ styleBackground: string;
18
+ constructor();
19
+ ngOnInit(): void;
20
+ verificaMasterUnica(): void;
21
+ selecionarMaster(master: any): void;
22
+ verificaEmpresaUnica(): void;
23
+ selecionarEmpresa(empresa: any): void;
24
+ voltar(): void;
25
+ filtrarEmpresa(event: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "nomeSistema": "nomeSistema"; "nomeUsuario": "nomeUsuario"; "masters": "masters"; "somenteMaster": "somenteMaster"; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; }, never, never, false, never>;
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.5.191",
3
+ "version": "1.5.192",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -24,5 +24,24 @@
24
24
  },
25
25
  "keywords": [
26
26
  "keevo components library"
27
- ]
28
- }
27
+ ],
28
+ "module": "fesm2015/keevo-components.mjs",
29
+ "es2020": "fesm2020/keevo-components.mjs",
30
+ "esm2020": "esm2020/keevo-components.mjs",
31
+ "fesm2020": "fesm2020/keevo-components.mjs",
32
+ "fesm2015": "fesm2015/keevo-components.mjs",
33
+ "typings": "index.d.ts",
34
+ "exports": {
35
+ "./package.json": {
36
+ "default": "./package.json"
37
+ },
38
+ ".": {
39
+ "types": "./index.d.ts",
40
+ "esm2020": "./esm2020/keevo-components.mjs",
41
+ "es2020": "./fesm2020/keevo-components.mjs",
42
+ "es2015": "./fesm2015/keevo-components.mjs",
43
+ "node": "./fesm2015/keevo-components.mjs",
44
+ "default": "./fesm2020/keevo-components.mjs"
45
+ }
46
+ }
47
+ }
@@ -1,7 +1,3 @@
1
- /*
2
- * Public API Surface of keevo-components
3
- */
4
-
5
1
  /**
6
2
  * Classes base de componentes
7
3
  */
@@ -14,38 +10,33 @@ export * from './lib/api/base-components/base-component-crud-list';
14
10
  export * from './lib/api/base-components/base-component-dropdown';
15
11
  export * from './lib/api/base-components/base-component-input';
16
12
  export * from './lib/api/base-components/base-component-multi-select';
17
- export * from './lib/api/base-components/base-component-dropdown-new'
18
-
13
+ export * from './lib/api/base-components/base-component-dropdown-new';
19
14
  /**
20
15
  * Helpers
21
16
  */
22
17
  export * from './lib/api/helpers/component-providers';
23
18
  export * from './lib/api/helpers/translate-primeng';
24
- export * from './lib/api/helpers/keevo-validators'
25
-
19
+ export * from './lib/api/helpers/keevo-validators';
26
20
  /**
27
21
  * Pipes
28
22
  */
29
- export * from './lib/pipes/codigofile.pipe'
30
- export * from './lib/pipes/cpfcnpj.pipe'
31
- export * from './lib/pipes/telefone.pipe'
32
- export * from './lib/pipes/pipes.module'
33
-
23
+ export * from './lib/pipes/codigofile.pipe';
24
+ export * from './lib/pipes/cpfcnpj.pipe';
25
+ export * from './lib/pipes/telefone.pipe';
26
+ export * from './lib/pipes/pipes.module';
34
27
  /**
35
28
  * Services
36
29
  */
37
- export * from './lib/api/services/base.api.service'
30
+ export * from './lib/api/services/base.api.service';
38
31
  export * from './lib/api/services/component.service';
39
- export * from './lib/api/services/form.service'
32
+ export * from './lib/api/services/form.service';
40
33
  export * from './lib/api/services/notification.service';
41
34
  export * from './lib/api/services/object.service';
42
-
43
35
  /**
44
36
  * PrimeNG
45
37
  */
46
38
  export * from './lib/api/modules/primeng.module';
47
39
  export * from './lib/keevo-components.module';
48
-
49
40
  /**
50
41
  * Charts
51
42
  */
@@ -53,13 +44,11 @@ export * from './lib/api/components/chart/chart.config';
53
44
  export * from './lib/api/components/chart/chart.model';
54
45
  export * from './lib/chart/chart.component';
55
46
  export * from './lib/chart/kvchart.module';
56
-
57
47
  /**
58
48
  * Error
59
49
  */
60
50
  export * from './lib/api/components/error/error.component';
61
51
  export * from './lib/api/components/error/kverror.module';
62
-
63
52
  /**
64
53
  * Buttons
65
54
  */
@@ -68,7 +57,6 @@ export * from './lib/buttons/button-secondary/button-secondary.component';
68
57
  export * from './lib/buttons/button-success/button-success.component';
69
58
  export * from './lib/buttons//button-popup/button-popup.component';
70
59
  export * from './lib/buttons/kvbutton.module';
71
-
72
60
  /**
73
61
  * Inputs
74
62
  */
@@ -88,19 +76,16 @@ export * from './lib/inputs/radio-group/radio-group.component';
88
76
  export * from './lib/inputs/switch/switch.component';
89
77
  export * from './lib/inputs/editor/editor.component';
90
78
  export * from './lib/api/components/dropdown/filtro.combo';
91
-
92
79
  /**
93
80
  * Orgchart
94
81
  */
95
- export * from './lib/orgchart/orgchart.component'
96
- export * from './lib/orgchart/orgchart.module'
97
-
82
+ export * from './lib/orgchart/orgchart.component';
83
+ export * from './lib/orgchart/orgchart.module';
98
84
  /**
99
85
  * Picklist
100
86
  */
101
87
  export * from './lib/picklist/kvpicklist.module';
102
88
  export * from './lib/picklist/picklist.component';
103
-
104
89
  /**
105
90
  * Table
106
91
  */
@@ -111,43 +96,36 @@ export * from './lib/api/components/table/kv-menuitem';
111
96
  export * from './lib/api/components/table/table.config';
112
97
  export * from './lib/api/components/table/table.config.column';
113
98
  export * from './lib/api/components/table/table.paginate';
114
-
115
99
  /**
116
100
  * TreeTable
117
101
  */
118
- export * from './lib/tree-table/kv-treetable.component'
119
- export * from './lib/tree-table/kv-treetable.module'
120
-
102
+ export * from './lib/tree-table/kv-treetable.component';
103
+ export * from './lib/tree-table/kv-treetable.module';
121
104
  /**
122
105
  * Treeview
123
106
  */
124
107
  export * from './lib/tree-view/kvtree-view.module';
125
108
  export * from './lib/tree-view/tree-view.component';
126
-
127
109
  /**
128
110
  * Componente de menu + layout
129
111
  */
130
112
  export * from './lib/menu/kvmenu.module';
131
113
  export * from './lib/menu/menu.component';
132
-
133
114
  /**
134
115
  * Componente de login
135
116
  */
136
117
  export * from './lib/login/kvlogin.module';
137
118
  export * from './lib/login/login.component';
138
-
139
119
  /**
140
120
  * Componente de workspaces
141
121
  */
142
122
  export * from './lib/workspace/kvworkspace.module';
143
123
  export * from './lib/workspace/workspace.component';
144
-
145
124
  /**
146
125
  * Formulário base
147
126
  */
148
- export * from './lib/page-form/page-form.component'
149
- export * from './lib/page-form/kv-page-form.module'
150
-
127
+ export * from './lib/page-form/page-form.component';
128
+ export * from './lib/page-form/kv-page-form.module';
151
129
  /**
152
130
  * Loader
153
131
  */
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/keevo-components",
4
- "lib": {
5
- "entryFile": "./src/public-api.ts"
6
- }
7
- }
File without changes
Binary file
Binary file
Binary file
@@ -1,74 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="1073.000000pt" height="626.000000pt" viewBox="0 0 1073.000000 626.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
-
8
- <g transform="translate(0.000000,626.000000) scale(0.100000,-0.100000)"
9
- fill="#000000" stroke="none">
10
- <path d="M1871 6249 c-514 -58 -965 -329 -1246 -749 -172 -257 -267 -541 -290
11
- -862 l-7 -98 -115 0 c-126 0 -157 -10 -187 -60 -15 -26 -16 -182 -16 -1865 0
12
- -1683 1 -1839 16 -1865 37 -62 17 -60 633 -60 l561 0 2 1658 3 1657 21 45 c26
13
- 54 84 114 139 142 56 29 149 35 213 14 68 -23 143 -91 173 -158 l24 -53 5
14
- -1266 5 -1266 991 876 c603 534 1008 884 1033 895 l41 19 -1 586 c0 427 -3
15
- 595 -12 621 -7 19 -27 44 -46 57 l-34 23 -1558 0 c-857 0 -1560 3 -1562 8 -10
16
- 19 16 232 42 333 134 527 562 932 1088 1028 154 28 244 33 374 21 472 -43 884
17
- -312 1111 -725 53 -98 89 -125 163 -125 85 0 153 59 162 141 11 93 -148 341
18
- -342 534 -263 262 -563 417 -929 480 -113 19 -346 27 -455 14z m1571 -2025
19
- c51 -17 109 -67 134 -116 25 -49 30 -131 9 -184 -38 -99 -115 -153 -218 -154
20
- -136 0 -236 97 -237 230 0 166 155 278 312 224z"/>
21
- <path d="M5188 3641 l-33 -29 -3 -1070 -2 -1069 23 -34 c30 -45 83 -60 133
22
- -36 60 29 64 52 64 344 l0 258 84 73 c47 41 88 73 93 72 4 -1 226 -167 493
23
- -369 267 -202 495 -373 507 -379 47 -25 112 -3 138 48 20 38 19 69 -3 103 -9
24
- 15 -229 188 -488 385 -258 196 -471 361 -473 365 -1 5 179 169 401 365 221
25
- 197 409 370 416 385 18 38 8 88 -25 121 -20 21 -35 26 -73 26 l-47 0 -509
26
- -450 -509 -450 -5 647 c-4 495 -8 653 -18 670 -34 60 -111 71 -164 24z"/>
27
- <path d="M7593 3204 c-208 -45 -406 -173 -532 -343 -63 -85 -133 -231 -157
28
- -331 -28 -112 -27 -346 3 -455 133 -488 619 -777 1101 -654 85 21 217 81 288
29
- 130 70 48 180 155 194 189 29 71 -24 150 -101 150 -35 0 -48 -8 -121 -76 -95
30
- -87 -178 -136 -286 -171 -276 -88 -584 19 -758 263 -54 75 -101 183 -110 248
31
- l-7 46 758 0 757 0 35 35 36 36 -6 97 c-25 397 -300 730 -681 827 -81 21 -121
32
- 25 -225 24 -69 -1 -154 -7 -188 -15z m352 -220 c33 -8 98 -33 145 -56 69 -33
33
- 102 -58 176 -132 76 -76 98 -105 132 -176 39 -83 71 -185 60 -195 -2 -3 -309
34
- -4 -680 -3 l-675 3 14 55 c35 141 139 297 252 383 169 127 371 169 576 121z"/>
35
- <path d="M9696 3199 c-87 -12 -233 -60 -313 -105 -215 -120 -385 -345 -444
36
- -589 -31 -125 -31 -305 -1 -429 84 -342 354 -608 693 -682 97 -21 281 -21 378
37
- 0 186 41 370 149 484 284 30 36 37 52 37 87 0 74 -63 123 -133 104 -15 -4 -64
38
- -42 -108 -83 -135 -127 -290 -190 -469 -190 -116 0 -196 20 -310 76 -69 33
39
- -102 58 -170 127 -105 105 -166 215 -195 349 l-7 32 754 0 c729 0 754 1 785
40
- 20 45 27 55 72 43 185 -14 117 -34 191 -81 293 -130 283 -403 484 -709 522
41
- -96 11 -136 11 -234 -1z m294 -234 c30 -8 93 -33 140 -56 109 -54 236 -177
42
- 292 -284 31 -61 78 -190 78 -216 0 -5 -287 -9 -680 -9 -374 0 -680 3 -680 6 0
43
- 31 40 144 73 209 57 111 181 235 292 292 73 38 153 64 230 77 50 7 196 -3 255
44
- -19z"/>
45
- <path d="M3205 1930 c-363 -321 -661 -584 -663 -586 -2 -1 189 -149 425 -328
46
- l428 -325 197 -1 197 0 34 33 c26 24 37 44 41 77 4 25 6 420 4 879 l-3 834
47
- -660 -583z"/>
48
- <path d="M8015 987 c-123 -41 -210 -142 -234 -272 -14 -77 -15 -659 -1 -686
49
- 12 -22 68 -27 88 -7 8 8 12 67 12 201 l0 189 37 -32 c66 -58 127 -80 224 -80
50
- 76 0 93 4 147 30 137 69 207 215 181 378 -18 115 -86 210 -185 258 -66 32
51
- -203 43 -269 21z m210 -106 c23 -10 59 -39 82 -64 150 -172 13 -450 -209 -424
52
- -123 15 -205 104 -216 234 -8 107 51 212 143 254 53 24 147 24 200 0z"/>
53
- <path d="M8873 986 c-96 -31 -189 -120 -220 -209 -28 -82 -24 -207 9 -279 33
54
- -72 93 -137 155 -168 42 -22 61 -25 153 -25 116 0 154 13 219 74 18 17 35 31
55
- 37 31 2 0 4 -20 4 -45 0 -39 4 -47 25 -57 19 -8 31 -8 51 0 l25 12 -3 218 c-3
56
- 201 -5 220 -26 263 -34 70 -84 122 -153 159 -53 28 -74 33 -148 36 -55 3 -101
57
- -1 -128 -10z m205 -102 c187 -78 202 -357 25 -461 -41 -24 -59 -28 -118 -28
58
- -146 1 -244 102 -245 253 0 104 46 183 133 227 60 30 147 34 205 9z"/>
59
- <path d="M9673 991 c-120 -31 -190 -139 -152 -238 25 -66 99 -112 222 -137
60
- 139 -29 197 -65 197 -123 0 -52 -84 -103 -171 -103 -56 0 -136 28 -173 60 -53
61
- 47 -106 37 -106 -20 0 -33 40 -72 105 -101 70 -32 235 -39 302 -14 90 35 143
62
- 103 143 186 0 92 -61 152 -188 184 -210 53 -232 66 -232 131 0 54 57 88 146
63
- 87 63 0 106 -17 157 -59 46 -38 97 -30 97 16 0 70 -106 132 -234 136 -45 2
64
- -95 -1 -113 -5z"/>
65
- <path d="M10342 986 c-54 -18 -108 -58 -127 -96 -22 -43 -19 -126 6 -166 35
66
- -56 97 -86 252 -119 140 -30 189 -106 113 -173 -73 -64 -217 -52 -309 24 -33
67
- 28 -69 31 -91 8 -47 -47 15 -113 138 -149 84 -25 225 -18 289 14 111 54 147
68
- 185 76 275 -31 39 -108 74 -209 96 -100 21 -142 40 -164 72 -38 53 -1 109 85
69
- 127 69 15 138 -1 190 -45 57 -47 119 -44 119 7 0 28 -49 78 -104 106 -63 32
70
- -195 41 -264 19z"/>
71
- <path d="M1952 821 l-144 -126 156 -3 c86 -1 226 -1 312 0 l157 3 -159 121
72
- c-87 66 -163 123 -169 126 -5 3 -75 -51 -153 -121z"/>
73
- </g>
74
- </svg>
Binary file
Binary file
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,27 +0,0 @@
1
- import {
2
- Component,
3
- EventEmitter,
4
- Input,
5
- Output
6
- } from '@angular/core';
7
-
8
- @Component({
9
- template: '',
10
- })
11
- export class BaseComponentButton {
12
-
13
- @Input() icon: string = '';
14
- @Input() label: string = '';
15
- @Input() loading: boolean = false;
16
- @Input() disabled: boolean = false;
17
- @Input() color: string = 'bg-blue-100';
18
-
19
-
20
- @Output() onClick: EventEmitter<any> = new EventEmitter();
21
-
22
- constructor() { }
23
-
24
- click(event: any): void {
25
- this.onClick.emit();
26
- }
27
- }
@@ -1,105 +0,0 @@
1
- import { Component, EventEmitter, OnInit, Output, ViewChild } from "@angular/core";
2
- import { Observable } from "rxjs";
3
-
4
- import { chartModel } from "../components/chart/chart.model";
5
- import { ChartConfig, ChartDatasetConfig } from "../components/chart/chart.config";
6
- import { ChartComponent, PeriodosChart } from "../../chart/chart.component";
7
-
8
- @Component({
9
- template: ''
10
- })
11
- export abstract class BaseChartComponent implements OnInit {
12
-
13
- chartConfig!: ChartConfig;
14
- selectedData: number = 0;
15
- enablePeriodos: number[] = [];
16
- periodos = PeriodosChart;
17
-
18
- @ViewChild(ChartComponent) chartComponent?: ChartComponent;
19
-
20
- @Output() onPrintReport: EventEmitter<any> = new EventEmitter();
21
-
22
- constructor() { }
23
-
24
- protected changeData(event: any) {
25
- if (event) {
26
- this.selectedData = event?.value;
27
- this.loadData();
28
- }
29
- }
30
-
31
- ngOnInit(): void {
32
- this.loadData()
33
- }
34
-
35
- abstract loadData(): void;
36
-
37
- protected loadGraphic(obs: Observable<any>) {
38
- obs
39
- .subscribe({
40
- next: (data: any) => {
41
- this.chartConfig = this.assembleGraphic(data as chartModel[]);
42
- this.chartComponent?.reInit(this.chartConfig);
43
- },
44
- error: (error: any) => { },
45
- });
46
- }
47
-
48
- protected assembleGraphic(data: chartModel[]) {
49
- let labels: string[] = [];
50
- let datasets: ChartDatasetConfig[] = [];
51
-
52
- // Tratando legendas
53
- data.map((element: any) => {
54
- if (element.labels && !labels.includes(element.labels)) {
55
- labels.push(element.labels);
56
- }
57
- });
58
-
59
- //Descobrindo quantas dimensões tem o gráfico
60
- let numDatasets = Math.max(...data.map(o => o.numDatasets));
61
-
62
- //Populando datasets
63
- for (let i = 0; i <= numDatasets; i++) {
64
- let backgroundColor: string[] = [];
65
- let hoverBackgroundColor: string[] = [];
66
- let borderColor: string[] = [];
67
- let values: number[] = [];
68
- let labelDataset: string = '';
69
-
70
- data.filter((obj) => {
71
- return obj.numDatasets === i;
72
- }).map((obj) => {
73
- if (obj.backgroundColor && !backgroundColor.includes(obj.backgroundColor)) {
74
- backgroundColor.push(obj.backgroundColor);
75
- }
76
- if (obj.borderColor && !borderColor.includes(obj.borderColor)) {
77
- borderColor.push(obj.borderColor);
78
- }
79
- if (obj.hoverBackgroundColor && !hoverBackgroundColor.includes(obj.hoverBackgroundColor)) {
80
- hoverBackgroundColor.push(obj.hoverBackgroundColor);
81
- }
82
- if (obj.labelDataset) labelDataset = obj.labelDataset;
83
-
84
- values.push(obj.datasets);
85
- });
86
-
87
- datasets.push(
88
- {
89
- label: labelDataset,
90
- backgroundColor: backgroundColor,
91
- hoverBackgroundColor: hoverBackgroundColor,
92
- borderColor: borderColor?.length === 0 ? undefined : borderColor,
93
- data: values
94
- }
95
- );
96
- }
97
-
98
- let dados: ChartConfig = {
99
- labels: labels,
100
- datasets: datasets
101
- };
102
-
103
- return dados;
104
- }
105
- }