keevo-components 1.8.191 → 1.8.192

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) 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 +92 -0
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -0
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +79 -0
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -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 +187 -0
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +98 -0
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -0
  11. package/esm2022/lib/api/base-components/base-component-table.mjs +320 -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/orchart.item.mjs +2 -0
  17. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
  18. package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
  19. package/esm2022/lib/api/components/table/action-item.mjs +2 -0
  20. package/esm2022/lib/api/components/table/kv-menuitem.mjs +46 -0
  21. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
  22. package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
  23. package/esm2022/lib/api/components/table/table.config.mjs +2 -0
  24. package/esm2022/lib/api/components/table/table.paginate.mjs +9 -0
  25. package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
  26. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
  27. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +3 -0
  28. package/esm2022/lib/api/directives/directives.module.mjs +30 -0
  29. package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
  30. package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
  31. package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
  32. package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
  33. package/esm2022/lib/api/helpers/keevo-validators.mjs +82 -0
  34. package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
  35. package/esm2022/lib/api/modules/primeng.module.mjs +271 -0
  36. package/esm2022/lib/api/pipes/capitalize.pipe.mjs +28 -0
  37. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
  38. package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
  39. package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
  40. package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
  41. package/esm2022/lib/api/services/base.api.service.mjs +74 -0
  42. package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -0
  43. package/esm2022/lib/api/services/component.service.mjs +27 -0
  44. package/esm2022/lib/api/services/docs.service.mjs +129 -0
  45. package/esm2022/lib/api/services/form.service.mjs +92 -0
  46. package/esm2022/lib/api/services/imagens.service.mjs +28 -0
  47. package/esm2022/lib/api/services/notification.service.mjs +67 -0
  48. package/esm2022/lib/api/services/object.service.mjs +39 -0
  49. package/esm2022/lib/api/types/severity.mjs +2 -0
  50. package/esm2022/lib/components/keevo-components.module.mjs +186 -0
  51. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -0
  52. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -0
  53. package/esm2022/lib/components/kv-button/kv-button.component.mjs +35 -0
  54. package/esm2022/lib/components/kv-button/kv-button.module.mjs +28 -0
  55. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +25 -0
  56. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +34 -0
  57. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
  58. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
  59. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
  60. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +32 -0
  61. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
  62. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -0
  63. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
  64. package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
  65. package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
  66. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +34 -0
  67. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
  68. package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +26 -0
  69. package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +34 -0
  70. package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +11 -0
  71. package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +19 -0
  72. package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +83 -0
  73. package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +18 -0
  74. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +29 -0
  75. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +38 -0
  76. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +92 -0
  77. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -0
  78. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -0
  79. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
  80. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
  81. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +25 -0
  82. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -0
  83. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
  84. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
  85. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +122 -0
  86. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -0
  87. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +54 -0
  88. package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +46 -0
  89. package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +31 -0
  90. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +41 -0
  91. package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
  92. package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
  93. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -0
  94. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
  95. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
  96. package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -0
  97. package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
  98. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +198 -0
  99. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -0
  100. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +98 -0
  101. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -0
  102. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -0
  103. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -0
  104. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +191 -0
  105. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -0
  106. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +207 -0
  107. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +47 -0
  108. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +78 -0
  109. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -0
  110. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
  111. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
  112. package/esm2022/lib/components/kv-report/kv-report.component.mjs +53 -0
  113. package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
  114. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +55 -0
  115. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +32 -0
  116. package/esm2022/lib/components/kv-table/kv-table.component.mjs +511 -0
  117. package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -0
  118. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +288 -0
  119. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +41 -0
  120. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +483 -0
  121. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +36 -0
  122. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +279 -0
  123. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -0
  124. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -0
  125. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
  126. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +167 -0
  127. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -0
  128. package/esm2022/public-api.mjs +220 -0
  129. package/fesm2022/keevo-components.mjs +7417 -0
  130. package/fesm2022/keevo-components.mjs.map +1 -0
  131. package/index.d.ts +5 -0
  132. package/lib/api/base-components/base-component-button.d.ts +15 -0
  133. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  134. package/lib/api/base-components/base-component-crud-form.d.ts +145 -0
  135. package/lib/api/base-components/base-component-crud-list.d.ts +64 -0
  136. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  137. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
  138. package/lib/api/base-components/base-component-dropdown.d.ts +47 -0
  139. package/lib/api/base-components/base-component-input.d.ts +32 -0
  140. package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
  141. package/lib/api/base-components/base-component-table.d.ts +85 -0
  142. package/lib/api/base-components/base-component.d.ts +22 -0
  143. package/lib/api/components/chart/chart.config.d.ts +11 -0
  144. package/lib/api/components/chart/chart.model.d.ts +9 -0
  145. package/lib/api/components/chart/orchart.config.d.ts +35 -0
  146. package/lib/api/components/chart/orchart.item.d.ts +26 -0
  147. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  148. package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
  149. package/lib/api/components/table/action-item.d.ts +11 -0
  150. package/lib/api/components/table/kv-menuitem.d.ts +152 -0
  151. package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
  152. package/lib/api/components/table/table.config.column.d.ts +28 -0
  153. package/lib/api/components/table/table.config.d.ts +32 -0
  154. package/lib/api/components/table/table.paginate.d.ts +6 -0
  155. package/lib/api/components/table/tabledit.config.d.ts +8 -0
  156. package/lib/api/components/table/tableedit.config.column.d.ts +10 -0
  157. package/lib/api/components/tree-table/tree-table.config.d.ts +28 -0
  158. package/lib/api/directives/directives.module.d.ts +9 -0
  159. package/lib/api/directives/drag/drag.directive.d.ts +11 -0
  160. package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
  161. package/lib/api/directives/template/template.directive.d.ts +11 -0
  162. package/lib/api/helpers/component-providers.d.ts +2 -0
  163. package/lib/api/helpers/keevo-validators.d.ts +12 -0
  164. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  165. package/lib/api/modules/primeng.module.d.ts +66 -0
  166. package/lib/api/pipes/capitalize.pipe.d.ts +8 -0
  167. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
  168. package/lib/api/pipes/mask.pipe.d.ts +7 -0
  169. package/lib/api/pipes/pipes.module.d.ts +11 -0
  170. package/lib/api/pipes/telefone.pipe.d.ts +7 -0
  171. package/lib/api/services/base.api.service.d.ts +25 -0
  172. package/lib/api/services/breadcrumbs.service.d.ts +15 -0
  173. package/lib/api/services/component.service.d.ts +11 -0
  174. package/lib/api/services/docs.service.d.ts +12 -0
  175. package/lib/api/services/form.service.d.ts +31 -0
  176. package/lib/api/services/imagens.service.d.ts +10 -0
  177. package/lib/api/services/notification.service.d.ts +25 -0
  178. package/lib/api/services/object.service.d.ts +9 -0
  179. package/{src/lib/api/types/severity.ts → lib/api/types/severity.d.ts} +2 -3
  180. package/lib/components/keevo-components.module.d.ts +31 -0
  181. package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -0
  182. package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -0
  183. package/lib/components/kv-button/kv-button.component.d.ts +14 -0
  184. package/lib/components/kv-button/kv-button.module.d.ts +9 -0
  185. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
  186. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +14 -0
  187. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
  188. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
  189. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
  190. package/lib/components/kv-carousel/kv-carousel.component.d.ts +14 -0
  191. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
  192. package/lib/components/kv-chart/kv-chart.component.d.ts +56 -0
  193. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
  194. package/lib/components/kv-error/kv-error.component.d.ts +12 -0
  195. package/lib/components/kv-error/kv-error.module.d.ts +10 -0
  196. package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +17 -0
  197. package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
  198. package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +12 -0
  199. package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
  200. package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
  201. package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
  202. package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +24 -0
  203. package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
  204. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
  205. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -0
  206. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +21 -0
  207. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -0
  208. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
  209. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
  210. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
  211. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +10 -0
  212. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -0
  213. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
  214. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
  215. package/lib/components/kv-inputs/kv-inputs.module.d.ts +28 -0
  216. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -0
  217. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -0
  218. package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
  219. package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +16 -0
  220. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
  221. package/lib/components/kv-label/kv-label.component.d.ts +7 -0
  222. package/lib/components/kv-label/kv-label.module.d.ts +8 -0
  223. package/lib/components/kv-loader/kv-loader.component.d.ts +8 -0
  224. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
  225. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
  226. package/lib/components/kv-login/kv-login.component.d.ts +30 -0
  227. package/lib/components/kv-login/kv-login.module.d.ts +13 -0
  228. package/lib/components/kv-menu/kv-menu.component.d.ts +59 -0
  229. package/lib/components/kv-menu/kv-menu.module.d.ts +13 -0
  230. package/lib/components/kv-modal/kv-modal.component.d.ts +28 -0
  231. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
  232. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -0
  233. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -0
  234. package/lib/components/kv-page-form/kv-page-form.component.d.ts +97 -0
  235. package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -0
  236. package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
  237. package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +13 -0
  238. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +30 -0
  239. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -0
  240. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
  241. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
  242. package/lib/components/kv-report/kv-report.component.d.ts +20 -0
  243. package/lib/components/kv-report/kv-report.module.d.ts +8 -0
  244. package/lib/components/kv-stepper/kv-stepper.component.d.ts +25 -0
  245. package/lib/components/kv-stepper/kv-stepper.module.d.ts +10 -0
  246. package/lib/components/kv-table/kv-table.component.d.ts +121 -0
  247. package/lib/components/kv-table/kv-table.module.d.ts +11 -0
  248. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +58 -0
  249. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +14 -0
  250. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +110 -0
  251. package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +12 -0
  252. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +70 -0
  253. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -0
  254. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -0
  255. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
  256. package/lib/components/kv-workspace/kv-workspace.component.d.ts +65 -0
  257. package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -0
  258. package/package.json +45 -32
  259. package/{src/public-api.ts → public-api.d.ts} +216 -254
  260. package/ng-package.json +0 -7
  261. package/src/assets/.gitkeep +0 -0
  262. package/src/assets/images/LogoEvo.png +0 -0
  263. package/src/assets/images/LogoPequenaEvo.png +0 -0
  264. package/src/assets/images/background.png +0 -0
  265. package/src/assets/images/keepass-logo.png +0 -0
  266. package/src/assets/images/keepass-logo.svg +0 -74
  267. package/src/assets/images/keevo-logo.png +0 -0
  268. package/src/assets/images/logokeevo_2.png +0 -0
  269. package/src/index.ts +0 -1
  270. package/src/lib/api/base-components/base-component-button.ts +0 -29
  271. package/src/lib/api/base-components/base-component-chart.ts +0 -105
  272. package/src/lib/api/base-components/base-component-crud-form.ts +0 -361
  273. package/src/lib/api/base-components/base-component-crud-list.ts +0 -122
  274. package/src/lib/api/base-components/base-component-crud.ts +0 -70
  275. package/src/lib/api/base-components/base-component-dropdown-external.ts +0 -29
  276. package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
  277. package/src/lib/api/base-components/base-component-dropdown.ts +0 -192
  278. package/src/lib/api/base-components/base-component-input.ts +0 -119
  279. package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
  280. package/src/lib/api/base-components/base-component-table.ts +0 -326
  281. package/src/lib/api/base-components/base-component.ts +0 -47
  282. package/src/lib/api/components/chart/chart.config.ts +0 -12
  283. package/src/lib/api/components/chart/chart.model.ts +0 -9
  284. package/src/lib/api/components/chart/orchart.config.ts +0 -41
  285. package/src/lib/api/components/chart/orchart.item.ts +0 -33
  286. package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
  287. package/src/lib/api/components/stepper/kv-stepperpanel.ts +0 -10
  288. package/src/lib/api/components/table/action-item.ts +0 -11
  289. package/src/lib/api/components/table/kv-menuitem.ts +0 -198
  290. package/src/lib/api/components/table/table-dropdown-control.ts +0 -6
  291. package/src/lib/api/components/table/table.config.column.ts +0 -31
  292. package/src/lib/api/components/table/table.config.ts +0 -35
  293. package/src/lib/api/components/table/table.paginate.ts +0 -6
  294. package/src/lib/api/components/table/tabledit.config.ts +0 -10
  295. package/src/lib/api/components/table/tableedit.config.column.ts +0 -12
  296. package/src/lib/api/components/tree-table/tree-table.config.ts +0 -30
  297. package/src/lib/api/directives/directives.module.ts +0 -19
  298. package/src/lib/api/directives/drag/drag.directive.ts +0 -40
  299. package/src/lib/api/directives/stepper/dynamicinput.directive.ts +0 -23
  300. package/src/lib/api/directives/template/template.directive.ts +0 -15
  301. package/src/lib/api/helpers/component-providers.ts +0 -16
  302. package/src/lib/api/helpers/keevo-validators.ts +0 -97
  303. package/src/lib/api/helpers/severity-color.ts +0 -77
  304. package/src/lib/api/helpers/translate-primeng.ts +0 -25
  305. package/src/lib/api/modules/primeng.module.ts +0 -138
  306. package/src/lib/api/pipes/capitalize.pipe.ts +0 -23
  307. package/src/lib/api/pipes/cpfcnpj.pipe.ts +0 -21
  308. package/src/lib/api/pipes/mask.pipe.ts +0 -24
  309. package/src/lib/api/pipes/pipes.module.ts +0 -26
  310. package/src/lib/api/pipes/telefone.pipe.ts +0 -38
  311. package/src/lib/api/services/base.api.service.ts +0 -115
  312. package/src/lib/api/services/breadcrumbs.service.ts +0 -58
  313. package/src/lib/api/services/component.service.ts +0 -32
  314. package/src/lib/api/services/docs.service.ts +0 -129
  315. package/src/lib/api/services/form.service.ts +0 -136
  316. package/src/lib/api/services/imagens.service.ts +0 -28
  317. package/src/lib/api/services/notification.service.ts +0 -85
  318. package/src/lib/api/services/object.service.ts +0 -33
  319. package/src/lib/api/types/stimulsoft.reports.d.ts +0 -67463
  320. package/src/lib/components/keevo-components-styles.scss +0 -11
  321. package/src/lib/components/keevo-components.module.ts +0 -88
  322. package/src/lib/components/kv-avatar/kv-avatar.component.html +0 -12
  323. package/src/lib/components/kv-avatar/kv-avatar.component.scss +0 -45
  324. package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +0 -23
  325. package/src/lib/components/kv-avatar/kv-avatar.component.ts +0 -72
  326. package/src/lib/components/kv-avatar/kv-avatar.module.ts +0 -21
  327. package/src/lib/components/kv-button/kv-button.component.css +0 -0
  328. package/src/lib/components/kv-button/kv-button.component.html +0 -8
  329. package/src/lib/components/kv-button/kv-button.component.scss +0 -102
  330. package/src/lib/components/kv-button/kv-button.component.spec.ts +0 -23
  331. package/src/lib/components/kv-button/kv-button.component.ts +0 -22
  332. package/src/lib/components/kv-button/kv-button.module.ts +0 -20
  333. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +0 -14
  334. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +0 -3
  335. package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +0 -25
  336. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +0 -12
  337. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +0 -31
  338. package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +0 -36
  339. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +0 -12
  340. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +0 -14
  341. package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +0 -14
  342. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +0 -11
  343. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +0 -13
  344. package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +0 -14
  345. package/src/lib/components/kv-buttons/kv-button.module.ts +0 -26
  346. package/src/lib/components/kv-carousel/kv-carousel.component.html +0 -8
  347. package/src/lib/components/kv-carousel/kv-carousel.component.scss +0 -32
  348. package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +0 -23
  349. package/src/lib/components/kv-carousel/kv-carousel.component.ts +0 -31
  350. package/src/lib/components/kv-carousel/kv-carousel.module.ts +0 -19
  351. package/src/lib/components/kv-chart/kv-chart.component.html +0 -38
  352. package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
  353. package/src/lib/components/kv-chart/kv-chart.component.spec.ts +0 -28
  354. package/src/lib/components/kv-chart/kv-chart.component.ts +0 -153
  355. package/src/lib/components/kv-chart/kv-chart.module.ts +0 -21
  356. package/src/lib/components/kv-error/kv-error.component.html +0 -3
  357. package/src/lib/components/kv-error/kv-error.component.scss +0 -5
  358. package/src/lib/components/kv-error/kv-error.component.ts +0 -27
  359. package/src/lib/components/kv-error/kv-error.module.ts +0 -26
  360. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +0 -16
  361. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +0 -18
  362. package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +0 -33
  363. package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +0 -14
  364. package/src/lib/components/kv-filter-card/kv-filter-card.component.html +0 -13
  365. package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +0 -74
  366. package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +0 -23
  367. package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +0 -17
  368. package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +0 -23
  369. package/src/lib/components/kv-g-icon/kv-g-icon.component.html +0 -1
  370. package/src/lib/components/kv-g-icon/kv-g-icon.component.scss +0 -0
  371. package/src/lib/components/kv-g-icon/kv-g-icon.component.spec.ts +0 -23
  372. package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +0 -10
  373. package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +0 -11
  374. package/src/lib/components/kv-image-upload/kv-image-upload.component.html +0 -62
  375. package/src/lib/components/kv-image-upload/kv-image-upload.component.scss +0 -0
  376. package/src/lib/components/kv-image-upload/kv-image-upload.component.ts +0 -82
  377. package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +0 -10
  378. package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +0 -12
  379. package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +0 -13
  380. package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +0 -33
  381. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +0 -89
  382. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +0 -21
  383. package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +0 -38
  384. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +0 -101
  385. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +0 -21
  386. package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +0 -113
  387. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +0 -31
  388. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -19
  389. package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +0 -84
  390. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +0 -22
  391. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
  392. package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +0 -35
  393. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +0 -23
  394. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
  395. package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +0 -61
  396. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +0 -23
  397. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
  398. package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +0 -26
  399. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +0 -22
  400. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +0 -18
  401. package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +0 -27
  402. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +0 -35
  403. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -0
  404. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +0 -23
  405. package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +0 -43
  406. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +0 -23
  407. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
  408. package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +0 -40
  409. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +0 -24
  410. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
  411. package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +0 -27
  412. package/src/lib/components/kv-inputs/kv-inputs.module.ts +0 -78
  413. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +0 -45
  414. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +0 -13
  415. package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +0 -44
  416. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +0 -19
  417. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +0 -15
  418. package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +0 -60
  419. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +0 -26
  420. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +0 -5
  421. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +0 -21
  422. package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +0 -30
  423. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +0 -17
  424. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +0 -26
  425. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +0 -23
  426. package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +0 -29
  427. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +0 -20
  428. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +0 -5
  429. package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +0 -54
  430. package/src/lib/components/kv-label/kv-label.component.html +0 -6
  431. package/src/lib/components/kv-label/kv-label.component.scss +0 -9
  432. package/src/lib/components/kv-label/kv-label.component.spec.ts +0 -23
  433. package/src/lib/components/kv-label/kv-label.component.ts +0 -14
  434. package/src/lib/components/kv-label/kv-label.module.ts +0 -17
  435. package/src/lib/components/kv-loader/kv-loader.component.html +0 -1
  436. package/src/lib/components/kv-loader/kv-loader.component.ts +0 -15
  437. package/src/lib/components/kv-loader/kv-loader.module.ts +0 -17
  438. package/src/lib/components/kv-loader/kv-loader.service.ts +0 -31
  439. package/src/lib/components/kv-login/kv-login.component.html +0 -108
  440. package/src/lib/components/kv-login/kv-login.component.scss +0 -76
  441. package/src/lib/components/kv-login/kv-login.component.spec.ts +0 -23
  442. package/src/lib/components/kv-login/kv-login.component.ts +0 -81
  443. package/src/lib/components/kv-login/kv-login.module.ts +0 -33
  444. package/src/lib/components/kv-menu/kv-menu.component.html +0 -292
  445. package/src/lib/components/kv-menu/kv-menu.component.scss +0 -214
  446. package/src/lib/components/kv-menu/kv-menu.component.spec.ts +0 -23
  447. package/src/lib/components/kv-menu/kv-menu.component.ts +0 -195
  448. package/src/lib/components/kv-menu/kv-menu.module.ts +0 -33
  449. package/src/lib/components/kv-modal/kv-modal.component.html +0 -20
  450. package/src/lib/components/kv-modal/kv-modal.component.scss +0 -84
  451. package/src/lib/components/kv-modal/kv-modal.component.spec.ts +0 -21
  452. package/src/lib/components/kv-modal/kv-modal.component.ts +0 -114
  453. package/src/lib/components/kv-modal/kv-modal.module.ts +0 -21
  454. package/src/lib/components/kv-orgchart/kv-orgchart.component.html +0 -58
  455. package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +0 -21
  456. package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +0 -110
  457. package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +0 -14
  458. package/src/lib/components/kv-page-form/kv-page-form.component.html +0 -99
  459. package/src/lib/components/kv-page-form/kv-page-form.component.scss +0 -76
  460. package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +0 -28
  461. package/src/lib/components/kv-page-form/kv-page-form.component.ts +0 -163
  462. package/src/lib/components/kv-page-form/kv-page-form.module.ts +0 -31
  463. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +0 -251
  464. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +0 -129
  465. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +0 -23
  466. package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +0 -223
  467. package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +0 -34
  468. package/src/lib/components/kv-pick-list/kv-pick-list.component.html +0 -23
  469. package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -5
  470. package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +0 -26
  471. package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +0 -60
  472. package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +0 -21
  473. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +0 -38
  474. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +0 -110
  475. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +0 -21
  476. package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +0 -75
  477. package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +0 -19
  478. package/src/lib/components/kv-report/kv-report.component.html +0 -12
  479. package/src/lib/components/kv-report/kv-report.component.scss +0 -21
  480. package/src/lib/components/kv-report/kv-report.component.spec.ts +0 -28
  481. package/src/lib/components/kv-report/kv-report.component.ts +0 -50
  482. package/src/lib/components/kv-report/kv-report.module.ts +0 -18
  483. package/src/lib/components/kv-stepper/kv-stepper.component.html +0 -66
  484. package/src/lib/components/kv-stepper/kv-stepper.component.scss +0 -41
  485. package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +0 -23
  486. package/src/lib/components/kv-stepper/kv-stepper.component.ts +0 -48
  487. package/src/lib/components/kv-stepper/kv-stepper.module.ts +0 -20
  488. package/src/lib/components/kv-table/kv-table.component.html +0 -504
  489. package/src/lib/components/kv-table/kv-table.component.scss +0 -311
  490. package/src/lib/components/kv-table/kv-table.component.spec.ts +0 -28
  491. package/src/lib/components/kv-table/kv-table.component.ts +0 -589
  492. package/src/lib/components/kv-table/kv-table.module.ts +0 -23
  493. package/src/lib/components/kv-table-edit/kv-table-edit.component.html +0 -823
  494. package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +0 -711
  495. package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +0 -352
  496. package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +0 -28
  497. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +0 -440
  498. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +0 -356
  499. package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +0 -517
  500. package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +0 -22
  501. package/src/lib/components/kv-tree-table/kv-tree-table.component.html +0 -610
  502. package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +0 -77
  503. package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +0 -21
  504. package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +0 -305
  505. package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +0 -18
  506. package/src/lib/components/kv-tree-view/kv-tree-view.component.html +0 -9
  507. package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -0
  508. package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +0 -23
  509. package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +0 -31
  510. package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +0 -19
  511. package/src/lib/components/kv-workspace/kv-workspace.component.html +0 -53
  512. package/src/lib/components/kv-workspace/kv-workspace.component.scss +0 -117
  513. package/src/lib/components/kv-workspace/kv-workspace.component.ts +0 -201
  514. package/src/lib/components/kv-workspace/kv-workspace.module.ts +0 -35
  515. package/tsconfig.lib.json +0 -14
  516. package/tsconfig.lib.prod.json +0 -10
  517. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,59 @@
