@anglr/common 18.2.0-beta.20231109093816 → 18.2.1-beta.20231120095300

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 (205) hide show
  1. package/changelog.md +6 -0
  2. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  3. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
  4. package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  5. package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
  6. package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  7. package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js.map +1 -1
  8. package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  9. package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js.map +1 -1
  10. package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  11. package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js.map +1 -1
  12. package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  13. package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js.map +1 -1
  14. package/es2022/forms/src/directives/hasError/hasError.directive.js +3 -3
  15. package/es2022/forms/src/directives/hasError/hasError.directive.js.map +1 -1
  16. package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  17. package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js.map +1 -1
  18. package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  19. package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js.map +1 -1
  20. package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  21. package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +1 -1
  22. package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  23. package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js.map +1 -1
  24. package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  25. package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js.map +1 -1
  26. package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  27. package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js.map +1 -1
  28. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
  29. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
  30. package/es2022/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  31. package/es2022/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -1
  32. package/es2022/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  33. package/es2022/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -1
  34. package/es2022/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
  35. package/es2022/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -1
  36. package/es2022/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  37. package/es2022/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -1
  38. package/es2022/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  39. package/es2022/forms/src/modules/formPipes/modules/formPipes.module.js.map +1 -1
  40. package/es2022/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  41. package/es2022/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -1
  42. package/es2022/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  43. package/es2022/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -1
  44. package/es2022/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  45. package/es2022/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -1
  46. package/es2022/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  47. package/es2022/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -1
  48. package/es2022/forms/src/modules/hasError.module.js +4 -4
  49. package/es2022/forms/src/modules/hasError.module.js.map +1 -1
  50. package/es2022/forms/src/modules/numberInput.module.js +4 -4
  51. package/es2022/forms/src/modules/numberInput.module.js.map +1 -1
  52. package/es2022/forms/src/modules/requiredClass.module.js +4 -4
  53. package/es2022/forms/src/modules/requiredClass.module.js.map +1 -1
  54. package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  55. package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js.map +1 -1
  56. package/es2022/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
  57. package/es2022/forms/src/services/formModelBuilder/formModelBuilder.service.js.map +1 -1
  58. package/es2022/forms/src/services/submitted/submitted.service.js +3 -3
  59. package/es2022/forms/src/services/submitted/submitted.service.js.map +1 -1
  60. package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  61. package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js.map +1 -1
  62. package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js +3 -3
  63. package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js.map +1 -1
  64. package/es2022/hotkeys/src/services/appHotkeys.service.js +3 -3
  65. package/es2022/hotkeys/src/services/appHotkeys.service.js.map +1 -1
  66. package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  67. package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
  68. package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
  69. package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -1
  70. package/es2022/material/src/components/titledDialog/titledDialog.component.js +3 -3
  71. package/es2022/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  72. package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  73. package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +1 -1
  74. package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  75. package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map +1 -1
  76. package/es2022/material/src/modules/confirmationDialog.module.js +4 -4
  77. package/es2022/material/src/modules/confirmationDialog.module.js.map +1 -1
  78. package/es2022/material/src/modules/debugDataCopyClick.module.js +4 -4
  79. package/es2022/material/src/modules/debugDataCopyClick.module.js.map +1 -1
  80. package/es2022/material/src/modules/movableTitledDialog.module.js +4 -4
  81. package/es2022/material/src/modules/movableTitledDialog.module.js.map +1 -1
  82. package/es2022/material/src/modules/titledDialog.module.js +4 -4
  83. package/es2022/material/src/modules/titledDialog.module.js.map +1 -1
  84. package/es2022/material/src/services/titledDialog/titledDialog.service.js +3 -3
  85. package/es2022/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
  86. package/es2022/moment/src/modules/moment.module.js +4 -4
  87. package/es2022/moment/src/modules/moment.module.js.map +1 -1
  88. package/es2022/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  89. package/es2022/moment/src/pipes/momentConvert/momentConvert.pipe.js.map +1 -1
  90. package/es2022/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  91. package/es2022/moment/src/pipes/momentFormat/momentFormat.pipe.js.map +1 -1
  92. package/es2022/numeral/src/pipes/numeral.pipe.js +3 -3
  93. package/es2022/numeral/src/pipes/numeral.pipe.js.map +1 -1
  94. package/es2022/router/src/services/routing/dataRouter.js +3 -3
  95. package/es2022/router/src/services/routing/dataRouter.js.map +1 -1
  96. package/es2022/router/src/services/routing/dataRouterData.js +3 -3
  97. package/es2022/router/src/services/routing/dataRouterData.js.map +1 -1
  98. package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js +3 -3
  99. package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js.map +1 -1
  100. package/es2022/src/components/collapsibleTitle/collapsibleTitle.component.js +3 -3
  101. package/es2022/src/components/collapsibleTitle/collapsibleTitle.component.js.map +1 -1
  102. package/es2022/src/directives/bodyRender/bodyRender.directive.js +3 -3
  103. package/es2022/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
  104. package/es2022/src/directives/clickOutside/clickOutside.directive.js +3 -3
  105. package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -1
  106. package/es2022/src/directives/goBack/goBack.directive.js +3 -3
  107. package/es2022/src/directives/goBack/goBack.directive.js.map +1 -1
  108. package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  109. package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
  110. package/es2022/src/directives/positionTo/positionTo.directive.js +3 -3
  111. package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -1
  112. package/es2022/src/modules/castPipes/modules/castPipes.module.js +4 -4
  113. package/es2022/src/modules/castPipes/modules/castPipes.module.js.map +1 -1
  114. package/es2022/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  115. package/es2022/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js.map +1 -1
  116. package/es2022/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  117. package/es2022/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js.map +1 -1
  118. package/es2022/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  119. package/es2022/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js.map +1 -1
  120. package/es2022/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  121. package/es2022/src/modules/castPipes/pipes/castType/castType.pipe.js.map +1 -1
  122. package/es2022/src/modules/commonDynamic.module.js +4 -4
  123. package/es2022/src/modules/commonDynamic.module.js.map +1 -1
  124. package/es2022/src/modules/commonLocalize.module.js +4 -4
  125. package/es2022/src/modules/commonLocalize.module.js.map +1 -1
  126. package/es2022/src/modules/commonUtils.module.js +4 -4
  127. package/es2022/src/modules/commonUtils.module.js.map +1 -1
  128. package/es2022/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  129. package/es2022/src/modules/debugData/components/debugData/debugData.component.js.map +1 -1
  130. package/es2022/src/modules/debugData/modules/debugData.module.js +4 -4
  131. package/es2022/src/modules/debugData/modules/debugData.module.js.map +1 -1
  132. package/es2022/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  133. package/es2022/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js.map +1 -1
  134. package/es2022/src/modules/logger/components/console/console.component.js +3 -3
  135. package/es2022/src/modules/logger/components/console/console.component.js.map +1 -1
  136. package/es2022/src/modules/logger/services/console/consoleComponent.service.js +3 -3
  137. package/es2022/src/modules/logger/services/console/consoleComponent.service.js.map +1 -1
  138. package/es2022/src/modules/logger/services/console/consoleComponentService.options.js +3 -3
  139. package/es2022/src/modules/logger/services/console/consoleComponentService.options.js.map +1 -1
  140. package/es2022/src/modules/logger/services/logger/logger.service.js +3 -3
  141. package/es2022/src/modules/logger/services/logger/logger.service.js.map +1 -1
  142. package/es2022/src/modules/logger/services/rest/restSink.options.js +3 -3
  143. package/es2022/src/modules/logger/services/rest/restSink.options.js.map +1 -1
  144. package/es2022/src/modules/logger/types/loggerOptions.js +3 -3
  145. package/es2022/src/modules/logger/types/loggerOptions.js.map +1 -1
  146. package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  147. package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
  148. package/es2022/src/modules/multiButton/modules/multiButton.module.js +4 -4
  149. package/es2022/src/modules/multiButton/modules/multiButton.module.js.map +1 -1
  150. package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  151. package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js.map +1 -1
  152. package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  153. package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
  154. package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  155. package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +1 -1
  156. package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  157. package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
  158. package/es2022/src/modules/progressIndicator/services/progressIndicator.service.js +7 -12
  159. package/es2022/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
  160. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  161. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
  162. package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  163. package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
  164. package/es2022/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  165. package/es2022/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js.map +1 -1
  166. package/es2022/src/modules/tooltip/modules/tooltip.module.js +4 -4
  167. package/es2022/src/modules/tooltip/modules/tooltip.module.js.map +1 -1
  168. package/es2022/src/pipes/displayProperties/displayProperties.pipe.js +3 -3
  169. package/es2022/src/pipes/displayProperties/displayProperties.pipe.js.map +1 -1
  170. package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js +3 -3
  171. package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js.map +1 -1
  172. package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js +3 -3
  173. package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js.map +1 -1
  174. package/es2022/src/pipes/isNaN/isNaN.pipe.js +3 -3
  175. package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
  176. package/es2022/src/pipes/isPresent/isPresent.pipe.js +3 -3
  177. package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
  178. package/es2022/src/pipes/keys/keys.pipe.js +3 -3
  179. package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
  180. package/es2022/src/pipes/localize/localize.pipe.js +3 -3
  181. package/es2022/src/pipes/localize/localize.pipe.js.map +1 -1
  182. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  183. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
  184. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  185. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
  186. package/es2022/src/services/cookies/cookies.service.js +3 -3
  187. package/es2022/src/services/cookies/cookies.service.js.map +1 -1
  188. package/es2022/src/services/notifications/defaultNotifications.service.js +3 -3
  189. package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
  190. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  191. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
  192. package/es2022/src/services/statusCode/statusCode.service.js +3 -3
  193. package/es2022/src/services/statusCode/statusCode.service.js.map +1 -1
  194. package/es2022/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  195. package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
  196. package/es2022/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  197. package/es2022/src/services/temporaryStorage/memoryTemporaryStorage.service.js.map +1 -1
  198. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  199. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
  200. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  201. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
  202. package/package.json +1 -1
  203. package/src/modules/progressIndicator/services/progressIndicator.service.d.ts +2 -3
  204. package/src/modules/progressIndicator/services/progressIndicator.service.d.ts.map +1 -1
  205. package/version.bak +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"numberInputValidator.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/numberInput/numberInputValidator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,aAAa,EAA+C,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;;AAEjD;;GAEG;AACH,MAAM,gBAAgB,GACtB;IACI,OAAO,EAAE,aAAa;IACtB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;IAC5D,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAKa,6BAA6B;IAEtC,kGAAkG;IAElG;;;;OAIG;IACI,QAAQ,CAAC,OAAwB;QAEpC,OAAO,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;uGAZQ,6BAA6B;2FAA7B,6BAA6B,2GAF3B,CAAC,gBAAgB,CAAC;;SAEpB,6BAA6B;2FAA7B,6BAA6B;kBALzC,SAAS;mBACV;oBACI,QAAQ,EAAE,kFAAkF;oBAC5F,SAAS,EAAE,CAAC,gBAAgB,CAAC;iBAChC","sourcesContent":["import {ExistingProvider, forwardRef, Directive} from '@angular/core';\nimport {NG_VALIDATORS, AbstractControl, Validator, ValidationErrors} from '@angular/forms';\n\nimport {Validators} from '../../misc/validators';\n\n/**\n * Validator that is injected with directive NumberInputValidatorDirective\n */\nconst NUMBER_VALIDATOR = <ExistingProvider>\n{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => NumberInputValidatorDirective),\n multi: true\n};\n\n/**\n * Is number directive injecting checking for number validator\n */\n@Directive(\n{\n selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',\n providers: [NUMBER_VALIDATOR]\n})\nexport class NumberInputValidatorDirective implements Validator\n{\n //######################### public methods - implementation of Validator #########################\n\n /**\n * Validates input and returns validation result\n * @param control - Control that is being validated\n * @returns validation results\n */\n public validate(control: AbstractControl): ValidationErrors|null\n {\n return Validators.number(control);\n }\n}"]}
