@rxap/forms 19.2.0-dev.1 → 21.0.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/compodoc/changelog.html +24 -0
  3. package/compodoc/classes/FormArrayControlManager.html +13 -10
  4. package/compodoc/classes/RxapFormArray.html +3 -1
  5. package/compodoc/classes/RxapFormBuilder.html +13 -10
  6. package/compodoc/classes/RxapFormControl.html +3 -1
  7. package/compodoc/classes/RxapFormGroup.html +3 -1
  8. package/compodoc/dependencies.html +13 -13
  9. package/compodoc/js/search/search_index.js +2 -2
  10. package/compodoc/properties.html +1 -1
  11. package/docs/documentation.json +12279 -9865
  12. package/docs/html/assets/hierarchy.js +1 -1
  13. package/docs/html/classes/ControlValueAccessor.html +5 -5
  14. package/docs/html/classes/FormArrayControlManager.html +2 -2
  15. package/docs/html/classes/FormControlErrorDirective.html +5 -5
  16. package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
  17. package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
  18. package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
  19. package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
  20. package/docs/html/classes/FormControlNameDirective.html +33 -33
  21. package/docs/html/classes/FormDirective.html +47 -47
  22. package/docs/html/classes/FormGroupNameDirective.html +28 -28
  23. package/docs/html/classes/FormLoadedDirective.html +4 -4
  24. package/docs/html/classes/FormLoadingDirective.html +4 -4
  25. package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
  26. package/docs/html/classes/FormResetDirective.html +2 -2
  27. package/docs/html/classes/FormSubmitDirective.html +3 -3
  28. package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
  29. package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
  30. package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
  31. package/docs/html/classes/FormSubmittingDirective.html +4 -4
  32. package/docs/html/classes/ParentControlContainerDirective.html +2 -2
  33. package/docs/html/classes/RxapFormArray.html +96 -79
  34. package/docs/html/classes/RxapFormBuilder.html +2 -2
  35. package/docs/html/classes/RxapFormControl.html +92 -75
  36. package/docs/html/classes/RxapFormGroup.html +93 -77
  37. package/docs/html/classes/RxapFormsModule.html +2 -2
  38. package/docs/html/enums/MetadataKeys.html +2 -2
  39. package/docs/html/functions/ControlAsyncValidator.html +1 -1
  40. package/docs/html/functions/ControlChange.html +1 -1
  41. package/docs/html/functions/ControlSetValue.html +1 -1
  42. package/docs/html/functions/ControlValidator.html +1 -1
  43. package/docs/html/functions/IsArray.html +1 -1
  44. package/docs/html/functions/IsBoolean.html +1 -1
  45. package/docs/html/functions/IsComplex.html +1 -1
  46. package/docs/html/functions/IsDate.html +1 -1
  47. package/docs/html/functions/IsEmail.html +1 -1
  48. package/docs/html/functions/IsEnum.html +1 -1
  49. package/docs/html/functions/IsIP.html +1 -1
  50. package/docs/html/functions/IsInt.html +1 -1
  51. package/docs/html/functions/IsNumber-1.html +2 -2
  52. package/docs/html/functions/IsObject.html +1 -1
  53. package/docs/html/functions/IsPhoneNumber.html +1 -1
  54. package/docs/html/functions/IsPort.html +1 -1
  55. package/docs/html/functions/IsString.html +1 -1
  56. package/docs/html/functions/IsUUID.html +1 -1
  57. package/docs/html/functions/IsUrl.html +1 -1
  58. package/docs/html/functions/RxapForm.html +1 -1
  59. package/docs/html/functions/ToFormMethod.html +1 -1
  60. package/docs/html/functions/ToFormSubmitMethod.html +2 -2
  61. package/docs/html/functions/UseFormArrayControl.html +1 -1
  62. package/docs/html/functions/UseFormArrayGroup.html +1 -1
  63. package/docs/html/functions/UseFormControl.html +1 -1
  64. package/docs/html/functions/UseFormGroup.html +1 -1
  65. package/docs/html/functions/_IsNumber.html +1 -1
  66. package/docs/html/functions/controlDisabledWhile.html +1 -1
  67. package/docs/html/functions/controlDisabled_.html +1 -1
  68. package/docs/html/functions/controlEnabledWhile.html +1 -1
  69. package/docs/html/functions/controlEnabled_.html +1 -1
  70. package/docs/html/functions/controlErrorChanges_.html +1 -1
  71. package/docs/html/functions/controlReadonly_.html +1 -1
  72. package/docs/html/functions/controlStatusChanges_.html +1 -1
  73. package/docs/html/functions/controlValueChanges_.html +1 -1
  74. package/docs/html/functions/disableControl.html +1 -1
  75. package/docs/html/functions/enableControl.html +1 -1
  76. package/docs/html/functions/hasErrorAndDirty.html +1 -1
  77. package/docs/html/functions/hasErrorAndTouched.html +1 -1
  78. package/docs/html/functions/isNumber.html +2 -2
  79. package/docs/html/functions/markAllDirty.html +1 -1
  80. package/docs/html/functions/markAllPristine.html +1 -1
  81. package/docs/html/functions/markAllUntouched.html +1 -1
  82. package/docs/html/functions/mergeControlValidators.html +1 -1
  83. package/docs/html/functions/selectControlValue_.html +1 -1
  84. package/docs/html/functions/validateControlOn.html +1 -1
  85. package/docs/html/hierarchy.html +1 -1
  86. package/docs/html/index.html +2 -2
  87. package/docs/html/interfaces/AbstractControl.html +95 -71
  88. package/docs/html/interfaces/AbstractControlOptions.html +4 -4
  89. package/docs/html/interfaces/BoxedValue.html +2 -2
  90. package/docs/html/interfaces/ComplexityOptions.html +2 -2
  91. package/docs/html/interfaces/ControlOptions.html +3 -3
  92. package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
  93. package/docs/html/interfaces/FormArrayOptions.html +4 -4
  94. package/docs/html/interfaces/FormDefinition.html +6 -6
  95. package/docs/html/interfaces/FormDefinitionArray.html +43 -36
  96. package/docs/html/interfaces/FormDefinitionMetadata.html +5 -5
  97. package/docs/html/interfaces/FormGroupOptions.html +4 -4
  98. package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
  99. package/docs/html/interfaces/FormLoadMethod.html +2 -2
  100. package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
  101. package/docs/html/interfaces/FormOptions.html +4 -4
  102. package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
  103. package/docs/html/interfaces/FormSubmitMethod.html +2 -2
  104. package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  105. package/docs/html/interfaces/InjectableValidator.html +2 -2
  106. package/docs/html/interfaces/IsNumberOptions.html +3 -3
  107. package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
  108. package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
  109. package/docs/html/interfaces/_RxapAbstractControlOptions.html +4 -4
  110. package/docs/html/modules.html +1 -1
  111. package/docs/html/types/AsyncValidator.html +1 -1
  112. package/docs/html/types/AsyncValidatorFn.html +1 -1
  113. package/docs/html/types/ChangeFn.html +1 -1
  114. package/docs/html/types/ControlEventOptions.html +1 -1
  115. package/docs/html/types/ControlInsertedFn.html +1 -1
  116. package/docs/html/types/ControlPath.html +1 -1
  117. package/docs/html/types/ControlRemovedFn.html +1 -1
  118. package/docs/html/types/ControlState.html +1 -1
  119. package/docs/html/types/EmitEvent.html +1 -1
  120. package/docs/html/types/ExtractAbstractControl.html +1 -1
  121. package/docs/html/types/ExtractStrings.html +1 -1
  122. package/docs/html/types/FormBuilderFn.html +1 -1
  123. package/docs/html/types/FormType.html +1 -1
  124. package/docs/html/types/KeyValueControls.html +1 -1
  125. package/docs/html/types/OnlySelf.html +1 -1
  126. package/docs/html/types/OrBoxedValue.html +1 -1
  127. package/docs/html/types/RxapAbstractControlOptions.html +1 -1
  128. package/docs/html/types/SetValueFn.html +1 -1
  129. package/docs/html/types/ValidationErrors.html +1 -1
  130. package/docs/html/types/Validator.html +1 -1
  131. package/docs/html/types/ValidatorFn.html +1 -1
  132. package/docs/html/types/ValidatorOrOpts.html +1 -1
  133. package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
  134. package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
  135. package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
  136. package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
  137. package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
  138. package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
  139. package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
  140. package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
  141. package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
  142. package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
  143. package/docs/html/variables/RxapValidators.html +1 -1
  144. package/docs/markdown/README.md +1 -1
  145. package/docs/markdown/classes/ControlValueAccessor.md +8 -8
  146. package/docs/markdown/classes/FormArrayControlManager.md +6 -6
  147. package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
  148. package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
  149. package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
  150. package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
  151. package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
  152. package/docs/markdown/classes/FormControlNameDirective.md +36 -38
  153. package/docs/markdown/classes/FormDirective.md +139 -91
  154. package/docs/markdown/classes/FormGroupNameDirective.md +31 -31
  155. package/docs/markdown/classes/FormLoadedDirective.md +5 -5
  156. package/docs/markdown/classes/FormLoadingDirective.md +5 -5
  157. package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
  158. package/docs/markdown/classes/FormResetDirective.md +8 -8
  159. package/docs/markdown/classes/FormSubmitDirective.md +15 -15
  160. package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
  161. package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
  162. package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
  163. package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
  164. package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
  165. package/docs/markdown/classes/RxapFormArray.md +132 -103
  166. package/docs/markdown/classes/RxapFormBuilder.md +4 -4
  167. package/docs/markdown/classes/RxapFormControl.md +127 -103
  168. package/docs/markdown/classes/RxapFormGroup.md +140 -117
  169. package/docs/markdown/classes/RxapFormsModule.md +2 -2
  170. package/docs/markdown/enumerations/MetadataKeys.md +10 -10
  171. package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
  172. package/docs/markdown/functions/ControlChange.md +2 -2
  173. package/docs/markdown/functions/ControlSetValue.md +2 -2
  174. package/docs/markdown/functions/ControlValidator.md +2 -2
  175. package/docs/markdown/functions/IsArray.md +2 -2
  176. package/docs/markdown/functions/IsBoolean.md +2 -2
  177. package/docs/markdown/functions/IsComplex.md +2 -2
  178. package/docs/markdown/functions/IsDate.md +2 -2
  179. package/docs/markdown/functions/IsEmail.md +2 -2
  180. package/docs/markdown/functions/IsEnum.md +2 -2
  181. package/docs/markdown/functions/IsIP.md +2 -2
  182. package/docs/markdown/functions/IsInt.md +2 -2
  183. package/docs/markdown/functions/IsNumber-2.md +2 -2
  184. package/docs/markdown/functions/IsNumber.md +2 -2
  185. package/docs/markdown/functions/IsObject.md +2 -2
  186. package/docs/markdown/functions/IsPhoneNumber.md +2 -2
  187. package/docs/markdown/functions/IsPort.md +2 -2
  188. package/docs/markdown/functions/IsString.md +2 -2
  189. package/docs/markdown/functions/IsUUID.md +2 -2
  190. package/docs/markdown/functions/IsUrl.md +2 -2
  191. package/docs/markdown/functions/RxapForm.md +2 -2
  192. package/docs/markdown/functions/ToFormMethod.md +2 -2
  193. package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
  194. package/docs/markdown/functions/UseFormArrayControl.md +2 -2
  195. package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
  196. package/docs/markdown/functions/UseFormControl.md +2 -2
  197. package/docs/markdown/functions/UseFormGroup.md +2 -2
  198. package/docs/markdown/functions/controlDisabled$.md +2 -2
  199. package/docs/markdown/functions/controlDisabledWhile.md +2 -2
  200. package/docs/markdown/functions/controlEnabled$.md +2 -2
  201. package/docs/markdown/functions/controlEnabledWhile.md +2 -2
  202. package/docs/markdown/functions/controlErrorChanges$.md +2 -2
  203. package/docs/markdown/functions/controlReadonly$.md +2 -2
  204. package/docs/markdown/functions/controlStatusChanges$.md +2 -2
  205. package/docs/markdown/functions/controlValueChanges$.md +2 -2
  206. package/docs/markdown/functions/disableControl.md +2 -2
  207. package/docs/markdown/functions/enableControl.md +2 -2
  208. package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
  209. package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
  210. package/docs/markdown/functions/isNumber-1.md +2 -2
  211. package/docs/markdown/functions/markAllDirty.md +2 -2
  212. package/docs/markdown/functions/markAllPristine.md +2 -2
  213. package/docs/markdown/functions/markAllUntouched.md +2 -2
  214. package/docs/markdown/functions/mergeControlValidators.md +2 -2
  215. package/docs/markdown/functions/selectControlValue$.md +2 -2
  216. package/docs/markdown/functions/validateControlOn.md +2 -2
  217. package/docs/markdown/globals.md +2 -2
  218. package/docs/markdown/interfaces/AbstractControl.md +122 -73
  219. package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
  220. package/docs/markdown/interfaces/BoxedValue.md +4 -4
  221. package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
  222. package/docs/markdown/interfaces/ControlOptions.md +10 -10
  223. package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
  224. package/docs/markdown/interfaces/FormArrayOptions.md +15 -15
  225. package/docs/markdown/interfaces/FormDefinition.md +7 -7
  226. package/docs/markdown/interfaces/FormDefinitionArray.md +70 -36
  227. package/docs/markdown/interfaces/FormDefinitionMetadata.md +14 -14
  228. package/docs/markdown/interfaces/FormGroupOptions.md +12 -12
  229. package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
  230. package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
  231. package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
  232. package/docs/markdown/interfaces/FormOptions.md +12 -12
  233. package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
  234. package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
  235. package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
  236. package/docs/markdown/interfaces/InjectableValidator.md +4 -4
  237. package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
  238. package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
  239. package/docs/markdown/interfaces/RxapAbstractControlOptions.md +11 -11
  240. package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +12 -12
  241. package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
  242. package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
  243. package/docs/markdown/type-aliases/ChangeFn.md +2 -2
  244. package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
  245. package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
  246. package/docs/markdown/type-aliases/ControlPath.md +2 -2
  247. package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
  248. package/docs/markdown/type-aliases/ControlState.md +2 -2
  249. package/docs/markdown/type-aliases/EmitEvent.md +2 -2
  250. package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
  251. package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
  252. package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
  253. package/docs/markdown/type-aliases/FormType.md +2 -2
  254. package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
  255. package/docs/markdown/type-aliases/OnlySelf.md +2 -2
  256. package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
  257. package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
  258. package/docs/markdown/type-aliases/SetValueFn.md +2 -2
  259. package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
  260. package/docs/markdown/type-aliases/Validator.md +2 -2
  261. package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
  262. package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
  263. package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
  264. package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
  265. package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
  266. package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
  267. package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
  268. package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
  269. package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
  270. package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
  271. package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
  272. package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
  273. package/docs/markdown/variables/RxapValidators.md +2 -2
  274. package/docs/wiki/Class.ControlValueAccessor.md +7 -7
  275. package/docs/wiki/Class.FormArrayControlManager.md +5 -5
  276. package/docs/wiki/Class.FormControlErrorDirective.md +6 -6
  277. package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
  278. package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
  279. package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
  280. package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
  281. package/docs/wiki/Class.FormControlNameDirective.md +35 -37
  282. package/docs/wiki/Class.FormDirective.md +138 -90
  283. package/docs/wiki/Class.FormGroupNameDirective.md +30 -30
  284. package/docs/wiki/Class.FormLoadedDirective.md +4 -4
  285. package/docs/wiki/Class.FormLoadingDirective.md +4 -4
  286. package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
  287. package/docs/wiki/Class.FormResetDirective.md +7 -7
  288. package/docs/wiki/Class.FormSubmitDirective.md +14 -14
  289. package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
  290. package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
  291. package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
  292. package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
  293. package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
  294. package/docs/wiki/Class.RxapFormArray.md +131 -102
  295. package/docs/wiki/Class.RxapFormBuilder.md +3 -3
  296. package/docs/wiki/Class.RxapFormControl.md +126 -102
  297. package/docs/wiki/Class.RxapFormGroup.md +139 -116
  298. package/docs/wiki/Class.RxapFormsModule.md +1 -1
  299. package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
  300. package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
  301. package/docs/wiki/Function.ControlChange.md +1 -1
  302. package/docs/wiki/Function.ControlSetValue.md +1 -1
  303. package/docs/wiki/Function.ControlValidator.md +1 -1
  304. package/docs/wiki/Function.IsArray.md +1 -1
  305. package/docs/wiki/Function.IsBoolean.md +1 -1
  306. package/docs/wiki/Function.IsComplex.md +1 -1
  307. package/docs/wiki/Function.IsDate.md +1 -1
  308. package/docs/wiki/Function.IsEmail.md +1 -1
  309. package/docs/wiki/Function.IsEnum.md +1 -1
  310. package/docs/wiki/Function.IsIP.md +1 -1
  311. package/docs/wiki/Function.IsInt.md +1 -1
  312. package/docs/wiki/Function.IsNumber.md +1 -1
  313. package/docs/wiki/Function.IsObject.md +1 -1
  314. package/docs/wiki/Function.IsPhoneNumber.md +1 -1
  315. package/docs/wiki/Function.IsPort.md +1 -1
  316. package/docs/wiki/Function.IsString.md +1 -1
  317. package/docs/wiki/Function.IsUUID.md +1 -1
  318. package/docs/wiki/Function.IsUrl.md +1 -1
  319. package/docs/wiki/Function.RxapForm.md +1 -1
  320. package/docs/wiki/Function.ToFormMethod.md +1 -1
  321. package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
  322. package/docs/wiki/Function.UseFormArrayControl.md +1 -1
  323. package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
  324. package/docs/wiki/Function.UseFormControl.md +1 -1
  325. package/docs/wiki/Function.UseFormGroup.md +1 -1
  326. package/docs/wiki/Function._IsNumber.md +1 -1
  327. package/docs/wiki/Function.controlDisabled$.md +1 -1
  328. package/docs/wiki/Function.controlDisabledWhile.md +1 -1
  329. package/docs/wiki/Function.controlEnabled$.md +1 -1
  330. package/docs/wiki/Function.controlEnabledWhile.md +1 -1
  331. package/docs/wiki/Function.controlErrorChanges$.md +1 -1
  332. package/docs/wiki/Function.controlReadonly$.md +1 -1
  333. package/docs/wiki/Function.controlStatusChanges$.md +1 -1
  334. package/docs/wiki/Function.controlValueChanges$.md +1 -1
  335. package/docs/wiki/Function.disableControl.md +1 -1
  336. package/docs/wiki/Function.enableControl.md +1 -1
  337. package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
  338. package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
  339. package/docs/wiki/Function.isNumber.md +1 -1
  340. package/docs/wiki/Function.markAllDirty.md +1 -1
  341. package/docs/wiki/Function.markAllPristine.md +1 -1
  342. package/docs/wiki/Function.markAllUntouched.md +1 -1
  343. package/docs/wiki/Function.mergeControlValidators.md +1 -1
  344. package/docs/wiki/Function.selectControlValue$.md +1 -1
  345. package/docs/wiki/Function.validateControlOn.md +1 -1
  346. package/docs/wiki/Interface.AbstractControl.md +121 -72
  347. package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
  348. package/docs/wiki/Interface.BoxedValue.md +3 -3
  349. package/docs/wiki/Interface.ComplexityOptions.md +11 -11
  350. package/docs/wiki/Interface.ControlOptions.md +9 -9
  351. package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
  352. package/docs/wiki/Interface.FormArrayOptions.md +14 -14
  353. package/docs/wiki/Interface.FormDefinition.md +6 -6
  354. package/docs/wiki/Interface.FormDefinitionArray.md +69 -35
  355. package/docs/wiki/Interface.FormDefinitionMetadata.md +13 -13
  356. package/docs/wiki/Interface.FormGroupOptions.md +11 -11
  357. package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
  358. package/docs/wiki/Interface.FormLoadMethod.md +3 -3
  359. package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
  360. package/docs/wiki/Interface.FormOptions.md +11 -11
  361. package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
  362. package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
  363. package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
  364. package/docs/wiki/Interface.InjectableValidator.md +3 -3
  365. package/docs/wiki/Interface.IsNumberOptions.md +5 -5
  366. package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
  367. package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +11 -11
  368. package/docs/wiki/Interface._RxapAbstractControlOptions.md +10 -10
  369. package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
  370. package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
  371. package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
  372. package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
  373. package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
  374. package/docs/wiki/TypeAlias.ControlPath.md +1 -1
  375. package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
  376. package/docs/wiki/TypeAlias.ControlState.md +1 -1
  377. package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
  378. package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
  379. package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
  380. package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
  381. package/docs/wiki/TypeAlias.FormType.md +1 -1
  382. package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
  383. package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
  384. package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
  385. package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
  386. package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
  387. package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
  388. package/docs/wiki/TypeAlias.Validator.md +1 -1
  389. package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
  390. package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
  391. package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
  392. package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
  393. package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
  394. package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
  395. package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
  396. package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
  397. package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
  398. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
  399. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
  400. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
  401. package/docs/wiki/Variable.RxapValidators.md +1 -1
  402. package/docs/wiki/globals.md +1 -1
  403. package/fesm2022/rxap-forms.mjs +79 -78
  404. package/fesm2022/rxap-forms.mjs.map +1 -1
  405. package/package.json +35 -30
  406. package/types/rxap-forms.d.ts +979 -0
  407. package/index.d.ts +0 -55
  408. package/lib/control-actions.d.ts +0 -23
  409. package/lib/control-value-accessor.d.ts +0 -9
  410. package/lib/decorators/control-async-validator.d.ts +0 -1
  411. package/lib/decorators/control-change.d.ts +0 -1
  412. package/lib/decorators/control-set-value.d.ts +0 -5
  413. package/lib/decorators/control-validator.d.ts +0 -1
  414. package/lib/decorators/form.d.ts +0 -2
  415. package/lib/decorators/metadata-keys.d.ts +0 -10
  416. package/lib/decorators/use-form-array.d.ts +0 -4
  417. package/lib/decorators/use-form-control.d.ts +0 -2
  418. package/lib/decorators/use-form-group.d.ts +0 -3
  419. package/lib/directives/form-control-error.directive.d.ts +0 -22
  420. package/lib/directives/form-control-mark-dirty.directive.d.ts +0 -9
  421. package/lib/directives/form-control-mark-pristine.directive.d.ts +0 -9
  422. package/lib/directives/form-control-mark-touched.directive.d.ts +0 -9
  423. package/lib/directives/form-control-mark-untouched.directive.d.ts +0 -9
  424. package/lib/directives/form-control-name.directive.d.ts +0 -16
  425. package/lib/directives/form-group-name.directive.d.ts +0 -16
  426. package/lib/directives/form-loaded.directive.d.ts +0 -14
  427. package/lib/directives/form-loading-error.directive.d.ts +0 -16
  428. package/lib/directives/form-loading.directive.d.ts +0 -14
  429. package/lib/directives/form-reset.directive.d.ts +0 -11
  430. package/lib/directives/form-submit-failed.directive.d.ts +0 -16
  431. package/lib/directives/form-submit-invalid.directive.d.ts +0 -16
  432. package/lib/directives/form-submit-successful.directive.d.ts +0 -16
  433. package/lib/directives/form-submit.directive.d.ts +0 -22
  434. package/lib/directives/form-submitting.directive.d.ts +0 -14
  435. package/lib/directives/form.directive.d.ts +0 -62
  436. package/lib/directives/forms.module.d.ts +0 -23
  437. package/lib/directives/models.d.ts +0 -29
  438. package/lib/directives/parent-control-container.directive.d.ts +0 -5
  439. package/lib/directives/tokens.d.ts +0 -12
  440. package/lib/form-array.d.ts +0 -76
  441. package/lib/form-builder.d.ts +0 -96
  442. package/lib/form-control.d.ts +0 -64
  443. package/lib/form-group.d.ts +0 -89
  444. package/lib/model.d.ts +0 -81
  445. package/lib/tokens.d.ts +0 -3
  446. package/lib/types.d.ts +0 -100
  447. package/lib/validators/index.d.ts +0 -32
  448. package/lib/validators/is-array.d.ts +0 -4
  449. package/lib/validators/is-boolean.d.ts +0 -4
  450. package/lib/validators/is-complex.d.ts +0 -17
  451. package/lib/validators/is-date.d.ts +0 -4
  452. package/lib/validators/is-email.d.ts +0 -6
  453. package/lib/validators/is-enum.d.ts +0 -5
  454. package/lib/validators/is-int.d.ts +0 -6
  455. package/lib/validators/is-ip.d.ts +0 -5
  456. package/lib/validators/is-number.d.ts +0 -24
  457. package/lib/validators/is-object.d.ts +0 -4
  458. package/lib/validators/is-phone-number.d.ts +0 -7
  459. package/lib/validators/is-port.d.ts +0 -4
  460. package/lib/validators/is-string.d.ts +0 -4
  461. package/lib/validators/is-url.d.ts +0 -6
  462. package/lib/validators/is-uuid.d.ts +0 -5
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: AbstractControl\<T\>
4
4
 
