@anglr/common 13.0.1 → 14.0.0-beta.20220603080259

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 (333) hide show
  1. package/changelog.md +43 -0
  2. package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  3. package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  4. package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
  5. package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  6. package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  7. package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  8. package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  9. package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
  10. package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  11. package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  12. package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  13. package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  14. package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  15. package/es2015/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  16. package/es2015/forms/src/index.js +5 -3
  17. package/es2015/forms/src/index.js.map +1 -1
  18. package/es2015/forms/src/misc/formModel/index.js +1 -0
  19. package/es2015/forms/src/misc/formModel/index.js.map +1 -1
  20. package/es2015/forms/src/misc/formModel/interfaces/formModelBuilder.interface.js +2 -0
  21. package/es2015/forms/src/misc/formModel/interfaces/formModelBuilder.interface.js.map +1 -0
  22. package/es2015/forms/src/misc/formModel/interfaces/validator.interface.js.map +1 -1
  23. package/es2015/forms/src/misc/formModel/misc/utils.js.map +1 -1
  24. package/es2015/forms/src/misc/formModel/misc/validatorFactories.js +18 -2
  25. package/es2015/forms/src/misc/formModel/misc/validatorFactories.js.map +1 -1
  26. package/es2015/forms/src/misc/types.js +2 -0
  27. package/es2015/forms/src/misc/types.js.map +1 -0
  28. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +5 -5
  29. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
  30. package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  31. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  32. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +5 -7
  33. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -1
  34. package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  35. package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  36. package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +33 -14
  37. package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -1
  38. package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +33 -14
  39. package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -1
  40. package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +33 -14
  41. package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -1
  42. package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +5 -5
  43. package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -1
  44. package/es2015/forms/src/modules/hasError.module.js +4 -6
  45. package/es2015/forms/src/modules/hasError.module.js.map +1 -1
  46. package/es2015/forms/src/modules/numberInput.module.js +4 -4
  47. package/es2015/forms/src/modules/requiredClass.module.js +4 -4
  48. package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  49. package/es2015/forms/src/services/formModelBuilder/formModelBuilder.service.js +27 -0
  50. package/es2015/forms/src/services/formModelBuilder/formModelBuilder.service.js.map +1 -0
  51. package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
  52. package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  53. package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
  54. package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  55. package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +5 -5
  56. package/es2015/material/src/components/titledDialog/titledDialog.component.js +3 -3
  57. package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  58. package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  59. package/es2015/material/src/modules/confirmationDialog.module.js +6 -8
  60. package/es2015/material/src/modules/confirmationDialog.module.js.map +1 -1
  61. package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
  62. package/es2015/material/src/modules/debugDataCopyClick.module.js.map +1 -1
  63. package/es2015/material/src/modules/movableTitledDialog.module.js +7 -9
  64. package/es2015/material/src/modules/movableTitledDialog.module.js.map +1 -1
  65. package/es2015/material/src/modules/titledDialog.module.js +7 -9
  66. package/es2015/material/src/modules/titledDialog.module.js.map +1 -1
  67. package/es2015/material/src/services/titledDialog/titledDialog.service.js +3 -3
  68. package/es2015/moment/src/modules/moment.module.js +4 -4
  69. package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  70. package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  71. package/es2015/numeral/src/modules/numeral.module.js +4 -4
  72. package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
  73. package/es2015/router/src/services/routing/dataRouter.js +3 -3
  74. package/es2015/router/src/services/routing/dataRouterData.js +3 -3
  75. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  76. package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
  77. package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  78. package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  79. package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  80. package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  81. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  82. package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  83. package/es2015/src/modules/clickOutside/modules/clickOutside.module.js.map +1 -1
  84. package/es2015/src/modules/commonDynamic.module.js +4 -4
  85. package/es2015/src/modules/commonLocalize.module.js +4 -4
  86. package/es2015/src/modules/commonUtils.module.js +4 -4
  87. package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  88. package/es2015/src/modules/debugData/modules/debugData.module.js +4 -6
  89. package/es2015/src/modules/debugData/modules/debugData.module.js.map +1 -1
  90. package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  91. package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  92. package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
  93. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  94. package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -6
  95. package/es2015/src/modules/multiButton/modules/multiButton.module.js.map +1 -1
  96. package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  97. package/es2015/src/modules/position/modules/position.module.js +4 -4
  98. package/es2015/src/modules/position/modules/position.module.js.map +1 -1
  99. package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  100. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  101. package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  102. package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +5 -7
  103. package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
  104. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  105. package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  106. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  107. package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  108. package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -6
  109. package/es2015/src/modules/tooltip/modules/tooltip.module.js.map +1 -1
  110. package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
  111. package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
  112. package/es2015/src/pipes/keys/keys.pipe.js +3 -3
  113. package/es2015/src/pipes/localize/localize.pipe.js +3 -3
  114. package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  115. package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  116. package/es2015/src/services/cookies/cookies.service.js +3 -3
  117. package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
  118. package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  119. package/es2015/src/services/statusCode/statusCode.service.js +3 -3
  120. package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  121. package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  122. package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  123. package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  124. package/es2015/structured-log/src/components/console/console.component.js +3 -3
  125. package/es2015/structured-log/src/modules/consoleLog.module.js +4 -6
  126. package/es2015/structured-log/src/modules/consoleLog.module.js.map +1 -1
  127. package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  128. package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  129. package/es2015/structured-log/src/services/logger.service.js +3 -3
  130. package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
  131. package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  132. package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  133. package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  134. package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
  135. package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  136. package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  137. package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  138. package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  139. package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
  140. package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  141. package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  142. package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  143. package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  144. package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  145. package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  146. package/es2020/forms/src/index.js +5 -3
  147. package/es2020/forms/src/index.js.map +1 -1
  148. package/es2020/forms/src/misc/formModel/index.js +1 -0
  149. package/es2020/forms/src/misc/formModel/index.js.map +1 -1
  150. package/es2020/forms/src/misc/formModel/interfaces/formModelBuilder.interface.js +2 -0
  151. package/es2020/forms/src/misc/formModel/interfaces/formModelBuilder.interface.js.map +1 -0
  152. package/es2020/forms/src/misc/formModel/interfaces/validator.interface.js.map +1 -1
  153. package/es2020/forms/src/misc/formModel/misc/utils.js.map +1 -1
  154. package/es2020/forms/src/misc/formModel/misc/validatorFactories.js +26 -2
  155. package/es2020/forms/src/misc/formModel/misc/validatorFactories.js.map +1 -1
  156. package/es2020/forms/src/misc/types.js +2 -0
  157. package/es2020/forms/src/misc/types.js.map +1 -0
  158. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +5 -5
  159. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
  160. package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  161. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  162. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +5 -7
  163. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -1
  164. package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  165. package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  166. package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +32 -14
  167. package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -1
  168. package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +32 -14
  169. package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -1
  170. package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +32 -14
  171. package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -1
  172. package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +5 -5
  173. package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -1
  174. package/es2020/forms/src/modules/hasError.module.js +4 -6
  175. package/es2020/forms/src/modules/hasError.module.js.map +1 -1
  176. package/es2020/forms/src/modules/numberInput.module.js +4 -4
  177. package/es2020/forms/src/modules/requiredClass.module.js +4 -4
  178. package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  179. package/es2020/forms/src/services/formModelBuilder/formModelBuilder.service.js +30 -0
  180. package/es2020/forms/src/services/formModelBuilder/formModelBuilder.service.js.map +1 -0
  181. package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
  182. package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  183. package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
  184. package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  185. package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +5 -5
  186. package/es2020/material/src/components/titledDialog/titledDialog.component.js +3 -3
  187. package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  188. package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  189. package/es2020/material/src/modules/confirmationDialog.module.js +6 -8
  190. package/es2020/material/src/modules/confirmationDialog.module.js.map +1 -1
  191. package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
  192. package/es2020/material/src/modules/debugDataCopyClick.module.js.map +1 -1
  193. package/es2020/material/src/modules/movableTitledDialog.module.js +7 -9
  194. package/es2020/material/src/modules/movableTitledDialog.module.js.map +1 -1
  195. package/es2020/material/src/modules/titledDialog.module.js +7 -9
  196. package/es2020/material/src/modules/titledDialog.module.js.map +1 -1
  197. package/es2020/material/src/services/titledDialog/titledDialog.service.js +3 -3
  198. package/es2020/moment/src/modules/moment.module.js +4 -4
  199. package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  200. package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  201. package/es2020/numeral/src/modules/numeral.module.js +4 -4
  202. package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
  203. package/es2020/router/src/services/routing/dataRouter.js +3 -3
  204. package/es2020/router/src/services/routing/dataRouterData.js +3 -3
  205. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  206. package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
  207. package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  208. package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  209. package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  210. package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  211. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  212. package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  213. package/es2020/src/modules/clickOutside/modules/clickOutside.module.js.map +1 -1
  214. package/es2020/src/modules/commonDynamic.module.js +4 -4
  215. package/es2020/src/modules/commonLocalize.module.js +4 -4
  216. package/es2020/src/modules/commonUtils.module.js +4 -4
  217. package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  218. package/es2020/src/modules/debugData/modules/debugData.module.js +4 -6
  219. package/es2020/src/modules/debugData/modules/debugData.module.js.map +1 -1
  220. package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  221. package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  222. package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
  223. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  224. package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -6
  225. package/es2020/src/modules/multiButton/modules/multiButton.module.js.map +1 -1
  226. package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  227. package/es2020/src/modules/position/modules/position.module.js +4 -4
  228. package/es2020/src/modules/position/modules/position.module.js.map +1 -1
  229. package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  230. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  231. package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  232. package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +5 -7
  233. package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
  234. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  235. package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  236. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  237. package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  238. package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -6
  239. package/es2020/src/modules/tooltip/modules/tooltip.module.js.map +1 -1
  240. package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
  241. package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
  242. package/es2020/src/pipes/keys/keys.pipe.js +3 -3
  243. package/es2020/src/pipes/localize/localize.pipe.js +3 -3
  244. package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  245. package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  246. package/es2020/src/services/cookies/cookies.service.js +3 -3
  247. package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
  248. package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  249. package/es2020/src/services/statusCode/statusCode.service.js +3 -3
  250. package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  251. package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  252. package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  253. package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  254. package/es2020/structured-log/src/components/console/console.component.js +3 -3
  255. package/es2020/structured-log/src/modules/consoleLog.module.js +4 -6
  256. package/es2020/structured-log/src/modules/consoleLog.module.js.map +1 -1
  257. package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  258. package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  259. package/es2020/structured-log/src/services/logger.service.js +3 -3
  260. package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
  261. package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  262. package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.d.ts +1 -1
  263. package/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.d.ts +1 -1
  264. package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts +1 -1
  265. package/forms/src/directives/groupHasError/groupHasError.directive.d.ts +1 -1
  266. package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts +1 -1
  267. package/forms/src/directives/hasError/hasError.directive.d.ts +1 -1
  268. package/forms/src/directives/numberInput/maxValueNumberValidator.directive.d.ts +1 -1
  269. package/forms/src/directives/numberInput/minValueNumberValidator.directive.d.ts +1 -1
  270. package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts +1 -1
  271. package/forms/src/directives/numberInput/numberInputValidator.directive.d.ts +1 -1
  272. package/forms/src/directives/requiredClass/requiredClass.directive.d.ts +1 -1
  273. package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts +1 -1
  274. package/forms/src/index.d.ts +5 -3
  275. package/forms/src/index.d.ts.map +1 -1
  276. package/forms/src/misc/formModel/index.d.ts +1 -0
  277. package/forms/src/misc/formModel/index.d.ts.map +1 -1
  278. package/forms/src/misc/formModel/interfaces/formModelBuilder.interface.d.ts +11 -0
  279. package/forms/src/misc/formModel/interfaces/formModelBuilder.interface.d.ts.map +1 -0
  280. package/forms/src/misc/formModel/interfaces/validator.interface.d.ts +3 -2
  281. package/forms/src/misc/formModel/interfaces/validator.interface.d.ts.map +1 -1
  282. package/forms/src/misc/formModel/misc/utils.d.ts +4 -1
  283. package/forms/src/misc/formModel/misc/utils.d.ts.map +1 -1
  284. package/forms/src/misc/formModel/misc/validatorFactories.d.ts +6 -2
  285. package/forms/src/misc/formModel/misc/validatorFactories.d.ts.map +1 -1
  286. package/forms/src/misc/types.d.ts +24 -0
  287. package/forms/src/misc/types.d.ts.map +1 -0
  288. package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts +1 -1
  289. package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts +1 -1
  290. package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts +1 -1
  291. package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts +1 -1
  292. package/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.d.ts +10 -6
  293. package/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.d.ts.map +1 -1
  294. package/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.d.ts +10 -6
  295. package/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.d.ts.map +1 -1
  296. package/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.d.ts +11 -6
  297. package/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.d.ts.map +1 -1
  298. package/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.d.ts +6 -6
  299. package/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.d.ts.map +1 -1
  300. package/forms/src/services/formModelBuilder/formModelBuilder.service.d.ts +21 -0
  301. package/forms/src/services/formModelBuilder/formModelBuilder.service.d.ts.map +1 -0
  302. package/material/src/components/confirmationDialog/confirmationDialog.component.d.ts +1 -1
  303. package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts +1 -1
  304. package/material/src/components/titledDialog/titledDialog.component.d.ts +1 -1
  305. package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts +1 -1
  306. package/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.d.ts +1 -1
  307. package/moment/src/pipes/momentConvert/momentConvert.pipe.d.ts +1 -1
  308. package/moment/src/pipes/momentFormat/momentFormat.pipe.d.ts +1 -1
  309. package/numeral/src/pipes/numeral.pipe.d.ts +1 -1
  310. package/package.json +25 -25
  311. package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts +1 -1
  312. package/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.d.ts +1 -1
  313. package/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.d.ts +1 -1
  314. package/src/modules/castPipes/pipes/asRequired/asRequired.pipe.d.ts +1 -1
  315. package/src/modules/castPipes/pipes/castType/castType.pipe.d.ts +1 -1
  316. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +1 -1
  317. package/src/modules/debugData/components/debugData/debugData.component.d.ts +1 -1
  318. package/src/modules/goBack/directives/goBack/goBack.directive.d.ts +1 -1
  319. package/src/modules/multiButton/components/multiButton/multiButton.component.d.ts +1 -1
  320. package/src/modules/position/directives/positionTo/positionTo.directive.d.ts +1 -1
  321. package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.d.ts +1 -1
  322. package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.d.ts +1 -1
  323. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +1 -1
  324. package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts +1 -1
  325. package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.d.ts +1 -1
  326. package/src/pipes/isNaN/isNaN.pipe.d.ts +1 -1
  327. package/src/pipes/isPresent/isPresent.pipe.d.ts +1 -1
  328. package/src/pipes/keys/keys.pipe.d.ts +1 -1
  329. package/src/pipes/localize/localize.pipe.d.ts +1 -1
  330. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +1 -1
  331. package/src/pipes/urlEncode/urlEncode.pipe.d.ts +1 -1
  332. package/structured-log/src/components/console/console.component.d.ts +1 -1
  333. package/version.bak +1 -1
