keevo-components 1.8.62 → 1.8.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/esm2022/keevo-components.mjs +4 -4
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +36 -36
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -92
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -298
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +78 -78
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -65
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -31
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +169 -169
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +94 -94
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -130
  11. package/esm2022/lib/api/base-components/base-component.mjs +51 -51
  12. package/esm2022/lib/api/components/chart/chart.config.mjs +1 -1
  13. package/esm2022/lib/api/components/chart/chart.model.mjs +1 -1
  14. package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
  15. package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
  16. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
  17. package/esm2022/lib/api/components/table/action-item.mjs +1 -1
  18. package/esm2022/lib/api/components/table/kv-menuitem.mjs +2 -2
  19. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
  20. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  21. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  22. package/esm2022/lib/api/components/table/table.paginate.mjs +8 -8
  23. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  24. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  25. package/esm2022/lib/api/directives/template/template.directive.mjs +24 -24
  26. package/esm2022/lib/api/helpers/component-providers.mjs +15 -15
  27. package/esm2022/lib/api/helpers/keevo-validators.mjs +72 -72
  28. package/esm2022/lib/api/helpers/translate-primeng.mjs +22 -22
  29. package/esm2022/lib/api/modules/primeng.module.mjs +255 -255
  30. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -25
  31. package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -29
  32. package/esm2022/lib/api/pipes/pipes.module.mjs +34 -34
  33. package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -45
  34. package/esm2022/lib/api/services/base.api.service.mjs +74 -74
  35. package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -57
  36. package/esm2022/lib/api/services/component.service.mjs +27 -27
  37. package/esm2022/lib/api/services/form.service.mjs +85 -85
  38. package/esm2022/lib/api/services/imagens.service.mjs +28 -28
  39. package/esm2022/lib/api/services/notification.service.mjs +67 -67
  40. package/esm2022/lib/api/services/object.service.mjs +39 -39
  41. package/esm2022/lib/components/keevo-components.module.mjs +137 -137
  42. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -78
  43. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -32
  44. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +31 -31
  45. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -31
  46. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -17
  47. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -17
  48. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -39
  49. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -92
  50. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -28
  51. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -145
  52. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -32
  53. package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -26
  54. package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -35
  55. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -26
  56. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -37
  57. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -88
  58. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -89
  59. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -29
  60. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -59
  61. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -33
  62. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +25 -25
  63. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -42
  64. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -43
  65. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -24
  66. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -108
  67. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -44
  68. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -53
  69. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -34
  70. package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -15
  71. package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -24
  72. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -17
  73. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -28
  74. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -29
  75. package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -52
  76. package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -47
  77. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +198 -198
  78. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -47
  79. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -69
  80. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -31
  81. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -100
  82. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -24
  83. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -147
  84. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -38
  85. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -48
  86. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -32
  87. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -58
  88. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -28
  89. package/esm2022/lib/components/kv-table/kv-table.component.mjs +553 -553
  90. package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -36
  91. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +564 -564
  92. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -34
  93. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +220 -220
  94. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -28
  95. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -30
  96. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -28
  97. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -178
  98. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -51
  99. package/esm2022/public-api.mjs +165 -165
  100. package/fesm2022/keevo-components.mjs +5409 -5411
  101. package/fesm2022/keevo-components.mjs.map +1 -1
  102. package/index.d.ts +5 -5
  103. package/lib/api/base-components/base-component-button.d.ts +14 -14
  104. package/lib/api/base-components/base-component-chart.d.ts +40 -40
  105. package/lib/api/base-components/base-component-crud-form.d.ts +145 -145
  106. package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
  107. package/lib/api/base-components/base-component-crud.d.ts +36 -36
  108. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -15
  109. package/lib/api/base-components/base-component-dropdown.d.ts +44 -44
  110. package/lib/api/base-components/base-component-input.d.ts +31 -31
  111. package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
  112. package/lib/api/base-components/base-component.d.ts +22 -22
  113. package/lib/api/components/chart/chart.config.d.ts +11 -11
  114. package/lib/api/components/chart/chart.model.d.ts +9 -9
  115. package/lib/api/components/chart/orchart.config.d.ts +35 -35
  116. package/lib/api/components/chart/orchart.item.d.ts +26 -26
  117. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
  118. package/lib/api/components/table/action-item.d.ts +11 -11
  119. package/lib/api/components/table/kv-menuitem.d.ts +10 -10
  120. package/lib/api/components/table/table-dropdown-control.d.ts +6 -6
  121. package/lib/api/components/table/table.config.column.d.ts +25 -25
  122. package/lib/api/components/table/table.config.d.ts +19 -19
  123. package/lib/api/components/table/table.paginate.d.ts +6 -6
  124. package/lib/api/components/table/tabledit.config.d.ts +8 -8
  125. package/lib/api/components/table/tableedit.config.column.d.ts +10 -10
  126. package/lib/api/directives/template/template.directive.d.ts +11 -11
  127. package/lib/api/helpers/component-providers.d.ts +2 -2
  128. package/lib/api/helpers/keevo-validators.d.ts +11 -11
  129. package/lib/api/helpers/translate-primeng.d.ts +4 -4
  130. package/lib/api/modules/primeng.module.d.ts +62 -62
  131. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -7
  132. package/lib/api/pipes/mask.pipe.d.ts +7 -7
  133. package/lib/api/pipes/pipes.module.d.ts +10 -10
  134. package/lib/api/pipes/telefone.pipe.d.ts +7 -7
  135. package/lib/api/services/base.api.service.d.ts +25 -25
  136. package/lib/api/services/breadcrumbs.service.d.ts +15 -15
  137. package/lib/api/services/component.service.d.ts +11 -11
  138. package/lib/api/services/form.service.d.ts +28 -28
  139. package/lib/api/services/imagens.service.d.ts +10 -10
  140. package/lib/api/services/notification.service.d.ts +25 -25
  141. package/lib/api/services/object.service.d.ts +9 -9
  142. package/lib/components/keevo-components.module.d.ts +24 -24
  143. package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -22
  144. package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -10
  145. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +13 -13
  146. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -13
  147. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -7
  148. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -7
  149. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -11
  150. package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -16
  151. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -9
  152. package/lib/components/kv-chart/kv-chart.component.d.ts +56 -56
  153. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -10
  154. package/lib/components/kv-error/kv-error.component.d.ts +12 -12
  155. package/lib/components/kv-error/kv-error.module.d.ts +10 -10
  156. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -11
  157. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -14
  158. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +36 -36
  159. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -27
  160. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -12
  161. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -19
  162. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -13
  163. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +10 -10
  164. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -16
  165. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -16
  166. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -10
  167. package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -25
  168. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -15
  169. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -18
  170. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -14
  171. package/lib/components/kv-label/kv-label.component.d.ts +7 -7
  172. package/lib/components/kv-label/kv-label.module.d.ts +8 -8
  173. package/lib/components/kv-loader/kv-loader.component.d.ts +8 -8
  174. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -9
  175. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -10
  176. package/lib/components/kv-login/kv-login.component.d.ts +30 -30
  177. package/lib/components/kv-login/kv-login.module.d.ts +13 -13
  178. package/lib/components/kv-menu/kv-menu.component.d.ts +60 -60
  179. package/lib/components/kv-menu/kv-menu.module.d.ts +13 -13
  180. package/lib/components/kv-modal/kv-modal.component.d.ts +20 -20
  181. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -10
  182. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -27
  183. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -9
  184. package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -70
  185. package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -11
  186. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -20
  187. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -10
  188. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -67
  189. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -9
  190. package/lib/components/kv-table/kv-table.component.d.ts +112 -112
  191. package/lib/components/kv-table/kv-table.module.d.ts +11 -11
  192. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +115 -115
  193. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +12 -12
  194. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +43 -43
  195. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -9
  196. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -14
  197. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -9
  198. package/lib/components/kv-workspace/kv-workspace.component.d.ts +46 -46
  199. package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -14
  200. package/package.json +5 -2
  201. package/public-api.d.ts +162 -162
