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,91 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <p-dropdown
7
- appendTo="body"
8
- [class]="baseInputClass"
9
- [disabled]="disabled"
10
- [filter]="filter"
11
- [inputId]="componentId"
12
- [(ngModel)]="value"
13
- [options]="filteredOptions"
14
- [optionLabel]="optionLabel"
15
- [optionValue]="optionValue"
16
- [optionDisabled]="optionDisabled"
17
- [group]="group"
18
- [optionGroupLabel]="optionGroupLabel"
19
- [optionGroupChildren]="optionGroupChildren"
20
- [showClear]="showClear"
21
- [lazy]="lazy"
22
- scrollHeight="250px"
23
- (onBlur)="onInputBlur($event)"
24
- (onClick)="onInputClick($event)"
25
- (onChange)="onInputChange($event)"
26
- (onFilter)="onInputFilter($event)"
27
- [style]="{'width':widthField}"
28
- [panelStyle]="{ width: widthField, overflow: 'auto' }"
29
- styleClass="inputs"
30
- >
31
-
32
- <ng-template
33
- *ngIf="showAddButton"
34
- pTemplate="footer"
35
- >
36
- <p-divider></p-divider>
37
- <div class="flex flex-wrap card-container p-1">
38
- <div class="flex justify-content-center">
39
- <button
40
- pButton
41
- label="Incluir"
42
- pTooltip="Clique aqui para incluir um novo registro"
43
- tooltipPosition="bottom"
44
- icon="pi pi-plus"
45
- class="p-button-rounded p-button-success mr-2"
46
- (click)="addClick($event)"
47
- ></button>
48
- </div>
49
- </div>
50
- </ng-template>
51
-
52
-
53
-
54
-
55
- <!-- :: -->
56
-
57
- <ng-template
58
- let-selectedItem
59
- pTemplate="item"
60
- *ngIf="itemTemplate"
61
- >
62
- <ng-container
63
- [ngTemplateOutlet]="itemTemplate"
64
- [ngTemplateOutletContext]="{ $implicit: selectedItem }"
65
- >
66
-
67
- </ng-container>
68
- </ng-template>
69
-
70
-
71
- <ng-template
72
- let-item
73
- pTemplate="selectedItem"
74
- *ngIf="selectedItemTemplate"
75
- >
76
- <ng-container
77
- [ngTemplateOutlet]="selectedItemTemplate"
78
- [ngTemplateOutletContext]="{ $implicit: item }"
79
- >
80
-
81
- </ng-container>
82
- </ng-template>
83
-
84
- <!-- :: -->
85
-
86
-
87
- </p-dropdown>
88
-
89
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
90
- </span>
91
- <ng-content></ng-content>
File without changes
@@ -1,28 +0,0 @@
1
- import { Component, Input, OnInit, TemplateRef } from '@angular/core';
2
- import { DialogService } from 'primeng/dynamicdialog';
3
- import { ComponentService } from '../../api/services/component.service';
4
- import { ComponentProviders } from '../../api/helpers/component-providers';
5
- import { BaseComponentDropDown } from '../../api/base-components/base-component-dropdown';
6
-
7
- @Component({
8
- selector: 'kv-dropdown',
9
- templateUrl: './dropdown.component.html',
10
- styleUrls: ['./dropdown.component.scss', '../../styles-components.scss'],
11
- providers: ComponentProviders(DropdownComponent),
12
- })
13
- export class DropdownComponent extends BaseComponentDropDown implements OnInit{
14
- constructor(
15
- componentService: ComponentService,
16
- dialogService: DialogService) {
17
- super(componentService, dialogService);
18
- }
19
-
20
- @Input() dropDowValue!: any;
21
- @Input() itemTemplate!: TemplateRef<any>;
22
- @Input() selectedItemTemplate!: TemplateRef<any>;
23
-
24
- override ngOnInit(): void {
25
- if (this.dropDowValue)
26
- this.value = this.dropDowValue;
27
- }
28
- }
@@ -1,90 +0,0 @@
1
-
2
- <p-editor
3
- [(ngModel)]="value"
4
- [style]="{ height: canvaHeigth }"
5
- [readonly]="readonly"
6
- [placeholder]="placeholder"
7
- (onTextChange)="textChange($event)"
8
- (onSelectionChange)="selectionChange($event)"
9
- [modules]="modules"
10
- >
11
-
12
- <ng-template pTemplate="header" >
13
- <ng-container
14
- [ngTemplateOutlet]="tollbartemplate"
15
- *ngIf="tollbartemplate"
16
- >
17
- </ng-container>
18
-
19
-
20
- <div id="toolbar-container" *ngIf="!tollbartemplate">
21
- <span class="ql-formats">
22
- <select class="ql-font">
23
- <option selected>Sans Serif</option>
24
- <option value="roboto">Roboto</option>
25
- <option value="monospace">Monospace</option>
26
- <option value="serif">Serif</option>
27
-
28
- </select>
29
-
30
- <select class="ql-header">
31
- <option value="1">Titulo</option>
32
- <option value="2">Subtitulo</option>
33
- <option selected>Normal</option>
34
- </select>
35
-
36
- <select class="ql-size">
37
- <option value="small">12px</option>
38
- <option value="normal">16px</option>
39
- <option value="large">24px</option>
40
- <option value="huge">40px</option>
41
- </select>
42
- </span>
43
- <span class="ql-formats">
44
- <button class="ql-bold"></button>
45
- <button class="ql-italic"></button>
46
- <button class="ql-underline"></button>
47
- <button class="ql-strike"></button>
48
- </span>
49
- <span class="ql-formats">
50
- <select class="ql-color"></select>
51
- <select class="ql-background"></select>
52
- </span>
53
- <span class="ql-formats">
54
- <button class="ql-script" value="sub"></button>
55
- <button class="ql-script" value="super"></button>
56
- </span>
57
- <span class="ql-formats">
58
- <button class="ql-header" value="1"></button>
59
- <button class="ql-header" value="2"></button>
60
- <button class="ql-blockquote"></button>
61
- <button class="ql-code-block"></button>
62
- </span>
63
- <span class="ql-formats">
64
- <button class="ql-list" value="ordered"></button>
65
- <button class="ql-list" value="bullet"></button>
66
- <button class="ql-indent" value="-1"></button>
67
- <button class="ql-indent" value="+1"></button>
68
- </span>
69
- <span class="ql-formats">
70
- <button class="ql-direction" value="rtl"></button>
71
- <select class="ql-align"></select>
72
- </span>
73
- <span class="ql-formats">
74
- <button class="ql-link"></button>
75
- <button class="ql-image"></button>
76
- <button class="ql-video"></button>
77
- </span>
78
- <span class="ql-formats">
79
- <button class="ql-clean"></button>
80
- </span>
81
- </div>
82
-
83
-
84
-
85
- </ng-template>
86
-
87
- </p-editor>
88
-
89
- <link href="https://unpkg.com/quill@1.3.7/dist/quill.snow.css" rel="stylesheet" />
90
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
@@ -1,4 +0,0 @@
1
-
2
- :host ::ng-deep .ql-font-roboto {
3
- font-family: 'Roboto', sans-serif;
4
- }
@@ -1,80 +0,0 @@
1
- import {
2
- AfterViewInit,
3
- Component,
4
- ElementRef,
5
- EventEmitter,
6
- Inject,
7
- Input,
8
- OnInit,
9
- Output,
10
- PLATFORM_ID,
11
- TemplateRef,
12
- } from '@angular/core';
13
- import { ComponentProviders } from '../../api/helpers/component-providers';
14
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
15
- import { ComponentService } from '../../api/services/component.service';
16
-
17
- import Quill from "quill"
18
-
19
- @Component({
20
- selector: 'kv-editor',
21
- templateUrl: './editor.component.html',
22
- styleUrls: ['./editor.component.scss'],
23
- providers: [ComponentProviders(EditorComponent)],
24
- })
25
- export class EditorComponent extends BaseComponentInput<string>{
26
- constructor(componentService: ComponentService) {
27
- super(componentService);
28
- const Font = Quill.import('formats/font');
29
- Font.whitelist = ['roboto', 'serif', 'monospace'];
30
-
31
- const ColorClass = Quill.import('attributors/class/color');
32
- const SizeStyle = Quill.import('attributors/style/size');
33
-
34
- Quill.register(Font, true);
35
- Quill.register(ColorClass, true);
36
- Quill.register(SizeStyle, true);
37
- }
38
- /**
39
- * @type {boolean}
40
- * @description
41
- * Esse item define se o editor e somente para leitura
42
- */
43
-
44
- @Input() readonly: boolean = false;
45
-
46
- /**
47
- * @type {boolean}
48
- * @description
49
- * Esse item define o tamanho do canva
50
- */
51
- @Input() canvaHeigth: string = '380px';
52
-
53
- @Input() debug: boolean = false;
54
- @Input() modules!: object;
55
-
56
- /**
57
- * @type {TemplateRef}
58
- * @description
59
- * Esse item e opcional, mas caso precise de definir um template personalizado com base em clases css do quill poderar passar sua toolbar por aqui
60
- */
61
- @Input() tollbartemplate!: TemplateRef<any>;
62
-
63
- /**
64
- * @description Executado a cada iteração
65
- */
66
- @Output() onTextChange: EventEmitter<any> = new EventEmitter();
67
-
68
- /**
69
- * @description Executado a cada seleção
70
- */
71
- @Output() onSelectionChange: EventEmitter<any> = new EventEmitter();
72
-
73
- textChange($event: any) {
74
- this.onTextChange.emit($event);
75
- }
76
- selectionChange($event: any) {
77
- this.onSelectionChange.emit($event);
78
- }
79
-
80
- }
@@ -1,30 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <p-calendar
7
- #dateFilter
8
- appendTo="body"
9
- [class]="baseInputClass"
10
- [id]="componentId"
11
- [(ngModel)]="value"
12
- [disabled]="disabled"
13
- [minDate]="minDate"
14
- [maxDate]="maxDate"
15
- [selectionMode]="selectionMode"
16
- [showButtonBar]="showButtonBar"
17
- [showIcon]="showIcon"
18
- [showTime]="showTime"
19
- [view]="typeView"
20
- [dateFormat]="dateFormat"
21
- (onBlur)="onInputBlur($event)"
22
- (onClose)="onInputClose($event)"
23
- (onSelect)="onInputChange($event)"
24
- styleClass="inputs"
25
- >
26
- </p-calendar>
27
-
28
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
29
- </span>
30
- <ng-content></ng-content>
@@ -1,81 +0,0 @@
1
- import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
2
- import { CalendarTypeView } from 'primeng/calendar';
3
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
4
- import { ComponentProviders } from '../../api/helpers/component-providers';
5
- import { ComponentService } from '../../api/services/component.service';
6
- import { FormControl } from '@angular/forms';
7
-
8
- @Component({
9
- selector: 'kv-input-calendar',
10
- templateUrl: './input-calendar.component.html',
11
- styleUrls: [
12
- './input-calendar.component.scss',
13
- '../../styles-components.scss',
14
- ],
15
- providers: ComponentProviders(InputCalendarComponent),
16
- })
17
- export class InputCalendarComponent
18
- extends BaseComponentInput<Date>
19
- implements OnInit
20
- {
21
- @Input() isYear: boolean = false;
22
- @Input() isMonthYear: boolean = false;
23
- @Input() minDate!: Date;
24
- @Input() maxDate!: Date;
25
- @Input() showButtonBar: boolean = false;
26
- @Input() showIcon: boolean = true;
27
- @Input() showTime: boolean = false;
28
- @Input() selectionMode: 'single' | 'multiple' | 'range' = 'single';
29
- @Output() onSelectionChange: EventEmitter<any> = new EventEmitter();
30
- @Output() onSelectionValue: EventEmitter<any> = new EventEmitter();
31
- @ViewChild('dateFilter') private dateFilter: any;
32
-
33
- typeView: CalendarTypeView = 'date';
34
- dateFormat: string = 'dd/mm/yy';
35
-
36
- constructor(componentService: ComponentService) {
37
- super(componentService);
38
- }
39
-
40
- override writeValue(value: Date): void {
41
- this.value = value;
42
-
43
- if (value && typeof value === 'string') {
44
- this.value = new Date(value);
45
- }
46
- }
47
-
48
- override ngOnInit(): void {
49
- super.ngOnInit();
50
-
51
- if (this.isYear) {
52
- this.typeView = 'year';
53
- this.dateFormat = 'yy';
54
- } else if (this.isMonthYear) {
55
- this.typeView = 'month';
56
- this.dateFormat = 'mm/yy';
57
- } else {
58
- this.typeView = 'date';
59
- this.dateFormat = 'dd/mm/yy';
60
- }
61
- }
62
-
63
- protected onInputChange(event: any) {
64
- this.hideOnRangeMode();
65
- this.onSelectionValue.emit(event);
66
-
67
- if (this.formControl) {
68
- this.onSelectionChange.emit(this.formControl.value);
69
- }
70
- }
71
-
72
-
73
-
74
- hideOnRangeMode() {
75
- if (this.selectionMode == 'range') {
76
- if(this.dateFilter.value[1]){
77
- this.dateFilter.hideOverlay();
78
- }
79
- }
80
- }
81
- }
@@ -1,20 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <p-inputMask
7
- [class]="baseInputClass"
8
- styleClass="inputs"
9
- [inputId]="componentId"
10
- [disabled]="disabled"
11
- [placeholder]="placeholder"
12
- [(ngModel)]="value"
13
- [mask]="mask"
14
- (onBlur)="onInputBlur($event)"
15
- >
16
- </p-inputMask>
17
-
18
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
19
- </span>
20
- <ng-content></ng-content>
@@ -1,20 +0,0 @@
1
- import { Component, Input, OnInit } from '@angular/core';
2
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
3
- import { ComponentProviders } from '../../api/helpers/component-providers';
4
- import { ComponentService } from '../../api/services/component.service';
5
-
6
-
7
- @Component({
8
- selector: 'kv-input-mask',
9
- templateUrl: './input-mask.component.html',
10
- styleUrls: ['./input-mask.component.scss', '../../styles-components.scss'],
11
- providers: ComponentProviders(InputMaskComponent),
12
- })
13
- export class InputMaskComponent extends BaseComponentInput<string> implements OnInit {
14
-
15
- @Input() mask!: string;
16
-
17
- constructor(componentService: ComponentService) {
18
- super(componentService);
19
- }
20
- }
@@ -1,22 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <p-inputNumber
7
- #inputNumber
8
- [disabled]="disabled"
9
- [class]="baseInputClass"
10
- [inputId]="componentId"
11
- styleClass="inputs"
12
- [min]="min"
13
- [max]="max"
14
- [suffix]="suffix"
15
- [(ngModel)]="value"
16
- (onBlur)="onInputBlur($event)"
17
- >
18
- </p-inputNumber>
19
-
20
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
21
- </span>
22
- <ng-content></ng-content>
@@ -1,52 +0,0 @@
1
- import { Component, Input, OnInit, ViewChild } from '@angular/core';
2
- import { InputNumber } from 'primeng/inputnumber';
3
- import { ComponentProviders } from '../../api/helpers/component-providers';
4
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
5
- import { ComponentService } from '../../api/services/component.service';
6
-
7
-
8
- @Component({
9
- selector: 'kv-input-number',
10
- templateUrl: './input-number.component.html',
11
- styleUrls: ['./input-number.component.scss', '../../styles-components.scss'],
12
- providers: ComponentProviders(InputNumberComponent),
13
- })
14
- export class InputNumberComponent extends BaseComponentInput<string> implements OnInit {
15
- @Input() mode: 'currency' | 'decimal' = 'decimal';
16
- @Input() digits: number = 0;
17
- @Input() min: number = 0;
18
- @Input() max!: number;
19
- @Input() suffix!: string;
20
-
21
- @ViewChild('inputNumber', { static: true }) inputNumber!: InputNumber;
22
-
23
- constructor(componentService: ComponentService) {
24
- super(componentService);
25
- }
26
-
27
- override ngOnInit(): void {
28
- super.ngOnInit();
29
-
30
- this.inputNumber.mode = this.mode;
31
- this.inputNumber.locale = 'pt-BR';
32
-
33
- switch (this.mode) {
34
- case 'decimal':
35
- this.configDecimal();
36
- break;
37
- case 'currency':
38
- this.configCurrency();
39
- break;
40
- }
41
- }
42
-
43
- private configDecimal() {
44
- if (!this.digits) this.inputNumber.useGrouping = false;
45
- this.inputNumber.minFractionDigits = this.digits;
46
- this.inputNumber.maxFractionDigits = this.digits;
47
- }
48
-
49
- private configCurrency() {
50
- this.inputNumber.currency = 'BRL';
51
- }
52
- }
@@ -1,23 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <p-password
7
- appendTo="body"
8
- [class]="baseInputClass"
9
- styleClass="inputs"
10
- [id]="componentId"
11
- [(ngModel)]="value"
12
- [disabled]="disabled"
13
- [toggleMask]="toggleMask"
14
- [feedback]="feedback"
15
- [mediumRegex]="mediumRegex"
16
- [strongRegex]="strongRegex"
17
- (onBlur)="onInputBlur($event)"
18
- >
19
- </p-password>
20
-
21
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
22
- </span>
23
- <ng-content></ng-content>
@@ -1,23 +0,0 @@
1
- import { Component, Input, OnInit } from '@angular/core';
2
- import { ComponentProviders } from '../../api/helpers/component-providers';
3
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
4
- import { ComponentService } from '../../api/services/component.service';
5
-
6
-
7
- @Component({
8
- selector: 'kv-input-password',
9
- templateUrl: './input-password.component.html',
10
- styleUrls: ['./input-password.component.scss', '../../styles-components.scss'],
11
- providers: ComponentProviders(InputPasswordComponent),
12
- })
13
- export class InputPasswordComponent extends BaseComponentInput<string> implements OnInit {
14
-
15
- @Input() feedback: boolean = false;
16
- @Input() mediumRegex: string = '';
17
- @Input() strongRegex: string = '';
18
- @Input() toggleMask: boolean = true;
19
-
20
- constructor(componentService: ComponentService) {
21
- super(componentService);
22
- }
23
- }
@@ -1,20 +0,0 @@
1
- <span>
2
- <kv-label
3
- [componentId]="componentId"
4
- [label]="label"
5
- />
6
- <input
7
- pInputText
8
- type="text"
9
- [class]="baseInputClass"
10
- class="inputs"
11
- [disabled]="disabled"
12
- [id]="componentId"
13
- [(ngModel)]="value"
14
- (blur)="onInputBlur($event)"
15
- (input)="onInputInput($event)"
16
- >
17
-
18
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
19
- </span>
20
- <ng-content></ng-content>
@@ -1,18 +0,0 @@
1
- .div-pai {
2
- display: flex;
3
- flex-direction: row;
4
- column-gap: 0.25rem;
5
- padding-right: 0;
6
- }
7
-
8
- .div-input {
9
- width: 100%;
10
- }
11
-
12
- .div-button {
13
- width: 20%;
14
-
15
- button {
16
- width: 100%;
17
- }
18
- }
@@ -1,17 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { ComponentProviders } from '../../api/helpers/component-providers';
3
- import { BaseComponentInput } from '../../api/base-components/base-component-input';
4
- import { ComponentService } from '../../api/services/component.service';
5
-
6
-
7
- @Component({
8
- selector: 'kv-input-text',
9
- templateUrl: './input-text.component.html',
10
- styleUrls: ['./input-text.component.scss', '../../styles-components.scss'],
11
- providers: ComponentProviders(InputTextComponent),
12
- })
13
- export class InputTextComponent extends BaseComponentInput<string> implements OnInit {
14
- constructor(componentService: ComponentService) {
15
- super(componentService);
16
- }
17
- }
@@ -1,32 +0,0 @@
1
- <kv-label
2
- [componentId]="componentId"
3
- [label]="label"
4
- />
5
- <div class="p-inputgroup ">
6
- <span
7
- class="p-inputgroup-addon"
8
- style="height: 35px;"
9
- ><p-checkbox
10
- [(ngModel)]="checkBoxValue"
11
- [binary]="true"
12
- [pTooltip]="tooltipCheckbox"
13
- ></p-checkbox>
14
-
15
- </span>
16
-
17
- <span class="p-float-label">
18
- <input
19
- type="text"
20
- pInputText
21
- [class]="baseInputClass"
22
- styleClass="inputs"
23
- [disabled]="disabled"
24
- [placeholder]="placeholder"
25
- [id]="componentId"
26
- [(ngModel)]="value"
27
- (blur)="onInputBlur($event)"
28
- style="height: 35px;"
29
- />
30
- </span>
31
-
32
- </div>