5
- Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L71)
5
+ Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L71)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,7 +18,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap
18
18
 
19
19
  > `optional` **controlId**: `string`
20
20
 
21
- Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L73)
21
+ Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L73)
22
22
 
23
23
  ***
24
24
 
@@ -26,7 +26,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap
26
26
 
27
27
  > `readonly` **errors**: `null` \| `ValidationErrors`
28
28
 
29
- Defined in: node\_modules/@angular/forms/index.d.ts:2231
29
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2643
30
30
 
31
31
  An object containing any errors generated by failing validation,
32
32
  or null if there are no errors.
@@ -41,7 +41,7 @@ or null if there are no errors.
41
41
 
42
42
  > `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
43
43
 
44
- Defined in: node\_modules/@angular/forms/index.d.ts:2278
44
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2691
45
45
 
46
46
  A multicasting observable that emits an event every time the state of the control changes.
47
47
  It emits for value, status, pristine or touched changes.
@@ -53,6 +53,10 @@ of this event might result in getting a value that has not been updated yet. Sub
53
53
  `events` of the parent control instead.
54
54
  For other event types, the events are emitted after the parent control has been updated.
55
55
 
56
+ #### See
57
+
58
+ [Unified control state change events](../wiki/guide/forms/reactive-forms#unified-control-state-change-events)
59
+
56
60
  #### Inherited from
57
61
 
58
62
  `NgAbstractControl.events`
@@ -63,7 +67,7 @@ For other event types, the events are emitted after the parent control has been
63
67
 
64
68
  > `optional` **fullControlPath**: `string`
65
69
 
66
- Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L74)
70
+ Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L74)
67
71
 
68
72
  ***
69
73
 
@@ -71,7 +75,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap
71
75
 
72
76
  > `optional` **readonly**: `boolean`
73
77
 
74
- Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L76)
78
+ Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L76)
75
79
 
76
80
  ***
77
81
 
@@ -79,7 +83,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap
79
83
 
80
84
  > `optional` **rxapFormDefinition**: [`FormDefinition`](../wiki/Interface.FormDefinition)\<`any`, `any`, `any`\>
81
85
 
82
- Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L75)
86
+ Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L75)
83
87
 
84
88
  ***
85
89
 
@@ -87,7 +91,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap
87
91
 
88
92
  > `optional` **stateChanges**: `Subject`\<`any`\>
89
93
 
90
- Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L77)
94
+ Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L77)
91
95
 
92
96
  ***
93
97
 
@@ -95,7 +99,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap
95
99
 
96
100
  > `readonly` **statusChanges**: `Observable`\<`FormControlStatus`\>
97
101
 
98
- Defined in: node\_modules/@angular/forms/index.d.ts:2298
102
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2711
99
103
 
100
104
  A multicasting observable that emits an event every time the validation `status` of the control
101
105
  recalculates.
@@ -115,7 +119,7 @@ recalculates.
115
119
 
116
120
  > **value**: `T`
117
121
 
118
- Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/types.ts#L72)
122
+ Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L72)
119
123
 
120
124
  The current value of the control.
121
125
 
@@ -124,7 +128,8 @@ The current value of the control.
124
128
  with a key-value pair for each member of the group.
125
129
  * For a disabled `FormGroup`, the values of all controls as an object
126
130
  with a key-value pair for each member of the group.
127
- * For a `FormArray`, the values of enabled controls as an array.
131
+ * For an enabled `FormArray`, the values of enabled controls as an array.
132
+ * For a disabled `FormArray`, the values of all controls as an array.
128
133
 
129
134
  #### Overrides
130
135
 
@@ -136,7 +141,7 @@ with a key-value pair for each member of the group.
136
141
 
137
142
  > `readonly` **valueChanges**: `Observable`\<`any`\>
138
143
 
139
- Defined in: node\_modules/@angular/forms/index.d.ts:2290
144
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2703
140
145
 
141
146
  A multicasting observable that emits an event every time the value of the control changes, in
142
147
  the UI or programmatically. It also emits an event each time you call enable() or disable()
@@ -160,7 +165,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
160
165
 
161
166
  > **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
162
167
 
163
- Defined in: node\_modules/@angular/forms/index.d.ts:2161
168
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
164
169
 
165
170
  Returns the function that is used to determine the validity of this control asynchronously.
166
171
  If multiple validators have been added, this will be a single composed function.
@@ -174,7 +179,7 @@ See `Validators.compose()` for additional information.
174
179
 
175
180
  > **set** **asyncValidator**(`asyncValidatorFn`): `void`
176
181
 
177
- Defined in: node\_modules/@angular/forms/index.d.ts:2162
182
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
178
183
 
179
184
  ##### Parameters
180
185
 
@@ -198,7 +203,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2162
198
203
 
199
204
  > **get** **dirty**(): `boolean`
200
205
 
201
- Defined in: node\_modules/@angular/forms/index.d.ts:2249
206
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
202
207
 
203
208
  A control is `dirty` if the user has changed the value
204
209
  in the UI.
@@ -222,7 +227,7 @@ Programmatic changes to a control's value do not mark it dirty.
222
227
 
223
228
  > **get** **disabled**(): `boolean`
224
229
 
225
- Defined in: node\_modules/@angular/forms/index.d.ts:2216
230
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2628
226
231
 
227
232
  A control is `disabled` when its `status` is `DISABLED`.
228
233
 
@@ -252,7 +257,7 @@ True if the control is disabled, false otherwise.
252
257
 
253
258
  > **get** **enabled**(): `boolean`
254
259
 
255
- Defined in: node\_modules/@angular/forms/index.d.ts:2226
260
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2638
256
261
 
257
262
  A control is `enabled` as long as its `status` is not `DISABLED`.
258
263
 
@@ -279,7 +284,7 @@ false if the status is 'DISABLED'.
279
284
 
280
285
  > **get** **invalid**(): `boolean`
281
286
 
282
- Defined in: node\_modules/@angular/forms/index.d.ts:2195
287
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2607
283
288
 
284
289
  A control is `invalid` when its `status` is `INVALID`.
285
290
 
@@ -306,7 +311,7 @@ false otherwise.
306
311
 
307
312
  > **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
308
313
 
309
- Defined in: node\_modules/@angular/forms/index.d.ts:2166
314
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2578
310
315
 
311
316
  The parent control.
312
317
 
@@ -326,7 +331,7 @@ The parent control.
326
331
 
327
332
  > **get** **pending**(): `boolean`
328
333
 
329
- Defined in: node\_modules/@angular/forms/index.d.ts:2204
334
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2616
330
335
 
331
336
  A control is `pending` when its `status` is `PENDING`.
332
337
 
@@ -353,7 +358,7 @@ false otherwise.
353
358
 
354
359
  > **get** **pristine**(): `boolean`
355
360
 
356
- Defined in: node\_modules/@angular/forms/index.d.ts:2239
361
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2651
357
362
 
358
363
  A control is `pristine` if the user has not yet changed
359
364
  the value in the UI.
@@ -369,7 +374,7 @@ Programmatic changes to a control's value do not mark it dirty.
369
374
 
370
375
  > **set** **pristine**(`value`): `void`
371
376
 
372
- Defined in: node\_modules/@angular/forms/index.d.ts:2240
377
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
373
378
 
374
379
  ##### Parameters
375
380
 
@@ -393,7 +398,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2240
393
398
 
394
399
  > **get** **root**(): `AbstractControl`
395
400
 
396
- Defined in: node\_modules/@angular/forms/index.d.ts:2758
401
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3203
397
402
 
398
403
  Retrieves the top-level ancestor of this control.
399
404
 
@@ -413,7 +418,7 @@ Retrieves the top-level ancestor of this control.
413
418
 
414
419
  > **get** **status**(): `FormControlStatus`
415
420
 
416
- Defined in: node\_modules/@angular/forms/index.d.ts:2175
421
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2587
417
422
 
418
423
  The validation status of the control.
419
424
 
@@ -432,7 +437,7 @@ both valid AND invalid or invalid AND disabled.
432
437
 
433
438
  > **set** **status**(`value`): `void`
434
439
 
435
- Defined in: node\_modules/@angular/forms/index.d.ts:2176
440
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2588
436
441
 
437
442
  ##### Parameters
438
443
 
@@ -456,7 +461,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2176
456
461
 
457
462
  > **get** **touched**(): `boolean`
458
463
 
459
- Defined in: node\_modules/@angular/forms/index.d.ts:2256
464
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2668
460
465
 
461
466
  True if the control is marked as `touched`.
462
467
 
@@ -471,7 +476,7 @@ a `blur` event on it.
471
476
 
472
477
  > **set** **touched**(`value`): `void`
473
478
 
474
- Defined in: node\_modules/@angular/forms/index.d.ts:2257
479
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
475
480
 
476
481
  ##### Parameters
477
482
 
@@ -495,7 +500,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2257
495
500
 
496
501
  > **get** **untouched**(): `boolean`
497
502
 
498
- Defined in: node\_modules/@angular/forms/index.d.ts:2265
503
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
499
504
 
500
505
  True if the control has not been marked as touched
501
506
 
@@ -518,7 +523,7 @@ a `blur` event on it.
518
523
 
519
524
  > **get** **updateOn**(): `FormHooks`
520
525
 
521
- Defined in: node\_modules/@angular/forms/index.d.ts:2305
526
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2718
522
527
 
523
528
  Reports the update strategy of the `AbstractControl` (meaning
524
529
  the event on which the control updates itself).
@@ -541,7 +546,7 @@ Default value: `'change'`
541
546
 
542
547
  > **get** **valid**(): `boolean`
543
548
 
544
- Defined in: node\_modules/@angular/forms/index.d.ts:2186
549
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2598
545
550
 
546
551
  A control is `valid` when its `status` is `VALID`.
547
552
 
@@ -568,7 +573,7 @@ false otherwise.
568
573
 
569
574
  > **get** **validator**(): `null` \| `ValidatorFn`
570
575
 
571
- Defined in: node\_modules/@angular/forms/index.d.ts:2154
576
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2566
572
577
 
573
578
  Returns the function that is used to determine the validity of this control synchronously.
574
579
  If multiple validators have been added, this will be a single composed function.
@@ -582,7 +587,7 @@ See `Validators.compose()` for additional information.
582
587
 
583
588
  > **set** **validator**(`validatorFn`): `void`
584
589
 
585
- Defined in: node\_modules/@angular/forms/index.d.ts:2155
590
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
586
591
 
587
592
  ##### Parameters
588
593
 
@@ -604,7 +609,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2155
604
609
 
605
610
  > **addAsyncValidators**(`validators`): `void`
606
611
 
607
- Defined in: node\_modules/@angular/forms/index.d.ts:2352
612
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2765
608
613
 
609
614
  Add an asynchronous validator or validators to this control, without affecting other
610
615
  validators.
@@ -636,7 +641,7 @@ The new asynchronous validator function or functions to add to this control.
636
641
 
637
642
  > **addValidators**(`validators`): `void`
638
643
 
639
- Defined in: node\_modules/@angular/forms/index.d.ts:2340
644
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2753
640
645
 
641
646
  Add a synchronous validator or validators to this control, without affecting other validators.
642
647
 
@@ -669,7 +674,7 @@ The new validator function or functions to add to this control.
669
674
 
670
675
  > **clearAsyncValidators**(): `void`
671
676
 
672
- Defined in: node\_modules/@angular/forms/index.d.ts:2443
677
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2852
673
678
 
674
679
  Empties out the async validator list.
675
680
 
@@ -690,7 +695,7 @@ When you add or remove a validator at run time, you must call
690
695
 
691
696
  > **clearValidators**(): `void`
692
697
 
693
- Defined in: node\_modules/@angular/forms/index.d.ts:2435
698
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2844
694
699
 
695
700
  Empties out the synchronous validator list.
696
701
 
@@ -711,7 +716,7 @@ When you add or remove a validator at run time, you must call
711
716
 
712
717
  > **disable**(`opts`?): `void`
713
718
 
714
- Defined in: node\_modules/@angular/forms/index.d.ts:2580
719
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3020
715
720
 
716
721
  Disables the control. This means the control is exempt from validation checks and
717
722
  excluded from the aggregate value of any parent. Its status is `DISABLED`.
@@ -757,7 +762,7 @@ When false, no events are emitted.
757
762
 
758
763
  > **enable**(`opts`?): `void`
759
764
 
760
- Defined in: node\_modules/@angular/forms/index.d.ts:2602
765
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3042
761
766
 
762
767
  Enables the control. This means the control is included in validation checks and
763
768
  the aggregate value of its parent. Its status recalculates based on its value and
@@ -804,9 +809,9 @@ When false, no events are emitted.
804
809
 
805
810
  #### Call Signature
806
811
 
807
- > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
812
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
808
813
 
809
- Defined in: node\_modules/@angular/forms/index.d.ts:2688
814
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3133
810
815
 
811
816
  Retrieves a child control given the control's name or path.
812
817
 
@@ -824,7 +829,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
824
829
 
825
830
  ##### Returns
826
831
 
827
- `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
832
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
828
833
 
