keevo-components 2.0.107 → 2.0.109

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 (756) hide show
  1. package/esm2022/keevo-components.mjs +5 -0
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +39 -0
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +104 -0
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +308 -0
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +91 -0
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +80 -0
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +238 -0
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +101 -0
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +174 -0
  11. package/esm2022/lib/api/base-components/base-component-table.mjs +354 -0
  12. package/esm2022/lib/api/base-components/base-component.mjs +51 -0
  13. package/esm2022/lib/api/components/chart/chart.config.mjs +2 -0
  14. package/esm2022/lib/api/components/chart/chart.model.mjs +2 -0
  15. package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -0
  16. package/esm2022/lib/api/components/chart/orchartnode.mjs +2 -0
  17. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
  18. package/esm2022/lib/api/components/step/step.model.mjs +2 -0
  19. package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
  20. package/esm2022/lib/api/components/table/action-item.mjs +2 -0
  21. package/esm2022/lib/api/components/table/kv-menuitem.mjs +46 -0
  22. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
  23. package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
  24. package/esm2022/lib/api/components/table/table.config.mjs +2 -0
  25. package/esm2022/lib/api/components/table/table.paginate.mjs +10 -0
  26. package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
  27. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
  28. package/esm2022/lib/api/components/tree-table/tree-table-keys.mjs +2 -0
  29. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +3 -0
  30. package/esm2022/lib/api/directives/directives.module.mjs +30 -0
  31. package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
  32. package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
  33. package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
  34. package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
  35. package/esm2022/lib/api/helpers/keevo-validators.mjs +144 -0
  36. package/esm2022/lib/api/helpers/severity-color.mjs +73 -0
  37. package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
  38. package/esm2022/lib/api/modules/primeng.module.mjs +283 -0
  39. package/esm2022/lib/api/pipes/capitalize.pipe.mjs +47 -0
  40. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
  41. package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
  42. package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
  43. package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
  44. package/esm2022/lib/api/services/base.api.service.mjs +74 -0
  45. package/esm2022/lib/api/services/breadcrumbs.service.mjs +62 -0
  46. package/esm2022/lib/api/services/chat.service.mjs +37 -0
  47. package/esm2022/lib/api/services/component.service.mjs +37 -0
  48. package/esm2022/lib/api/services/docs.service.mjs +129 -0
  49. package/esm2022/lib/api/services/form.service.mjs +95 -0
  50. package/esm2022/lib/api/services/image.cutter.service.mjs +193 -0
  51. package/esm2022/lib/api/services/imagens.service.mjs +28 -0
  52. package/esm2022/lib/api/services/notification.service.mjs +69 -0
  53. package/esm2022/lib/api/services/object.service.mjs +39 -0
  54. package/esm2022/lib/api/services/orgchart.service.mjs +64 -0
  55. package/esm2022/lib/api/services/pdf.service.mjs +48 -0
  56. package/esm2022/lib/api/types/breadcrumb.model.mjs +2 -0
  57. package/esm2022/lib/api/types/severity.mjs +2 -0
  58. package/esm2022/lib/components/keevo-components.module.mjs +232 -0
  59. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +142 -0
  60. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +55 -0
  61. package/esm2022/lib/components/kv-button/kv-button.component.mjs +51 -0
  62. package/esm2022/lib/components/kv-button/kv-button.module.mjs +28 -0
  63. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +25 -0
  64. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +39 -0
  65. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
  66. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
  67. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
  68. package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +60 -0
  69. package/esm2022/lib/components/kv-card-selection/kv-card-selection.module.mjs +31 -0
  70. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +34 -0
  71. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
  72. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +166 -0
  73. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
  74. package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.mjs +32 -0
  75. package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.mjs +22 -0
  76. package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +185 -0
  77. package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.module.mjs +44 -0
  78. package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
  79. package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
  80. package/esm2022/lib/components/kv-file-upload/kv-file-upload.component.mjs +191 -0
  81. package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +23 -0
  82. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +46 -0
  83. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
  84. package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.mjs +68 -0
  85. package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.mjs +24 -0
  86. package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +29 -0
  87. package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +34 -0
  88. package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +103 -0
  89. package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +31 -0
  90. package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +30 -0
  91. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +26 -0
  92. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +28 -0
  93. package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +11 -0
  94. package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +19 -0
  95. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +27 -0
  96. package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +32 -0
  97. package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +30 -0
  98. package/esm2022/lib/components/kv-icon/kv-icon.model.mjs +2 -0
  99. package/esm2022/lib/components/kv-icon/kv-icon.module.mjs +24 -0
  100. package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +136 -0
  101. package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +18 -0
  102. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +29 -0
  103. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +102 -0
  104. package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.mjs +18 -0
  105. package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.mjs +40 -0
  106. package/esm2022/lib/components/kv-inputs/kv-editor/config/kv-editor.config.mjs +110 -0
  107. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +271 -0
  108. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.mjs +7 -0
  109. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +135 -0
  110. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.mjs +168 -0
  111. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +78 -0
  112. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.mjs +95 -0
  113. package/esm2022/lib/components/kv-inputs/kv-editor/types/kv-editor.types.mjs +2 -0
  114. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +168 -0
  115. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +30 -0
  116. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
  117. package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +66 -0
  118. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
  119. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +38 -0
  120. package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +42 -0
  121. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +50 -0
  122. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
  123. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
  124. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +165 -0
  125. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +60 -0
  126. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +60 -0
  127. package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +46 -0
  128. package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +37 -0
  129. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +42 -0
  130. package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +58 -0
  131. package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
  132. package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
  133. package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +28 -0
  134. package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +72 -0
  135. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +433 -0
  136. package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +15 -0
  137. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +16 -0
  138. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
  139. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
  140. package/esm2022/lib/components/kv-login/kv-login.component.mjs +62 -0
  141. package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
  142. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +98 -0
  143. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +20 -0
  144. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +225 -0
  145. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +59 -0
  146. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +190 -0
  147. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +41 -0
  148. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +205 -0
  149. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +51 -0
  150. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +386 -0
  151. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +39 -0
  152. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
  153. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
  154. package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.mjs +62 -0
  155. package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.mjs +28 -0
  156. package/esm2022/lib/components/kv-report/kv-report.component.mjs +44 -0
  157. package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
  158. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +74 -0
  159. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +47 -0
  160. package/esm2022/lib/components/kv-steps/kv-steps.component.mjs +105 -0
  161. package/esm2022/lib/components/kv-table/kv-table.component.mjs +673 -0
  162. package/esm2022/lib/components/kv-table/kv-table.module.mjs +40 -0
  163. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +341 -0
  164. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +45 -0
  165. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +516 -0
  166. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +40 -0
  167. package/esm2022/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.mjs +17 -0
  168. package/esm2022/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.mjs +18 -0
  169. package/esm2022/lib/components/kv-table-viewer/kv-table-viewer.component.mjs +184 -0
  170. package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +18 -0
  171. package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +24 -0
  172. package/esm2022/lib/components/kv-tags/kv-tags.component.mjs +35 -0
  173. package/esm2022/lib/components/kv-tags/kv-tags.module.mjs +27 -0
  174. package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +71 -0
  175. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +334 -0
  176. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +39 -0
  177. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +70 -0
  178. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
  179. package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +103 -0
  180. package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +40 -0
  181. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +68 -0
  182. package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +22 -0
  183. package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +78 -0
  184. package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +87 -0
  185. package/esm2022/public-api.mjs +303 -0
  186. package/fesm2022/keevo-components.mjs +12127 -0
  187. package/fesm2022/keevo-components.mjs.map +1 -0
  188. package/index.d.ts +5 -0
  189. package/lib/api/base-components/base-component-button.d.ts +15 -0
  190. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  191. package/lib/api/base-components/base-component-crud-form.d.ts +149 -0
  192. package/lib/api/base-components/base-component-crud-list.d.ts +70 -0
  193. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  194. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
  195. package/lib/api/base-components/base-component-dropdown.d.ts +57 -0
  196. package/lib/api/base-components/base-component-input.d.ts +33 -0
  197. package/lib/api/base-components/base-component-multi-select.d.ts +40 -0
  198. package/lib/api/base-components/base-component-table.d.ts +88 -0
  199. package/lib/api/base-components/base-component.d.ts +22 -0
  200. package/lib/api/components/chart/chart.config.d.ts +14 -0
  201. package/lib/api/components/chart/chart.model.d.ts +12 -0
  202. package/lib/api/components/chart/orchart.config.d.ts +41 -0
  203. package/lib/api/components/chart/orchartnode.d.ts +34 -0
  204. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  205. package/{src/lib/api/components/step/step.model.ts → lib/api/components/step/step.model.d.ts} +13 -15
  206. package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
  207. package/lib/api/components/table/action-item.d.ts +13 -0
  208. package/lib/api/components/table/kv-menuitem.d.ts +152 -0
  209. package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
  210. package/lib/api/components/table/table.config.column.d.ts +38 -0
  211. package/lib/api/components/table/table.config.d.ts +36 -0
  212. package/lib/api/components/table/table.paginate.d.ts +10 -0
  213. package/{src/lib/api/components/table/tabledit.config.ts → lib/api/components/table/tabledit.config.d.ts} +8 -9
  214. package/lib/api/components/table/tableedit.config.column.d.ts +11 -0
  215. package/lib/api/components/tree-table/tree-table-keys.d.ts +12 -0
  216. package/lib/api/components/tree-table/tree-table.config.d.ts +31 -0
  217. package/lib/api/directives/directives.module.d.ts +9 -0
  218. package/lib/api/directives/drag/drag.directive.d.ts +11 -0
  219. package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
  220. package/lib/api/directives/template/template.directive.d.ts +11 -0
  221. package/lib/api/helpers/component-providers.d.ts +2 -0
  222. package/lib/api/helpers/keevo-validators.d.ts +18 -0
  223. package/lib/api/helpers/severity-color.d.ts +5 -0
  224. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  225. package/lib/api/modules/primeng.module.d.ts +69 -0
  226. package/lib/api/pipes/capitalize.pipe.d.ts +10 -0
  227. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
  228. package/lib/api/pipes/mask.pipe.d.ts +7 -0
  229. package/lib/api/pipes/pipes.module.d.ts +11 -0
  230. package/lib/api/pipes/telefone.pipe.d.ts +7 -0
  231. package/lib/api/services/base.api.service.d.ts +25 -0
  232. package/lib/api/services/breadcrumbs.service.d.ts +16 -0
  233. package/lib/api/services/chat.service.d.ts +17 -0
  234. package/lib/api/services/component.service.d.ts +11 -0
  235. package/lib/api/services/docs.service.d.ts +12 -0
  236. package/lib/api/services/form.service.d.ts +31 -0
  237. package/lib/api/services/image.cutter.service.d.ts +16 -0
  238. package/lib/api/services/imagens.service.d.ts +10 -0
  239. package/lib/api/services/notification.service.d.ts +26 -0
  240. package/lib/api/services/object.service.d.ts +9 -0
  241. package/lib/api/services/orgchart.service.d.ts +20 -0
  242. package/lib/api/services/pdf.service.d.ts +7 -0
  243. package/lib/api/types/breadcrumb.model.d.ts +5 -0
  244. package/{src/lib/api/types/severity.ts → lib/api/types/severity.d.ts} +2 -3
  245. package/lib/components/keevo-components.module.d.ts +38 -0
  246. package/lib/components/kv-avatar/kv-avatar.component.d.ts +36 -0
  247. package/lib/components/kv-avatar/kv-avatar.module.d.ts +15 -0
  248. package/lib/components/kv-button/kv-button.component.d.ts +24 -0
  249. package/lib/components/kv-button/kv-button.module.d.ts +9 -0
  250. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
  251. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +19 -0
  252. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
  253. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
  254. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
  255. package/lib/components/kv-card-selection/kv-card-selection.component.d.ts +25 -0
  256. package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +10 -0
  257. package/lib/components/kv-carousel/kv-carousel.component.d.ts +17 -0
  258. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
  259. package/lib/components/kv-chart/kv-chart.component.d.ts +57 -0
  260. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
  261. package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +12 -0
  262. package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +10 -0
  263. package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +56 -0
  264. package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +14 -0
  265. package/lib/components/kv-error/kv-error.component.d.ts +12 -0
  266. package/lib/components/kv-error/kv-error.module.d.ts +10 -0
  267. package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +35 -0
  268. package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +10 -0
  269. package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +21 -0
  270. package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
  271. package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +24 -0
  272. package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +9 -0
  273. package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +13 -0
  274. package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
  275. package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +32 -0
  276. package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +9 -0
  277. package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
  278. package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +10 -0
  279. package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +9 -0
  280. package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
  281. package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
  282. package/lib/components/kv-home-card/kv-home-card.component.d.ts +24 -0
  283. package/lib/components/kv-home-card/kv-home-card.module.d.ts +11 -0
  284. package/lib/components/kv-icon/kv-icon.component.d.ts +22 -0
  285. package/{src/lib/components/kv-icon/kv-icon.model.ts → lib/components/kv-icon/kv-icon.model.d.ts} +3 -3
  286. package/lib/components/kv-icon/kv-icon.module.d.ts +8 -0
  287. package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +34 -0
  288. package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
  289. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
  290. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +33 -0
  291. package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +8 -0
  292. package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +14 -0
  293. package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +55 -0
  294. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +70 -0
  295. package/{src/lib/components/kv-inputs/kv-editor/kv-editor.ts → lib/components/kv-inputs/kv-editor/kv-editor.d.ts} +6 -6
  296. package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +41 -0
  297. package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +41 -0
  298. package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +28 -0
  299. package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +45 -0
  300. package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +32 -0
  301. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +34 -0
  302. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
  303. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
  304. package/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.d.ts +21 -0
  305. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
  306. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +11 -0
  307. package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +13 -0
  308. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +18 -0
  309. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
  310. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
  311. package/lib/components/kv-inputs/kv-inputs.module.d.ts +38 -0
  312. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +20 -0
  313. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +20 -0
  314. package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
  315. package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +26 -0
  316. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
  317. package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +25 -0
  318. package/lib/components/kv-label/kv-label.component.d.ts +7 -0
  319. package/lib/components/kv-label/kv-label.module.d.ts +8 -0
  320. package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +12 -0
  321. package/lib/components/kv-layout/kv-layout.module.d.ts +18 -0
  322. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +156 -0
  323. package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +16 -0
  324. package/lib/components/kv-loader/kv-loader.component.d.ts +7 -0
  325. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
  326. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
  327. package/lib/components/kv-login/kv-login.component.d.ts +32 -0
  328. package/lib/components/kv-login/kv-login.module.d.ts +13 -0
  329. package/lib/components/kv-modal/kv-modal.component.d.ts +27 -0
  330. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
  331. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +45 -0
  332. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +17 -0
  333. package/lib/components/kv-page-form/kv-page-form.component.d.ts +98 -0
  334. package/lib/components/kv-page-form/kv-page-form.module.d.ts +12 -0
  335. package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
  336. package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +14 -0
  337. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +70 -0
  338. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +11 -0
  339. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
  340. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
  341. package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +71 -0
  342. package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +9 -0
  343. package/lib/components/kv-report/kv-report.component.d.ts +18 -0
  344. package/lib/components/kv-report/kv-report.module.d.ts +8 -0
  345. package/lib/components/kv-stepper/kv-stepper.component.d.ts +32 -0
  346. package/lib/components/kv-stepper/kv-stepper.module.d.ts +13 -0
  347. package/lib/components/kv-steps/kv-steps.component.d.ts +21 -0
  348. package/lib/components/kv-table/kv-table.component.d.ts +154 -0
  349. package/lib/components/kv-table/kv-table.module.d.ts +12 -0
  350. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +66 -0
  351. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +15 -0
  352. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +119 -0
  353. package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +13 -0
  354. package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +8 -0
  355. package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +7 -0
  356. package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +72 -0
  357. package/lib/components/kv-tag/kv-tag.component.d.ts +7 -0
  358. package/lib/components/kv-tag/kv-tag.module.d.ts +8 -0
  359. package/lib/components/kv-tags/kv-tags.component.d.ts +31 -0
  360. package/lib/components/kv-tags/kv-tags.module.d.ts +8 -0
  361. package/lib/components/kv-timeline/kv-timeline.component.d.ts +18 -0
  362. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +87 -0
  363. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +11 -0
  364. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +21 -0
  365. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
  366. package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +60 -0
  367. package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +14 -0
  368. package/lib/components/kv-workspace/kv-workspace.module.d.ts +19 -0
  369. package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
  370. package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +25 -0
  371. package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +37 -0
  372. package/package.json +42 -32
  373. package/{src/public-api.ts → public-api.d.ts} +298 -361
  374. package/src/lib/components/kv-table/kv-table.component.scss +4 -4
  375. package/ng-package.json +0 -14
  376. package/src/assets/.gitkeep +0 -0
  377. package/src/index.ts +0 -1
  378. package/src/lib/api/base-components/base-component-button.ts +0 -29
  379. package/src/lib/api/base-components/base-component-chart.ts +0 -118
  380. package/src/lib/api/base-components/base-component-crud-form.ts +0 -377
  381. package/src/lib/api/base-components/base-component-crud-list.ts +0 -129
  382. package/src/lib/api/base-components/base-component-crud.ts +0 -92
  383. package/src/lib/api/base-components/base-component-dropdown-external.ts +0 -29
  384. package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
  385. package/src/lib/api/base-components/base-component-dropdown.ts +0 -257
  386. package/src/lib/api/base-components/base-component-input.ts +0 -121
  387. package/src/lib/api/base-components/base-component-multi-select.ts +0 -187
  388. package/src/lib/api/base-components/base-component-table.ts +0 -366
  389. package/src/lib/api/base-components/base-component.ts +0 -47
  390. package/src/lib/api/components/chart/chart.config.ts +0 -15
  391. package/src/lib/api/components/chart/chart.model.ts +0 -12
  392. package/src/lib/api/components/chart/orchart.config.ts +0 -51
  393. package/src/lib/api/components/chart/orchartnode.ts +0 -44
  394. package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
  395. package/src/lib/api/components/stepper/kv-stepperpanel.ts +0 -10
  396. package/src/lib/api/components/table/action-item.ts +0 -13
  397. package/src/lib/api/components/table/kv-menuitem.ts +0 -198
  398. package/src/lib/api/components/table/table-dropdown-control.ts +0 -6
  399. package/src/lib/api/components/table/table.config.column.ts +0 -38
  400. package/src/lib/api/components/table/table.config.ts +0 -39
  401. package/src/lib/api/components/table/table.paginate.ts +0 -7
  402. package/src/lib/api/components/table/tableedit.config.column.ts +0 -12
  403. package/src/lib/api/components/tree-table/tree-table-keys.ts +0 -12
  404. package/src/lib/api/components/tree-table/tree-table.config.ts +0 -34
  405. package/src/lib/api/directives/directives.module.ts +0 -19
  406. package/src/lib/api/directives/drag/drag.directive.ts +0 -40
  407. package/src/lib/api/directives/stepper/dynamicinput.directive.ts +0 -23
  408. package/src/lib/api/directives/template/template.directive.ts +0 -15
  409. package/src/lib/api/helpers/component-providers.ts +0 -16
  410. package/src/lib/api/helpers/keevo-validators.ts +0 -174
  411. package/src/lib/api/helpers/severity-color.ts +0 -77
  412. package/src/lib/api/helpers/translate-primeng.ts +0 -25
  413. package/src/lib/api/modules/primeng.module.ts +0 -144
  414. package/src/lib/api/pipes/capitalize.pipe.ts +0 -47
  415. package/src/lib/api/pipes/cpfcnpj.pipe.ts +0 -21
  416. package/src/lib/api/pipes/mask.pipe.ts +0 -24
  417. package/src/lib/api/pipes/pipes.module.ts +0 -26
  418. package/src/lib/api/pipes/telefone.pipe.ts +0 -38
  419. package/src/lib/api/services/base.api.service.ts +0 -115
  420. package/src/lib/api/services/breadcrumbs.service.ts +0 -71
  421. package/src/lib/api/services/chat.service.ts +0 -39
  422. package/src/lib/api/services/component.service.ts +0 -44
  423. package/src/lib/api/services/docs.service.ts +0 -129
  424. package/src/lib/api/services/form.service.ts +0 -139
  425. package/src/lib/api/services/image.cutter.service.ts +0 -290
  426. package/src/lib/api/services/imagens.service.ts +0 -28
  427. package/src/lib/api/services/notification.service.ts +0 -88
  428. package/src/lib/api/services/object.service.ts +0 -33
  429. package/src/lib/api/services/orgchart.service.ts +0 -77
  430. package/src/lib/api/services/pdf.service.ts +0 -54
  431. package/src/lib/api/types/breadcrumb.model.ts +0 -5
  432. package/src/lib/api/types/stimulsoft.reports.d.ts +0 -67463
  433. package/src/lib/components/keevo-components.module.ts +0 -105
  434. package/src/lib/components/kv-avatar/kv-avatar.component.html +0 -75
  435. package/src/lib/components/kv-avatar/kv-avatar.component.scss +0 -162
  436. package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +0 -23
  437. package/src/lib/components/kv-avatar/kv-avatar.component.ts +0 -165
  438. package/src/lib/components/kv-avatar/kv-avatar.module.ts +0 -32
  439. package/src/lib/components/kv-button/kv-button.component.html +0 -26
  440. package/src/lib/components/kv-button/kv-button.component.spec.ts +0 -23
  441. package/src/lib/components/kv-button/kv-button.component.ts +0 -55
  442. package/src/lib/components/kv-button/kv-button.module.ts +0 -20
  443. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +0 -14
  444. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +0 -6
  445. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +0 -25
  446. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +0 -13
  447. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +0 -33
  448. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +0 -41
  449. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +0 -12
  450. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +0 -18
  451. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +0 -14
  452. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +0 -11
  453. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +0 -17
  454. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +0 -14
  455. package/src/lib/components/kv-buttons/kv-button.module.ts +0 -26
  456. package/src/lib/components/kv-card-selection/kv-card-selection.component.html +0 -63
  457. package/src/lib/components/kv-card-selection/kv-card-selection.component.scss +0 -54
  458. package/src/lib/components/kv-card-selection/kv-card-selection.component.spec.ts +0 -23
  459. package/src/lib/components/kv-card-selection/kv-card-selection.component.ts +0 -73
  460. package/src/lib/components/kv-card-selection/kv-card-selection.module.ts +0 -19
  461. package/src/lib/components/kv-carousel/kv-carousel.component.html +0 -26
  462. package/src/lib/components/kv-carousel/kv-carousel.component.scss +0 -47
  463. package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +0 -23
  464. package/src/lib/components/kv-carousel/kv-carousel.component.ts +0 -40
  465. package/src/lib/components/kv-carousel/kv-carousel.module.ts +0 -19
  466. package/src/lib/components/kv-chart/kv-chart.component.html +0 -38
  467. package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
  468. package/src/lib/components/kv-chart/kv-chart.component.spec.ts +0 -28
  469. package/src/lib/components/kv-chart/kv-chart.component.ts +0 -174
  470. package/src/lib/components/kv-chart/kv-chart.module.ts +0 -21
  471. package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.html +0 -9
  472. package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.scss +0 -7
  473. package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.spec.ts +0 -23
  474. package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.ts +0 -32
  475. package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.ts +0 -14
  476. package/src/lib/components/kv-content-viewer/kv-content-viewer.component.html +0 -229
  477. package/src/lib/components/kv-content-viewer/kv-content-viewer.component.scss +0 -185
  478. package/src/lib/components/kv-content-viewer/kv-content-viewer.component.spec.ts +0 -23
  479. package/src/lib/components/kv-content-viewer/kv-content-viewer.component.ts +0 -171
  480. package/src/lib/components/kv-content-viewer/kv-content-viewer.module.ts +0 -25
  481. package/src/lib/components/kv-error/kv-error.component.html +0 -3
  482. package/src/lib/components/kv-error/kv-error.component.scss +0 -5
  483. package/src/lib/components/kv-error/kv-error.component.ts +0 -27
  484. package/src/lib/components/kv-error/kv-error.module.ts +0 -26
  485. package/src/lib/components/kv-file-upload/kv-file-upload.component.html +0 -134
  486. package/src/lib/components/kv-file-upload/kv-file-upload.component.scss +0 -13
  487. package/src/lib/components/kv-file-upload/kv-file-upload.component.spec.ts +0 -23
  488. package/src/lib/components/kv-file-upload/kv-file-upload.component.ts +0 -200
  489. package/src/lib/components/kv-file-upload/kv-file-upload.module.ts +0 -13
  490. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +0 -16
  491. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +0 -18
  492. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +0 -42
  493. package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +0 -14
  494. package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.html +0 -34
  495. package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.scss +0 -17
  496. package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.ts +0 -80
  497. package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.ts +0 -15
  498. package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.html +0 -103
  499. package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.scss +0 -153
  500. package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.spec.ts +0 -23
  501. package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.ts +0 -73
  502. package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.module.ts +0 -18
  503. package/src/lib/components/kv-filter-card/kv-filter-card.component.html +0 -12
  504. package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +0 -76
  505. package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +0 -23
  506. package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +0 -18
  507. package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +0 -23
  508. package/src/lib/components/kv-filter-cards/kv-filter-cards.component.html +0 -81
  509. package/src/lib/components/kv-filter-cards/kv-filter-cards.component.scss +0 -197
  510. package/src/lib/components/kv-filter-cards/kv-filter-cards.component.ts +0 -150
  511. package/src/lib/components/kv-filter-cards/kv-filter-cards.module.ts +0 -20
  512. package/src/lib/components/kv-filter-cards/kv-filter-cards.pipe.ts +0 -24
  513. package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.html +0 -25
  514. package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.scss +0 -22
  515. package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.spec.ts +0 -23
  516. package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.ts +0 -20
  517. package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.ts +0 -20
  518. package/src/lib/components/kv-g-icon/kv-g-icon.component.html +0 -1
  519. package/src/lib/components/kv-g-icon/kv-g-icon.component.scss +0 -0
  520. package/src/lib/components/kv-g-icon/kv-g-icon.component.spec.ts +0 -23
  521. package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +0 -10
  522. package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +0 -11
  523. package/src/lib/components/kv-home-card/kv-home-card.component.html +0 -35
  524. package/src/lib/components/kv-home-card/kv-home-card.component.scss +0 -5
  525. package/src/lib/components/kv-home-card/kv-home-card.component.spec.ts +0 -23
  526. package/src/lib/components/kv-home-card/kv-home-card.component.ts +0 -33
  527. package/src/lib/components/kv-home-card/kv-home-card.module.ts +0 -18
  528. package/src/lib/components/kv-icon/kv-icon.component.html +0 -13
  529. package/src/lib/components/kv-icon/kv-icon.component.scss +0 -69
  530. package/src/lib/components/kv-icon/kv-icon.component.spec.ts +0 -28
  531. package/src/lib/components/kv-icon/kv-icon.component.ts +0 -30
  532. package/src/lib/components/kv-icon/kv-icon.module.ts +0 -16
  533. package/src/lib/components/kv-image-upload/kv-image-upload.component.html +0 -64
  534. package/src/lib/components/kv-image-upload/kv-image-upload.component.scss +0 -0
  535. package/src/lib/components/kv-image-upload/kv-image-upload.component.ts +0 -153
  536. package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +0 -10
  537. package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +0 -12
  538. package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +0 -38
  539. package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +0 -32
  540. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +0 -87
  541. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +0 -119
  542. package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.html +0 -13
  543. package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.scss +0 -0
  544. package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.spec.ts +0 -23
  545. package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.ts +0 -16
  546. package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.html +0 -18
  547. package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.scss +0 -0
  548. package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.ts +0 -41
  549. package/src/lib/components/kv-inputs/kv-editor/config/kv-editor.config.ts +0 -120
  550. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +0 -285
  551. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +0 -182
  552. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +0 -311
  553. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.ts +0 -156
  554. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.ts +0 -190
  555. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.spec.ts +0 -126
  556. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.ts +0 -84
  557. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.spec.ts +0 -176
  558. package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.ts +0 -101
  559. package/src/lib/components/kv-inputs/kv-editor/types/kv-editor.types.ts +0 -36
  560. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +0 -37
  561. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -23
  562. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +0 -197
  563. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +0 -24
  564. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
  565. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +0 -35
  566. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +0 -23
  567. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
  568. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +0 -61
  569. package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.html +0 -33
  570. package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.scss +0 -5
  571. package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.ts +0 -63
  572. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +0 -24
  573. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
  574. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +0 -26
  575. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +0 -23
  576. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +0 -18
  577. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +0 -40
  578. package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.html +0 -30
  579. package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.scss +0 -26
  580. package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.ts +0 -38
  581. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +0 -53
  582. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -41
  583. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +0 -23
  584. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +0 -48
  585. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +0 -23
  586. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
  587. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +0 -40
  588. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +0 -24
  589. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
  590. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +0 -27
  591. package/src/lib/components/kv-inputs/kv-inputs.module.ts +0 -100
  592. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +0 -87
  593. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +0 -62
  594. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +0 -54
  595. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +0 -19
  596. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +0 -22
  597. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +0 -63
  598. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +0 -26
  599. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +0 -5
  600. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +0 -21
  601. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +0 -30
  602. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +0 -28
  603. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +0 -61
  604. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +0 -23
  605. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +0 -43
  606. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +0 -23
  607. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +0 -35
  608. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +0 -54
  609. package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.html +0 -68
  610. package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.scss +0 -86
  611. package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.ts +0 -59
  612. package/src/lib/components/kv-label/kv-label.component.html +0 -3
  613. package/src/lib/components/kv-label/kv-label.component.scss +0 -15
  614. package/src/lib/components/kv-label/kv-label.component.spec.ts +0 -23
  615. package/src/lib/components/kv-label/kv-label.component.ts +0 -14
  616. package/src/lib/components/kv-label/kv-label.module.ts +0 -17
  617. package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.html +0 -25
  618. package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.scss +0 -19
  619. package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.spec.ts +0 -28
  620. package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.ts +0 -34
  621. package/src/lib/components/kv-layout/kv-layout.module.ts +0 -44
  622. package/src/lib/components/kv-layout/layout/kv-layout.component.html +0 -535
  623. package/src/lib/components/kv-layout/layout/kv-layout.component.scss +0 -267
  624. package/src/lib/components/kv-layout/layout/kv-layout.component.spec.ts +0 -23
  625. package/src/lib/components/kv-layout/layout/kv-layout.component.ts +0 -502
  626. package/src/lib/components/kv-layout/top-icons/top-icons.component.html +0 -26
  627. package/src/lib/components/kv-layout/top-icons/top-icons.component.scss +0 -71
  628. package/src/lib/components/kv-layout/top-icons/top-icons.component.spec.ts +0 -23
  629. package/src/lib/components/kv-layout/top-icons/top-icons.component.ts +0 -26
  630. package/src/lib/components/kv-loader/kv-loader.component.html +0 -1
  631. package/src/lib/components/kv-loader/kv-loader.component.ts +0 -11
  632. package/src/lib/components/kv-loader/kv-loader.module.ts +0 -17
  633. package/src/lib/components/kv-loader/kv-loader.service.ts +0 -29
  634. package/src/lib/components/kv-login/kv-login.component.html +0 -101
  635. package/src/lib/components/kv-login/kv-login.component.scss +0 -99
  636. package/src/lib/components/kv-login/kv-login.component.spec.ts +0 -23
  637. package/src/lib/components/kv-login/kv-login.component.ts +0 -97
  638. package/src/lib/components/kv-login/kv-login.module.ts +0 -33
  639. package/src/lib/components/kv-modal/kv-modal.component.html +0 -20
  640. package/src/lib/components/kv-modal/kv-modal.component.scss +0 -37
  641. package/src/lib/components/kv-modal/kv-modal.component.spec.ts +0 -21
  642. package/src/lib/components/kv-modal/kv-modal.component.ts +0 -111
  643. package/src/lib/components/kv-modal/kv-modal.module.ts +0 -12
  644. package/src/lib/components/kv-orgchart/kv-orgchart.component.html +0 -125
  645. package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +0 -73
  646. package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +0 -283
  647. package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +0 -31
  648. package/src/lib/components/kv-page-form/kv-page-form.component.html +0 -91
  649. package/src/lib/components/kv-page-form/kv-page-form.component.scss +0 -100
  650. package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +0 -28
  651. package/src/lib/components/kv-page-form/kv-page-form.component.ts +0 -206
  652. package/src/lib/components/kv-page-form/kv-page-form.module.ts +0 -33
  653. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +0 -276
  654. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +0 -85
  655. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +0 -23
  656. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +0 -223
  657. package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +0 -36
  658. package/src/lib/components/kv-pick-list/kv-pick-list.component.html +0 -32
  659. package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -57
  660. package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +0 -26
  661. package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +0 -461
  662. package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +0 -24
  663. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +0 -38
  664. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +0 -128
  665. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +0 -21
  666. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +0 -75
  667. package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +0 -19
  668. package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.html +0 -43
  669. package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.scss +0 -130
  670. package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.spec.ts +0 -23
  671. package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.ts +0 -82
  672. package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.ts +0 -18
  673. package/src/lib/components/kv-report/kv-report.component.html +0 -3
  674. package/src/lib/components/kv-report/kv-report.component.scss +0 -14
  675. package/src/lib/components/kv-report/kv-report.component.spec.ts +0 -28
  676. package/src/lib/components/kv-report/kv-report.component.ts +0 -44
  677. package/src/lib/components/kv-report/kv-report.module.ts +0 -18
  678. package/src/lib/components/kv-stepper/kv-stepper.component.html +0 -94
  679. package/src/lib/components/kv-stepper/kv-stepper.component.scss +0 -43
  680. package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +0 -23
  681. package/src/lib/components/kv-stepper/kv-stepper.component.ts +0 -73
  682. package/src/lib/components/kv-stepper/kv-stepper.module.ts +0 -27
  683. package/src/lib/components/kv-steps/kv-steps.component.html +0 -53
  684. package/src/lib/components/kv-steps/kv-steps.component.scss +0 -120
  685. package/src/lib/components/kv-steps/kv-steps.component.ts +0 -122
  686. package/src/lib/components/kv-table/kv-table.component.html +0 -655
  687. package/src/lib/components/kv-table/kv-table.component.spec.ts +0 -28
  688. package/src/lib/components/kv-table/kv-table.component.ts +0 -792
  689. package/src/lib/components/kv-table/kv-table.module.ts +0 -25
  690. package/src/lib/components/kv-table-edit/kv-table-edit.component.html +0 -913
  691. package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +0 -829
  692. package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +0 -425
  693. package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +0 -31
  694. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +0 -634
  695. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +0 -387
  696. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +0 -546
  697. package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +0 -22
  698. package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.html +0 -25
  699. package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.scss +0 -0
  700. package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.spec.ts +0 -23
  701. package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.ts +0 -17
  702. package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.html +0 -20
  703. package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.scss +0 -0
  704. package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.spec.ts +0 -23
  705. package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.ts +0 -14
  706. package/src/lib/components/kv-table-viewer/kv-table-viewer.component.html +0 -164
  707. package/src/lib/components/kv-table-viewer/kv-table-viewer.component.scss +0 -80
  708. package/src/lib/components/kv-table-viewer/kv-table-viewer.component.spec.ts +0 -23
  709. package/src/lib/components/kv-table-viewer/kv-table-viewer.component.ts +0 -183
  710. package/src/lib/components/kv-tag/kv-tag.component.html +0 -3
  711. package/src/lib/components/kv-tag/kv-tag.component.scss +0 -65
  712. package/src/lib/components/kv-tag/kv-tag.component.spec.ts +0 -23
  713. package/src/lib/components/kv-tag/kv-tag.component.ts +0 -16
  714. package/src/lib/components/kv-tag/kv-tag.module.ts +0 -18
  715. package/src/lib/components/kv-tags/kv-tags.component.html +0 -19
  716. package/src/lib/components/kv-tags/kv-tags.component.scss +0 -28
  717. package/src/lib/components/kv-tags/kv-tags.component.ts +0 -64
  718. package/src/lib/components/kv-tags/kv-tags.module.ts +0 -18
  719. package/src/lib/components/kv-timeline/kv-timeline.component.html +0 -28
  720. package/src/lib/components/kv-timeline/kv-timeline.component.scss +0 -6
  721. package/src/lib/components/kv-timeline/kv-timeline.component.spec.ts +0 -23
  722. package/src/lib/components/kv-timeline/kv-timeline.component.ts +0 -77
  723. package/src/lib/components/kv-tree-table/kv-tree-table.component.html +0 -492
  724. package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +0 -187
  725. package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +0 -21
  726. package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +0 -355
  727. package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +0 -23
  728. package/src/lib/components/kv-tree-view/kv-tree-view.component.html +0 -16
  729. package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -19
  730. package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +0 -23
  731. package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +0 -73
  732. package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +0 -19
  733. package/src/lib/components/kv-widget-card/kv-widget-card.component.html +0 -71
  734. package/src/lib/components/kv-widget-card/kv-widget-card.component.scss +0 -27
  735. package/src/lib/components/kv-widget-card/kv-widget-card.component.spec.ts +0 -28
  736. package/src/lib/components/kv-widget-card/kv-widget-card.component.ts +0 -107
  737. package/src/lib/components/kv-widget-card/kv-widget-card.module.ts +0 -20
  738. package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.html +0 -22
  739. package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.scss +0 -36
  740. package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.spec.ts +0 -28
  741. package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.ts +0 -41
  742. package/src/lib/components/kv-workspace/kv-workspace.module.ts +0 -45
  743. package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.html +0 -20
  744. package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.scss +0 -0
  745. package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.spec.ts +0 -28
  746. package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.ts +0 -18
  747. package/src/lib/components/kv-workspace/master/kv-workspace-master.component.html +0 -35
  748. package/src/lib/components/kv-workspace/master/kv-workspace-master.component.scss +0 -29
  749. package/src/lib/components/kv-workspace/master/kv-workspace-master.component.spec.ts +0 -28
  750. package/src/lib/components/kv-workspace/master/kv-workspace-master.component.ts +0 -98
  751. package/src/lib/components/kv-workspace/workspace/kv-workspace.component.html +0 -63
  752. package/src/lib/components/kv-workspace/workspace/kv-workspace.component.scss +0 -62
  753. package/src/lib/components/kv-workspace/workspace/kv-workspace.component.ts +0 -91
  754. package/tsconfig.lib.json +0 -14
  755. package/tsconfig.lib.prod.json +0 -10
  756. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,185 @@
