@koalarx/ui 20.4.3 → 21.0.0

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 (190) hide show
  1. package/core/base/package.json +2 -1
  2. package/core/components/dialog/package.json +2 -1
  3. package/core/components/kl-root/package.json +2 -1
  4. package/core/components/loader/package.json +2 -1
  5. package/core/components/loader-page/package.json +2 -1
  6. package/core/components/side-window/package.json +2 -1
  7. package/core/components/snackbar/package.json +2 -1
  8. package/core/config/package.json +2 -1
  9. package/core/guards/package.json +2 -1
  10. package/core/middlewares/package.json +2 -1
  11. package/core/models/package.json +2 -1
  12. package/core/translations/package.json +2 -1
  13. package/fesm2022/koalarx-ui-core-base.mjs +5 -5
  14. package/fesm2022/koalarx-ui-core-base.mjs.map +1 -1
  15. package/fesm2022/koalarx-ui-core-components-dialog.mjs +5 -5
  16. package/fesm2022/koalarx-ui-core-components-dialog.mjs.map +1 -1
  17. package/fesm2022/koalarx-ui-core-components-kl-root.mjs +6 -6
  18. package/fesm2022/koalarx-ui-core-components-kl-root.mjs.map +1 -1
  19. package/fesm2022/koalarx-ui-core-components-loader-page.mjs +8 -8
  20. package/fesm2022/koalarx-ui-core-components-loader-page.mjs.map +1 -1
  21. package/fesm2022/koalarx-ui-core-components-loader.mjs +6 -6
  22. package/fesm2022/koalarx-ui-core-components-loader.mjs.map +1 -1
  23. package/fesm2022/koalarx-ui-core-components-side-window.mjs +5 -5
  24. package/fesm2022/koalarx-ui-core-components-side-window.mjs.map +1 -1
  25. package/fesm2022/koalarx-ui-core-components-snackbar.mjs +5 -5
  26. package/fesm2022/koalarx-ui-core-components-snackbar.mjs.map +1 -1
  27. package/fesm2022/koalarx-ui-core-guards.mjs +3 -3
  28. package/fesm2022/koalarx-ui-shared-components-accordion.mjs +6 -6
  29. package/fesm2022/koalarx-ui-shared-components-accordion.mjs.map +1 -1
  30. package/fesm2022/koalarx-ui-shared-components-alert.mjs +6 -6
  31. package/fesm2022/koalarx-ui-shared-components-code-viewer.mjs +8 -8
  32. package/fesm2022/koalarx-ui-shared-components-code-viewer.mjs.map +1 -1
  33. package/fesm2022/koalarx-ui-shared-components-collapse.mjs +5 -5
  34. package/fesm2022/koalarx-ui-shared-components-collapse.mjs.map +1 -1
  35. package/fesm2022/koalarx-ui-shared-components-confirm.mjs +8 -8
  36. package/fesm2022/koalarx-ui-shared-components-confirm.mjs.map +1 -1
  37. package/fesm2022/koalarx-ui-shared-components-datatable.mjs +26 -26
  38. package/fesm2022/koalarx-ui-shared-components-datatable.mjs.map +1 -1
  39. package/fesm2022/koalarx-ui-shared-components-dialog.mjs +10 -10
  40. package/fesm2022/koalarx-ui-shared-components-dialog.mjs.map +1 -1
  41. package/fesm2022/koalarx-ui-shared-components-dropdown.mjs +6 -6
  42. package/fesm2022/koalarx-ui-shared-components-dropdown.mjs.map +1 -1
  43. package/fesm2022/koalarx-ui-shared-components-field-errors.mjs +4 -4
  44. package/fesm2022/koalarx-ui-shared-components-horizontal-menu.mjs +10 -10
  45. package/fesm2022/koalarx-ui-shared-components-horizontal-menu.mjs.map +1 -1
  46. package/fesm2022/koalarx-ui-shared-components-input-field-field-group.mjs +5 -5
  47. package/fesm2022/koalarx-ui-shared-components-input-field-field-group.mjs.map +1 -1
  48. package/fesm2022/koalarx-ui-shared-components-input-field-fieldset.mjs +5 -5
  49. package/fesm2022/koalarx-ui-shared-components-input-field-fieldset.mjs.map +1 -1
  50. package/fesm2022/koalarx-ui-shared-components-input-field-input-checkbox.mjs +6 -6
  51. package/fesm2022/koalarx-ui-shared-components-input-field-input-checkbox.mjs.map +1 -1
  52. package/fesm2022/koalarx-ui-shared-components-input-field-input-cnpj.mjs +5 -5
  53. package/fesm2022/koalarx-ui-shared-components-input-field-input-cnpj.mjs.map +1 -1
  54. package/fesm2022/koalarx-ui-shared-components-input-field-input-cpf.mjs +5 -5
  55. package/fesm2022/koalarx-ui-shared-components-input-field-input-cpf.mjs.map +1 -1
  56. package/fesm2022/koalarx-ui-shared-components-input-field-input-currency.mjs +7 -7
  57. package/fesm2022/koalarx-ui-shared-components-input-field-input-currency.mjs.map +1 -1
  58. package/fesm2022/koalarx-ui-shared-components-input-field-input-date.mjs +6 -6
  59. package/fesm2022/koalarx-ui-shared-components-input-field-input-date.mjs.map +1 -1
  60. package/fesm2022/koalarx-ui-shared-components-input-field-input-datetime.mjs +6 -6
  61. package/fesm2022/koalarx-ui-shared-components-input-field-input-datetime.mjs.map +1 -1
  62. package/fesm2022/koalarx-ui-shared-components-input-field-input-email.mjs +5 -5
  63. package/fesm2022/koalarx-ui-shared-components-input-field-input-email.mjs.map +1 -1
  64. package/fesm2022/koalarx-ui-shared-components-input-field-input-month.mjs +6 -6
  65. package/fesm2022/koalarx-ui-shared-components-input-field-input-month.mjs.map +1 -1
  66. package/fesm2022/koalarx-ui-shared-components-input-field-input-password.mjs +7 -7
  67. package/fesm2022/koalarx-ui-shared-components-input-field-input-password.mjs.map +1 -1
  68. package/fesm2022/koalarx-ui-shared-components-input-field-input-radio.mjs +7 -7
  69. package/fesm2022/koalarx-ui-shared-components-input-field-input-radio.mjs.map +1 -1
  70. package/fesm2022/koalarx-ui-shared-components-input-field-input-text.mjs +6 -6
  71. package/fesm2022/koalarx-ui-shared-components-input-field-input-text.mjs.map +1 -1
  72. package/fesm2022/koalarx-ui-shared-components-input-field-input-time.mjs +6 -6
  73. package/fesm2022/koalarx-ui-shared-components-input-field-input-time.mjs.map +1 -1
  74. package/fesm2022/koalarx-ui-shared-components-input-field-input-url.mjs +5 -5
  75. package/fesm2022/koalarx-ui-shared-components-input-field-input-url.mjs.map +1 -1
  76. package/fesm2022/koalarx-ui-shared-components-input-field-select.mjs +14 -14
  77. package/fesm2022/koalarx-ui-shared-components-input-field-select.mjs.map +1 -1
  78. package/fesm2022/koalarx-ui-shared-components-input-field-switcher.mjs +6 -6
  79. package/fesm2022/koalarx-ui-shared-components-input-field-switcher.mjs.map +1 -1
  80. package/fesm2022/koalarx-ui-shared-components-input-field-textarea.mjs +7 -7
  81. package/fesm2022/koalarx-ui-shared-components-input-field-textarea.mjs.map +1 -1
  82. package/fesm2022/koalarx-ui-shared-components-input-field.mjs +12 -12
  83. package/fesm2022/koalarx-ui-shared-components-input-field.mjs.map +1 -1
  84. package/fesm2022/koalarx-ui-shared-components-on-this-page.mjs +7 -7
  85. package/fesm2022/koalarx-ui-shared-components-on-this-page.mjs.map +1 -1
  86. package/fesm2022/koalarx-ui-shared-components-side-window.mjs +11 -11
  87. package/fesm2022/koalarx-ui-shared-components-side-window.mjs.map +1 -1
  88. package/fesm2022/koalarx-ui-shared-components-snackbar.mjs +12 -12
  89. package/fesm2022/koalarx-ui-shared-components-snackbar.mjs.map +1 -1
  90. package/fesm2022/koalarx-ui-shared-components-stepper.mjs +10 -10
  91. package/fesm2022/koalarx-ui-shared-components-vertical-menu.mjs +10 -10
  92. package/fesm2022/koalarx-ui-shared-components-vertical-menu.mjs.map +1 -1
  93. package/fesm2022/koalarx-ui-shared-directives.mjs +25 -25
  94. package/fesm2022/koalarx-ui-shared-directives.mjs.map +1 -1
  95. package/fesm2022/koalarx-ui-shared-services.mjs +3 -3
  96. package/fesm2022/koalarx-ui-shared-utils.mjs +3 -3
  97. package/fesm2022/koalarx-ui.mjs +6 -6
  98. package/package.json +108 -108
  99. package/shared/components/accordion/package.json +2 -1
  100. package/shared/components/alert/package.json +2 -1
  101. package/shared/components/code-viewer/package.json +2 -1
  102. package/shared/components/collapse/package.json +2 -1
  103. package/shared/components/confirm/package.json +2 -1
  104. package/shared/components/datatable/package.json +2 -1
  105. package/shared/components/dialog/package.json +2 -1
  106. package/shared/components/dropdown/package.json +2 -1
  107. package/shared/components/field-errors/package.json +2 -1
  108. package/shared/components/horizontal-menu/package.json +2 -1
  109. package/shared/components/input-field/field-group/package.json +2 -1
  110. package/shared/components/input-field/fieldset/package.json +2 -1
  111. package/shared/components/input-field/input-checkbox/package.json +2 -1
  112. package/shared/components/input-field/input-cnpj/package.json +2 -1
  113. package/shared/components/input-field/input-cpf/package.json +2 -1
  114. package/shared/components/input-field/input-currency/package.json +2 -1
  115. package/shared/components/input-field/input-date/package.json +2 -1
  116. package/shared/components/input-field/input-datetime/package.json +2 -1
  117. package/shared/components/input-field/input-email/package.json +2 -1
  118. package/shared/components/input-field/input-month/package.json +2 -1
  119. package/shared/components/input-field/input-password/package.json +2 -1
  120. package/shared/components/input-field/input-radio/package.json +2 -1
  121. package/shared/components/input-field/input-text/package.json +2 -1
  122. package/shared/components/input-field/input-time/package.json +2 -1
  123. package/shared/components/input-field/input-url/package.json +2 -1
  124. package/shared/components/input-field/package.json +2 -1
  125. package/shared/components/input-field/select/package.json +2 -1
  126. package/shared/components/input-field/switcher/package.json +2 -1
  127. package/shared/components/input-field/textarea/package.json +2 -1
  128. package/shared/components/on-this-page/package.json +2 -1
  129. package/shared/components/side-window/package.json +2 -1
  130. package/shared/components/snackbar/package.json +2 -1
  131. package/shared/components/stepper/package.json +2 -1
  132. package/shared/components/vertical-menu/package.json +2 -1
  133. package/shared/directives/package.json +2 -1
  134. package/shared/services/package.json +2 -1
  135. package/shared/utils/package.json +2 -1
  136. package/shared/validators/package.json +2 -1
  137. package/theme/form.css +31 -84
  138. package/theme/package.json +2 -1
  139. /package/{core/base/index.d.ts → types/koalarx-ui-core-base.d.ts} +0 -0
  140. /package/{core/components/dialog/index.d.ts → types/koalarx-ui-core-components-dialog.d.ts} +0 -0
  141. /package/{core/components/kl-root/index.d.ts → types/koalarx-ui-core-components-kl-root.d.ts} +0 -0
  142. /package/{core/components/loader-page/index.d.ts → types/koalarx-ui-core-components-loader-page.d.ts} +0 -0
  143. /package/{core/components/loader/index.d.ts → types/koalarx-ui-core-components-loader.d.ts} +0 -0
  144. /package/{core/components/side-window/index.d.ts → types/koalarx-ui-core-components-side-window.d.ts} +0 -0
  145. /package/{core/components/snackbar/index.d.ts → types/koalarx-ui-core-components-snackbar.d.ts} +0 -0
  146. /package/{core/config/index.d.ts → types/koalarx-ui-core-config.d.ts} +0 -0
  147. /package/{core/guards/index.d.ts → types/koalarx-ui-core-guards.d.ts} +0 -0
  148. /package/{core/middlewares/index.d.ts → types/koalarx-ui-core-middlewares.d.ts} +0 -0
  149. /package/{core/models/index.d.ts → types/koalarx-ui-core-models.d.ts} +0 -0
  150. /package/{core/translations/index.d.ts → types/koalarx-ui-core-translations.d.ts} +0 -0
  151. /package/{shared/components/accordion/index.d.ts → types/koalarx-ui-shared-components-accordion.d.ts} +0 -0
  152. /package/{shared/components/alert/index.d.ts → types/koalarx-ui-shared-components-alert.d.ts} +0 -0
  153. /package/{shared/components/code-viewer/index.d.ts → types/koalarx-ui-shared-components-code-viewer.d.ts} +0 -0
  154. /package/{shared/components/collapse/index.d.ts → types/koalarx-ui-shared-components-collapse.d.ts} +0 -0
  155. /package/{shared/components/confirm/index.d.ts → types/koalarx-ui-shared-components-confirm.d.ts} +0 -0
  156. /package/{shared/components/datatable/index.d.ts → types/koalarx-ui-shared-components-datatable.d.ts} +0 -0
  157. /package/{shared/components/dialog/index.d.ts → types/koalarx-ui-shared-components-dialog.d.ts} +0 -0
  158. /package/{shared/components/dropdown/index.d.ts → types/koalarx-ui-shared-components-dropdown.d.ts} +0 -0
  159. /package/{shared/components/field-errors/index.d.ts → types/koalarx-ui-shared-components-field-errors.d.ts} +0 -0
  160. /package/{shared/components/horizontal-menu/index.d.ts → types/koalarx-ui-shared-components-horizontal-menu.d.ts} +0 -0
  161. /package/{shared/components/input-field/field-group/index.d.ts → types/koalarx-ui-shared-components-input-field-field-group.d.ts} +0 -0
  162. /package/{shared/components/input-field/fieldset/index.d.ts → types/koalarx-ui-shared-components-input-field-fieldset.d.ts} +0 -0
  163. /package/{shared/components/input-field/input-checkbox/index.d.ts → types/koalarx-ui-shared-components-input-field-input-checkbox.d.ts} +0 -0
  164. /package/{shared/components/input-field/input-cnpj/index.d.ts → types/koalarx-ui-shared-components-input-field-input-cnpj.d.ts} +0 -0
  165. /package/{shared/components/input-field/input-cpf/index.d.ts → types/koalarx-ui-shared-components-input-field-input-cpf.d.ts} +0 -0
  166. /package/{shared/components/input-field/input-currency/index.d.ts → types/koalarx-ui-shared-components-input-field-input-currency.d.ts} +0 -0
  167. /package/{shared/components/input-field/input-date/index.d.ts → types/koalarx-ui-shared-components-input-field-input-date.d.ts} +0 -0
  168. /package/{shared/components/input-field/input-datetime/index.d.ts → types/koalarx-ui-shared-components-input-field-input-datetime.d.ts} +0 -0
  169. /package/{shared/components/input-field/input-email/index.d.ts → types/koalarx-ui-shared-components-input-field-input-email.d.ts} +0 -0
  170. /package/{shared/components/input-field/input-month/index.d.ts → types/koalarx-ui-shared-components-input-field-input-month.d.ts} +0 -0
  171. /package/{shared/components/input-field/input-password/index.d.ts → types/koalarx-ui-shared-components-input-field-input-password.d.ts} +0 -0
  172. /package/{shared/components/input-field/input-radio/index.d.ts → types/koalarx-ui-shared-components-input-field-input-radio.d.ts} +0 -0
  173. /package/{shared/components/input-field/input-text/index.d.ts → types/koalarx-ui-shared-components-input-field-input-text.d.ts} +0 -0
  174. /package/{shared/components/input-field/input-time/index.d.ts → types/koalarx-ui-shared-components-input-field-input-time.d.ts} +0 -0
  175. /package/{shared/components/input-field/input-url/index.d.ts → types/koalarx-ui-shared-components-input-field-input-url.d.ts} +0 -0
  176. /package/{shared/components/input-field/select/index.d.ts → types/koalarx-ui-shared-components-input-field-select.d.ts} +0 -0
  177. /package/{shared/components/input-field/switcher/index.d.ts → types/koalarx-ui-shared-components-input-field-switcher.d.ts} +0 -0
  178. /package/{shared/components/input-field/textarea/index.d.ts → types/koalarx-ui-shared-components-input-field-textarea.d.ts} +0 -0
  179. /package/{shared/components/input-field/index.d.ts → types/koalarx-ui-shared-components-input-field.d.ts} +0 -0
  180. /package/{shared/components/on-this-page/index.d.ts → types/koalarx-ui-shared-components-on-this-page.d.ts} +0 -0
  181. /package/{shared/components/side-window/index.d.ts → types/koalarx-ui-shared-components-side-window.d.ts} +0 -0
  182. /package/{shared/components/snackbar/index.d.ts → types/koalarx-ui-shared-components-snackbar.d.ts} +0 -0
  183. /package/{shared/components/stepper/index.d.ts → types/koalarx-ui-shared-components-stepper.d.ts} +0 -0
  184. /package/{shared/components/vertical-menu/index.d.ts → types/koalarx-ui-shared-components-vertical-menu.d.ts} +0 -0
  185. /package/{shared/directives/index.d.ts → types/koalarx-ui-shared-directives.d.ts} +0 -0
  186. /package/{shared/services/index.d.ts → types/koalarx-ui-shared-services.d.ts} +0 -0
  187. /package/{shared/utils/index.d.ts → types/koalarx-ui-shared-utils.d.ts} +0 -0
  188. /package/{shared/validators/index.d.ts → types/koalarx-ui-shared-validators.d.ts} +0 -0
  189. /package/{theme/index.d.ts → types/koalarx-ui-theme.d.ts} +0 -0
  190. /package/{index.d.ts → types/koalarx-ui.d.ts} +0 -0
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component } from '@angular/core';
2
+ import { input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
4
4
 
5
5
  class InputDate extends InputFieldBase {
6
6
  min = input(...(ngDevMode ? [undefined, { debugName: "min" }] : []));
7
7
  max = input(...(ngDevMode ? [undefined, { debugName: "max" }] : []));
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputDate, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputDate, isStandalone: true, selector: "kl-input-date", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputDate, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: InputDate, isStandalone: true, selector: "kl-input-date", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputDate, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputDate, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'kl-input-date', imports: [InputField], template: "<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
- }] });
13
+ args: [{ selector: 'kl-input-date', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
+ }], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }] } });
15
15
 