829
834
  ##### Inherited from
830
835
 
@@ -832,9 +837,9 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
832
837
 
833
838
  #### Call Signature
834
839
 
835
- > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
840
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
836
841
 
837
- Defined in: node\_modules/@angular/forms/index.d.ts:2695
842
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3140
838
843
 
839
844
  Retrieves a child control given the control's name or path.
840
845
 
@@ -853,7 +858,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
853
858
 
854
859
  ##### Returns
855
860
 
856
- `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
861
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
857
862
 
858
863
  ##### Inherited from
859
864
 
@@ -865,7 +870,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
865
870
 
866
871
  > **getError**(`errorCode`, `path`?): `any`
867
872
 
868
- Defined in: node\_modules/@angular/forms/index.d.ts:2723
873
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3168
869
874
 
870
875
  #### Parameters
871
876
 
@@ -920,7 +925,7 @@ It can be provided to this method in one of two formats:
920
925
 
921
926
  > **getRawValue**(): `any`
922
927
 
923
- Defined in: node\_modules/@angular/forms/index.d.ts:2629
928
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3069
924
929
 
925
930
  The raw value of this control. For most control implementations, the raw value will include
926
931
  disabled children.
@@ -939,7 +944,7 @@ disabled children.
939
944
 
940
945
  > **hasAsyncValidator**(`validator`): `boolean`
941
946
 
942
- Defined in: node\_modules/@angular/forms/index.d.ts:2427
947
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
943
948
 
944
949
  Check whether an asynchronous validator function is present on this control. The provided
945
950
  validator must be a reference to the exact same function that was provided.
@@ -969,7 +974,7 @@ Whether the provided asynchronous validator was found on this control.
969
974
 
970
975
  > **hasError**(`errorCode`, `path`?): `boolean`
971
976
 
972
- Defined in: node\_modules/@angular/forms/index.d.ts:2754
977
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3199
973
978
 
974
979
  #### Parameters
975
980
 
@@ -1027,7 +1032,7 @@ If no path is given, this method checks for the error on the current control.
1027
1032
 
1028
1033
  > **hasValidator**(`validator`): `boolean`
1029
1034
 
1030
- Defined in: node\_modules/@angular/forms/index.d.ts:2418
1035
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2827
1031
1036
 
1032
1037
  Check whether a synchronous validator function is present on this control. The provided
1033
1038
  validator must be a reference to the exact same function that was provided.
@@ -1048,9 +1053,7 @@ Whether the provided validator was found on this control.
1048
1053
 
1049
1054
  #### Usage Notes
1050
1055
 
1051
- ### Reference to a ValidatorFn
1052
-
1053
- ```
1056
+ ```ts
1054
1057
  // Reference to the RequiredValidator
1055
1058
  const ctrl = new FormControl<number | null>(0, Validators.required);
1056
1059
  expect(ctrl.hasValidator(Validators.required)).toEqual(true)
@@ -1068,11 +1071,48 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
1068
1071
 
1069
1072
  ***
1070
1073
 
1074
+ ### markAllAsDirty()
1075
+
1076
+ > **markAllAsDirty**(`opts`?): `void`
1077
+
1078
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2889
1079
+
1080
+ Marks the control and all its descendant controls as `dirty`.
1081
+
1082
+ #### Parameters
1083
+
1084
+ ##### opts?
1085
+
1086
+ Configuration options that determine how the control propagates changes
1087
+ and emits events after marking is applied.
1088
+ * `emitEvent`: When true or not supplied (the default), the `events`
1089
+ observable emits a `PristineChangeEvent` with the `pristine` property being `false`.
1090
+ When false, no events are emitted.
1091
+
1092
+ ###### emitEvent?
1093
+
1094
+ `boolean`
1095
+
1096
+ #### Returns
1097
+
1098
+ `void`
1099
+
1100
+ #### See
1101
+
1102
+ - [()](../wiki/Interface.AbstractControl#markasdirty)
1103
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1104
+
1105
+ #### Inherited from
1106
+
1107
+ `NgAbstractControl.markAllAsDirty`
1108
+
1109
+ ***
1110
+
1071
1111
  ### markAllAsTouched()
1072
1112
 
1073
1113
  > **markAllAsTouched**(`opts`?): `void`
1074
1114
 
1075
- Defined in: node\_modules/@angular/forms/index.d.ts:2474
1115
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2905
1076
1116
 
1077
1117
  Marks the control and all its descendant controls as `touched`.
1078
1118
 
@@ -1096,7 +1136,8 @@ When false, no events are emitted.
1096
1136
 
1097
1137
  #### See
1098
1138
 
1099
- [()](../wiki/Interface.AbstractControl#markastouched)
1139
+ - [()](../wiki/Interface.AbstractControl#markastouched)
1140
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1100
1141
 
1101
1142
  #### Inherited from
1102
1143
 
@@ -1108,7 +1149,7 @@ When false, no events are emitted.
1108
1149
 
1109
1150
  > **markAsDirty**(`opts`?): `void`
1110
1151
 
1111
- Defined in: node\_modules/@angular/forms/index.d.ts:2515
1152
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2952
1112
1153
 
1113
1154
  Marks the control as `dirty`. A control becomes dirty when
1114
1155
  the control's value is changed through the UI; compare `markAsTouched`.
@@ -1142,6 +1183,7 @@ When false, no events are emitted.
1142
1183
  - [()](../wiki/Interface.AbstractControl#markastouched)
1143
1184
  - [()](../wiki/Interface.AbstractControl#markasuntouched)
1144
1185
  - [()](../wiki/Interface.AbstractControl#markaspristine)
1186
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1145
1187
 
1146
1188
  #### Inherited from
1147
1189
 
@@ -1153,7 +1195,7 @@ When false, no events are emitted.
1153
1195
 
1154
1196
  > **markAsPending**(`opts`?): `void`
1155
1197
 
1156
- Defined in: node\_modules/@angular/forms/index.d.ts:2559
1198
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2999
1157
1199
 
1158
1200
  Marks the control as `pending`.
1159
1201
 
@@ -1198,7 +1240,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
1198
1240
 
1199
1241
  > **markAsPristine**(`opts`?): `void`
1200
1242
 
1201
- Defined in: node\_modules/@angular/forms/index.d.ts:2538
1243
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2978
1202
1244
 
1203
1245
  Marks the control as `pristine`.
1204
1246
 
@@ -1235,6 +1277,7 @@ When false, no events are emitted.
1235
1277
  - [()](../wiki/Interface.AbstractControl#markastouched)
1236
1278
  - [()](../wiki/Interface.AbstractControl#markasuntouched)
1237
1279
  - [()](../wiki/Interface.AbstractControl#markasdirty)
1280
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1238
1281
 
1239
1282
  #### Inherited from
1240
1283
 
@@ -1246,7 +1289,7 @@ When false, no events are emitted.
1246
1289
 
1247
1290
  > **markAsTouched**(`opts`?): `void`
1248
1291
 
1249
- Defined in: node\_modules/@angular/forms/index.d.ts:2460
1292
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2872
1250
1293
 
1251
1294
  Marks the control as `touched`. A control is touched by focus and
1252
1295
  blur events that do not change the value.
@@ -1280,6 +1323,7 @@ When false, no events are emitted.
1280
1323
  - [()](../wiki/Interface.AbstractControl#markasuntouched)
1281
1324
  - [()](../wiki/Interface.AbstractControl#markasdirty)
1282
1325
  - [()](../wiki/Interface.AbstractControl#markaspristine)
1326
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1283
1327
 
1284
1328
  #### Inherited from
1285
1329
 
@@ -1291,7 +1335,7 @@ When false, no events are emitted.
1291
1335
 
1292
1336
  > **markAsUntouched**(`opts`?): `void`
1293
1337
 
1294
- Defined in: node\_modules/@angular/forms/index.d.ts:2495
1338
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2929
1295
1339
 
1296
1340
  Marks the control as `untouched`.
1297
1341
 
@@ -1327,6 +1371,7 @@ When false, no events are emitted.
1327
1371
  - [()](../wiki/Interface.AbstractControl#markastouched)
1328
1372
  - [()](../wiki/Interface.AbstractControl#markasdirty)
1329
1373
  - [()](../wiki/Interface.AbstractControl#markaspristine)
1374
+ - [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
1330
1375
 
1331
1376
  #### Inherited from
1332
1377
 
@@ -1338,7 +1383,7 @@ When false, no events are emitted.
1338
1383
 
1339
1384
  > `abstract` **patchValue**(`value`, `options`?): `void`
1340
1385
 
1341
- Defined in: node\_modules/@angular/forms/index.d.ts:2620
1386
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3060
1342
1387
 
1343
1388
  Patches the value of the control. Abstract method (implemented in sub-classes).
1344
1389
 
@@ -1366,7 +1411,7 @@ Patches the value of the control. Abstract method (implemented in sub-classes).
1366
1411
 
1367
1412
  > **removeAsyncValidators**(`validators`): `void`
1368
1413
 
1369
- Defined in: node\_modules/@angular/forms/index.d.ts:2394
1414
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2805
1370
1415
 
1371
1416
  Remove an asynchronous validator from this control, without affecting other validators.
1372
1417
  Validators are compared by function reference; you must pass a reference to the exact same
@@ -1398,7 +1443,7 @@ The asynchronous validator or validators to remove.
1398
1443
 
1399
1444
  > **removeValidators**(`validators`): `void`
1400
1445
 
1401
- Defined in: node\_modules/@angular/forms/index.d.ts:2382
1446
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2793
1402
1447
 
1403
1448
  Remove a synchronous validator from this control, without affecting other validators.
1404
1449
  Validators are compared by function reference; you must pass a reference to the exact same
@@ -1419,9 +1464,7 @@ The validator or validators to remove.
1419
1464
 
1420
1465
  #### Usage Notes
1421
1466
 
1422
- ### Reference to a ValidatorFn
1423
-
1424
- ```
1467
+ ```ts
1425
1468
  // Reference to the RequiredValidator
1426
1469
  const ctrl = new FormControl<string | null>('', Validators.required);
1427
1470
  ctrl.removeValidators(Validators.required);
@@ -1448,7 +1491,7 @@ When you add or remove a validator at run time, you must call
1448
1491
 
1449
1492
  > `abstract` **reset**(`value`?, `options`?): `void`
1450
1493
 
1451
- Defined in: node\_modules/@angular/forms/index.d.ts:2624
1494
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3064
1452
1495
 
1453
1496
  Resets the control. Abstract method (implemented in sub-classes).
1454
1497
 
@@ -1476,7 +1519,7 @@ Resets the control. Abstract method (implemented in sub-classes).
1476
1519
 
1477
1520
  > **setAsyncValidators**(`validators`): `void`
1478
1521
 
1479
- Defined in: node\_modules/@angular/forms/index.d.ts:2327
1522
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2740
1480
1523
 
1481
1524
  Sets the asynchronous validators that are active on this control. Calling this
1482
1525
  overwrites any existing asynchronous validators.
@@ -1507,12 +1550,14 @@ using `addAsyncValidators()` method instead.
1507
1550
 
1508
1551
  > **setErrors**(`errors`, `opts`?): `void`
1509
1552
 
1510
- Defined in: node\_modules/@angular/forms/index.d.ts:2680
1553
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3125
1511
1554
 
1512
1555
  Sets errors on a form control when running validations manually, rather than automatically.
1513
1556
 
1514
1557
  Calling `setErrors` also updates the validity of the parent control.
1515
1558
 
1559
+ Note: Manually set errors are always overwritten by the results of the next validation run.
1560
+
1516
1561
  #### Parameters
1517
1562
 
1518
1563
  ##### errors
@@ -1562,7 +1607,7 @@ expect(login.valid).toEqual(true);
1562
1607
 
1563
1608
  > **setParent**(`parent`): `void`
1564
1609
 
1565
- Defined in: node\_modules/@angular/forms/index.d.ts:2612
1610
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3052
1566
1611
 
1567
1612
  Sets the parent of the control
1568
1613
 
@@ -1588,7 +1633,7 @@ The new parent.
1588
1633
 
1589
1634
  > **setValidators**(`validators`): `void`
1590
1635
 
1591
- Defined in: node\_modules/@angular/forms/index.d.ts:2316
1636
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2729
1592
1637
 
1593
1638
  Sets the synchronous validators that are active on this control. Calling
1594
1639
  this overwrites any existing synchronous validators.
@@ -1619,7 +1664,7 @@ using `addValidators()` method instead.
1619
1664
 
1620
1665
  > `abstract` **setValue**(`value`, `options`?): `void`
1621
1666
 
1622
- Defined in: node\_modules/@angular/forms/index.d.ts:2616
1667
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3056
1623
1668
 
1624
1669
  Sets the value of the control. Abstract method (implemented in sub-classes).
1625
1670
 
@@ -1647,7 +1692,7 @@ Sets the value of the control. Abstract method (implemented in sub-classes).
1647
1692
 
1648
1693
  > **updateValueAndValidity**(`opts`?): `void`
1649
1694
 
1650
- Defined in: node\_modules/@angular/forms/index.d.ts:2644
1695
+ Defined in: node\_modules/@angular/forms/types/forms.d.ts:3087
1651
1696
 
1652
1697
  Recalculates the value and validation status of the control.
1653
1698
 
@@ -1678,6 +1723,10 @@ When false, no events are emitted.
1678
1723
 
1679
1724
  `void`
1680
1725
 
1726
+ #### See
1727
+
1728
+ [Understanding propagation control](../wiki/guide/forms/reactive-forms#understanding-event-emission)
1729
+
1681
1730
  #### Inherited from
1682
1731
 
1683
1732
  `NgAbstractControl.updateValueAndValidity`