1
+ {"version":3,"file":"numberInputValidator.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/numberInput/numberInputValidator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,aAAa,EAA+C,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;;AAEjD;;GAEG;AACH,MAAM,gBAAgB,GACtB;IACI,OAAO,EAAE,aAAa;IACtB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;IAC5D,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAKa,6BAA6B;IAEtC,kGAAkG;IAElG;;;;OAIG;IACI,QAAQ,CAAC,OAAwB;QAEpC,OAAO,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;wGAZQ,6BAA6B;4FAA7B,6BAA6B,2GAF3B,CAAC,gBAAgB,CAAC;;SAEpB,6BAA6B;4FAA7B,6BAA6B;kBALzC,SAAS;mBACV;oBACI,QAAQ,EAAE,kFAAkF;oBAC5F,SAAS,EAAE,CAAC,gBAAgB,CAAC;iBAChC","sourcesContent":["import {ExistingProvider, forwardRef, Directive} from '@angular/core';\nimport {NG_VALIDATORS, AbstractControl, Validator, ValidationErrors} from '@angular/forms';\n\nimport {Validators} from '../../misc/validators';\n\n/**\n * Validator that is injected with directive NumberInputValidatorDirective\n */\nconst NUMBER_VALIDATOR = <ExistingProvider>\n{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => NumberInputValidatorDirective),\n multi: true\n};\n\n/**\n * Is number directive injecting checking for number validator\n */\n@Directive(\n{\n selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',\n providers: [NUMBER_VALIDATOR]\n})\nexport class NumberInputValidatorDirective implements Validator\n{\n //######################### public methods - implementation of Validator #########################\n\n /**\n * Validates input and returns validation result\n * @param control - Control that is being validated\n * @returns validation results\n */\n public validate(control: AbstractControl): ValidationErrors|null\n {\n return Validators.number(control);\n }\n}"]}
@@ -40,11 +40,11 @@ class RequiredClassDirective {
40
40
  this._changeDetector.detectChanges();
41
41
  }
42
42
  }
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
44
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
45
45
  }
