@anglr/common 14.0.0-beta.20220603062152 → 14.0.0-beta.20220603075213

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 +3 -2
  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 +3 -2
  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 +3 -2
  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
@@ -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: "13.3.2", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
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,
15
15
  ErrorMessageDirective,
16
16
  GroupErrorsTemplateDirective,
17
17
  GroupErrorsComponent], imports: [CommonModule,
@@ -19,11 +19,9 @@ ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
19
19
  ErrorMessageDirective,
20
20
  GroupErrorsTemplateDirective,
21
21
  GroupErrorsComponent] });
22
- ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessageModule, imports: [[
23
- CommonModule,
24
- CommonUtilsModule,
25
- ]] });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessageModule, decorators: [{
22
+ ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
23
+ CommonUtilsModule] });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ErrorMessageModule, decorators: [{
27
25
  type: NgModule,
28
26
  args: [{
29
27
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"errorMessage.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/errorMessage/modules/errorMessage.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAE,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAC,MAAM,UAAU,CAAC;;AAE9C;;GAEG;AAuBH,MAAM,OAAO,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBAbvB,oBAAoB;QACpB,qBAAqB;QACrB,4BAA4B;QAC5B,oBAAoB,aARpB,YAAY;QACZ,iBAAiB,aAWjB,oBAAoB;QACpB,qBAAqB;QACrB,4BAA4B;QAC5B,oBAAoB;gHAGf,kBAAkB,YAnB3B;YACI,YAAY;YACZ,iBAAiB;SACpB;2FAgBQ,kBAAkB;kBAtB9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,iBAAiB;qBACpB;oBACD,YAAY,EACZ;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;oBACD,OAAO,EACP;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonUtilsModule} from '@anglr/common';\n\nimport {GroupErrorsComponent} from '../components';\nimport {ErrorMessageDirective, GroupErrorsTemplateDirective} from '../directives';\nimport {WithErrorMessagePipe} from '../pipes';\n\n/**\n * Module for error message directives, pipes and components\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonUtilsModule,\n ],\n declarations:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ],\n exports:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ]\n})\nexport class ErrorMessageModule\n{\n}\n"]}
1
+ {"version":3,"file":"errorMessage.module.js","sourceRoot":"","sources":["../../../../../../forms/src/modules/errorMessage/modules/errorMessage.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAE,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAC,MAAM,UAAU,CAAC;;AAE9C;;GAEG;AAuBH,MAAM,OAAO,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBAbvB,oBAAoB;QACpB,qBAAqB;QACrB,4BAA4B;QAC5B,oBAAoB,aARpB,YAAY;QACZ,iBAAiB,aAWjB,oBAAoB;QACpB,qBAAqB;QACrB,4BAA4B;QAC5B,oBAAoB;gHAGf,kBAAkB,YAlBvB,YAAY;QACZ,iBAAiB;2FAiBZ,kBAAkB;kBAtB9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,iBAAiB;qBACpB;oBACD,YAAY,EACZ;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;oBACD,OAAO,EACP;wBACI,oBAAoB;wBACpB,qBAAqB;wBACrB,4BAA4B;wBAC5B,oBAAoB;qBACvB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonUtilsModule} from '@anglr/common';\n\nimport {GroupErrorsComponent} from '../components';\nimport {ErrorMessageDirective, GroupErrorsTemplateDirective} from '../directives';\nimport {WithErrorMessagePipe} from '../pipes';\n\n/**\n * Module for error message directives, pipes and components\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonUtilsModule,\n ],\n declarations:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ],\n exports:\n [\n WithErrorMessagePipe,\n ErrorMessageDirective,\n GroupErrorsTemplateDirective,\n GroupErrorsComponent,\n ]\n})\nexport class ErrorMessageModule\n{\n}\n"]}
@@ -21,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: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
- WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
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: [{
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: "13.3.2", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
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,
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: "13.3.2", ngImport: i0, type: FormPipesModule });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, decorators: [{
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: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [
@@ -1,24 +1,43 @@
1
- import { Pipe } from '@angular/core';
1
+ import { Inject, Optional, Pipe } from '@angular/core';
2
2
  import { FormArray } from '@angular/forms';
3
- import { CastTypePipe } from '@anglr/common';
3
+ import { LOGGER } from '@anglr/common';
4
+ import { isBlank } from '@jscrpt/common';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Tries to convert `AbstractControl` to `FormArray`
7
8
  */
8
- export class AsFormArrayPipe extends CastTypePipe {
9
- constructor() {
10
- super(...arguments);
11
- //######################### protected fields #########################
12
- /**
13
- * @inheritdoc
14
- */
15
- this._isInstanceOfPredicate = value => value instanceof FormArray;
9
+ export class AsFormArrayPipe {
10
+ //######################### constructors #########################
11
+ constructor(_logger) {
12
+ this._logger = _logger;
13
+ }
14
+ //######################### public methods - implementation of PipeTransform #########################
15
+ /**
16
+ * Allows casting of `AbstractControl` to `FormArray`
17
+ * @param value - `AbstractControl` to be cast to `FormArray`
18
+ * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
19
+ */
20
+ transform(value, _valueHash) {
21
+ var _a;
22
+ if (isBlank(value)) {
23
+ return null;
24
+ }
25
+ if (value instanceof FormArray) {
26
+ return value;
27
+ }
28
+ (_a = this._logger) === null || _a === void 0 ? void 0 : _a.warn('Failed to cast AbstractControl to FormArray');
29
+ return null;
16
30
  }
17
31
  }
18
- AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, decorators: [{
32
+ 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 });
33
+ AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormArrayPipe, decorators: [{
21
35
  type: Pipe,
22
36
  args: [{ name: 'asFormArray' }]
23
- }] });
37
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
38
+ type: Optional
39
+ }, {
40
+ type: Inject,
41
+ args: [LOGGER]
42
+ }] }]; } });
24
43
  //# sourceMappingURL=asFormArray.pipe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"asFormArray.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AAEH,MAAM,OAAO,eAAgB,SAAQ,YAAwC;IAD7E;;QAGI,sEAAsE;QAEtE;;WAEG;QACgB,2BAAsB,GAAwC,KAAK,CAAC,EAAE,CAAC,KAAK,YAAY,SAAS,CAAC;KACxH;;4GARY,eAAe;0GAAf,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC","sourcesContent":["import {Pipe} from '@angular/core';\nimport {AbstractControl, FormArray} from '@angular/forms';\nimport {CastTypePipe} from '@anglr/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormArray`\n */\n@Pipe({name: 'asFormArray'})\nexport class AsFormArrayPipe extends CastTypePipe<AbstractControl, FormArray>\n{\n //######################### protected fields #########################\n\n /**\n * @inheritdoc\n */\n protected override _isInstanceOfPredicate: (value: AbstractControl) => boolean = value => value instanceof FormArray;\n}"]}