@@ -89,9 +89,9 @@ export class CookieService {
89
89
  }
90
90
  }
91
91
  }
92
- CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookieService, deps: [{ token: PLATFORM_ID }, { token: HTTP_REQUEST_COOKIE_HEADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
93
- CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookieService, providedIn: 'root' });
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookieService, decorators: [{
92
+ CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookieService, deps: [{ token: PLATFORM_ID }, { token: HTTP_REQUEST_COOKIE_HEADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
93
+ CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookieService, providedIn: 'root' });
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookieService, decorators: [{
95
95
  type: Injectable,
96
96
  args: [{ providedIn: 'root' }]
97
97
  }], ctorParameters: function () { return [{ type: Object, decorators: [{
@@ -178,9 +178,9 @@ export class DefaultNotificationsService {
178
178
  return this;
179
179
  }
180
180
  }
181
- DefaultNotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultNotificationsService, deps: [{ token: i1.NotificationsOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
182
- DefaultNotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultNotificationsService });
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultNotificationsService, decorators: [{
181
+ DefaultNotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService, deps: [{ token: i1.NotificationsOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
182
+ DefaultNotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService });
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService, decorators: [{
184
184
  type: Injectable
185
185
  }], ctorParameters: function () { return [{ type: i1.NotificationsOptions, decorators: [{
186
186
  type: Optional
@@ -35,9 +35,9 @@ export class CookiePermanentStorageService {
35
35
  this._cookies.deleteCookie(name, '/');
36
36
  }
37
37
  }
38
- CookiePermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookiePermanentStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
39
- CookiePermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookiePermanentStorageService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CookiePermanentStorageService, decorators: [{
38
+ CookiePermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
39
+ CookiePermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService, decorators: [{
41
41
  type: Injectable
42
42
  }], ctorParameters: function () { return [{ type: i1.CookieService }]; } });
43
43
  //# sourceMappingURL=cookiePermanentStorage.service.js.map
@@ -20,9 +20,9 @@ export class StatusCodeService {
20
20
  this._statusCode = code;
21
21
  }
22
22
  }
23
- StatusCodeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: StatusCodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
- StatusCodeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: StatusCodeService, providedIn: 'root' });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: StatusCodeService, decorators: [{
23
+ StatusCodeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
+ StatusCodeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, providedIn: 'root' });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, decorators: [{
26
26
  type: Injectable,
27
27
  args: [{ providedIn: 'root' }]
28
28
  }] });
@@ -35,9 +35,9 @@ export class NoStringLocalizationService {
35
35
  return key;
36
36
  }
37
37
  }
38
- NoStringLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoStringLocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
- NoStringLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoStringLocalizationService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoStringLocalizationService, decorators: [{
38
+ NoStringLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
+ NoStringLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
43
  //# sourceMappingURL=noStringLocalization.service.js.map
@@ -35,9 +35,9 @@ export class MemoryTemporaryStorageService {
35
35
  delete this._memory[name];
36
36
  }
37
37
  }
38
- MemoryTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MemoryTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
- MemoryTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MemoryTemporaryStorageService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MemoryTemporaryStorageService, decorators: [{
38
+ MemoryTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
+ MemoryTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
43
  //# sourceMappingURL=memoryTemporaryStorage.service.js.map
@@ -41,9 +41,9 @@ export class LocalPermanentStorageService {
41
41
  store.remove(name);
42
42
  }
43
43
  }
44
- LocalPermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LocalPermanentStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
- LocalPermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LocalPermanentStorageService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LocalPermanentStorageService, decorators: [{
44
+ LocalPermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
+ LocalPermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService, decorators: [{
47
47
  type: Injectable
48
48
  }], ctorParameters: function () { return []; } });
49
49
  //# sourceMappingURL=localPermanentStorage.service.js.map
@@ -29,9 +29,9 @@ export class SessionTemporaryStorageService {
29
29
  store.remove(name);
30
30
  }
31
31
  }
32
- SessionTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SessionTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
- SessionTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SessionTemporaryStorageService });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SessionTemporaryStorageService, decorators: [{
32
+ SessionTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
+ SessionTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService, decorators: [{
35
35
  type: Injectable
36
36
  }] });
37
37
  //# sourceMappingURL=sessionTemporaryStorage.service.js.map
@@ -83,9 +83,9 @@ export class ConsoleComponent {
83
83
  }
84
84
  }
85
85
  }
86
- ConsoleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleComponent, deps: [{ token: CONSOLE_COMPONENT_SINK_SERVICE }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
87
- ConsoleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: ConsoleComponent, selector: "console", ngImport: i0, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleComponent, decorators: [{
86
+ ConsoleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponent, deps: [{ token: CONSOLE_COMPONENT_SINK_SERVICE }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
87
+ ConsoleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ConsoleComponent, selector: "console", ngImport: i0, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'console', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"] }]
91
91
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -22,12 +22,10 @@ export class ConsoleLogModule {
22
22
  };
23
23
  }
24
24
  }
25
- ConsoleLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
- ConsoleLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleLogModule, declarations: [ConsoleComponent], imports: [CommonModule], exports: [ConsoleComponent] });
27
- ConsoleLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleLogModule, imports: [[
28
- CommonModule
29
- ]] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleLogModule, decorators: [{
25
+ ConsoleLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
+ ConsoleLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, declarations: [ConsoleComponent], imports: [CommonModule], exports: [ConsoleComponent] });
27
+ ConsoleLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, imports: [CommonModule] });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, decorators: [{
31
29
  type: NgModule,
32
30
  args: [{
33
31
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"consoleLog.module.js","sourceRoot":"","sources":["../../../../structured-log/src/modules/consoleLog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAsB,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAE,qBAAqB,EAAE,uCAAuC,EAAC,MAAM,iBAAiB,CAAC;;AAEvH;;GAEG;AAgBH,MAAM,OAAO,gBAAgB;IAEzB,oEAAoE;IAEpE;;OAEG;IACI,MAAM,CAAC,OAAO;QAEjB,OAAO;YACH,QAAQ,EAAE,gBAAgB;YAC1B,SAAS,EACT;gBACI,uCAAuC;gBACvC,sBAAsB;gBACtB,qBAAqB;aACxB;SACJ,CAAC;IACN,CAAC;;6GAlBQ,gBAAgB;8GAAhB,gBAAgB,iBAPrB,gBAAgB,aAJhB,YAAY,aAQZ,gBAAgB;8GAGX,gBAAgB,YAZzB;YACI,YAAY;SACf;2FAUQ,gBAAgB;kBAf5B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,gBAAgB;qBACnB;oBACD,OAAO,EACP;wBACI,gBAAgB;qBACnB;iBACJ","sourcesContent":["import {NgModule, ModuleWithProviders} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {ConsoleComponent} from '../components/console/console.component';\nimport {CONSOLE_COMPONENT_SINK, STRUCTURED_LOG_LOGGER, CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER} from '../types/tokens';\n\n/**\n * Module containing component Console (log)\n */\n@NgModule(\n{\n imports:\n [\n CommonModule\n ],\n declarations:\n [\n ConsoleComponent\n ],\n exports:\n [\n ConsoleComponent\n ]\n})\nexport class ConsoleLogModule\n{\n //######################### public methods #########################\n\n /**\n * Registers structured-log as logger service, with console component sink\n */\n public static forRoot(): ModuleWithProviders<ConsoleLogModule>\n {\n return {\n ngModule: ConsoleLogModule,\n providers:\n [\n CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER,\n CONSOLE_COMPONENT_SINK,\n STRUCTURED_LOG_LOGGER\n ]\n };\n }\n}"]}
1
+ {"version":3,"file":"consoleLog.module.js","sourceRoot":"","sources":["../../../../structured-log/src/modules/consoleLog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAsB,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAE,qBAAqB,EAAE,uCAAuC,EAAC,MAAM,iBAAiB,CAAC;;AAEvH;;GAEG;AAgBH,MAAM,OAAO,gBAAgB;IAEzB,oEAAoE;IAEpE;;OAEG;IACI,MAAM,CAAC,OAAO;QAEjB,OAAO;YACH,QAAQ,EAAE,gBAAgB;YAC1B,SAAS,EACT;gBACI,uCAAuC;gBACvC,sBAAsB;gBACtB,qBAAqB;aACxB;SACJ,CAAC;IACN,CAAC;;6GAlBQ,gBAAgB;8GAAhB,gBAAgB,iBAPrB,gBAAgB,aAJhB,YAAY,aAQZ,gBAAgB;8GAGX,gBAAgB,YAXrB,YAAY;2FAWP,gBAAgB;kBAf5B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,gBAAgB;qBACnB;oBACD,OAAO,EACP;wBACI,gBAAgB;qBACnB;iBACJ","sourcesContent":["import {NgModule, ModuleWithProviders} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {ConsoleComponent} from '../components/console/console.component';\nimport {CONSOLE_COMPONENT_SINK, STRUCTURED_LOG_LOGGER, CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER} from '../types/tokens';\n\n/**\n * Module containing component Console (log)\n */\n@NgModule(\n{\n imports:\n [\n CommonModule\n ],\n declarations:\n [\n ConsoleComponent\n ],\n exports:\n [\n ConsoleComponent\n ]\n})\nexport class ConsoleLogModule\n{\n //######################### public methods #########################\n\n /**\n * Registers structured-log as logger service, with console component sink\n */\n public static forRoot(): ModuleWithProviders<ConsoleLogModule>\n {\n return {\n ngModule: ConsoleLogModule,\n providers:\n [\n CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER,\n CONSOLE_COMPONENT_SINK,\n STRUCTURED_LOG_LOGGER\n ]\n };\n }\n}"]}
@@ -88,9 +88,9 @@ export class ConsoleComponentSinkService {
88
88
  }
89
89
  }
90
90
  }
91
- ConsoleComponentSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleComponentSinkService, deps: [{ token: i1.ConsoleSinkConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
92
- ConsoleComponentSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleComponentSinkService });
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleComponentSinkService, decorators: [{
91
+ ConsoleComponentSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService, deps: [{ token: i1.ConsoleSinkConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
92
+ ConsoleComponentSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService, decorators: [{
94
94
  type: Injectable
95
95
  }], ctorParameters: function () { return [{ type: i1.ConsoleSinkConfigService }]; } });
96
96
  //# sourceMappingURL=consoleComponentSink.service.js.map
@@ -29,9 +29,9 @@ export class ConsoleSinkConfigService {
29
29
  }
30
30
  }
31
31
  }
32
- ConsoleSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleSinkConfigService, deps: [{ token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
33
- ConsoleSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleSinkConfigService, providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConsoleSinkConfigService, decorators: [{
32
+ ConsoleSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, deps: [{ token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
33
+ ConsoleSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, decorators: [{
35
35
  type: Injectable,
36
36
  args: [{ providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() }]
37
37
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -33,9 +33,9 @@ export class LoggerService {
33
33
  this._logger.verbose(errorOrMessageTemplate, properties);
34
34
  }
35
35
  }
36
- LoggerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LoggerService, deps: [{ token: LOGGER_SINKS }], target: i0.ɵɵFactoryTarget.Injectable });
37
- LoggerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LoggerService });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: LoggerService, decorators: [{
36
+ LoggerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService, deps: [{ token: LOGGER_SINKS }], target: i0.ɵɵFactoryTarget.Injectable });
37
+ LoggerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService, decorators: [{
39
39
  type: Injectable
40
40
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
41
41
  type: Inject,
@@ -104,9 +104,9 @@ export class RestSinkService {
104
104
  }
105
105
  }
106
106
  }
107
- RestSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkService, deps: [{ token: i1.RestSinkConfigService }, { token: APP_STABLE }, { token: LOGGER_REST_CLIENT }], target: i0.ɵɵFactoryTarget.Injectable });
108
- RestSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkService });
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkService, decorators: [{
107
+ RestSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService, deps: [{ token: i1.RestSinkConfigService }, { token: APP_STABLE }, { token: LOGGER_REST_CLIENT }], target: i0.ɵɵFactoryTarget.Injectable });
108
+ RestSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService, decorators: [{
110
110
  type: Injectable
111
111
  }], ctorParameters: function () { return [{ type: i1.RestSinkConfigService }, { type: Promise, decorators: [{
112
112
  type: Inject,
@@ -34,9 +34,9 @@ export class RestSinkConfigService {
34
34
  }
35
35
  }
36
36
  }
37
- RestSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkConfigService, deps: [{ token: Injector }, { token: Injector }, { token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
38
- RestSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkConfigService, providedIn: 'root', useFactory: () => new RestSinkConfigService() });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RestSinkConfigService, decorators: [{
37
+ RestSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, deps: [{ token: Injector }, { token: Injector }, { token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
38
+ RestSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, providedIn: 'root', useFactory: () => new RestSinkConfigService() });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, decorators: [{
40
40
  type: Injectable,
41
41
  args: [{ providedIn: 'root', useFactory: () => new RestSinkConfigService() }]
42
42
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -27,6 +27,6 @@ export declare class DefaultValidationErrorsComponent implements ValidationError
27
27
  */
28
28
  show(errors: ValidationErrorsResult, options: ValidationErrorsOptions): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultValidationErrorsComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<DefaultValidationErrorsComponent, "default-validation-errors", never, {}, {}, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DefaultValidationErrorsComponent, "default-validation-errors", never, {}, {}, never, never, false>;
31
31
  }
32
32
  //# sourceMappingURL=defaultValidationErrors.component.d.ts.map
@@ -46,6 +46,6 @@ export declare class DefaultValidationErrorsContainerComponent implements Valida
46
46
  */
47
47
  protected _renderTemplate(): void;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultValidationErrorsContainerComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<DefaultValidationErrorsContainerComponent, "default-validation-errors-container", never, {}, {}, never, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<DefaultValidationErrorsContainerComponent, "default-validation-errors-container", never, {}, {}, never, never, false>;
50
50
  }
51
51
  //# sourceMappingURL=defaultValidationErrorsContainer.component.d.ts.map
@@ -48,6 +48,6 @@ export declare class ReservedSpaceValidationErrorsContainerComponent implements
48
48
  */
49
49
  protected _renderTemplate(): void;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ReservedSpaceValidationErrorsContainerComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<ReservedSpaceValidationErrorsContainerComponent, "reserved-space-validation-errors-container", never, {}, {}, never, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReservedSpaceValidationErrorsContainerComponent, "reserved-space-validation-errors-container", never, {}, {}, never, never, false>;
52
52
  }
53
53
  //# sourceMappingURL=reservedSpaceValidationErrorsContainer.component.d.ts.map
@@ -38,6 +38,6 @@ export declare class GroupHasErrorDirective {
38
38
  */
39
39
  private _updateStatus;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupHasErrorDirective, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHasErrorDirective, "[groupHasError]", never, {}, {}, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHasErrorDirective, "[groupHasError]", never, {}, {}, never, never, false>;
42
42
  }
43
43
  //# sourceMappingURL=groupHasError.directive.d.ts.map
@@ -5,6 +5,6 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class GroupHasErrorContainerDirective extends GroupHasErrorDirective {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupHasErrorContainerDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHasErrorContainerDirective, "[groupHasErrorContainer]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHasErrorContainerDirective, "[groupHasErrorContainer]", never, {}, {}, never, never, false>;
9
9
  }
10
10
  //# sourceMappingURL=groupHasErrorContainer.directive.d.ts.map
@@ -96,6 +96,6 @@ export declare class HasErrorDirective implements OnInit, AfterViewInit, OnDestr
96
96
  */
97
97
  private _registerMutationObserver;
98
98
  static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorDirective, [null, null, null, { optional: true; skipSelf: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null]>;
99
- static ɵdir: i0.ɵɵDirectiveDeclaration<HasErrorDirective, "[hasError]", never, { "errorMessages": "errorMessages"; "errorsComponent": "errorsComponent"; "errorsTemplate": "errorsTemplate"; }, {}, never>;
99
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HasErrorDirective, "[hasError]", never, { "errorMessages": "errorMessages"; "errorsComponent": "errorsComponent"; "errorsTemplate": "errorsTemplate"; }, {}, never, never, false>;
100
100
  }
101
101
  //# sourceMappingURL=hasError.directive.d.ts.map
@@ -30,6 +30,6 @@ export declare class MaxValueNumberValidatorDirective implements Validator, OnCh
30
30
  */
31
31
  validate(control: AbstractControl): ValidationErrors | null;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<MaxValueNumberValidatorDirective, [{ attribute: "maxValue"; }]>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValueNumberValidatorDirective, "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", never, { "maxValue": "maxValue"; }, {}, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValueNumberValidatorDirective, "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", never, { "maxValue": "maxValue"; }, {}, never, never, false>;
34
34
  }
35
35
  //# sourceMappingURL=maxValueNumberValidator.directive.d.ts.map
@@ -30,6 +30,6 @@ export declare class MinValueNumberValidatorDirective implements Validator, OnCh
30
30
  */
31
31
  validate(control: AbstractControl): ValidationErrors | null;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<MinValueNumberValidatorDirective, [{ attribute: "minValue"; }]>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<MinValueNumberValidatorDirective, "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", never, { "minValue": "minValue"; }, {}, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinValueNumberValidatorDirective, "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", never, { "minValue": "minValue"; }, {}, never, never, false>;
34
34
  }
35
35
  //# sourceMappingURL=minValueNumberValidator.directive.d.ts.map
@@ -26,6 +26,6 @@ export declare class NumberInputControlValueAccessor implements ControlValueAcce
26
26
  */
27
27
  registerOnTouched(fn: () => any): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputControlValueAccessor, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputControlValueAccessor, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputControlValueAccessor, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never, never, false>;
30
30
  }
31
31
  //# sourceMappingURL=numberInputControlValueAccessor.directive.d.ts.map
@@ -11,6 +11,6 @@ export declare class NumberInputValidatorDirective implements Validator {
11
11
  */
12
12
  validate(control: AbstractControl): ValidationErrors | null;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputValidatorDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputValidatorDirective, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputValidatorDirective, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never, never, false>;
15
15
  }
16
16
  //# sourceMappingURL=numberInputValidator.directive.d.ts.map
@@ -22,6 +22,6 @@ export declare class RequiredClassDirective implements AfterViewInit {
22
22
  */
23
23
  ngAfterViewInit(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RequiredClassDirective, [{ optional: true; }, { optional: true; }, null]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<RequiredClassDirective, "[requiredClass]", never, {}, {}, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RequiredClassDirective, "[requiredClass]", never, {}, {}, never, never, false>;
26
26
  }
27
27
  //# sourceMappingURL=requiredClass.directive.d.ts.map
@@ -7,6 +7,6 @@ import * as i0 from "@angular/core";
7
7
  export declare class ValidationErrorsContainerDirective {
8
8
  constructor(containerView: ValidationErrorsContainerView, viewContainer: ViewContainerRef);
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorsContainerDirective, [{ skipSelf: true; }, null]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<ValidationErrorsContainerDirective, "[validationErrorsContainer]", never, {}, {}, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ValidationErrorsContainerDirective, "[validationErrorsContainer]", never, {}, {}, never, never, false>;
11
11
  }
12
12
  //# sourceMappingURL=validationErrorsContainer.directive.d.ts.map
@@ -7,14 +7,16 @@ export * from './directives/numberInput/numberInputControlValueAccessor.directiv
7
7
  export * from './directives/hasError/hasError.directive';
8
8
  export * from './directives/groupHasError/groupHasError.directive';
9
9
  export * from './directives/requiredClass/requiredClass.directive';
10
- export * from './services/submitted/submitted.service';
11
10
  export * from './services/errorMessagesExtractor/errorMessagesExtractor.interface';
12
11
  export * from './services/errorMessagesExtractor/errorMessagesExtractor.service';
12
+ export * from './services/formModelBuilder/formModelBuilder.service';
13
+ export * from './services/submitted/submitted.service';
13
14
  export * from './services/validationErrorRenderer/validationErrorRenderer.interface';
14
15
  export * from './services/validationErrorRenderer/validationErrorRenderer.service';
15
- export * from './misc/validators';
16
- export * from './misc/utils';
17
16
  export * from './misc/tokens';
17
+ export * from './misc/types';
18
+ export * from './misc/utils';
19
+ export * from './misc/validators';
18
20
  export * from './misc/validationErrorsContainerView';
19
21
  export * from './modules/numberInput.module';
20
22
  export * from './modules/hasError.module';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sDAAsD,CAAC;AACrE,cAAc,wCAAwC,CAAC;AACvD,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './interfaces/formModelBuilder.interface';
1
2
  export * from './interfaces/modelDecoratorMetadata';
2
3
  export * from './interfaces/modelPropertyDecoratorMetadata';
3
4
  export * from './interfaces/validator.interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AAEjD,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AAEjD,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { Injector } from '@angular/core';
2
+ /**
3
+ * Represents default args for form model builder
4
+ */
5
+ export interface FormModelBuilderDefaultArgs {
6
+ /**
7
+ * Injector that could be used in validators
8
+ */
9
+ injector?: Injector;
10
+ }
11
+ //# sourceMappingURL=formModelBuilder.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formModelBuilder.interface.d.ts","sourceRoot":"","sources":["formModelBuilder.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACvB"}
@@ -1,5 +1,6 @@
1
1
  import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
2
2
  import { Dictionary } from '@jscrpt/common';
3
+ import { FormModelBuilderDefaultArgs } from './formModelBuilder.interface';
3
4
  /**
4
5
  * Factory function used for creaging ValidatorFn
5
6
  */
@@ -8,7 +9,7 @@ export interface ValidatorFnFactoryFn<TArg extends Dictionary<any> = any> {
8
9
  * Function that creates ValidatorFn
9
10
  * @param args - Arguments passed for create function from owning class
10
11
  */
11
- (args: TArg): ValidatorFn;
12
+ (args: TArg & FormModelBuilderDefaultArgs): ValidatorFn;
12
13
  }
13
14
  /**
14
15
  * Factory function used for creaging AsyncValidatorFn
@@ -18,6 +19,6 @@ export interface AsyncValidatorFnFactoryFn<TArg extends Dictionary<any> = any> {
18
19
  * Function that creates AsyncValidatorFn
19
20
  * @param args - Arguments passed for create function from owning class
20
21
  */
21
- (args: TArg): AsyncValidatorFn;
22
+ (args: TArg & FormModelBuilderDefaultArgs): AsyncValidatorFn;
22
23
  }
23
24
  //# sourceMappingURL=validator.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validator.interface.d.ts","sourceRoot":"","sources":["validator.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAEpE;;;OAGG;IACH,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAEzE;;;OAGG;IACH,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB,CAAC;CAClC"}
1
+ {"version":3,"file":"validator.interface.d.ts","sourceRoot":"","sources":["validator.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAEpE;;;OAGG;IACH,CAAC,IAAI,EAAE,IAAI,GAAC,2BAA2B,GAAG,WAAW,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAEzE;;;OAGG;IACH,CAAC,IAAI,EAAE,IAAI,GAAC,2BAA2B,GAAG,gBAAgB,CAAC;CAC9D"}
@@ -1,9 +1,12 @@
1
1
  import { FormGroup } from '@angular/forms';
2
+ import { Dictionary } from '@jscrpt/common';
3
+ import { FormModelGroup } from '../../types';
4
+ import { FormModelBuilderDefaultArgs } from '../interfaces/formModelBuilder.interface';
2
5
  /**
3
6
  * Builds form from decorated model, only for properties with non `undefined` value
4
7
  * @param model - Model that can be decorated for enhancing created form group with validation and so on
5
8
  * @param args - Object storing arguments from owning component for customization
6
9
  * @returns
7
10
  */
8
- export declare function buildFormModel<TModel, TArgs = Record<string, never>>(model: TModel, args?: TArgs): FormGroup;
11
+ export declare function buildFormModel<TModel, TArgs extends Dictionary<any> = any>(model: TModel, args?: TArgs & FormModelBuilderDefaultArgs): FormGroup<FormModelGroup<TModel>>;
9
12
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAiIlF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,GAAG,SAAS,CAG5G"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AA+HrF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,KAAK,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,GAAC,2BAA2B,GAAG,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAGtK"}
@@ -5,11 +5,13 @@ import { AsyncValidatorFnFactoryFn, ValidatorFnFactoryFn } from '../interfaces/v
5
5
  */
6
6
  export declare class ValidatorFnFactory<TArg extends Dictionary<any> = any> {
7
7
  private _factoryFn?;
8
+ private _args?;
8
9
  /**
9
10
  * Creates instance of ValidatorFnFactory
10
11
  * @param _factoryFn - Function used for creating ValidatorFn
12
+ * @param _args - Static arguments/parameters that can be passed to validator
11
13
  */
12
- constructor(_factoryFn?: ValidatorFnFactoryFn<TArg>);
14
+ constructor(_factoryFn?: ValidatorFnFactoryFn<TArg>, _args?: TArg);
13
15
  /**
14
16
  * Gets validator function factory function
15
17
  */
@@ -20,11 +22,13 @@ export declare class ValidatorFnFactory<TArg extends Dictionary<any> = any> {
20
22
  */
21
23
  export declare class AsyncValidatorFnFactory<TArg extends Dictionary<any> = any> {
22
24
  private _factoryFn?;
25
+ private _args?;
23
26
  /**
24
27
  * Creates instance of AsyncValidatorFnFactory
25
28
  * @param _factoryFn - Function used for creating AsyncValidatorFn
29
+ * @param _args - Static arguments/parameters that can be passed to validator
26
30
  */
27
- constructor(_factoryFn?: AsyncValidatorFnFactoryFn<TArg>);
31
+ constructor(_factoryFn?: AsyncValidatorFnFactoryFn<TArg>, _args?: TArg);
28
32
  /**
29
33
  * Gets async validator function factory function
30
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"validatorFactories.d.ts","sourceRoot":"","sources":["validatorFactories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAC,yBAAyB,EAAE,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AAElG;;GAEG;AACH,qBAAa,kBAAkB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAOlD,OAAO,CAAC,UAAU,CAAC;IAJ/B;;;OAGG;gBACiB,UAAU,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAM3D;;OAEG;IACI,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC;CAI/C;AAED;;GAEG;AACH,qBAAa,uBAAuB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAOvD,OAAO,CAAC,UAAU,CAAC;IAJ/B;;;OAGG;gBACiB,UAAU,CAAC,EAAE,yBAAyB,CAAC,IAAI,CAAC;IAMhE;;OAEG;IACI,OAAO,IAAI,yBAAyB,CAAC,IAAI,CAAC;CAIpD"}
1
+ {"version":3,"file":"validatorFactories.d.ts","sourceRoot":"","sources":["validatorFactories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAC,yBAAyB,EAAE,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AAElG;;GAEG;AACH,qBAAa,kBAAkB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAQlD,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,CAAC,KAAK,CAAC;IAN1B;;;;OAIG;gBACiB,UAAU,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC,EACvC,KAAK,CAAC,EAAE,IAAI;IAMhC;;OAEG;IACI,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC;CAkB/C;AAED;;GAEG;AACH,qBAAa,uBAAuB,CAAC,IAAI,SAAS,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG;IAQvD,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,CAAC,KAAK,CAAC;IAN1B;;;;OAIG;gBACiB,UAAU,CAAC,EAAE,yBAAyB,CAAC,IAAI,CAAC,EAC5C,KAAK,CAAC,EAAE,IAAI;IAMhC;;OAEG;IACI,OAAO,IAAI,yBAAyB,CAAC,IAAI,CAAC;CAkBpD"}
@@ -0,0 +1,24 @@
1
+ import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
2
+ /**
3
+ * Creates `FormGroup` generic type for model
4
+ */
5
+ export declare type FormModelGroup<TModel, TKey extends keyof TModel = keyof TModel> = {
6
+ [TProperty in TKey]: AbstractControl<TModel[TProperty]>;
7
+ };
8
+ /**
9
+ * Casts `AbstractControl` to typed `FormGroup` using model
10
+ */
11
+ export declare type AsFormGroup<TModel> = FormGroup<FormModelGroup<TModel>>;
12
+ /**
13
+ * Casts `AbstractControl` to typed `FormArray` of `FormControl` using model
14
+ */
15
+ export declare type AsFormControlsArray<TModel> = FormArray<FormControl<TModel>>;
16
+ /**
17
+ * Casts `AbstractControl` to typed `FormArray` of `FormGroup` using model
18
+ */
19
+ export declare type AsFormGroupArray<TModel> = FormArray<AsFormGroup<TModel>>;
20
+ /**
21
+ * Casts `AbstractControl` to typed `FormArray` of `AbstractControl` using model
22
+ */
23
+ export declare type AsFormArray<TModel> = FormArray<AbstractControl<TModel>>;
24
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAElF;;GAEG;AACH,oBAAY,cAAc,CAAC,MAAM,EAAE,IAAI,SAAS,MAAM,MAAM,GAAG,MAAM,MAAM,IAAI;KAAE,SAAS,IAAI,IAAI,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;CAAC,CAAC;AAEzI;;GAEG;AACH,oBAAY,WAAW,CAAC,MAAM,IAAI,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;AAEpE;;GAEG;AACH,oBAAY,mBAAmB,CAAC,MAAM,IAAI,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzE;;GAEG;AACH,oBAAY,gBAAgB,CAAC,MAAM,IAAI,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAEtE;;GAEG;AACH,oBAAY,WAAW,CAAC,MAAM,IAAI,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC"}
@@ -45,6 +45,6 @@ export declare class GroupErrorsComponent implements OnInit, OnDestroy {
45
45
  */
46
46
  ngOnDestroy(): void;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupErrorsComponent, [{ optional: true; }, { optional: true; }, null]>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupErrorsComponent, "form-group-errors", never, { "cssClass": "cssClass"; }, {}, ["template"], never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupErrorsComponent, "form-group-errors", never, { "cssClass": "cssClass"; }, {}, ["template"], never, false>;
49
49
  }
50
50
  //# sourceMappingURL=groupErrors.component.d.ts.map
@@ -36,6 +36,6 @@ export declare class ErrorMessageDirective implements OnChanges, OnDestroy {
36
36
  */
37
37
  protected _showMessage(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<ErrorMessageDirective, "[errorMessage]", ["errorMessage"], { "errorName": "errorMessage"; "errors": "errors"; }, {}, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ErrorMessageDirective, "[errorMessage]", ["errorMessage"], { "errorName": "errorMessage"; "errors": "errors"; }, {}, never, never, false>;
40
40
  }
41
41
  //# sourceMappingURL=errorMessage.directive.d.ts.map