46
46
  export { RequiredClassDirective };
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassDirective, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassDirective, decorators: [{
48
48
  type: Directive,
49
49
  args: [{
50
50
  selector: '[requiredClass]'
@@ -1 +1 @@
1
- {"version":3,"file":"requiredClass.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/requiredClass/requiredClass.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAiB,WAAW,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AACjG,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;;;AAElF,oCAAoC;AAEpC;;GAEG;AACH,MAIa,sBAAsB;IAqBC;IACA;IACZ;IArBpB,wEAAwE;IAExE;;OAEG;IACH,IAAY,OAAO;QAEf,OAAO,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxH,CAAC;IAED,8EAA8E;IAE9E;;OAEG;IAEI,QAAQ,GAAY,KAAK,CAAC;IAEjC,iEAAiE;IACjE,YAAgC,YAAkC,EAClC,gBAAiC,EAC7C,eAAkC;QAFtB,iBAAY,GAAZ,YAAY,CAAsB;QAClC,qBAAgB,GAAhB,gBAAgB,CAAiB;QAC7C,oBAAe,GAAf,eAAe,CAAmB;IAEtD,CAAC;IAED,sGAAsG;IAEtG;;OAEG;IACI,eAAe;QAElB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE7B,IAAG,OAAO,IAAI,OAAO,CAAC,SAAS,EAC/B;YACI,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,QAAQ,GAAG,gBAAgB,IAAI,gBAAgB,CAAC,QAAQ,CAAC;YAE9D,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;SACxC;IACL,CAAC;uGA3CQ,sBAAsB;2FAAtB,sBAAsB;;SAAtB,sBAAsB;2FAAtB,sBAAsB;kBAJlC,SAAS;mBACV;oBACI,QAAQ,EAAE,iBAAiB;iBAC9B;;0BAsBgB,QAAQ;;0BACR,QAAQ;4EAJd,QAAQ;sBADd,WAAW;uBAAC,gBAAgB","sourcesContent":["import {Directive, Optional, AfterViewInit, HostBinding, ChangeDetectorRef} from '@angular/core';\nimport {FormControlDirective, FormControlName, FormControl} from '@angular/forms';\n\n//TODO: reworking using hasValidator\n\n/**\n * Required class directive adds required class to element\n */\n@Directive(\n{\n selector: '[requiredClass]'\n})\nexport class RequiredClassDirective implements AfterViewInit\n{\n //######################### private properties #########################\n\n /**\n * Gets control which was assigned to this element\n */\n private get control(): FormControl\n {\n return (this._formControl && this._formControl.control) || (this._formControlName && this._formControlName.control);\n }\n\n //######################### public properties - host #########################\n\n /**\n * Handles css class for required input\n */\n @HostBinding('class.required')\n public required: boolean = false;\n\n //######################### constructor #########################\n constructor(@Optional() private _formControl: FormControlDirective,\n @Optional() private _formControlName: FormControlName,\n private _changeDetector: ChangeDetectorRef)\n {\n }\n\n //######################### public methods - implementation of AfterViewInit #########################\n \n /**\n * Called when view was initialized\n */\n public ngAfterViewInit(): void\n {\n const control = this.control;\n\n if(control && control.validator)\n {\n const validationResult = control.validator(new FormControl(null));\n this.required = validationResult && validationResult.required;\n\n this._changeDetector.detectChanges();\n }\n }\n}"]}
1
+ {"version":3,"file":"requiredClass.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/requiredClass/requiredClass.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAiB,WAAW,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AACjG,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;;;AAElF,oCAAoC;AAEpC;;GAEG;AACH,MAIa,sBAAsB;IAqBC;IACA;IACZ;IArBpB,wEAAwE;IAExE;;OAEG;IACH,IAAY,OAAO;QAEf,OAAO,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxH,CAAC;IAED,8EAA8E;IAE9E;;OAEG;IAEI,QAAQ,GAAY,KAAK,CAAC;IAEjC,iEAAiE;IACjE,YAAgC,YAAkC,EAClC,gBAAiC,EAC7C,eAAkC;QAFtB,iBAAY,GAAZ,YAAY,CAAsB;QAClC,qBAAgB,GAAhB,gBAAgB,CAAiB;QAC7C,oBAAe,GAAf,eAAe,CAAmB;IAEtD,CAAC;IAED,sGAAsG;IAEtG;;OAEG;IACI,eAAe;QAElB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE7B,IAAG,OAAO,IAAI,OAAO,CAAC,SAAS,EAC/B;YACI,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,QAAQ,GAAG,gBAAgB,IAAI,gBAAgB,CAAC,QAAQ,CAAC;YAE9D,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;SACxC;IACL,CAAC;wGA3CQ,sBAAsB;4FAAtB,sBAAsB;;SAAtB,sBAAsB;4FAAtB,sBAAsB;kBAJlC,SAAS;mBACV;oBACI,QAAQ,EAAE,iBAAiB;iBAC9B;;0BAsBgB,QAAQ;;0BACR,QAAQ;4EAJd,QAAQ;sBADd,WAAW;uBAAC,gBAAgB","sourcesContent":["import {Directive, Optional, AfterViewInit, HostBinding, ChangeDetectorRef} from '@angular/core';\nimport {FormControlDirective, FormControlName, FormControl} from '@angular/forms';\n\n//TODO: reworking using hasValidator\n\n/**\n * Required class directive adds required class to element\n */\n@Directive(\n{\n selector: '[requiredClass]'\n})\nexport class RequiredClassDirective implements AfterViewInit\n{\n //######################### private properties #########################\n\n /**\n * Gets control which was assigned to this element\n */\n private get control(): FormControl\n {\n return (this._formControl && this._formControl.control) || (this._formControlName && this._formControlName.control);\n }\n\n //######################### public properties - host #########################\n\n /**\n * Handles css class for required input\n */\n @HostBinding('class.required')\n public required: boolean = false;\n\n //######################### constructor #########################\n constructor(@Optional() private _formControl: FormControlDirective,\n @Optional() private _formControlName: FormControlName,\n private _changeDetector: ChangeDetectorRef)\n {\n }\n\n //######################### public methods - implementation of AfterViewInit #########################\n \n /**\n * Called when view was initialized\n */\n public ngAfterViewInit(): void\n {\n const control = this.control;\n\n if(control && control.validator)\n {\n const validationResult = control.validator(new FormControl(null));\n this.required = validationResult && validationResult.required;\n\n this._changeDetector.detectChanges();\n }\n }\n}"]}
@@ -10,11 +10,11 @@ class ValidationErrorsContainerDirective {
10
10
  constructor(containerView, viewContainer) {
11
11
  containerView.viewContainer = viewContainer;
12
12
  }
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ValidationErrorsContainerDirective, deps: [{ token: i1.ValidationErrorsContainerView, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ValidationErrorsContainerDirective, selector: "[validationErrorsContainer]", ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValidationErrorsContainerDirective, deps: [{ token: i1.ValidationErrorsContainerView, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ValidationErrorsContainerDirective, selector: "[validationErrorsContainer]", ngImport: i0 });
15
15
  }
16
16
  export { ValidationErrorsContainerDirective };
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ValidationErrorsContainerDirective, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValidationErrorsContainerDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  selector: '[validationErrorsContainer]'
@@ -1 +1 @@
1
- {"version":3,"file":"validationErrorsContainer.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAC,6BAA6B,EAAC,MAAM,0CAA0C,CAAC;;;AAEvF;;GAEG;AACH,MAIa,kCAAkC;IAE3C,iEAAiE;IACjE,YAAwB,aAA4C,EACxD,aAA+B;QAEvC,aAAa,CAAC,aAAa,GAAG,aAAa,CAAC;IAChD,CAAC;uGAPQ,kCAAkC;2FAAlC,kCAAkC;;SAAlC,kCAAkC;2FAAlC,kCAAkC;kBAJ9C,SAAS;mBACV;oBACI,QAAQ,EAAE,6BAA6B;iBAC1C;;0BAIgB,QAAQ","sourcesContent":["import {Directive, SkipSelf, ViewContainerRef} from '@angular/core';\n\nimport {ValidationErrorsContainerView} from '../../misc/validationErrorsContainerView';\n\n/**\n * Directive that sets view container for validation errors for current element\n */\n@Directive(\n{\n selector: '[validationErrorsContainer]'\n})\nexport class ValidationErrorsContainerDirective\n{\n //######################### constructor #########################\n constructor(@SkipSelf() containerView: ValidationErrorsContainerView,\n viewContainer: ViewContainerRef,)\n {\n containerView.viewContainer = viewContainer;\n }\n}"]}
1
+ {"version":3,"file":"validationErrorsContainer.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAC,6BAA6B,EAAC,MAAM,0CAA0C,CAAC;;;AAEvF;;GAEG;AACH,MAIa,kCAAkC;IAE3C,iEAAiE;IACjE,YAAwB,aAA4C,EACxD,aAA+B;QAEvC,aAAa,CAAC,aAAa,GAAG,aAAa,CAAC;IAChD,CAAC;wGAPQ,kCAAkC;4FAAlC,kCAAkC;;SAAlC,kCAAkC;4FAAlC,kCAAkC;kBAJ9C,SAAS;mBACV;oBACI,QAAQ,EAAE,6BAA6B;iBAC1C;;0BAIgB,QAAQ","sourcesContent":["import {Directive, SkipSelf, ViewContainerRef} from '@angular/core';\n\nimport {ValidationErrorsContainerView} from '../../misc/validationErrorsContainerView';\n\n/**\n * Directive that sets view container for validation errors for current element\n */\n@Directive(\n{\n selector: '[validationErrorsContainer]'\n})\nexport class ValidationErrorsContainerDirective\n{\n //######################### constructor #########################\n constructor(@SkipSelf() containerView: ValidationErrorsContainerView,\n viewContainer: ViewContainerRef,)\n {\n containerView.viewContainer = viewContainer;\n }\n}"]}
@@ -76,11 +76,11 @@ class GroupErrorsComponent {
76
76
  this._initSubscriptions?.unsubscribe();
77
77
  this._initSubscriptions = null;
78
78
  }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GroupErrorsComponent, deps: [{ token: i1.FormGroupDirective, optional: true }, { token: i1.FormGroupName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
80
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: GroupErrorsComponent, selector: "form-group-errors", inputs: { cssClass: "cssClass" }, queries: [{ propertyName: "template", first: true, predicate: GroupErrorsTemplateDirective, descendants: true }], ngImport: i0, template: "<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.ErrorMessageDirective, selector: "[errorMessage]", inputs: ["errorMessage", "errors"], exportAs: ["errorMessage"] }, { kind: "pipe", type: i4.KeysSAPipe, name: "keys" }, { kind: "pipe", type: i5.WithErrorMessagePipe, name: "withErrorMessage" }], animations: [slideInOutTrigger], changeDetection: i0.ChangeDetectionStrategy.OnPush });
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupErrorsComponent, deps: [{ token: i1.FormGroupDirective, optional: true }, { token: i1.FormGroupName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GroupErrorsComponent, selector: "form-group-errors", inputs: { cssClass: "cssClass" }, queries: [{ propertyName: "template", first: true, predicate: GroupErrorsTemplateDirective, descendants: true }], ngImport: i0, template: "<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.ErrorMessageDirective, selector: "[errorMessage]", inputs: ["errorMessage", "errors"], exportAs: ["errorMessage"] }, { kind: "pipe", type: i4.KeysSAPipe, name: "keys" }, { kind: "pipe", type: i5.WithErrorMessagePipe, name: "withErrorMessage" }], animations: [slideInOutTrigger], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
81
  }
82
82
  export { GroupErrorsComponent };
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GroupErrorsComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupErrorsComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: 'form-group-errors', animations: [slideInOutTrigger], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>" }]
86
86
  }], ctorParameters: function () { return [{ type: i1.FormGroupDirective, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"groupErrors.component.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.ts","../../../../../../../forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,QAAQ,EAAqB,iBAAiB,EAAE,KAAK,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACtI,OAAO,EAA+B,kBAAkB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC/F,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,4BAA4B,EAAC,MAAM,kBAAkB,CAAC;;;;;;;AAE9D;;GAEG;AACH,MAOa,oBAAoB;IA+CK;IACA;IACZ;IA/CtB,sEAAsE;IAEtE;;OAEG;IACO,UAAU,CAAa;IAEjC;;OAEG;IACO,kBAAkB,GAAiB,IAAI,YAAY,EAAE,CAAC;IAEhE;;OAEG;IACO,UAAU,CAAqB;IAEzC,2FAA2F;IAE3F;;;OAGG;IACH,IAAW,SAAS;QAEhB,OAAO,CAAC,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,IAAI,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAChG,CAAC;IAED,gFAAgF;IAEhF;;OAEG;IAEI,QAAQ,CAAS;IAExB,kFAAkF;IAElF;;OAEG;IAEI,QAAQ,CAAgC;IAE/C,iEAAiE;IACjE,YAAkC,kBAAsC,EACtC,aAA4B,EACxC,eAAkC;QAFtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,kBAAa,GAAb,aAAa,CAAe;QACxC,oBAAe,GAAf,eAAe,CAAmB;QAEpD,IAAG,CAAC,IAAI,CAAC,kBAAkB,IAAI,CAAC,IAAI,CAAC,aAAa,EAClD;YACI,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;SAC9E;IACL,CAAC;IAED,+FAA+F;IAE/F;;OAEG;IACI,QAAQ;QAEX,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAEvE,IAAG,IAAI,CAAC,UAAU,IAAI,KAAK,IAAI,KAAK,IAAI,SAAS,EACjD;gBACI,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;gBACxB,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;aACxC;QACL,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,kBAAkB,EAAE,WAAW,EAAE,CAAC;QACvC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;IACnC,CAAC;uGAnFQ,oBAAoB;2FAApB,oBAAoB,iIA2Cf,4BAA4B,gDC5D9C,sfAMe,mrBDQC,CAAC,iBAAiB,CAAC;;SAGtB,oBAAoB;2FAApB,oBAAoB;kBAPhC,SAAS;+BAEI,mBAAmB,cAEjB,CAAC,iBAAiB,CAAC,mBACd,uBAAuB,CAAC,MAAM;;0BAiDlC,QAAQ;;0BACR,QAAQ;4EAZd,QAAQ;sBADd,KAAK;gBASC,QAAQ;sBADd,YAAY;uBAAC,4BAA4B","sourcesContent":["import {Component, ChangeDetectionStrategy, Optional, OnInit, OnDestroy, ChangeDetectorRef, Input, ContentChild} from '@angular/core';\nimport {FormControlStatus, FormGroup, FormGroupDirective, FormGroupName} from '@angular/forms';\nimport {slideInOutTrigger} from '@anglr/animations';\nimport {Subscription} from 'rxjs';\n\nimport {GroupErrorsTemplateDirective} from '../../directives';\n\n/**\n * Component used for rendering from group errors\n */\n@Component(\n{\n selector: 'form-group-errors',\n templateUrl: 'groupErrors.component.html',\n animations: [slideInOutTrigger],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GroupErrorsComponent implements OnInit, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Instance of currently used form group\n */\n protected _formGroup?: FormGroup;\n\n /**\n * Subscriptions created during initialization\n */\n protected _initSubscriptions: Subscription = new Subscription();\n\n /**\n * Last state of form control\n */\n protected _lastState?: FormControlStatus;\n\n //######################### public properties - template bindings #########################\n\n /**\n * Gets instance of currently used form group\n * @internal\n */\n public get formGroup(): FormGroup\n {\n return (this._formGroup ??= (this.formGroupDirective?.form ?? this.formGroupName?.control));\n }\n\n //######################### public properties - inputs #########################\n\n /**\n * Css classes that are applied to default rendered divs\n */\n @Input()\n public cssClass: string;\n\n //######################### public properties - children #########################\n\n /**\n * Custom template for rendering form group error\n */\n @ContentChild(GroupErrorsTemplateDirective)\n public template?: GroupErrorsTemplateDirective;\n\n //######################### constructor #########################\n constructor(@Optional() protected formGroupDirective: FormGroupDirective,\n @Optional() protected formGroupName: FormGroupName,\n protected _changeDetector: ChangeDetectorRef,)\n {\n if(!this.formGroupDirective && !this.formGroupName)\n {\n throw new Error('There is no parent formGroup or formGroupName directive');\n }\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._initSubscriptions.add(this.formGroup.statusChanges.subscribe(state =>\n {\n if(this._lastState != state || state == 'INVALID')\n {\n this._lastState = state;\n this._changeDetector.detectChanges();\n }\n }));\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._initSubscriptions?.unsubscribe();\n this._initSubscriptions = null;\n }\n}","<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>"]}
1
+ {"version":3,"file":"groupErrors.component.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.ts","../../../../../../../forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,QAAQ,EAAqB,iBAAiB,EAAE,KAAK,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACtI,OAAO,EAA+B,kBAAkB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC/F,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,4BAA4B,EAAC,MAAM,kBAAkB,CAAC;;;;;;;AAE9D;;GAEG;AACH,MAOa,oBAAoB;IA+CK;IACA;IACZ;IA/CtB,sEAAsE;IAEtE;;OAEG;IACO,UAAU,CAAa;IAEjC;;OAEG;IACO,kBAAkB,GAAiB,IAAI,YAAY,EAAE,CAAC;IAEhE;;OAEG;IACO,UAAU,CAAqB;IAEzC,2FAA2F;IAE3F;;;OAGG;IACH,IAAW,SAAS;QAEhB,OAAO,CAAC,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,IAAI,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAChG,CAAC;IAED,gFAAgF;IAEhF;;OAEG;IAEI,QAAQ,CAAS;IAExB,kFAAkF;IAElF;;OAEG;IAEI,QAAQ,CAAgC;IAE/C,iEAAiE;IACjE,YAAkC,kBAAsC,EACtC,aAA4B,EACxC,eAAkC;QAFtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,kBAAa,GAAb,aAAa,CAAe;QACxC,oBAAe,GAAf,eAAe,CAAmB;QAEpD,IAAG,CAAC,IAAI,CAAC,kBAAkB,IAAI,CAAC,IAAI,CAAC,aAAa,EAClD;YACI,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;SAC9E;IACL,CAAC;IAED,+FAA+F;IAE/F;;OAEG;IACI,QAAQ;QAEX,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAEvE,IAAG,IAAI,CAAC,UAAU,IAAI,KAAK,IAAI,KAAK,IAAI,SAAS,EACjD;gBACI,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;gBACxB,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;aACxC;QACL,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,kBAAkB,EAAE,WAAW,EAAE,CAAC;QACvC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;IACnC,CAAC;wGAnFQ,oBAAoB;4FAApB,oBAAoB,iIA2Cf,4BAA4B,gDC5D9C,sfAMe,mrBDQC,CAAC,iBAAiB,CAAC;;SAGtB,oBAAoB;4FAApB,oBAAoB;kBAPhC,SAAS;+BAEI,mBAAmB,cAEjB,CAAC,iBAAiB,CAAC,mBACd,uBAAuB,CAAC,MAAM;;0BAiDlC,QAAQ;;0BACR,QAAQ;4EAZd,QAAQ;sBADd,KAAK;gBASC,QAAQ;sBADd,YAAY;uBAAC,4BAA4B","sourcesContent":["import {Component, ChangeDetectionStrategy, Optional, OnInit, OnDestroy, ChangeDetectorRef, Input, ContentChild} from '@angular/core';\nimport {FormControlStatus, FormGroup, FormGroupDirective, FormGroupName} from '@angular/forms';\nimport {slideInOutTrigger} from '@anglr/animations';\nimport {Subscription} from 'rxjs';\n\nimport {GroupErrorsTemplateDirective} from '../../directives';\n\n/**\n * Component used for rendering from group errors\n */\n@Component(\n{\n selector: 'form-group-errors',\n templateUrl: 'groupErrors.component.html',\n animations: [slideInOutTrigger],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GroupErrorsComponent implements OnInit, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Instance of currently used form group\n */\n protected _formGroup?: FormGroup;\n\n /**\n * Subscriptions created during initialization\n */\n protected _initSubscriptions: Subscription = new Subscription();\n\n /**\n * Last state of form control\n */\n protected _lastState?: FormControlStatus;\n\n //######################### public properties - template bindings #########################\n\n /**\n * Gets instance of currently used form group\n * @internal\n */\n public get formGroup(): FormGroup\n {\n return (this._formGroup ??= (this.formGroupDirective?.form ?? this.formGroupName?.control));\n }\n\n //######################### public properties - inputs #########################\n\n /**\n * Css classes that are applied to default rendered divs\n */\n @Input()\n public cssClass: string;\n\n //######################### public properties - children #########################\n\n /**\n * Custom template for rendering form group error\n */\n @ContentChild(GroupErrorsTemplateDirective)\n public template?: GroupErrorsTemplateDirective;\n\n //######################### constructor #########################\n constructor(@Optional() protected formGroupDirective: FormGroupDirective,\n @Optional() protected formGroupName: FormGroupName,\n protected _changeDetector: ChangeDetectorRef,)\n {\n if(!this.formGroupDirective && !this.formGroupName)\n {\n throw new Error('There is no parent formGroup or formGroupName directive');\n }\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._initSubscriptions.add(this.formGroup.statusChanges.subscribe(state =>\n {\n if(this._lastState != state || state == 'INVALID')\n {\n this._lastState = state;\n this._changeDetector.detectChanges();\n }\n }));\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._initSubscriptions?.unsubscribe();\n this._initSubscriptions = null;\n }\n}","<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>"]}
@@ -62,11 +62,11 @@ class ErrorMessageDirective {
62
62
  const message = this._localization.get(errorMessage, this.errors);
63
63
  this._element.nativeElement.innerHTML = message;
64
64
  }
65
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageDirective, deps: [{ token: i0.ElementRef }, { token: STRING_LOCALIZATION }, { token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Directive });
66
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorName: ["errorMessage", "errorName"], errors: "errors" }, exportAs: ["errorMessage"], usesOnChanges: true, ngImport: i0 });
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageDirective, deps: [{ token: i0.ElementRef }, { token: STRING_LOCALIZATION }, { token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Directive });
66
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorName: ["errorMessage", "errorName"], errors: "errors" }, exportAs: ["errorMessage"], usesOnChanges: true, ngImport: i0 });
67
67
  }
68
68
  export { ErrorMessageDirective };
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageDirective, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageDirective, decorators: [{
70
70
  type: Directive,
71
71
  args: [{
72
72
  selector: '[errorMessage]',
@@ -1 +1 @@
1
- {"version":3,"file":"errorMessage.directive.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAsC,MAAM,eAAe,CAAC;AACxG,OAAO,EAAqB,mBAAmB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAa,OAAO,EAAE,MAAM,EAAmB,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;;AAElE;;GAEG;AACH,MAKa,qBAAqB;IAwBR;IAC6B;IACM;IAxBzD,0EAA0E;IAE1E;;OAEG;IACO,kBAAkB,GAAiB,IAAI,YAAY,EAAE,CAAC;IAEhE,gFAAgF;IAEhF;;OAEG;IAEI,SAAS,CAAS;IAEzB;;OAEG;IAEI,MAAM,CAAa;IAE1B,iEAAiE;IACjE,YAAsB,QAAiC,EACJ,aAAiC,EAC3B,cAAgC;QAFnE,aAAQ,GAAR,QAAQ,CAAyB;QACJ,kBAAa,GAAb,aAAa,CAAoB;QAC3B,mBAAc,GAAd,cAAc,CAAkB;QAErF,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IACrG,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW,CAAC,OAAsB;QAErC,IAAG,MAAM,CAAwB,WAAW,CAAC,IAAI,OAAO,EACxD;YACI,IAAI,CAAC,YAAY,EAAE,CAAC;SACvB;IACL,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,kBAAkB,EAAE,WAAW,EAAE,CAAC;QACvC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;IACnC,CAAC;IAED,uEAAuE;IAEvE;;OAEG;IACO,YAAY;QAElB,IAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAC1B;YACI,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC;YAE3C,OAAO;SACV;QAED,MAAM,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACzD,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAElE,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC;IACpD,CAAC;uGAzEQ,qBAAqB,4CAyBV,mBAAmB,aACnB,yBAAyB;2FA1BpC,qBAAqB;;SAArB,qBAAqB;2FAArB,qBAAqB;kBALjC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;oBAC1B,QAAQ,EAAE,cAAc;iBAC3B;;0BA0BgB,MAAM;2BAAC,mBAAmB;;0BAC1B,MAAM;2BAAC,yBAAyB;4CAXtC,SAAS;sBADf,KAAK;uBAAC,cAAc;gBAOd,MAAM;sBADZ,KAAK","sourcesContent":["import {Directive, ElementRef, Inject, Input, OnChanges, OnDestroy, SimpleChanges} from '@angular/core';\nimport {StringLocalization, STRING_LOCALIZATION} from '@anglr/common';\nimport {Dictionary, isBlank, nameof, StringDictionary} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {VALIDATION_ERROR_MESSAGES} from '../../../../misc/tokens';\n\n/**\n * Directive used for displaying form error message\n */\n@Directive(\n{\n selector: '[errorMessage]',\n exportAs: 'errorMessage'\n})\nexport class ErrorMessageDirective implements OnChanges, OnDestroy\n{\n //######################### protected properties #########################\n\n /**\n * Subscriptions created during initialization\n */\n protected _initSubscriptions: Subscription = new Subscription();\n\n //######################### public properties - inputs #########################\n\n /**\n * Name/code of error message to be displayed\n */\n @Input('errorMessage')\n public errorName: string;\n\n /**\n * Object storing all errors\n */\n @Input()\n public errors: Dictionary;\n\n //######################### constructor #########################\n constructor(protected _element: ElementRef<HTMLElement>,\n @Inject(STRING_LOCALIZATION) protected _localization: StringLocalization,\n @Inject(VALIDATION_ERROR_MESSAGES) protected _errorMessages: StringDictionary,)\n {\n this._initSubscriptions.add(this._localization.textsChange.subscribe(() => this._showMessage()));\n }\n\n //######################### public methods - implementation of OnChanges #########################\n \n /**\n * Called when input value changes\n */\n public ngOnChanges(changes: SimpleChanges): void\n {\n if(nameof<ErrorMessageDirective>('errorName') in changes)\n {\n this._showMessage();\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._initSubscriptions?.unsubscribe();\n this._initSubscriptions = null;\n }\n\n //######################### protected methods #########################\n\n /**\n * Shows message inside of element\n */\n protected _showMessage(): void\n {\n if(isBlank(this.errorName))\n {\n this._element.nativeElement.innerHTML = '';\n\n return;\n }\n\n const errorMessage = this._errorMessages[this.errorName];\n const message = this._localization.get(errorMessage, this.errors);\n\n this._element.nativeElement.innerHTML = message;\n }\n}"]}
1
+ {"version":3,"file":"errorMessage.directive.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAsC,MAAM,eAAe,CAAC;AACxG,OAAO,EAAqB,mBAAmB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAa,OAAO,EAAE,MAAM,EAAmB,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;;AAElE;;GAEG;AACH,MAKa,qBAAqB;IAwBR;IAC6B;IACM;IAxBzD,0EAA0E;IAE1E;;OAEG;IACO,kBAAkB,GAAiB,IAAI,YAAY,EAAE,CAAC;IAEhE,gFAAgF;IAEhF;;OAEG;IAEI,SAAS,CAAS;IAEzB;;OAEG;IAEI,MAAM,CAAa;IAE1B,iEAAiE;IACjE,YAAsB,QAAiC,EACJ,aAAiC,EAC3B,cAAgC;QAFnE,aAAQ,GAAR,QAAQ,CAAyB;QACJ,kBAAa,GAAb,aAAa,CAAoB;QAC3B,mBAAc,GAAd,cAAc,CAAkB;QAErF,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IACrG,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW,CAAC,OAAsB;QAErC,IAAG,MAAM,CAAwB,WAAW,CAAC,IAAI,OAAO,EACxD;YACI,IAAI,CAAC,YAAY,EAAE,CAAC;SACvB;IACL,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,kBAAkB,EAAE,WAAW,EAAE,CAAC;QACvC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;IACnC,CAAC;IAED,uEAAuE;IAEvE;;OAEG;IACO,YAAY;QAElB,IAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAC1B;YACI,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC;YAE3C,OAAO;SACV;QAED,MAAM,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACzD,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAElE,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC;IACpD,CAAC;wGAzEQ,qBAAqB,4CAyBV,mBAAmB,aACnB,yBAAyB;4FA1BpC,qBAAqB;;SAArB,qBAAqB;4FAArB,qBAAqB;kBALjC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;oBAC1B,QAAQ,EAAE,cAAc;iBAC3B;;0BA0BgB,MAAM;2BAAC,mBAAmB;;0BAC1B,MAAM;2BAAC,yBAAyB;4CAXtC,SAAS;sBADf,KAAK;uBAAC,cAAc;gBAOd,MAAM;sBADZ,KAAK","sourcesContent":["import {Directive, ElementRef, Inject, Input, OnChanges, OnDestroy, SimpleChanges} from '@angular/core';\nimport {StringLocalization, STRING_LOCALIZATION} from '@anglr/common';\nimport {Dictionary, isBlank, nameof, StringDictionary} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {VALIDATION_ERROR_MESSAGES} from '../../../../misc/tokens';\n\n/**\n * Directive used for displaying form error message\n */\n@Directive(\n{\n selector: '[errorMessage]',\n exportAs: 'errorMessage'\n})\nexport class ErrorMessageDirective implements OnChanges, OnDestroy\n{\n //######################### protected properties #########################\n\n /**\n * Subscriptions created during initialization\n */\n protected _initSubscriptions: Subscription = new Subscription();\n\n //######################### public properties - inputs #########################\n\n /**\n * Name/code of error message to be displayed\n */\n @Input('errorMessage')\n public errorName: string;\n\n /**\n * Object storing all errors\n */\n @Input()\n public errors: Dictionary;\n\n //######################### constructor #########################\n constructor(protected _element: ElementRef<HTMLElement>,\n @Inject(STRING_LOCALIZATION) protected _localization: StringLocalization,\n @Inject(VALIDATION_ERROR_MESSAGES) protected _errorMessages: StringDictionary,)\n {\n this._initSubscriptions.add(this._localization.textsChange.subscribe(() => this._showMessage()));\n }\n\n //######################### public methods - implementation of OnChanges #########################\n \n /**\n * Called when input value changes\n */\n public ngOnChanges(changes: SimpleChanges): void\n {\n if(nameof<ErrorMessageDirective>('errorName') in changes)\n {\n this._showMessage();\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._initSubscriptions?.unsubscribe();\n this._initSubscriptions = null;\n }\n\n //######################### protected methods #########################\n\n /**\n * Shows message inside of element\n */\n protected _showMessage(): void\n {\n if(isBlank(this.errorName))\n {\n this._element.nativeElement.innerHTML = '';\n\n return;\n }\n\n const errorMessage = this._errorMessages[this.errorName];\n const message = this._localization.get(errorMessage, this.errors);\n\n this._element.nativeElement.innerHTML = message;\n }\n}"]}
@@ -16,11 +16,11 @@ class GroupErrorsTemplateDirective {
16
16
  static ngTemplateContextGuard(_dir, _ctx) {
17
17
  return true;
18
18
  }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GroupErrorsTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
20
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: GroupErrorsTemplateDirective, selector: "[formGroupError]", ngImport: i0 });
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupErrorsTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupErrorsTemplateDirective, selector: "[formGroupError]", ngImport: i0 });
21
21
  }
22
22
  export { GroupErrorsTemplateDirective };
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GroupErrorsTemplateDirective, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupErrorsTemplateDirective, decorators: [{
24
24
  type: Directive,
25
25
  args: [{
26
26
  selector: '[formGroupError]'
@@ -1 +1 @@
1
- {"version":3,"file":"groupErrorsTemplate.directive.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;;AAIrD;;GAEG;AACH,MAIa,4BAA4B;IAGlB;IADnB,iEAAiE;IACjE,YAAmB,QAAiD;QAAjD,aAAQ,GAAR,QAAQ,CAAyC;IAEpE,CAAC;IAED,wEAAwE;IAExE;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAkC,EAAE,IAAa;QAE3E,OAAO,IAAI,CAAC;IAChB,CAAC;uGAfQ,4BAA4B;2FAA5B,4BAA4B;;SAA5B,4BAA4B;2FAA5B,4BAA4B;kBAJxC,SAAS;mBACV;oBACI,QAAQ,EAAE,kBAAkB;iBAC/B","sourcesContent":["import {Directive, TemplateRef} from '@angular/core';\n\nimport {GroupErrorsTemplateContext} from './groupErrorsTemplate.context';\n\n/**\n * Obtains template for displaying form group error\n */\n@Directive(\n{\n selector: '[formGroupError]'\n})\nexport class GroupErrorsTemplateDirective\n{\n //######################### constructor #########################\n constructor(public template: TemplateRef<GroupErrorsTemplateContext>)\n {\n }\n\n //######################### ng language server #########################\n \n /**\n * Allows typechecking for template\n */\n static ngTemplateContextGuard(_dir: GroupErrorsTemplateDirective, _ctx: unknown): _ctx is GroupErrorsTemplateContext\n {\n return true;\n }\n}"]}
1
+ {"version":3,"file":"groupErrorsTemplate.directive.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;;AAIrD;;GAEG;AACH,MAIa,4BAA4B;IAGlB;IADnB,iEAAiE;IACjE,YAAmB,QAAiD;QAAjD,aAAQ,GAAR,QAAQ,CAAyC;IAEpE,CAAC;IAED,wEAAwE;IAExE;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAkC,EAAE,IAAa;QAE3E,OAAO,IAAI,CAAC;IAChB,CAAC;wGAfQ,4BAA4B;4FAA5B,4BAA4B;;SAA5B,4BAA4B;4FAA5B,4BAA4B;kBAJxC,SAAS;mBACV;oBACI,QAAQ,EAAE,kBAAkB;iBAC/B","sourcesContent":["import {Directive, TemplateRef} from '@angular/core';\n\nimport {GroupErrorsTemplateContext} from './groupErrorsTemplate.context';\n\n/**\n * Obtains template for displaying form group error\n */\n@Directive(\n{\n selector: '[formGroupError]'\n})\nexport class GroupErrorsTemplateDirective\n{\n //######################### constructor #########################\n constructor(public template: TemplateRef<GroupErrorsTemplateContext>)\n {\n }\n\n //######################### ng language server #########################\n \n /**\n * Allows typechecking for template\n */\n static ngTemplateContextGuard(_dir: GroupErrorsTemplateDirective, _ctx: unknown): _ctx is GroupErrorsTemplateContext\n {\n return true;\n }\n}"]}
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * Module for error message directives, pipes and components
10
10
  */
11
11
  class ErrorMessageModule {
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
14
14
  ErrorMessageDirective,
15
15
  GroupErrorsTemplateDirective,
16
16
  GroupErrorsComponent], imports: [CommonModule,
@@ -18,11 +18,11 @@ class ErrorMessageModule {
18
18
  ErrorMessageDirective,
19
19
  GroupErrorsTemplateDirective,
20
20
  GroupErrorsComponent] });
21
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
21
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
22
22
  CommonUtilsModule] });
23
23
  }
24
24
  export { ErrorMessageModule };
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessageModule, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessageModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{
28
28
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"errorMessage.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/errorMessage/modules/errorMessage.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAE,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAC,MAAM,UAAU,CAAC;;AAE9C;;GAEG;AACH,MAsBa,kBAAkB;uGAAlB,kBAAkB;wGAAlB,kBAAkB,iBAbvB,oBAAoB;YACpB,qBAAqB;YACrB,4BAA4B;YAC5B,oBAAoB,aARpB,YAAY;YACZ,iBAAiB,aAWjB,oBAAoB;YACpB,qBAAqB;YACrB,4BAA4B;YAC5B,oBAAoB;wGAGf,kBAAkB,YAlBvB,YAAY;YACZ,iBAAiB;;SAiBZ,kBAAkB;2FAAlB,kBAAkB;kBAtB9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,iBAAiB;qBACpB;oBACD,YAAY,EACZ;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;oBACD,OAAO,EACP;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonUtilsModule} from '@anglr/common';\n\nimport {GroupErrorsComponent} from '../components';\nimport {ErrorMessageDirective, GroupErrorsTemplateDirective} from '../directives';\nimport {WithErrorMessagePipe} from '../pipes';\n\n/**\n * Module for error message directives, pipes and components\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonUtilsModule,\n ],\n declarations:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ],\n exports:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ]\n})\nexport class ErrorMessageModule\n{\n}\n"]}
1
+ {"version":3,"file":"errorMessage.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/errorMessage/modules/errorMessage.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAE,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAC,MAAM,UAAU,CAAC;;AAE9C;;GAEG;AACH,MAsBa,kBAAkB;wGAAlB,kBAAkB;yGAAlB,kBAAkB,iBAbvB,oBAAoB;YACpB,qBAAqB;YACrB,4BAA4B;YAC5B,oBAAoB,aARpB,YAAY;YACZ,iBAAiB,aAWjB,oBAAoB;YACpB,qBAAqB;YACrB,4BAA4B;YAC5B,oBAAoB;yGAGf,kBAAkB,YAlBvB,YAAY;YACZ,iBAAiB;;SAiBZ,kBAAkB;4FAAlB,kBAAkB;kBAtB9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,iBAAiB;qBACpB;oBACD,YAAY,EACZ;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;oBACD,OAAO,EACP;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonUtilsModule} from '@anglr/common';\n\nimport {GroupErrorsComponent} from '../components';\nimport {ErrorMessageDirective, GroupErrorsTemplateDirective} from '../directives';\nimport {WithErrorMessagePipe} from '../pipes';\n\n/**\n * Module for error message directives, pipes and components\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonUtilsModule,\n ],\n declarations:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ],\n exports:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ]\n})\nexport class ErrorMessageModule\n{\n}\n"]}
@@ -21,11 +21,11 @@ class WithErrorMessagePipe {
21
21
  }