@@ -1,25 +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\"\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\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGV4dC9rdi1pbnB1dC10ZXh0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0L2t2LWlucHV0LXRleHQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBRU4sTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7Ozs7Oz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ICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
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: "16.2.12", ngImport: i0, type: KvInputTextComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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\"\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]" }] }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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\"\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: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { textCaptalized: [{
23
+ type: Input
24
+ }] } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGV4dC9rdi1pbnB1dC10ZXh0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0L2t2LWlucHV0LXRleHQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBRU4sTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7Ozs7Ozs7O0FBWTlFLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxrQkFBMEI7SUFDbEUsWUFBWSxnQk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c3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
@@ -1,42 +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\"\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\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC1jaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyI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aWQge1xyXG4gICAgdGhpcy5jaGVja0JveEVtaXQuZW1pdCh0aGlzLl9jaGVja0JveFZhbHVlKTtcclxuICB9XHJcbn0iLCI8a3YtbGFiZWxcclxuICAgIFtjb21wb25lbnRJZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICBbbGFiZWxdPVwibGFiZWxcIlxyXG4vPlxyXG48ZGl2IGNsYXNzPVwicC1pbnB1dGdyb3VwIFwiPlxyXG4gICAgPHNwYW5cclxuICAgICAgICBjbGFzcz1cInAtaW5wdXRncm91cC1hZGRvblwiXHJcbiAgICAgICAgc3R5bGU9XCJoZWlnaHQ6IDM1cHg7XCJcclxuICAgID48cC1jaGVja2JveFxyXG4gICAgICAgICAgICBbKG5nTW9kZWwpXT1cImNoZWNrQm94VmFsdWVcIlxyXG4gICAgICAgICAgICBbYmluYXJ5XT1cInRydWVcIlxyXG4gICAgICAgICAgICBbcFRvb2x0aXBdPVwidG9vbHRpcENoZWNrYm94XCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkQ2hlY2tib3hcIlxyXG4gICAgICAgID48L3AtY2hlY2tib3g+XHJcblxyXG4gICAgPC9zcGFuPlxyXG5cclxuICAgIDxzcGFuIGNsYXNzPVwicC1mbG9hdC1sYWJlbFwiPlxyXG4gICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgICB0eXBlPVwidGV4dFwiXHJcbiAgICAgICAgICAgIHBJbnB1dFRleHRcclxuICAgICAgICAgICAgW2NsYXNzXT1cImJhc2VJbnB1dENsYXNzXCJcclxuICAgICAgICAgICAgc3R5bGVDbGFzcz1cImlucHV0c1wiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXHJcbiAgICAgICAgICAgIFtpZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICAgICAgICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxyXG4gICAgICAgICAgICAoYmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICAgICAgICAgICAgc3R5bGU9XCJoZWlnaHQ6IDM1cHg7XCJcclxuICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGxcIlxyXG4gICAgICAgIC8+XHJcbiAgICA8L3NwYW4+XHJcbjwvZGl2PlxyXG5cclxuPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPiJdfQ==
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: "16.2.12", ngImport: i0, type: KvInputTextCheckboxComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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\"\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", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]" }] }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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\"\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: function () { return [{ 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dC1jaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGV4dC1jaGVja2JveC9rdi1pbnB1dC10ZXh0LWNoZWNrYm94LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0LWNoZWNrYm94L2t2LWlucHV0LXRleHQtY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDUCxNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUN2RixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQzs7Ozs7Ozs7O0FBUzlFLE1BQU0sT0FBTyw0QkFBNkIsU0FBUSxrQkFBMEI7SUFDMUUsWUFBWSxnQkFBa0M7UUFDNUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFHaEIsaUJBQVksR0FBMEIsSUFBSSxZQUFZLEVBQVcsQ0FBQztRQUduRSxxQkFBZ0IsR0FBWSxLQUFLLENBQUM7UUFFbkMsbUJBQWMs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R5bGVDbGFzcz1cImlucHV0c1wiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXHJcbiAgICAgICAgICAgIFtpZF09XCJjb21wb25lbnRJZFwiXHJcbiAgICAgICAgICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxyXG4gICAgICAgICAgICAoYmx1cik9XCJvbklucHV0Qmx1cigkZXZlbnQpXCJcclxuICAgICAgICAgICAgc3R5bGU9XCJoZWlnaHQ6IDM1cHg7XCJcclxuICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGxcIlxyXG4gICAgICAgIC8+XHJcbiAgICA8L3NwYW4+XHJcbjwvZGl2PlxyXG5cclxuPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPiJdfQ==
@@ -1,43 +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 />\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 />\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtaW5wdXRzL2t2LWlucHV0LXRleHRhcmVhL2t2LWlucHV0LXRleHRhcmVhLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbn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XCJcclxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICBbaWRdPVwiY29tcG9uZW50SWRcIlxyXG4gICAgW3Jvd3NdPVwicm93c1wiXHJcbiAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcclxuICAgIChibHVyKT1cIm9uSW5wdXRCbHVyKCRldmVudClcIlxyXG4gID5cclxuICA8L3RleHRhcmVhPlxyXG5cclxuICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
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: "16.2.12", ngImport: i0, type: KvInputTextareaComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 />\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"], outputs: ["onResize"] }] }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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 />\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: function () { return [{ 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtaW5wdXRzL2t2LWlucHV0LXRleHRhcmVhL2t2LWlucHV0LXRleHRhcmVhLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10ZXh0YXJlYS9rdi1pbnB1dC10ZXh0YXJlYS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE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JcbiAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcclxuICAgIChibHVyKT1cIm9uSW5wdXRCbHVyKCRldmVudClcIlxyXG4gID5cclxuICA8L3RleHRhcmVhPlxyXG5cclxuICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbjwvc3Bhbj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
@@ -1,24 +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\"\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 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\"\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 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGltZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGltZS9rdi1pbnB1dC10aW1lLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10aW1lL2t2LWlucHV0LXRpbWUuY29tcG9uZW50Lmh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3R5bGVDbGFzcz1cImlucHV0c1wiXHJcbiAgICBbc2hvd1RpbWVdPVwidHJ1ZVwiXHJcbiAgICBbdGltZU9ubHldPVwidHJ1ZVwiXHJcbiAgICAob25CbHVyKT1cIm9uSW5wdXRCbHVyKCRldmVudClcIlxyXG4gID5cclxuICA8L3AtY2FsZW5kYXI+XHJcblxyXG4gIDxrdi1lcnJvciBbaGFzRXJyb3JdPVwiaGFzQ29udHJvbEVycm9yKClcIj57eyBlcnJvTWVzc2FnZSgpIH19PC9rdi1lcnJvcj5cclxuPC9zcGFuPlxyXG48bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
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: "16.2.12", ngImport: i0, type: KvInputTimeComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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\"\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 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: ["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", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "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: "16.2.12", 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\"\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 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: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { showIcon: [{
22
+ type: Input
23
+ }] } });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaW5wdXQtdGltZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pbnB1dHMva3YtaW5wdXQtdGltZS9rdi1pbnB1dC10aW1lLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1pbnB1dC10aW1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