@rxap/forms 19.0.1-dev.2 → 19.0.1-dev.5

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 (554) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +24 -25
  3. package/compodoc/changelog.html +6 -0
  4. package/compodoc/dependencies.html +9 -9
  5. package/compodoc/index.html +26 -17
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +4 -1
  8. package/docs/documentation.json +13986 -15658
  9. package/docs/html/assets/hierarchy.js +1 -0
  10. package/docs/{assets → html/assets}/highlight.css +27 -20
  11. package/docs/html/assets/icons.js +18 -0
  12. package/docs/html/assets/icons.svg +1 -0
  13. package/docs/{assets → html/assets}/main.js +5 -4
  14. package/docs/html/assets/navigation.js +1 -0
  15. package/docs/html/assets/search.js +1 -0
  16. package/docs/html/assets/style.css +1611 -0
  17. package/docs/html/classes/ControlValueAccessor.html +46 -0
  18. package/docs/html/classes/FormArrayControlManager.html +4 -0
  19. package/docs/html/classes/FormControlErrorDirective.html +14 -0
  20. package/docs/html/classes/FormControlMarkDirtyDirective.html +3 -0
  21. package/docs/html/classes/FormControlMarkPristineDirective.html +3 -0
  22. package/docs/html/classes/FormControlMarkTouchedDirective.html +3 -0
  23. package/docs/html/classes/FormControlMarkUntouchedDirective.html +3 -0
  24. package/docs/html/classes/FormControlNameDirective.html +122 -0
  25. package/docs/html/classes/FormDirective.html +198 -0
  26. package/docs/html/classes/FormGroupNameDirective.html +110 -0
  27. package/docs/html/classes/FormLoadedDirective.html +9 -0
  28. package/docs/html/classes/FormLoadingDirective.html +9 -0
  29. package/docs/html/classes/FormLoadingErrorDirective.html +9 -0
  30. package/docs/html/classes/FormResetDirective.html +7 -0
  31. package/docs/html/classes/FormSubmitDirective.html +13 -0
  32. package/docs/html/classes/FormSubmitFailedDirective.html +9 -0
  33. package/docs/html/classes/FormSubmitInvalidDirective.html +9 -0
  34. package/docs/html/classes/FormSubmitSuccessfulDirective.html +9 -0
  35. package/docs/html/classes/FormSubmittingDirective.html +9 -0
  36. package/docs/html/classes/ParentControlContainerDirective.html +2 -0
  37. package/docs/html/classes/RxapFormArray.html +528 -0
  38. package/docs/html/classes/RxapFormBuilder.html +3 -0
  39. package/docs/html/classes/RxapFormControl.html +453 -0
  40. package/docs/html/classes/RxapFormGroup.html +499 -0
  41. package/docs/html/classes/RxapFormsModule.html +2 -0
  42. package/docs/html/enums/MetadataKeys.html +9 -0
  43. package/docs/html/functions/ControlAsyncValidator.html +1 -0
  44. package/docs/html/functions/ControlChange.html +1 -0
  45. package/docs/html/functions/ControlSetValue.html +1 -0
  46. package/docs/html/functions/ControlValidator.html +1 -0
  47. package/docs/html/functions/IsArray.html +1 -0
  48. package/docs/html/functions/IsBoolean.html +1 -0
  49. package/docs/html/functions/IsComplex.html +1 -0
  50. package/docs/html/functions/IsDate.html +1 -0
  51. package/docs/html/functions/IsEmail.html +1 -0
  52. package/docs/html/functions/IsEnum.html +1 -0
  53. package/docs/html/functions/IsIP.html +1 -0
  54. package/docs/html/functions/IsInt.html +1 -0
  55. package/docs/html/functions/IsNumber-1.html +2 -0
  56. package/docs/html/functions/IsObject.html +1 -0
  57. package/docs/html/functions/IsPhoneNumber.html +1 -0
  58. package/docs/html/functions/IsPort.html +1 -0
  59. package/docs/html/functions/IsString.html +1 -0
  60. package/docs/html/functions/IsUUID.html +1 -0
  61. package/docs/html/functions/IsUrl.html +1 -0
  62. package/docs/html/functions/RxapForm.html +1 -0
  63. package/docs/html/functions/ToFormMethod.html +1 -0
  64. package/docs/html/functions/ToFormSubmitMethod.html +3 -0
  65. package/docs/html/functions/ToMethodWithInjectionContext.html +1 -0
  66. package/docs/html/functions/ToMethodWithInjectionContextFactory.html +1 -0
  67. package/docs/html/functions/UseFormArrayControl.html +1 -0
  68. package/docs/html/functions/UseFormArrayGroup.html +1 -0
  69. package/docs/html/functions/UseFormControl.html +1 -0
  70. package/docs/html/functions/UseFormGroup.html +1 -0
  71. package/docs/html/functions/_IsNumber.html +1 -0
  72. package/docs/html/functions/controlDisabledWhile.html +1 -0
  73. package/docs/html/functions/controlDisabled_.html +1 -0
  74. package/docs/html/functions/controlEnabledWhile.html +1 -0
  75. package/docs/html/functions/controlEnabled_.html +1 -0
  76. package/docs/html/functions/controlErrorChanges_.html +1 -0
  77. package/docs/html/functions/controlReadonly_.html +1 -0
  78. package/docs/html/functions/controlStatusChanges_.html +1 -0
  79. package/docs/html/functions/controlValueChanges_.html +1 -0
  80. package/docs/html/functions/disableControl.html +1 -0
  81. package/docs/html/functions/enableControl.html +1 -0
  82. package/docs/html/functions/hasErrorAndDirty.html +1 -0
  83. package/docs/html/functions/hasErrorAndTouched.html +1 -0
  84. package/docs/html/functions/isNumber.html +2 -0
  85. package/docs/html/functions/markAllDirty.html +1 -0
  86. package/docs/html/functions/markAllPristine.html +1 -0
  87. package/docs/html/functions/markAllUntouched.html +1 -0
  88. package/docs/html/functions/mergeControlValidators.html +1 -0
  89. package/docs/html/functions/selectControlValue_.html +1 -0
  90. package/docs/html/functions/validateControlOn.html +1 -0
  91. package/docs/html/hierarchy.html +1 -0
  92. package/docs/html/index.html +33 -0
  93. package/docs/html/interfaces/AbstractControl.html +387 -0
  94. package/docs/html/interfaces/AbstractControlOptions.html +7 -0
  95. package/docs/html/interfaces/BoxedValue.html +3 -0
  96. package/docs/html/interfaces/ComplexityOptions.html +11 -0
  97. package/docs/html/interfaces/ControlOptions.html +20 -0
  98. package/docs/html/interfaces/ControlSetValueOptions.html +3 -0
  99. package/docs/html/interfaces/FormArrayOptions.html +16 -0
  100. package/docs/html/interfaces/FormDefinition.html +13 -0
  101. package/docs/html/interfaces/FormDefinitionArray.html +176 -0
  102. package/docs/html/interfaces/FormDefinitionMetadata.html +17 -0
  103. package/docs/html/interfaces/FormGroupOptions.html +13 -0
  104. package/docs/html/interfaces/FormLoadFailedMethod.html +3 -0
  105. package/docs/html/interfaces/FormLoadMethod.html +3 -0
  106. package/docs/html/interfaces/FormLoadSuccessfulMethod.html +3 -0
  107. package/docs/html/interfaces/FormOptions.html +13 -0
  108. package/docs/html/interfaces/FormSubmitFailedMethod.html +3 -0
  109. package/docs/html/interfaces/FormSubmitMethod.html +3 -0
  110. package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +3 -0
  111. package/docs/html/interfaces/InjectableValidator.html +3 -0
  112. package/docs/html/interfaces/IsNumberOptions.html +6 -0
  113. package/docs/html/interfaces/NgValidatorsErrors.html +8 -0
  114. package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +13 -0
  115. package/docs/html/interfaces/_RxapAbstractControlOptions.html +12 -0
  116. package/docs/html/modules.html +1 -0
  117. package/docs/html/types/AsyncValidator.html +1 -0
  118. package/docs/html/types/AsyncValidatorFn.html +1 -0
  119. package/docs/html/types/ChangeFn.html +1 -0
  120. package/docs/html/types/ControlEventOptions.html +1 -0
  121. package/docs/html/types/ControlInsertedFn.html +1 -0
  122. package/docs/html/types/ControlPath.html +1 -0
  123. package/docs/html/types/ControlRemovedFn.html +1 -0
  124. package/docs/html/types/ControlState.html +1 -0
  125. package/docs/html/types/EmitEvent.html +1 -0
  126. package/docs/html/types/ExtractAbstractControl.html +1 -0
  127. package/docs/html/types/ExtractStrings.html +1 -0
  128. package/docs/html/types/FormBuilderFn.html +1 -0
  129. package/docs/html/types/FormType.html +1 -0
  130. package/docs/html/types/KeyValueControls.html +1 -0
  131. package/docs/html/types/OnlySelf.html +1 -0
  132. package/docs/html/types/OrBoxedValue.html +1 -0
  133. package/docs/html/types/RxapAbstractControlOptions.html +1 -0
  134. package/docs/html/types/SetValueFn.html +1 -0
  135. package/docs/html/types/ValidationErrors.html +1 -0
  136. package/docs/html/types/Validator.html +1 -0
  137. package/docs/html/types/ValidatorFn.html +1 -0
  138. package/docs/html/types/ValidatorOrOpts.html +1 -0
  139. package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -0
  140. package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -0
  141. package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -0
  142. package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -0
  143. package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -0
  144. package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -0
  145. package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -0
  146. package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -0
  147. package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -0
  148. package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -0
  149. package/docs/html/variables/RxapValidators.html +1 -0
  150. package/docs/markdown/README.md +37 -0
  151. package/docs/markdown/classes/ControlValueAccessor.md +230 -0
  152. package/docs/markdown/classes/FormArrayControlManager.md +75 -0
  153. package/docs/markdown/classes/FormControlErrorDirective.md +101 -0
  154. package/docs/markdown/classes/FormControlMarkDirtyDirective.md +39 -0
  155. package/docs/markdown/classes/FormControlMarkPristineDirective.md +39 -0
  156. package/docs/markdown/classes/FormControlMarkTouchedDirective.md +39 -0
  157. package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +39 -0
  158. package/docs/markdown/classes/FormControlNameDirective.md +816 -0
  159. package/docs/markdown/classes/FormDirective.md +1596 -0
  160. package/docs/markdown/classes/FormGroupNameDirective.md +707 -0
  161. package/docs/markdown/classes/FormLoadedDirective.md +79 -0
  162. package/docs/markdown/classes/FormLoadingDirective.md +79 -0
  163. package/docs/markdown/classes/FormLoadingErrorDirective.md +79 -0
  164. package/docs/markdown/classes/FormResetDirective.md +115 -0
  165. package/docs/markdown/classes/FormSubmitDirective.md +178 -0
  166. package/docs/markdown/classes/FormSubmitFailedDirective.md +79 -0
  167. package/docs/markdown/classes/FormSubmitInvalidDirective.md +79 -0
  168. package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +79 -0
  169. package/docs/markdown/classes/FormSubmittingDirective.md +79 -0
  170. package/docs/markdown/classes/ParentControlContainerDirective.md +19 -0
  171. package/docs/markdown/classes/RxapFormArray.md +2645 -0
  172. package/docs/markdown/classes/RxapFormBuilder.md +67 -0
  173. package/docs/markdown/classes/RxapFormControl.md +2204 -0
  174. package/docs/markdown/classes/RxapFormGroup.md +3002 -0
  175. package/docs/markdown/classes/RxapFormsModule.md +19 -0
  176. package/docs/markdown/enumerations/MetadataKeys.md +73 -0
  177. package/docs/markdown/functions/ControlAsyncValidator.md +35 -0
  178. package/docs/markdown/functions/ControlChange.md +35 -0
  179. package/docs/markdown/functions/ControlSetValue.md +39 -0
  180. package/docs/markdown/functions/ControlValidator.md +35 -0
  181. package/docs/markdown/functions/IsArray.md +33 -0
  182. package/docs/markdown/functions/IsBoolean.md +33 -0
  183. package/docs/markdown/functions/IsComplex.md +37 -0
  184. package/docs/markdown/functions/IsDate.md +33 -0
  185. package/docs/markdown/functions/IsEmail.md +37 -0
  186. package/docs/markdown/functions/IsEnum.md +37 -0
  187. package/docs/markdown/functions/IsIP.md +37 -0
  188. package/docs/markdown/functions/IsInt.md +37 -0
  189. package/docs/markdown/functions/IsNumber-2.md +25 -0
  190. package/docs/markdown/functions/IsNumber.md +37 -0
  191. package/docs/markdown/functions/IsObject.md +33 -0
  192. package/docs/markdown/functions/IsPhoneNumber.md +41 -0
  193. package/docs/markdown/functions/IsPort.md +33 -0
  194. package/docs/markdown/functions/IsString.md +33 -0
  195. package/docs/markdown/functions/IsUUID.md +37 -0
  196. package/docs/markdown/functions/IsUrl.md +37 -0
  197. package/docs/markdown/functions/RxapForm.md +39 -0
  198. package/docs/markdown/functions/ToFormMethod.md +31 -0
  199. package/docs/markdown/functions/ToFormSubmitMethod.md +31 -0
  200. package/docs/markdown/functions/ToMethodWithInjectionContext.md +37 -0
  201. package/docs/markdown/functions/ToMethodWithInjectionContextFactory.md +43 -0
  202. package/docs/markdown/functions/UseFormArrayControl.md +35 -0
  203. package/docs/markdown/functions/UseFormArrayGroup.md +39 -0
  204. package/docs/markdown/functions/UseFormControl.md +35 -0
  205. package/docs/markdown/functions/UseFormGroup.md +39 -0
  206. package/docs/markdown/functions/controlDisabled$.md +25 -0
  207. package/docs/markdown/functions/controlDisabledWhile.md +33 -0
  208. package/docs/markdown/functions/controlEnabled$.md +25 -0
  209. package/docs/markdown/functions/controlEnabledWhile.md +33 -0
  210. package/docs/markdown/functions/controlErrorChanges$.md +25 -0
  211. package/docs/markdown/functions/controlReadonly$.md +25 -0
  212. package/docs/markdown/functions/controlStatusChanges$.md +25 -0
  213. package/docs/markdown/functions/controlValueChanges$.md +25 -0
  214. package/docs/markdown/functions/disableControl.md +33 -0
  215. package/docs/markdown/functions/enableControl.md +33 -0
  216. package/docs/markdown/functions/hasErrorAndDirty.md +33 -0
  217. package/docs/markdown/functions/hasErrorAndTouched.md +33 -0
  218. package/docs/markdown/functions/isNumber-1.md +27 -0
  219. package/docs/markdown/functions/markAllDirty.md +25 -0
  220. package/docs/markdown/functions/markAllPristine.md +25 -0
  221. package/docs/markdown/functions/markAllUntouched.md +25 -0
  222. package/docs/markdown/functions/mergeControlValidators.md +31 -0
  223. package/docs/markdown/functions/selectControlValue$.md +31 -0
  224. package/docs/markdown/functions/validateControlOn.md +29 -0
  225. package/docs/markdown/globals.md +153 -0
  226. package/docs/markdown/interfaces/AbstractControl.md +1691 -0
  227. package/docs/markdown/interfaces/AbstractControlOptions.md +67 -0
  228. package/docs/markdown/interfaces/BoxedValue.md +29 -0
  229. package/docs/markdown/interfaces/ComplexityOptions.md +89 -0
  230. package/docs/markdown/interfaces/ControlOptions.md +85 -0
  231. package/docs/markdown/interfaces/ControlSetValueOptions.md +25 -0
  232. package/docs/markdown/interfaces/FormArrayOptions.md +157 -0
  233. package/docs/markdown/interfaces/FormDefinition.md +80 -0
  234. package/docs/markdown/interfaces/FormDefinitionArray.md +1443 -0
  235. package/docs/markdown/interfaces/FormDefinitionMetadata.md +156 -0
  236. package/docs/markdown/interfaces/FormGroupOptions.md +133 -0
  237. package/docs/markdown/interfaces/FormLoadFailedMethod.md +47 -0
  238. package/docs/markdown/interfaces/FormLoadMethod.md +45 -0
  239. package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +51 -0
  240. package/docs/markdown/interfaces/FormOptions.md +137 -0
  241. package/docs/markdown/interfaces/FormSubmitFailedMethod.md +47 -0
  242. package/docs/markdown/interfaces/FormSubmitMethod.md +55 -0
  243. package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +51 -0
  244. package/docs/markdown/interfaces/InjectableValidator.md +25 -0
  245. package/docs/markdown/interfaces/IsNumberOptions.md +43 -0
  246. package/docs/markdown/interfaces/NgValidatorsErrors.md +105 -0
  247. package/docs/markdown/interfaces/RxapAbstractControlOptions.md +103 -0
  248. package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +133 -0
  249. package/docs/markdown/type-aliases/AsyncValidator.md +11 -0
  250. package/docs/markdown/type-aliases/AsyncValidatorFn.md +27 -0
  251. package/docs/markdown/type-aliases/ChangeFn.md +29 -0
  252. package/docs/markdown/type-aliases/ControlEventOptions.md +11 -0
  253. package/docs/markdown/type-aliases/ControlInsertedFn.md +25 -0
  254. package/docs/markdown/type-aliases/ControlPath.md +11 -0
  255. package/docs/markdown/type-aliases/ControlRemovedFn.md +21 -0
  256. package/docs/markdown/type-aliases/ControlState.md +11 -0
  257. package/docs/markdown/type-aliases/EmitEvent.md +11 -0
  258. package/docs/markdown/type-aliases/ExtractAbstractControl.md +17 -0
  259. package/docs/markdown/type-aliases/ExtractStrings.md +15 -0
  260. package/docs/markdown/type-aliases/FormBuilderFn.md +33 -0
  261. package/docs/markdown/type-aliases/FormType.md +15 -0
  262. package/docs/markdown/type-aliases/KeyValueControls.md +15 -0
  263. package/docs/markdown/type-aliases/OnlySelf.md +11 -0
  264. package/docs/markdown/type-aliases/OrBoxedValue.md +15 -0
  265. package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +15 -0
  266. package/docs/markdown/type-aliases/SetValueFn.md +29 -0
  267. package/docs/markdown/type-aliases/ValidationErrors.md +15 -0
  268. package/docs/markdown/type-aliases/Validator.md +11 -0
  269. package/docs/markdown/type-aliases/ValidatorFn.md +27 -0
  270. package/docs/markdown/type-aliases/ValidatorOrOpts.md +11 -0
  271. package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +11 -0
  272. package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +11 -0
  273. package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +11 -0
  274. package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +11 -0
  275. package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +11 -0
  276. package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +11 -0
  277. package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +11 -0
  278. package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +11 -0
  279. package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +11 -0
  280. package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +11 -0
  281. package/docs/markdown/variables/RxapValidators.md +443 -0
  282. package/docs/wiki/Class.ControlValueAccessor.md +226 -0
  283. package/docs/wiki/Class.FormArrayControlManager.md +71 -0
  284. package/docs/wiki/Class.FormControlErrorDirective.md +97 -0
  285. package/docs/wiki/Class.FormControlMarkDirtyDirective.md +35 -0
  286. package/docs/wiki/Class.FormControlMarkPristineDirective.md +35 -0
  287. package/docs/wiki/Class.FormControlMarkTouchedDirective.md +35 -0
  288. package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +35 -0
  289. package/docs/wiki/Class.FormControlNameDirective.md +812 -0
  290. package/docs/wiki/Class.FormDirective.md +1592 -0
  291. package/docs/wiki/Class.FormGroupNameDirective.md +703 -0
  292. package/docs/wiki/Class.FormLoadedDirective.md +75 -0
  293. package/docs/wiki/Class.FormLoadingDirective.md +75 -0
  294. package/docs/wiki/Class.FormLoadingErrorDirective.md +75 -0
  295. package/docs/wiki/Class.FormResetDirective.md +111 -0
  296. package/docs/wiki/Class.FormSubmitDirective.md +174 -0
  297. package/docs/wiki/Class.FormSubmitFailedDirective.md +75 -0
  298. package/docs/wiki/Class.FormSubmitInvalidDirective.md +75 -0
  299. package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +75 -0
  300. package/docs/wiki/Class.FormSubmittingDirective.md +75 -0
  301. package/docs/wiki/Class.ParentControlContainerDirective.md +15 -0
  302. package/docs/wiki/Class.RxapFormArray.md +2641 -0
  303. package/docs/wiki/Class.RxapFormBuilder.md +63 -0
  304. package/docs/wiki/Class.RxapFormControl.md +2200 -0
  305. package/docs/wiki/Class.RxapFormGroup.md +2998 -0
  306. package/docs/wiki/Class.RxapFormsModule.md +15 -0
  307. package/docs/wiki/Enumeration.MetadataKeys.md +69 -0
  308. package/docs/wiki/Function.ControlAsyncValidator.md +31 -0
  309. package/docs/wiki/Function.ControlChange.md +31 -0
  310. package/docs/wiki/Function.ControlSetValue.md +35 -0
  311. package/docs/wiki/Function.ControlValidator.md +31 -0
  312. package/docs/wiki/Function.IsArray.md +29 -0
  313. package/docs/wiki/Function.IsBoolean.md +29 -0
  314. package/docs/wiki/Function.IsComplex.md +33 -0
  315. package/docs/wiki/Function.IsDate.md +29 -0
  316. package/docs/wiki/Function.IsEmail.md +33 -0
  317. package/docs/wiki/Function.IsEnum.md +33 -0
  318. package/docs/wiki/Function.IsIP.md +33 -0
  319. package/docs/wiki/Function.IsInt.md +33 -0
  320. package/docs/wiki/Function.IsNumber.md +21 -0
  321. package/docs/wiki/Function.IsObject.md +29 -0
  322. package/docs/wiki/Function.IsPhoneNumber.md +37 -0
  323. package/docs/wiki/Function.IsPort.md +29 -0
  324. package/docs/wiki/Function.IsString.md +29 -0
  325. package/docs/wiki/Function.IsUUID.md +33 -0
  326. package/docs/wiki/Function.IsUrl.md +33 -0
  327. package/docs/wiki/Function.RxapForm.md +35 -0
  328. package/docs/wiki/Function.ToFormMethod.md +27 -0
  329. package/docs/wiki/Function.ToFormSubmitMethod.md +27 -0
  330. package/docs/wiki/Function.ToMethodWithInjectionContext.md +33 -0
  331. package/docs/wiki/Function.ToMethodWithInjectionContextFactory.md +39 -0
  332. package/docs/wiki/Function.UseFormArrayControl.md +31 -0
  333. package/docs/wiki/Function.UseFormArrayGroup.md +35 -0
  334. package/docs/wiki/Function.UseFormControl.md +31 -0
  335. package/docs/wiki/Function.UseFormGroup.md +35 -0
  336. package/docs/wiki/Function._IsNumber.md +33 -0
  337. package/docs/wiki/Function.controlDisabled$.md +21 -0
  338. package/docs/wiki/Function.controlDisabledWhile.md +29 -0
  339. package/docs/wiki/Function.controlEnabled$.md +21 -0
  340. package/docs/wiki/Function.controlEnabledWhile.md +29 -0
  341. package/docs/wiki/Function.controlErrorChanges$.md +21 -0
  342. package/docs/wiki/Function.controlReadonly$.md +21 -0
  343. package/docs/wiki/Function.controlStatusChanges$.md +21 -0
  344. package/docs/wiki/Function.controlValueChanges$.md +21 -0
  345. package/docs/wiki/Function.disableControl.md +29 -0
  346. package/docs/wiki/Function.enableControl.md +29 -0
  347. package/docs/wiki/Function.hasErrorAndDirty.md +29 -0
  348. package/docs/wiki/Function.hasErrorAndTouched.md +29 -0
  349. package/docs/wiki/Function.isNumber.md +23 -0
  350. package/docs/wiki/Function.markAllDirty.md +21 -0
  351. package/docs/wiki/Function.markAllPristine.md +21 -0
  352. package/docs/wiki/Function.markAllUntouched.md +21 -0
  353. package/docs/wiki/Function.mergeControlValidators.md +27 -0
  354. package/docs/wiki/Function.selectControlValue$.md +27 -0
  355. package/docs/wiki/Function.validateControlOn.md +25 -0
  356. package/docs/wiki/Home.md +33 -0
  357. package/docs/wiki/Interface.AbstractControl.md +1687 -0
  358. package/docs/wiki/Interface.AbstractControlOptions.md +63 -0
  359. package/docs/wiki/Interface.BoxedValue.md +25 -0
  360. package/docs/wiki/Interface.ComplexityOptions.md +85 -0
  361. package/docs/wiki/Interface.ControlOptions.md +81 -0
  362. package/docs/wiki/Interface.ControlSetValueOptions.md +21 -0
  363. package/docs/wiki/Interface.FormArrayOptions.md +153 -0
  364. package/docs/wiki/Interface.FormDefinition.md +76 -0
  365. package/docs/wiki/Interface.FormDefinitionArray.md +1439 -0
  366. package/docs/wiki/Interface.FormDefinitionMetadata.md +152 -0
  367. package/docs/wiki/Interface.FormGroupOptions.md +129 -0
  368. package/docs/wiki/Interface.FormLoadFailedMethod.md +43 -0
  369. package/docs/wiki/Interface.FormLoadMethod.md +41 -0
  370. package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +47 -0
  371. package/docs/wiki/Interface.FormOptions.md +133 -0
  372. package/docs/wiki/Interface.FormSubmitFailedMethod.md +43 -0
  373. package/docs/wiki/Interface.FormSubmitMethod.md +51 -0
  374. package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +47 -0
  375. package/docs/wiki/Interface.InjectableValidator.md +21 -0
  376. package/docs/wiki/Interface.IsNumberOptions.md +39 -0
  377. package/docs/wiki/Interface.NgValidatorsErrors.md +101 -0
  378. package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +129 -0
  379. package/docs/wiki/Interface._RxapAbstractControlOptions.md +99 -0
  380. package/docs/wiki/TypeAlias.AsyncValidator.md +7 -0
  381. package/docs/wiki/TypeAlias.AsyncValidatorFn.md +23 -0
  382. package/docs/wiki/TypeAlias.ChangeFn.md +25 -0
  383. package/docs/wiki/TypeAlias.ControlEventOptions.md +7 -0
  384. package/docs/wiki/TypeAlias.ControlInsertedFn.md +21 -0
  385. package/docs/wiki/TypeAlias.ControlPath.md +7 -0
  386. package/docs/wiki/TypeAlias.ControlRemovedFn.md +17 -0
  387. package/docs/wiki/TypeAlias.ControlState.md +7 -0
  388. package/docs/wiki/TypeAlias.EmitEvent.md +7 -0
  389. package/docs/wiki/TypeAlias.ExtractAbstractControl.md +13 -0
  390. package/docs/wiki/TypeAlias.ExtractStrings.md +11 -0
  391. package/docs/wiki/TypeAlias.FormBuilderFn.md +29 -0
  392. package/docs/wiki/TypeAlias.FormType.md +11 -0
  393. package/docs/wiki/TypeAlias.KeyValueControls.md +11 -0
  394. package/docs/wiki/TypeAlias.OnlySelf.md +7 -0
  395. package/docs/wiki/TypeAlias.OrBoxedValue.md +11 -0
  396. package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +11 -0
  397. package/docs/wiki/TypeAlias.SetValueFn.md +25 -0
  398. package/docs/wiki/TypeAlias.ValidationErrors.md +11 -0
  399. package/docs/wiki/TypeAlias.Validator.md +7 -0
  400. package/docs/wiki/TypeAlias.ValidatorFn.md +23 -0
  401. package/docs/wiki/TypeAlias.ValidatorOrOpts.md +7 -0
  402. package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +7 -0
  403. package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +7 -0
  404. package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +7 -0
  405. package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +7 -0
  406. package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +7 -0
  407. package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +7 -0
  408. package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +7 -0
  409. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +7 -0
  410. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +7 -0
  411. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +7 -0
  412. package/docs/wiki/Variable.RxapValidators.md +439 -0
  413. package/docs/wiki/_Sidebar.md +149 -0
  414. package/docs/wiki/globals.md +149 -0
  415. package/package.json +21 -19
  416. package/docs/assets/icons.js +0 -15
  417. package/docs/assets/icons.svg +0 -1
  418. package/docs/assets/navigation.js +0 -1
  419. package/docs/assets/search.js +0 -1
  420. package/docs/assets/style.css +0 -1412
  421. package/docs/classes/ControlValueAccessor.html +0 -8
  422. package/docs/classes/FormArrayControlManager.html +0 -6
  423. package/docs/classes/FormControlErrorDirective.html +0 -11
  424. package/docs/classes/FormControlMarkDirtyDirective.html +0 -4
  425. package/docs/classes/FormControlMarkPristineDirective.html +0 -4
  426. package/docs/classes/FormControlMarkTouchedDirective.html +0 -4
  427. package/docs/classes/FormControlMarkUntouchedDirective.html +0 -4
  428. package/docs/classes/FormControlNameDirective.html +0 -113
  429. package/docs/classes/FormDirective.html +0 -188
  430. package/docs/classes/FormGroupNameDirective.html +0 -101
  431. package/docs/classes/FormLoadedDirective.html +0 -8
  432. package/docs/classes/FormLoadingDirective.html +0 -8
  433. package/docs/classes/FormLoadingErrorDirective.html +0 -8
  434. package/docs/classes/FormResetDirective.html +0 -8
  435. package/docs/classes/FormSubmitDirective.html +0 -15
  436. package/docs/classes/FormSubmitFailedDirective.html +0 -8
  437. package/docs/classes/FormSubmitInvalidDirective.html +0 -8
  438. package/docs/classes/FormSubmitSuccessfulDirective.html +0 -8
  439. package/docs/classes/FormSubmittingDirective.html +0 -8
  440. package/docs/classes/ParentControlContainerDirective.html +0 -2
  441. package/docs/classes/RxapFormArray.html +0 -425
  442. package/docs/classes/RxapFormBuilder.html +0 -65
  443. package/docs/classes/RxapFormControl.html +0 -264
  444. package/docs/classes/RxapFormGroup.html +0 -260
  445. package/docs/classes/RxapFormsModule.html +0 -2
  446. package/docs/enums/MetadataKeys.html +0 -9
  447. package/docs/functions/ControlAsyncValidator.html +0 -1
  448. package/docs/functions/ControlChange.html +0 -1
  449. package/docs/functions/ControlSetValue.html +0 -1
  450. package/docs/functions/ControlValidator.html +0 -1
  451. package/docs/functions/IsArray.html +0 -1
  452. package/docs/functions/IsBoolean.html +0 -1
  453. package/docs/functions/IsComplex.html +0 -1
  454. package/docs/functions/IsDate.html +0 -1
  455. package/docs/functions/IsEmail.html +0 -1
  456. package/docs/functions/IsEnum.html +0 -1
  457. package/docs/functions/IsIP.html +0 -1
  458. package/docs/functions/IsInt.html +0 -1
  459. package/docs/functions/IsNumber.html +0 -2
  460. package/docs/functions/IsObject.html +0 -1
  461. package/docs/functions/IsPhoneNumber.html +0 -1
  462. package/docs/functions/IsPort.html +0 -1
  463. package/docs/functions/IsString.html +0 -1
  464. package/docs/functions/IsUUID.html +0 -1
  465. package/docs/functions/IsUrl.html +0 -1
  466. package/docs/functions/RxapForm.html +0 -1
  467. package/docs/functions/ToFormMethod.html +0 -1
  468. package/docs/functions/ToFormSubmitMethod.html +0 -3
  469. package/docs/functions/ToMethodWithInjectionContext.html +0 -1
  470. package/docs/functions/ToMethodWithInjectionContextFactory.html +0 -1
  471. package/docs/functions/UseFormArrayControl.html +0 -1
  472. package/docs/functions/UseFormArrayGroup.html +0 -1
  473. package/docs/functions/UseFormControl.html +0 -1
  474. package/docs/functions/UseFormGroup.html +0 -1
  475. package/docs/functions/_IsNumber.html +0 -1
  476. package/docs/functions/controlDisabledWhile.html +0 -1
  477. package/docs/functions/controlDisabled_.html +0 -1
  478. package/docs/functions/controlEnabledWhile.html +0 -1
  479. package/docs/functions/controlEnabled_.html +0 -1
  480. package/docs/functions/controlErrorChanges_.html +0 -1
  481. package/docs/functions/controlReadonly_.html +0 -1
  482. package/docs/functions/controlStatusChanges_.html +0 -1
  483. package/docs/functions/controlValueChanges_.html +0 -1
  484. package/docs/functions/disableControl.html +0 -1
  485. package/docs/functions/enableControl.html +0 -1
  486. package/docs/functions/hasErrorAndDirty.html +0 -1
  487. package/docs/functions/hasErrorAndTouched.html +0 -1
  488. package/docs/functions/isNumber-1.html +0 -2
  489. package/docs/functions/markAllDirty.html +0 -1
  490. package/docs/functions/markAllPristine.html +0 -1
  491. package/docs/functions/markAllUntouched.html +0 -1
  492. package/docs/functions/mergeControlValidators.html +0 -1
  493. package/docs/functions/selectControlValue_.html +0 -1
  494. package/docs/functions/validateControlOn.html +0 -1
  495. package/docs/hierarchy.html +0 -1
  496. package/docs/index.html +0 -25
  497. package/docs/interfaces/AbstractControl.html +0 -373
  498. package/docs/interfaces/AbstractControlOptions.html +0 -5
  499. package/docs/interfaces/BoxedValue.html +0 -3
  500. package/docs/interfaces/ComplexityOptions.html +0 -11
  501. package/docs/interfaces/ControlOptions.html +0 -20
  502. package/docs/interfaces/ControlSetValueOptions.html +0 -3
  503. package/docs/interfaces/FormArrayOptions.html +0 -16
  504. package/docs/interfaces/FormDefinition.html +0 -13
  505. package/docs/interfaces/FormDefinitionArray.html +0 -175
  506. package/docs/interfaces/FormDefinitionMetadata.html +0 -17
  507. package/docs/interfaces/FormGroupOptions.html +0 -13
  508. package/docs/interfaces/FormLoadFailedMethod.html +0 -3
  509. package/docs/interfaces/FormLoadMethod.html +0 -3
  510. package/docs/interfaces/FormLoadSuccessfulMethod.html +0 -3
  511. package/docs/interfaces/FormOptions.html +0 -13
  512. package/docs/interfaces/FormSubmitFailedMethod.html +0 -3
  513. package/docs/interfaces/FormSubmitMethod.html +0 -3
  514. package/docs/interfaces/FormSubmitSuccessfulMethod.html +0 -3
  515. package/docs/interfaces/InjectableValidator.html +0 -3
  516. package/docs/interfaces/IsNumberOptions.html +0 -6
  517. package/docs/interfaces/NgValidatorsErrors.html +0 -8
  518. package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +0 -13
  519. package/docs/interfaces/_RxapAbstractControlOptions.html +0 -12
  520. package/docs/modules.html +0 -131
  521. package/docs/types/AsyncValidator.html +0 -1
  522. package/docs/types/AsyncValidatorFn.html +0 -1
  523. package/docs/types/ChangeFn.html +0 -1
  524. package/docs/types/ControlEventOptions.html +0 -1
  525. package/docs/types/ControlInsertedFn.html +0 -1
  526. package/docs/types/ControlPath.html +0 -1
  527. package/docs/types/ControlRemovedFn.html +0 -1
  528. package/docs/types/ControlState.html +0 -1
  529. package/docs/types/EmitEvent.html +0 -1
  530. package/docs/types/ExtractAbstractControl.html +0 -1
  531. package/docs/types/ExtractStrings.html +0 -1
  532. package/docs/types/FormBuilderFn.html +0 -1
  533. package/docs/types/FormType.html +0 -1
  534. package/docs/types/KeyValueControls.html +0 -1
  535. package/docs/types/OnlySelf.html +0 -1
  536. package/docs/types/OrBoxedValue.html +0 -1
  537. package/docs/types/RxapAbstractControlOptions.html +0 -1
  538. package/docs/types/SetValueFn.html +0 -1
  539. package/docs/types/ValidationErrors.html +0 -1
  540. package/docs/types/Validator.html +0 -1
  541. package/docs/types/ValidatorFn.html +0 -1
  542. package/docs/types/ValidatorOrOpts.html +0 -1
  543. package/docs/variables/RXAP_FORM_CONTEXT.html +0 -1
  544. package/docs/variables/RXAP_FORM_DEFINITION.html +0 -1
  545. package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +0 -1
  546. package/docs/variables/RXAP_FORM_INITIAL_STATE.html +0 -1
  547. package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +0 -1
  548. package/docs/variables/RXAP_FORM_LOAD_METHOD.html +0 -1
  549. package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +0 -1
  550. package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +0 -1
  551. package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +0 -1
  552. package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +0 -1
  553. package/docs/variables/RxapValidators.html +0 -1
  554. /package/docs/{.nojekyll → html/.nojekyll} +0 -0