22
22
  return value.filter(itm => this._errorMessages[itm]);
23
23
  }
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
26
26
  }
27
27
  export { WithErrorMessagePipe };
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
29
29
  type: Pipe,
30
30
  args: [{ name: 'withErrorMessage' }]
31
31
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"withErrorMessage.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;;AAElE;;GAEG;AACH,MACa,oBAAoB;IAG4B;IADzD,iEAAiE;IACjE,YAAyD,cAAgC;QAAhC,mBAAc,GAAd,cAAc,CAAkB;IAEzF,CAAC;IAED,sGAAsG;IAEtG;;;OAGG;IACI,SAAS,CAAC,KAAe;QAE5B,IAAG,CAAC,KAAK,EAAE,MAAM,EACjB;YACI,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IACzD,CAAC;uGArBQ,oBAAoB,kBAGT,yBAAyB;qGAHpC,oBAAoB;;SAApB,oBAAoB;2FAApB,oBAAoB;kBADhC,IAAI;mBAAC,EAAC,IAAI,EAAE,kBAAkB,EAAC;;0BAIf,MAAM;2BAAC,yBAAyB","sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {StringDictionary} from '@jscrpt/common';\n\nimport {VALIDATION_ERROR_MESSAGES} from '../../../../misc/tokens';\n\n/**\n * Filters array of errors with messages\n */\n@Pipe({name: 'withErrorMessage'})\nexport class WithErrorMessagePipe implements PipeTransform\n{\n //######################### constructor #########################\n constructor(@Inject(VALIDATION_ERROR_MESSAGES) protected _errorMessages: StringDictionary)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Filters array of errors with messages\n * @param value - Array of error names\n */\n public transform(value: string[]): string[]\n {\n if(!value?.length)\n {\n return value;\n }\n\n return value.filter(itm => this._errorMessages[itm]);\n }\n}"]}
1
+ {"version":3,"file":"withErrorMessage.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;;AAElE;;GAEG;AACH,MACa,oBAAoB;IAG4B;IADzD,iEAAiE;IACjE,YAAyD,cAAgC;QAAhC,mBAAc,GAAd,cAAc,CAAkB;IAEzF,CAAC;IAED,sGAAsG;IAEtG;;;OAGG;IACI,SAAS,CAAC,KAAe;QAE5B,IAAG,CAAC,KAAK,EAAE,MAAM,EACjB;YACI,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IACzD,CAAC;wGArBQ,oBAAoB,kBAGT,yBAAyB;sGAHpC,oBAAoB;;SAApB,oBAAoB;4FAApB,oBAAoB;kBADhC,IAAI;mBAAC,EAAC,IAAI,EAAE,kBAAkB,EAAC;;0BAIf,MAAM;2BAAC,yBAAyB","sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {StringDictionary} from '@jscrpt/common';\n\nimport {VALIDATION_ERROR_MESSAGES} from '../../../../misc/tokens';\n\n/**\n * Filters array of errors with messages\n */\n@Pipe({name: 'withErrorMessage'})\nexport class WithErrorMessagePipe implements PipeTransform\n{\n //######################### constructor #########################\n constructor(@Inject(VALIDATION_ERROR_MESSAGES) protected _errorMessages: StringDictionary)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Filters array of errors with messages\n * @param value - Array of error names\n */\n public transform(value: string[]): string[]\n {\n if(!value?.length)\n {\n return value;\n }\n\n return value.filter(itm => this._errorMessages[itm]);\n }\n}"]}
@@ -5,18 +5,18 @@ import * as i0 from "@angular/core";
5
5
  * Module that holds form util pipes
