@anglr/common 14.2.0-beta.20221025042231 → 14.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  2. package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  3. package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  4. package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  5. package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  6. package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  7. package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
  8. package/es2015/forms/src/directives/hasError/hasError.directive.js.map +1 -1
  9. package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  10. package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  11. package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  12. package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  13. package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  14. package/es2015/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  15. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
  16. package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  17. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  18. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
  19. package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  20. package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  21. package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  22. package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  23. package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  24. package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  25. package/es2015/forms/src/modules/hasError.module.js +4 -4
  26. package/es2015/forms/src/modules/numberInput.module.js +4 -4
  27. package/es2015/forms/src/modules/requiredClass.module.js +4 -4
  28. package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  29. package/es2015/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
  30. package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
  31. package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  32. package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
  33. package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  34. package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
  35. package/es2015/material/src/components/titledDialog/titledDialog.component.js +3 -3
  36. package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  37. package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  38. package/es2015/material/src/modules/confirmationDialog.module.js +4 -4
  39. package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
  40. package/es2015/material/src/modules/movableTitledDialog.module.js +4 -4
  41. package/es2015/material/src/modules/titledDialog.module.js +4 -4
  42. package/es2015/material/src/services/titledDialog/titledDialog.service.js +3 -3
  43. package/es2015/moment/src/modules/moment.module.js +4 -4
  44. package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  45. package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  46. package/es2015/numeral/src/modules/numeral.module.js +4 -4
  47. package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
  48. package/es2015/router/src/services/routing/dataRouter.js +3 -3
  49. package/es2015/router/src/services/routing/dataRouterData.js +3 -3
  50. package/es2015/src/directives/bodyRender/bodyRender.directive.js +3 -3
  51. package/es2015/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
  52. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  53. package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
  54. package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  55. package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  56. package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  57. package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  58. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  59. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  60. package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  61. package/es2015/src/modules/commonDynamic.module.js +4 -4
  62. package/es2015/src/modules/commonLocalize.module.js +4 -4
  63. package/es2015/src/modules/commonUtils.module.js +4 -4
  64. package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  65. package/es2015/src/modules/debugData/modules/debugData.module.js +4 -4
  66. package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  67. package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  68. package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
  69. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  70. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
  71. package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
  72. package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  73. package/es2015/src/modules/position/modules/position.module.js +4 -4
  74. package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  75. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  76. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
  77. package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  78. package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  79. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  80. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
  81. package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  82. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  83. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
  84. package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  85. package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -4
  86. package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
  87. package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
  88. package/es2015/src/pipes/keys/keys.pipe.js +3 -3
  89. package/es2015/src/pipes/localize/localize.pipe.js +3 -3
  90. package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  91. package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  92. package/es2015/src/services/cookies/cookies.service.js +3 -3
  93. package/es2015/src/services/cookies/cookies.service.js.map +1 -1
  94. package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
  95. package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  96. package/es2015/src/services/statusCode/statusCode.service.js +3 -3
  97. package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  98. package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  99. package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  100. package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  101. package/es2015/structured-log/src/components/console/console.component.js +3 -3
  102. package/es2015/structured-log/src/modules/consoleLog.module.js +4 -4
  103. package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  104. package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  105. package/es2015/structured-log/src/services/logger.service.js +3 -3
  106. package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
  107. package/es2015/structured-log/src/services/rest/restSink.service.js.map +1 -1
  108. package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  109. package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  110. package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  111. package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  112. package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  113. package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  114. package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  115. package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
  116. package/es2020/forms/src/directives/hasError/hasError.directive.js.map +1 -1
  117. package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  118. package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  119. package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  120. package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  121. package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  122. package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  123. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
  124. package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  125. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  126. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
  127. package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  128. package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  129. package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  130. package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  131. package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  132. package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  133. package/es2020/forms/src/modules/hasError.module.js +4 -4
  134. package/es2020/forms/src/modules/numberInput.module.js +4 -4
  135. package/es2020/forms/src/modules/requiredClass.module.js +4 -4
  136. package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  137. package/es2020/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
  138. package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
  139. package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  140. package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
  141. package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  142. package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
  143. package/es2020/material/src/components/titledDialog/titledDialog.component.js +3 -3
  144. package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  145. package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  146. package/es2020/material/src/modules/confirmationDialog.module.js +4 -4
  147. package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
  148. package/es2020/material/src/modules/movableTitledDialog.module.js +4 -4
  149. package/es2020/material/src/modules/titledDialog.module.js +4 -4
  150. package/es2020/material/src/services/titledDialog/titledDialog.service.js +3 -3
  151. package/es2020/moment/src/modules/moment.module.js +4 -4
  152. package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  153. package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  154. package/es2020/numeral/src/modules/numeral.module.js +4 -4
  155. package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
  156. package/es2020/router/src/services/routing/dataRouter.js +3 -3
  157. package/es2020/router/src/services/routing/dataRouterData.js +3 -3
  158. package/es2020/src/directives/bodyRender/bodyRender.directive.js +3 -3
  159. package/es2020/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
  160. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  161. package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
  162. package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  163. package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  164. package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  165. package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  166. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  167. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  168. package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  169. package/es2020/src/modules/commonDynamic.module.js +4 -4
  170. package/es2020/src/modules/commonLocalize.module.js +4 -4
  171. package/es2020/src/modules/commonUtils.module.js +4 -4
  172. package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  173. package/es2020/src/modules/debugData/modules/debugData.module.js +4 -4
  174. package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  175. package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  176. package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
  177. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  178. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
  179. package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
  180. package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  181. package/es2020/src/modules/position/modules/position.module.js +4 -4
  182. package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  183. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  184. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
  185. package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  186. package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  187. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  188. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
  189. package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  190. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  191. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
  192. package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  193. package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -4
  194. package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
  195. package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
  196. package/es2020/src/pipes/keys/keys.pipe.js +3 -3
  197. package/es2020/src/pipes/localize/localize.pipe.js +3 -3
  198. package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  199. package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  200. package/es2020/src/services/cookies/cookies.service.js +3 -3
  201. package/es2020/src/services/cookies/cookies.service.js.map +1 -1
  202. package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
  203. package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  204. package/es2020/src/services/statusCode/statusCode.service.js +3 -3
  205. package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  206. package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  207. package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  208. package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  209. package/es2020/structured-log/src/components/console/console.component.js +3 -3
  210. package/es2020/structured-log/src/modules/consoleLog.module.js +4 -4
  211. package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  212. package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  213. package/es2020/structured-log/src/services/logger.service.js +3 -3
  214. package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
  215. package/es2020/structured-log/src/services/rest/restSink.service.js.map +1 -1
  216. package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  217. package/package.json +1 -1
  218. package/version.bak +1 -1