1
+ {"version":3,"file":"asFormArray.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AAEH,MAAM,OAAO,eAAe;IAExB,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;;4GA7BQ,eAAe,kBAGQ,MAAM;0GAH7B,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormArray} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormArray} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormArray`\n */\n@Pipe({name: 'asFormArray'})\nexport class AsFormArrayPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormArray`\n * @param value - `AbstractControl` to be cast to `FormArray`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormArray<AbstractControl<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormArray)\n {\n return value as AsFormArray<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormArray');\n\n return null;\n }\n}"]}
@@ -1,24 +1,43 @@
1
- import { Pipe } from '@angular/core';
1
+ import { Inject, Optional, Pipe } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { CastTypePipe } from '@anglr/common';
3
+ import { LOGGER } from '@anglr/common';
4
+ import { isBlank } from '@jscrpt/common';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Tries to convert `AbstractControl` to `FormControl`
7
8
  */
8
- export class AsFormControlPipe extends CastTypePipe {
9
- constructor() {
10
- super(...arguments);
11
- //######################### protected fields #########################
12
- /**
13
- * @inheritdoc
14
- */
15
- this._isInstanceOfPredicate = value => value instanceof FormControl;
9
+ export class AsFormControlPipe {
10
+ //######################### constructors #########################
11
+ constructor(_logger) {
12
+ this._logger = _logger;
13
+ }
14
+ //######################### public methods - implementation of PipeTransform #########################
15
+ /**
16
+ * Allows casting of `AbstractControl` to `FormControl`
17
+ * @param value - `AbstractControl` to be cast to `FormControl`
18
+ * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
19
+ */
20
+ transform(value, _valueHash) {
21
+ var _a;
22
+ if (isBlank(value)) {
23
+ return null;
24
+ }
25
+ if (value instanceof FormControl) {
26
+ return value;
27
+ }
28
+ (_a = this._logger) === null || _a === void 0 ? void 0 : _a.warn('Failed to cast AbstractControl to FormControl');
29
+ return null;
16
30
  }
17
31
  }
18
- AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, decorators: [{
32
+ 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 });
33
+ AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormControlPipe, decorators: [{
21
35
  type: Pipe,
22
36
  args: [{ name: 'asFormControl' }]
23
- }] });
37
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
38
+ type: Optional
39
+ }, {
40
+ type: Inject,
41
+ args: [LOGGER]
42
+ }] }]; } });
24
43
  //# sourceMappingURL=asFormControl.pipe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"asFormControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAkB,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AAEH,MAAM,OAAO,iBAAkB,SAAQ,YAA0C;IADjF;;QAGI,sEAAsE;QAEtE;;WAEG;QACgB,2BAAsB,GAAwC,KAAK,CAAC,EAAE,CAAC,KAAK,YAAY,WAAW,CAAC;KAC1H;;8GARY,iBAAiB;4GAAjB,iBAAiB;2FAAjB,iBAAiB;kBAD7B,IAAI;mBAAC,EAAC,IAAI,EAAE,eAAe,EAAC","sourcesContent":["import {Pipe} from '@angular/core';\nimport {AbstractControl, FormControl} from '@angular/forms';\nimport {CastTypePipe} from '@anglr/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormControl`\n */\n@Pipe({name: 'asFormControl'})\nexport class AsFormControlPipe extends CastTypePipe<AbstractControl, FormControl>\n{\n //######################### protected fields #########################\n\n /**\n * @inheritdoc\n */\n protected override _isInstanceOfPredicate: (value: AbstractControl) => boolean = value => value instanceof FormControl;\n}"]}