6
6
  */
7
7
  class FormPipesModule {
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
10
10
  AsFormControlPipe,
11
11
  AsFormGroupPipe,
12
12
  GetControlPipe], exports: [AsFormArrayPipe,
13
13
  AsFormControlPipe,
14
14
  AsFormGroupPipe,
15
15
  GetControlPipe] });
16
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormPipesModule });
16
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormPipesModule });
17
17
  }
18
18
  export { FormPipesModule };
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormPipesModule, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormPipesModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"formPipes.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/formPipes/modules/formPipes.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;;AAE7F;;GAEG;AACH,MAiBa,eAAe;uGAAf,eAAe;wGAAf,eAAe,iBAbpB,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,cAAc,aAId,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,cAAc;wGAGT,eAAe;;SAAf,eAAe;2FAAf,eAAe;kBAjB3B,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,eAAe;wBACf,iBAAiB;wBACjB,eAAe;wBACf,cAAc;qBACjB;oBACD,OAAO,EACP;wBACI,eAAe;wBACf,iBAAiB;wBACjB,eAAe;wBACf,cAAc;qBACjB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {AsFormArrayPipe, AsFormControlPipe, AsFormGroupPipe, GetControlPipe} from '../pipes';\n\n/**\n * Module that holds form util pipes\n */\n@NgModule(\n{\n declarations:\n [\n AsFormArrayPipe,\n AsFormControlPipe,\n AsFormGroupPipe,\n GetControlPipe,\n ],\n exports:\n [\n AsFormArrayPipe,\n AsFormControlPipe,\n AsFormGroupPipe,\n GetControlPipe,\n ]\n})\nexport class FormPipesModule\n{\n}"]}
1
+ {"version":3,"file":"formPipes.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/formPipes/modules/formPipes.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;;AAE7F;;GAEG;AACH,MAiBa,eAAe;wGAAf,eAAe;yGAAf,eAAe,iBAbpB,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,cAAc,aAId,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,cAAc;yGAGT,eAAe;;SAAf,eAAe;4FAAf,eAAe;kBAjB3B,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,eAAe;wBACf,iBAAiB;wBACjB,eAAe;wBACf,cAAc;qBACjB;oBACD,OAAO,EACP;wBACI,eAAe;wBACf,iBAAiB;wBACjB,eAAe;wBACf,cAAc;qBACjB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {AsFormArrayPipe, AsFormControlPipe, AsFormGroupPipe, GetControlPipe} from '../pipes';\n\n/**\n * Module that holds form util pipes\n */\n@NgModule(\n{\n declarations:\n [\n AsFormArrayPipe,\n AsFormControlPipe,\n AsFormGroupPipe,\n GetControlPipe,\n ],\n exports:\n [\n AsFormArrayPipe,\n AsFormControlPipe,\n AsFormGroupPipe,\n GetControlPipe,\n ]\n})\nexport class FormPipesModule\n{\n}"]}
@@ -28,11 +28,11 @@ class AsFormArrayPipe {
28
28
  this._logger?.warn('Failed to cast AbstractControl to FormArray');
29
29
  return null;
30
30
  }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormArrayPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormArrayPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