1
+ import { Component, Input, ViewChild } from '@angular/core';
2
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/forms";
7
+ import * as i3 from "../../kv-error/kv-error.component";
8
+ import * as i4 from "../../kv-label/kv-label.component";
9
+ import * as i5 from "primeng/inputnumber";
10
+ export class KvInputNumberComponent extends BaseComponentInput {
11
+ constructor(componentService) {
12
+ super(componentService);
13
+ this.mode = 'decimal';
14
+ this.digits = 0;
15
+ this.min = 0;
16
+ }
17
+ ngOnInit() {
18
+ super.ngOnInit();
19
+ this.inputNumber.mode = this.mode;
20
+ this.inputNumber.locale = 'pt-BR';
21
+ switch (this.mode) {
22
+ case 'decimal':
23
+ this.configDecimal();
24
+ break;
25
+ case 'currency':
26
+ this.configCurrency();
27
+ break;
28
+ }
29
+ }
30
+ configDecimal() {
31
+ if (!this.digits)
32
+ this.inputNumber.useGrouping = false;
33
+ this.inputNumber.minFractionDigits = this.digits;
34
+ this.inputNumber.maxFractionDigits = this.digits;
35
+ }
36
+ configCurrency() {
37
+ this.inputNumber.currency = 'BRL';
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputNumberComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputNumberComponent, selector: "kv-input-number", inputs: { mode: "mode", digits: "digits", min: "min", max: "max", suffix: "suffix" }, providers: ComponentProviders(KvInputNumberComponent), viewQueries: [{ propertyName: "inputNumber", first: true, predicate: ["inputNumber"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-inputNumber\r\n #inputNumber\r\n [disabled]=\"disabled\"\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n styleClass=\"inputs\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [suffix]=\"suffix\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n [maxlength]=\"maxLength\"\r\n >\r\n </p-inputNumber>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "component", type: i5.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabelledBy", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "variant", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }] }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputNumberComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'kv-input-number', providers: ComponentProviders(KvInputNumberComponent), template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-inputNumber\r\n #inputNumber\r\n [disabled]=\"disabled\"\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n styleClass=\"inputs\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [suffix]=\"suffix\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n [maxlength]=\"maxLength\"\r\n >\r\n </p-inputNumber>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
45
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { mode: [{
46
+ type: Input
47
+ }], digits: [{
48
+ type: Input
49
+ }], min: [{
50
+ type: Input
51
+ }], max: [{
52
+ type: Input
53
+ }], suffix: [{
54
+ type: Input
55
+ }], inputNumber: [{
56
+ type: ViewChild,
57
+ args: ['inputNumber', { static: true }]
58
+ }] } });
59
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtbnVtYmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC1udW1iZXIva3YtaW5wdXQtbnVtYmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC1udW1iZXIva3YtaW5wdXQtbnVtYmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUVMLFNBQVMsRUFDVixNQUFNLGVBQWUsQ0FBQztBQUl2QixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUN2RixPQUFPLEVBQUUsa0JBQWtCLEVBQU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5wdXRzXCJcclxuICAgIFttaW5dPVwibWluXCJcclxuICAgIFttYXhdPVwibWF4XCJcclxuICAgIFtzdWZmaXhdPVwic3VmZml4XCJcclxuICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxyXG4gICAgKG9uQmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICAgIFttYXhsZW5ndGhdPVwibWF4TGVuZ3RoXCJcclxuICA+XHJcbiAgPC9wLWlucHV0TnVtYmVyPlxyXG5cclxuICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4iXX0=
@@ -0,0 +1,33 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
3
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/forms";
7
+ import * as i3 from "../../kv-error/kv-error.component";
8
+ import * as i4 from "../../kv-label/kv-label.component";
9
+ import * as i5 from "primeng/password";
10
+ export class KvInputPasswordComponent extends BaseComponentInput {
11
+ constructor(componentService) {
12
+ super(componentService);
13
+ this.feedback = false;
14
+ this.mediumRegex = '';
15
+ this.strongRegex = '';
16
+ this.toggleMask = true;
17
+ }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputPasswordComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputPasswordComponent, selector: "kv-input-password", inputs: { feedback: "feedback", mediumRegex: "mediumRegex", strongRegex: "strongRegex", toggleMask: "toggleMask" }, providers: ComponentProviders(KvInputPasswordComponent), usesInheritance: true, ngImport: i0, template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n >\r\n </p-password>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "component", type: i5.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "autocomplete", "placeholder", "showClear", "autofocus", "variant"], outputs: ["onFocus", "onBlur", "onClear"] }] }); }
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputPasswordComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'kv-input-password', providers: ComponentProviders(KvInputPasswordComponent), template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n >\r\n </p-password>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
24
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { feedback: [{
25
+ type: Input
26
+ }], mediumRegex: [{
27
+ type: Input
28
+ }], strongRegex: [{
29
+ type: Input
30
+ }], toggleMask: [{
31
+ type: Input
32
+ }] } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtaW5wdXRzL2t2LWlucHV0LXBhc3N3b3JkL2t2LWlucHV0LXBhc3N3b3JkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pb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c3VwZXIoY29tcG9uZW50U2VydmljZSk7XHJcbiAgfVxyXG59XHJcbiIsIjxzcGFuPlxyXG4gIDxrdi1sYWJlbFxyXG4gICAgW2NvbXBvbmVudElkXT1cImNvbXBvbmVudElkXCJcclxuICAgIFtsYWJlbF09XCJsYWJlbCAmJiAobGFiZWwgKyAoc2hvd0FzdGVyaXNrID8gJyonIDogJycpKVwiXHJcbiAgLz5cclxuICA8cC1wYXNzd29yZFxyXG4gICAgYXBwZW5kVG89XCJib2R5XCJcclxuICAgIFtjbGFzc109XCJiYXNlSW5wdXRDbGFzc1wiXHJcbiAgICBzdHlsZUNsYXNzPVwiaW5wdXRzXCJcclxuICAgIFtpZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcclxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICBbdG9nZ2xlTWFza109XCJ0b2dnbGVNYXNrXCJcclxuICAgIFtmZWVkYmFja109XCJmZWVkYmFja1wiXHJcbiAgICBbbWVkaXVtUmVnZXhdPVwibWVkaXVtUmVnZXhcIlxyXG4gICAgW3N0cm9uZ1JlZ2V4XT1cInN0cm9uZ1JlZ2V4XCJcclxuICAgIChvbkJsdXIpPVwib25JbnB1dEJsdXIoJGV2ZW50KVwiXHJcbiAgPlxyXG4gIDwvcC1wYXNzd29yZD5cclxuXHJcbiAgPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPlxyXG48L3NwYW4+XHJcbjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
@@ -0,0 +1,25 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@angular/forms";
8
+ import * as i4 from "../../kv-error/kv-error.component";
9
+ import * as i5 from "../../kv-label/kv-label.component";
10
+ import * as i6 from "primeng/inputtext";
11
+ export class KvInputTextComponent extends BaseComponentInput {
12
+ constructor(componentService) {
13
+ super(componentService);
14
+ this.textCaptalized = false;
15
+ }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputTextComponent, selector: "kv-input-text", inputs: { textCaptalized: "textCaptalized" }, providers: ComponentProviders(KvInputTextComponent), usesInheritance: true, ngImport: i0, template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n class=\"inputs\"\r\n [ngClass]=\"{ 'capitalize': textCaptalized }\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n (input)=\"onInputInput($event)\"\r\n [maxlength]=\"maxLength\"\r\n >\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i5.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "directive", type: i6.InputText, selector: "[pInputText]", inputs: ["variant"] }] }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextComponent, decorators: [{
20
+ type: Component,
21
+ args: [{ selector: 'kv-input-text', providers: ComponentProviders(KvInputTextComponent), template: "<span>\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n class=\"inputs\"\r\n [ngClass]=\"{ 'capitalize': textCaptalized }\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n (input)=\"onInputInput($event)\"\r\n [maxlength]=\"maxLength\"\r\n >\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
22
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { textCaptalized: [{
23
+ type: Input
24
+ }] } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGV4dC9rdi1pbnB1dC10ZXh0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0L2t2LWlucHV0LXRleHQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBRU4sTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7Ozs7Ozs7O0FBWTlFLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxrQkFBMEI7SUFDbEUsWUFBWSxnQkFBa0M7UUFDNUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFHakIsbUJBQWMsR0FBWSxLQUFLLENBQUE7SUFGeEMsQ0FBQzs4R0FIVSxvQkFBb0I7a0dBQXBCLG9CQUFvQixzRkFGcEIsa0JBQWtCLENBQUMsb0JBQW9CLENBQUMsaURDakJyRCxnbkJBcUJ5Qjs7MkZERlosb0JBQW9CO2tCQVRoQyxTQUFTOytCQUNFLGVBQWUsYUFNZCxrQkFBa0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gc3VwZXIoY29tcG9uZW50U2VydmljZSk7XHJcbiAgfVxyXG5cclxuICBASW5wdXQoKSB0ZXh0Q2FwdGFsaXplZDogYm9vbGVhbiA9IGZhbHNlXHJcblxyXG59IiwiPHNwYW4+XHJcbiAgPGt2LWxhYmVsXHJcbiAgICBbY29tcG9uZW50SWRdPVwiY29tcG9uZW50SWRcIlxyXG4gICAgW2xhYmVsXT1cImxhYmVsICYmIChsYWJlbCArIChzaG93QXN0ZXJpc2sgPyAnKicgOiAnJykpXCJcclxuICAvPlxyXG4gIDxpbnB1dFxyXG4gICAgcElucHV0VGV4dFxyXG4gICAgdHlwZT1cInRleHRcIlxyXG4gICAgW2NsYXNzXT1cImJhc2VJbnB1dENsYXNzXCJcclxuICAgIGNsYXNzPVwiaW5wdXRzXCJcclxuICAgIFtuZ0NsYXNzXT1cInsgJ2NhcGl0YWxpemUnOiB0ZXh0Q2FwdGFsaXplZCB9XCJcclxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICBbaWRdPVwiY29tcG9uZW50SWRcIlxyXG4gICAgWyhuZ01vZGVsKV09XCJ2YWx1ZVwiXHJcbiAgICAoYmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICAgIChpbnB1dCk9XCJvbklucHV0SW5wdXQoJGV2ZW50KVwiXHJcbiAgICBbbWF4bGVuZ3RoXT1cIm1heExlbmd0aFwiXHJcbiAgPlxyXG5cclxuICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
@@ -0,0 +1,42 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/forms";
7
+ import * as i3 from "../../kv-error/kv-error.component";
8
+ import * as i4 from "../../kv-label/kv-label.component";
9
+ import * as i5 from "primeng/tooltip";
10
+ import * as i6 from "primeng/checkbox";
11
+ import * as i7 from "primeng/inputtext";
12
+ export class KvInputTextCheckboxComponent extends BaseComponentInput {
13
+ constructor(componentService) {
14
+ super(componentService);
15
+ this.checkBoxEmit = new EventEmitter();
16
+ this.disabledCheckbox = false;
17
+ this._checkBoxValue = false;
18
+ }
19
+ set checkBoxValue(value) {
20
+ this._checkBoxValue = value;
21
+ this.emitCheckBoxValue();
22
+ }
23
+ get checkBoxValue() {
24
+ return this._checkBoxValue;
25
+ }
26
+ emitCheckBoxValue() {
27
+ this.checkBoxEmit.emit(this._checkBoxValue);
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextCheckboxComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputTextCheckboxComponent, selector: "kv-input-text-checkbox", inputs: { tooltipCheckbox: "tooltipCheckbox", disabledCheckbox: "disabledCheckbox" }, outputs: { checkBoxEmit: "checkBoxEmit" }, providers: ComponentProviders(KvInputTextCheckboxComponent), usesInheritance: true, ngImport: i0, template: "<kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n/>\r\n<div class=\"p-inputgroup \">\r\n <span\r\n class=\"p-inputgroup-addon\"\r\n style=\"height: 35px;\"\r\n ><p-checkbox\r\n [(ngModel)]=\"checkBoxValue\"\r\n [binary]=\"true\"\r\n [pTooltip]=\"tooltipCheckbox\"\r\n [disabled]=\"disabledCheckbox\"\r\n ></p-checkbox>\r\n\r\n </span>\r\n\r\n <span class=\"p-float-label\">\r\n <input\r\n type=\"text\"\r\n pInputText\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n style=\"height: 35px;\"\r\n class=\"w-full\"\r\n />\r\n </span>\r\n</div>\r\n\r\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>", styles: [""], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "directive", type: i5.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i6.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant"] }] }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextCheckboxComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'kv-input-text-checkbox', providers: ComponentProviders(KvInputTextCheckboxComponent), template: "<kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n/>\r\n<div class=\"p-inputgroup \">\r\n <span\r\n class=\"p-inputgroup-addon\"\r\n style=\"height: 35px;\"\r\n ><p-checkbox\r\n [(ngModel)]=\"checkBoxValue\"\r\n [binary]=\"true\"\r\n [pTooltip]=\"tooltipCheckbox\"\r\n [disabled]=\"disabledCheckbox\"\r\n ></p-checkbox>\r\n\r\n </span>\r\n\r\n <span class=\"p-float-label\">\r\n <input\r\n type=\"text\"\r\n pInputText\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n style=\"height: 35px;\"\r\n class=\"w-full\"\r\n />\r\n </span>\r\n</div>\r\n\r\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>" }]
35
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { checkBoxEmit: [{
36
+ type: Output
37
+ }], tooltipCheckbox: [{
38
+ type: Input
39
+ }], disabledCheckbox: [{
40
+ type: Input
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC1jaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGV4dC1jaGVja2JveC9rdi1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b21wb25lbnRJZFwiXHJcbiAgICBbbGFiZWxdPVwibGFiZWwgJiYgKGxhYmVsICsgKHNob3dBc3RlcmlzayA/ICcqJyA6ICcnKSlcIlxyXG4vPlxyXG48ZGl2IGNsYXNzPVwicC1pbnB1dGdyb3VwIFwiPlxyXG4gICAgPHNwYW5cclxuICAgICAgICBjbGFzcz1cInAtaW5wdXRncm91cC1hZGRvblwiXHJcbiAgICAgICAgc3R5bGU9XCJoZWlnaHQ6IDM1cHg7XCJcclxuICAgID48cC1jaGVja2JveFxyXG4gICAgICAgICAgICBbKG5nTW9kZWwpXT1cImNoZWNrQm94VmFsdWVcIlxyXG4gICAgICAgICAgICBbYmluYXJ5XT1cInRydWVcIlxyXG4gICAgICAgICAgICBbcFRvb2x0aXBdPVwidG9vbHRpcENoZWNrYm94XCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkQ2hlY2tib3hcIlxyXG4gICAgICAgID48L3AtY2hlY2tib3g+XHJcblxyXG4gICAgPC9zcGFuPlxyXG5cclxuICAgIDxzcGFuIGNsYXNzPVwicC1mbG9hdC1sYWJlbFwiPlxyXG4gICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgICB0eXBlPVwidGV4dFwiXHJcbiAgICAgICAgICAgIHBJbnB1dFRleHRcclxuICAgICAgICAgICAgW2NsYXNzXT1cImJhc2VJbnB1dENsYXNzXCJcclxuICAgICAgICAgICAgc3R5bGVDbGFzcz1cImlucHV0c1wiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXHJcbiAgICAgICAgICAgIFtpZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICAgICAgICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxyXG4gICAgICAgICAgICAoYmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICAgICAgICAgICAgc3R5bGU9XCJoZWlnaHQ6IDM1cHg7XCJcclxuICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGxcIlxyXG4gICAgICAgIC8+XHJcbiAgICA8L3NwYW4+XHJcbjwvZGl2PlxyXG5cclxuPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPiJdfQ==
@@ -0,0 +1,43 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/forms";
7
+ import * as i3 from "../../kv-error/kv-error.component";
8
+ import * as i4 from "../../kv-label/kv-label.component";
9
+ import * as i5 from "primeng/inputtextarea";
10
+ export class KvInputTextareaComponent extends BaseComponentInput {
11
+ constructor(componentService) {
12
+ super(componentService);
13
+ this.multiline = false;
14
+ this.rows = 2;
15
+ this.cols = 20;
16
+ this.autoResize = false;
17
+ this.maxValueLength = 0;
18
+ this.counterValueLength = 0;
19
+ }
20
+ ngOnInit() {
21
+ super.ngOnInit();
22
+ this.formControl?.valueChanges.subscribe((value) => {
23
+ this.counterValueLength = value?.length;
24
+ });
25
+ }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextareaComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputTextareaComponent, selector: "kv-input-textarea", inputs: { multiline: "multiline", rows: "rows", cols: "cols", autoResize: "autoResize", maxValueLength: "maxValueLength" }, providers: ComponentProviders(KvInputTextareaComponent), usesInheritance: true, ngImport: i0, template: "<span>\r\n\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n >\r\n </textarea>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "directive", type: i5.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize", "variant"], outputs: ["onResize"] }] }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTextareaComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: 'kv-input-textarea', providers: ComponentProviders(KvInputTextareaComponent), template: "<span>\r\n\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n >\r\n </textarea>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
32
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { multiline: [{
33
+ type: Input
34
+ }], rows: [{
35
+ type: Input
36
+ }], cols: [{
37
+ type: Input
38
+ }], autoResize: [{
39
+ type: Input
40
+ }], maxValueLength: [{
41
+ type: Input
42
+ }] } });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtaW5wdXRzL2t2LWlucHV0LXRleHRhcmVhL2t2LWlucHV0LXRleHRhcmVhLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0YXJlYS9rdi1pbnB1dC10ZXh0YXJlYS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFFTixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsa0JB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zXT1cInJvd3NcIlxyXG4gICAgWyhuZ01vZGVsKV09XCJ2YWx1ZVwiXHJcbiAgICAoYmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICA+XHJcbiAgPC90ZXh0YXJlYT5cclxuXHJcbiAgPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPlxyXG48L3NwYW4+XHJcbjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
@@ -0,0 +1,24 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { BaseComponentInput } from '../../../api/base-components/base-component-input';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/forms";
7
+ import * as i3 from "../../kv-error/kv-error.component";
8
+ import * as i4 from "../../kv-label/kv-label.component";
9
+ import * as i5 from "primeng/calendar";
10
+ export class KvInputTimeComponent extends BaseComponentInput {
11
+ constructor(componentService) {
12
+ super(componentService);
13
+ this.showIcon = true;
14
+ }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTimeComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvInputTimeComponent, selector: "kv-input-time", inputs: { showIcon: "showIcon" }, providers: ComponentProviders(KvInputTimeComponent), usesInheritance: true, ngImport: i0, template: "<span>\r\n\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"'pi pi-clock'\"\r\n styleClass=\"inputs\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n >\r\n </p-calendar>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "component", type: i5.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] }); }
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputTimeComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'kv-input-time', providers: ComponentProviders(KvInputTimeComponent), template: "<span>\r\n\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"'pi pi-clock'\"\r\n styleClass=\"inputs\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n >\r\n </p-calendar>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
21
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { showIcon: [{
22
+ type: Input
23
+ }] } });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGltZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGltZS9rdi1pbnB1dC10aW1lLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4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1dENsYXNzXCJcclxuICAgIFtpZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcclxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICBbc2hvd0ljb25dPVwic2hvd0ljb25cIlxyXG4gICAgW2ljb25dPVwiJ3BpIHBpLWNsb2NrJ1wiXHJcbiAgICBzdHlsZUNsYXNzPVwiaW5wdXRzXCJcclxuICAgIFtzaG93VGltZV09XCJ0cnVlXCJcclxuICAgIFt0aW1lT25seV09XCJ0cnVlXCJcclxuICAgIChvbkJsdXIpPVwib25JbnB1dEJsdXIoJGV2ZW50KVwiXHJcbiAgPlxyXG4gIDwvcC1jYWxlbmRhcj5cclxuXHJcbiAgPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPlxyXG48L3NwYW4+XHJcbjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
@@ -0,0 +1,122 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
+ import { PrimeNgModule } from '../../api/modules/primeng.module';
5
+ import { KvCheckComponent } from './kv-check/kv-check.component';
6
+ import { KvDropdownComponent } from './kv-dropdown/kv-dropdown.component';
7
+ import { KvEditorComponent } from './kv-editor/kv-editor.component';
8
+ import { kvErrorModule } from '../kv-error/kv-error.module';
9
+ import { KvInputCalendarComponent } from './kv-input-calendar/kv-input-calendar.component';
10
+ import { KvInputMaskComponent } from './kv-input-mask/kv-input-mask.component';
11
+ import { KvInputNumberComponent } from './kv-input-number/kv-input-number.component';
12
+ import { KvInputPasswordComponent } from './kv-input-password/kv-input-password.component';
13
+ import { KvInputTextareaComponent } from './kv-input-textarea/kv-input-textarea.component';
14
+ import { KvInputTextCheckboxComponent } from './kv-input-text-checkbox/kv-input-text-checkbox.component';
15
+ import { KvInputTextComponent } from './kv-input-text/kv-input-text.component';
16
+ import { KvInputTimeComponent } from './kv-input-time/kv-input-time.component';
17
+ import { KvLabelModule } from '../kv-label/kv-label.module';
18
+ import { KvMultiSelectComponent } from './kv-multi-select/kv-multi-select.component';
19
+ import { KvRadioGroupComponent } from './kv-radio-group/kv-radio-group.component';
20
+ import { KvSwitchComponent } from './kv-switch/kv-switch.component';
21
+ import { KvSelectButtonComponent } from './kv-select-button/kv-select-button.component';
22
+ import { SelectButtonModule } from 'primeng/selectbutton';
23
+ import { KvSelectButtonsComponent } from './kv-select-buttons/kv-select-buttons.component';
24
+ import * as i0 from "@angular/core";
25
+ export class KvInputsModule {
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvInputsModule, declarations: [KvCheckComponent,
28
+ KvDropdownComponent,
29
+ KvEditorComponent,
30
+ KvInputCalendarComponent,
31
+ KvInputMaskComponent,
32
+ KvInputNumberComponent,
33
+ KvInputPasswordComponent,
34
+ KvInputTextareaComponent,
35
+ KvInputTextCheckboxComponent,
36
+ KvInputTextComponent,
37
+ KvInputTimeComponent,
38
+ KvMultiSelectComponent,
39
+ KvRadioGroupComponent,
40
+ KvSwitchComponent,
41
+ KvSelectButtonComponent,
42
+ KvSelectButtonsComponent], imports: [CommonModule,
43
+ FormsModule,
44
+ kvErrorModule,
45
+ KvLabelModule,
46
+ PrimeNgModule,
47
+ ReactiveFormsModule,
48
+ SelectButtonModule], exports: [KvCheckComponent,
49
+ KvDropdownComponent,
50
+ KvEditorComponent,
51
+ KvInputCalendarComponent,
52
+ KvInputMaskComponent,
53
+ KvInputNumberComponent,
54
+ KvInputPasswordComponent,
55
+ KvInputTextareaComponent,
56
+ KvInputTextCheckboxComponent,
57
+ KvInputTextComponent,
58
+ KvInputTimeComponent,
59
+ KvMultiSelectComponent,
60
+ KvRadioGroupComponent,
61
+ KvSwitchComponent,
62
+ KvSelectButtonComponent,
63
+ KvSelectButtonsComponent] }); }
64
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputsModule, imports: [CommonModule,
65
+ FormsModule,
66
+ kvErrorModule,
67
+ KvLabelModule,
68
+ PrimeNgModule,
69
+ ReactiveFormsModule,
70
+ SelectButtonModule] }); }
71
+ }
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvInputsModule, decorators: [{
73
+ type: NgModule,
74
+ args: [{
75
+ declarations: [
76
+ KvCheckComponent,
77
+ KvDropdownComponent,
78
+ KvEditorComponent,
79
+ KvInputCalendarComponent,
80
+ KvInputMaskComponent,
81
+ KvInputNumberComponent,
82
+ KvInputPasswordComponent,
83
+ KvInputTextareaComponent,
84
+ KvInputTextCheckboxComponent,
85
+ KvInputTextComponent,
86
+ KvInputTimeComponent,
87
+ KvMultiSelectComponent,
88
+ KvRadioGroupComponent,
89
+ KvSwitchComponent,
90
+ KvSelectButtonComponent,
91
+ KvSelectButtonsComponent
92
+ ],
93
+ imports: [
94
+ CommonModule,
95
+ FormsModule,
96
+ kvErrorModule,
97
+ KvLabelModule,
98
+ PrimeNgModule,
99
+ ReactiveFormsModule,
100
+ SelectButtonModule
101
+ ],
102
+ exports: [
103
+ KvCheckComponent,
104
+ KvDropdownComponent,
105
+ KvEditorComponent,
106
+ KvInputCalendarComponent,
107
+ KvInputMaskComponent,
108
+ KvInputNumberComponent,
109
+ KvInputPasswordComponent,
110
+ KvInputTextareaComponent,
111
+ KvInputTextCheckboxComponent,
112
+ KvInputTextComponent,
113
+ KvInputTimeComponent,
114
+ KvMultiSelectComponent,
115
+ KvRadioGroupComponent,
116
+ KvSwitchComponent,
117
+ KvSelectButtonCompon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IEt2U2VsZWN0QnV0dG9uc0NvbXBvbmVudCxcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBLdklucHV0c01vZHVsZSB7IH1cclxuIl19
@@ -0,0 +1,44 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { BaseComponentMultiSelect } from '../../../api/base-components/base-component-multi-select';
3
+ import { ComponentProviders } from '../../../api/helpers/component-providers';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../api/services/component.service";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@angular/forms";
8
+ import * as i4 from "../../kv-error/kv-error.component";
9
+ import * as i5 from "../../kv-label/kv-label.component";
10
+ import * as i6 from "primeng/api";
11
+ import * as i7 from "primeng/multiselect";
12
+ export class KvMultiSelectComponent extends BaseComponentMultiSelect {
13
+ ngOnInit() {
14
+ super.ngOnInit();
15
+ if (this.optionInactive == true) {
16
+ this.inactiveOptions = 'inactive';
17
+ this.options.map((element, index) => {
18
+ Object.defineProperty(element, 'inactive', {
19
+ value: true,
20
+ });
21
+ });
22
+ }
23
+ }
24
+ constructor(componentService) {
25
+ super(componentService);
26
+ this.group = false;
27
+ this.maxSelectedLabels = 3;
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvMultiSelectComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvMultiSelectComponent, selector: "kv-multi-select", inputs: { group: "group", itemTemplate: "itemTemplate", maxSelectedLabels: "maxSelectedLabels", optionInactive: "optionInactive" }, providers: ComponentProviders(KvMultiSelectComponent), usesInheritance: true, ngImport: i0, template: "<span [ngClass]=\"{'disable': optionInactive === true}\">\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n styleClass=\"inputs\"\r\n [class]=\"baseInputClass\"\r\n [group]=\"group\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionDisabled]=\" inactiveOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\"\r\n [maxSelectedLabels]=\"maxSelectedLabels\"\r\n >\r\n\r\n\r\n <ng-template\r\n let-item\r\n pTemplate=\"item\"\r\n *ngIf=\"itemTemplate\"\r\n >\r\n <ng-container\r\n [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\r\n >\r\n\r\n </ng-container>\r\n </ng-template>\r\n\r\n\r\n </p-multiSelect>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [":host ::ng-deep .disable .p-multiselect.p-multiselect-chip .p-multiselect-token .p-icon-wrapper{display:none!important}::ng-deep .p-multiselect.p-multiselect-chip .p-multiselect-token{padding:.1rem .4rem}::ng-deep .p-multiselect-label{padding:.3rem;display:flex}\n", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i5.KvLabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i7.MultiSelect, selector: "p-multiSelect", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }] }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvMultiSelectComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'kv-multi-select', providers: ComponentProviders(KvMultiSelectComponent), template: "<span [ngClass]=\"{'disable': optionInactive === true}\">\r\n <kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label && (label + (showAsterisk ? '*' : ''))\"\r\n />\r\n\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n styleClass=\"inputs\"\r\n [class]=\"baseInputClass\"\r\n [group]=\"group\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionDisabled]=\" inactiveOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\"\r\n [maxSelectedLabels]=\"maxSelectedLabels\"\r\n >\r\n\r\n\r\n <ng-template\r\n let-item\r\n pTemplate=\"item\"\r\n *ngIf=\"itemTemplate\"\r\n >\r\n <ng-container\r\n [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\r\n >\r\n\r\n </ng-container>\r\n </ng-template>\r\n\r\n\r\n </p-multiSelect>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [":host ::ng-deep .disable .p-multiselect.p-multiselect-chip .p-multiselect-token .p-icon-wrapper{display:none!important}::ng-deep .p-multiselect.p-multiselect-chip .p-multiselect-token{padding:.1rem .4rem}::ng-deep .p-multiselect-label{padding:.3rem;display:flex}\n", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
35
+ }], ctorParameters: () => [{ type: i1.ComponentService }], propDecorators: { group: [{
36
+ type: Input
37
+ }], itemTemplate: [{
38
+ type: Input
39
+ }], maxSelectedLabels: [{
40
+ type: Input
41
+ }], optionInactive: [{
42
+ type: Input
43
+ }] } });
44
+ //# sourceMappingURL=data:application/json;base64,ey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