16
16
  /**
17
17
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-date.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-date/input-date.ts","../../projects/koala-ui/shared/components/input-field/input-date/input-date.html","../../projects/koala-ui/shared/components/input-field/input-date/koalarx-ui-shared-components-input-field-input-date.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-date',\n templateUrl: './input-date.html',\n imports: [InputField],\n})\nexport class InputDate extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAWM,MAAO,SAAU,SAAQ,cAAc,CAAA;IAC3C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECXtB,2PAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,SAAS,EAAA,UAAA,EAAA,CAAA;kBALrB,SAAS;+BACE,eAAe,EAAA,OAAA,EAEhB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,2PAAA,EAAA;;;AETvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-date.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-date/input-date.ts","../../projects/koala-ui/shared/components/input-field/input-date/input-date.html","../../projects/koala-ui/shared/components/input-field/input-date/koalarx-ui-shared-components-input-field-input-date.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-date',\n templateUrl: './input-date.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDate extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"date\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAYM,MAAO,SAAU,SAAQ,cAAc,CAAA;IAC3C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZtB,2PAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,WAEhB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2PAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component } from '@angular/core';
2
+ import { input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
4
4
 
5
5
  class InputDatetime extends InputFieldBase {
6
6
  min = input(...(ngDevMode ? [undefined, { debugName: "min" }] : []));
7
7
  max = input(...(ngDevMode ? [undefined, { debugName: "max" }] : []));
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputDatetime, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputDatetime, isStandalone: true, selector: "kl-input-datetime", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputDatetime, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: InputDatetime, isStandalone: true, selector: "kl-input-datetime", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputDatetime, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputDatetime, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'kl-input-datetime', imports: [InputField], template: "<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
- }] });
13
+ args: [{ selector: 'kl-input-datetime', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
+ }], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }] } });
15
15
 
16
16
  /**
17
17
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-datetime.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-datetime/input-datetime.ts","../../projects/koala-ui/shared/components/input-field/input-datetime/input-datetime.html","../../projects/koala-ui/shared/components/input-field/input-datetime/koalarx-ui-shared-components-input-field-input-datetime.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-datetime',\n templateUrl: './input-datetime.html',\n imports: [InputField],\n})\nexport class InputDatetime extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAWM,MAAO,aAAc,SAAQ,cAAc,CAAA;IAC/C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECX1B,qQAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;+BACE,mBAAmB,EAAA,OAAA,EAEpB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,qQAAA,EAAA;;;AETvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-datetime.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-datetime/input-datetime.ts","../../projects/koala-ui/shared/components/input-field/input-datetime/input-datetime.html","../../projects/koala-ui/shared/components/input-field/input-datetime/koalarx-ui-shared-components-input-field-input-datetime.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-datetime',\n templateUrl: './input-datetime.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDatetime extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"datetime-local\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**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,QAAA,EAAA,mBAAmB,WAEpB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qQAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { effect, Component } from '@angular/core';
2
+ import { effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { Validators } from '@angular/forms';
4
4
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
5
5
 
@@ -11,12 +11,12 @@ class InputEmail extends InputFieldBase {
11
11
  control.addValidators(Validators.email);
12
12
  });
13
13
  }
14
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputEmail, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: InputEmail, isStandalone: true, selector: "kl-input-email", usesInheritance: true, ngImport: i0, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputEmail, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: InputEmail, isStandalone: true, selector: "kl-input-email", usesInheritance: true, ngImport: i0, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputEmail, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputEmail, decorators: [{
18
18
  type: Component,
19
- args: [{ selector: 'kl-input-email', imports: [InputField], template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n" }]
19
+ args: [{ selector: 'kl-input-email', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n" }]
20
20
  }], ctorParameters: () => [] });
21
21
 
22
22
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-email.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-email/input-email.ts","../../projects/koala-ui/shared/components/input-field/input-email/input-email.html","../../projects/koala-ui/shared/components/input-field/input-email/koalarx-ui-shared-components-input-field-input-email.ts"],"sourcesContent":["import { Component, effect } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-email',\n templateUrl: './input-email.html',\n imports: [InputField],\n})\nexport class InputEmail extends InputFieldBase {\n constructor() {\n super();\n\n effect(() => {\n const control = this.control();\n\n control.addValidators(Validators.email);\n });\n }\n}\n","<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAYM,MAAO,UAAW,SAAQ,cAAc,CAAA;AAC5C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAE9B,YAAA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC;AACzC,SAAC,CAAC;;uGARO,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZvB,mJAOA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,mJAAA,EAAA;;;AEVvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-email.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-email/input-email.ts","../../projects/koala-ui/shared/components/input-field/input-email/input-email.html","../../projects/koala-ui/shared/components/input-field/input-email/koalarx-ui-shared-components-input-field-input-email.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, effect } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-email',\n templateUrl: './input-email.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputEmail extends InputFieldBase {\n constructor() {\n super();\n\n effect(() => {\n const control = this.control();\n\n control.addValidators(Validators.email);\n });\n }\n}\n","<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"email\"\n/>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAaM,MAAO,UAAW,SAAQ,cAAc,CAAA;AAC5C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAE9B,YAAA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC;AACzC,SAAC,CAAC;;uGARO,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbvB,mJAOA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,UAAU,EAAA,UAAA,EAAA,CAAA;kBANtB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,WAEjB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mJAAA,EAAA;;;AEXjD;;AAEG;;;;"}
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component } from '@angular/core';
2
+ import { input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
4
4
 
5
5
  class InputMonth extends InputFieldBase {
6
6
  min = input(...(ngDevMode ? [undefined, { debugName: "min" }] : []));
7
7
  max = input(...(ngDevMode ? [undefined, { debugName: "max" }] : []));
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputMonth, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputMonth, isStandalone: true, selector: "kl-input-month", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputMonth, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: InputMonth, isStandalone: true, selector: "kl-input-month", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputMonth, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputMonth, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'kl-input-month', imports: [InputField], template: "<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
- }] });
13
+ args: [{ selector: 'kl-input-month', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
+ }], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }] } });
15
15
 
16
16
  /**
17
17
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-month.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-month/input-month.ts","../../projects/koala-ui/shared/components/input-field/input-month/input-month.html","../../projects/koala-ui/shared/components/input-field/input-month/koalarx-ui-shared-components-input-field-input-month.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-month',\n templateUrl: './input-month.html',\n imports: [InputField],\n})\nexport class InputMonth extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAWM,MAAO,UAAW,SAAQ,cAAc,CAAA;IAC5C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,UAAU,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECXvB,4PAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,4PAAA,EAAA;;;AETvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-month.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-month/input-month.ts","../../projects/koala-ui/shared/components/input-field/input-month/input-month.html","../../projects/koala-ui/shared/components/input-field/input-month/koalarx-ui-shared-components-input-field-input-month.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-month',\n templateUrl: './input-month.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputMonth extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"month\"\n [control]=\"control()\"\n [label]=\"label()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAYM,MAAO,UAAW,SAAQ,cAAc,CAAA;IAC5C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,UAAU,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZvB,4PAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,UAAU,EAAA,UAAA,EAAA,CAAA;kBANtB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,WAEjB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4PAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, signal, input, booleanAttribute, Component } from '@angular/core';
2
+ import { inject, signal, input, booleanAttribute, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import * as i1 from '@angular/forms';
4
4
  import { Validators, ReactiveFormsModule } from '@angular/forms';
5
5
  import { AppConfig } from '@koalarx/ui/core/config';
@@ -37,7 +37,7 @@ function HasUppercaseValidator(control) {
37
37
  class InputPassword extends InputFieldBase {
38
38
  translations = inject(AppConfig).translation.form;
39
39
  type = signal('password', ...(ngDevMode ? [{ debugName: "type" }] : []));
40
- enableStrongPasswordCheck = input(false, ...(ngDevMode ? [{ debugName: "enableStrongPasswordCheck", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
40
+ enableStrongPasswordCheck = input(false, { ...(ngDevMode ? { debugName: "enableStrongPasswordCheck" } : {}), transform: booleanAttribute });
41
41
  togglePasswordVisibility() {
42
42
  this.type.set(this.type() === 'password' ? 'text' : 'password');
43
43
  }
@@ -52,13 +52,13 @@ class InputPassword extends InputFieldBase {
52
52
  ]);
53
53
  }
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputPassword, deps: null, target: i0.ɵɵFactoryTarget.Component });
56
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: InputPassword, isStandalone: true, selector: "kl-input-password", inputs: { enableStrongPasswordCheck: { classPropertyName: "enableStrongPasswordCheck", publicName: "enableStrongPasswordCheck", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FieldErrors, selector: "kl-field-errors", inputs: ["field"] }] });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputPassword, deps: null, target: i0.ɵɵFactoryTarget.Component });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: InputPassword, isStandalone: true, selector: "kl-input-password", inputs: { enableStrongPasswordCheck: { classPropertyName: "enableStrongPasswordCheck", publicName: "enableStrongPasswordCheck", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FieldErrors, selector: "kl-field-errors", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputPassword, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputPassword, decorators: [{
59
59
  type: Component,
60
- args: [{ selector: 'kl-input-password', imports: [ReactiveFormsModule, FieldErrors], template: "<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n" }]
61
- }] });
60
+ args: [{ selector: 'kl-input-password', imports: [ReactiveFormsModule, FieldErrors], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n" }]
61
+ }], propDecorators: { enableStrongPasswordCheck: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableStrongPasswordCheck", required: false }] }] } });
62
62
 
63
63
  /**
64
64
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-password.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-password/has-lowercase-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-number-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-special-characters-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-uppercase-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/input-password.ts","../../projects/koala-ui/shared/components/input-field/input-password/input-password.html","../../projects/koala-ui/shared/components/input-field/input-password/koalarx-ui-shared-components-input-field-input-password.ts"],"sourcesContent":["import { AbstractControl } from '@angular/forms';\n\nexport function HasLowercaseValidator(control: AbstractControl) {\n if (!/[a-z]/.test(control.value)) {\n return { hasLowercase: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasNumberValidator(control: AbstractControl) {\n if (!/\\d/.test(control.value)) {\n return { hasNumber: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasSpecialCharactersValidator(control: AbstractControl) {\n if (!/[ `!@#$%^&*()_+\\-=[\\]{};':\"\\\\|,.<>/?~]/.test(control.value)) {\n return { hasSpecialCharacters: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasUppercaseValidator(control: AbstractControl) {\n if (!/[A-Z]/.test(control.value)) {\n return { hasUppercase: true };\n }\n\n return null;\n}\n","import {\n booleanAttribute,\n Component,\n inject,\n input,\n OnInit,\n signal,\n} from '@angular/core';\nimport { ReactiveFormsModule, Validators } from '@angular/forms';\nimport { AppConfig } from '@koalarx/ui/core/config';\nimport { FieldErrors } from '@koalarx/ui/shared/components/field-errors';\nimport { InputFieldBase } from '@koalarx/ui/shared/components/input-field';\nimport { HasLowercaseValidator } from './has-lowercase-validator';\nimport { HasNumberValidator } from './has-number-validator';\nimport { HasSpecialCharactersValidator } from './has-special-characters-validator';\nimport { HasUppercaseValidator } from './has-uppercase-validator';\n\ntype InputPasswordType = 'password' | 'text';\n\n@Component({\n selector: 'kl-input-password',\n templateUrl: './input-password.html',\n imports: [ReactiveFormsModule, FieldErrors],\n})\nexport class InputPassword extends InputFieldBase implements OnInit {\n readonly translations = inject(AppConfig).translation.form;\n\n type = signal<InputPasswordType>('password');\n enableStrongPasswordCheck = input(false, { transform: booleanAttribute });\n\n togglePasswordVisibility() {\n this.type.set(this.type() === 'password' ? 'text' : 'password');\n }\n\n ngOnInit(): void {\n if (this.enableStrongPasswordCheck()) {\n this.control().addValidators([\n HasSpecialCharactersValidator,\n HasLowercaseValidator,\n HasUppercaseValidator,\n HasNumberValidator,\n Validators.minLength(8),\n ]);\n }\n }\n}\n","<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEM,SAAU,qBAAqB,CAAC,OAAwB,EAAA;IAC5D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAChC,QAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE;;AAG/B,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,kBAAkB,CAAC,OAAwB,EAAA;IACzD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC7B,QAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;;AAG5B,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,6BAA6B,CAAC,OAAwB,EAAA;IACpE,IAAI,CAAC,wCAAwC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACjE,QAAA,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE;;AAGvC,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,qBAAqB,CAAC,OAAwB,EAAA;IAC5D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAChC,QAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE;;AAG/B,IAAA,OAAO,IAAI;AACb;;ACgBM,MAAO,aAAc,S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,UAAA,EAAA,IAAA,EDxCY,mBAAmB,uyBAAE,WAAW,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAE/B,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mBAAmB,EAAA,OAAA,EAEpB,CAAC,mBAAmB,EAAE,WAAW,CAAC,EAAA,QAAA,EAAA,8sDAAA,EAAA;;;AEtB7C;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-password.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-password/has-lowercase-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-number-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-special-characters-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/has-uppercase-validator.ts","../../projects/koala-ui/shared/components/input-field/input-password/input-password.ts","../../projects/koala-ui/shared/components/input-field/input-password/input-password.html","../../projects/koala-ui/shared/components/input-field/input-password/koalarx-ui-shared-components-input-field-input-password.ts"],"sourcesContent":["import { AbstractControl } from '@angular/forms';\n\nexport function HasLowercaseValidator(control: AbstractControl) {\n if (!/[a-z]/.test(control.value)) {\n return { hasLowercase: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasNumberValidator(control: AbstractControl) {\n if (!/\\d/.test(control.value)) {\n return { hasNumber: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasSpecialCharactersValidator(control: AbstractControl) {\n if (!/[ `!@#$%^&*()_+\\-=[\\]{};':\"\\\\|,.<>/?~]/.test(control.value)) {\n return { hasSpecialCharacters: true };\n }\n\n return null;\n}\n","import { AbstractControl } from '@angular/forms';\n\nexport function HasUppercaseValidator(control: AbstractControl) {\n if (!/[A-Z]/.test(control.value)) {\n return { hasUppercase: true };\n }\n\n return null;\n}\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n inject,\n input,\n OnInit,\n signal,\n} from '@angular/core';\nimport { ReactiveFormsModule, Validators } from '@angular/forms';\nimport { AppConfig } from '@koalarx/ui/core/config';\nimport { FieldErrors } from '@koalarx/ui/shared/components/field-errors';\nimport { InputFieldBase } from '@koalarx/ui/shared/components/input-field';\nimport { HasLowercaseValidator } from './has-lowercase-validator';\nimport { HasNumberValidator } from './has-number-validator';\nimport { HasSpecialCharactersValidator } from './has-special-characters-validator';\nimport { HasUppercaseValidator } from './has-uppercase-validator';\n\ntype InputPasswordType = 'password' | 'text';\n\n@Component({\n selector: 'kl-input-password',\n templateUrl: './input-password.html',\n imports: [ReactiveFormsModule, FieldErrors],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPassword extends InputFieldBase implements OnInit {\n readonly translations = inject(AppConfig).translation.form;\n\n type = signal<InputPasswordType>('password');\n enableStrongPasswordCheck = input(false, { transform: booleanAttribute });\n\n togglePasswordVisibility() {\n this.type.set(this.type() === 'password' ? 'text' : 'password');\n }\n\n ngOnInit(): void {\n if (this.enableStrongPasswordCheck()) {\n this.control().addValidators([\n HasSpecialCharactersValidator,\n HasLowercaseValidator,\n HasUppercaseValidator,\n HasNumberValidator,\n Validators.minLength(8),\n ]);\n }\n }\n}\n","<label [attr.for]=\"fieldId\" class=\"floating-label input validator w-full\">\n @if (label(); as label) {\n <span class=\"label\">\n <ng-content select=\"[icon]\" />\n {{ label }} {{ isRequired() ? '*' : '' }}\n </span>\n }\n\n <input\n [id]=\"fieldId\"\n [formControl]=\"control()\"\n [placeholder]=\"label()\n ? label() + (isRequired() ? '*' : '')\n : placeholder()\"\n [required]=\"isRequired()\"\n [type]=\"type()\"\n />\n\n <button class=\"cursor-pointer\" type=\"button\" (click)=\"togglePasswordVisibility()\">\n @if (type() === 'password') {\n <i class=\"fa-regular fa-eye-slash\"></i>\n } @else {\n <i class=\"fa-regular fa-eye\"></i>\n }\n </button>\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n\n<kl-field-errors [field]=\"control()\">\n <ng-container errors>\n @if (control().errors?.['hasSpecialCharacters']) {\n {{translations.invalidPasswordHasSpecialCharacters}}<br/>\n }\n\n @if (control().errors?.['hasUppercase']) {\n {{translations.invalidPasswordHasUppercase}}<br/>\n }\n\n @if (control().errors?.['hasLowercase']) {\n {{translations.invalidPasswordHasLowercase}}<br/>\n }\n\n @if (control().errors?.['hasNumber']) {\n {{translations.invalidPasswordHasNumber}}<br/>\n }\n\n @if (control().errors?.['minlength']) {\n {{translations.invalidMinLength(control().errors?.['minlength'].requiredLength)}}<br/>\n }\n\n @if (control().errors?.['confirmPassword']) {\n {{translations.invalidConfirmPassword}}<br/>\n }\n\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-field-errors>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEM,SAAU,qBAAqB,CAAC,OAAwB,EAAA;IAC5D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAChC,QAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE;;AAG/B,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,kBAAkB,CAAC,OAAwB,EAAA;IACzD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC7B,QAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;;AAG5B,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,6BAA6B,CAAC,OAAwB,EAAA;IACpE,IAAI,CAAC,wCAAwC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACjE,QAAA,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE;;AAGvC,IAAA,OAAO,IAAI;AACb;;ACNM,SAAU,qBAAqB,CAAC,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AAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC1B1B,8sDA8DA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDvCY,mBAAmB,uyBAAE,WAAW,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAG/B,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,SAAS;+BACE,mBAAmB,EAAA,OAAA,EAEpB,CAAC,mBAAmB,EAAE,WAAW,CAAC,EAAA,eAAA,EAC1B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8sDAAA,EAAA;;;AExBjD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { viewChild, input, booleanAttribute, effect, Component } from '@angular/core';
2
+ import { viewChild, input, booleanAttribute, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { ReactiveFormsModule } from '@angular/forms';
4
4
  import { InputFieldBase } from '@koalarx/ui/shared/components/input-field';
5
5
 
@@ -9,7 +9,7 @@ class InputRadio extends InputFieldBase {
9
9
  size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
10
10
  name = input.required(...(ngDevMode ? [{ debugName: "name" }] : []));
11
11
  value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
12
- disableAutoTypeConversion = input(false, ...(ngDevMode ? [{ debugName: "disableAutoTypeConversion", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
12
+ disableAutoTypeConversion = input(false, { ...(ngDevMode ? { debugName: "disableAutoTypeConversion" } : {}), transform: booleanAttribute });
13
13
  getColorClass() {
14
14
  switch (this.color()) {
15
15
  case 'neutral':
@@ -75,13 +75,13 @@ class InputRadio extends InputFieldBase {
75
75
  }
76
76
  this.control().setValue(value);
77
77
  }
78
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputRadio, deps: [], target: i0.ɵɵFactoryTarget.Component });
79
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: InputRadio, isStandalone: true, selector: "kl-input-radio", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disableAutoTypeConversion: { classPropertyName: "disableAutoTypeConversion", publicName: "disableAutoTypeConversion", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "inputRadioElement", first: true, predicate: ["inputRadio"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }] });
78
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputRadio, deps: [], target: i0.ɵɵFactoryTarget.Component });
79
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: InputRadio, isStandalone: true, selector: "kl-input-radio", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disableAutoTypeConversion: { classPropertyName: "disableAutoTypeConversion", publicName: "disableAutoTypeConversion", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "inputRadioElement", first: true, predicate: ["inputRadio"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputRadio, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputRadio, decorators: [{
82
82
  type: Component,
83
- args: [{ selector: 'kl-input-radio', imports: [ReactiveFormsModule], template: "<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n" }]
84
- }], ctorParameters: () => [] });
83
+ args: [{ selector: 'kl-input-radio', imports: [ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n" }]
84
+ }], ctorParameters: () => [], propDecorators: { inputRadioElement: [{ type: i0.ViewChild, args: ['inputRadio', { isSignal: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disableAutoTypeConversion: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableAutoTypeConversion", required: false }] }] } });
85
85
 
86
86
  /**
87
87
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-radio.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-radio/input-radio.ts","../../projects/koala-ui/shared/components/input-field/input-radio/input-radio.html","../../projects/koala-ui/shared/components/input-field/input-radio/koalarx-ui-shared-components-input-field-input-radio.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n effect,\n ElementRef,\n input,\n viewChild,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { InputFieldBase } from '@koalarx/ui/shared/components/input-field';\n\nexport type RadioColor =\n | 'neutral'\n | 'primary'\n | 'secondary'\n | 'accent'\n | 'info'\n | 'success'\n | 'warning'\n | 'error'\n | 'ghost';\n\nexport type RadioSize =\n | 'extraSmall'\n | 'small'\n | 'medium'\n | 'large'\n | 'extraLarge';\n\n@Component({\n selector: 'kl-input-radio',\n templateUrl: './input-radio.html',\n imports: [ReactiveFormsModule],\n})\nexport class InputRadio extends InputFieldBase {\n private readonly inputRadioElement =\n viewChild<ElementRef<HTMLInputElement>>('inputRadio');\n\n color = input<RadioColor>();\n size = input<RadioSize>();\n name = input.required<string>();\n value = input.required<string | number>();\n disableAutoTypeConversion = input(false, { transform: booleanAttribute });\n\n private getColorClass(): string {\n switch (this.color()) {\n case 'neutral':\n return 'radio-neutral';\n case 'primary':\n return 'radio-primary';\n case 'secondary':\n return 'radio-secondary';\n case 'accent':\n return 'radio-accent';\n case 'info':\n return 'radio-info';\n case 'success':\n return 'radio-success';\n case 'warning':\n return 'radio-warning';\n case 'error':\n return 'radio-error';\n case 'ghost':\n return 'radio-ghost';\n default:\n return 'radio';\n }\n }\n\n private getSizeClass(): string {\n switch (this.size()) {\n case 'extraSmall':\n return 'radio-xs';\n case 'small':\n return 'radio-sm';\n case 'medium':\n return 'radio-md';\n case 'large':\n return 'radio-lg';\n case 'extraLarge':\n return 'radio-xl';\n default:\n return 'radio';\n }\n }\n\n constructor() {\n super();\n\n effect(() => {\n const input = this.inputRadioElement()?.nativeElement;\n\n if (input) {\n input.classList.add(this.getColorClass());\n }\n });\n\n effect(() => {\n const input = this.inputRadioElement()?.nativeElement;\n\n if (input) {\n input.classList.add(this.getSizeClass());\n }\n });\n }\n\n toggle(event: Event) {\n const target = event.target as HTMLInputElement;\n\n let value: string | number = target.value;\n\n if (\n !Number.isNaN(parseInt(value as any)) &&\n !/^0+[1-9]\\d*$/.test(value) &&\n !this.disableAutoTypeConversion()\n ) {\n value = Number(value);\n }\n\n this.control().setValue(value);\n }\n}\n","<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAkCM,MAAO,UAAW,SAAQ,cAAc,CAAA;AAC3B,IAAA,iBAAiB,GAChC,SAAS,CAA+B,YAAY,6DAAC;IAEvD,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAc;IAC3B,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAa;AACzB,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAU;AAC/B,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,gDAAmB;AACzC,IAAA,yBAAyB,GAAG,KAAK,CAAC,KAAK,6DAAI,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CAA7B,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAC;IAEjE,aAAa,GAAA;AACnB,QAAA,QAAQ,IAAI,CAAC,KAAK,EAAE;AAClB,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,eAAe;AACxB,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,eAAe;AACxB,YAAA,KAAK,WAAW;AACd,gBAAA,OAAO,iBAAiB;AAC1B,YAAA,KAAK,QAAQ;AACX,gBAAA,OAAO,cAAc;AACvB,YAAA,KAAK,MAAM;AACT,gBAAA,OAAO,YAAY;AACrB,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,eAAe;AACxB,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,eAAe;AACxB,YAAA,KAAK,OAAO;AACV,gBAAA,OAAO,aA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AA,EClCvB,4eAoBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDYY,mBAAmB,EAAA,CAAA,EAAA,CAAA;;2FAElB,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,mBAAmB,CAAC,EAAA,QAAA,EAAA,4eAAA,EAAA;;;AEhChC;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-radio.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-radio/input-radio.ts","../../projects/koala-ui/shared/components/input-field/input-radio/input-radio.html","../../projects/koala-ui/shared/components/input-field/input-radio/koalarx-ui-shared-components-input-field-input-radio.ts"],"sourcesContent":["import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n input,\n viewChild,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { InputFieldBase } from '@koalarx/ui/shared/components/input-field';\n\nexport type RadioColor =\n | 'neutral'\n | 'primary'\n | 'secondary'\n | 'accent'\n | 'info'\n | 'success'\n | 'warning'\n | 'error'\n | 'ghost';\n\nexport type RadioSize =\n | 'extraSmall'\n | 'small'\n | 'medium'\n | 'large'\n | 'extraLarge';\n\n@Component({\n selector: 'kl-input-radio',\n templateUrl: './input-radio.html',\n imports: [ReactiveFormsModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputRadio extends InputFieldBase {\n private readonly inputRadioElement =\n viewChild<ElementRef<HTMLInputElement>>('inputRadio');\n\n color = input<RadioColor>();\n size = input<RadioSize>();\n name = input.required<string>();\n value = input.required<string | number>();\n disableAutoTypeConversion = input(false, { transform: booleanAttribute });\n\n private getColorClass(): string {\n switch (this.color()) {\n case 'neutral':\n return 'radio-neutral';\n case 'primary':\n return 'radio-primary';\n case 'secondary':\n return 'radio-secondary';\n case 'accent':\n return 'radio-accent';\n case 'info':\n return 'radio-info';\n case 'success':\n return 'radio-success';\n case 'warning':\n return 'radio-warning';\n case 'error':\n return 'radio-error';\n case 'ghost':\n return 'radio-ghost';\n default:\n return 'radio';\n }\n }\n\n private getSizeClass(): string {\n switch (this.size()) {\n case 'extraSmall':\n return 'radio-xs';\n case 'small':\n return 'radio-sm';\n case 'medium':\n return 'radio-md';\n case 'large':\n return 'radio-lg';\n case 'extraLarge':\n return 'radio-xl';\n default:\n return 'radio';\n }\n }\n\n constructor() {\n super();\n\n effect(() => {\n const input = this.inputRadioElement()?.nativeElement;\n\n if (input) {\n input.classList.add(this.getColorClass());\n }\n });\n\n effect(() => {\n const input = this.inputRadioElement()?.nativeElement;\n\n if (input) {\n input.classList.add(this.getSizeClass());\n }\n });\n }\n\n toggle(event: Event) {\n const target = event.target as HTMLInputElement;\n\n let value: string | number = target.value;\n\n if (\n !Number.isNaN(parseInt(value as any)) &&\n !/^0+[1-9]\\d*$/.test(value) &&\n !this.disableAutoTypeConversion()\n ) {\n value = Number(value);\n }\n\n this.control().setValue(value);\n }\n}\n","<label [attr.for]=\"fieldId\" class=\"flex items-center gap-2 cursor-pointer\">\n <input #inputRadio\n [id]=\"fieldId\"\n type=\"radio\"\n class=\"radio\"\n [name]=\"name()\"\n [value]=\"value()\"\n [checked]=\"value() === control().value\"\n [disabled]=\"disabled()\"\n (change)=\"toggle($event)\"\n />\n\n <ng-content />\n</label>\n\n@if (hint()) {\n <span class=\"hint-content\">\n <i class=\"fa-regular fa-circle-question\"></i> {{hint()}}\n </span>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAoCM,MAAO,UAAW,SAAQ,cAAc,CAAA;AAC3B,IAAA,iBAAiB,GAChC,SAAS,CAA+B,YAAY,6DAAC;IAEvD,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAc;IAC3B,IAA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A,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,MAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEtCxD;;AAEG;;;;"}
@@ -1,16 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component } from '@angular/core';
2
+ import { input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
4
4
 
5
5
  class InputText extends InputFieldBase {
6
6
  mask = input('', ...(ngDevMode ? [{ debugName: "mask" }] : []));
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputText, deps: null, target: i0.ɵɵFactoryTarget.Component });
8
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputText, isStandalone: true, selector: "kl-input-text", inputs: { mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputText, deps: null, target: i0.ɵɵFactoryTarget.Component });
8
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: InputText, isStandalone: true, selector: "kl-input-text", inputs: { mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputText, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputText, decorators: [{
11
11
  type: Component,
12
- args: [{ selector: 'kl-input-text', imports: [InputField], template: "<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
13
- }] });
12
+ args: [{ selector: 'kl-input-text', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
13
+ }], propDecorators: { mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }] } });
14
14
 
15
15
  /**
16
16
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-text.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-text/input-text.ts","../../projects/koala-ui/shared/components/input-field/input-text/input-text.html","../../projects/koala-ui/shared/components/input-field/input-text/koalarx-ui-shared-components-input-field-input-text.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-text',\n templateUrl: './input-text.html',\n imports: [InputField],\n})\nexport class InputText extends InputFieldBase {\n mask = input<string>('');\n}\n","<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAWM,MAAO,SAAU,SAAQ,cAAc,CAAA;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;uGADb,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECXtB,6QAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,SAAS,EAAA,UAAA,EAAA,CAAA;kBALrB,SAAS;+BACE,eAAe,EAAA,OAAA,EAEhB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,6QAAA,EAAA;;;AETvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-text.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-text/input-text.ts","../../projects/koala-ui/shared/components/input-field/input-text/input-text.html","../../projects/koala-ui/shared/components/input-field/input-text/koalarx-ui-shared-components-input-field-input-text.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-text',\n templateUrl: './input-text.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputText extends InputFieldBase {\n mask = input<string>('');\n}\n","<kl-input-field\n type=\"text\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [mask]=\"mask()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAYM,MAAO,SAAU,SAAQ,cAAc,CAAA;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;uGADb,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZtB,6QAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,WAEhB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6QAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component } from '@angular/core';
2
+ import { input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
4
4
 
5
5
  class InputTime extends InputFieldBase {
6
6
  min = input(...(ngDevMode ? [undefined, { debugName: "min" }] : []));
7
7
  max = input(...(ngDevMode ? [undefined, { debugName: "max" }] : []));
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputTime, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: InputTime, isStandalone: true, selector: "kl-input-time", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputTime, deps: null, target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: InputTime, isStandalone: true, selector: "kl-input-time", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputTime, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputTime, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'kl-input-time', imports: [InputField], template: "<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
- }] });
13
+ args: [{ selector: 'kl-input-time', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n" }]
14
+ }], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }] } });
15
15
 
16
16
  /**
17
17
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-time.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-time/input-time.ts","../../projects/koala-ui/shared/components/input-field/input-time/input-time.html","../../projects/koala-ui/shared/components/input-field/input-time/koalarx-ui-shared-components-input-field-input-time.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-time',\n templateUrl: './input-time.html',\n imports: [InputField],\n})\nexport class InputTime extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAWM,MAAO,SAAU,SAAQ,cAAc,CAAA;IAC3C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECXtB,8RAaA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDJY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,SAAS,EAAA,UAAA,EAAA,CAAA;kBALrB,SAAS;+BACE,eAAe,EAAA,OAAA,EAEhB,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,8RAAA,EAAA;;;AETvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-time.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-time/input-time.ts","../../projects/koala-ui/shared/components/input-field/input-time/input-time.html","../../projects/koala-ui/shared/components/input-field/input-time/koalarx-ui-shared-components-input-field-input-time.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-time',\n templateUrl: './input-time.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputTime extends InputFieldBase {\n min = input<string>();\n max = input<string>();\n}\n","<kl-input-field\n type=\"time\"\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [hint]=\"hint()\">\n\n <ng-container errors>\n <ng-content select=\"[errors]\" />\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAYM,MAAO,SAAU,SAAQ,cAAc,CAAA;IAC3C,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IACrB,GAAG,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,KAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;uGAFV,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZtB,8RAaA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDJY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,WAEhB,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8RAAA,EAAA;;;AEVjD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, effect, Component } from '@angular/core';
2
+ import { inject, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { Validators } from '@angular/forms';
4
4
  import { AppConfig } from '@koalarx/ui/core/config';
5
5
  import { InputFieldBase, InputField } from '@koalarx/ui/shared/components/input-field';
@@ -13,12 +13,12 @@ class InputUrl extends InputFieldBase {
13
13
  control.addValidators(Validators.pattern(/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/));
14
14
  });
15
15
  }
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputUrl, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: InputUrl, isStandalone: true, selector: "kl-input-url", usesInheritance: true, ngImport: i0, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }] });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputUrl, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: InputUrl, isStandalone: true, selector: "kl-input-url", usesInheritance: true, ngImport: i0, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n", dependencies: [{ kind: "component", type: InputField, selector: "kl-input-field", inputs: ["type", "mask", "min", "max"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InputUrl, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: InputUrl, decorators: [{
20
20
  type: Component,
21
- args: [{ selector: 'kl-input-url', imports: [InputField], template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n" }]
21
+ args: [{ selector: 'kl-input-url', imports: [InputField], changeDetection: ChangeDetectionStrategy.OnPush, template: "<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n" }]
22
22
  }], ctorParameters: () => [] });
23
23
 
24
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"koalarx-ui-shared-components-input-field-input-url.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-url/input-url.ts","../../projects/koala-ui/shared/components/input-field/input-url/input-url.html","../../projects/koala-ui/shared/components/input-field/input-url/koalarx-ui-shared-components-input-field-input-url.ts"],"sourcesContent":["import { Component, effect, inject } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { AppConfig } from '@koalarx/ui/core/config';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-url',\n templateUrl: './input-url.html',\n imports: [InputField],\n})\nexport class InputUrl extends InputFieldBase {\n readonly translations = inject(AppConfig).translation.form;\n\n constructor() {\n super();\n\n effect(() => {\n const control = this.control();\n\n control.addValidators(\n Validators.pattern(/^(https?|ftp):\\/\\/[^\\s/$.?#].[^\\s]*$/)\n );\n });\n }\n}\n","<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAaM,MAAO,QAAS,SAAQ,cAAc,CAAA;IACjC,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,IAAI;AAE1D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;YAE9B,OAAO,CAAC,aAAa,CACnB,UAAU,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAC3D;AACH,SAAC,CAAC;;uGAZO,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAR,QAAQ,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbrB,yUAaA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDFY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAET,QAAQ,EAAA,UAAA,EAAA,CAAA;kBALpB,SAAS;+BACE,cAAc,EAAA,OAAA,EAEf,CAAC,UAAU,CAAC,EAAA,QAAA,EAAA,yUAAA,EAAA;;;AEXvB;;AAEG;;;;"}
1
+ {"version":3,"file":"koalarx-ui-shared-components-input-field-input-url.mjs","sources":["../../projects/koala-ui/shared/components/input-field/input-url/input-url.ts","../../projects/koala-ui/shared/components/input-field/input-url/input-url.html","../../projects/koala-ui/shared/components/input-field/input-url/koalarx-ui-shared-components-input-field-input-url.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n effect,\n inject,\n} from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { AppConfig } from '@koalarx/ui/core/config';\nimport {\n InputField,\n InputFieldBase,\n} from '@koalarx/ui/shared/components/input-field';\n\n@Component({\n selector: 'kl-input-url',\n templateUrl: './input-url.html',\n imports: [InputField],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputUrl extends InputFieldBase {\n readonly translations = inject(AppConfig).translation.form;\n\n constructor() {\n super();\n\n effect(() => {\n const control = this.control();\n\n control.addValidators(\n Validators.pattern(/^(https?|ftp):\\/\\/[^\\s/$.?#].[^\\s]*$/)\n );\n });\n }\n}\n","<kl-input-field\n [control]=\"control()\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [hint]=\"hint()\"\n type=\"url\">\n\n <ng-container errors>\n @if (control().errors?.['pattern']) {\n <div class=\"error-message\">{{ translations.invalidURL }}</div>\n }\n </ng-container>\n</kl-input-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAmBM,MAAO,QAAS,SAAQ,cAAc,CAAA;IACjC,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,IAAI;AAE1D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;YAE9B,OAAO,CAAC,aAAa,CACnB,UAAU,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAC3D;AACH,SAAC,CAAC;;uGAZO,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAR,QAAQ,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECnBrB,yUAaA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,UAAU,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,KAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGT,QAAQ,EAAA,UAAA,EAAA,CAAA;kBANpB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,WAEf,CAAC,UAAU,CAAC,EAAA,eAAA,EACJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yUAAA,EAAA;;;AEjBjD;;AAEG;;;;"}