33
33
  }
34
34
  export { AsFormArrayPipe };
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormArrayPipe, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormArrayPipe, decorators: [{
36
36
  type: Pipe,
37
37
  args: [{ name: 'asFormArray' }]
38
38
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"asFormArray.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AACH,MACa,eAAe;IAGwB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;uGA7BQ,eAAe,kBAGQ,MAAM;qGAH7B,eAAe;;SAAf,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormArray} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormArray} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormArray`\n */\n@Pipe({name: 'asFormArray'})\nexport class AsFormArrayPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormArray`\n * @param value - `AbstractControl` to be cast to `FormArray`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormArray<AbstractControl<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormArray)\n {\n return value as AsFormArray<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormArray');\n\n return null;\n }\n}"]}
1
+ {"version":3,"file":"asFormArray.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AACH,MACa,eAAe;IAGwB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;wGA7BQ,eAAe,kBAGQ,MAAM;sGAH7B,eAAe;;SAAf,eAAe;4FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormArray} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormArray} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormArray`\n */\n@Pipe({name: 'asFormArray'})\nexport class AsFormArrayPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormArray`\n * @param value - `AbstractControl` to be cast to `FormArray`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormArray<AbstractControl<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormArray)\n {\n return value as AsFormArray<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormArray');\n\n return null;\n }\n}"]}
@@ -28,11 +28,11 @@ class AsFormControlPipe {
28
28
  this._logger?.warn('Failed to cast AbstractControl to FormControl');
29
29
  return null;
30
30
  }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormControlPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormControlPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