1
+ import { Component, computed, EventEmitter, input, Input, Output, signal } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../api/services/notification.service";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "primeng/skeleton";
6
+ import * as i4 from "../kv-file-viewer-novo/kv-file-viewer-novo.component";
7
+ import * as i5 from "ngx-loading";
8
+ import * as i6 from "../kv-button/kv-button.component";
9
+ export class KvContentViewerComponent {
10
+ constructor(notificationService) {
11
+ this.notificationService = notificationService;
12
+ // #region Signals
13
+ this.dataSource = input([]);
14
+ this.paginaInicial = signal(1);
15
+ this.arquivo = input(undefined);
16
+ this.arquivoPreview = signal(undefined);
17
+ this.nomeArquivo = signal('');
18
+ this.type = input(undefined);
19
+ this.blob = input('');
20
+ this.idarquivo = signal(undefined);
21
+ this.ekpContent = input(undefined);
22
+ this.totalItensCarregado = computed(() => this.dataSource()?.length || 0);
23
+ this.previewOn = false;
24
+ this.selectedItem = {};
25
+ this.totalRecords = 0;
26
+ this.isLoading = false;
27
+ this.displaySidebar = false;
28
+ this.isSelected = false;
29
+ this.visualizadorDocumentos = false;
30
+ this.indvisualizado = false;
31
+ this.btnTelaCheia = false;
32
+ this.isLoadingSkeleton = false;
33
+ this.borderCardNaoVisualizado = true;
34
+ this.contentForm = false;
35
+ this.contentViewer = false;
36
+ this.keyVisualizado = 'indvisualizado';
37
+ // #endregion
38
+ // #region Outputs
39
+ this.onScrollHandler = new EventEmitter();
40
+ this.onSelectFile = new EventEmitter();
41
+ this.onSave = new EventEmitter();
42
+ this.onCancel = new EventEmitter();
43
+ }
44
+ todayDate() {
45
+ const today = new Date();
46
+ return today.toLocaleDateString('pt-BR', { day: '2-digit', month: '2-digit', year: 'numeric' });
47
+ }
48
+ // #endregion
49
+ trackByFn(index, item) {
50
+ return item.idarquivo;
51
+ }
52
+ isVisualizado(option) {
53
+ return option[this.keyVisualizado] || false;
54
+ }
55
+ visualizarPreview(arquivo, buttonTemplate) {
56
+ if (buttonTemplate) {
57
+ this.contentViewer = true;
58
+ }
59
+ else {
60
+ arquivo[this.keyVisualizado] = true;
61
+ this.contentViewer = true;
62
+ this.arquivoPreview.set(arquivo);
63
+ }
64
+ this.onSelectFile.emit(arquivo);
65
+ }
66
+ OnSave() {
67
+ this.onSave.emit();
68
+ this.contentViewer = false;
69
+ this.arquivoPreview.set(undefined);
70
+ }
71
+ OnCancel() {
72
+ this.notificationService.question({
73
+ type: 'question',
74
+ message: 'Você fez alterações que não foram salvas. Tem certeza que deseja cancelar?',
75
+ accept: () => {
76
+ this.onCancel.emit();
77
+ this.contentViewer = false;
78
+ this.arquivoPreview.set(undefined);
79
+ },
80
+ });
81
+ }
82
+ alternarTelaCheia() {
83
+ const element = document.getElementById('fullscreenDiv');
84
+ const button = document.getElementById('fullscreenBtn');
85
+ // Verifica se os elementos existem
86
+ if (element && button) {
87
+ if (!document.fullscreenElement) {
88
+ // Expandir para tela cheia
89
+ if (element.requestFullscreen) {
90
+ element.requestFullscreen();
91
+ }
92
+ else if (element.mozRequestFullScreen) { // Para Firefox
93
+ element.mozRequestFullScreen();
94
+ }
95
+ else if (element.webkitRequestFullscreen) { // Para Chrome, Safari e Opera
96
+ element.webkitRequestFullscreen();
97
+ }
98
+ else if (element.msRequestFullscreen) { // Para IE/Edge
99
+ element.msRequestFullscreen();
100
+ }
101
+ button.textContent = 'close_fullscreen';
102
+ }
103
+ else {
104
+ // Sair da tela cheia
105
+ if (document.exitFullscreen) {
106
+ document.exitFullscreen();
107
+ }
108
+ else if (document.mozCancelFullScreen) { // Para Firefox
109
+ document.mozCancelFullScreen();
110
+ }
111
+ else if (document.webkitExitFullscreen) { // Para Chrome, Safari e Opera
112
+ document.webkitExitFullscreen();
113
+ }
114
+ else if (document.msExitFullscreen) { // Para IE/Edge
115
+ document.msExitFullscreen();
116
+ }
117
+ button.textContent = 'open_in_full';
118
+ }
119
+ }
120
+ }
121
+ ngOnInit() {
122
+ document.addEventListener('fullscreenchange', () => {
123
+ const button = document.getElementById('fullscreenBtn');
124
+ if (button) {
125
+ if (!document.fullscreenElement) {
126
+ button.textContent = 'open_in_full';
127
+ }
128
+ else {
129
+ button.textContent = 'close_fullscreen';
130
+ }
131
+ }
132
+ });
133
+ }
134
+ scrollHandler($event) {
135
+ const element = $event.target;
136
+ //se o escroll chegar até o final
137
+ if (element.scrollHeight - element.scrollTop === element.clientHeight) {
138
+ // this.buscarProximosDocumentos();
139
+ this.onScrollHandler.emit($event);
140
+ }
141
+ }
142
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerComponent, deps: [{ token: i1.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
143
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvContentViewerComponent, selector: "kv-content-viewer", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: false, transformFunction: null }, arquivo: { classPropertyName: "arquivo", publicName: "arquivo", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, blob: { classPropertyName: "blob", publicName: "blob", isSignal: true, isRequired: false, transformFunction: null }, ekpContent: { classPropertyName: "ekpContent", publicName: "ekpContent", isSignal: true, isRequired: false, transformFunction: null }, extencaoDocumento: { classPropertyName: "extencaoDocumento", publicName: "extencaoDocumento", isSignal: false, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: false, isRequired: false, transformFunction: null }, visualizadorDocumentos: { classPropertyName: "visualizadorDocumentos", publicName: "visualizadorDocumentos", isSignal: false, isRequired: false, transformFunction: null }, cardTemplate: { classPropertyName: "cardTemplate", publicName: "cardTemplate", isSignal: false, isRequired: false, transformFunction: null }, contentTemplate: { classPropertyName: "contentTemplate", publicName: "contentTemplate", isSignal: false, isRequired: false, transformFunction: null }, noDocumentSelectedTemplate: { classPropertyName: "noDocumentSelectedTemplate", publicName: "noDocumentSelectedTemplate", isSignal: false, isRequired: false, transformFunction: null }, noDocumentListTemplate: { classPropertyName: "noDocumentListTemplate", publicName: "noDocumentListTemplate", isSignal: false, isRequired: false, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: false, isRequired: false, transformFunction: null }, listBottomTemplate: { classPropertyName: "listBottomTemplate", publicName: "listBottomTemplate", isSignal: false, isRequired: false, transformFunction: null }, indvisualizado: { classPropertyName: "indvisualizado", publicName: "indvisualizado", isSignal: false, isRequired: false, transformFunction: null }, btnTelaCheia: { classPropertyName: "btnTelaCheia", publicName: "btnTelaCheia", isSignal: false, isRequired: false, transformFunction: null }, isLoadingSkeleton: { classPropertyName: "isLoadingSkeleton", publicName: "isLoadingSkeleton", isSignal: false, isRequired: false, transformFunction: null }, borderCardNaoVisualizado: { classPropertyName: "borderCardNaoVisualizado", publicName: "borderCardNaoVisualizado", isSignal: false, isRequired: false, transformFunction: null }, contentForm: { classPropertyName: "contentForm", publicName: "contentForm", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onScrollHandler: "onScrollHandler", onSelectFile: "onSelectFile", onSave: "onSave", onCancel: "onCancel" }, ngImport: i0, template: "<div\r\n class=\"flex flex-column md:flex-row gap-2 custom-max-height \"\r\n style=\"height: 100%\"\r\n>\r\n <!-- Lista de documentos -->\r\n <div\r\n class=\"card-perfil col-12 md:col-4 lg:col-3 flex flex-column justify-content-between\"\r\n (scroll)=\"scrollHandler($event)\"\r\n [ngClass]=\"{\r\n 'overflow-y-auto': dataSource().length > 0,\r\n 'overflow-y-hidden': dataSource().length === 0\r\n }\"\r\n style=\"position: relative; height: 100%; min-height: 15rem\"\r\n >\r\n <div *ngIf=\"dataSource().length > 0; else emptyDocumentList\" class=\"col-12\">\r\n <!-- Lista de cards -->\r\n <div\r\n *ngFor=\"let option of dataSource(); trackBy: trackByFn\"\r\n class=\"card-normal outline-none border-round-xl w-full p-2 m-1 grid p-fluid flex flex-row flex-nowrap align-items-center justify-content-center cursor-pointer\"\r\n (click)=\"visualizarPreview(option)\"\r\n [ngClass]=\"{\r\n 'card-naoVisualizado': !isVisualizado(option) && borderCardNaoVisualizado,\r\n 'card-selected': option === arquivoPreview(),\r\n 'card-normal': option !== arquivoPreview(),\r\n }\"\r\n >\r\n <div\r\n class=\"flex flex-grow-1 ml-2 flex-column gap-1 m-0 p-0 overflow-hidden text-overflow-ellipsis\"\r\n style=\"max-width: 100%\"\r\n >\r\n <ng-container *ngIf=\"cardTemplate; else defaultTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"cardTemplate; context: { $implicit: option }\"\r\n ></ng-container>\r\n </ng-container>\r\n </div>\r\n <ng-template #defaultTemplate>\r\n <div class=\"card-common-style default-card\">\r\n <h1 class=\"font-bold text-base p-0 m-0\">Bem-vindo!</h1>\r\n <p class=\"text-sm mt-2\">\r\n Kv-file-preview aguardando um template...\r\n </p>\r\n <p class=\"font-bold text-sm p-0 m-0\">Data: {{ todayDate() }}</p>\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <ng-template #emptyDocumentList>\r\n @if(isLoadingSkeleton){\r\n <p-skeleton \r\n *ngFor=\"let i of [1, 2, 3, 4, 5, 6, 7, 8, 9]\" \r\n height=\"5rem\" \r\n [style]=\"{ 'margin-bottom': '0.25rem', 'borderRadius': '0.75rem' }\"\r\n ></p-skeleton>\r\n } @if(!noDocumentListTemplate) {\r\n <div class=\"text-center text-gray-600 mt-4 m-3\" style=\"height: 100%\">\r\n <div class=\"flex align-items-center gap-1\">\r\n <span class=\"material-symbols-outlined\"> inbox </span>\r\n <p>Nenhum documento dispon\u00EDvel.</p>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"text-center mt-4 m-3\" style=\"height: 100%\">\r\n <ng-container *ngTemplateOutlet=\"noDocumentListTemplate\"></ng-container>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <!-- Contador de documentos - Fixo na parte inferior -->\r\n <div\r\n class=\"sticky-counter flex flex-column\r\n justify-content-center text-center px-2 p-2\"\r\n style=\"position: sticky; bottom: -10px; background-color: white; \"\r\n >\r\n <span>{{ totalItensCarregado() }} de {{ totalRecords }}</span>\r\n @if(listBottomTemplate) {\r\n <ng-container *ngTemplateOutlet=\"listBottomTemplate\"></ng-container>\r\n }\r\n </div>\r\n\r\n </div>\r\n\r\n <!-- Visualizador -->\r\n <div\r\n id=\"fullscreenDiv\"\r\n class=\"card-visualizador col-12 md:col-8 lg:col-9 flex-1\"\r\n style=\"position: relative; height: 100%\"\r\n [ngStyle]=\"{\r\n 'overflow-y': arquivoPreview() ? 'auto' : 'hidden'\r\n }\"\r\n >\r\n @if(btnTelaCheia && !buttonTemplate) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(!btnTelaCheia && buttonTemplate && !contentViewer) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n </div>\r\n } @if(btnTelaCheia && buttonTemplate) {\r\n <div class=\"grid\">\r\n @if(!contentViewer) {\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n }\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(visualizadorDocumentos) {\r\n <ng-container *ngIf=\"arquivo(); else noDocumentSelected\">\r\n @if(isLoading) {\r\n <ngx-loading\r\n [show]=\"isLoading\"\r\n [config]=\"{ backdropBorderRadius: '3px', fullScreenBackdrop: false }\"\r\n ></ngx-loading>\r\n }\r\n <kv-file-viewer-novo\r\n *ngIf=\"extencaoDocumento !== 'ekp'\"\r\n [arquivo]=\"arquivo()!\"\r\n [type]=\"type()!\"\r\n [blob]=\"blob()!\"\r\n [width]=\"'100%'\"\r\n [height]=\"'100%'\"\r\n class=\"file-viewer\"\r\n style=\"max-height: 100%\"\r\n >\r\n </kv-file-viewer-novo>\r\n\r\n <div\r\n id=\"html-content\"\r\n [innerHTML]=\"ekpContent()\"\r\n *ngIf=\"extencaoDocumento === 'ekp'\"\r\n class=\"ekp-content\"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></div>\r\n </ng-container>\r\n } @else {\r\n <div class=\"flex flex-column\" style=\"height: 92%;\" >\r\n <ng-container\r\n *ngIf=\"arquivoPreview() || contentViewer; else noDocumentSelected\"\r\n >\r\n <div style=\"flex: 1;\">\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n contentTemplate;\r\n context: { $implicit: arquivoPreview() }\r\n \"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></ng-container>\r\n </div>\r\n @if(contentForm) {\r\n <div class=\"grid\" style=\"position: sticky; bottom: 0; background-color: white; z-index: 10; padding: 1rem 1rem 0 1rem;\">\r\n <div class=\"col-8\">\r\n <span class=\"text-sm\">\r\n <span class=\"font-bold\">*</span> Campos obrigat\u00F3rios\r\n </span>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Cancelar\"\r\n icon=\"close\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"tertiary\"\r\n (onClick)=\"OnCancel()\"\r\n >\r\n </kv-button>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Salvar\"\r\n icon=\"save\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"primary\"\r\n (onClick)=\"OnSave()\"\r\n >\r\n </kv-button>\r\n </div>\r\n </div>\r\n }\r\n </ng-container>\r\n </div> \r\n }\r\n <ng-template #noDocumentSelected>\r\n @if(!noDocumentSelectedTemplate) {\r\n <div\r\n class=\"no-document-message flex flex-column align-items-center justify-content-center\"\r\n style=\"height: 100%; overflow-y: auto\"\r\n >\r\n <p class=\"text-center text-gray-500\">\r\n Selecione um arquivo para visualiza\u00E7\u00E3o\r\n </p>\r\n <img\r\n [src]=\"\r\n 'https://work-assets.keevo.com.br/img/Digital_personal_files-pana_3.png'\r\n \"\r\n style=\"max-height: 50%; margin-top: 2rem\"\r\n alt=\"\"\r\n />\r\n </div>\r\n } @else {\r\n <ng-container\r\n *ngTemplateOutlet=\"noDocumentSelectedTemplate\"\r\n ></ng-container>\r\n }\r\n </ng-template>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.farol-statuspublicacao{margin-right:.5rem;width:.35rem;border-radius:1rem;-webkit-border-radius:1rem;-moz-border-radius:1rem;-ms-border-radius:1rem;-o-border-radius:1rem}:host ::ng-deep .p-sidebar{border-radius:5px;position:absolute;height:var(--sidebar-height)}:host ::ng-deep .p-sidebar .p-sidebar-content{overflow:auto;border:1px solid #e5e7eb;border-radius:5px;margin-top:1rem}.card-perfil,.card-visualizador{border:1.5px solid #CBD5E1;background:#fff;border-radius:6px;max-height:100%}@media (max-width: 768px){.card-perfil{max-height:20rem;overflow-y:auto}}@media (max-width: 768px){.card-visualizador{max-height:100%;overflow-y:auto}}:host ::ng-deep .p-fieldset .p-fieldset-content{padding-bottom:0}:host ::ng-deep .p-sidebar .p-sidebar-close{display:none}.card-normal{border:1.5px solid #CBD5E1}.card-naoVisualizado{border-left:4px solid #e6671f}.parent-container{height:100%;display:flex;flex-direction:column}.file-viewer{margin:auto}.ekp-content{min-height:20rem;padding:1rem;overflow-y:auto;border-radius:5px}ngx-loading{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000}.card{transition:all .3s ease;border:1px solid transparent}.card-normal:hover{border:1px solid #a9a9a9;box-shadow:0 4px 8px #0000001a}.card-selected{background-color:#f0f0f0;border:1px solid #c0c0c0;box-shadow:0 6px 12px #00000026;transform:scale(1.02)}.loading-spinner{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem;color:#666}#html-content{width:100%;height:100%;overflow-y:auto}:host ::ng-deep .list-card-button .kv-button{width:22px;height:22px}:host ::ng-deep .list-card-button .kv-button .material-symbols-outlined.only-icon.icon-normal[_ngcontent-ng-c4083184952]{font-size:1rem}.custom-max-height{height:100%}@media (max-height: 768px){.custom-max-height{height:auto;min-height:100vh}}.download-icon{font-size:20px;cursor:pointer;transition:transform .3s ease,color .3s ease}.download-icon:hover{color:#0f6cbd;transform:scale(1.2)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "style", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i4.KvFileViewerNovoComponent, selector: "kv-file-viewer-novo", inputs: ["arquivo", "type", "blob", "width", "height"] }, { kind: "component", type: i5.NgxLoadingComponent, selector: "ngx-loading", inputs: ["show", "config", "template"] }, { kind: "component", type: i6.KvButtonComponent, selector: "kv-button", inputs: ["fullWidth", "type", "loading", "severity", "size", "icon", "iconPosition", "label", "disabled", "items", "popup"], outputs: ["iconChange", "onClick"] }] }); }
144
+ }
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerComponent, decorators: [{
146
+ type: Component,
147
+ args: [{ selector: 'kv-content-viewer', template: "<div\r\n class=\"flex flex-column md:flex-row gap-2 custom-max-height \"\r\n style=\"height: 100%\"\r\n>\r\n <!-- Lista de documentos -->\r\n <div\r\n class=\"card-perfil col-12 md:col-4 lg:col-3 flex flex-column justify-content-between\"\r\n (scroll)=\"scrollHandler($event)\"\r\n [ngClass]=\"{\r\n 'overflow-y-auto': dataSource().length > 0,\r\n 'overflow-y-hidden': dataSource().length === 0\r\n }\"\r\n style=\"position: relative; height: 100%; min-height: 15rem\"\r\n >\r\n <div *ngIf=\"dataSource().length > 0; else emptyDocumentList\" class=\"col-12\">\r\n <!-- Lista de cards -->\r\n <div\r\n *ngFor=\"let option of dataSource(); trackBy: trackByFn\"\r\n class=\"card-normal outline-none border-round-xl w-full p-2 m-1 grid p-fluid flex flex-row flex-nowrap align-items-center justify-content-center cursor-pointer\"\r\n (click)=\"visualizarPreview(option)\"\r\n [ngClass]=\"{\r\n 'card-naoVisualizado': !isVisualizado(option) && borderCardNaoVisualizado,\r\n 'card-selected': option === arquivoPreview(),\r\n 'card-normal': option !== arquivoPreview(),\r\n }\"\r\n >\r\n <div\r\n class=\"flex flex-grow-1 ml-2 flex-column gap-1 m-0 p-0 overflow-hidden text-overflow-ellipsis\"\r\n style=\"max-width: 100%\"\r\n >\r\n <ng-container *ngIf=\"cardTemplate; else defaultTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"cardTemplate; context: { $implicit: option }\"\r\n ></ng-container>\r\n </ng-container>\r\n </div>\r\n <ng-template #defaultTemplate>\r\n <div class=\"card-common-style default-card\">\r\n <h1 class=\"font-bold text-base p-0 m-0\">Bem-vindo!</h1>\r\n <p class=\"text-sm mt-2\">\r\n Kv-file-preview aguardando um template...\r\n </p>\r\n <p class=\"font-bold text-sm p-0 m-0\">Data: {{ todayDate() }}</p>\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <ng-template #emptyDocumentList>\r\n @if(isLoadingSkeleton){\r\n <p-skeleton \r\n *ngFor=\"let i of [1, 2, 3, 4, 5, 6, 7, 8, 9]\" \r\n height=\"5rem\" \r\n [style]=\"{ 'margin-bottom': '0.25rem', 'borderRadius': '0.75rem' }\"\r\n ></p-skeleton>\r\n } @if(!noDocumentListTemplate) {\r\n <div class=\"text-center text-gray-600 mt-4 m-3\" style=\"height: 100%\">\r\n <div class=\"flex align-items-center gap-1\">\r\n <span class=\"material-symbols-outlined\"> inbox </span>\r\n <p>Nenhum documento dispon\u00EDvel.</p>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"text-center mt-4 m-3\" style=\"height: 100%\">\r\n <ng-container *ngTemplateOutlet=\"noDocumentListTemplate\"></ng-container>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <!-- Contador de documentos - Fixo na parte inferior -->\r\n <div\r\n class=\"sticky-counter flex flex-column\r\n justify-content-center text-center px-2 p-2\"\r\n style=\"position: sticky; bottom: -10px; background-color: white; \"\r\n >\r\n <span>{{ totalItensCarregado() }} de {{ totalRecords }}</span>\r\n @if(listBottomTemplate) {\r\n <ng-container *ngTemplateOutlet=\"listBottomTemplate\"></ng-container>\r\n }\r\n </div>\r\n\r\n </div>\r\n\r\n <!-- Visualizador -->\r\n <div\r\n id=\"fullscreenDiv\"\r\n class=\"card-visualizador col-12 md:col-8 lg:col-9 flex-1\"\r\n style=\"position: relative; height: 100%\"\r\n [ngStyle]=\"{\r\n 'overflow-y': arquivoPreview() ? 'auto' : 'hidden'\r\n }\"\r\n >\r\n @if(btnTelaCheia && !buttonTemplate) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(!btnTelaCheia && buttonTemplate && !contentViewer) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n </div>\r\n } @if(btnTelaCheia && buttonTemplate) {\r\n <div class=\"grid\">\r\n @if(!contentViewer) {\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n }\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(visualizadorDocumentos) {\r\n <ng-container *ngIf=\"arquivo(); else noDocumentSelected\">\r\n @if(isLoading) {\r\n <ngx-loading\r\n [show]=\"isLoading\"\r\n [config]=\"{ backdropBorderRadius: '3px', fullScreenBackdrop: false }\"\r\n ></ngx-loading>\r\n }\r\n <kv-file-viewer-novo\r\n *ngIf=\"extencaoDocumento !== 'ekp'\"\r\n [arquivo]=\"arquivo()!\"\r\n [type]=\"type()!\"\r\n [blob]=\"blob()!\"\r\n [width]=\"'100%'\"\r\n [height]=\"'100%'\"\r\n class=\"file-viewer\"\r\n style=\"max-height: 100%\"\r\n >\r\n </kv-file-viewer-novo>\r\n\r\n <div\r\n id=\"html-content\"\r\n [innerHTML]=\"ekpContent()\"\r\n *ngIf=\"extencaoDocumento === 'ekp'\"\r\n class=\"ekp-content\"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></div>\r\n </ng-container>\r\n } @else {\r\n <div class=\"flex flex-column\" style=\"height: 92%;\" >\r\n <ng-container\r\n *ngIf=\"arquivoPreview() || contentViewer; else noDocumentSelected\"\r\n >\r\n <div style=\"flex: 1;\">\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n contentTemplate;\r\n context: { $implicit: arquivoPreview() }\r\n \"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></ng-container>\r\n </div>\r\n @if(contentForm) {\r\n <div class=\"grid\" style=\"position: sticky; bottom: 0; background-color: white; z-index: 10; padding: 1rem 1rem 0 1rem;\">\r\n <div class=\"col-8\">\r\n <span class=\"text-sm\">\r\n <span class=\"font-bold\">*</span> Campos obrigat\u00F3rios\r\n </span>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Cancelar\"\r\n icon=\"close\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"tertiary\"\r\n (onClick)=\"OnCancel()\"\r\n >\r\n </kv-button>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Salvar\"\r\n icon=\"save\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"primary\"\r\n (onClick)=\"OnSave()\"\r\n >\r\n </kv-button>\r\n </div>\r\n </div>\r\n }\r\n </ng-container>\r\n </div> \r\n }\r\n <ng-template #noDocumentSelected>\r\n @if(!noDocumentSelectedTemplate) {\r\n <div\r\n class=\"no-document-message flex flex-column align-items-center justify-content-center\"\r\n style=\"height: 100%; overflow-y: auto\"\r\n >\r\n <p class=\"text-center text-gray-500\">\r\n Selecione um arquivo para visualiza\u00E7\u00E3o\r\n </p>\r\n <img\r\n [src]=\"\r\n 'https://work-assets.keevo.com.br/img/Digital_personal_files-pana_3.png'\r\n \"\r\n style=\"max-height: 50%; margin-top: 2rem\"\r\n alt=\"\"\r\n />\r\n </div>\r\n } @else {\r\n <ng-container\r\n *ngTemplateOutlet=\"noDocumentSelectedTemplate\"\r\n ></ng-container>\r\n }\r\n </ng-template>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.farol-statuspublicacao{margin-right:.5rem;width:.35rem;border-radius:1rem;-webkit-border-radius:1rem;-moz-border-radius:1rem;-ms-border-radius:1rem;-o-border-radius:1rem}:host ::ng-deep .p-sidebar{border-radius:5px;position:absolute;height:var(--sidebar-height)}:host ::ng-deep .p-sidebar .p-sidebar-content{overflow:auto;border:1px solid #e5e7eb;border-radius:5px;margin-top:1rem}.card-perfil,.card-visualizador{border:1.5px solid #CBD5E1;background:#fff;border-radius:6px;max-height:100%}@media (max-width: 768px){.card-perfil{max-height:20rem;overflow-y:auto}}@media (max-width: 768px){.card-visualizador{max-height:100%;overflow-y:auto}}:host ::ng-deep .p-fieldset .p-fieldset-content{padding-bottom:0}:host ::ng-deep .p-sidebar .p-sidebar-close{display:none}.card-normal{border:1.5px solid #CBD5E1}.card-naoVisualizado{border-left:4px solid #e6671f}.parent-container{height:100%;display:flex;flex-direction:column}.file-viewer{margin:auto}.ekp-content{min-height:20rem;padding:1rem;overflow-y:auto;border-radius:5px}ngx-loading{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000}.card{transition:all .3s ease;border:1px solid transparent}.card-normal:hover{border:1px solid #a9a9a9;box-shadow:0 4px 8px #0000001a}.card-selected{background-color:#f0f0f0;border:1px solid #c0c0c0;box-shadow:0 6px 12px #00000026;transform:scale(1.02)}.loading-spinner{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem;color:#666}#html-content{width:100%;height:100%;overflow-y:auto}:host ::ng-deep .list-card-button .kv-button{width:22px;height:22px}:host ::ng-deep .list-card-button .kv-button .material-symbols-outlined.only-icon.icon-normal[_ngcontent-ng-c4083184952]{font-size:1rem}.custom-max-height{height:100%}@media (max-height: 768px){.custom-max-height{height:auto;min-height:100vh}}.download-icon{font-size:20px;cursor:pointer;transition:transform .3s ease,color .3s ease}.download-icon:hover{color:#0f6cbd;transform:scale(1.2)}\n"] }]
148
+ }], ctorParameters: () => [{ type: i1.NotificationService }], propDecorators: { extencaoDocumento: [{
149
+ type: Input
150
+ }], totalRecords: [{
151
+ type: Input
152
+ }], visualizadorDocumentos: [{
153
+ type: Input
154
+ }], cardTemplate: [{
155
+ type: Input
156
+ }], contentTemplate: [{
157
+ type: Input
158
+ }], noDocumentSelectedTemplate: [{
159
+ type: Input
160
+ }], noDocumentListTemplate: [{
161
+ type: Input
162
+ }], buttonTemplate: [{
163
+ type: Input
164
+ }], listBottomTemplate: [{
165
+ type: Input
166
+ }], indvisualizado: [{
167
+ type: Input
168
+ }], btnTelaCheia: [{
169
+ type: Input
170
+ }], isLoadingSkeleton: [{
171
+ type: Input
172
+ }], borderCardNaoVisualizado: [{
173
+ type: Input
174
+ }], contentForm: [{
175
+ type: Input
176
+ }], onScrollHandler: [{
177
+ type: Output
178
+ }], onSelectFile: [{
179
+ type: Output
180
+ }], onSave: [{
181
+ type: Output
182
+ }], onCancel: [{
183
+ type: Output
184
+ }] } });
185
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQWUsTUFBTSxFQUFFLE1BQU0sRUFBZSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7QUFTMUgsTUFBTSxPQUFPLHdCQUF3QjtJQTRDaEMsWUFDUyxtQkFBd0M7UUFBeEMsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtRQXpDcEQsa0JBQWtCO1FBQ25CLGVBQVUsR0FBdUIsS0FBSyxDQUFRLEVBQUUsQ0FBQyxDQUFDO1FBQ2xELGtCQUFhLEdBQUcsTUFBTSxDQUFTLENBQUMsQ0FBQyxDQUFDO1FBQ2xDLFlBQU8sR0FBRyxLQUFLLENBQXFCLFNBQVMsQ0FBQyxDQUFDO1FBQy9DLG1CQUFjLEdBQUcsTUFBTSxDQUFNLFNBQVMsQ0FBQyxDQUFDO1FBQ3hDLGdCQUFXLEdB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uZ1RlbXBsYXRlT3V0bGV0PVwiXHJcbiAgICAgICAgICAgIGNvbnRlbnRUZW1wbGF0ZTtcclxuICAgICAgICAgICAgY29udGV4dDogeyAkaW1wbGljaXQ6IGFycXVpdm9QcmV2aWV3KCkgfVxyXG4gICAgICAgICAgXCJcclxuICAgICAgICAgIHN0eWxlPVwib3ZlcmZsb3cteTogYXV0bzsgbWF4LWhlaWdodDogMTAwJVwiXHJcbiAgICAgICAgPjwvbmctY29udGFpbmVyPlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgICBAaWYoY29udGVudEZvcm0pIHtcclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJncmlkXCIgc3R5bGU9XCJwb3NpdGlvbjogc3RpY2t5OyBib3R0b206IDA7IGJhY2tncm91bmQtY29sb3I6IHdoaXRlOyB6LWluZGV4OiAxMDsgcGFkZGluZzogMXJlbSAxcmVtIDAgMXJlbTtcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC04XCI+XHJcbiAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0ZXh0LXNtXCI+XHJcbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImZvbnQtYm9sZFwiPio8L3NwYW4+IENhbXBvcyBvYnJpZ2F0w7NyaW9zXHJcbiAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC0yXCI+XHJcbiAgICAgICAgICAgICAgPGt2LWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgbGFiZWw9XCJDYW5jZWxhclwiXHJcbiAgICAgICAgICAgICAgICBpY29uPVwiY2xvc2VcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGwgbWQ6dy1hdXRvXCJcclxuICAgICAgICAgICAgICAgIHNldmVyaXR5PVwidGVydGlhcnlcIlxyXG4gICAgICAgICAgICAgICAgKG9uQ2xpY2spPVwiT25DYW5jZWwoKVwiXHJcbiAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDwva3YtYnV0dG9uPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC0yXCI+XHJcbiAgICAgICAgICAgICAgPGt2LWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgbGFiZWw9XCJTYWx2YXJcIlxyXG4gICAgICAgICAgICAgICAgaWNvbj1cInNhdmVcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGwgbWQ6dy1hdXRvXCJcclxuICAgICAgICAgICAgICAgIHNldmVyaXR5PVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAob25DbGljayk9XCJPblNhdmUoKVwiXHJcbiAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDwva3YtYnV0dG9uPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIH1cclxuICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8L2Rpdj4gXHJcbiAgICB9XHJcbiAgICA8bmctdGVtcGxhdGUgI25vRG9jdW1lbnRTZWxlY3RlZD5cclxuICAgICAgQGlmKCFub0RvY3VtZW50U2VsZWN0ZWRUZW1wbGF0ZSkge1xyXG4gICAgICA8ZGl2XHJcbiAgICAgICAgY2xhc3M9XCJuby1kb2N1bWVudC1tZXNzYWdlIGZsZXggZmxleC1jb2x1bW4gYWxpZ24taXRlbXMtY2VudGVyIGp1c3RpZnktY29udGVudC1jZW50ZXJcIlxyXG4gICAgICAgIHN0eWxlPVwiaGVpZ2h0OiAxMDAlOyBvdmVyZmxvdy15OiBhdXRvXCJcclxuICAgICAgPlxyXG4gICAgICAgIDxwIGNsYXNzPVwidGV4dC1jZW50ZXIgdGV4dC1ncmF5LTUwMFwiPlxyXG4gICAgICAgICAgU2VsZWNpb25lIHVtIGFycXVpdm8gcGFyYSB2aXN1YWxpemHDp8Ojb1xyXG4gICAgICAgIDwvcD5cclxuICAgICAgICA8aW1nXHJcbiAgICAgICAgICBbc3JjXT1cIlxyXG4gICAgICAgICAgICAnaHR0cHM6Ly93b3JrLWFzc2V0cy5rZWV2by5jb20uYnIvaW1nL0RpZ2l0YWxfcGVyc29uYWxfZmlsZXMtcGFuYV8zLnBuZydcclxuICAgICAgICAgIFwiXHJcbiAgICAgICAgICBzdHlsZT1cIm1heC1oZWlnaHQ6IDUwJTsgbWFyZ2luLXRvcDogMnJlbVwiXHJcbiAgICAgICAgICBhbHQ9XCJcIlxyXG4gICAgICAgIC8+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgICB9IEBlbHNlIHtcclxuICAgICAgPG5nLWNvbnRhaW5lclxyXG4gICAgICAgICpuZ1RlbXBsYXRlT3V0bGV0PVwibm9Eb2N1bWVudFNlbGVjdGVkVGVtcGxhdGVcIlxyXG4gICAgICA+PC9uZy1jb250YWluZXI+XHJcbiAgICAgIH1cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -0,0 +1,44 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { PdfViewerModule } from 'ng2-pdf-viewer';
4
+ import { KvContentViewerComponent } from './kv-content-viewer.component';
5
+ import { KvFileViewerNovoModule } from '../kv-file-viewer-novo/kv-file-viewer-novo.module';
6
+ import { NgxLoadingModule } from 'ngx-loading';
7
+ import { PrimeNgModule } from '../../api/modules/primeng.module';
8
+ import { KvButtonModule } from '../kv-button/kv-button.module';
9
+ import { KvButtonsModule } from '../kv-buttons/kv-button.module';
10
+ import * as i0 from "@angular/core";
11
+ export class KvContentViewerModule {
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, declarations: [KvContentViewerComponent], imports: [CommonModule,
14
+ PdfViewerModule,
15
+ PrimeNgModule,
16
+ KvFileViewerNovoModule,
17
+ NgxLoadingModule,
18
+ KvButtonModule,
19
+ KvButtonsModule], exports: [KvContentViewerComponent] }); }
20
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, imports: [CommonModule,
21
+ PdfViewerModule,
22
+ PrimeNgModule,
23
+ KvFileViewerNovoModule,
24
+ NgxLoadingModule,
25
+ KvButtonModule,
26
+ KvButtonsModule] }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, decorators: [{
29
+ type: NgModule,
30
+ args: [{
31
+ declarations: [KvContentViewerComponent],
32
+ imports: [
33
+ CommonModule,
34
+ PdfViewerModule,
35
+ PrimeNgModule,
36
+ KvFileViewerNovoModule,
37
+ NgxLoadingModule,
38
+ KvButtonModule,
39
+ KvButtonsModule
40
+ ],
41
+ exports: [KvContentViewerComponent]
42
+ }]
43
+ }] });
44
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29udGVudC12aWV3ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQU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XR0b25Nb2R1bGUsXHJcbiAgICBLdkJ1dHRvbnNNb2R1bGVcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtLdkNvbnRlbnRWaWV3ZXJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBLdkNvbnRlbnRWaWV3ZXJNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -0,0 +1,26 @@
1
+ import { Component, EventEmitter, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class KvErrorComponent {
5
+ set setHasError(value) {
6
+ this.hasError = value;
7
+ this.emitError.emit(value);
8
+ }
9
+ ;
10
+ constructor() {
11
+ this.hasError = false;
12
+ this.emitError = new EventEmitter();
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvErrorComponent, selector: "kv-error", inputs: { formControl: "formControl", setHasError: ["hasError", "setHasError"] }, ngImport: i0, template: "<small id=\"error-message\" class=\"p-error block\" style=\"height: 0px !important;\" >\r\n <ng-content *ngIf=\"hasError\"></ng-content>\r\n</small>\r\n", styles: ["#error-message{left:1px;font-size:.625rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvErrorComponent, decorators: [{
18
+ type: Component,
19
+ args: [{ selector: 'kv-error', template: "<small id=\"error-message\" class=\"p-error block\" style=\"height: 0px !important;\" >\r\n <ng-content *ngIf=\"hasError\"></ng-content>\r\n</small>\r\n", styles: ["#error-message{left:1px;font-size:.625rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important}\n"] }]
20
+ }], ctorParameters: () => [], propDecorators: { formControl: [{
21
+ type: Input
22
+ }], setHasError: [{
23
+ type: Input,
24
+ args: ['hasError']
25
+ }] } });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtZXJyb3Iva3YtZXJyb3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtZXJyb3Iva3YtZXJyb3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNOLE1BQU0sZUFBZSxDQUFDOzs7QUFTdkIsTUFBTSxPQUFPLGdCQUFnQjtJQUszQixJQUF1QixXQUFXLENBQUMsS0FBMEI7UUFDM0QsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7UUFDdEIsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDN0IsQ0FBQztJQUFBLENBQUM7SUFJRjtRQVhPLGFBQVEsR0FBd0IsS0FBSyxDQUFDO1FBUzdDLGNBQVMsR0FBMEIsSUFBSSxZQUFZLEVBQVcsQ0FBQztJQUUvQyxDQUFDOzhHQVpOLGdCQUFnQjtrR0FBaEIsZ0JBQWdCLGtJQ2I3QiwySkFHQTs7MkZEVWEsZ0JBQWdCO2tCQUw1QixTQUFTOytCQUNFLFVBQVU7d0RBT1gsV0FBVztzQkFBbkIsS0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CIgPlxyXG4gIDxuZy1jb250ZW50ICpuZ0lmPVwiaGFzRXJyb3JcIj48L25nLWNvbnRlbnQ+XHJcbjwvc21hbGw+XHJcbiJdfQ==
@@ -0,0 +1,35 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
+ import { KvErrorComponent } from './kv-error.component';
5
+ import { PrimeNgModule } from '../../api/modules/primeng.module';
6
+ import * as i0 from "@angular/core";
7
+ export class kvErrorModule {
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, declarations: [KvErrorComponent], imports: [CommonModule,
10
+ FormsModule,
11
+ PrimeNgModule,
12
+ ReactiveFormsModule], exports: [KvErrorComponent] }); }
13
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, imports: [CommonModule,
14
+ FormsModule,
15
+ PrimeNgModule,
16
+ ReactiveFormsModule] }); }
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, decorators: [{
19
+ type: NgModule,
20
+ args: [{
21
+ declarations: [
22
+ KvErrorComponent,
23
+ ],
24
+ imports: [
25
+ CommonModule,
26
+ FormsModule,
27
+ PrimeNgModule,
28
+ ReactiveFormsModule,
29
+ ],
30
+ exports: [
31
+ KvErrorComponent,
32
+ ]
33
+ }]
34
+ }] });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtZXJyb3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4v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