keevo-components 1.5.189 → 1.5.191

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/ng-package.json +7 -0
  3. package/package.json +3 -22
  4. package/src/assets/.gitkeep +0 -0
  5. package/src/assets/images/LogoEvo.png +0 -0
  6. package/src/assets/images/LogoPequenaEvo.png +0 -0
  7. package/src/assets/images/background.png +0 -0
  8. package/src/assets/images/keepass-logo.png +0 -0
  9. package/src/assets/images/keepass-logo.svg +74 -0
  10. package/src/assets/images/keevo-logo.png +0 -0
  11. package/src/assets/images/logokeevo_2.png +0 -0
  12. package/src/index.ts +1 -0
  13. package/src/lib/api/base-components/base-component-button.ts +27 -0
  14. package/src/lib/api/base-components/base-component-chart.ts +105 -0
  15. package/src/lib/api/base-components/base-component-crud-form.ts +328 -0
  16. package/src/lib/api/base-components/base-component-crud-list.ts +111 -0
  17. package/src/lib/api/base-components/base-component-crud.ts +70 -0
  18. package/src/lib/api/base-components/base-component-dropdown-new.ts +112 -0
  19. package/src/lib/api/base-components/base-component-dropdown.ts +164 -0
  20. package/src/lib/api/base-components/base-component-input.ts +107 -0
  21. package/src/lib/api/base-components/base-component-multi-select.ts +136 -0
  22. package/src/lib/api/base-components/base-component.ts +46 -0
  23. package/src/lib/api/components/chart/chart.config.ts +12 -0
  24. package/src/lib/api/components/chart/chart.model.ts +9 -0
  25. package/src/lib/api/components/chart/orchart.config.ts +41 -0
  26. package/src/lib/api/components/chart/orchart.item.ts +33 -0
  27. package/src/lib/api/components/dropdown/filtro.combo.ts +4 -0
  28. package/src/lib/api/components/error/error.component.html +3 -0
  29. package/src/lib/api/components/error/error.component.scss +5 -0
  30. package/src/lib/api/components/error/error.component.ts +22 -0
  31. package/src/lib/api/components/error/kverror.module.ts +23 -0
  32. package/src/lib/api/components/table/action-item.ts +5 -0
  33. package/src/lib/api/components/table/kv-menuitem.ts +10 -0
  34. package/src/lib/api/components/table/table.config.column.ts +21 -0
  35. package/src/lib/api/components/table/table.config.ts +20 -0
  36. package/src/lib/api/components/table/table.paginate.ts +6 -0
  37. package/src/lib/api/helpers/component-providers.ts +16 -0
  38. package/src/lib/api/helpers/keevo-validators.ts +77 -0
  39. package/src/lib/api/helpers/translate-primeng.ts +25 -0
  40. package/src/lib/api/models/menu/menu.model.ts +10 -0
  41. package/{lib/api/models/menu/menucompleto.model.d.ts → src/lib/api/models/menu/menucompleto.model.ts} +7 -6
  42. package/src/lib/api/models/menu/sistemamenu.model.ts +8 -0
  43. package/src/lib/api/modules/primeng.module.ts +125 -0
  44. package/src/lib/api/services/base.api.service.ts +115 -0
  45. package/src/lib/api/services/component.service.ts +22 -0
  46. package/src/lib/api/services/form.service.ts +105 -0
  47. package/src/lib/api/services/imagens.service.ts +20 -0
  48. package/src/lib/api/services/notification.service.ts +82 -0
  49. package/src/lib/api/services/object.service.ts +20 -0
  50. package/src/lib/buttons/button-personalize/button-personalize.component.html +11 -0
  51. package/src/lib/buttons/button-personalize/button-personalize.component.scss +3 -0
  52. package/src/lib/buttons/button-personalize/button-personalize.component.ts +13 -0
  53. package/src/lib/buttons/button-popup/button-popup.component.html +12 -0
  54. package/src/lib/buttons/button-popup/button-popup.component.scss +13 -0
  55. package/src/lib/buttons/button-popup/button-popup.component.ts +30 -0
  56. package/src/lib/buttons/button-secondary/button-secondary.component.html +12 -0
  57. package/src/lib/buttons/button-secondary/button-secondary.component.scss +14 -0
  58. package/src/lib/buttons/button-secondary/button-secondary.component.ts +13 -0
  59. package/src/lib/buttons/button-success/button-success.component.html +11 -0
  60. package/src/lib/buttons/button-success/button-success.component.scss +13 -0
  61. package/src/lib/buttons/button-success/button-success.component.ts +13 -0
  62. package/src/lib/buttons/kvbutton.module.ts +25 -0
  63. package/src/lib/chart/chart.component.html +38 -0
  64. package/src/lib/chart/chart.component.scss +0 -0
  65. package/src/lib/chart/chart.component.spec.ts +28 -0
  66. package/src/lib/chart/chart.component.ts +141 -0
  67. package/src/lib/chart/kvchart.module.ts +20 -0
  68. package/src/lib/directives/template.directive.ts +15 -0
  69. package/src/lib/inputs/check/check.component.html +11 -0
  70. package/src/lib/inputs/check/check.component.scss +13 -0
  71. package/src/lib/inputs/check/check.component.ts +24 -0
  72. package/src/lib/inputs/dropdown/dropdown.component.html +91 -0
  73. package/src/lib/inputs/dropdown/dropdown.component.scss +0 -0
  74. package/src/lib/inputs/dropdown/dropdown.component.ts +28 -0
  75. package/src/lib/inputs/editor/editor.component.html +90 -0
  76. package/src/lib/inputs/editor/editor.component.scss +4 -0
  77. package/src/lib/inputs/editor/editor.component.ts +80 -0
  78. package/src/lib/inputs/input-calendar/input-calendar.component.html +30 -0
  79. package/src/lib/inputs/input-calendar/input-calendar.component.scss +0 -0
  80. package/src/lib/inputs/input-calendar/input-calendar.component.ts +81 -0
  81. package/src/lib/inputs/input-mask/input-mask.component.html +20 -0
  82. package/src/lib/inputs/input-mask/input-mask.component.scss +0 -0
  83. package/src/lib/inputs/input-mask/input-mask.component.ts +20 -0
  84. package/src/lib/inputs/input-number/input-number.component.html +22 -0
  85. package/src/lib/inputs/input-number/input-number.component.scss +0 -0
  86. package/src/lib/inputs/input-number/input-number.component.ts +52 -0
  87. package/src/lib/inputs/input-password/input-password.component.html +23 -0
  88. package/src/lib/inputs/input-password/input-password.component.scss +0 -0
  89. package/src/lib/inputs/input-password/input-password.component.ts +23 -0
  90. package/src/lib/inputs/input-text/input-text.component.html +20 -0
  91. package/src/lib/inputs/input-text/input-text.component.scss +18 -0
  92. package/src/lib/inputs/input-text/input-text.component.ts +17 -0
  93. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.html +32 -0
  94. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.scss +0 -0
  95. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.spec.ts +23 -0
  96. package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.ts +36 -0
  97. package/src/lib/inputs/input-textarea/input-textarea.component.html +22 -0
  98. package/src/lib/inputs/input-textarea/input-textarea.component.scss +0 -0
  99. package/src/lib/inputs/input-textarea/input-textarea.component.ts +33 -0
  100. package/src/lib/inputs/input-time/input-time.component.html +23 -0
  101. package/src/lib/inputs/input-time/input-time.component.scss +0 -0
  102. package/src/lib/inputs/input-time/input-time.component.ts +20 -0
  103. package/src/lib/inputs/kvinputs.module.ts +64 -0
  104. package/src/lib/inputs/multi-select/multi-select.component.html +28 -0
  105. package/src/lib/inputs/multi-select/multi-select.component.scss +8 -0
  106. package/src/lib/inputs/multi-select/multi-select.component.ts +31 -0
  107. package/src/lib/inputs/radio-group/radio-group.component.html +19 -0
  108. package/src/lib/inputs/radio-group/radio-group.component.scss +15 -0
  109. package/src/lib/inputs/radio-group/radio-group.component.ts +50 -0
  110. package/src/lib/inputs/switch/switch.component.html +12 -0
  111. package/src/lib/inputs/switch/switch.component.scss +3 -0
  112. package/src/lib/inputs/switch/switch.component.ts +30 -0
  113. package/src/lib/keevo-components.module.ts +50 -0
  114. package/src/lib/label/label.component.html +6 -0
  115. package/src/lib/label/label.component.scss +9 -0
  116. package/src/lib/label/label.component.spec.ts +23 -0
  117. package/src/lib/label/label.component.ts +13 -0
  118. package/src/lib/label/label.module.ts +18 -0
  119. package/src/lib/loader/kvloader.module.ts +17 -0
  120. package/src/lib/loader/loader.component.html +1 -0
  121. package/src/lib/loader/loader.component.ts +14 -0
  122. package/src/lib/loader/loader.service.ts +26 -0
  123. package/src/lib/login/kvlogin.module.ts +28 -0
  124. package/src/lib/login/login.component.html +108 -0
  125. package/src/lib/login/login.component.scss +48 -0
  126. package/src/lib/login/login.component.spec.ts +23 -0
  127. package/src/lib/login/login.component.ts +65 -0
  128. package/src/lib/menu/kvmenu.module.ts +27 -0
  129. package/src/lib/menu/menu.component.html +342 -0
  130. package/src/lib/menu/menu.component.scss +210 -0
  131. package/src/lib/menu/menu.component.spec.ts +23 -0
  132. package/src/lib/menu/menu.component.ts +246 -0
  133. package/src/lib/orgchart/orgchart.component.html +58 -0
  134. package/src/lib/orgchart/orgchart.component.scss +21 -0
  135. package/src/lib/orgchart/orgchart.component.ts +118 -0
  136. package/src/lib/orgchart/orgchart.module.ts +14 -0
  137. package/src/lib/page-form/kv-page-form.module.ts +22 -0
  138. package/src/lib/page-form/page-form.component.html +57 -0
  139. package/src/lib/page-form/page-form.component.scss +72 -0
  140. package/src/lib/page-form/page-form.component.spec.ts +28 -0
  141. package/src/lib/page-form/page-form.component.ts +121 -0
  142. package/src/lib/picklist/kvpicklist.module.ts +20 -0
  143. package/src/lib/picklist/picklist.component.html +17 -0
  144. package/src/lib/picklist/picklist.component.scss +0 -0
  145. package/src/lib/picklist/picklist.component.spec.ts +26 -0
  146. package/src/lib/picklist/picklist.component.ts +27 -0
  147. package/src/lib/pipes/codigofile.pipe.ts +15 -0
  148. package/src/lib/pipes/cpfcnpj.pipe.ts +21 -0
  149. package/src/lib/pipes/pipes.module.ts +22 -0
  150. package/src/lib/pipes/telefone.pipe.ts +38 -0
  151. package/src/lib/styles-components.scss +11 -0
  152. package/src/lib/table/kvtable.module.ts +22 -0
  153. package/src/lib/table/table.component.html +473 -0
  154. package/src/lib/table/table.component.scss +240 -0
  155. package/src/lib/table/table.component.spec.ts +28 -0
  156. package/src/lib/table/table.component.ts +546 -0
  157. package/src/lib/tree-table/kv-treetable.component.html +649 -0
  158. package/src/lib/tree-table/kv-treetable.component.scss +315 -0
  159. package/src/lib/tree-table/kv-treetable.component.ts +390 -0
  160. package/src/lib/tree-table/kv-treetable.module.ts +18 -0
  161. package/src/lib/tree-view/kvtree-view.module.ts +19 -0
  162. package/src/lib/tree-view/tree-view.component.html +9 -0
  163. package/src/lib/tree-view/tree-view.component.scss +0 -0
  164. package/src/lib/tree-view/tree-view.component.spec.ts +23 -0
  165. package/src/lib/tree-view/tree-view.component.ts +29 -0
  166. package/src/lib/workspace/kvworkspace.module.ts +29 -0
  167. package/src/lib/workspace/workspace.component.html +108 -0
  168. package/src/lib/workspace/workspace.component.scss +83 -0
  169. package/src/lib/workspace/workspace.component.ts +75 -0
  170. package/{public-api.d.ts → src/public-api.ts} +156 -133
  171. package/tsconfig.lib.json +14 -0
  172. package/tsconfig.lib.prod.json +10 -0
  173. package/tsconfig.spec.json +14 -0
  174. package/esm2020/keevo-components.mjs +0 -5
  175. package/esm2020/lib/api/base-components/base-component-button.mjs +0 -36
  176. package/esm2020/lib/api/base-components/base-component-chart.mjs +0 -92
  177. package/esm2020/lib/api/base-components/base-component-crud-form.mjs +0 -269
  178. package/esm2020/lib/api/base-components/base-component-crud-list.mjs +0 -67
  179. package/esm2020/lib/api/base-components/base-component-crud.mjs +0 -65
  180. package/esm2020/lib/api/base-components/base-component-dropdown-new.mjs +0 -211
  181. package/esm2020/lib/api/base-components/base-component-dropdown.mjs +0 -161
  182. package/esm2020/lib/api/base-components/base-component-input.mjs +0 -94
  183. package/esm2020/lib/api/base-components/base-component-multi-select.mjs +0 -128
  184. package/esm2020/lib/api/base-components/base-component.mjs +0 -49
  185. package/esm2020/lib/api/components/chart/chart.config.mjs +0 -2
  186. package/esm2020/lib/api/components/chart/chart.model.mjs +0 -2
  187. package/esm2020/lib/api/components/chart/orchart.config.mjs +0 -2
  188. package/esm2020/lib/api/components/chart/orchart.item.mjs +0 -2
  189. package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +0 -2
  190. package/esm2020/lib/api/components/error/error.component.mjs +0 -26
  191. package/esm2020/lib/api/components/error/kverror.module.mjs +0 -35
  192. package/esm2020/lib/api/components/table/action-item.mjs +0 -2
  193. package/esm2020/lib/api/components/table/kv-menuitem.mjs +0 -3
  194. package/esm2020/lib/api/components/table/table.config.column.mjs +0 -2
  195. package/esm2020/lib/api/components/table/table.config.mjs +0 -2
  196. package/esm2020/lib/api/components/table/table.paginate.mjs +0 -9
  197. package/esm2020/lib/api/helpers/component-providers.mjs +0 -16
  198. package/esm2020/lib/api/helpers/keevo-validators.mjs +0 -64
  199. package/esm2020/lib/api/helpers/translate-primeng.mjs +0 -23
  200. package/esm2020/lib/api/models/menu/menu.model.mjs +0 -2
  201. package/esm2020/lib/api/models/menu/menucompleto.model.mjs +0 -2
  202. package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +0 -2
  203. package/esm2020/lib/api/modules/primeng.module.mjs +0 -247
  204. package/esm2020/lib/api/services/base.api.service.mjs +0 -74
  205. package/esm2020/lib/api/services/component.service.mjs +0 -27
  206. package/esm2020/lib/api/services/form.service.mjs +0 -84
  207. package/esm2020/lib/api/services/imagens.service.mjs +0 -22
  208. package/esm2020/lib/api/services/notification.service.mjs +0 -67
  209. package/esm2020/lib/api/services/object.service.mjs +0 -26
  210. package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +0 -17
  211. package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +0 -31
  212. package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +0 -17
  213. package/esm2020/lib/buttons/button-success/button-success.component.mjs +0 -17
  214. package/esm2020/lib/buttons/kvbutton.module.mjs +0 -39
  215. package/esm2020/lib/chart/chart.component.mjs +0 -145
  216. package/esm2020/lib/chart/kvchart.module.mjs +0 -32
  217. package/esm2020/lib/directives/template.directive.mjs +0 -24
  218. package/esm2020/lib/inputs/check/check.component.mjs +0 -26
  219. package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +0 -37
  220. package/esm2020/lib/inputs/editor/editor.component.mjs +0 -70
  221. package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +0 -89
  222. package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +0 -23
  223. package/esm2020/lib/inputs/input-number/input-number.component.mjs +0 -59
  224. package/esm2020/lib/inputs/input-password/input-password.component.mjs +0 -33
  225. package/esm2020/lib/inputs/input-text/input-text.component.mjs +0 -21
  226. package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +0 -38
  227. package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +0 -43
  228. package/esm2020/lib/inputs/input-time/input-time.component.mjs +0 -24
  229. package/esm2020/lib/inputs/kvinputs.module.mjs +0 -108
  230. package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +0 -38
  231. package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +0 -53
  232. package/esm2020/lib/inputs/switch/switch.component.mjs +0 -32
  233. package/esm2020/lib/keevo-components.module.mjs +0 -105
  234. package/esm2020/lib/label/label.component.mjs +0 -15
  235. package/esm2020/lib/label/label.module.mjs +0 -24
  236. package/esm2020/lib/loader/loader.component.mjs +0 -18
  237. package/esm2020/lib/loader/loader.module.mjs +0 -28
  238. package/esm2020/lib/loader/loader.service.mjs +0 -29
  239. package/esm2020/lib/login/kvlogin.module.mjs +0 -47
  240. package/esm2020/lib/login/login.component.mjs +0 -52
  241. package/esm2020/lib/menu/kvmenu.module.mjs +0 -43
  242. package/esm2020/lib/menu/menu.component.mjs +0 -237
  243. package/esm2020/lib/orgchart/orgchart.component.mjs +0 -100
  244. package/esm2020/lib/orgchart/orgchart.module.mjs +0 -24
  245. package/esm2020/lib/page-form/kv-page-form.module.mjs +0 -38
  246. package/esm2020/lib/page-form/page-form.component.mjs +0 -144
  247. package/esm2020/lib/picklist/kvpicklist.module.mjs +0 -32
  248. package/esm2020/lib/picklist/picklist.component.mjs +0 -48
  249. package/esm2020/lib/pipes/codigofile.pipe.mjs +0 -19
  250. package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +0 -25
  251. package/esm2020/lib/pipes/pipes.module.mjs +0 -34
  252. package/esm2020/lib/pipes/telefone.pipe.mjs +0 -45
  253. package/esm2020/lib/table/kvtable.module.mjs +0 -32
  254. package/esm2020/lib/table/table.component.mjs +0 -499
  255. package/esm2020/lib/tree-table/kv-treetable.component.mjs +0 -371
  256. package/esm2020/lib/tree-table/kv-treetable.module.mjs +0 -32
  257. package/esm2020/lib/tree-view/kvtree-view.module.mjs +0 -28
  258. package/esm2020/lib/tree-view/tree-view.component.mjs +0 -29
  259. package/esm2020/lib/workspace/kvworkspace.module.mjs +0 -47
  260. package/esm2020/lib/workspace/workspace.component.mjs +0 -77
  261. package/esm2020/public-api.mjs +0 -137
  262. package/fesm2015/keevo-components.mjs +0 -4706
  263. package/fesm2015/keevo-components.mjs.map +0 -1
  264. package/fesm2020/keevo-components.mjs +0 -4697
  265. package/fesm2020/keevo-components.mjs.map +0 -1
  266. package/index.d.ts +0 -5
  267. package/lib/api/base-components/base-component-button.d.ts +0 -14
  268. package/lib/api/base-components/base-component-chart.d.ts +0 -40
  269. package/lib/api/base-components/base-component-crud-form.d.ts +0 -137
  270. package/lib/api/base-components/base-component-crud-list.d.ts +0 -63
  271. package/lib/api/base-components/base-component-crud.d.ts +0 -36
  272. package/lib/api/base-components/base-component-dropdown-new.d.ts +0 -14
  273. package/lib/api/base-components/base-component-dropdown.d.ts +0 -42
  274. package/lib/api/base-components/base-component-input.d.ts +0 -31
  275. package/lib/api/base-components/base-component-multi-select.d.ts +0 -35
  276. package/lib/api/base-components/base-component.d.ts +0 -21
  277. package/lib/api/components/chart/chart.config.d.ts +0 -11
  278. package/lib/api/components/chart/chart.model.d.ts +0 -9
  279. package/lib/api/components/chart/orchart.config.d.ts +0 -35
  280. package/lib/api/components/chart/orchart.item.d.ts +0 -26
  281. package/lib/api/components/dropdown/filtro.combo.d.ts +0 -4
  282. package/lib/api/components/error/error.component.d.ts +0 -12
  283. package/lib/api/components/error/kverror.module.d.ts +0 -10
  284. package/lib/api/components/table/action-item.d.ts +0 -5
  285. package/lib/api/components/table/kv-menuitem.d.ts +0 -9
  286. package/lib/api/components/table/table.config.column.d.ts +0 -21
  287. package/lib/api/components/table/table.config.d.ts +0 -17
  288. package/lib/api/components/table/table.paginate.d.ts +0 -6
  289. package/lib/api/helpers/component-providers.d.ts +0 -2
  290. package/lib/api/helpers/keevo-validators.d.ts +0 -10
  291. package/lib/api/helpers/translate-primeng.d.ts +0 -4
  292. package/lib/api/models/menu/menu.model.d.ts +0 -10
  293. package/lib/api/models/menu/sistemamenu.model.d.ts +0 -8
  294. package/lib/api/modules/primeng.module.d.ts +0 -60
  295. package/lib/api/services/base.api.service.d.ts +0 -25
  296. package/lib/api/services/component.service.d.ts +0 -11
  297. package/lib/api/services/form.service.d.ts +0 -27
  298. package/lib/api/services/imagens.service.d.ts +0 -8
  299. package/lib/api/services/notification.service.d.ts +0 -25
  300. package/lib/api/services/object.service.d.ts +0 -8
  301. package/lib/buttons/button-personalize/button-personalize.component.d.ts +0 -7
  302. package/lib/buttons/button-popup/button-popup.component.d.ts +0 -13
  303. package/lib/buttons/button-secondary/button-secondary.component.d.ts +0 -7
  304. package/lib/buttons/button-success/button-success.component.d.ts +0 -7
  305. package/lib/buttons/kvbutton.module.d.ts +0 -11
  306. package/lib/chart/chart.component.d.ts +0 -56
  307. package/lib/chart/kvchart.module.d.ts +0 -10
  308. package/lib/directives/template.directive.d.ts +0 -11
  309. package/lib/inputs/check/check.component.d.ts +0 -11
  310. package/lib/inputs/dropdown/dropdown.component.d.ts +0 -14
  311. package/lib/inputs/editor/editor.component.d.ts +0 -39
  312. package/lib/inputs/input-calendar/input-calendar.component.d.ts +0 -27
  313. package/lib/inputs/input-mask/input-mask.component.d.ts +0 -10
  314. package/lib/inputs/input-number/input-number.component.d.ts +0 -19
  315. package/lib/inputs/input-password/input-password.component.d.ts +0 -13
  316. package/lib/inputs/input-text/input-text.component.d.ts +0 -9
  317. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +0 -15
  318. package/lib/inputs/input-textarea/input-textarea.component.d.ts +0 -16
  319. package/lib/inputs/input-time/input-time.component.d.ts +0 -10
  320. package/lib/inputs/kvinputs.module.d.ts +0 -25
  321. package/lib/inputs/multi-select/multi-select.component.d.ts +0 -12
  322. package/lib/inputs/radio-group/radio-group.component.d.ts +0 -18
  323. package/lib/inputs/switch/switch.component.d.ts +0 -13
  324. package/lib/keevo-components.module.d.ts +0 -19
  325. package/lib/label/label.component.d.ts +0 -7
  326. package/lib/label/label.module.d.ts +0 -8
  327. package/lib/loader/loader.component.d.ts +0 -10
  328. package/lib/loader/loader.module.d.ts +0 -9
  329. package/lib/loader/loader.service.d.ts +0 -10
  330. package/lib/login/kvlogin.module.d.ts +0 -13
  331. package/lib/login/login.component.d.ts +0 -30
  332. package/lib/menu/kvmenu.module.d.ts +0 -12
  333. package/lib/menu/menu.component.d.ts +0 -74
  334. package/lib/orgchart/orgchart.component.d.ts +0 -27
  335. package/lib/orgchart/orgchart.module.d.ts +0 -9
  336. package/lib/page-form/kv-page-form.module.d.ts +0 -11
  337. package/lib/page-form/page-form.component.d.ts +0 -69
  338. package/lib/picklist/kvpicklist.module.d.ts +0 -10
  339. package/lib/picklist/picklist.component.d.ts +0 -20
  340. package/lib/pipes/codigofile.pipe.d.ts +0 -7
  341. package/lib/pipes/cpfcnpj.pipe.d.ts +0 -7
  342. package/lib/pipes/pipes.module.d.ts +0 -10
  343. package/lib/pipes/telefone.pipe.d.ts +0 -7
  344. package/lib/table/kvtable.module.d.ts +0 -10
  345. package/lib/table/table.component.d.ts +0 -104
  346. package/lib/tree-table/kv-treetable.component.d.ts +0 -84
  347. package/lib/tree-table/kv-treetable.module.d.ts +0 -11
  348. package/lib/tree-view/kvtree-view.module.d.ts +0 -9
  349. package/lib/tree-view/tree-view.component.d.ts +0 -14
  350. package/lib/workspace/kvworkspace.module.d.ts +0 -13
  351. package/lib/workspace/workspace.component.d.ts +0 -28