33
33
  }
34
34
  export { AsFormControlPipe };
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormControlPipe, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormControlPipe, decorators: [{
36
36
  type: Pipe,
37
37
  args: [{ name: 'asFormControl' }]
38
38
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"asFormControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,MACa,iBAAiB;IAGsB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,WAAW,EAC/B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,+CAA+C,CAAC,CAAC;QAEpE,OAAO,IAAI,CAAC;IAChB,CAAC;uGA7BQ,iBAAiB,kBAGM,MAAM;qGAH7B,iBAAiB;;SAAjB,iBAAiB;2FAAjB,iBAAiB;kBAD7B,IAAI;mBAAC,EAAC,IAAI,EAAE,eAAe,EAAC;;0BAIZ,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormControl} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormControl`\n */\n@Pipe({name: 'asFormControl'})\nexport class AsFormControlPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormControl`\n * @param value - `AbstractControl` to be cast to `FormControl`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormControl<TModel>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormControl)\n {\n return value as FormControl<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormControl');\n\n return null;\n }\n}"]}
1
+ {"version":3,"file":"asFormControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,MACa,iBAAiB;IAGsB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,WAAW,EAC/B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,+CAA+C,CAAC,CAAC;QAEpE,OAAO,IAAI,CAAC;IAChB,CAAC;wGA7BQ,iBAAiB,kBAGM,MAAM;sGAH7B,iBAAiB;;SAAjB,iBAAiB;4FAAjB,iBAAiB;kBAD7B,IAAI;mBAAC,EAAC,IAAI,EAAE,eAAe,EAAC;;0BAIZ,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormControl} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormControl`\n */\n@Pipe({name: 'asFormControl'})\nexport class AsFormControlPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormControl`\n * @param value - `AbstractControl` to be cast to `FormControl`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormControl<TModel>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormControl)\n {\n return value as FormControl<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormControl');\n\n return null;\n }\n}"]}
@@ -28,11 +28,11 @@ class AsFormGroupPipe {
28
28
  this._logger?.warn('Failed to cast AbstractControl to FormGroup');
29
29
  return null;
30
30
  }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormGroupPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormGroupPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
33
33
  }
34
34
  export { AsFormGroupPipe };
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AsFormGroupPipe, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AsFormGroupPipe, decorators: [{
36
36
  type: Pipe,
37
37
  args: [{ name: 'asFormGroup' }]
38
38
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"asFormGroup.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AACH,MACa,eAAe;IAGwB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;uGA7BQ,eAAe,kBAGQ,MAAM;qGAH7B,eAAe;;SAAf,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormGroup} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormGroup, FormModelGroup} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormGroup`\n */\n@Pipe({name: 'asFormGroup'})\nexport class AsFormGroupPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormGroup`\n * @param value - `AbstractControl` to be cast to `FormGroup`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormGroup<FormModelGroup<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormGroup)\n {\n return value as AsFormGroup<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormGroup');\n\n return null;\n }\n}\n"]}
1
+ {"version":3,"file":"asFormGroup.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AACH,MACa,eAAe;IAGwB;IADhD,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;wGA7BQ,eAAe,kBAGQ,MAAM;sGAH7B,eAAe;;SAAf,eAAe;4FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormGroup} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormGroup, FormModelGroup} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormGroup`\n */\n@Pipe({name: 'asFormGroup'})\nexport class AsFormGroupPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormGroup`\n * @param value - `AbstractControl` to be cast to `FormGroup`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormGroup<FormModelGroup<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormGroup)\n {\n return value as AsFormGroup<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormGroup');\n\n return null;\n }\n}\n"]}
@@ -21,11 +21,11 @@ class GetControlPipe {
21
21
  }
22
22
  return value.get(control);
23
23
  }
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
25
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: GetControlPipe, name: "getControl" });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
25
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GetControlPipe, name: "getControl" });
26
26
  }
27
27
  export { GetControlPipe };
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GetControlPipe, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetControlPipe, decorators: [{
29
29
  type: Pipe,
30
30
  args: [{ name: 'getControl' }]
31
31
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"getControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/getControl/getControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAkB,SAAS,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,MACa,cAAc;IAEvB;;;;;OAKG;IACI,SAAS,CAAoC,KAA8B,EAAE,OAAa,EAAE,UAAoB;QAEnH,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,EACjE;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,OAAiB,CAAC,CAAC;IACxC,CAAC;uGArBQ,cAAc;qGAAd,cAAc;;SAAd,cAAc;2FAAd,cAAc;kBAD1B,IAAI;mBAAC,EAAC,IAAI,EAAE,YAAY,EAAC","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {AbstractControl, FormArray, FormGroup} from '@angular/forms';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Gets control from `FormGroup` or `FormArray`\n */\n@Pipe({name: 'getControl'})\nexport class GetControlPipe implements PipeTransform\n{\n /**\n * Gets control from `FormGroup` or `FormArray`\n * @param value - FormGroup which contains requested control\n * @param control - Control name to be obtained\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel, TKey extends keyof TModel>(value: AbstractControl<TModel>, control: TKey, _valueHash?: unknown): AbstractControl<TModel[TKey]>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(!(value instanceof FormArray) && !(value instanceof FormGroup))\n {\n return null;\n }\n\n return value.get(control as string);\n }\n}"]}
1
+ {"version":3,"file":"getControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/getControl/getControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAkB,SAAS,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,MACa,cAAc;IAEvB;;;;;OAKG;IACI,SAAS,CAAoC,KAA8B,EAAE,OAAa,EAAE,UAAoB;QAEnH,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,EACjE;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,OAAiB,CAAC,CAAC;IACxC,CAAC;wGArBQ,cAAc;sGAAd,cAAc;;SAAd,cAAc;4FAAd,cAAc;kBAD1B,IAAI;mBAAC,EAAC,IAAI,EAAE,YAAY,EAAC","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {AbstractControl, FormArray, FormGroup} from '@angular/forms';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Gets control from `FormGroup` or `FormArray`\n */\n@Pipe({name: 'getControl'})\nexport class GetControlPipe implements PipeTransform\n{\n /**\n * Gets control from `FormGroup` or `FormArray`\n * @param value - FormGroup which contains requested control\n * @param control - Control name to be obtained\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel, TKey extends keyof TModel>(value: AbstractControl<TModel>, control: TKey, _valueHash?: unknown): AbstractControl<TModel[TKey]>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(!(value instanceof FormArray) && !(value instanceof FormGroup))\n {\n return null;\n }\n\n return value.get(control as string);\n }\n}"]}
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * Module for input validation directives
10
10
  */
11
11
  class HasErrorModule {
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
14
14
  GroupHasErrorDirective,
15
15
  GroupHasErrorContainerDirective,
16
16
  ValidationErrorsContainerDirective,
@@ -20,10 +20,10 @@ class HasErrorModule {
20
20
  GroupHasErrorDirective,
21
21
  GroupHasErrorContainerDirective,
22
22
  ValidationErrorsContainerDirective] });
23
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HasErrorModule, imports: [CommonModule] });
23
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HasErrorModule, imports: [CommonModule] });
24
24
  }