1
+ {"version":3,"file":"asFormControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AAEH,MAAM,OAAO,iBAAiB;IAE1B,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,WAAW,EAC/B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,CAAC,+CAA+C,CAAC,CAAC;QAEpE,OAAO,IAAI,CAAC;IAChB,CAAC;;8GA7BQ,iBAAiB,kBAGM,MAAM;4GAH7B,iBAAiB;2FAAjB,iBAAiB;kBAD7B,IAAI;mBAAC,EAAC,IAAI,EAAE,eAAe,EAAC;;0BAIZ,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormControl} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormControl`\n */\n@Pipe({name: 'asFormControl'})\nexport class AsFormControlPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormControl`\n * @param value - `AbstractControl` to be cast to `FormControl`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormControl<TModel>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormControl)\n {\n return value as FormControl<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormControl');\n\n return null;\n }\n}"]}
@@ -1,24 +1,43 @@
1
- import { Pipe } from '@angular/core';
1
+ import { Inject, Optional, Pipe } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { CastTypePipe } from '@anglr/common';
3
+ import { LOGGER } from '@anglr/common';
4
+ import { isBlank } from '@jscrpt/common';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Tries to convert `AbstractControl` to `FormGroup`
7
8
  */
8
- export class AsFormGroupPipe extends CastTypePipe {
9
- constructor() {
10
- super(...arguments);
11
- //######################### protected fields #########################
12
- /**
13
- * @inheritdoc
14
- */
15
- this._isInstanceOfPredicate = value => value instanceof FormGroup;
9
+ export class AsFormGroupPipe {
10
+ //######################### constructors #########################
11
+ constructor(_logger) {
12
+ this._logger = _logger;
13
+ }
14
+ //######################### public methods - implementation of PipeTransform #########################
15
+ /**
16
+ * Allows casting of `AbstractControl` to `FormGroup`
17
+ * @param value - `AbstractControl` to be cast to `FormGroup`
18
+ * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
19
+ */
20
+ transform(value, _valueHash) {
21
+ var _a;
22
+ if (isBlank(value)) {
23
+ return null;
24
+ }
25
+ if (value instanceof FormGroup) {
26
+ return value;
27
+ }
28
+ (_a = this._logger) === null || _a === void 0 ? void 0 : _a.warn('Failed to cast AbstractControl to FormGroup');
29
+ return null;
16
30
  }
17
31
  }
18
- AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, decorators: [{
32
+ 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 });
33
+ AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AsFormGroupPipe, decorators: [{
21
35
  type: Pipe,
22
36
  args: [{ name: 'asFormGroup' }]
23
- }] });
37
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
38
+ type: Optional
39
+ }, {
40
+ type: Inject,
41
+ args: [LOGGER]
42
+ }] }]; } });
24
43
  //# sourceMappingURL=asFormGroup.pipe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"asFormGroup.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AAEH,MAAM,OAAO,eAAgB,SAAQ,YAAwC;IAD7E;;QAGI,sEAAsE;QAEtE;;WAEG;QACgB,2BAAsB,GAAwC,KAAK,CAAC,EAAE,CAAC,KAAK,YAAY,SAAS,CAAC;KACxH;;4GARY,eAAe;0GAAf,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC","sourcesContent":["import {Pipe} from '@angular/core';\nimport {AbstractControl, FormGroup} from '@angular/forms';\nimport {CastTypePipe} from '@anglr/common';\n\n/**\n * Tries to convert `AbstractControl` to `FormGroup`\n */\n@Pipe({name: 'asFormGroup'})\nexport class AsFormGroupPipe extends CastTypePipe<AbstractControl, FormGroup>\n{\n //######################### protected fields #########################\n\n /**\n * @inheritdoc\n */\n protected override _isInstanceOfPredicate: (value: AbstractControl) => boolean = value => value instanceof FormGroup;\n}"]}
