@rxap/forms 19.1.0-dev.0 → 19.1.0-dev.1

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 (408) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compodoc/changelog.html +5 -0
  3. package/compodoc/directives/FormDirective.html +128 -80
  4. package/compodoc/interfaces/FormLoadFailedMethod.html +2 -2
  5. package/compodoc/interfaces/FormLoadMethod.html +33 -3
  6. package/compodoc/interfaces/FormLoadSuccessfulMethod.html +2 -2
  7. package/compodoc/interfaces/FormSubmitFailedMethod.html +2 -2
  8. package/compodoc/interfaces/FormSubmitMethod.html +3 -4
  9. package/compodoc/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  10. package/compodoc/js/search/search_index.js +2 -2
  11. package/compodoc/properties.html +1 -1
  12. package/docs/documentation.json +7010 -6882
  13. package/docs/html/assets/hierarchy.js +1 -1
  14. package/docs/html/classes/ControlValueAccessor.html +5 -5
  15. package/docs/html/classes/FormArrayControlManager.html +2 -2
  16. package/docs/html/classes/FormControlErrorDirective.html +5 -5
  17. package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
  18. package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
  19. package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
  20. package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
  21. package/docs/html/classes/FormControlNameDirective.html +6 -6
  22. package/docs/html/classes/FormDirective.html +16 -16
  23. package/docs/html/classes/FormGroupNameDirective.html +6 -6
  24. package/docs/html/classes/FormLoadedDirective.html +4 -4
  25. package/docs/html/classes/FormLoadingDirective.html +4 -4
  26. package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
  27. package/docs/html/classes/FormResetDirective.html +2 -2
  28. package/docs/html/classes/FormSubmitDirective.html +3 -3
  29. package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
  30. package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
  31. package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
  32. package/docs/html/classes/FormSubmittingDirective.html +4 -4
  33. package/docs/html/classes/ParentControlContainerDirective.html +2 -2
  34. package/docs/html/classes/RxapFormArray.html +34 -34
  35. package/docs/html/classes/RxapFormBuilder.html +2 -2
  36. package/docs/html/classes/RxapFormControl.html +30 -30
  37. package/docs/html/classes/RxapFormGroup.html +35 -35
  38. package/docs/html/classes/RxapFormsModule.html +2 -2
  39. package/docs/html/enums/MetadataKeys.html +2 -2
  40. package/docs/html/functions/ControlAsyncValidator.html +1 -1
  41. package/docs/html/functions/ControlChange.html +1 -1
  42. package/docs/html/functions/ControlSetValue.html +1 -1
  43. package/docs/html/functions/ControlValidator.html +1 -1
  44. package/docs/html/functions/IsArray.html +1 -1
  45. package/docs/html/functions/IsBoolean.html +1 -1
  46. package/docs/html/functions/IsComplex.html +1 -1
  47. package/docs/html/functions/IsDate.html +1 -1
  48. package/docs/html/functions/IsEmail.html +1 -1
  49. package/docs/html/functions/IsEnum.html +1 -1
  50. package/docs/html/functions/IsIP.html +1 -1
  51. package/docs/html/functions/IsInt.html +1 -1
  52. package/docs/html/functions/IsNumber-1.html +2 -2
  53. package/docs/html/functions/IsObject.html +1 -1
  54. package/docs/html/functions/IsPhoneNumber.html +1 -1
  55. package/docs/html/functions/IsPort.html +1 -1
  56. package/docs/html/functions/IsString.html +1 -1
  57. package/docs/html/functions/IsUUID.html +1 -1
  58. package/docs/html/functions/IsUrl.html +1 -1
  59. package/docs/html/functions/RxapForm.html +1 -1
  60. package/docs/html/functions/ToFormMethod.html +1 -1
  61. package/docs/html/functions/ToFormSubmitMethod.html +2 -2
  62. package/docs/html/functions/UseFormArrayControl.html +1 -1
  63. package/docs/html/functions/UseFormArrayGroup.html +1 -1
  64. package/docs/html/functions/UseFormControl.html +1 -1
  65. package/docs/html/functions/UseFormGroup.html +1 -1
  66. package/docs/html/functions/_IsNumber.html +1 -1
  67. package/docs/html/functions/controlDisabledWhile.html +1 -1
  68. package/docs/html/functions/controlDisabled_.html +1 -1
  69. package/docs/html/functions/controlEnabledWhile.html +1 -1
  70. package/docs/html/functions/controlEnabled_.html +1 -1
  71. package/docs/html/functions/controlErrorChanges_.html +1 -1
  72. package/docs/html/functions/controlReadonly_.html +1 -1
  73. package/docs/html/functions/controlStatusChanges_.html +1 -1
  74. package/docs/html/functions/controlValueChanges_.html +1 -1
  75. package/docs/html/functions/disableControl.html +1 -1
  76. package/docs/html/functions/enableControl.html +1 -1
  77. package/docs/html/functions/hasErrorAndDirty.html +1 -1
  78. package/docs/html/functions/hasErrorAndTouched.html +1 -1
  79. package/docs/html/functions/isNumber.html +2 -2
  80. package/docs/html/functions/markAllDirty.html +1 -1
  81. package/docs/html/functions/markAllPristine.html +1 -1
  82. package/docs/html/functions/markAllUntouched.html +1 -1
  83. package/docs/html/functions/mergeControlValidators.html +1 -1
  84. package/docs/html/functions/selectControlValue_.html +1 -1
  85. package/docs/html/functions/validateControlOn.html +1 -1
  86. package/docs/html/hierarchy.html +1 -1
  87. package/docs/html/index.html +2 -2
  88. package/docs/html/interfaces/AbstractControl.html +5 -5
  89. package/docs/html/interfaces/AbstractControlOptions.html +3 -3
  90. package/docs/html/interfaces/BoxedValue.html +2 -2
  91. package/docs/html/interfaces/ComplexityOptions.html +2 -2
  92. package/docs/html/interfaces/ControlOptions.html +3 -3
  93. package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
  94. package/docs/html/interfaces/FormArrayOptions.html +3 -3
  95. package/docs/html/interfaces/FormDefinition.html +6 -6
  96. package/docs/html/interfaces/FormDefinitionArray.html +3 -3
  97. package/docs/html/interfaces/FormDefinitionMetadata.html +3 -3
  98. package/docs/html/interfaces/FormGroupOptions.html +3 -3
  99. package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
  100. package/docs/html/interfaces/FormLoadMethod.html +2 -2
  101. package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
  102. package/docs/html/interfaces/FormOptions.html +3 -3
  103. package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
  104. package/docs/html/interfaces/FormSubmitMethod.html +2 -2
  105. package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  106. package/docs/html/interfaces/InjectableValidator.html +2 -2
  107. package/docs/html/interfaces/IsNumberOptions.html +3 -3
  108. package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
  109. package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +3 -3
  110. package/docs/html/interfaces/_RxapAbstractControlOptions.html +3 -3
  111. package/docs/html/modules.html +1 -1
  112. package/docs/html/types/AsyncValidator.html +1 -1
  113. package/docs/html/types/AsyncValidatorFn.html +1 -1
  114. package/docs/html/types/ChangeFn.html +1 -1
  115. package/docs/html/types/ControlEventOptions.html +1 -1
  116. package/docs/html/types/ControlInsertedFn.html +1 -1
  117. package/docs/html/types/ControlPath.html +1 -1
  118. package/docs/html/types/ControlRemovedFn.html +1 -1
  119. package/docs/html/types/ControlState.html +1 -1
  120. package/docs/html/types/EmitEvent.html +1 -1
  121. package/docs/html/types/ExtractAbstractControl.html +1 -1
  122. package/docs/html/types/ExtractStrings.html +1 -1
  123. package/docs/html/types/FormBuilderFn.html +1 -1
  124. package/docs/html/types/FormType.html +1 -1
  125. package/docs/html/types/KeyValueControls.html +1 -1
  126. package/docs/html/types/OnlySelf.html +1 -1
  127. package/docs/html/types/OrBoxedValue.html +1 -1
  128. package/docs/html/types/RxapAbstractControlOptions.html +1 -1
  129. package/docs/html/types/SetValueFn.html +1 -1
  130. package/docs/html/types/ValidationErrors.html +1 -1
  131. package/docs/html/types/Validator.html +1 -1
  132. package/docs/html/types/ValidatorFn.html +1 -1
  133. package/docs/html/types/ValidatorOrOpts.html +1 -1
  134. package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
  135. package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
  136. package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
  137. package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
  138. package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
  139. package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
  140. package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
  141. package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
  142. package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
  143. package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
  144. package/docs/html/variables/RxapValidators.html +1 -1
  145. package/docs/markdown/README.md +1 -1
  146. package/docs/markdown/classes/ControlValueAccessor.md +8 -8
  147. package/docs/markdown/classes/FormArrayControlManager.md +5 -5
  148. package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
  149. package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
  150. package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
  151. package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
  152. package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
  153. package/docs/markdown/classes/FormControlNameDirective.md +5 -5
  154. package/docs/markdown/classes/FormDirective.md +54 -46
  155. package/docs/markdown/classes/FormGroupNameDirective.md +5 -5
  156. package/docs/markdown/classes/FormLoadedDirective.md +5 -5
  157. package/docs/markdown/classes/FormLoadingDirective.md +5 -5
  158. package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
  159. package/docs/markdown/classes/FormResetDirective.md +8 -8
  160. package/docs/markdown/classes/FormSubmitDirective.md +15 -15
  161. package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
  162. package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
  163. package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
  164. package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
  165. package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
  166. package/docs/markdown/classes/RxapFormArray.md +54 -54
  167. package/docs/markdown/classes/RxapFormBuilder.md +4 -4
  168. package/docs/markdown/classes/RxapFormControl.md +50 -50
  169. package/docs/markdown/classes/RxapFormGroup.md +74 -74
  170. package/docs/markdown/classes/RxapFormsModule.md +2 -2
  171. package/docs/markdown/enumerations/MetadataKeys.md +10 -10
  172. package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
  173. package/docs/markdown/functions/ControlChange.md +2 -2
  174. package/docs/markdown/functions/ControlSetValue.md +2 -2
  175. package/docs/markdown/functions/ControlValidator.md +2 -2
  176. package/docs/markdown/functions/IsArray.md +2 -2
  177. package/docs/markdown/functions/IsBoolean.md +2 -2
  178. package/docs/markdown/functions/IsComplex.md +2 -2
  179. package/docs/markdown/functions/IsDate.md +2 -2
  180. package/docs/markdown/functions/IsEmail.md +2 -2
  181. package/docs/markdown/functions/IsEnum.md +2 -2
  182. package/docs/markdown/functions/IsIP.md +2 -2
  183. package/docs/markdown/functions/IsInt.md +2 -2
  184. package/docs/markdown/functions/IsNumber-2.md +2 -2
  185. package/docs/markdown/functions/IsNumber.md +2 -2
  186. package/docs/markdown/functions/IsObject.md +2 -2
  187. package/docs/markdown/functions/IsPhoneNumber.md +2 -2
  188. package/docs/markdown/functions/IsPort.md +2 -2
  189. package/docs/markdown/functions/IsString.md +2 -2
  190. package/docs/markdown/functions/IsUUID.md +2 -2
  191. package/docs/markdown/functions/IsUrl.md +2 -2
  192. package/docs/markdown/functions/RxapForm.md +2 -2
  193. package/docs/markdown/functions/ToFormMethod.md +2 -2
  194. package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
  195. package/docs/markdown/functions/UseFormArrayControl.md +2 -2
  196. package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
  197. package/docs/markdown/functions/UseFormControl.md +2 -2
  198. package/docs/markdown/functions/UseFormGroup.md +2 -2
  199. package/docs/markdown/functions/controlDisabled$.md +2 -2
  200. package/docs/markdown/functions/controlDisabledWhile.md +2 -2
  201. package/docs/markdown/functions/controlEnabled$.md +2 -2
  202. package/docs/markdown/functions/controlEnabledWhile.md +2 -2
  203. package/docs/markdown/functions/controlErrorChanges$.md +2 -2
  204. package/docs/markdown/functions/controlReadonly$.md +2 -2
  205. package/docs/markdown/functions/controlStatusChanges$.md +2 -2
  206. package/docs/markdown/functions/controlValueChanges$.md +2 -2
  207. package/docs/markdown/functions/disableControl.md +2 -2
  208. package/docs/markdown/functions/enableControl.md +2 -2
  209. package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
  210. package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
  211. package/docs/markdown/functions/isNumber-1.md +2 -2
  212. package/docs/markdown/functions/markAllDirty.md +2 -2
  213. package/docs/markdown/functions/markAllPristine.md +2 -2
  214. package/docs/markdown/functions/markAllUntouched.md +2 -2
  215. package/docs/markdown/functions/mergeControlValidators.md +2 -2
  216. package/docs/markdown/functions/selectControlValue$.md +2 -2
  217. package/docs/markdown/functions/validateControlOn.md +2 -2
  218. package/docs/markdown/globals.md +2 -2
  219. package/docs/markdown/interfaces/AbstractControl.md +8 -8
  220. package/docs/markdown/interfaces/AbstractControlOptions.md +4 -4
  221. package/docs/markdown/interfaces/BoxedValue.md +4 -4
  222. package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
  223. package/docs/markdown/interfaces/ControlOptions.md +9 -9
  224. package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
  225. package/docs/markdown/interfaces/FormArrayOptions.md +11 -11
  226. package/docs/markdown/interfaces/FormDefinition.md +7 -7
  227. package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
  228. package/docs/markdown/interfaces/FormDefinitionMetadata.md +10 -10
  229. package/docs/markdown/interfaces/FormGroupOptions.md +8 -8
  230. package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
  231. package/docs/markdown/interfaces/FormLoadMethod.md +17 -5
  232. package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
  233. package/docs/markdown/interfaces/FormOptions.md +8 -8
  234. package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
  235. package/docs/markdown/interfaces/FormSubmitMethod.md +5 -5
  236. package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
  237. package/docs/markdown/interfaces/InjectableValidator.md +4 -4
  238. package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
  239. package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
  240. package/docs/markdown/interfaces/RxapAbstractControlOptions.md +7 -7
  241. package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +8 -8
  242. package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
  243. package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
  244. package/docs/markdown/type-aliases/ChangeFn.md +2 -2
  245. package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
  246. package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
  247. package/docs/markdown/type-aliases/ControlPath.md +2 -2
  248. package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
  249. package/docs/markdown/type-aliases/ControlState.md +2 -2
  250. package/docs/markdown/type-aliases/EmitEvent.md +2 -2
  251. package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
  252. package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
  253. package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
  254. package/docs/markdown/type-aliases/FormType.md +2 -2
  255. package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
  256. package/docs/markdown/type-aliases/OnlySelf.md +2 -2
  257. package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
  258. package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
  259. package/docs/markdown/type-aliases/SetValueFn.md +2 -2
  260. package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
  261. package/docs/markdown/type-aliases/Validator.md +2 -2
  262. package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
  263. package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
  264. package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
  265. package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
  266. package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
  267. package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
  268. package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
  269. package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
  270. package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
  271. package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
  272. package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
  273. package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
  274. package/docs/markdown/variables/RxapValidators.md +2 -2
  275. package/docs/wiki/Class.ControlValueAccessor.md +7 -7
  276. package/docs/wiki/Class.FormArrayControlManager.md +4 -4
  277. package/docs/wiki/Class.FormControlErrorDirective.md +6 -6
  278. package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
  279. package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
  280. package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
  281. package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
  282. package/docs/wiki/Class.FormControlNameDirective.md +4 -4
  283. package/docs/wiki/Class.FormDirective.md +53 -45
  284. package/docs/wiki/Class.FormGroupNameDirective.md +4 -4
  285. package/docs/wiki/Class.FormLoadedDirective.md +4 -4
  286. package/docs/wiki/Class.FormLoadingDirective.md +4 -4
  287. package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
  288. package/docs/wiki/Class.FormResetDirective.md +7 -7
  289. package/docs/wiki/Class.FormSubmitDirective.md +14 -14
  290. package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
  291. package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
  292. package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
  293. package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
  294. package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
  295. package/docs/wiki/Class.RxapFormArray.md +53 -53
  296. package/docs/wiki/Class.RxapFormBuilder.md +3 -3
  297. package/docs/wiki/Class.RxapFormControl.md +49 -49
  298. package/docs/wiki/Class.RxapFormGroup.md +73 -73
  299. package/docs/wiki/Class.RxapFormsModule.md +1 -1
  300. package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
  301. package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
  302. package/docs/wiki/Function.ControlChange.md +1 -1
  303. package/docs/wiki/Function.ControlSetValue.md +1 -1
  304. package/docs/wiki/Function.ControlValidator.md +1 -1
  305. package/docs/wiki/Function.IsArray.md +1 -1
  306. package/docs/wiki/Function.IsBoolean.md +1 -1
  307. package/docs/wiki/Function.IsComplex.md +1 -1
  308. package/docs/wiki/Function.IsDate.md +1 -1
  309. package/docs/wiki/Function.IsEmail.md +1 -1
  310. package/docs/wiki/Function.IsEnum.md +1 -1
  311. package/docs/wiki/Function.IsIP.md +1 -1
  312. package/docs/wiki/Function.IsInt.md +1 -1
  313. package/docs/wiki/Function.IsNumber.md +1 -1
  314. package/docs/wiki/Function.IsObject.md +1 -1
  315. package/docs/wiki/Function.IsPhoneNumber.md +1 -1
  316. package/docs/wiki/Function.IsPort.md +1 -1
  317. package/docs/wiki/Function.IsString.md +1 -1
  318. package/docs/wiki/Function.IsUUID.md +1 -1
  319. package/docs/wiki/Function.IsUrl.md +1 -1
  320. package/docs/wiki/Function.RxapForm.md +1 -1
  321. package/docs/wiki/Function.ToFormMethod.md +1 -1
  322. package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
  323. package/docs/wiki/Function.UseFormArrayControl.md +1 -1
  324. package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
  325. package/docs/wiki/Function.UseFormControl.md +1 -1
  326. package/docs/wiki/Function.UseFormGroup.md +1 -1
  327. package/docs/wiki/Function._IsNumber.md +1 -1
  328. package/docs/wiki/Function.controlDisabled$.md +1 -1
  329. package/docs/wiki/Function.controlDisabledWhile.md +1 -1
  330. package/docs/wiki/Function.controlEnabled$.md +1 -1
  331. package/docs/wiki/Function.controlEnabledWhile.md +1 -1
  332. package/docs/wiki/Function.controlErrorChanges$.md +1 -1
  333. package/docs/wiki/Function.controlReadonly$.md +1 -1
  334. package/docs/wiki/Function.controlStatusChanges$.md +1 -1
  335. package/docs/wiki/Function.controlValueChanges$.md +1 -1
  336. package/docs/wiki/Function.disableControl.md +1 -1
  337. package/docs/wiki/Function.enableControl.md +1 -1
  338. package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
  339. package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
  340. package/docs/wiki/Function.isNumber.md +1 -1
  341. package/docs/wiki/Function.markAllDirty.md +1 -1
  342. package/docs/wiki/Function.markAllPristine.md +1 -1
  343. package/docs/wiki/Function.markAllUntouched.md +1 -1
  344. package/docs/wiki/Function.mergeControlValidators.md +1 -1
  345. package/docs/wiki/Function.selectControlValue$.md +1 -1
  346. package/docs/wiki/Function.validateControlOn.md +1 -1
  347. package/docs/wiki/Interface.AbstractControl.md +7 -7
  348. package/docs/wiki/Interface.AbstractControlOptions.md +3 -3
  349. package/docs/wiki/Interface.BoxedValue.md +3 -3
  350. package/docs/wiki/Interface.ComplexityOptions.md +11 -11
  351. package/docs/wiki/Interface.ControlOptions.md +8 -8
  352. package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
  353. package/docs/wiki/Interface.FormArrayOptions.md +10 -10
  354. package/docs/wiki/Interface.FormDefinition.md +6 -6
  355. package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
  356. package/docs/wiki/Interface.FormDefinitionMetadata.md +9 -9
  357. package/docs/wiki/Interface.FormGroupOptions.md +7 -7
  358. package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
  359. package/docs/wiki/Interface.FormLoadMethod.md +16 -4
  360. package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
  361. package/docs/wiki/Interface.FormOptions.md +7 -7
  362. package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
  363. package/docs/wiki/Interface.FormSubmitMethod.md +4 -4
  364. package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
  365. package/docs/wiki/Interface.InjectableValidator.md +3 -3
  366. package/docs/wiki/Interface.IsNumberOptions.md +5 -5
  367. package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
  368. package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +7 -7
  369. package/docs/wiki/Interface._RxapAbstractControlOptions.md +6 -6
  370. package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
  371. package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
  372. package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
  373. package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
  374. package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
  375. package/docs/wiki/TypeAlias.ControlPath.md +1 -1
  376. package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
  377. package/docs/wiki/TypeAlias.ControlState.md +1 -1
  378. package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
  379. package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
  380. package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
  381. package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
  382. package/docs/wiki/TypeAlias.FormType.md +1 -1
  383. package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
  384. package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
  385. package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
  386. package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
  387. package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
  388. package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
  389. package/docs/wiki/TypeAlias.Validator.md +1 -1
  390. package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
  391. package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
  392. package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
  393. package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
  394. package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
  395. package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
  396. package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
  397. package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
  398. package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
  399. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
  400. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
  401. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
  402. package/docs/wiki/Variable.RxapValidators.md +1 -1
  403. package/docs/wiki/globals.md +1 -1
  404. package/fesm2022/rxap-forms.mjs +30 -14
  405. package/fesm2022/rxap-forms.mjs.map +1 -1
  406. package/lib/directives/form.directive.d.ts +5 -5
  407. package/lib/directives/models.d.ts +5 -2
  408. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [19.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.0...@rxap/forms@19.1.0-dev.1) (2025-08-12)