@@ -0,0 +1,2200 @@
1
+ [@rxap/forms](../wiki/globals) / RxapFormControl
2
+
3
+ # Class: RxapFormControl\<T, E, Parent\>
4
+
5
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L44)
6
+
7
+ ## Extends
8
+
9
+ - `UntypedFormControl`
10
+
11
+ ## Type Parameters
12
+
13
+ • **T** = `any`
14
+
15
+ • **E** *extends* `object` = `any`
16
+
17
+ • **Parent** *extends* `object` = `any`
18
+
19
+ ## Constructors
20
+
21
+ ### new RxapFormControl()
22
+
23
+ > **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](../wiki/Class.RxapFormControl)\<`T`, `E`, `Parent`\>
24
+
25
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L126)
26
+
27
+ #### Parameters
28
+
29
+ ##### formState
30
+
31
+ [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
32
+
33
+ ##### options
34
+
35
+ [`_RxapAbstractControlOptions`](../wiki/Interface._RxapAbstractControlOptions) & `Record`\<`string`, `any`\> & `object`
36
+
37
+ #### Returns
38
+
39
+ [`RxapFormControl`](../wiki/Class.RxapFormControl)\<`T`, `E`, `Parent`\>
40
+
41
+ #### Overrides
42
+
43
+ `UntypedFormControl.constructor`
44
+
45
+ ## Properties
46
+
47
+ ### controlId
48
+
49
+ > `readonly` **controlId**: `string`
50
+
51
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L95)
52
+
53
+ ***
54
+
55
+ ### defaultValue
56
+
57
+ > `readonly` **defaultValue**: `any`
58
+
59
+ Defined in: node\_modules/@angular/forms/index.d.ts:2199
60
+
61
+ The default value of this FormControl, used whenever the control is reset without an explicit
62
+ value. See FormControlOptions#nonNullable for more information on configuring
63
+ a default value.
64
+
65
+ #### Inherited from
66
+
67
+ `UntypedFormControl.defaultValue`
68
+
69
+ ***
70
+
71
+ ### dirty$
72
+
73
+ > `readonly` **dirty$**: `Observable`\<`boolean`\>
74
+
75
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L75)
76
+
77
+ ***
78
+
79
+ ### disabled$
80
+
81
+ > `readonly` **disabled$**: `Observable`\<`boolean`\>
82
+
83
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L80)
84
+
85
+ ***
86
+
87
+ ### enabled$
88
+
89
+ > `readonly` **enabled$**: `Observable`\<`boolean`\>
90
+
91
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L81)
92
+
93
+ ***
94
+
95
+ ### errors
96
+
97
+ > `readonly` **errors**: `null` \| `E`
98
+
99
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L59)
100
+
101
+ An object containing any errors generated by failing validation,
102
+ or null if there are no errors.
103
+
104
+ #### Overrides
105
+
106
+ `UntypedFormControl.errors`
107
+
108
+ ***
109
+
110
+ ### errors$
111
+
112
+ > `readonly` **errors$**: `Observable`\<`null` \| `E`\>
113
+
114
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L93)
115
+
116
+ ***
117
+
118
+ ### events
119
+
120
+ > `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
121
+
122
+ Defined in: node\_modules/@angular/forms/index.d.ts:196
123
+
124
+ A multicasting observable that emits an event every time the state of the control changes.
125
+ It emits for value, status, pristine or touched changes.
126
+
127
+ **Note**: On value change, the emit happens right after a value of this control is updated. The
128
+ value of a parent control (for example if this FormControl is a part of a FormGroup) is updated
129
+ later, so accessing a value of a parent control (using the `value` property) from the callback
130
+ of this event might result in getting a value that has not been updated yet. Subscribe to the
131
+ `events` of the parent control instead.
132
+ For other event types, the events are emitted after the parent control has been updated.
133
+
134
+ #### Inherited from
135
+
136
+ `UntypedFormControl.events`
137
+
138
+ ***
139
+
140
+ ### initialState
141
+
142
+ > `readonly` **initialState**: [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
143
+
144
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L66)
145
+
146
+ ***
147
+
148
+ ### readonly$
149
+
150
+ > `readonly` **readonly$**: `Observable`\<`boolean`\>
151
+
152
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L100)
153
+
154
+ ***
155
+
156
+ ### stateChanges
157
+
158
+ > `readonly` **stateChanges**: `Subject`\<`void`\>
159
+
160
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L99)
161
+
162
+ ***
163
+
164
+ ### status
165
+
166
+ > `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
167
+
168
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L64)
169
+
170
+ The validation status of the control.
171
+
172
+ #### See
173
+
174
+ FormControlStatus
175
+
176
+ These status values are mutually exclusive, so a control cannot be
177
+ both valid AND invalid or invalid AND disabled.
178
+
179
+ #### Overrides
180
+
181
+ `UntypedFormControl.status`
182
+
183
+ ***
184
+
185
+ ### status$
186
+
187
+ > `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
188
+
189
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L92)
190
+
191
+ ***
192
+
193
+ ### statusChanges
194
+
195
+ > `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
196
+
197
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L65)
198
+
199
+ A multicasting observable that emits an event every time the validation `status` of the control
200
+ recalculates.
201
+
202
+ #### See
203
+
204
+ - FormControlStatus
205
+ - [AbstractControl.status](../wiki/Interface.AbstractControl#status)
206
+
207
+ TODO: this should be piped from events() but is breaking in G3
208
+
209
+ #### Overrides
210
+
211
+ `UntypedFormControl.statusChanges`
212
+
213
+ ***
214
+
215
+ ### touch$
216
+
217
+ > `readonly` **touch$**: `Observable`\<`boolean`\>
218
+
219
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L72)
220
+
221
+ ***
222
+
223
+ ### value
224
+
225
+ > `readonly` **value**: `T`
226
+
227
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L58)
228
+
229
+ The current value of the control.
230
+
231
+ * For a `FormControl`, the current value.
232
+ * For an enabled `FormGroup`, the values of enabled controls as an object
233
+ with a key-value pair for each member of the group.
234
+ * For a disabled `FormGroup`, the values of all controls as an object
235
+ with a key-value pair for each member of the group.
236
+ * For a `FormArray`, the values of enabled controls as an array.
237
+
238
+ #### Overrides
239
+
240
+ `UntypedFormControl.value`
241
+
242
+ ***
243
+
244
+ ### value$
245
+
246
+ > `readonly` **value$**: `Observable`\<`T`\>
247
+
248
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L79)
249
+
250
+ ***
251
+
252
+ ### valueChanges
253
+
254
+ > `readonly` **valueChanges**: `Observable`\<`T`\>
255
+
256
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L62)
257
+
258
+ A multicasting observable that emits an event every time the value of the control changes, in
259
+ the UI or programmatically. It also emits an event each time you call enable() or disable()
260
+ without passing along {emitEvent: false} as a function argument.
261
+
262
+ **Note**: the emit happens right after a value of this control is updated. The value of a
263
+ parent control (for example if this FormControl is a part of a FormGroup) is updated later, so
264
+ accessing a value of a parent control (using the `value` property) from the callback of this
265
+ event might result in getting a value that has not been updated yet. Subscribe to the
266
+ `valueChanges` event of the parent control instead.
267
+
268
+ TODO: this should be piped from events() but is breaking in G3
269
+
270
+ #### Overrides
271
+
272
+ `UntypedFormControl.valueChanges`
273
+
274
+ ## Accessors
275
+
276
+ ### asyncValidator
277
+
278
+ #### Get Signature
279
+
280
+ > **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
281
+
282
+ Defined in: node\_modules/@angular/forms/index.d.ts:79
283
+
284
+ Returns the function that is used to determine the validity of this control asynchronously.
285
+ If multiple validators have been added, this will be a single composed function.
286
+ See `Validators.compose()` for additional information.
287
+
288
+ ##### Returns
289
+
290
+ `null` \| `AsyncValidatorFn`
291
+
292
+ #### Set Signature
293
+
294
+ > **set** **asyncValidator**(`asyncValidatorFn`): `void`
295
+
296
+ Defined in: node\_modules/@angular/forms/index.d.ts:80
297
+
298
+ ##### Parameters
299
+
300
+ ###### asyncValidatorFn
301
+
302
+ `null` | `AsyncValidatorFn`
303
+
304
+ ##### Returns
305
+
306
+ `void`
307
+
308
+ #### Inherited from
309
+
310
+ `UntypedFormControl.asyncValidator`
311
+
312
+ ***
313
+
314
+ ### controlPath
315
+
316
+ #### Get Signature
317
+
318
+ > **get** **controlPath**(): `string`
319
+
320
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L102)
321
+
322
+ ##### Returns
323
+
324
+ `string`
325
+
326
+ ***
327
+
328
+ ### dirty
329
+
330
+ #### Get Signature
331
+
332
+ > **get** **dirty**(): `boolean`
333
+
334
+ Defined in: node\_modules/@angular/forms/index.d.ts:167
335
+
336
+ A control is `dirty` if the user has changed the value
337
+ in the UI.
338
+
339
+ ##### Returns
340
+
341
+ `boolean`
342
+
343
+ True if the user has changed the value of this control in the UI; compare `pristine`.
344
+ Programmatic changes to a control's value do not mark it dirty.
345
+
346
+ #### Inherited from
347
+
348
+ `UntypedFormControl.dirty`
349
+
350
+ ***
351
+
352
+ ### disabled
353
+
354
+ #### Get Signature
355
+
356
+ > **get** **disabled**(): `boolean`
357
+
358
+ Defined in: node\_modules/@angular/forms/index.d.ts:134
359
+
360
+ A control is `disabled` when its `status` is `DISABLED`.
361
+
362
+ Disabled controls are exempt from validation checks and
363
+ are not included in the aggregate value of their ancestor
364
+ controls.
365
+
366
+ ##### See
367
+
368
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
369
+
370
+ ##### Returns
371
+
372
+ `boolean`
373
+
374
+ True if the control is disabled, false otherwise.
375
+
376
+ #### Inherited from
377
+
378
+ `UntypedFormControl.disabled`
379
+
380
+ ***
381
+
382
+ ### enabled
383
+
384
+ #### Get Signature
385
+
386
+ > **get** **enabled**(): `boolean`
387
+
388
+ Defined in: node\_modules/@angular/forms/index.d.ts:144
389
+
390
+ A control is `enabled` as long as its `status` is not `DISABLED`.
391
+
392
+ ##### See
393
+
394
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
395
+
396
+ ##### Returns
397
+
398
+ `boolean`
399
+
400
+ True if the control has any status other than 'DISABLED',
401
+ false if the status is 'DISABLED'.
402
+
403
+ #### Inherited from
404
+
405
+ `UntypedFormControl.enabled`
406
+
407
+ ***
408
+
409
+ ### fullControlPath
410
+
411
+ #### Get Signature
412
+
413
+ > **get** **fullControlPath**(): `string`
414
+
415
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L116)
416
+
417
+ ##### Returns
418
+
419
+ `string`
420
+
421
+ ***
422
+
423
+ ### invalid
424
+
425
+ #### Get Signature
426
+
427
+ > **get** **invalid**(): `boolean`
428
+
429
+ Defined in: node\_modules/@angular/forms/index.d.ts:113
430
+
431
+ A control is `invalid` when its `status` is `INVALID`.
432
+
433
+ ##### See
434
+
435
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
436
+
437
+ ##### Returns
438
+
439
+ `boolean`
440
+
441
+ True if this control has failed one or more of its validation checks,
442
+ false otherwise.
443
+
444
+ #### Inherited from
445
+
446
+ `UntypedFormControl.invalid`
447
+
448
+ ***
449
+
450
+ ### parent
451
+
452
+ #### Get Signature
453
+
454
+ > **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
455
+
456
+ Defined in: node\_modules/@angular/forms/index.d.ts:84
457
+
458
+ The parent control.
459
+
460
+ ##### Returns
461
+
462
+ `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
463
+
464
+ #### Inherited from
465
+
466
+ `UntypedFormControl.parent`
467
+
468
+ ***
469
+
470
+ ### pending
471
+
472
+ #### Get Signature
473
+
474
+ > **get** **pending**(): `boolean`
475
+
476
+ Defined in: node\_modules/@angular/forms/index.d.ts:122
477
+
478
+ A control is `pending` when its `status` is `PENDING`.
479
+
480
+ ##### See
481
+
482
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
483
+
484
+ ##### Returns
485
+
486
+ `boolean`
487
+
488
+ True if this control is in the process of conducting a validation check,
489
+ false otherwise.
490
+
491
+ #### Inherited from
492
+
493
+ `UntypedFormControl.pending`
494
+
495
+ ***
496
+
497
+ ### pristine
498
+
499
+ #### Get Signature
500
+
501
+ > **get** **pristine**(): `boolean`
502
+
503
+ Defined in: node\_modules/@angular/forms/index.d.ts:157
504
+
505
+ A control is `pristine` if the user has not yet changed
506
+ the value in the UI.
507
+
508
+ ##### Returns
509
+
510
+ `boolean`
511
+
512
+ True if the user has not yet changed the value in the UI; compare `dirty`.
513
+ Programmatic changes to a control's value do not mark it dirty.
514
+
515
+ #### Set Signature
516
+
517
+ > **set** **pristine**(`value`): `void`
518
+
519
+ Defined in: node\_modules/@angular/forms/index.d.ts:158
520
+
521
+ ##### Parameters
522
+
523
+ ###### value
524
+
525
+ `boolean`
526
+
527
+ ##### Returns
528
+
529
+ `void`
530
+
531
+ #### Inherited from
532
+
533
+ `UntypedFormControl.pristine`
534
+
535
+ ***
536
+
537
+ ### readonly
538
+
539
+ #### Get Signature
540
+
541
+ > **get** **readonly**(): `boolean`
542
+
543
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L83)
544
+
545
+ ##### Returns
546
+
547
+ `boolean`
548
+
549
+ #### Set Signature
550
+
551
+ > **set** **readonly**(`value`): `void`
552
+
553
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L87)
554
+
555
+ ##### Parameters
556
+
557
+ ###### value
558
+
559
+ `boolean`
560
+
561
+ ##### Returns
562
+
563
+ `void`
564
+
565
+ ***
566
+
567
+ ### root
568
+
569
+ #### Get Signature
570
+
571
+ > **get** **root**(): `AbstractControl`
572
+
573
+ Defined in: node\_modules/@angular/forms/index.d.ts:680
574
+
575
+ Retrieves the top-level ancestor of this control.
576
+
577
+ ##### Returns
578
+
579
+ `AbstractControl`
580
+
581
+ #### Inherited from
582
+
583
+ `UntypedFormControl.root`
584
+
585
+ ***
586
+
587
+ ### rxapFormDefinition
588
+
589
+ #### Get Signature
590
+
591
+ > **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>
592
+
593
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L52)
594
+
595
+ **`Internal`**
596
+
597
+ ##### Returns
598
+
599
+ `undefined` \| `Partial`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>
600
+
601
+ ***
602
+
603
+ ### touched
604
+
605
+ #### Get Signature
606
+
607
+ > **get** **touched**(): `boolean`
608
+
609
+ Defined in: node\_modules/@angular/forms/index.d.ts:174
610
+
611
+ True if the control is marked as `touched`.
612
+
613
+ A control is marked `touched` once the user has triggered
614
+ a `blur` event on it.
615
+
616
+ ##### Returns
617
+
618
+ `boolean`
619
+
620
+ #### Set Signature
621
+
622
+ > **set** **touched**(`value`): `void`
623
+
624
+ Defined in: node\_modules/@angular/forms/index.d.ts:175
625
+
626
+ ##### Parameters
627
+
628
+ ###### value
629
+
630
+ `boolean`
631
+
632
+ ##### Returns
633
+
634
+ `void`
635
+
636
+ #### Inherited from
637
+
638
+ `UntypedFormControl.touched`
639
+
640
+ ***
641
+
642
+ ### untouched
643
+
644
+ #### Get Signature
645
+
646
+ > **get** **untouched**(): `boolean`
647
+
648
+ Defined in: node\_modules/@angular/forms/index.d.ts:183
649
+
650
+ True if the control has not been marked as touched
651
+
652
+ A control is `untouched` if the user has not yet triggered
653
+ a `blur` event on it.
654
+
655
+ ##### Returns
656
+
657
+ `boolean`
658
+
659
+ #### Inherited from
660
+
661
+ `UntypedFormControl.untouched`
662
+
663
+ ***
664
+
665
+ ### updateOn
666
+
667
+ #### Get Signature
668
+
669
+ > **get** **updateOn**(): `FormHooks`
670
+
671
+ Defined in: node\_modules/@angular/forms/index.d.ts:227
672
+
673
+ Reports the update strategy of the `AbstractControl` (meaning
674
+ the event on which the control updates itself).
675
+ Possible values: `'change'` | `'blur'` | `'submit'`
676
+ Default value: `'change'`
677
+
678
+ ##### Returns
679
+
680
+ `FormHooks`
681
+
682
+ #### Inherited from
683
+
684
+ `UntypedFormControl.updateOn`
685
+
686
+ ***
687
+
688
+ ### valid
689
+
690
+ #### Get Signature
691
+
692
+ > **get** **valid**(): `boolean`
693
+
694
+ Defined in: node\_modules/@angular/forms/index.d.ts:104
695
+
696
+ A control is `valid` when its `status` is `VALID`.
697
+
698
+ ##### See
699
+
700
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
701
+
702
+ ##### Returns
703
+
704
+ `boolean`
705
+
706
+ True if the control has passed all of its validation tests,
707
+ false otherwise.
708
+
709
+ #### Inherited from
710
+
711
+ `UntypedFormControl.valid`
712
+
713
+ ***
714
+
715
+ ### validator
716
+
717
+ #### Get Signature
718
+
719
+ > **get** **validator**(): `null` \| `ValidatorFn`
720
+
721
+ Defined in: node\_modules/@angular/forms/index.d.ts:72
722
+
723
+ Returns the function that is used to determine the validity of this control synchronously.
724
+ If multiple validators have been added, this will be a single composed function.
725
+ See `Validators.compose()` for additional information.
726
+
727
+ ##### Returns
728
+
729
+ `null` \| `ValidatorFn`
730
+
731
+ #### Set Signature
732
+
733
+ > **set** **validator**(`validatorFn`): `void`
734
+
735
+ Defined in: node\_modules/@angular/forms/index.d.ts:73
736
+
737
+ ##### Parameters
738
+
739
+ ###### validatorFn
740
+
741
+ `null` | `ValidatorFn`
742
+
743
+ ##### Returns
744
+
745
+ `void`
746
+
747
+ #### Inherited from
748
+
749
+ `UntypedFormControl.validator`
750
+
751
+ ## Methods
752
+
753
+ ### addAsyncValidators()
754
+
755
+ > **addAsyncValidators**(`validators`): `void`
756
+
757
+ Defined in: node\_modules/@angular/forms/index.d.ts:274
758
+
759
+ Add an asynchronous validator or validators to this control, without affecting other
760
+ validators.
761
+
762
+ When you add or remove a validator at run time, you must call
763
+ `updateValueAndValidity()` for the new validation to take effect.
764
+
765
+ Adding a validator that already exists will have no effect.
766
+
767
+ #### Parameters
768
+
769
+ ##### validators
770
+
771
+ The new asynchronous validator function or functions to add to this control.
772
+
773
+ `AsyncValidatorFn` | `AsyncValidatorFn`[]
774
+
775
+ #### Returns
776
+
777
+ `void`
778
+
779
+ #### Inherited from
780
+
781
+ `UntypedFormControl.addAsyncValidators`
782
+
783
+ ***
784
+
785
+ ### addValidators()
786
+
787
+ > **addValidators**(`validators`): `void`
788
+
789
+ Defined in: node\_modules/@angular/forms/index.d.ts:262
790
+
791
+ Add a synchronous validator or validators to this control, without affecting other validators.
792
+
793
+ When you add or remove a validator at run time, you must call
794
+ `updateValueAndValidity()` for the new validation to take effect.
795
+
796
+ Adding a validator that already exists will have no effect. If duplicate validator functions
797
+ are present in the `validators` array, only the first instance would be added to a form
798
+ control.
799
+
800
+ #### Parameters
801
+
802
+ ##### validators
803
+
804
+ The new validator function or functions to add to this control.
805
+
806
+ `ValidatorFn` | `ValidatorFn`[]
807
+
808
+ #### Returns
809
+
810
+ `void`
811
+
812
+ #### Inherited from
813
+
814
+ `UntypedFormControl.addValidators`
815
+
816
+ ***
817
+
818
+ ### clearAsyncValidators()
819
+
820
+ > **clearAsyncValidators**(): `void`
821
+
822
+ Defined in: node\_modules/@angular/forms/index.d.ts:365
823
+
824
+ Empties out the async validator list.
825
+
826
+ When you add or remove a validator at run time, you must call
827
+ `updateValueAndValidity()` for the new validation to take effect.
828
+
829
+ #### Returns
830
+
831
+ `void`
832
+
833
+ #### Inherited from
834
+
835
+ `UntypedFormControl.clearAsyncValidators`
836
+
837
+ ***
838
+
839
+ ### clearValidators()
840
+
841
+ > **clearValidators**(): `void`
842
+
843
+ Defined in: node\_modules/@angular/forms/index.d.ts:357
844
+
845
+ Empties out the synchronous validator list.
846
+
847
+ When you add or remove a validator at run time, you must call
848
+ `updateValueAndValidity()` for the new validation to take effect.
849
+
850
+ #### Returns
851
+
852
+ `void`
853
+
854
+ #### Inherited from
855
+
856
+ `UntypedFormControl.clearValidators`
857
+
858
+ ***
859
+
860
+ ### disable()
861
+
862
+ > **disable**(`opts`?): `void`
863
+
864
+ Defined in: node\_modules/@angular/forms/index.d.ts:502
865
+
866
+ Disables the control. This means the control is exempt from validation checks and
867
+ excluded from the aggregate value of any parent. Its status is `DISABLED`.
868
+
869
+ If the control has children, all children are also disabled.
870
+
871
+ #### Parameters
872
+
873
+ ##### opts?
874
+
875
+ Configuration options that determine how the control propagates
876
+ changes and emits events after the control is disabled.
877
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
878
+ marks all direct ancestors. Default is false.
879
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
880
+ `valueChanges` and `events`
881
+ observables emit events with the latest status and value when the control is disabled.
882
+ When false, no events are emitted.
883
+
884
+ ###### emitEvent?
885
+
886
+ `boolean`
887
+
888
+ ###### onlySelf?
889
+
890
+ `boolean`
891
+
892
+ #### Returns
893
+
894
+ `void`
895
+
896
+ #### See
897
+
898
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
899
+
900
+ #### Inherited from
901
+
902
+ `UntypedFormControl.disable`
903
+
904
+ ***
905
+
906
+ ### disabledWhile()
907
+
908
+ > **disabledWhile**(`observable`, `options`?): `Subscription`
909
+
910
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L181)
911
+
912
+ #### Parameters
913
+
914
+ ##### observable
915
+
916
+ `Observable`\<`boolean`\>
917
+
918
+ ##### options?
919
+
920
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
921
+
922
+ #### Returns
923
+
924
+ `Subscription`
925
+
926
+ ***
927
+
928
+ ### enable()
929
+
930
+ > **enable**(`opts`?): `void`
931
+
932
+ Defined in: node\_modules/@angular/forms/index.d.ts:524
933
+
934
+ Enables the control. This means the control is included in validation checks and
935
+ the aggregate value of its parent. Its status recalculates based on its value and
936
+ its validators.
937
+
938
+ By default, if the control has children, all children are enabled.
939
+
940
+ #### Parameters
941
+
942
+ ##### opts?
943
+
944
+ Configure options that control how the control propagates changes and
945
+ emits events when marked as untouched
946
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
947
+ marks all direct ancestors. Default is false.
948
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
949
+ `valueChanges` and `events`
950
+ observables emit events with the latest status and value when the control is enabled.
951
+ When false, no events are emitted.
952
+
953
+ ###### emitEvent?
954
+
955
+ `boolean`
956
+
957
+ ###### onlySelf?
958
+
959
+ `boolean`
960
+
961
+ #### Returns
962
+
963
+ `void`
964
+
965
+ #### See
966
+
967
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
968
+
969
+ #### Inherited from
970
+
971
+ `UntypedFormControl.enable`
972
+
973
+ ***
974
+
975
+ ### enabledWhile()
976
+
977
+ > **enabledWhile**(`observable`, `options`?): `Subscription`
978
+
979
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L188)
980
+
981
+ #### Parameters
982
+
983
+ ##### observable
984
+
985
+ `Observable`\<`boolean`\>
986
+
987
+ ##### options?
988
+
989
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
990
+
991
+ #### Returns
992
+
993
+ `Subscription`
994
+
995
+ ***
996
+
997
+ ### get()
998
+
999
+ #### Call Signature
1000
+
1001
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1002
+
1003
+ Defined in: node\_modules/@angular/forms/index.d.ts:610
1004
+
1005
+ Retrieves a child control given the control's name or path.
1006
+
1007
+ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar'] as const)`).
1008
+
1009
+ ##### Type Parameters
1010
+
1011
+ • **P** *extends* `string` \| readonly (`string` \| `number`)[]
1012
+
1013
+ ##### Parameters
1014
+
1015
+ ###### path
1016
+
1017
+ `P`
1018
+
1019
+ ##### Returns
1020
+
1021
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1022
+
1023
+ ##### Inherited from
1024
+
1025
+ `UntypedFormControl.get`
1026
+
1027
+ #### Call Signature
1028
+
1029
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1030
+
1031
+ Defined in: node\_modules/@angular/forms/index.d.ts:617
1032
+
1033
+ Retrieves a child control given the control's name or path.
1034
+
1035
+ This signature for `get` supports non-const (mutable) arrays. Inferred type
1036
+ information will not be as robust, so prefer to pass a `readonly` array if possible.
1037
+
1038
+ ##### Type Parameters
1039
+
1040
+ • **P** *extends* `string` \| (`string` \| `number`)[]
1041
+
1042
+ ##### Parameters
1043
+
1044
+ ###### path
1045
+
1046
+ `P`
1047
+
1048
+ ##### Returns
1049
+
1050
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1051
+
1052
+ ##### Inherited from
1053
+
1054
+ `UntypedFormControl.get`
1055
+
1056
+ ***
1057
+
1058
+ ### getError()
1059
+
1060
+ > **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
1061
+
1062
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:269](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L269)
1063
+
1064
+ #### Type Parameters
1065
+
1066
+ • **K** *extends* `string`
1067
+
1068
+ #### Parameters
1069
+
1070
+ ##### errorCode
1071
+
1072
+ `K`
1073
+
1074
+ The code of the error to check
1075
+
1076
+ #### Returns
1077
+
1078
+ `null` \| `E`\[`K`\]
1079
+
1080
+ error data for that particular error. If the control or error is not present,
1081
+ null is returned.
1082
+
1083
+ #### Description
1084
+
1085
+ Reports error data for the control with the given path.
1086
+
1087
+ #### Usage Notes
1088
+
1089
+ For example, for the following `FormGroup`:
1090
+
1091
+ ```ts
1092
+ form = new FormGroup({
1093
+ address: new FormGroup({ street: new FormControl() })
1094
+ });
1095
+ ```
1096
+
1097
+ The path to the 'street' control from the root form would be 'address' -> 'street'.
1098
+
1099
+ It can be provided to this method in one of two formats:
1100
+
1101
+ 1. An array of string control names, e.g. `['address', 'street']`
1102
+ 1. A period-delimited list of control names in one string, e.g. `'address.street'`
1103
+
1104
+ #### Overrides
1105
+
1106
+ `UntypedFormControl.getError`
1107
+
1108
+ ***
1109
+
1110
+ ### getRawValue()
1111
+
1112
+ > **getRawValue**(): `any`
1113
+
1114
+ Defined in: node\_modules/@angular/forms/index.d.ts:2284
1115
+
1116
+ For a simple FormControl, the raw value is equivalent to the value.
1117
+
1118
+ #### Returns
1119
+
1120
+ `any`
1121
+
1122
+ #### Inherited from
1123
+
1124
+ `UntypedFormControl.getRawValue`
1125
+
1126
+ ***
1127
+
1128
+ ### hasAsyncValidator()
1129
+
1130
+ > **hasAsyncValidator**(`validator`): `boolean`
1131
+
1132
+ Defined in: node\_modules/@angular/forms/index.d.ts:349
1133
+
1134
+ Check whether an asynchronous validator function is present on this control. The provided
1135
+ validator must be a reference to the exact same function that was provided.
1136
+
1137
+ #### Parameters
1138
+
1139
+ ##### validator
1140
+
1141
+ `AsyncValidatorFn`
1142
+
1143
+ The asynchronous validator to check for presence. Compared by function
1144
+ reference.
1145
+
1146
+ #### Returns
1147
+
1148
+ `boolean`
1149
+
1150
+ Whether the provided asynchronous validator was found on this control.
1151
+
1152
+ #### Inherited from
1153
+
1154
+ `UntypedFormControl.hasAsyncValidator`
1155
+
1156
+ ***
1157
+
1158
+ ### hasError()
1159
+
1160
+ > **hasError**\<`K`\>(`errorCode`): `boolean`
1161
+
1162
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:273](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L273)
1163
+
1164
+ #### Type Parameters
1165
+
1166
+ • **K** *extends* `string`
1167
+
1168
+ #### Parameters
1169
+
1170
+ ##### errorCode
1171
+
1172
+ `K`
1173
+
1174
+ The code of the error to check
1175
+
1176
+ #### Returns
1177
+
1178
+ `boolean`
1179
+
1180
+ whether the given error is present in the control at the given path.
1181
+
1182
+ If the control is not present, false is returned.
1183
+
1184
+ #### Description
1185
+
1186
+ Reports whether the control with the given path has the error specified.
1187
+
1188
+ #### Usage Notes
1189
+
1190
+ For example, for the following `FormGroup`:
1191
+
1192
+ ```ts
1193
+ form = new FormGroup({
1194
+ address: new FormGroup({ street: new FormControl() })
1195
+ });
1196
+ ```
1197
+
1198
+ The path to the 'street' control from the root form would be 'address' -> 'street'.
1199
+
1200
+ It can be provided to this method in one of two formats:
1201
+
1202
+ 1. An array of string control names, e.g. `['address', 'street']`
1203
+ 1. A period-delimited list of control names in one string, e.g. `'address.street'`
1204
+
1205
+ If no path is given, this method checks for the error on the current control.
1206
+
1207
+ #### Overrides
1208
+
1209
+ `UntypedFormControl.hasError`
1210
+
1211
+ ***
1212
+
1213
+ ### hasErrorAndDirty()
1214
+
1215
+ > **hasErrorAndDirty**(`error`): `boolean`
1216
+
1217
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L289)
1218
+
1219
+ #### Parameters
1220
+
1221
+ ##### error
1222
+
1223
+ [`ExtractStrings`](../wiki/TypeAlias.ExtractStrings)\<`E`\>
1224
+
1225
+ #### Returns
1226
+
1227
+ `boolean`
1228
+
1229
+ ***
1230
+
1231
+ ### hasErrorAndTouched()
1232
+
1233
+ > **hasErrorAndTouched**(`error`): `boolean`
1234
+
1235
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L285)
1236
+
1237
+ #### Parameters
1238
+
1239
+ ##### error
1240
+
1241
+ [`ExtractStrings`](../wiki/TypeAlias.ExtractStrings)\<`E`\>
1242
+
1243
+ #### Returns
1244
+
1245
+ `boolean`
1246
+
1247
+ ***
1248
+
1249
+ ### hasValidator()
1250
+
1251
+ > **hasValidator**(`validator`): `boolean`
1252
+
1253
+ Defined in: node\_modules/@angular/forms/index.d.ts:340
1254
+
1255
+ Check whether a synchronous validator function is present on this control. The provided
1256
+ validator must be a reference to the exact same function that was provided.
1257
+
1258
+ #### Parameters
1259
+
1260
+ ##### validator
1261
+
1262
+ `ValidatorFn`
1263
+
1264
+ The validator to check for presence. Compared by function reference.
1265
+
1266
+ #### Returns
1267
+
1268
+ `boolean`
1269
+
1270
+ Whether the provided validator was found on this control.
1271
+
1272
+ #### Usage Notes
1273
+
1274
+ ### Reference to a ValidatorFn
1275
+
1276
+ ```
1277
+ // Reference to the RequiredValidator
1278
+ const ctrl = new FormControl<number | null>(0, Validators.required);
1279
+ expect(ctrl.hasValidator(Validators.required)).toEqual(true)
1280
+
1281
+ // Reference to anonymous function inside MinValidator
1282
+ const minValidator = Validators.min(3);
1283
+ const ctrl = new FormControl<number | null>(0, minValidator);
1284
+ expect(ctrl.hasValidator(minValidator)).toEqual(true)
1285
+ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
1286
+ ```
1287
+
1288
+ #### Inherited from
1289
+
1290
+ `UntypedFormControl.hasValidator`
1291
+
1292
+ ***
1293
+
1294
+ ### markAllAsDirty()
1295
+
1296
+ > **markAllAsDirty**(): `void`
1297
+
1298
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L228)
1299
+
1300
+ #### Returns
1301
+
1302
+ `void`
1303
+
1304
+ ***
1305
+
1306
+ ### markAllAsTouched()
1307
+
1308
+ > **markAllAsTouched**(`opts`?): `void`
1309
+
1310
+ Defined in: node\_modules/@angular/forms/index.d.ts:396
1311
+
1312
+ Marks the control and all its descendant controls as `touched`.
1313
+
1314
+ #### Parameters
1315
+
1316
+ ##### opts?
1317
+
1318
+ Configuration options that determine how the control propagates changes
1319
+ and emits events after marking is applied.
1320
+ * `emitEvent`: When true or not supplied (the default), the `events`
1321
+ observable emits a `TouchedChangeEvent` with the `touched` property being `true`.
1322
+ When false, no events are emitted.
1323
+
1324
+ ###### emitEvent?
1325
+
1326
+ `boolean`
1327
+
1328
+ #### Returns
1329
+
1330
+ `void`
1331
+
1332
+ #### See
1333
+
1334
+ [()](../wiki/Class.RxapFormControl#markastouched)
1335
+
1336
+ #### Inherited from
1337
+
1338
+ `UntypedFormControl.markAllAsTouched`
1339
+
1340
+ ***
1341
+
1342
+ ### markAsDirty()
1343
+
1344
+ > **markAsDirty**(`opts`?): `void`
1345
+
1346
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:223](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L223)
1347
+
1348
+ Marks the control as `dirty`. A control becomes dirty when
1349
+ the control's value is changed through the UI; compare `markAsTouched`.
1350
+
1351
+ #### Parameters
1352
+
1353
+ ##### opts?
1354
+
1355
+ [`OnlySelf`](../wiki/TypeAlias.OnlySelf)
1356
+
1357
+ Configuration options that determine how the control propagates changes
1358
+ and emits events after marking is applied.
1359
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1360
+ marks all direct ancestors. Default is false.
1361
+ * `emitEvent`: When true or not supplied (the default), the `events`
1362
+ observable emits a `PristineChangeEvent` with the `pristine` property being `false`.
1363
+ When false, no events are emitted.
1364
+
1365
+ #### Returns
1366
+
1367
+ `void`
1368
+
1369
+ #### See
1370
+
1371
+ - [()](../wiki/Class.RxapFormControl#markastouched)
1372
+ - [()](../wiki/Class.RxapFormControl#markasuntouched)
1373
+ - [()](../wiki/Class.RxapFormControl#markaspristine)
1374
+
1375
+ #### Overrides
1376
+
1377
+ `UntypedFormControl.markAsDirty`
1378
+
1379
+ ***
1380
+
1381
+ ### markAsPending()
1382
+
1383
+ > **markAsPending**(`opts`?): `void`
1384
+
1385
+ Defined in: node\_modules/@angular/forms/index.d.ts:481
1386
+
1387
+ Marks the control as `pending`.
1388
+
1389
+ A control is pending while the control performs async validation.
1390
+
1391
+ #### Parameters
1392
+
1393
+ ##### opts?
1394
+
1395
+ Configuration options that determine how the control propagates changes and
1396
+ emits events after marking is applied.
1397
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1398
+ marks all direct ancestors. Default is false.
1399
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`
1400
+ observable emits an event with the latest status the control is marked pending
1401
+ and the `events` observable emits a `StatusChangeEvent` with the `status` property being
1402
+ `PENDING` When false, no events are emitted.
1403
+
1404
+ ###### emitEvent?
1405
+
1406
+ `boolean`
1407
+
1408
+ ###### onlySelf?
1409
+
1410
+ `boolean`
1411
+
1412
+ #### Returns
1413
+
1414
+ `void`
1415
+
1416
+ #### See
1417
+
1418
+ [AbstractControl.status](../wiki/Interface.AbstractControl#status)
1419
+
1420
+ #### Inherited from
1421
+
1422
+ `UntypedFormControl.markAsPending`
1423
+
1424
+ ***
1425
+
1426
+ ### markAsPristine()
1427
+
1428
+ > **markAsPristine**(`opts`?): `void`
1429
+
1430
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L218)
1431
+
1432
+ Marks the control as `pristine`.
1433
+
1434
+ If the control has any children, marks all children as `pristine`,
1435
+ and recalculates the `pristine` status of all parent
1436
+ controls.
1437
+
1438
+ #### Parameters
1439
+
1440
+ ##### opts?
1441
+
1442
+ [`OnlySelf`](../wiki/TypeAlias.OnlySelf)
1443
+
1444
+ Configuration options that determine how the control emits events after
1445
+ marking is applied.
1446
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1447
+ marks all direct ancestors. Default is false.
1448
+ * `emitEvent`: When true or not supplied (the default), the `events`
1449
+ observable emits a `PristineChangeEvent` with the `pristine` property being `true`.
1450
+ When false, no events are emitted.
1451
+
1452
+ #### Returns
1453
+
1454
+ `void`
1455
+
1456
+ #### See
1457
+
1458
+ - [()](../wiki/Class.RxapFormControl#markastouched)
1459
+ - [()](../wiki/Class.RxapFormControl#markasuntouched)
1460
+ - [()](../wiki/Class.RxapFormControl#markasdirty)
1461
+
1462
+ #### Overrides
1463
+
1464
+ `UntypedFormControl.markAsPristine`
1465
+
1466
+ ***
1467
+
1468
+ ### markAsTouched()
1469
+
1470
+ > **markAsTouched**(`opts`?): `void`
1471
+
1472
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:208](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L208)
1473
+
1474
+ Marks the control as `touched`. A control is touched by focus and
1475
+ blur events that do not change the value.
1476
+
1477
+ #### Parameters
1478
+
1479
+ ##### opts?
1480
+
1481
+ [`OnlySelf`](../wiki/TypeAlias.OnlySelf)
1482
+
1483
+ Configuration options that determine how the control propagates changes
1484
+ and emits events after marking is applied.
1485
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1486
+ marks all direct ancestors. Default is false.
1487
+ * `emitEvent`: When true or not supplied (the default), the `events`
1488
+ observable emits a `TouchedChangeEvent` with the `touched` property being `true`.
1489
+ When false, no events are emitted.
1490
+
1491
+ #### Returns
1492
+
1493
+ `void`
1494
+
1495
+ #### See
1496
+
1497
+ - [()](../wiki/Class.RxapFormControl#markasuntouched)
1498
+ - [()](../wiki/Class.RxapFormControl#markasdirty)
1499
+ - [()](../wiki/Class.RxapFormControl#markaspristine)
1500
+
1501
+ #### Overrides
1502
+
1503
+ `UntypedFormControl.markAsTouched`
1504
+
1505
+ ***
1506
+
1507
+ ### markAsUntouched()
1508
+
1509
+ > **markAsUntouched**(`opts`?): `void`
1510
+
1511
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:213](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L213)
1512
+
1513
+ Marks the control as `untouched`.
1514
+
1515
+ If the control has any children, also marks all children as `untouched`
1516
+ and recalculates the `touched` status of all parent controls.
1517
+
1518
+ #### Parameters
1519
+
1520
+ ##### opts?
1521
+
1522
+ [`OnlySelf`](../wiki/TypeAlias.OnlySelf)
1523
+
1524
+ Configuration options that determine how the control propagates changes
1525
+ and emits events after the marking is applied.
1526
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1527
+ marks all direct ancestors. Default is false.
1528
+ * `emitEvent`: When true or not supplied (the default), the `events`
1529
+ observable emits a `TouchedChangeEvent` with the `touched` property being `false`.
1530
+ When false, no events are emitted.
1531
+
1532
+ #### Returns
1533
+
1534
+ `void`
1535
+
1536
+ #### See
1537
+
1538
+ - [()](../wiki/Class.RxapFormControl#markastouched)
1539
+ - [()](../wiki/Class.RxapFormControl#markasdirty)
1540
+ - [()](../wiki/Class.RxapFormControl#markaspristine)
1541
+
1542
+ #### Overrides
1543
+
1544
+ `UntypedFormControl.markAsUntouched`
1545
+
1546
+ ***
1547
+
1548
+ ### mergeAsyncValidators()
1549
+
1550
+ > **mergeAsyncValidators**(`validators`): `void`
1551
+
1552
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L199)
1553
+
1554
+ #### Parameters
1555
+
1556
+ ##### validators
1557
+
1558
+ [`AsyncValidator`](../wiki/TypeAlias.AsyncValidator)
1559
+
1560
+ #### Returns
1561
+
1562
+ `void`
1563
+
1564
+ ***
1565
+
1566
+ ### mergeValidators()
1567
+
1568
+ > **mergeValidators**(`validators`): `void`
1569
+
1570
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L195)
1571
+
1572
+ #### Parameters
1573
+
1574
+ ##### validators
1575
+
1576
+ [`Validator`](../wiki/TypeAlias.Validator)
1577
+
1578
+ #### Returns
1579
+
1580
+ `void`
1581
+
1582
+ ***
1583
+
1584
+ ### patchValue()
1585
+
1586
+ #### Call Signature
1587
+
1588
+ > **patchValue**(`valueOrObservable`, `options`?): `Subscription`
1589
+
1590
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:163](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L163)
1591
+
1592
+ Patches the value of a control.
1593
+
1594
+ This function is functionally the same as FormControl#setValue setValue at this level.
1595
+ It exists for symmetry with FormGroup#patchValue patchValue on `FormGroups` and
1596
+ `FormArrays`, where it does behave differently.
1597
+
1598
+ ##### Parameters
1599
+
1600
+ ###### valueOrObservable
1601
+
1602
+ `Observable`\<`T`\>
1603
+
1604
+ ###### options?
1605
+
1606
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
1607
+
1608
+ ##### Returns
1609
+
1610
+ `Subscription`
1611
+
1612
+ ##### See
1613
+
1614
+ FormControl#setValue for options
1615
+
1616
+ ##### Overrides
1617
+
1618
+ `UntypedFormControl.patchValue`
1619
+
1620
+ #### Call Signature
1621
+
1622
+ > **patchValue**(`valueOrObservable`, `options`?): `void`
1623
+
1624
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L167)
1625
+
1626
+ ##### Parameters
1627
+
1628
+ ###### valueOrObservable
1629
+
1630
+ `T`
1631
+
1632
+ ###### options?
1633
+
1634
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
1635
+
1636
+ ##### Returns
1637
+
1638
+ `void`
1639
+
1640
+ ##### Overrides
1641
+
1642
+ `UntypedFormControl.patchValue`
1643
+
1644
+ ***
1645
+
1646
+ ### registerOnChange()
1647
+
1648
+ > **registerOnChange**(`fn`): `void`
1649
+
1650
+ Defined in: node\_modules/@angular/forms/index.d.ts:2290
1651
+
1652
+ Register a listener for change events.
1653
+
1654
+ #### Parameters
1655
+
1656
+ ##### fn
1657
+
1658
+ `Function`
1659
+
1660
+ The method that is called when the value changes
1661
+
1662
+ #### Returns
1663
+
1664
+ `void`
1665
+
1666
+ #### Inherited from
1667
+
1668
+ `UntypedFormControl.registerOnChange`
1669
+
1670
+ ***
1671
+
1672
+ ### registerOnDisabledChange()
1673
+
1674
+ > **registerOnDisabledChange**(`fn`): `void`
1675
+
1676
+ Defined in: node\_modules/@angular/forms/index.d.ts:2296
1677
+
1678
+ Register a listener for disabled events.
1679
+
1680
+ #### Parameters
1681
+
1682
+ ##### fn
1683
+
1684
+ (`isDisabled`) => `void`
1685
+
1686
+ The method that is called when the disabled status changes.
1687
+
1688
+ #### Returns
1689
+
1690
+ `void`
1691
+
1692
+ #### Inherited from
1693
+
1694
+ `UntypedFormControl.registerOnDisabledChange`
1695
+
1696
+ ***
1697
+
1698
+ ### registerOnSetValue()
1699
+
1700
+ > **registerOnSetValue**(`setValueFn`): `void`
1701
+
1702
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L301)
1703
+
1704
+ #### Parameters
1705
+
1706
+ ##### setValueFn
1707
+
1708
+ [`SetValueFn`](../wiki/TypeAlias.SetValueFn)\<`T`\>
1709
+
1710
+ #### Returns
1711
+
1712
+ `void`
1713
+
1714
+ ***
1715
+
1716
+ ### removeAsyncValidators()
1717
+
1718
+ > **removeAsyncValidators**(`validators`): `void`
1719
+
1720
+ Defined in: node\_modules/@angular/forms/index.d.ts:316
1721
+
1722
+ Remove an asynchronous validator from this control, without affecting other validators.
1723
+ Validators are compared by function reference; you must pass a reference to the exact same
1724
+ validator function as the one that was originally set. If a provided validator is not found, it
1725
+ is ignored.
1726
+
1727
+ When you add or remove a validator at run time, you must call
1728
+ `updateValueAndValidity()` for the new validation to take effect.
1729
+
1730
+ #### Parameters
1731
+
1732
+ ##### validators
1733
+
1734
+ The asynchronous validator or validators to remove.
1735
+
1736
+ `AsyncValidatorFn` | `AsyncValidatorFn`[]
1737
+
1738
+ #### Returns
1739
+
1740
+ `void`
1741
+
1742
+ #### Inherited from
1743
+
1744
+ `UntypedFormControl.removeAsyncValidators`
1745
+
1746
+ ***
1747
+
1748
+ ### removeValidators()
1749
+
1750
+ > **removeValidators**(`validators`): `void`
1751
+
1752
+ Defined in: node\_modules/@angular/forms/index.d.ts:304
1753
+
1754
+ Remove a synchronous validator from this control, without affecting other validators.
1755
+ Validators are compared by function reference; you must pass a reference to the exact same
1756
+ validator function as the one that was originally set. If a provided validator is not found,
1757
+ it is ignored.
1758
+
1759
+ #### Parameters
1760
+
1761
+ ##### validators
1762
+
1763
+ The validator or validators to remove.
1764
+
1765
+ `ValidatorFn` | `ValidatorFn`[]
1766
+
1767
+ #### Returns
1768
+
1769
+ `void`
1770
+
1771
+ #### Usage Notes
1772
+
1773
+ ### Reference to a ValidatorFn
1774
+
1775
+ ```
1776
+ // Reference to the RequiredValidator
1777
+ const ctrl = new FormControl<string | null>('', Validators.required);
1778
+ ctrl.removeValidators(Validators.required);
1779
+
1780
+ // Reference to anonymous function inside MinValidator
1781
+ const minValidator = Validators.min(3);
1782
+ const ctrl = new FormControl<string | null>('', minValidator);
1783
+ expect(ctrl.hasValidator(minValidator)).toEqual(true)
1784
+ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
1785
+
1786
+ ctrl.removeValidators(minValidator);
1787
+ ```
1788
+
1789
+ When you add or remove a validator at run time, you must call
1790
+ `updateValueAndValidity()` for the new validation to take effect.
1791
+
1792
+ #### Inherited from
1793
+
1794
+ `UntypedFormControl.removeValidators`
1795
+
1796
+ ***
1797
+
1798
+ ### reset()
1799
+
1800
+ > **reset**(`formState`?, `options`?): `void`
1801
+
1802
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:232](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L232)
1803
+
1804
+ Resets the form control, marking it `pristine` and `untouched`, and resetting
1805
+ the value. The new value will be the provided value (if passed), `null`, or the initial value
1806
+ if `nonNullable` was set in the constructor via FormControlOptions.
1807
+
1808
+ ```ts
1809
+ // By default, the control will reset to null.
1810
+ const dog = new FormControl('spot');
1811
+ dog.reset(); // dog.value is null
1812
+
1813
+ // If this flag is set, the control will instead reset to the initial value.
1814
+ const cat = new FormControl('tabby', {nonNullable: true});
1815
+ cat.reset(); // cat.value is "tabby"
1816
+
1817
+ // A value passed to reset always takes precedence.
1818
+ const fish = new FormControl('finn', {nonNullable: true});
1819
+ fish.reset('bubble'); // fish.value is "bubble"
1820
+ ```
1821
+
1822
+ #### Parameters
1823
+
1824
+ ##### formState?
1825
+
1826
+ [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
1827
+
1828
+ Resets the control with an initial value,
1829
+ or an object that defines the initial value and disabled state.
1830
+
1831
+ ##### options?
1832
+
1833
+ [`ControlEventOptions`](../wiki/TypeAlias.ControlEventOptions)
1834
+
1835
+ Configuration options that determine how the control propagates changes
1836
+ and emits events after the value changes.
1837
+
1838
+ * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
1839
+ false.
1840
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
1841
+ `valueChanges`
1842
+ observables emit events with the latest status and value when the control is reset.
1843
+ When false, no events are emitted.
1844
+
1845
+ #### Returns
1846
+
1847
+ `void`
1848
+
1849
+ #### Overrides
1850
+
1851
+ `UntypedFormControl.reset`
1852
+
1853
+ ***
1854
+
1855
+ ### setAsyncValidators()
1856
+
1857
+ > **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
1858
+
1859
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:255](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L255)
1860
+
1861
+ Sets the asynchronous validators that are active on this control. Calling this
1862
+ overwrites any existing asynchronous validators.
1863
+
1864
+ When you add or remove a validator at run time, you must call
1865
+ `updateValueAndValidity()` for the new validation to take effect.
1866
+
1867
+ If you want to add a new validator without affecting existing ones, consider
1868
+ using `addAsyncValidators()` method instead.
1869
+
1870
+ #### Parameters
1871
+
1872
+ ##### newValidator
1873
+
1874
+ [`AsyncValidator`](../wiki/TypeAlias.AsyncValidator)
1875
+
1876
+ ##### updateValueAndValidity
1877
+
1878
+ `boolean` = `true`
1879
+
1880
+ #### Returns
1881
+
1882
+ `void`
1883
+
1884
+ #### Overrides
1885
+
1886
+ `UntypedFormControl.setAsyncValidators`
1887
+
1888
+ ***
1889
+
1890
+ ### setDisable()
1891
+
1892
+ > **setDisable**(`disable`, `opts`?): `void`
1893
+
1894
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L297)
1895
+
1896
+ #### Parameters
1897
+
1898
+ ##### disable
1899
+
1900
+ `boolean` = `true`
1901
+
1902
+ ##### opts?
1903
+
1904
+ [`ControlEventOptions`](../wiki/TypeAlias.ControlEventOptions)
1905
+
1906
+ #### Returns
1907
+
1908
+ `void`
1909
+
1910
+ ***
1911
+
1912
+ ### setEnable()
1913
+
1914
+ > **setEnable**(`enable`, `opts`?): `void`
1915
+
1916
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L293)
1917
+
1918
+ #### Parameters
1919
+
1920
+ ##### enable
1921
+
1922
+ `boolean` = `true`
1923
+
1924
+ ##### opts?
1925
+
1926
+ [`ControlEventOptions`](../wiki/TypeAlias.ControlEventOptions)
1927
+
1928
+ #### Returns
1929
+
1930
+ `void`
1931
+
1932
+ ***
1933
+
1934
+ ### setError()
1935
+
1936
+ > **setError**(`key`, `value`, `opts`): `void`
1937
+
1938
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L281)
1939
+
1940
+ #### Parameters
1941
+
1942
+ ##### key
1943
+
1944
+ `string`
1945
+
1946
+ ##### value
1947
+
1948
+ `any`
1949
+
1950
+ ##### opts
1951
+
1952
+ [`EmitEvent`](../wiki/TypeAlias.EmitEvent) = `{}`
1953
+
1954
+ #### Returns
1955
+
1956
+ `void`
1957
+
1958
+ ***
1959
+
1960
+ ### setErrors()
1961
+
1962
+ > **setErrors**(`errors`, `opts`): `void`
1963
+
1964
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:277](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L277)
1965
+
1966
+ Sets errors on a form control when running validations manually, rather than automatically.
1967
+
1968
+ Calling `setErrors` also updates the validity of the parent control.
1969
+
1970
+ #### Parameters
1971
+
1972
+ ##### errors
1973
+
1974
+ `null` | `Partial`\<`E`\>
1975
+
1976
+ ##### opts
1977
+
1978
+ [`EmitEvent`](../wiki/TypeAlias.EmitEvent) = `{}`
1979
+
1980
+ Configuration options that determine how the control propagates
1981
+ changes and emits events after the control errors are set.
1982
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`
1983
+ observable emits an event after the errors are set.
1984
+
1985
+ #### Returns
1986
+
1987
+ `void`
1988
+
1989
+ #### Usage Notes
1990
+
1991
+ ### Manually set the errors for a control
1992
+
1993
+ ```ts
1994
+ const login = new FormControl('someLogin');
1995
+ login.setErrors({
1996
+ notUnique: true
1997
+ });
1998
+
1999
+ expect(login.valid).toEqual(false);
2000
+ expect(login.errors).toEqual({ notUnique: true });
2001
+
2002
+ login.setValue('someOtherLogin');
2003
+
2004
+ expect(login.valid).toEqual(true);
2005
+ ```
2006
+
2007
+ #### Overrides
2008
+
2009
+ `UntypedFormControl.setErrors`
2010
+
2011
+ ***
2012
+
2013
+ ### setParent()
2014
+
2015
+ > **setParent**(`parent`): `void`
2016
+
2017
+ Defined in: node\_modules/@angular/forms/index.d.ts:534
2018
+
2019
+ Sets the parent of the control
2020
+
2021
+ #### Parameters
2022
+
2023
+ ##### parent
2024
+
2025
+ The new parent.
2026
+
2027
+ `null` | `FormGroup`\<`any`\> | `FormArray`\<`any`\>
2028
+
2029
+ #### Returns
2030
+
2031
+ `void`
2032
+
2033
+ #### Inherited from
2034
+
2035
+ `UntypedFormControl.setParent`
2036
+
2037
+ ***
2038
+
2039
+ ### setValidators()
2040
+
2041
+ > **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
2042
+
2043
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:245](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L245)
2044
+
2045
+ Sets the synchronous validators that are active on this control. Calling
2046
+ this overwrites any existing synchronous validators.
2047
+
2048
+ When you add or remove a validator at run time, you must call
2049
+ `updateValueAndValidity()` for the new validation to take effect.
2050
+
2051
+ If you want to add a new validator without affecting existing ones, consider
2052
+ using `addValidators()` method instead.
2053
+
2054
+ #### Parameters
2055
+
2056
+ ##### newValidator
2057
+
2058
+ [`Validator`](../wiki/TypeAlias.Validator)
2059
+
2060
+ ##### updateValueAndValidity
2061
+
2062
+ `boolean` = `true`
2063
+
2064
+ #### Returns
2065
+
2066
+ `void`
2067
+
2068
+ #### Overrides
2069
+
2070
+ `UntypedFormControl.setValidators`
2071
+
2072
+ ***
2073
+
2074
+ ### setValue()
2075
+
2076
+ #### Call Signature
2077
+
2078
+ > **setValue**(`valueOrObservable`, `options`?): `Subscription`
2079
+
2080
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:141](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L141)
2081
+
2082
+ Sets a new value for the form control.
2083
+
2084
+ ##### Parameters
2085
+
2086
+ ###### valueOrObservable
2087
+
2088
+ `Observable`\<`T`\>
2089
+
2090
+ ###### options?
2091
+
2092
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
2093
+
2094
+ Configuration options that determine how the control propagates changes
2095
+ and emits events when the value changes.
2096
+ The configuration options are passed to the [updateValueAndValidity](../wiki/Interface.AbstractControl#updatevalueandvalidity) method.
2097
+
2098
+ * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
2099
+ false.
2100
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
2101
+ `valueChanges`
2102
+ observables emit events with the latest status and value when the control value is updated.
2103
+ When false, no events are emitted.
2104
+ * `emitModelToViewChange`: When true or not supplied (the default), each change triggers an
2105
+ `onChange` event to
2106
+ update the view.
2107
+ * `emitViewToModelChange`: When true or not supplied (the default), each change triggers an
2108
+ `ngModelChange`
2109
+ event to update the model.
2110
+
2111
+ ##### Returns
2112
+
2113
+ `Subscription`
2114
+
2115
+ ##### Overrides
2116
+
2117
+ `UntypedFormControl.setValue`
2118
+
2119
+ #### Call Signature
2120
+
2121
+ > **setValue**(`valueOrObservable`, `options`?): `void`
2122
+
2123
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L145)
2124
+
2125
+ ##### Parameters
2126
+
2127
+ ###### valueOrObservable
2128
+
2129
+ `T`
2130
+
2131
+ ###### options?
2132
+
2133
+ [`ControlOptions`](../wiki/Interface.ControlOptions)
2134
+
2135
+ ##### Returns
2136
+
2137
+ `void`
2138
+
2139
+ ##### Overrides
2140
+
2141
+ `UntypedFormControl.setValue`
2142
+
2143
+ ***
2144
+
2145
+ ### updateValueAndValidity()
2146
+
2147
+ > **updateValueAndValidity**(`opts`?): `void`
2148
+
2149
+ Defined in: node\_modules/@angular/forms/index.d.ts:566
2150
+
2151
+ Recalculates the value and validation status of the control.
2152
+
2153
+ By default, it also updates the value and validity of its ancestors.
2154
+
2155
+ #### Parameters
2156
+
2157
+ ##### opts?
2158
+
2159
+ Configuration options determine how the control propagates changes and emits events
2160
+ after updates and validity checks are applied.
2161
+ * `onlySelf`: When true, only update this control. When false or not supplied,
2162
+ update all direct ancestors. Default is false.
2163
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
2164
+ `valueChanges` and `events`
2165
+ observables emit events with the latest status and value when the control is updated.
2166
+ When false, no events are emitted.
2167
+
2168
+ ###### emitEvent?
2169
+
2170
+ `boolean`
2171
+
2172
+ ###### onlySelf?
2173
+
2174
+ `boolean`
2175
+
2176
+ #### Returns
2177
+
2178
+ `void`
2179
+
2180
+ #### Inherited from
2181
+
2182
+ `UntypedFormControl.updateValueAndValidity`
2183
+
2184
+ ***
2185
+
2186
+ ### validateOn()
2187
+
2188
+ > **validateOn**(`observableValidation`): `Subscription`
2189
+
2190
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:265](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/forms/src/lib/form-control.ts#L265)
2191
+
2192
+ #### Parameters
2193
+
2194
+ ##### observableValidation
2195
+
2196
+ `Observable`\<`null` \| `object`\>
2197
+
2198
+ #### Returns
2199
+
2200
+ `Subscription`