@@ -66,9 +66,9 @@ export class DefaultValidationErrorsContainerComponent {
66
66
  }
67
67
  }
68
68
  }
69
- DefaultValidationErrorsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultValidationErrorsContainerComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
70
- DefaultValidationErrorsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DefaultValidationErrorsContainerComponent, selector: "default-validation-errors-container", ngImport: i0, template: '', isInline: true, styles: [":host\n{\n display: contents;\n}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultValidationErrorsContainerComponent, decorators: [{
69
+ DefaultValidationErrorsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DefaultValidationErrorsContainerComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
70
+ DefaultValidationErrorsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: DefaultValidationErrorsContainerComponent, selector: "default-validation-errors-container", ngImport: i0, template: '', isInline: true, styles: [":host\n{\n display: contents;\n}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DefaultValidationErrorsContainerComponent, decorators: [{
72
72
  type: Component,
73
73
  args: [{ selector: 'default-validation-errors-container', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host\n{\n display: contents;\n}"] }]
74
74
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
@@ -63,9 +63,9 @@ export class ReservedSpaceValidationErrorsContainerComponent {
63
63
  }
64
64
  }
65
65
  }
66
- ReservedSpaceValidationErrorsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ReservedSpaceValidationErrorsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
67
- ReservedSpaceValidationErrorsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ReservedSpaceValidationErrorsContainerComponent, selector: "reserved-space-validation-errors-container", viewQueries: [{ propertyName: "viewContainer", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div>\n <ng-container #container></ng-container>\n</div>", styles: [":host\n{\n display: contents;\n}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ReservedSpaceValidationErrorsContainerComponent, decorators: [{
66
+ ReservedSpaceValidationErrorsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ReservedSpaceValidationErrorsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
67
+ ReservedSpaceValidationErrorsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ReservedSpaceValidationErrorsContainerComponent, selector: "reserved-space-validation-errors-container", viewQueries: [{ propertyName: "viewContainer", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div>\n <ng-container #container></ng-container>\n</div>", styles: [":host\n{\n display: contents;\n}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ReservedSpaceValidationErrorsContainerComponent, decorators: [{
69
69
  type: Component,
70
70
  args: [{ selector: 'reserved-space-validation-errors-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <ng-container #container></ng-container>\n</div>", styles: [":host\n{\n display: contents;\n}"] }]
71
71
  }], propDecorators: { viewContainer: [{
@@ -61,9 +61,9 @@ export class GroupHasErrorDirective {
61
61
  }
62
62
  }
63
63
  }
64
- GroupHasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupHasErrorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
65
- GroupHasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: GroupHasErrorDirective, selector: "[groupHasError]", ngImport: i0 });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupHasErrorDirective, decorators: [{
64
+ GroupHasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupHasErrorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
65
+ GroupHasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: GroupHasErrorDirective, selector: "[groupHasError]", ngImport: i0 });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupHasErrorDirective, decorators: [{
67
67
  type: Directive,
68
68
  args: [{
69
69
  selector: '[groupHasError]'
@@ -7,15 +7,15 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export class GroupHasErrorContainerDirective extends GroupHasErrorDirective {
9
9
  }
10
- GroupHasErrorContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupHasErrorContainerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
11
- GroupHasErrorContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: GroupHasErrorContainerDirective, selector: "[groupHasErrorContainer]", providers: [
10
+ GroupHasErrorContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupHasErrorContainerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
11
+ GroupHasErrorContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: GroupHasErrorContainerDirective, selector: "[groupHasErrorContainer]", providers: [
12
12
  {
13
13
  provide: GroupHasErrorDirective,
14
14
  useExisting: GroupHasErrorContainerDirective
15
15
  },
16
16
  ValidationErrorsContainerView
17
17
  ], usesInheritance: true, ngImport: i0 });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupHasErrorContainerDirective, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupHasErrorContainerDirective, decorators: [{
19
19
  type: Directive,
20
20
  args: [{
21
21
  selector: '[groupHasErrorContainer]',
@@ -149,15 +149,15 @@ export class HasErrorDirective {
149
149
  });
150
150
  }
151
151
  }
152
- HasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HasErrorDirective, deps: [{ token: i0.ElementRef }, { token: i1.ValidationErrorRendererFactory }, { token: i0.ViewContainerRef }, { token: i2.GroupHasErrorDirective, optional: true, skipSelf: true }, { token: i3.FormControlDirective, optional: true }, { token: i3.FormControlName, optional: true }, { token: i3.NgModel, optional: true }, { token: i4.SubmittedService, optional: true }, { token: i5.ValidationErrorsContainerView, optional: true }, { token: STRING_LOCALIZATION }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
153
- HasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: HasErrorDirective, selector: "[hasError]", inputs: { errorMessages: "errorMessages", errorsComponent: "errorsComponent", errorsTemplate: "errorsTemplate" }, ngImport: i0 });
152
+ HasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorDirective, deps: [{ token: i0.ElementRef }, { token: i1.ValidationErrorRendererFactory }, { token: i0.ViewContainerRef }, { token: i2.GroupHasErrorDirective, optional: true, skipSelf: true }, { token: i3.FormControlDirective, optional: true }, { token: i3.FormControlName, optional: true }, { token: i3.NgModel, optional: true }, { token: i4.SubmittedService, optional: true }, { token: i5.ValidationErrorsContainerView, optional: true }, { token: STRING_LOCALIZATION }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
153
+ HasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: HasErrorDirective, selector: "[hasError]", inputs: { errorMessages: "errorMessages", errorsComponent: "errorsComponent", errorsTemplate: "errorsTemplate" }, ngImport: i0 });
154
154
  __decorate([
155
155
  BindThis,
156
156
  __metadata("design:type", Function),
157
157
  __metadata("design:paramtypes", [Function, Function, Boolean]),
158
158
  __metadata("design:returntype", void 0)
159
159
  ], HasErrorDirective.prototype, "_isSubmittedOrDirty", null);
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HasErrorDirective, decorators: [{
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorDirective, decorators: [{
161
161
  type: Directive,
162
162
  args: [{
163
163
  selector: '[hasError]'
@@ -1 +1 @@
1
- {"version":3,"file":"hasError.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/hasError/hasError.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAqB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAiB,IAAI,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACxK,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAe,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAqB,mBAAmB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,8BAA8B,EAAC,MAAM,wEAAwE,CAAC;AAEtH,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAC,6BAA6B,EAAC,MAAM,0CAA0C,CAAC;;;;;;;AAEvF,qEAAqE;AAErE;;GAEG;AAKH,MAAM,OAAO,iBAAiB;IAkE1B,iEAAiE;IACjE,YAAoB,QAAiC,EACjC,gBAAgD,EAChD,cAAgC,EACR,cAAsC,EAClD,YAAkC,EAClC,gBAAiC,EACjC,QAAiB,EACjB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1B,UAAU,EAAE,IAAI;SACnB,CAAC,CAAC;IACP,CAAC;;8GApNQ,iBAAiB,ubA4EN,mBAAmB;kGA5E9B,iBAAiB;AAmL1B;IADC,QAAQ;;;;4DAcR;2FAhMQ,iBAAiB;kBAJ7B,SAAS;mBACV;oBACI,QAAQ,EAAE,YAAY;iBACzB;;0BAuEgB,QAAQ;;0BAAI,QAAQ;;0BACpB,QAAQ;;0BACR,QAAQ;;0BACR,QAAQ;;0BACR,QAAQ;;0BACR,QAAQ;;0BACR,MAAM;2BAAC,mBAAmB;mEAxBhC,aAAa;sBADnB,KAAK;gBAOC,eAAe;sBADrB,KAAK;gBAOC,cAAc;sBADpB,KAAK;gBAoHE,mBAAmB","sourcesContent":["import {Directive, ElementRef, Optional, SkipSelf, OnInit, OnDestroy, Inject, Input, Injector, ViewContainerRef, AfterViewInit, Type, TemplateRef} from '@angular/core';\nimport {FormControlDirective, FormControlName, FormControl, NgModel} from '@angular/forms';\nimport {StringLocalization, STRING_LOCALIZATION} from '@anglr/common';\nimport {generateId, BindThis, StringDictionary} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {ValidationErrorRendererFactory} from '../../services/validationErrorRenderer/validationErrorRenderer.service';\nimport {ValidationErrorRenderer, ValidationErrorsComponent, ValidationErrorsRendererOptions, ValidationErrorsTemplateContext} from '../../services/validationErrorRenderer/validationErrorRenderer.interface';\nimport {SubmittedService} from '../../services/submitted/submitted.service';\nimport {GroupHasErrorDirective} from '../groupHasError/groupHasError.directive';\nimport {ValidationErrorsContainerView} from '../../misc/validationErrorsContainerView';\n\n//TODO - add support for setting renderer factory options using input\n\n/**\n * Directive that is attached to control element and handles css classes that are added to this element\n */\n@Directive(\n{\n selector: '[hasError]'\n})\nexport class HasErrorDirective implements OnInit, AfterViewInit, OnDestroy\n{\n //######################### private fields #########################\n\n /**\n * Subscriptions that are destroyed with destruction of this directive\n */\n private _subscriptions: Subscription = new Subscription();\n\n /**\n * Unique generated id of control\n */\n private _id: string = generateId(10);\n\n /**\n * Last value of control pristine attribute\n */\n private _previousDirty: boolean = false;\n\n /**\n * Indication whether currently are any errors rendered\n */\n private _hasErrors: boolean = false;\n\n /**\n * Mutation observer used for observing changes on class of element\n */\n private _observer: MutationObserver;\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?.control || this._formControlName?.control || this._ngModel?.control;\n }\n\n //######################### public properties #########################\n\n /**\n * Instance of validation error renderer\n */\n public renderer: ValidationErrorRenderer;\n\n //######################### public propeties - inputs #########################\n\n /**\n * Customized error messages\n */\n @Input()\n public errorMessages: StringDictionary;\n\n /**\n * Custom component used for rendering validation errors\n */\n @Input()\n public errorsComponent?: Type<ValidationErrorsComponent>;\n\n /**\n * Custom template used for rendering validation errors\n */\n @Input()\n public errorsTemplate?: TemplateRef<ValidationErrorsTemplateContext>;\n\n //######################### constructor #########################\n constructor(private _element: ElementRef<HTMLElement>,\n private _rendererFactory: ValidationErrorRendererFactory,\n private _viewContainer: ViewContainerRef,\n @Optional() @SkipSelf() private _groupHasError: GroupHasErrorDirective,\n @Optional() private _formControl: FormControlDirective,\n @Optional() private _formControlName: FormControlName,\n @Optional() private _ngModel: NgModel,\n @Optional() private _submittedSvc: SubmittedService,\n @Optional() private _containerView: ValidationErrorsContainerView,\n @Inject(STRING_LOCALIZATION) protected _stringLocalization: StringLocalization,\n protected _injector: Injector)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._containerView ??= new ValidationErrorsContainerView();\n this._containerView.viewContainer ??= this._viewContainer;\n\n this._registerMutationObserver();\n\n this._subscriptions.add(this._stringLocalization.textsChange.subscribe(() => this._updateStatus()));\n this._subscriptions.add(this.control.statusChanges.subscribe(() => this._updateStatus()));\n\n if(this._submittedSvc)\n {\n this._subscriptions.add(this._submittedSvc.submittedChange.subscribe(() => this._isSubmittedOrDirty(() => this._updateStatus())));\n }\n }\n\n //######################### public methods - implementation of AfterViewInit #########################\n \n /**\n * Called when view was initialized\n */\n public ngAfterViewInit(): void\n {\n this.renderer = this._rendererFactory.create(this.control,\n this._containerView,\n this._injector,\n this._isSubmittedOrDirty);\n\n this._updateStatus();\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._subscriptions.unsubscribe();\n\n this._groupHasError?.unregisterControl(this._id);\n this._observer?.disconnect();\n this.renderer?.destroy();\n }\n\n //######################### private methods #########################\n\n /**\n * Updates status of control and css classes\n */\n private _updateStatus(): void\n {\n if(!this.renderer)\n {\n return;\n }\n\n const opts: ValidationErrorsRendererOptions = {};\n\n if(this.errorsTemplate)\n {\n opts.template = this.errorsTemplate;\n }\n else if(this.errorsComponent)\n {\n opts.component = this.errorsComponent;\n }\n\n this._previousDirty = this.control.dirty;\n this._hasErrors = this.renderer.update(opts, this.errorMessages);\n this._toggleGroupHasError();\n }\n\n /**\n * Toggles registration of control in parent group\n */\n private _toggleGroupHasError(): void\n {\n if(this._groupHasError)\n {\n this._isSubmittedOrDirty(() => this._groupHasError.registerControl(this._id),\n () => this._groupHasError.unregisterControl(this._id),\n this._hasErrors);\n }\n }\n\n /**\n * Calls action when form is submitted or control is dirty\n * @param action - Action to be called when form is submitted or control dirty\n * @param falseAction - Action to be called when form is not submitted and control is not dirty\n * @param additionalCondition - Additional condition to be evaluated\n */\n @BindThis\n private _isSubmittedOrDirty(action: () => void, falseAction: () => void = () => {}, additionalCondition: boolean = true): void\n {\n //submitted form or dirty control\n if((this._submittedSvc?.submitted ||\n this.control?.dirty) &&\n additionalCondition)\n {\n action();\n }\n else\n {\n falseAction();\n }\n }\n\n /**\n * Registers mutation observer which watch for changes of class list\n */\n private _registerMutationObserver(): void\n {\n this._observer = new MutationObserver(() =>\n {\n if(this.control.dirty != this._previousDirty)\n {\n this._updateStatus();\n }\n });\n\n this._observer.observe(this._element.nativeElement, \n {\n attributeFilter: ['class'],\n attributes: true\n });\n }\n}"]}
1
+ {"version":3,"file":"hasError.directive.js","sourceRoot":"","sources":["../../../../../forms/src/directives/hasError/hasError.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAqB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAiB,IAAI,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACxK,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAe,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAqB,mBAAmB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,8BAA8B,EAAC,MAAM,wEAAwE,CAAC;AAEtH,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAC,6BAA6B,EAAC,MAAM,0CAA0C,CAAC;;;;;;;AAEvF,qEAAqE;AAErE;;GAEG;AAKH,MAAM,OAAO,iBAAiB;IAkE1B,iEAAiE;IACjE,YAAoB,QAAiC,EACjC,gBAAgD,EAChD,cAAgC,EACR,cAAsC,EAClD,YAAkC,EAClC,gBAAiC,EACjC,QAAiB,EACjB,aAA+B,EAC/B,cAA6C,EAC1B,mBAAuC,EACpE,SAAmB;QAVrB,aAAQ,GAAR,QAAQ,CAAyB;QACjC,qBAAgB,GAAhB,gBAAgB,CAAgC;QAChD,mBAAc,GAAd,cAAc,CAAkB;QACR,mBAAc,GAAd,cAAc,CAAwB;QAClD,iBAAY,GAAZ,YAAY,CAAsB;QAClC,qBAAgB,GAAhB,gBAAgB,CAAiB;QACjC,aAAQ,GAAR,QAAQ,CAAS;QACjB,kBAAa,GAAb,aA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BACR,MAAM;2BAAC,mBAAmB;mEAxBhC,aAAa;sBADnB,KAAK;gBAOC,eAAe;sBADrB,KAAK;gBAOC,cAAc;sBADpB,KAAK;gBAoHE,mBAAmB","sourcesContent":["import {Directive, ElementRef, Optional, SkipSelf, OnInit, OnDestroy, Inject, Input, Injector, ViewContainerRef, AfterViewInit, Type, TemplateRef} from '@angular/core';\nimport {FormControlDirective, FormControlName, FormControl, NgModel} from '@angular/forms';\nimport {StringLocalization, STRING_LOCALIZATION} from '@anglr/common';\nimport {generateId, BindThis, StringDictionary} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {ValidationErrorRendererFactory} from '../../services/validationErrorRenderer/validationErrorRenderer.service';\nimport {ValidationErrorRenderer, ValidationErrorsComponent, ValidationErrorsRendererOptions, ValidationErrorsTemplateContext} from '../../services/validationErrorRenderer/validationErrorRenderer.interface';\nimport {SubmittedService} from '../../services/submitted/submitted.service';\nimport {GroupHasErrorDirective} from '../groupHasError/groupHasError.directive';\nimport {ValidationErrorsContainerView} from '../../misc/validationErrorsContainerView';\n\n//TODO - add support for setting renderer factory options using input\n\n/**\n * Directive that is attached to control element and handles css classes that are added to this element\n */\n@Directive(\n{\n selector: '[hasError]'\n})\nexport class HasErrorDirective implements OnInit, AfterViewInit, OnDestroy\n{\n //######################### private fields #########################\n\n /**\n * Subscriptions that are destroyed with destruction of this directive\n */\n private _subscriptions: Subscription = new Subscription();\n\n /**\n * Unique generated id of control\n */\n private _id: string = generateId(10);\n\n /**\n * Last value of control pristine attribute\n */\n private _previousDirty: boolean = false;\n\n /**\n * Indication whether currently are any errors rendered\n */\n private _hasErrors: boolean = false;\n\n /**\n * Mutation observer used for observing changes on class of element\n */\n private _observer: MutationObserver;\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?.control || this._formControlName?.control || this._ngModel?.control;\n }\n\n //######################### public properties #########################\n\n /**\n * Instance of validation error renderer\n */\n public renderer: ValidationErrorRenderer;\n\n //######################### public propeties - inputs #########################\n\n /**\n * Customized error messages\n */\n @Input()\n public errorMessages: StringDictionary;\n\n /**\n * Custom component used for rendering validation errors\n */\n @Input()\n public errorsComponent?: Type<ValidationErrorsComponent>;\n\n /**\n * Custom template used for rendering validation errors\n */\n @Input()\n public errorsTemplate?: TemplateRef<ValidationErrorsTemplateContext>;\n\n //######################### constructor #########################\n constructor(private _element: ElementRef<HTMLElement>,\n private _rendererFactory: ValidationErrorRendererFactory,\n private _viewContainer: ViewContainerRef,\n @Optional() @SkipSelf() private _groupHasError: GroupHasErrorDirective,\n @Optional() private _formControl: FormControlDirective,\n @Optional() private _formControlName: FormControlName,\n @Optional() private _ngModel: NgModel,\n @Optional() private _submittedSvc: SubmittedService,\n @Optional() private _containerView: ValidationErrorsContainerView,\n @Inject(STRING_LOCALIZATION) protected _stringLocalization: StringLocalization,\n protected _injector: Injector)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._containerView ??= new ValidationErrorsContainerView();\n this._containerView.viewContainer ??= this._viewContainer;\n\n this._registerMutationObserver();\n\n this._subscriptions.add(this._stringLocalization.textsChange.subscribe(() => this._updateStatus()));\n this._subscriptions.add(this.control.statusChanges.subscribe(() => this._updateStatus()));\n\n if(this._submittedSvc)\n {\n this._subscriptions.add(this._submittedSvc.submittedChange.subscribe(() => this._isSubmittedOrDirty(() => this._updateStatus())));\n }\n }\n\n //######################### public methods - implementation of AfterViewInit #########################\n \n /**\n * Called when view was initialized\n */\n public ngAfterViewInit(): void\n {\n this.renderer = this._rendererFactory.create(this.control,\n this._containerView,\n this._injector,\n this._isSubmittedOrDirty);\n\n this._updateStatus();\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._subscriptions.unsubscribe();\n\n this._groupHasError?.unregisterControl(this._id);\n this._observer?.disconnect();\n this.renderer?.destroy();\n }\n\n //######################### private methods #########################\n\n /**\n * Updates status of control and css classes\n */\n private _updateStatus(): void\n {\n if(!this.renderer)\n {\n return;\n }\n\n const opts: ValidationErrorsRendererOptions = {};\n\n if(this.errorsTemplate)\n {\n opts.template = this.errorsTemplate;\n }\n else if(this.errorsComponent)\n {\n opts.component = this.errorsComponent;\n }\n\n this._previousDirty = this.control.dirty;\n this._hasErrors = this.renderer.update(opts, this.errorMessages);\n this._toggleGroupHasError();\n }\n\n /**\n * Toggles registration of control in parent group\n */\n private _toggleGroupHasError(): void\n {\n if(this._groupHasError)\n {\n this._isSubmittedOrDirty(() => this._groupHasError.registerControl(this._id),\n () => this._groupHasError.unregisterControl(this._id),\n this._hasErrors);\n }\n }\n\n /**\n * Calls action when form is submitted or control is dirty\n * @param action - Action to be called when form is submitted or control dirty\n * @param falseAction - Action to be called when form is not submitted and control is not dirty\n * @param additionalCondition - Additional condition to be evaluated\n */\n @BindThis\n private _isSubmittedOrDirty(action: () => void, falseAction: () => void = () => {}, additionalCondition: boolean = true): void\n {\n //submitted form or dirty control\n if((this._submittedSvc?.submitted ||\n this.control?.dirty) &&\n additionalCondition)\n {\n action();\n }\n else\n {\n falseAction();\n }\n }\n\n /**\n * Registers mutation observer which watch for changes of class list\n */\n private _registerMutationObserver(): void\n {\n this._observer = new MutationObserver(() =>\n {\n if(this.control.dirty != this._previousDirty)\n {\n this._updateStatus();\n }\n });\n\n this._observer.observe(this._element.nativeElement, \n {\n attributeFilter: ['class'],\n attributes: true\n });\n }\n}"]}
@@ -47,9 +47,9 @@ export class MaxValueNumberValidatorDirective {
47
47
  return this._validator(control);
48
48
  }
49
49
  }
50
- MaxValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MaxValueNumberValidatorDirective, deps: [{ token: 'maxValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
51
- MaxValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: MaxValueNumberValidatorDirective, selector: "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", inputs: { maxValue: "maxValue" }, providers: [MAX_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MaxValueNumberValidatorDirective, decorators: [{
50
+ MaxValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MaxValueNumberValidatorDirective, deps: [{ token: 'maxValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
51
+ MaxValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: MaxValueNumberValidatorDirective, selector: "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", inputs: { maxValue: "maxValue" }, providers: [MAX_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MaxValueNumberValidatorDirective, decorators: [{
53
53
  type: Directive,
54
54
  args: [{
55
55
  selector: 'input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]',
@@ -47,9 +47,9 @@ export class MinValueNumberValidatorDirective {
47
47
  return this._validator(control);
48
48
  }
49
49
  }
50
- MinValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MinValueNumberValidatorDirective, deps: [{ token: 'minValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
51
- MinValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: MinValueNumberValidatorDirective, selector: "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", inputs: { minValue: "minValue" }, providers: [MIN_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MinValueNumberValidatorDirective, decorators: [{
50
+ MinValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MinValueNumberValidatorDirective, deps: [{ token: 'minValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
51
+ MinValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: MinValueNumberValidatorDirective, selector: "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", inputs: { minValue: "minValue" }, providers: [MIN_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MinValueNumberValidatorDirective, decorators: [{
53
53
  type: Directive,
54
54
  args: [{
55
55
  selector: 'input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]',
@@ -67,9 +67,9 @@ export class NumberInputControlValueAccessor {
67
67
  this.disabled = isDisabled;
68
68
  }
69
69
  }
70
- NumberInputControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
71
- NumberInputControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: NumberInputControlValueAccessor, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", host: { listeners: { "change": "onChange($event.target.value)", "input": "onChange($event.target.value)", "blur": "onTouched()" }, properties: { "disabled": "disabled" } }, providers: [NUMBER_INPUT_VALUE_ACCESSOR], ngImport: i0 });
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputControlValueAccessor, decorators: [{
70
+ NumberInputControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
71
+ NumberInputControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: NumberInputControlValueAccessor, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", host: { listeners: { "change": "onChange($event.target.value)", "input": "onChange($event.target.value)", "blur": "onTouched()" }, properties: { "disabled": "disabled" } }, providers: [NUMBER_INPUT_VALUE_ACCESSOR], ngImport: i0 });
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputControlValueAccessor, decorators: [{
73
73
  type: Directive,
74
74
  args: [{
75
75
  selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',
@@ -24,9 +24,9 @@ export class NumberInputValidatorDirective {
24
24
  return Validators.number(control);
25
25
  }
26
26
  }
27
- NumberInputValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
- NumberInputValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: NumberInputValidatorDirective, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", providers: [NUMBER_VALIDATOR], ngImport: i0 });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputValidatorDirective, decorators: [{
27
+ NumberInputValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
+ NumberInputValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: NumberInputValidatorDirective, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", providers: [NUMBER_VALIDATOR], ngImport: i0 });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputValidatorDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',
@@ -38,9 +38,9 @@ export class RequiredClassDirective {
38
38
  }
39
39
  }
40
40
  }
41
- RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
42
- RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassDirective, decorators: [{
41
+ RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
42
+ RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassDirective, decorators: [{
44
44
  type: Directive,
45
45
  args: [{
46
46
  selector: '[requiredClass]'
@@ -11,9 +11,9 @@ export class ValidationErrorsContainerDirective {
11
11
  containerView.viewContainer = viewContainer;
12
12
  }
13
13
  }
14
- ValidationErrorsContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ValidationErrorsContainerDirective, deps: [{ token: i1.ValidationErrorsContainerView, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
15
- ValidationErrorsContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: ValidationErrorsContainerDirective, selector: "[validationErrorsContainer]", ngImport: i0 });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ValidationErrorsContainerDirective, decorators: [{
14
+ ValidationErrorsContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorsContainerDirective, deps: [{ token: i1.ValidationErrorsContainerView, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
15
+ ValidationErrorsContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ValidationErrorsContainerDirective, selector: "[validationErrorsContainer]", ngImport: i0 });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorsContainerDirective, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  selector: '[validationErrorsContainer]'
@@ -55,9 +55,9 @@ export class GroupErrorsComponent {
55
55
  this._initSubscriptions = null;
56
56
  }
57
57
  }
58
- GroupErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupErrorsComponent, deps: [{ token: i1.FormGroupDirective, optional: true }, { token: i1.FormGroupName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
59
- GroupErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", 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.KeysPipe, name: "keys" }, { kind: "pipe", type: i5.WithErrorMessagePipe, name: "withErrorMessage" }], animations: [slideInOutTrigger], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupErrorsComponent, decorators: [{
58
+ GroupErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsComponent, deps: [{ token: i1.FormGroupDirective, optional: true }, { token: i1.FormGroupName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
59
+ GroupErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", 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.KeysPipe, name: "keys" }, { kind: "pipe", type: i5.WithErrorMessagePipe, name: "withErrorMessage" }], animations: [slideInOutTrigger], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsComponent, decorators: [{
61
61
  type: Component,
62
62
  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>" }]
63
63
  }], ctorParameters: function () { return [{ type: i1.FormGroupDirective, decorators: [{
@@ -51,9 +51,9 @@ export class ErrorMessageDirective {
51
51
  this._element.nativeElement.innerHTML = message;
52
52
  }
53
53
  }
54
- ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageDirective, deps: [{ token: i0.ElementRef }, { token: STRING_LOCALIZATION }, { token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Directive });
55
- ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorName: ["errorMessage", "errorName"], errors: "errors" }, exportAs: ["errorMessage"], usesOnChanges: true, ngImport: i0 });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageDirective, decorators: [{
54
+ ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageDirective, deps: [{ token: i0.ElementRef }, { token: STRING_LOCALIZATION }, { token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Directive });
55
+ ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorName: ["errorMessage", "errorName"], errors: "errors" }, exportAs: ["errorMessage"], usesOnChanges: true, ngImport: i0 });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageDirective, decorators: [{
57
57
  type: Directive,
58
58
  args: [{
59
59
  selector: '[errorMessage]',
@@ -16,9 +16,9 @@ export class GroupErrorsTemplateDirective {
16
16
  return true;
17
17
  }
18
18
  }
19
- GroupErrorsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupErrorsTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
20
- GroupErrorsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: GroupErrorsTemplateDirective, selector: "[formGroupError]", ngImport: i0 });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupErrorsTemplateDirective, decorators: [{
19
+ GroupErrorsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
20
+ GroupErrorsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: GroupErrorsTemplateDirective, selector: "[formGroupError]", ngImport: i0 });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsTemplateDirective, decorators: [{
22
22
  type: Directive,
23
23
  args: [{
24
24
  selector: '[formGroupError]'
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class ErrorMessageModule {
12
12
  }
13
- ErrorMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
13
+ ErrorMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
15
15
  ErrorMessageDirective,
16
16
  GroupErrorsTemplateDirective,
17
17
  GroupErrorsComponent], imports: [CommonModule,
@@ -19,9 +19,9 @@ ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
19
19
  ErrorMessageDirective,
20
20
  GroupErrorsTemplateDirective,
21
21
  GroupErrorsComponent] });
22
- ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
22
+ ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
23
23
  CommonUtilsModule] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, decorators: [{
25
25
  type: NgModule,
26
26
  args: [{
27
27
  imports: [
@@ -21,9 +21,9 @@ export class WithErrorMessagePipe {
21
21
  return value.filter(itm => this._errorMessages[itm]);
22
22
  }
23
23
  }
24
- WithErrorMessagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
- WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
24
+ WithErrorMessagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
+ WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
27
27
  type: Pipe,
28
28
  args: [{ name: 'withErrorMessage' }]
29
29
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -6,16 +6,16 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export class FormPipesModule {
8
8
  }
9
- FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
9
+ FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
11
11
  AsFormControlPipe,
12
12
  AsFormGroupPipe,
13
13
  GetControlPipe], exports: [AsFormArrayPipe,
14
14
  AsFormControlPipe,
15
15
  AsFormGroupPipe,
16
16
  GetControlPipe] });
17
- FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormPipesModule });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormPipesModule, decorators: [{
17
+ FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [
@@ -28,9 +28,9 @@ export class AsFormArrayPipe {
28
28
  return null;
29
29
  }
30
30
  }
31
- AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormArrayPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormArrayPipe, decorators: [{
31
+ AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, decorators: [{
34
34
  type: Pipe,
35
35
  args: [{ name: 'asFormArray' }]
36
36
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -28,9 +28,9 @@ export class AsFormControlPipe {
28
28
  return null;
29
29
  }
30
30
  }
31
- AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormControlPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormControlPipe, decorators: [{
31
+ AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, decorators: [{
34
34
  type: Pipe,
35
35
  args: [{ name: 'asFormControl' }]
36
36
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -28,9 +28,9 @@ export class AsFormGroupPipe {
28
28
  return null;
29
29
  }
30
30
  }
31
- AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormGroupPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
- AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormGroupPipe, decorators: [{
31
+ AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
32
+ AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, decorators: [{
34
34
  type: Pipe,
35
35
  args: [{ name: 'asFormGroup' }]
36
36
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -22,9 +22,9 @@ export class GetControlPipe {
22
22
  return value.get(control);
23
23
  }
24
24
  }
25
- GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
- GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: GetControlPipe, name: "getControl" });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GetControlPipe, decorators: [{
25
+ GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
+ GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, name: "getControl" });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, decorators: [{
28
28
  type: Pipe,
29
29
  args: [{ name: 'getControl' }]
30
30
  }] });
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class HasErrorModule {
12
12
  }
13
- HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
13
+ HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
15
15
  GroupHasErrorDirective,
16
16
  GroupHasErrorContainerDirective,
17
17
  ValidationErrorsContainerDirective,
@@ -21,8 +21,8 @@ HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
21
21
  GroupHasErrorDirective,
22
22
  GroupHasErrorContainerDirective,
23
23
  ValidationErrorsContainerDirective] });
24
- HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HasErrorModule, imports: [CommonModule] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HasErrorModule, decorators: [{
24
+ HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, imports: [CommonModule] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{
28
28
  imports: [
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export class NumberInputModule {
11
11
  }
12
- NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
12
+ NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
14
14
  MinValueNumberValidatorDirective,
15
15
  NumberInputControlValueAccessor,
16
16
  NumberInputValidatorDirective], exports: [MaxValueNumberValidatorDirective,
17
17
  MinValueNumberValidatorDirective,
18
18
  NumberInputControlValueAccessor,
19
19
  NumberInputValidatorDirective] });
20
- NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputModule });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumberInputModule, decorators: [{
20
+ NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, decorators: [{
22
22
  type: NgModule,
23
23
  args: [{
24
24
  declarations: [
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export class RequiredClassModule {
8
8
  }
9
- RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
11
- RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassModule });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RequiredClassModule, decorators: [{
9
+ RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
11
+ RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [RequiredClassDirective],
@@ -63,9 +63,9 @@ export class ErrorMessagesExtractor {
63
63
  return result;
64
64
  }
65
65
  }
66
- ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: STRING_LOCALIZATION }, { token: IGNORED_VALIDATION_ERRORS }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
67
- ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
66
+ ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: STRING_LOCALIZATION }, { token: IGNORED_VALIDATION_ERRORS }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
67
+ ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
69
69
  type: Injectable,
70
70
  args: [{ providedIn: 'root' }]
71
71
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -22,9 +22,9 @@ export class FormModelBuilder {
22
22
  });
23
23
  }
24
24
  }
25
- FormModelBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
26
- FormModelBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder, decorators: [{
25
+ FormModelBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ FormModelBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder, decorators: [{
28
28
  type: Injectable
29
29
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
30
30
  //# sourceMappingURL=formModelBuilder.service.js.map
@@ -41,9 +41,9 @@ export class SubmittedService {
41
41
  }
42
42
  }
43
43
  }
44
- SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
- SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SubmittedService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SubmittedService, decorators: [{
44
+ SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
+ SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService, decorators: [{
47
47
  type: Injectable
48
48
  }] });
49
49
  //# sourceMappingURL=submitted.service.js.map
@@ -26,9 +26,9 @@ export class ValidationErrorRendererFactory {
26
26
  return new this._options.rendererType(this._errorMessagesExtractor, control, containerView, injector, isSubmittedOrDirty, this._options);
27
27
  }
28
28
  }
29
- ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
30
- ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
29
+ ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
30
+ ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
32
32
  type: Injectable,
33
33
  args: [{ providedIn: 'root' }]
34
34
  }], ctorParameters: function () { return [{ type: i1.ErrorMessagesExtractor }, { type: undefined, decorators: [{
@@ -124,9 +124,9 @@ export class AppHotkeysService {
124
124
  this._hotkeys.push(hotkey);
125
125
  }
126
126
  }
127
- AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
128
- AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AppHotkeysService });
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AppHotkeysService, decorators: [{
127
+ AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
128
+ AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService });
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService, decorators: [{
130
130
  type: Injectable
131
131
  }], ctorParameters: function () { return [{ type: i1.HotkeysService }]; } });
132
132
  //# sourceMappingURL=appHotkeys.service.js.map