7
+
8
+ ### Features
9
+
10
+ - **forms:** add reactive model-based inputs and injectable properties ([55db080](https://gitlab.com/rxap/packages/commit/55db080a15ad42eecafe9bf3f6c30be7623dc618))
11
+
6
12
  # [19.1.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.0.5-dev.0...@rxap/forms@19.1.0-dev.0) (2025-08-12)
7
13
 
8
14
  ### Features
@@ -85,6 +85,11 @@
85
85
  <h1>Change Log</h1>
86
86
  <p>All notable changes to this project will be documented in this file.
87
87
  See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
88
+ <h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.0...@rxap/forms@19.1.0-dev.1">19.1.0-dev.1</a> (2025-08-12)</h1>
89
+ <h3>Features</h3>
90
+ <ul>
91
+ <li><strong>forms:</strong> add reactive model-based inputs and injectable properties (<a href="https://gitlab.com/rxap/packages/commit/55db080a15ad42eecafe9bf3f6c30be7623dc618">55db080</a>)</li>
92
+ </ul>
88
93
  <h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.0.5-dev.0...@rxap/forms@19.1.0-dev.0">19.1.0-dev.0</a> (2025-08-12)</h1>
89
94
  <h3>Features</h3>
90
95
  <ul>
@@ -224,6 +224,11 @@
224
224
  <span class="modifier"></span>
225
225
  <a href="#form" >form</a>
226
226
  </li>
227
+ <li>
228
+ <span class="modifier">Public</span>
229
+ <span class="modifier">Readonly</span>
230
+ <a href="#initial" >initial</a>
231
+ </li>
227
232
  <li>
228
233
  <span class="modifier">Public</span>
229
234
  <span class="modifier">Readonly</span>
@@ -306,9 +311,6 @@
306
311
  <tr>
307
312
  <td class="col-md-4">
308
313
  <ul class="index-list">
309
- <li>
310
- <a href="#initial" >initial</a>
311
- </li>
312
314
  <li>
313
315
  <a href="#loadFailedMethod" >loadFailedMethod</a>
314
316
  </li>
@@ -425,12 +427,12 @@
425
427
  <tbody>
426
428
  <tr>
427
429
  <td class="col-md-4">
428
- <code>constructor(cdr: ChangeDetectorRef, formDefinition: <a href="../interfaces/FormDefinition.html" target="_self">FormDefinition | null</a>, submitMethod: <a href="../interfaces/FormSubmitMethod.html" target="_self">FormSubmitMethod&lt;any&gt; | null</a>, loadMethod: <a href="../interfaces/FormLoadMethod.html" target="_self">FormLoadMethod | null</a>, loadFailedMethod: <a href="../interfaces/FormLoadFailedMethod.html" target="_self">FormLoadFailedMethod | null</a>, loadSuccessfulMethod: <a href="../interfaces/FormLoadSuccessfulMethod.html" target="_self">FormLoadSuccessfulMethod | null</a>, submitFailedMethod: <a href="../interfaces/FormSubmitFailedMethod.html" target="_self">FormSubmitFailedMethod | null</a>, submitSuccessfulMethod: <a href="../interfaces/FormSubmitSuccessfulMethod.html" target="_self">FormSubmitSuccessfulMethod | null</a>, formDefinitionBuilder: <a href="../classes/RxapFormBuilder.html" target="_self">RxapFormBuilder | null</a>, loadingIndicatorService: LoadingIndicatorService | null)</code>
430
+ <code>constructor(cdr: ChangeDetectorRef, formDefinition: <a href="../interfaces/FormDefinition.html" target="_self">FormDefinition | null</a>, submitMethod: <a href="../interfaces/FormSubmitMethod.html" target="_self">FormSubmitMethod&lt;any&gt; | null</a>, loadMethod: <a href="../interfaces/FormLoadMethod.html" target="_self">FormLoadMethod | null</a>, loadFailedMethod: <a href="../interfaces/FormLoadFailedMethod.html" target="_self">FormLoadFailedMethod | null</a>, loadSuccessfulMethod: <a href="../interfaces/FormLoadSuccessfulMethod.html" target="_self">FormLoadSuccessfulMethod | null</a>, submitFailedMethod: <a href="../interfaces/FormSubmitFailedMethod.html" target="_self">FormSubmitFailedMethod | null</a>, submitSuccessfulMethod: <a href="../interfaces/FormSubmitSuccessfulMethod.html" target="_self">FormSubmitSuccessfulMethod | null</a>, formDefinitionBuilder: <a href="../classes/RxapFormBuilder.html" target="_self">RxapFormBuilder | null</a>, loadingIndicatorService: LoadingIndicatorService | null, context, initial: T | null)</code>
429
431
  </td>
430
432
  </tr>
431
433
  <tr>
432
434
  <td class="col-md-4">
433
- <div class="io-line">Defined in <a href="" data-line="203" class="link-to-prism">src/lib/directives/form.directive.ts:203</a></div>
435
+ <div class="io-line">Defined in <a href="" data-line="207" class="link-to-prism">src/lib/directives/form.directive.ts:207</a></div>
434
436
  </td>
435
437
  </tr>
436
438
 
@@ -567,6 +569,29 @@
567
569
  </td>
568
570
 
569
571
  </tr>
572
+ <tr>
573
+ <td>context</td>
574
+
575
+ <td>
576
+ </td>
577
+
578
+ <td>
579
+ No
580
+ </td>
581
+
582
+ </tr>
583
+ <tr>
584
+ <td>initial</td>
585
+
586
+ <td>
587
+ <code>T | null</code>
588
+ </td>
589
+
590
+ <td>
591
+ No
592
+ </td>
593
+
594
+ </tr>
570
595
  </tbody>
571
596
  </table>
572
597
  </div>
@@ -578,27 +603,6 @@
578
603
 
579
604
  <section data-compodoc="block-inputs">
580
605
  <h3 id="inputs">Inputs</h3>
581
- <table class="table table-sm table-bordered">
582
- <tbody>
583
- <tr>
584
- <td class="col-md-4">
585
- <a name="initial"></a>
586
- <b>initial</b>
587
- </td>
588
- </tr>
589
- <tr>
590
- <td class="col-md-4">
591
- <i>Type : </i> <code>T</code>
592
-
593
- </td>
594
- </tr>
595
- <tr>
596
- <td class="col-md-2" colspan="2">
597
- <div class="io-line">Defined in <a href="" data-line="119" class="link-to-prism">src/lib/directives/form.directive.ts:119</a></div>
598
- </td>
599
- </tr>
600
- </tbody>
601
- </table>
602
606
  <table class="table table-sm table-bordered">
603
607
  <tbody>
604
608
  <tr>
@@ -620,7 +624,7 @@
620
624
  </tr>
621
625
  <tr>
622
626
  <td class="col-md-2" colspan="2">
623
- <div class="io-line">Defined in <a href="" data-line="192" class="link-to-prism">src/lib/directives/form.directive.ts:192</a></div>
627
+ <div class="io-line">Defined in <a href="" data-line="196" class="link-to-prism">src/lib/directives/form.directive.ts:196</a></div>
624
628
  </td>
625
629
  </tr>
626
630
  </tbody>
@@ -646,7 +650,7 @@
646
650
  </tr>
647
651
  <tr>
648
652
  <td class="col-md-2" colspan="2">
649
- <div class="io-line">Defined in <a href="" data-line="189" class="link-to-prism">src/lib/directives/form.directive.ts:189</a></div>
653
+ <div class="io-line">Defined in <a href="" data-line="193" class="link-to-prism">src/lib/directives/form.directive.ts:193</a></div>
650
654
  </td>
651
655
  </tr>
652
656
  </tbody>
@@ -672,7 +676,7 @@
672
676
  </tr>
673
677
  <tr>
674
678
  <td class="col-md-2" colspan="2">
675
- <div class="io-line">Defined in <a href="" data-line="195" class="link-to-prism">src/lib/directives/form.directive.ts:195</a></div>
679
+ <div class="io-line">Defined in <a href="" data-line="199" class="link-to-prism">src/lib/directives/form.directive.ts:199</a></div>
676
680
  </td>
677
681
  </tr>
678
682
  </tbody>
@@ -693,7 +697,7 @@
693
697
  </tr>
694
698
  <tr>
695
699
  <td class="col-md-2" colspan="2">
696
- <div class="io-line">Defined in <a href="" data-line="166" class="link-to-prism">src/lib/directives/form.directive.ts:166</a></div>
700
+ <div class="io-line">Defined in <a href="" data-line="170" class="link-to-prism">src/lib/directives/form.directive.ts:170</a></div>
697
701
  </td>
698
702
  </tr>
699
703
  </tbody>
@@ -719,7 +723,7 @@
719
723
  </tr>
720
724
  <tr>
721
725
  <td class="col-md-2" colspan="2">
722
- <div class="io-line">Defined in <a href="" data-line="198" class="link-to-prism">src/lib/directives/form.directive.ts:198</a></div>
726
+ <div class="io-line">Defined in <a href="" data-line="202" class="link-to-prism">src/lib/directives/form.directive.ts:202</a></div>
723
727
  </td>
724
728
  </tr>
725
729
  </tbody>
@@ -745,7 +749,7 @@
745
749
  </tr>
746
750
  <tr>
747
751
  <td class="col-md-2" colspan="2">
748
- <div class="io-line">Defined in <a href="" data-line="186" class="link-to-prism">src/lib/directives/form.directive.ts:186</a></div>
752
+ <div class="io-line">Defined in <a href="" data-line="190" class="link-to-prism">src/lib/directives/form.directive.ts:190</a></div>
749
753
  </td>
750
754
  </tr>
751
755
  </tbody>
@@ -771,7 +775,7 @@
771
775
  </tr>
772
776
  <tr>
773
777
  <td class="col-md-2" colspan="2">
774
- <div class="io-line">Defined in <a href="" data-line="201" class="link-to-prism">src/lib/directives/form.directive.ts:201</a></div>
778
+ <div class="io-line">Defined in <a href="" data-line="205" class="link-to-prism">src/lib/directives/form.directive.ts:205</a></div>
775
779
  </td>
776
780
  </tr>
777
781
  </tbody>
@@ -795,7 +799,7 @@
795
799
  </tr>
796
800
  <tr>
797
801
  <td class="col-md-2" colspan="2">
798
- <div class="io-line">Defined in <a href="" data-line="134" class="link-to-prism">src/lib/directives/form.directive.ts:134</a></div>
802
+ <div class="io-line">Defined in <a href="" data-line="138" class="link-to-prism">src/lib/directives/form.directive.ts:138</a></div>
799
803
  </td>
800
804
  </tr>
801
805
  </tbody>
@@ -816,7 +820,7 @@
816
820
  </tr>
817
821
  <tr>
818
822
  <td class="col-md-2" colspan="2">
819
- <div class="io-line">Defined in <a href="" data-line="131" class="link-to-prism">src/lib/directives/form.directive.ts:131</a></div>
823
+ <div class="io-line">Defined in <a href="" data-line="135" class="link-to-prism">src/lib/directives/form.directive.ts:135</a></div>
820
824
  </td>
821
825
  </tr>
822
826
  <tr>
@@ -846,7 +850,7 @@ is clicked.</p>
846
850
  </tr>
847
851
  <tr>
848
852
  <td class="col-md-2" colspan="2">
849
- <div class="io-line">Defined in <a href="" data-line="138" class="link-to-prism">src/lib/directives/form.directive.ts:138</a></div>
853
+ <div class="io-line">Defined in <a href="" data-line="142" class="link-to-prism">src/lib/directives/form.directive.ts:142</a></div>
850
854
  </td>
851
855
  </tr>
852
856
  </tbody>
@@ -872,7 +876,7 @@ is clicked.</p>
872
876
  </tr>
873
877
  <tr>
874
878
  <td class="col-md-4">
875
- <div class="io-line">Defined in <a href="" data-line="156" class="link-to-prism">src/lib/directives/form.directive.ts:156</a></div>
879
+ <div class="io-line">Defined in <a href="" data-line="160" class="link-to-prism">src/lib/directives/form.directive.ts:160</a></div>
876
880
  </td>
877
881
  </tr>
878
882
 
@@ -898,7 +902,7 @@ is clicked.</p>
898
902
  </tr>
899
903
  <tr>
900
904
  <td class="col-md-4">
901
- <div class="io-line">Defined in <a href="" data-line="151" class="link-to-prism">src/lib/directives/form.directive.ts:151</a></div>
905
+ <div class="io-line">Defined in <a href="" data-line="155" class="link-to-prism">src/lib/directives/form.directive.ts:155</a></div>
902
906
  </td>
903
907
  </tr>
904
908
 
@@ -924,7 +928,7 @@ is clicked.</p>
924
928
  </tr>
925
929
  <tr>
926
930
  <td class="col-md-4">
927
- <div class="io-line">Defined in <a href="" data-line="161" class="link-to-prism">src/lib/directives/form.directive.ts:161</a></div>
931
+ <div class="io-line">Defined in <a href="" data-line="165" class="link-to-prism">src/lib/directives/form.directive.ts:165</a></div>
928
932
  </td>
929
933
  </tr>
930
934
 
@@ -950,7 +954,7 @@ is clicked.</p>
950
954
  </tr>
951
955
  <tr>
952
956
  <td class="col-md-4">
953
- <div class="io-line">Defined in <a href="" data-line="146" class="link-to-prism">src/lib/directives/form.directive.ts:146</a></div>
957
+ <div class="io-line">Defined in <a href="" data-line="150" class="link-to-prism">src/lib/directives/form.directive.ts:150</a></div>
954
958
  </td>
955
959
  </tr>
956
960
 
@@ -976,7 +980,7 @@ is clicked.</p>
976
980
  </tr>
977
981
  <tr>
978
982
  <td class="col-md-4">
979
- <div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/lib/directives/form.directive.ts:141</a></div>
983
+ <div class="io-line">Defined in <a href="" data-line="145" class="link-to-prism">src/lib/directives/form.directive.ts:145</a></div>
980
984
  </td>
981
985
  </tr>
982
986
 
@@ -1013,8 +1017,8 @@ is clicked.</p>
1013
1017
 
1014
1018
  <tr>
1015
1019
  <td class="col-md-4">
1016
- <div class="io-line">Defined in <a href="" data-line="474"
1017
- class="link-to-prism">src/lib/directives/form.directive.ts:474</a></div>
1020
+ <div class="io-line">Defined in <a href="" data-line="491"
1021
+ class="link-to-prism">src/lib/directives/form.directive.ts:491</a></div>
1018
1022
  </td>
1019
1023
  </tr>
1020
1024
 
@@ -1052,8 +1056,8 @@ is clicked.</p>
1052
1056
 
1053
1057
  <tr>
1054
1058
  <td class="col-md-4">
1055
- <div class="io-line">Defined in <a href="" data-line="464"
1056
- class="link-to-prism">src/lib/directives/form.directive.ts:464</a></div>
1059
+ <div class="io-line">Defined in <a href="" data-line="481"
1060
+ class="link-to-prism">src/lib/directives/form.directive.ts:481</a></div>
1057
1061
  </td>
1058
1062
  </tr>
1059
1063
 
@@ -1121,8 +1125,8 @@ is clicked.</p>
1121
1125
 
1122
1126
  <tr>
1123
1127
  <td class="col-md-4">
1124
- <div class="io-line">Defined in <a href="" data-line="404"
1125
- class="link-to-prism">src/lib/directives/form.directive.ts:404</a></div>
1128
+ <div class="io-line">Defined in <a href="" data-line="420"
1129
+ class="link-to-prism">src/lib/directives/form.directive.ts:420</a></div>
1126
1130
  </td>
1127
1131
  </tr>
1128
1132
 
@@ -1190,8 +1194,8 @@ is clicked.</p>
1190
1194
 
1191
1195
  <tr>
1192
1196
  <td class="col-md-4">
1193
- <div class="io-line">Defined in <a href="" data-line="454"
1194
- class="link-to-prism">src/lib/directives/form.directive.ts:454</a></div>
1197
+ <div class="io-line">Defined in <a href="" data-line="471"
1198
+ class="link-to-prism">src/lib/directives/form.directive.ts:471</a></div>
1195
1199
  </td>
1196
1200
  </tr>
1197
1201
 
@@ -1260,8 +1264,8 @@ is clicked.</p>
1260
1264
 
1261
1265
  <tr>
1262
1266
  <td class="col-md-4">
1263
- <div class="io-line">Defined in <a href="" data-line="322"
1264
- class="link-to-prism">src/lib/directives/form.directive.ts:322</a></div>
1267
+ <div class="io-line">Defined in <a href="" data-line="338"
1268
+ class="link-to-prism">src/lib/directives/form.directive.ts:338</a></div>
1265
1269
  </td>
1266
1270
  </tr>
1267
1271
 
@@ -1329,8 +1333,8 @@ is clicked.</p>
1329
1333
 
1330
1334
  <tr>
1331
1335
  <td class="col-md-4">
1332
- <div class="io-line">Defined in <a href="" data-line="488"
1333
- class="link-to-prism">src/lib/directives/form.directive.ts:488</a></div>
1336
+ <div class="io-line">Defined in <a href="" data-line="505"
1337
+ class="link-to-prism">src/lib/directives/form.directive.ts:505</a></div>
1334
1338
  </td>
1335
1339
  </tr>
1336
1340
 
@@ -1368,8 +1372,8 @@ is clicked.</p>
1368
1372
 
1369
1373
  <tr>
1370
1374
  <td class="col-md-4">
1371
- <div class="io-line">Defined in <a href="" data-line="534"
1372
- class="link-to-prism">src/lib/directives/form.directive.ts:534</a></div>
1375
+ <div class="io-line">Defined in <a href="" data-line="551"
1376
+ class="link-to-prism">src/lib/directives/form.directive.ts:551</a></div>
1373
1377
  </td>
1374
1378
  </tr>
1375
1379
 
@@ -1437,8 +1441,8 @@ is clicked.</p>
1437
1441
 
1438
1442
  <tr>
1439
1443
  <td class="col-md-4">
1440
- <div class="io-line">Defined in <a href="" data-line="547"
1441
- class="link-to-prism">src/lib/directives/form.directive.ts:547</a></div>
1444
+ <div class="io-line">Defined in <a href="" data-line="564"
1445
+ class="link-to-prism">src/lib/directives/form.directive.ts:564</a></div>
1442
1446
  </td>
1443
1447
  </tr>
1444
1448
 
@@ -1510,7 +1514,7 @@ is clicked.</p>
1510
1514
  </tr>
1511
1515
  <tr>
1512
1516
  <td class="col-md-4">
1513
- <div class="io-line">Defined in <a href="" data-line="183" class="link-to-prism">src/lib/directives/form.directive.ts:183</a></div>
1517
+ <div class="io-line">Defined in <a href="" data-line="187" class="link-to-prism">src/lib/directives/form.directive.ts:187</a></div>
1514
1518
  </td>
1515
1519
  </tr>
1516
1520
 
@@ -1548,7 +1552,7 @@ is clicked.</p>
1548
1552
  </tr>
1549
1553
  <tr>
1550
1554
  <td class="col-md-4">
1551
- <div class="io-line">Defined in <a href="" data-line="206" class="link-to-prism">src/lib/directives/form.directive.ts:206</a></div>
1555
+ <div class="io-line">Defined in <a href="" data-line="210" class="link-to-prism">src/lib/directives/form.directive.ts:210</a></div>
1552
1556
  </td>
1553
1557
  </tr>
1554
1558
 
@@ -1570,12 +1574,12 @@ is clicked.</p>
1570
1574
  </tr>
1571
1575
  <tr>
1572
1576
  <td class="col-md-4">
1573
- <i>Default value : </i><code>input&lt;Record&lt;string, unknown&gt;&gt;({})</code>
1577
+ <i>Default value : </i><code>model&lt;unknown | null&gt;(null)</code>
1574
1578
  </td>
1575
1579
  </tr>
1576
1580
  <tr>
1577
1581
  <td class="col-md-4">
1578
- <div class="io-line">Defined in <a href="" data-line="121" class="link-to-prism">src/lib/directives/form.directive.ts:121</a></div>
1582
+ <div class="io-line">Defined in <a href="" data-line="125" class="link-to-prism">src/lib/directives/form.directive.ts:125</a></div>
1579
1583
  </td>
1580
1584
  </tr>
1581
1585
 
@@ -1603,7 +1607,34 @@ is clicked.</p>
1603
1607
  </tr>
1604
1608
  <tr>
1605
1609
  <td class="col-md-4">
1606
- <div class="io-line">Defined in <a href="" data-line="116" class="link-to-prism">src/lib/directives/form.directive.ts:116</a></div>
1610
+ <div class="io-line">Defined in <a href="" data-line="121" class="link-to-prism">src/lib/directives/form.directive.ts:121</a></div>
1611
+ </td>
1612
+ </tr>
1613
+
1614
+
1615
+ </tbody>
1616
+ </table>
1617
+ <table class="table table-sm table-bordered">
1618
+ <tbody>
1619
+ <tr>
1620
+ <td class="col-md-4">
1621
+ <a name="initial"></a>
1622
+ <span class="name">
1623
+ <span class="modifier">Public</span>
1624
+ <span class="modifier">Readonly</span>
1625
+ <span ><b>initial</b></span>
1626
+ <a href="#initial"><span class="icon ion-ios-link"></span></a>
1627
+ </span>
1628
+ </td>
1629
+ </tr>
1630
+ <tr>
1631
+ <td class="col-md-4">
1632
+ <i>Default value : </i><code>model&lt;T | null&gt;(null)</code>
1633
+ </td>
1634
+ </tr>
1635
+ <tr>
1636
+ <td class="col-md-4">
1637
+ <div class="io-line">Defined in <a href="" data-line="123" class="link-to-prism">src/lib/directives/form.directive.ts:123</a></div>
1607
1638
  </td>
1608
1639
  </tr>
1609
1640
 
@@ -1630,7 +1661,7 @@ is clicked.</p>
1630
1661
  </tr>
1631
1662
  <tr>
1632
1663
  <td class="col-md-4">
1633
- <div class="io-line">Defined in <a href="" data-line="180" class="link-to-prism">src/lib/directives/form.directive.ts:180</a></div>
1664
+ <div class="io-line">Defined in <a href="" data-line="184" class="link-to-prism">src/lib/directives/form.directive.ts:184</a></div>
1634
1665
  </td>
1635
1666
  </tr>
1636
1667
 
@@ -1657,7 +1688,7 @@ is clicked.</p>
1657
1688
  </tr>
1658
1689
  <tr>
1659
1690
  <td class="col-md-4">
1660
- <div class="io-line">Defined in <a href="" data-line="179" class="link-to-prism">src/lib/directives/form.directive.ts:179</a></div>
1691
+ <div class="io-line">Defined in <a href="" data-line="183" class="link-to-prism">src/lib/directives/form.directive.ts:183</a></div>
1661
1692
  </td>
1662
1693
  </tr>
1663
1694
 
@@ -1684,7 +1715,7 @@ is clicked.</p>
1684
1715
  </tr>
1685
1716
  <tr>
1686
1717
  <td class="col-md-4">
1687
- <div class="io-line">Defined in <a href="" data-line="181" class="link-to-prism">src/lib/directives/form.directive.ts:181</a></div>
1718
+ <div class="io-line">Defined in <a href="" data-line="185" class="link-to-prism">src/lib/directives/form.directive.ts:185</a></div>
1688
1719
  </td>
1689
1720
  </tr>
1690
1721
 
@@ -1711,7 +1742,7 @@ is clicked.</p>
1711
1742
  </tr>
1712
1743
  <tr>
1713
1744
  <td class="col-md-4">
1714
- <div class="io-line">Defined in <a href="" data-line="178" class="link-to-prism">src/lib/directives/form.directive.ts:178</a></div>
1745
+ <div class="io-line">Defined in <a href="" data-line="182" class="link-to-prism">src/lib/directives/form.directive.ts:182</a></div>
1715
1746
  </td>
1716
1747
  </tr>
1717
1748
 
@@ -1738,7 +1769,7 @@ is clicked.</p>
1738
1769
  </tr>
1739
1770
  <tr>
1740
1771
  <td class="col-md-4">
1741
- <div class="io-line">Defined in <a href="" data-line="177" class="link-to-prism">src/lib/directives/form.directive.ts:177</a></div>
1772
+ <div class="io-line">Defined in <a href="" data-line="181" class="link-to-prism">src/lib/directives/form.directive.ts:181</a></div>
1742
1773
  </td>
1743
1774
  </tr>
1744
1775
 
@@ -1767,7 +1798,7 @@ is clicked.</p>
1767
1798
  </tr>
1768
1799
  <tr>
1769
1800
  <td class="col-md-4">
1770
- <div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/lib/directives/form.directive.ts:141</a></div>
1801
+ <div class="io-line">Defined in <a href="" data-line="145" class="link-to-prism">src/lib/directives/form.directive.ts:145</a></div>
1771
1802
  </td>
1772
1803
  </tr>
1773
1804
 
@@ -1789,7 +1820,7 @@ is clicked.</p>
1789
1820
  </tr>
1790
1821
  <tr>
1791
1822
  <td class="col-md-4">
1792
- <div class="io-line">Defined in <a href="" data-line="146" class="link-to-prism">src/lib/directives/form.directive.ts:146</a></div>
1823
+ <div class="io-line">Defined in <a href="" data-line="150" class="link-to-prism">src/lib/directives/form.directive.ts:150</a></div>
1793
1824
  </td>
1794
1825
  </tr>
1795
1826
 
@@ -1811,7 +1842,7 @@ is clicked.</p>
1811
1842
  </tr>
1812
1843
  <tr>
1813
1844
  <td class="col-md-4">
1814
- <div class="io-line">Defined in <a href="" data-line="151" class="link-to-prism">src/lib/directives/form.directive.ts:151</a></div>
1845
+ <div class="io-line">Defined in <a href="" data-line="155" class="link-to-prism">src/lib/directives/form.directive.ts:155</a></div>
1815
1846
  </td>
1816
1847
  </tr>
1817
1848
 
@@ -1833,7 +1864,7 @@ is clicked.</p>
1833
1864
  </tr>
1834
1865
  <tr>
1835
1866
  <td class="col-md-4">
1836
- <div class="io-line">Defined in <a href="" data-line="156" class="link-to-prism">src/lib/directives/form.directive.ts:156</a></div>
1867
+ <div class="io-line">Defined in <a href="" data-line="160" class="link-to-prism">src/lib/directives/form.directive.ts:160</a></div>
1837
1868
  </td>
1838
1869
  </tr>
1839
1870
 
@@ -1855,7 +1886,7 @@ is clicked.</p>
1855
1886
  </tr>
1856
1887
  <tr>
1857
1888
  <td class="col-md-4">
1858
- <div class="io-line">Defined in <a href="" data-line="161" class="link-to-prism">src/lib/directives/form.directive.ts:161</a></div>
1889
+ <div class="io-line">Defined in <a href="" data-line="165" class="link-to-prism">src/lib/directives/form.directive.ts:165</a></div>
1859
1890
  </td>
1860
1891
  </tr>
1861
1892
 
@@ -1878,7 +1909,7 @@ is clicked.</p>
1878
1909
  </tr>
1879
1910
  <tr>
1880
1911
  <td class="col-md-4">
1881
- <div class="io-line">Defined in <a href="" data-line="166" class="link-to-prism">src/lib/directives/form.directive.ts:166</a></div>
1912
+ <div class="io-line">Defined in <a href="" data-line="170" class="link-to-prism">src/lib/directives/form.directive.ts:170</a></div>
1882
1913
  </td>
1883
1914
  </tr>
1884
1915
  <tr>
@@ -1936,7 +1967,7 @@ is clicked.</p>
1936
1967
  </tr>
1937
1968
  <tr>
1938
1969
  <td class="col-md-4">
1939
- <div class="io-line">Defined in <a href="" data-line="173" class="link-to-prism">src/lib/directives/form.directive.ts:173</a></div>
1970
+ <div class="io-line">Defined in <a href="" data-line="177" class="link-to-prism">src/lib/directives/form.directive.ts:177</a></div>
1940
1971
  </td>
1941
1972
  </tr>
1942
1973
 
@@ -1958,6 +1989,7 @@ is clicked.</p>
1958
1989
  input,
1959
1990
  Input,
1960
1991
  isDevMode,
1992
+ model,
1961
1993
  OnChanges,
1962
1994
  OnDestroy,
1963
1995
  OnInit,
@@ -1989,6 +2021,10 @@ import {
1989
2021
  import { RxapFormBuilder } from &#x27;../form-builder&#x27;;
1990
2022
  import { RxapFormGroup } from &#x27;../form-group&#x27;;
1991
2023
  import { FormDefinition } from &#x27;../model&#x27;;
2024
+ import {
2025
+ RXAP_FORM_CONTEXT,
2026
+ RXAP_FORM_INITIAL_STATE,
2027
+ } from &#x27;../tokens&#x27;;
1992
2028
  import {
1993
2029
  FormLoadFailedMethod,
1994
2030
  FormLoadMethod,
@@ -2065,10 +2101,9 @@ export class FormDirective&lt;T &#x3D; any&gt;
2065
2101
  implements OnInit, OnChanges, OnDestroy {
2066
2102
  public override form!: RxapFormGroup&lt;T&gt;;
2067
2103
 
2068
- @Input()
2069
- public initial?: T;
2104
+ public readonly initial &#x3D; model&lt;T | null&gt;(null);
2070
2105
 
2071
- public readonly context &#x3D; input&lt;Record&lt;string, unknown&gt;&gt;({});
2106
+ public readonly context &#x3D; model&lt;unknown | null&gt;(null);
2072
2107
 
2073
2108
  /**
2074
2109
  * Emits when the submit method is executed without errors. The result of the
@@ -2195,6 +2230,12 @@ export class FormDirective&lt;T &#x3D; any&gt;
2195
2230
  @Optional()
2196
2231
  @Inject(LoadingIndicatorService)
2197
2232
  protected readonly loadingIndicatorService: LoadingIndicatorService | null &#x3D; null,
2233
+ @Optional()
2234
+ @Inject(RXAP_FORM_CONTEXT)
2235
+ context: unknown &#x3D; null,
2236
+ @Optional()
2237
+ @Inject(RXAP_FORM_INITIAL_STATE)
2238
+ initial: T | null &#x3D; null,
2198
2239
  ) {
2199
2240
  super([], []);
2200
2241
  this.submitMethod &#x3D; submitMethod ?? this.submitMethod;
@@ -2212,6 +2253,12 @@ export class FormDirective&lt;T &#x3D; any&gt;
2212
2253
  }
2213
2254
  this.loadingIndicatorService?.attachLoading(this.loading$);
2214
2255
  this.loadingIndicatorService?.attachLoading(this.submitting$);
2256
+ if (context) {
2257
+ this.context.set(context);
2258
+ }
2259
+ if (initial &amp;&amp; typeof initial &#x3D;&#x3D;&#x3D; &#x27;object&#x27; &amp;&amp; !Array.isArray(initial)) {
2260
+ this.initial.set(initial);
2261
+ }
2215
2262
  }
2216
2263
 
2217
2264
  public override ngOnChanges(changes: SimpleChanges) {
@@ -2352,17 +2399,18 @@ export class FormDirective&lt;T &#x3D; any&gt;
2352
2399
  }
2353
2400
 
2354
2401
  protected loadInitialState(form: RxapFormGroup): void {
2355
- if (this.initial) {
2402
+ const initial &#x3D; this.initial();
2403
+ if (initial &amp;&amp; typeof initial &#x3D;&#x3D;&#x3D; &#x27;object&#x27; &amp;&amp; !Array.isArray(initial)) {
2356
2404
  if (isDevMode()) {
2357
2405
  console.log(&#x27;use the value from input initial&#x27;);
2358
2406
  }
2359
- form.patchValue(this.initial);
2407
+ form.patchValue(initial);
2360
2408
  } else {
2361
2409
  if (this.loadMethod) {
2362
2410
  this.loading$.enable();
2363
2411
 
2364
2412
  try {
2365
- const resultOrPromise &#x3D; this.loadMethod.call();
2413
+ const resultOrPromise &#x3D; this.loadMethod.call({ context: this.context(), initial: this.initial() });
2366
2414
  if (isPromise(resultOrPromise)) {
2367
2415
  resultOrPromise
2368
2416
  .then((value) &#x3D;&gt; {
@@ -243,11 +243,11 @@
243
243
  } from &#x27;@rxap/pattern&#x27;;
244
244
 
245
245
  export interface FormSubmitMethod&lt;T&gt; extends MethodWithParameters&lt;any, T&gt; {
246
- call(parameters: T, context?: Record&lt;string, unknown&gt;): any | Promise&lt;any&gt;;
246
+ call(parameters: T, context?: unknown): any | Promise&lt;any&gt;;
247
247
  }
248
248
 
249
249
  export interface FormLoadMethod&lt;T &#x3D; any&gt; extends Method&lt;T&gt; {
250
- call(): T | Promise&lt;T&gt;;
250
+ call(data: { context: unknown | null, initial: unknown | null }): T | Promise&lt;T&gt;;
251
251
  }
252
252
 
253
253
  export interface FormLoadFailedMethod extends MethodWithParameters {