1
+ {"version":3,"file":"asFormGroup.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAkB,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAS,MAAM,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AAEH,MAAM,OAAO,eAAe;IAExB,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAEhE,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAS,KAA6C,EAAE,UAAgB;;QAEpF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,KAAK,YAAY,SAAS,EAC7B;YACI,OAAO,KAA4B,CAAC;SACvC;QAED,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAElE,OAAO,IAAI,CAAC;IAChB,CAAC;;4GA7BQ,eAAe,kBAGQ,MAAM;0GAH7B,eAAe;2FAAf,eAAe;kBAD3B,IAAI;mBAAC,EAAC,IAAI,EAAE,aAAa,EAAC;;0BAIV,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe} from '@angular/core';\nimport {AbstractControl, FormGroup} from '@angular/forms';\nimport {Logger, LOGGER} from '@anglr/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {AsFormGroup, FormModelGroup} from '../../../../misc/types';\n\n/**\n * Tries to convert `AbstractControl` to `FormGroup`\n */\n@Pipe({name: 'asFormGroup'})\nexport class AsFormGroupPipe\n{\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of `AbstractControl` to `FormGroup`\n * @param value - `AbstractControl` to be cast to `FormGroup`\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel>(value: AbstractControl<TModel>|null|undefined, _valueHash?: any): FormGroup<FormModelGroup<TModel>>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(value instanceof FormGroup)\n {\n return value as AsFormGroup<TModel>;\n }\n\n this._logger?.warn('Failed to cast AbstractControl to FormGroup');\n\n return null;\n }\n}\n"]}
@@ -3,11 +3,11 @@ import { FormArray, FormGroup } from '@angular/forms';
3
3
  import { isBlank } from '@jscrpt/common';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
- * Gets control from `FormGroup`
6
+ * Gets control from `FormGroup` or `FormArray`
7
7
  */