25
25
  export { HasErrorModule };
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HasErrorModule, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HasErrorModule, decorators: [{
27
27
  type: NgModule,
28
28
  args: [{
29
29
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"hasError.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/hasError.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;AAC3F,OAAO,EAAC,+BAA+B,EAAE,kCAAkC,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,gCAAgC,EAAE,yCAAyC,EAAE,+CAA+C,EAAC,MAAM,eAAe,CAAC;;AAE3J;;GAEG;AACH,MAwBa,cAAc;uGAAd,cAAc;wGAAd,cAAc,iBAhBnB,iBAAiB;YACjB,sBAAsB;YACtB,+BAA+B;YAC/B,kCAAkC;YAClC,gCAAgC;YAChC,yCAAyC;YACzC,+CAA+C,aAV/C,YAAY,aAcZ,iBAAiB;YACjB,sBAAsB;YACtB,+BAA+B;YAC/B,kCAAkC;wGAG7B,cAAc,YApBnB,YAAY;;SAoBP,cAAc;2FAAd,cAAc;kBAxB1B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;wBAClC,gCAAgC;wBAChC,yCAAyC;wBACzC,+CAA+C;qBAClD;oBACD,OAAO,EACP;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;qBACrC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {HasErrorDirective} from '../directives/hasError/hasError.directive';\nimport {GroupHasErrorDirective} from '../directives/groupHasError/groupHasError.directive';\nimport {GroupHasErrorContainerDirective, ValidationErrorsContainerDirective} from '../directives';\nimport {DefaultValidationErrorsComponent, DefaultValidationErrorsContainerComponent, ReservedSpaceValidationErrorsContainerComponent} from '../components';\n\n/**\n * Module for input validation directives\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n ],\n declarations: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n DefaultValidationErrorsComponent,\n DefaultValidationErrorsContainerComponent,\n ReservedSpaceValidationErrorsContainerComponent,\n ],\n exports: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n ]\n})\nexport class HasErrorModule\n{\n}"]}
1
+ {"version":3,"file":"hasError.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/hasError.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;AAC3F,OAAO,EAAC,+BAA+B,EAAE,kCAAkC,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,gCAAgC,EAAE,yCAAyC,EAAE,+CAA+C,EAAC,MAAM,eAAe,CAAC;;AAE3J;;GAEG;AACH,MAwBa,cAAc;wGAAd,cAAc;yGAAd,cAAc,iBAhBnB,iBAAiB;YACjB,sBAAsB;YACtB,+BAA+B;YAC/B,kCAAkC;YAClC,gCAAgC;YAChC,yCAAyC;YACzC,+CAA+C,aAV/C,YAAY,aAcZ,iBAAiB;YACjB,sBAAsB;YACtB,+BAA+B;YAC/B,kCAAkC;yGAG7B,cAAc,YApBnB,YAAY;;SAoBP,cAAc;4FAAd,cAAc;kBAxB1B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;wBAClC,gCAAgC;wBAChC,yCAAyC;wBACzC,+CAA+C;qBAClD;oBACD,OAAO,EACP;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;qBACrC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {HasErrorDirective} from '../directives/hasError/hasError.directive';\nimport {GroupHasErrorDirective} from '../directives/groupHasError/groupHasError.directive';\nimport {GroupHasErrorContainerDirective, ValidationErrorsContainerDirective} from '../directives';\nimport {DefaultValidationErrorsComponent, DefaultValidationErrorsContainerComponent, ReservedSpaceValidationErrorsContainerComponent} from '../components';\n\n/**\n * Module for input validation directives\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n ],\n declarations: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n DefaultValidationErrorsComponent,\n DefaultValidationErrorsContainerComponent,\n ReservedSpaceValidationErrorsContainerComponent,\n ],\n exports: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n ]\n})\nexport class HasErrorModule\n{\n}"]}
@@ -8,18 +8,18 @@ import * as i0 from "@angular/core";
8
8
  * Module for number input components, pipes and directives
9
9
  */
10
10
  class NumberInputModule {
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
13
13
  MinValueNumberValidatorDirective,
14
14
  NumberInputControlValueAccessor,
15
15
  NumberInputValidatorDirective], exports: [MaxValueNumberValidatorDirective,
16
16
  MinValueNumberValidatorDirective,
17
17
  NumberInputControlValueAccessor,
18
18
  NumberInputValidatorDirective] });
19
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NumberInputModule });
19
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberInputModule });
20
20
  }
21
21
  export { NumberInputModule };
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NumberInputModule, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberInputModule, decorators: [{
23
23
  type: NgModule,
24
24
  args: [{
25
25
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"numberInput.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/numberInput.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,gCAAgC,EAAC,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAC,gCAAgC,EAAC,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAC,+BAA+B,EAAC,MAAM,qEAAqE,CAAC;AACpH,OAAO,EAAC,6BAA6B,EAAC,MAAM,0DAA0D,CAAC;;AAEvG;;GAEG;AACH,MAiBa,iBAAiB;uGAAjB,iBAAiB;wGAAjB,iBAAiB,iBAbtB,gCAAgC;YAChC,gCAAgC;YAChC,+BAA+B;YAC/B,6BAA6B,aAI7B,gCAAgC;YAChC,gCAAgC;YAChC,+BAA+B;YAC/B,6BAA6B;wGAGxB,iBAAiB;;SAAjB,iBAAiB;2FAAjB,iBAAiB;kBAjB7B,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,gCAAgC;wBAChC,gCAAgC;wBAChC,+BAA+B;wBAC/B,6BAA6B;qBAChC;oBACD,OAAO,EACP;wBACI,gCAAgC;wBAChC,gCAAgC;wBAChC,+BAA+B;wBAC/B,6BAA6B;qBAChC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {MaxValueNumberValidatorDirective} from '../directives/numberInput/maxValueNumberValidator.directive';\nimport {MinValueNumberValidatorDirective} from '../directives/numberInput/minValueNumberValidator.directive';\nimport {NumberInputControlValueAccessor} from '../directives/numberInput/numberInputControlValueAccessor.directive';\nimport {NumberInputValidatorDirective} from '../directives/numberInput/numberInputValidator.directive';\n\n/**\n * Module for number input components, pipes and directives\n */\n@NgModule(\n{\n declarations: \n [\n MaxValueNumberValidatorDirective,\n MinValueNumberValidatorDirective,\n NumberInputControlValueAccessor,\n NumberInputValidatorDirective\n ],\n exports:\n [\n MaxValueNumberValidatorDirective,\n MinValueNumberValidatorDirective,\n NumberInputControlValueAccessor,\n NumberInputValidatorDirective\n ]\n})\nexport class NumberInputModule\n{\n}"]}
1
+ {"version":3,"file":"numberInput.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/numberInput.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,gCAAgC,EAAC,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAC,gCAAgC,EAAC,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAC,+BAA+B,EAAC,MAAM,qEAAqE,CAAC;AACpH,OAAO,EAAC,6BAA6B,EAAC,MAAM,0DAA0D,CAAC;;AAEvG;;GAEG;AACH,MAiBa,iBAAiB;wGAAjB,iBAAiB;yGAAjB,iBAAiB,iBAbtB,gCAAgC;YAChC,gCAAgC;YAChC,+BAA+B;YAC/B,6BAA6B,aAI7B,gCAAgC;YAChC,gCAAgC;YAChC,+BAA+B;YAC/B,6BAA6B;yGAGxB,iBAAiB;;SAAjB,iBAAiB;4FAAjB,iBAAiB;kBAjB7B,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,gCAAgC;wBAChC,gCAAgC;wBAChC,+BAA+B;wBAC/B,6BAA6B;qBAChC;oBACD,OAAO,EACP;wBACI,gCAAgC;wBAChC,gCAAgC;wBAChC,+BAA+B;wBAC/B,6BAA6B;qBAChC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {MaxValueNumberValidatorDirective} from '../directives/numberInput/maxValueNumberValidator.directive';\nimport {MinValueNumberValidatorDirective} from '../directives/numberInput/minValueNumberValidator.directive';\nimport {NumberInputControlValueAccessor} from '../directives/numberInput/numberInputControlValueAccessor.directive';\nimport {NumberInputValidatorDirective} from '../directives/numberInput/numberInputValidator.directive';\n\n/**\n * Module for number input components, pipes and directives\n */\n@NgModule(\n{\n declarations: \n [\n MaxValueNumberValidatorDirective,\n MinValueNumberValidatorDirective,\n NumberInputControlValueAccessor,\n NumberInputValidatorDirective\n ],\n exports:\n [\n MaxValueNumberValidatorDirective,\n MinValueNumberValidatorDirective,\n NumberInputControlValueAccessor,\n NumberInputValidatorDirective\n ]\n})\nexport class NumberInputModule\n{\n}"]}
@@ -5,12 +5,12 @@ import * as i0 from "@angular/core";
5
5
  * Module for required class directive
6
6
  */
7
7
  class RequiredClassModule {
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
10
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassModule });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
10
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassModule });
11
11
  }
12
12
  export { RequiredClassModule };
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredClassModule, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RequiredClassModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  declarations: [RequiredClassDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"requiredClass.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/requiredClass.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;;AAE3F;;GAEG;AACH,MAKa,mBAAmB;uGAAnB,mBAAmB;wGAAnB,mBAAmB,iBAHb,sBAAsB,aAC3B,sBAAsB;wGAEvB,mBAAmB;;SAAnB,mBAAmB;2FAAnB,mBAAmB;kBAL/B,QAAQ;mBACT;oBACI,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBACpC","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {RequiredClassDirective} from '../directives/requiredClass/requiredClass.directive';\n\n/**\n * Module for required class directive\n */\n@NgModule(\n{\n declarations: [RequiredClassDirective],\n exports: [RequiredClassDirective]\n})\nexport class RequiredClassModule\n{\n}"]}
1
+ {"version":3,"file":"requiredClass.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/requiredClass.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;;AAE3F;;GAEG;AACH,MAKa,mBAAmB;wGAAnB,mBAAmB;yGAAnB,mBAAmB,iBAHb,sBAAsB,aAC3B,sBAAsB;yGAEvB,mBAAmB;;SAAnB,mBAAmB;4FAAnB,mBAAmB;kBAL/B,QAAQ;mBACT;oBACI,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBACpC","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {RequiredClassDirective} from '../directives/requiredClass/requiredClass.directive';\n\n/**\n * Module for required class directive\n */\n@NgModule(\n{\n declarations: [RequiredClassDirective],\n exports: [RequiredClassDirective]\n})\nexport class RequiredClassModule\n{\n}"]}
@@ -69,11 +69,11 @@ class ErrorMessagesExtractor {
69
69
  });
70
70
  return result;
71
71
  }
72
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: STRING_LOCALIZATION }, { token: IGNORED_VALIDATION_ERRORS }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
73
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: STRING_LOCALIZATION }, { token: IGNORED_VALIDATION_ERRORS }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
73
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
74
74
  }
75
75
  export { ErrorMessagesExtractor };
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
77
77
  type: Injectable,
78
78
  args: [{ providedIn: 'root' }]
79
79
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{