@@ -1,133 +1,156 @@
1
- /**
2
- * Classes base de componentes
3
- */
4
- export * from './lib/api/base-components/base-component';
5
- export * from './lib/api/base-components/base-component-button';
6
- export * from './lib/api/base-components/base-component-chart';
7
- export * from './lib/api/base-components/base-component-crud';
8
- export * from './lib/api/base-components/base-component-crud-form';
9
- export * from './lib/api/base-components/base-component-crud-list';
10
- export * from './lib/api/base-components/base-component-dropdown';
11
- export * from './lib/api/base-components/base-component-input';
12
- export * from './lib/api/base-components/base-component-multi-select';
13
- export * from './lib/api/base-components/base-component-dropdown-new';
14
- /**
15
- * Helpers
16
- */
17
- export * from './lib/api/helpers/component-providers';
18
- export * from './lib/api/helpers/translate-primeng';
19
- export * from './lib/api/helpers/keevo-validators';
20
- /**
21
- * Pipes
22
- */
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';
27
- /**
28
- * Services
29
- */
30
- export * from './lib/api/services/base.api.service';
31
- export * from './lib/api/services/component.service';
32
- export * from './lib/api/services/form.service';
33
- export * from './lib/api/services/notification.service';
34
- export * from './lib/api/services/object.service';
35
- /**
36
- * PrimeNG
37
- */
38
- export * from './lib/api/modules/primeng.module';
39
- export * from './lib/keevo-components.module';
40
- /**
41
- * Charts
42
- */
43
- export * from './lib/api/components/chart/chart.config';
44
- export * from './lib/api/components/chart/chart.model';
45
- export * from './lib/chart/chart.component';
46
- export * from './lib/chart/kvchart.module';
47
- /**
48
- * Error
49
- */
50
- export * from './lib/api/components/error/error.component';
51
- export * from './lib/api/components/error/kverror.module';
52
- /**
53
- * Buttons
54
- */
55
- export * from './lib/buttons/button-personalize/button-personalize.component';
56
- export * from './lib/buttons/button-secondary/button-secondary.component';
57
- export * from './lib/buttons/button-success/button-success.component';
58
- export * from './lib/buttons//button-popup/button-popup.component';
59
- export * from './lib/buttons/kvbutton.module';
60
- /**
61
- * Inputs
62
- */
63
- export * from './lib/inputs/check/check.component';
64
- export * from './lib/inputs/dropdown/dropdown.component';
65
- export * from './lib/inputs/input-calendar/input-calendar.component';
66
- export * from './lib/inputs/input-mask/input-mask.component';
67
- export * from './lib/inputs/input-number/input-number.component';
68
- export * from './lib/inputs/input-password/input-password.component';
69
- export * from './lib/inputs/input-text-checkbox/input-text-checkbox.component';
70
- export * from './lib/inputs/input-text/input-text.component';
71
- export * from './lib/inputs/input-textarea/input-textarea.component';
72
- export * from './lib/inputs/input-time/input-time.component';
73
- export * from './lib/inputs/kvinputs.module';
74
- export * from './lib/inputs/multi-select/multi-select.component';
75
- export * from './lib/inputs/radio-group/radio-group.component';
76
- export * from './lib/inputs/switch/switch.component';
77
- export * from './lib/inputs/editor/editor.component';
78
- export * from './lib/api/components/dropdown/filtro.combo';
79
- /**
80
- * Orgchart
81
- */
82
- export * from './lib/orgchart/orgchart.component';
83
- export * from './lib/orgchart/orgchart.module';
84
- /**
85
- * Picklist
86
- */
87
- export * from './lib/picklist/kvpicklist.module';
88
- export * from './lib/picklist/picklist.component';
89
- /**
90
- * Table
91
- */
92
- export * from './lib/table/kvtable.module';
93
- export * from './lib/table/table.component';
94
- export * from './lib/api/components/table/action-item';
95
- export * from './lib/api/components/table/kv-menuitem';
96
- export * from './lib/api/components/table/table.config';
97
- export * from './lib/api/components/table/table.config.column';
98
- export * from './lib/api/components/table/table.paginate';
99
- /**
100
- * TreeTable
101
- */
102
- export * from './lib/tree-table/kv-treetable.component';
103
- export * from './lib/tree-table/kv-treetable.module';
104
- /**
105
- * Treeview
106
- */
107
- export * from './lib/tree-view/kvtree-view.module';
108
- export * from './lib/tree-view/tree-view.component';
109
- /**
110
- * Componente de menu + layout
111
- */
112
- export * from './lib/menu/kvmenu.module';
113
- export * from './lib/menu/menu.component';
114
- /**
115
- * Componente de login
116
- */
117
- export * from './lib/login/kvlogin.module';
118
- export * from './lib/login/login.component';
119
- /**
120
- * Componente de workspaces
121
- */
122
- export * from './lib/workspace/kvworkspace.module';
123
- export * from './lib/workspace/workspace.component';
124
- /**
125
- * Formulário base
126
- */
127
- export * from './lib/page-form/page-form.component';
128
- export * from './lib/page-form/kv-page-form.module';
129
- /**
130
- * Componente de loader
131
- */
132
- export * from './lib/loader/loader.component';
133
- export * from './lib/loader/loader.module';
1
+ /*
2
+ * Public API Surface of keevo-components
3
+ */
4
+
5
+ /**
6
+ * Classes base de componentes
7
+ */
8
+ export * from './lib/api/base-components/base-component';
9
+ export * from './lib/api/base-components/base-component-button';
10
+ export * from './lib/api/base-components/base-component-chart';
11
+ export * from './lib/api/base-components/base-component-crud';
12
+ export * from './lib/api/base-components/base-component-crud-form';
13
+ export * from './lib/api/base-components/base-component-crud-list';
14
+ export * from './lib/api/base-components/base-component-dropdown';
15
+ export * from './lib/api/base-components/base-component-input';
16
+ export * from './lib/api/base-components/base-component-multi-select';
17
+ export * from './lib/api/base-components/base-component-dropdown-new'
18
+
19
+ /**
20
+ * Helpers
21
+ */
22
+ export * from './lib/api/helpers/component-providers';
23
+ export * from './lib/api/helpers/translate-primeng';
24
+ export * from './lib/api/helpers/keevo-validators'
25
+
26
+ /**
27
+ * Pipes
28
+ */
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
+
34
+ /**
35
+ * Services
36
+ */
37
+ export * from './lib/api/services/base.api.service'
38
+ export * from './lib/api/services/component.service';
39
+ export * from './lib/api/services/form.service'
40
+ export * from './lib/api/services/notification.service';
41
+ export * from './lib/api/services/object.service';
42
+
43
+ /**
44
+ * PrimeNG
45
+ */
46
+ export * from './lib/api/modules/primeng.module';
47
+ export * from './lib/keevo-components.module';
48
+
49
+ /**
50
+ * Charts
51
+ */
52
+ export * from './lib/api/components/chart/chart.config';
53
+ export * from './lib/api/components/chart/chart.model';
54
+ export * from './lib/chart/chart.component';
55
+ export * from './lib/chart/kvchart.module';
56
+
57
+ /**
58
+ * Error
59
+ */
60
+ export * from './lib/api/components/error/error.component';
61
+ export * from './lib/api/components/error/kverror.module';
62
+
63
+ /**
64
+ * Buttons
65
+ */
66
+ export * from './lib/buttons/button-personalize/button-personalize.component';
67
+ export * from './lib/buttons/button-secondary/button-secondary.component';
68
+ export * from './lib/buttons/button-success/button-success.component';
69
+ export * from './lib/buttons//button-popup/button-popup.component';
70
+ export * from './lib/buttons/kvbutton.module';
71
+
72
+ /**
73
+ * Inputs
74
+ */
75
+ export * from './lib/inputs/check/check.component';
76
+ export * from './lib/inputs/dropdown/dropdown.component';
77
+ export * from './lib/inputs/input-calendar/input-calendar.component';
78
+ export * from './lib/inputs/input-mask/input-mask.component';
79
+ export * from './lib/inputs/input-number/input-number.component';
80
+ export * from './lib/inputs/input-password/input-password.component';
81
+ export * from './lib/inputs/input-text-checkbox/input-text-checkbox.component';
82
+ export * from './lib/inputs/input-text/input-text.component';
83
+ export * from './lib/inputs/input-textarea/input-textarea.component';
84
+ export * from './lib/inputs/input-time/input-time.component';
85
+ export * from './lib/inputs/kvinputs.module';
86
+ export * from './lib/inputs/multi-select/multi-select.component';
87
+ export * from './lib/inputs/radio-group/radio-group.component';
88
+ export * from './lib/inputs/switch/switch.component';
89
+ export * from './lib/inputs/editor/editor.component';
90
+ export * from './lib/api/components/dropdown/filtro.combo';
91
+
92
+ /**
93
+ * Orgchart
94
+ */
95
+ export * from './lib/orgchart/orgchart.component'
96
+ export * from './lib/orgchart/orgchart.module'
97
+
98
+ /**
99
+ * Picklist
100
+ */
101
+ export * from './lib/picklist/kvpicklist.module';
102
+ export * from './lib/picklist/picklist.component';
103
+
104
+ /**
105
+ * Table
106
+ */
107
+ export * from './lib/table/kvtable.module';
108
+ export * from './lib/table/table.component';
109
+ export * from './lib/api/components/table/action-item';
110
+ export * from './lib/api/components/table/kv-menuitem';
111
+ export * from './lib/api/components/table/table.config';
112
+ export * from './lib/api/components/table/table.config.column';
113
+ export * from './lib/api/components/table/table.paginate';
114
+
115
+ /**
116
+ * TreeTable
117
+ */
118
+ export * from './lib/tree-table/kv-treetable.component'
119
+ export * from './lib/tree-table/kv-treetable.module'
120
+
121
+ /**
122
+ * Treeview
123
+ */
124
+ export * from './lib/tree-view/kvtree-view.module';
125
+ export * from './lib/tree-view/tree-view.component';
126
+
127
+ /**
128
+ * Componente de menu + layout
129
+ */
130
+ export * from './lib/menu/kvmenu.module';
131
+ export * from './lib/menu/menu.component';
132
+
133
+ /**
134
+ * Componente de login
135
+ */
136
+ export * from './lib/login/kvlogin.module';
137
+ export * from './lib/login/login.component';
138
+
139
+ /**
140
+ * Componente de workspaces
141
+ */
142
+ export * from './lib/workspace/kvworkspace.module';
143
+ export * from './lib/workspace/workspace.component';
144
+
145
+ /**
146
+ * Formulário base
147
+ */
148
+ export * from './lib/page-form/page-form.component'
149
+ export * from './lib/page-form/kv-page-form.module'
150
+
151
+ /**
152
+ * Loader
153
+ */
154
+ export * from './lib/loader/loader.component';
155
+ export * from './lib/loader/kvloader.module';
156
+ export * from './lib/loader/loader.service';
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "../../tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "../../out-tsc/lib",
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "inlineSources": true,
9
+ "types": []
10
+ },
11
+ "exclude": [
12
+ "**/*.spec.ts"
13
+ ]
14
+ }
@@ -0,0 +1,10 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "./tsconfig.lib.json",
4
+ "compilerOptions": {
5
+ "declarationMap": false
6
+ },
7
+ "angularCompilerOptions": {
8
+ "compilationMode": "partial"
9
+ }
10
+ }
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "../../tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "../../out-tsc/spec",
6
+ "types": [
7
+ "jasmine"
8
+ ]
9
+ },
10
+ "include": [
11
+ "**/*.spec.ts",
12
+ "**/*.d.ts"
13
+ ]
14
+ }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2Vldm8tY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2tlZXZvLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,36 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class BaseComponentButton {
4
- constructor() {
5
- this.icon = '';
6
- this.label = '';
7
- this.loading = false;
8
- this.disabled = false;
9
- this.color = 'bg-blue-100';
10
- this.onClick = new EventEmitter();
11
- }
12
- click(event) {
13
- this.onClick.emit();
14
- }
15
- }
16
- BaseComponentButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- BaseComponentButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: BaseComponentButton, selector: "ng-component", inputs: { icon: "icon", label: "label", loading: "loading", disabled: "disabled", color: "color" }, outputs: { onClick: "onClick" }, ngImport: i0, template: '', isInline: true });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, decorators: [{
19
- type: Component,
20
- args: [{
21
- template: '',
22
- }]
23
- }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
24
- type: Input
25
- }], label: [{
26
- type: Input
27
- }], loading: [{
28
- type: Input
29
- }], disabled: [{
30
- type: Input
31
- }], color: [{
32
- type: Input
33
- }], onClick: [{
34
- type: Output
35
- }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQtYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4v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xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgdGVtcGxhdGU6ICcnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQmFzZUNvbXBvbmVudEJ1dHRvbiB7XHJcblxyXG4gIEBJbnB1dCgpIGljb246IHN0cmluZyA9ICcnO1xyXG4gIEBJbnB1dCgpIGxhYmVsOiBzdHJpbmcgPSAnJztcclxuICBASW5wdXQoKSBsb2FkaW5nOiBib29sZWFuID0gZmFsc2U7XHJcbiAgQElucHV0KCkgZGlzYWJsZWQ6IGJvb2xlYW4gPSBmYWxzZTtcclxuICBASW5wdXQoKSBjb2xvcjogc3RyaW5nID0gJ2JnLWJsdWUtMTAwJztcclxuXHJcblxyXG4gIEBPdXRwdXQoKSBvbkNsaWNrOiBFdmVudEVtaXR0ZXI8YW55PiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgY2xpY2soZXZlbnQ6IGFueSk6IHZvaWQge1xyXG4gICAgdGhpcy5vbkNsaWNrLmVtaXQoKTtcclxuICB9XHJcbn1cclxuIl19
@@ -1,92 +0,0 @@
1
- import { Component, EventEmitter, Output, ViewChild } from "@angular/core";
2
- import { ChartComponent, PeriodosChart } from "../../chart/chart.component";
3
- import * as i0 from "@angular/core";
4
- export class BaseChartComponent {
5
- constructor() {
6
- this.selectedData = 0;
7
- this.enablePeriodos = [];
8
- this.periodos = PeriodosChart;
9
- this.onPrintReport = new EventEmitter();
10
- }
11
- changeData(event) {
12
- if (event) {
13
- this.selectedData = event?.value;
14
- this.loadData();
15
- }
16
- }
17
- ngOnInit() {
18
- this.loadData();
19
- }
20
- loadGraphic(obs) {
21
- obs
22
- .subscribe({
23
- next: (data) => {
24
- this.chartConfig = this.assembleGraphic(data);
25
- this.chartComponent?.reInit(this.chartConfig);
26
- },
27
- error: (error) => { },
28
- });
29
- }
30
- assembleGraphic(data) {
31
- let labels = [];
32
- let datasets = [];
33
- // Tratando legendas
34
- data.map((element) => {
35
- if (element.labels && !labels.includes(element.labels)) {
36
- labels.push(element.labels);
37
- }
38
- });
39
- //Descobrindo quantas dimensões tem o gráfico
40
- let numDatasets = Math.max(...data.map(o => o.numDatasets));
41
- //Populando datasets
42
- for (let i = 0; i <= numDatasets; i++) {
43
- let backgroundColor = [];
44
- let hoverBackgroundColor = [];
45
- let borderColor = [];
46
- let values = [];
47
- let labelDataset = '';
48
- data.filter((obj) => {
49
- return obj.numDatasets === i;
50
- }).map((obj) => {
51
- if (obj.backgroundColor && !backgroundColor.includes(obj.backgroundColor)) {
52
- backgroundColor.push(obj.backgroundColor);
53
- }
54
- if (obj.borderColor && !borderColor.includes(obj.borderColor)) {
55
- borderColor.push(obj.borderColor);
56
- }
57
- if (obj.hoverBackgroundColor && !hoverBackgroundColor.includes(obj.hoverBackgroundColor)) {
58
- hoverBackgroundColor.push(obj.hoverBackgroundColor);
59
- }
60
- if (obj.labelDataset)
61
- labelDataset = obj.labelDataset;
62
- values.push(obj.datasets);
63
- });
64
- datasets.push({
65
- label: labelDataset,
66
- backgroundColor: backgroundColor,
67
- hoverBackgroundColor: hoverBackgroundColor,
68
- borderColor: borderColor?.length === 0 ? undefined : borderColor,
69
- data: values
70
- });
71
- }
72
- let dados = {
73
- labels: labels,
74
- datasets: datasets
75
- };
76
- return dados;
77
- }
78
- }
79
- BaseChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
- BaseChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: BaseChartComponent, selector: "ng-component", outputs: { onPrintReport: "onPrintReport" }, viewQueries: [{ propertyName: "chartComponent", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: '', isInline: true });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseChartComponent, decorators: [{
82
- type: Component,
83
- args: [{
84
- template: ''
85
- }]
86
- }], ctorParameters: function () { return []; }, propDecorators: { chartComponent: [{
87
- type: ViewChild,
88
- args: [ChartComponent]
89
- }], onPrintReport: [{
90
- type: Output
91
- }] } });
92
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQtY2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvYXBpL2Jhc2UtY29tcG9uZW50cy9iYXNlLWNvbXBvbmVudC1jaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBS25GLE9BQU8sRUFBRSxjQUFjLEVBQUUsYUFBYSxFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBSzVFLE1BQU0sT0FBZ0Isa0JBQWtCO0lBV3RDO1FBUkEsaUJBQVksR0FBVyxDQUFDLENBQUM7UUFDekIsbUJBQWMsR0FBYSxFQUFFLENBQUM7UUFDOUIsYUFBUSxHQUFHLGFBQWEsQ0FBQztRQUlmLGtCQUFhLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7SUFFaEQsQ0FBQztJQUVQLFVBQVUsQ0FBQyxLQUFVO1FBQzdCLElBQUksS0FBSyxFQUFFO1lBQ1QsSUFBSSxDQUFDLFlBQVksR0FBRyxLQUFLLEVBQUUsS0FBSyxDQUFDO1lBQ2pDLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztTQUNqQjtJQUNILENBQUM7SUFFRCxRQUFRO1FBQ04sSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFBO0lBQ2pCLENBQUM7SUFJUyxXQUFXLENBQUM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