8
8
  export class GetControlPipe {
9
9
  /**
10
- * Gets control from `FormGroup`
10
+ * Gets control from `FormGroup` or `FormArray`
11
11
  * @param value - FormGroup which contains requested control
12
12
  * @param control - Control name to be obtained
13
13
  * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
@@ -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: "13.3.2", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
- GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, name: "getControl" });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, decorators: [{
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: [{
28
28
  type: Pipe,
29
29
  args: [{ name: 'getControl' }]
30
30
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"getControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/getControl/getControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAkB,SAAS,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AAEH,MAAM,OAAO,cAAc;IAEvB;;;;;OAKG;IACI,SAAS,CAAC,KAAsB,EAAE,OAAyB,EAAE,UAAgB;QAEhF,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,EACjE;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,OAAiB,CAAC,CAAC;IACxC,CAAC;;2GArBQ,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAD1B,IAAI;mBAAC,EAAC,IAAI,EAAE,YAAY,EAAC","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {AbstractControl, FormArray, FormGroup} from '@angular/forms';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Gets control from `FormGroup`\n */\n@Pipe({name: 'getControl'})\nexport class GetControlPipe<TFormGroup> implements PipeTransform\n{\n /**\n * Gets control from `FormGroup`\n * @param value - FormGroup which contains requested control\n * @param control - Control name to be obtained\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform(value: AbstractControl, control: keyof TFormGroup, _valueHash?: any): AbstractControl|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(!(value instanceof FormArray) && !(value instanceof FormGroup))\n {\n return null;\n }\n\n return value.get(control as string);\n }\n}"]}
1
+ {"version":3,"file":"getControl.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/formPipes/pipes/getControl/getControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAkB,SAAS,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AAEH,MAAM,OAAO,cAAc;IAEvB;;;;;OAKG;IACI,SAAS,CAAoC,KAA8B,EAAE,OAAa,EAAE,UAAoB;QAEnH,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,YAAY,SAAS,CAAC,EACjE;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,OAAiB,CAAC,CAAC;IACxC,CAAC;;2GArBQ,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAD1B,IAAI;mBAAC,EAAC,IAAI,EAAE,YAAY,EAAC","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {AbstractControl, FormArray, FormGroup} from '@angular/forms';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Gets control from `FormGroup` or `FormArray`\n */\n@Pipe({name: 'getControl'})\nexport class GetControlPipe implements PipeTransform\n{\n /**\n * Gets control from `FormGroup` or `FormArray`\n * @param value - FormGroup which contains requested control\n * @param control - Control name to be obtained\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform<TModel, TKey extends keyof TModel>(value: AbstractControl<TModel>, control: TKey, _valueHash?: unknown): AbstractControl<TModel[TKey]>|null\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(!(value instanceof FormArray) && !(value instanceof FormGroup))\n {\n return null;\n }\n\n return value.get(control as string);\n }\n}"]}
@@ -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: "13.3.2", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
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,
15
15
  GroupHasErrorDirective,
16
16
  GroupHasErrorContainerDirective,
17
17
  ValidationErrorsContainerDirective,
@@ -21,10 +21,8 @@ HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
21
21
  GroupHasErrorDirective,
22
22
  GroupHasErrorContainerDirective,
23
23
  ValidationErrorsContainerDirective] });
24
- HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, imports: [[
25
- CommonModule,
26
- ]] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, decorators: [{
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: [{
28
26
  type: NgModule,
29
27
  args: [{
30
28
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"hasError.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/hasError.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;AAC3F,OAAO,EAAC,+BAA+B,EAAE,kCAAkC,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,gCAAgC,EAAE,yCAAyC,EAAE,+CAA+C,EAAC,MAAM,eAAe,CAAC;;AAE3J;;GAEG;AAyBH,MAAM,OAAO,cAAc;;2GAAd,cAAc;4GAAd,cAAc,iBAhBnB,iBAAiB;QACjB,sBAAsB;QACtB,+BAA+B;QAC/B,kCAAkC;QAClC,gCAAgC;QAChC,yCAAyC;QACzC,+CAA+C,aAV/C,YAAY,aAcZ,iBAAiB;QACjB,sBAAsB;QACtB,+BAA+B;QAC/B,kCAAkC;4GAG7B,cAAc,YArBvB;YACI,YAAY;SACf;2FAmBQ,cAAc;kBAxB1B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;wBAClC,gCAAgC;wBAChC,yCAAyC;wBACzC,+CAA+C;qBAClD;oBACD,OAAO,EACP;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;qBACrC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {HasErrorDirective} from '../directives/hasError/hasError.directive';\nimport {GroupHasErrorDirective} from '../directives/groupHasError/groupHasError.directive';\nimport {GroupHasErrorContainerDirective, ValidationErrorsContainerDirective} from '../directives';\nimport {DefaultValidationErrorsComponent, DefaultValidationErrorsContainerComponent, ReservedSpaceValidationErrorsContainerComponent} from '../components';\n\n/**\n * Module for input validation directives\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n ],\n declarations: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n DefaultValidationErrorsComponent,\n DefaultValidationErrorsContainerComponent,\n ReservedSpaceValidationErrorsContainerComponent,\n ],\n exports: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n ]\n})\nexport class HasErrorModule\n{\n}"]}
1
+ {"version":3,"file":"hasError.module.js","sourceRoot":"","sources":["../../../../forms/src/modules/hasError.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAC,MAAM,qDAAqD,CAAC;AAC3F,OAAO,EAAC,+BAA+B,EAAE,kCAAkC,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,gCAAgC,EAAE,yCAAyC,EAAE,+CAA+C,EAAC,MAAM,eAAe,CAAC;;AAE3J;;GAEG;AAyBH,MAAM,OAAO,cAAc;;2GAAd,cAAc;4GAAd,cAAc,iBAhBnB,iBAAiB;QACjB,sBAAsB;QACtB,+BAA+B;QAC/B,kCAAkC;QAClC,gCAAgC;QAChC,yCAAyC;QACzC,+CAA+C,aAV/C,YAAY,aAcZ,iBAAiB;QACjB,sBAAsB;QACtB,+BAA+B;QAC/B,kCAAkC;4GAG7B,cAAc,YApBnB,YAAY;2FAoBP,cAAc;kBAxB1B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;qBACf;oBACD,YAAY,EACZ;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;wBAClC,gCAAgC;wBAChC,yCAAyC;wBACzC,+CAA+C;qBAClD;oBACD,OAAO,EACP;wBACI,iBAAiB;wBACjB,sBAAsB;wBACtB,+BAA+B;wBAC/B,kCAAkC;qBACrC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {HasErrorDirective} from '../directives/hasError/hasError.directive';\nimport {GroupHasErrorDirective} from '../directives/groupHasError/groupHasError.directive';\nimport {GroupHasErrorContainerDirective, ValidationErrorsContainerDirective} from '../directives';\nimport {DefaultValidationErrorsComponent, DefaultValidationErrorsContainerComponent, ReservedSpaceValidationErrorsContainerComponent} from '../components';\n\n/**\n * Module for input validation directives\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n ],\n declarations: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n DefaultValidationErrorsComponent,\n DefaultValidationErrorsContainerComponent,\n ReservedSpaceValidationErrorsContainerComponent,\n ],\n exports: \n [\n HasErrorDirective,\n GroupHasErrorDirective,\n GroupHasErrorContainerDirective,\n ValidationErrorsContainerDirective,\n ]\n})\nexport class HasErrorModule\n{\n}"]}
@@ -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: "13.3.2", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
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,
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: "13.3.2", ngImport: i0, type: NumberInputModule });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, decorators: [{
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: [{
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: "13.3.2", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
11
- RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, decorators: [{
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: [{
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: "13.3.2", 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: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
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: [{
69
69
  type: Injectable,
70
70
  args: [{ providedIn: 'root' }]
71
71
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -0,0 +1,27 @@
1
+ import { Injectable, Injector } from '@angular/core';
2
+ import { buildFormModel } from '../../misc/formModel';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Instance of form model builder, that creates `FormGroup` from form model, automatically providing `Injector`
6
+ */
7
+ export class FormModelBuilder {
8
+ //######################### constructor #########################
9
+ constructor(_injector) {
10
+ this._injector = _injector;
11
+ }
12
+ //######################### public methods #########################
13
+ /**
14
+ * Builds form from decorated model, only for properties with non `undefined` value
15
+ * @param model - Model that can be decorated for enhancing created form group with validation and so on
16
+ * @param args - Object storing arguments from owning component for customization
17
+ */
18
+ build(model, args) {
19
+ return buildFormModel(model, Object.assign(Object.assign({}, args), { injector: this._injector }));
20
+ }
21
+ }
22
+ FormModelBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
23
+ FormModelBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: FormModelBuilder, decorators: [{
25
+ type: Injectable
26
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
27
+ //# sourceMappingURL=formModelBuilder.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formModelBuilder.service.js","sourceRoot":"","sources":["../../../../../forms/src/services/formModelBuilder/formModelBuilder.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAInD,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;;AAGpD;;GAEG;AAEH,MAAM,OAAO,gBAAgB;IAEzB,iEAAiE;IACjE,YAAsB,SAAmB;QAAnB,cAAS,GAAT,SAAS,CAAU;IAEzC,CAAC;IAED,oEAAoE;IAEpE;;;;OAIG;IACI,KAAK,CAA8C,KAAa,EAAE,IAAY;QAEjF,OAAO,cAAc,CAAgB,KAAK,kCAEE,IAAI,KACP,QAAQ,EAAE,IAAI,CAAC,SAAS,IAC1B,CAAC;IAC5C,CAAC;;6GArBQ,gBAAgB;iHAAhB,gBAAgB;2FAAhB,gBAAgB;kBAD5B,UAAU","sourcesContent":["import {Injectable, Injector} from '@angular/core';\nimport {FormGroup} from '@angular/forms';\nimport {Dictionary} from '@jscrpt/common';\n\nimport {buildFormModel} from '../../misc/formModel';\nimport {FormModelGroup} from '../../misc/types';\n\n/**\n * Instance of form model builder, that creates `FormGroup` from form model, automatically providing `Injector`\n */\n@Injectable()\nexport class FormModelBuilder\n{\n //######################### constructor #########################\n constructor(protected _injector: Injector)\n {\n }\n\n //######################### public methods #########################\n\n /**\n * Builds form from decorated model, only for properties with non `undefined` value\n * @param model - Model that can be decorated for enhancing created form group with validation and so on\n * @param args - Object storing arguments from owning component for customization\n */\n public build<TModel, TArgs extends Dictionary<any> = any>(model: TModel, args?: TArgs): FormGroup<FormModelGroup<TModel>>\n {\n return buildFormModel<TModel, TArgs>(model,\n {\n ...args,\n injector: this._injector,\n });\n }\n}"]}
@@ -41,9 +41,9 @@ export class SubmittedService {
41
41
  }
42
42
  }
43
43
  }
44
- SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
- SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, decorators: [{
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: [{
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: "13.3.2", 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: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
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: [{
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: "13.3.2", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
128
- AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService });
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService, decorators: [{
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: [{
130
130
  type: Injectable
131
131
  }], ctorParameters: function () { return [{ type: i1.HotkeysService }]; } });
132
132
  //# sourceMappingURL=appHotkeys.service.js.map
@@ -33,9 +33,9 @@ export class ConfirmationDialogComponent {
33
33
  this.options = extend(true, {}, defaultOptions, options !== null && options !== void 0 ? options : {}, data);
34
34
  }
35
35
  }
36
- ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
37
- ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
36
+ ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
37
+ ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i3.LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'confirmation-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n" }]
41
41
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1,17 +1,17 @@
1
1
  import { Component, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { TitledDialogComponent } from '../titledDialog/titledDialog.component';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/cdk/drag-drop";
5
- import * as i2 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
4
+ import * as i1 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
5
+ import * as i2 from "@angular/cdk/drag-drop";
6
6
  import * as i3 from "../../../../src/pipes/localize/localize.pipe";
7
7
  /**
8
8
  * Component used as wrapper for material dialog enhanced with title, which is movable
9
9
  */
10
10
  export class MovableTitledDialogComponent extends TitledDialogComponent {
11
11
  }
12
- MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
- MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: MovableTitledDialogComponent, selector: "movable-titled-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, decorators: [{
12
+ MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MovableTitledDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
+ MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: MovableTitledDialogComponent, selector: "movable-titled-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], dependencies: [{ kind: "directive", type: i1.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }, { kind: "directive", type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i3.LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MovableTitledDialogComponent, decorators: [{
15
15
  type: Component,
16
16
  args: [{ selector: 'movable-titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
17
17
  }] });