@rxap/forms 21.0.1-dev.0 → 21.0.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 (426) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/compodoc/changelog.html +34 -0
  3. package/compodoc/dependencies.html +8 -8
  4. package/compodoc/directives/FormControlErrorDirective.html +97 -166
  5. package/compodoc/directives/FormControlMarkDirtyDirective.html +5 -107
  6. package/compodoc/directives/FormControlMarkPristineDirective.html +5 -107
  7. package/compodoc/directives/FormControlMarkTouchedDirective.html +5 -107
  8. package/compodoc/directives/FormControlMarkUntouchedDirective.html +5 -107
  9. package/compodoc/directives/FormControlNameDirective.html +12 -124
  10. package/compodoc/directives/FormDirective.html +1032 -1057
  11. package/compodoc/directives/FormGroupNameDirective.html +16 -111
  12. package/compodoc/directives/FormLoadedDirective.html +16 -96
  13. package/compodoc/directives/FormLoadingDirective.html +16 -96
  14. package/compodoc/directives/FormLoadingErrorDirective.html +15 -91
  15. package/compodoc/directives/FormResetDirective.html +47 -101
  16. package/compodoc/directives/FormSubmitDirective.html +45 -100
  17. package/compodoc/directives/FormSubmitFailedDirective.html +15 -91
  18. package/compodoc/directives/FormSubmitInvalidDirective.html +14 -95
  19. package/compodoc/directives/FormSubmitSuccessfulDirective.html +14 -95
  20. package/compodoc/directives/FormSubmittingDirective.html +16 -96
  21. package/compodoc/graph/dependencies.svg +15 -441
  22. package/compodoc/js/menu-wc.js +0 -77
  23. package/compodoc/js/menu-wc_es5.js +1 -1
  24. package/compodoc/js/search/search_index.js +2 -2
  25. package/compodoc/modules.html +0 -17
  26. package/compodoc/overview.html +1 -473
  27. package/compodoc/properties.html +1 -1
  28. package/docs/documentation.json +8980 -11445
  29. package/docs/html/assets/hierarchy.js +1 -1
  30. package/docs/html/assets/navigation.js +1 -1
  31. package/docs/html/assets/search.js +1 -1
  32. package/docs/html/classes/ControlValueAccessor.html +5 -5
  33. package/docs/html/classes/FormArrayControlManager.html +2 -2
  34. package/docs/html/classes/FormControlErrorDirective.html +3 -12
  35. package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
  36. package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
  37. package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
  38. package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
  39. package/docs/html/classes/FormControlNameDirective.html +8 -8
  40. package/docs/html/classes/FormDirective.html +41 -28
  41. package/docs/html/classes/FormGroupNameDirective.html +7 -7
  42. package/docs/html/classes/FormLoadedDirective.html +2 -9
  43. package/docs/html/classes/FormLoadingDirective.html +2 -9
  44. package/docs/html/classes/FormLoadingErrorDirective.html +2 -9
  45. package/docs/html/classes/FormResetDirective.html +4 -4
  46. package/docs/html/classes/FormSubmitDirective.html +4 -4
  47. package/docs/html/classes/FormSubmitFailedDirective.html +2 -9
  48. package/docs/html/classes/FormSubmitInvalidDirective.html +2 -9
  49. package/docs/html/classes/FormSubmitSuccessfulDirective.html +2 -9
  50. package/docs/html/classes/FormSubmittingDirective.html +2 -9
  51. package/docs/html/classes/ParentControlContainerDirective.html +2 -2
  52. package/docs/html/classes/RxapFormArray.html +35 -35
  53. package/docs/html/classes/RxapFormBuilder.html +2 -2
  54. package/docs/html/classes/RxapFormControl.html +30 -30
  55. package/docs/html/classes/RxapFormGroup.html +35 -35
  56. package/docs/html/enums/MetadataKeys.html +2 -2
  57. package/docs/html/functions/ControlAsyncValidator.html +1 -1
  58. package/docs/html/functions/ControlChange.html +1 -1
  59. package/docs/html/functions/ControlSetValue.html +1 -1
  60. package/docs/html/functions/ControlValidator.html +1 -1
  61. package/docs/html/functions/IsArray.html +1 -1
  62. package/docs/html/functions/IsBoolean.html +1 -1
  63. package/docs/html/functions/IsComplex.html +1 -1
  64. package/docs/html/functions/IsDate.html +1 -1
  65. package/docs/html/functions/IsEmail.html +1 -1
  66. package/docs/html/functions/IsEnum.html +1 -1
  67. package/docs/html/functions/IsIP.html +1 -1
  68. package/docs/html/functions/IsInt.html +1 -1
  69. package/docs/html/functions/IsNumber-1.html +2 -2
  70. package/docs/html/functions/IsObject.html +1 -1
  71. package/docs/html/functions/IsPhoneNumber.html +1 -1
  72. package/docs/html/functions/IsPort.html +1 -1
  73. package/docs/html/functions/IsString.html +1 -1
  74. package/docs/html/functions/IsUUID.html +1 -1
  75. package/docs/html/functions/IsUrl.html +1 -1
  76. package/docs/html/functions/RxapForm.html +1 -1
  77. package/docs/html/functions/ToFormMethod.html +1 -1
  78. package/docs/html/functions/ToFormSubmitMethod.html +2 -2
  79. package/docs/html/functions/UseFormArrayControl.html +1 -1
  80. package/docs/html/functions/UseFormArrayGroup.html +1 -1
  81. package/docs/html/functions/UseFormControl.html +1 -1
  82. package/docs/html/functions/UseFormGroup.html +1 -1
  83. package/docs/html/functions/_IsNumber.html +1 -1
  84. package/docs/html/functions/controlDisabledWhile.html +1 -1
  85. package/docs/html/functions/controlDisabled_.html +1 -1
  86. package/docs/html/functions/controlEnabledWhile.html +1 -1
  87. package/docs/html/functions/controlEnabled_.html +1 -1
  88. package/docs/html/functions/controlErrorChanges_.html +1 -1
  89. package/docs/html/functions/controlReadonly_.html +1 -1
  90. package/docs/html/functions/controlStatusChanges_.html +1 -1
  91. package/docs/html/functions/controlValueChanges_.html +1 -1
  92. package/docs/html/functions/disableControl.html +1 -1
  93. package/docs/html/functions/enableControl.html +1 -1
  94. package/docs/html/functions/hasErrorAndDirty.html +1 -1
  95. package/docs/html/functions/hasErrorAndTouched.html +1 -1
  96. package/docs/html/functions/isNumber.html +2 -2
  97. package/docs/html/functions/markAllDirty.html +1 -1
  98. package/docs/html/functions/markAllPristine.html +1 -1
  99. package/docs/html/functions/markAllUntouched.html +1 -1
  100. package/docs/html/functions/mergeControlValidators.html +1 -1
  101. package/docs/html/functions/selectControlValue_.html +1 -1
  102. package/docs/html/functions/validateControlOn.html +1 -1
  103. package/docs/html/hierarchy.html +1 -1
  104. package/docs/html/index.html +2 -2
  105. package/docs/html/interfaces/AbstractControl.html +5 -5
  106. package/docs/html/interfaces/AbstractControlOptions.html +3 -3
  107. package/docs/html/interfaces/BoxedValue.html +2 -2
  108. package/docs/html/interfaces/ComplexityOptions.html +2 -2
  109. package/docs/html/interfaces/ControlOptions.html +3 -3
  110. package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
  111. package/docs/html/interfaces/FormArrayOptions.html +3 -3
  112. package/docs/html/interfaces/FormDefinition.html +6 -6
  113. package/docs/html/interfaces/FormDefinitionArray.html +3 -3
  114. package/docs/html/interfaces/FormDefinitionMetadata.html +3 -3
  115. package/docs/html/interfaces/FormGroupOptions.html +3 -3
  116. package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
  117. package/docs/html/interfaces/FormLoadMethod.html +2 -2
  118. package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
  119. package/docs/html/interfaces/FormOptions.html +3 -3
  120. package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
  121. package/docs/html/interfaces/FormSubmitMethod.html +2 -2
  122. package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  123. package/docs/html/interfaces/InjectableValidator.html +2 -2
  124. package/docs/html/interfaces/IsNumberOptions.html +3 -3
  125. package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
  126. package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +3 -3
  127. package/docs/html/interfaces/_RxapAbstractControlOptions.html +3 -3
  128. package/docs/html/modules.html +1 -1
  129. package/docs/html/types/AsyncValidator.html +1 -1
  130. package/docs/html/types/AsyncValidatorFn.html +1 -1
  131. package/docs/html/types/ChangeFn.html +1 -1
  132. package/docs/html/types/ControlEventOptions.html +1 -1
  133. package/docs/html/types/ControlInsertedFn.html +1 -1
  134. package/docs/html/types/ControlPath.html +1 -1
  135. package/docs/html/types/ControlRemovedFn.html +1 -1
  136. package/docs/html/types/ControlState.html +1 -1
  137. package/docs/html/types/EmitEvent.html +1 -1
  138. package/docs/html/types/ExtractAbstractControl.html +1 -1
  139. package/docs/html/types/ExtractStrings.html +1 -1
  140. package/docs/html/types/FormBuilderFn.html +1 -1
  141. package/docs/html/types/FormType.html +1 -1
  142. package/docs/html/types/KeyValueControls.html +1 -1
  143. package/docs/html/types/OnlySelf.html +1 -1
  144. package/docs/html/types/OrBoxedValue.html +1 -1
  145. package/docs/html/types/RxapAbstractControlOptions.html +1 -1
  146. package/docs/html/types/SetValueFn.html +1 -1
  147. package/docs/html/types/ValidationErrors.html +1 -1
  148. package/docs/html/types/Validator.html +1 -1
  149. package/docs/html/types/ValidatorFn.html +1 -1
  150. package/docs/html/types/ValidatorOrOpts.html +1 -1
  151. package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
  152. package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
  153. package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
  154. package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
  155. package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
  156. package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
  157. package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
  158. package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
  159. package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
  160. package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
  161. package/docs/html/variables/RxapValidators.html +1 -1
  162. package/docs/markdown/README.md +1 -1
  163. package/docs/markdown/classes/ControlValueAccessor.md +8 -8
  164. package/docs/markdown/classes/FormArrayControlManager.md +5 -5
  165. package/docs/markdown/classes/FormControlErrorDirective.md +8 -68
  166. package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -12
  167. package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -12
  168. package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -12
  169. package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -12
  170. package/docs/markdown/classes/FormControlNameDirective.md +7 -25
  171. package/docs/markdown/classes/FormDirective.md +158 -175
  172. package/docs/markdown/classes/FormGroupNameDirective.md +7 -21
  173. package/docs/markdown/classes/FormLoadedDirective.md +4 -62
  174. package/docs/markdown/classes/FormLoadingDirective.md +4 -62
  175. package/docs/markdown/classes/FormLoadingErrorDirective.md +4 -62
  176. package/docs/markdown/classes/FormResetDirective.md +15 -35
  177. package/docs/markdown/classes/FormSubmitDirective.md +33 -57
  178. package/docs/markdown/classes/FormSubmitFailedDirective.md +4 -62
  179. package/docs/markdown/classes/FormSubmitInvalidDirective.md +4 -62
  180. package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +4 -62
  181. package/docs/markdown/classes/FormSubmittingDirective.md +4 -62
  182. package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
  183. package/docs/markdown/classes/RxapFormArray.md +54 -54
  184. package/docs/markdown/classes/RxapFormBuilder.md +4 -4
  185. package/docs/markdown/classes/RxapFormControl.md +51 -51
  186. package/docs/markdown/classes/RxapFormGroup.md +74 -74
  187. package/docs/markdown/enumerations/MetadataKeys.md +10 -10
  188. package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
  189. package/docs/markdown/functions/ControlChange.md +2 -2
  190. package/docs/markdown/functions/ControlSetValue.md +2 -2
  191. package/docs/markdown/functions/ControlValidator.md +2 -2
  192. package/docs/markdown/functions/IsArray.md +2 -2
  193. package/docs/markdown/functions/IsBoolean.md +2 -2
  194. package/docs/markdown/functions/IsComplex.md +2 -2
  195. package/docs/markdown/functions/IsDate.md +2 -2
  196. package/docs/markdown/functions/IsEmail.md +2 -2
  197. package/docs/markdown/functions/IsEnum.md +2 -2
  198. package/docs/markdown/functions/IsIP.md +2 -2
  199. package/docs/markdown/functions/IsInt.md +2 -2
  200. package/docs/markdown/functions/IsNumber-2.md +2 -2
  201. package/docs/markdown/functions/IsNumber.md +2 -2
  202. package/docs/markdown/functions/IsObject.md +2 -2
  203. package/docs/markdown/functions/IsPhoneNumber.md +2 -2
  204. package/docs/markdown/functions/IsPort.md +2 -2
  205. package/docs/markdown/functions/IsString.md +2 -2
  206. package/docs/markdown/functions/IsUUID.md +2 -2
  207. package/docs/markdown/functions/IsUrl.md +2 -2
  208. package/docs/markdown/functions/RxapForm.md +2 -2
  209. package/docs/markdown/functions/ToFormMethod.md +2 -2
  210. package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
  211. package/docs/markdown/functions/UseFormArrayControl.md +2 -2
  212. package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
  213. package/docs/markdown/functions/UseFormControl.md +2 -2
  214. package/docs/markdown/functions/UseFormGroup.md +2 -2
  215. package/docs/markdown/functions/controlDisabled$.md +2 -2
  216. package/docs/markdown/functions/controlDisabledWhile.md +2 -2
  217. package/docs/markdown/functions/controlEnabled$.md +2 -2
  218. package/docs/markdown/functions/controlEnabledWhile.md +2 -2
  219. package/docs/markdown/functions/controlErrorChanges$.md +2 -2
  220. package/docs/markdown/functions/controlReadonly$.md +2 -2
  221. package/docs/markdown/functions/controlStatusChanges$.md +2 -2
  222. package/docs/markdown/functions/controlValueChanges$.md +2 -2
  223. package/docs/markdown/functions/disableControl.md +2 -2
  224. package/docs/markdown/functions/enableControl.md +2 -2
  225. package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
  226. package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
  227. package/docs/markdown/functions/isNumber-1.md +2 -2
  228. package/docs/markdown/functions/markAllDirty.md +2 -2
  229. package/docs/markdown/functions/markAllPristine.md +2 -2
  230. package/docs/markdown/functions/markAllUntouched.md +2 -2
  231. package/docs/markdown/functions/mergeControlValidators.md +2 -2
  232. package/docs/markdown/functions/selectControlValue$.md +2 -2
  233. package/docs/markdown/functions/validateControlOn.md +2 -2
  234. package/docs/markdown/globals.md +2 -3
  235. package/docs/markdown/interfaces/AbstractControl.md +8 -8
  236. package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
  237. package/docs/markdown/interfaces/BoxedValue.md +4 -4
  238. package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
  239. package/docs/markdown/interfaces/ControlOptions.md +10 -10
  240. package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
  241. package/docs/markdown/interfaces/FormArrayOptions.md +12 -12
  242. package/docs/markdown/interfaces/FormDefinition.md +7 -7
  243. package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
  244. package/docs/markdown/interfaces/FormDefinitionMetadata.md +11 -11
  245. package/docs/markdown/interfaces/FormGroupOptions.md +9 -9
  246. package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
  247. package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
  248. package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
  249. package/docs/markdown/interfaces/FormOptions.md +9 -9
  250. package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
  251. package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
  252. package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
  253. package/docs/markdown/interfaces/InjectableValidator.md +4 -4
  254. package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
  255. package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
  256. package/docs/markdown/interfaces/RxapAbstractControlOptions.md +8 -8
  257. package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +9 -9
  258. package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
  259. package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
  260. package/docs/markdown/type-aliases/ChangeFn.md +2 -2
  261. package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
  262. package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
  263. package/docs/markdown/type-aliases/ControlPath.md +2 -2
  264. package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
  265. package/docs/markdown/type-aliases/ControlState.md +2 -2
  266. package/docs/markdown/type-aliases/EmitEvent.md +2 -2
  267. package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
  268. package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
  269. package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
  270. package/docs/markdown/type-aliases/FormType.md +2 -2
  271. package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
  272. package/docs/markdown/type-aliases/OnlySelf.md +2 -2
  273. package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
  274. package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
  275. package/docs/markdown/type-aliases/SetValueFn.md +2 -2
  276. package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
  277. package/docs/markdown/type-aliases/Validator.md +2 -2
  278. package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
  279. package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
  280. package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
  281. package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
  282. package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
  283. package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
  284. package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
  285. package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
  286. package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
  287. package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
  288. package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
  289. package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
  290. package/docs/markdown/variables/RxapValidators.md +2 -2
  291. package/docs/wiki/Class.ControlValueAccessor.md +7 -7
  292. package/docs/wiki/Class.FormArrayControlManager.md +4 -4
  293. package/docs/wiki/Class.FormControlErrorDirective.md +7 -67
  294. package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -11
  295. package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -11
  296. package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -11
  297. package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -11
  298. package/docs/wiki/Class.FormControlNameDirective.md +6 -24
  299. package/docs/wiki/Class.FormDirective.md +157 -174
  300. package/docs/wiki/Class.FormGroupNameDirective.md +6 -20
  301. package/docs/wiki/Class.FormLoadedDirective.md +3 -61
  302. package/docs/wiki/Class.FormLoadingDirective.md +3 -61
  303. package/docs/wiki/Class.FormLoadingErrorDirective.md +3 -61
  304. package/docs/wiki/Class.FormResetDirective.md +14 -34
  305. package/docs/wiki/Class.FormSubmitDirective.md +32 -56
  306. package/docs/wiki/Class.FormSubmitFailedDirective.md +3 -61
  307. package/docs/wiki/Class.FormSubmitInvalidDirective.md +3 -61
  308. package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +3 -61
  309. package/docs/wiki/Class.FormSubmittingDirective.md +3 -61
  310. package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
  311. package/docs/wiki/Class.RxapFormArray.md +53 -53
  312. package/docs/wiki/Class.RxapFormBuilder.md +3 -3
  313. package/docs/wiki/Class.RxapFormControl.md +50 -50
  314. package/docs/wiki/Class.RxapFormGroup.md +73 -73
  315. package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
  316. package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
  317. package/docs/wiki/Function.ControlChange.md +1 -1
  318. package/docs/wiki/Function.ControlSetValue.md +1 -1
  319. package/docs/wiki/Function.ControlValidator.md +1 -1
  320. package/docs/wiki/Function.IsArray.md +1 -1
  321. package/docs/wiki/Function.IsBoolean.md +1 -1
  322. package/docs/wiki/Function.IsComplex.md +1 -1
  323. package/docs/wiki/Function.IsDate.md +1 -1
  324. package/docs/wiki/Function.IsEmail.md +1 -1
  325. package/docs/wiki/Function.IsEnum.md +1 -1
  326. package/docs/wiki/Function.IsIP.md +1 -1
  327. package/docs/wiki/Function.IsInt.md +1 -1
  328. package/docs/wiki/Function.IsNumber.md +1 -1
  329. package/docs/wiki/Function.IsObject.md +1 -1
  330. package/docs/wiki/Function.IsPhoneNumber.md +1 -1
  331. package/docs/wiki/Function.IsPort.md +1 -1
  332. package/docs/wiki/Function.IsString.md +1 -1
  333. package/docs/wiki/Function.IsUUID.md +1 -1
  334. package/docs/wiki/Function.IsUrl.md +1 -1
  335. package/docs/wiki/Function.RxapForm.md +1 -1
  336. package/docs/wiki/Function.ToFormMethod.md +1 -1
  337. package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
  338. package/docs/wiki/Function.UseFormArrayControl.md +1 -1
  339. package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
  340. package/docs/wiki/Function.UseFormControl.md +1 -1
  341. package/docs/wiki/Function.UseFormGroup.md +1 -1
  342. package/docs/wiki/Function._IsNumber.md +1 -1
  343. package/docs/wiki/Function.controlDisabled$.md +1 -1
  344. package/docs/wiki/Function.controlDisabledWhile.md +1 -1
  345. package/docs/wiki/Function.controlEnabled$.md +1 -1
  346. package/docs/wiki/Function.controlEnabledWhile.md +1 -1
  347. package/docs/wiki/Function.controlErrorChanges$.md +1 -1
  348. package/docs/wiki/Function.controlReadonly$.md +1 -1
  349. package/docs/wiki/Function.controlStatusChanges$.md +1 -1
  350. package/docs/wiki/Function.controlValueChanges$.md +1 -1
  351. package/docs/wiki/Function.disableControl.md +1 -1
  352. package/docs/wiki/Function.enableControl.md +1 -1
  353. package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
  354. package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
  355. package/docs/wiki/Function.isNumber.md +1 -1
  356. package/docs/wiki/Function.markAllDirty.md +1 -1
  357. package/docs/wiki/Function.markAllPristine.md +1 -1
  358. package/docs/wiki/Function.markAllUntouched.md +1 -1
  359. package/docs/wiki/Function.mergeControlValidators.md +1 -1
  360. package/docs/wiki/Function.selectControlValue$.md +1 -1
  361. package/docs/wiki/Function.validateControlOn.md +1 -1
  362. package/docs/wiki/Interface.AbstractControl.md +7 -7
  363. package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
  364. package/docs/wiki/Interface.BoxedValue.md +3 -3
  365. package/docs/wiki/Interface.ComplexityOptions.md +11 -11
  366. package/docs/wiki/Interface.ControlOptions.md +9 -9
  367. package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
  368. package/docs/wiki/Interface.FormArrayOptions.md +11 -11
  369. package/docs/wiki/Interface.FormDefinition.md +6 -6
  370. package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
  371. package/docs/wiki/Interface.FormDefinitionMetadata.md +10 -10
  372. package/docs/wiki/Interface.FormGroupOptions.md +8 -8
  373. package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
  374. package/docs/wiki/Interface.FormLoadMethod.md +3 -3
  375. package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
  376. package/docs/wiki/Interface.FormOptions.md +8 -8
  377. package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
  378. package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
  379. package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
  380. package/docs/wiki/Interface.InjectableValidator.md +3 -3
  381. package/docs/wiki/Interface.IsNumberOptions.md +5 -5
  382. package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
  383. package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +8 -8
  384. package/docs/wiki/Interface._RxapAbstractControlOptions.md +7 -7
  385. package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
  386. package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
  387. package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
  388. package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
  389. package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
  390. package/docs/wiki/TypeAlias.ControlPath.md +1 -1
  391. package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
  392. package/docs/wiki/TypeAlias.ControlState.md +1 -1
  393. package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
  394. package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
  395. package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
  396. package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
  397. package/docs/wiki/TypeAlias.FormType.md +1 -1
  398. package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
  399. package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
  400. package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
  401. package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
  402. package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
  403. package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
  404. package/docs/wiki/TypeAlias.Validator.md +1 -1
  405. package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
  406. package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
  407. package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
  408. package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
  409. package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
  410. package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
  411. package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
  412. package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
  413. package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
  414. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
  415. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
  416. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
  417. package/docs/wiki/Variable.RxapValidators.md +1 -1
  418. package/docs/wiki/_Sidebar.md +0 -1
  419. package/docs/wiki/globals.md +1 -2
  420. package/fesm2022/rxap-forms.mjs +1850 -2170
  421. package/fesm2022/rxap-forms.mjs.map +1 -1
  422. package/package.json +17 -17
  423. package/types/rxap-forms.d.ts +400 -410
  424. package/docs/html/classes/RxapFormsModule.html +0 -2
  425. package/docs/markdown/classes/RxapFormsModule.md +0 -19
  426. package/docs/wiki/Class.RxapFormsModule.md +0 -15
@@ -153,18 +153,18 @@
153
153
  <h3 id="index">Index</h3>
154
154
  <table class="table table-sm table-bordered index-table">
155
155
  <tbody>
156
-
157
156
  <tr>
158
157
  <td class="col-md-4">
159
- <h6><b>Methods</b></h6>
158
+ <h6><b>Properties</b></h6>
160
159
  </td>
161
160
  </tr>
162
161
  <tr>
163
162
  <td class="col-md-4">
164
163
  <ul class="index-list">
165
164
  <li>
166
- <span class="modifier">Protected</span>
167
- <a href="#execute" >execute</a>
165
+ <span class="modifier">Public</span>
166
+ <span class="modifier">Readonly</span>
167
+ <a href="#type" >type</a>
168
168
  </li>
169
169
  </ul>
170
170
  </td>
@@ -172,14 +172,15 @@
172
172
 
173
173
  <tr>
174
174
  <td class="col-md-4">
175
- <h6><b>Inputs</b></h6>
175
+ <h6><b>Methods</b></h6>
176
176
  </td>
177
177
  </tr>
178
178
  <tr>
179
179
  <td class="col-md-4">
180
180
  <ul class="index-list">
181
181
  <li>
182
- <a href="#type" >type</a>
182
+ <span class="modifier">Protected</span>
183
+ <a href="#execute" >execute</a>
183
184
  </li>
184
185
  </ul>
185
186
  </td>
@@ -188,88 +189,13 @@
188
189
 
189
190
 
190
191
 
192
+
191
193
  </tbody>
192
194
  </table>
193
195
  </section>
194
196
 
195
- <section data-compodoc="block-constructor">
196
- <h3 id="constructor">Constructor</h3>
197
- <table class="table table-sm table-bordered">
198
- <tbody>
199
- <tr>
200
- <td class="col-md-4">
201
- <code>constructor(formDirective: <a href="../directives/FormDirective.html" target="_self">FormDirective</a>)</code>
202
- </td>
203
- </tr>
204
- <tr>
205
- <td class="col-md-4">
206
- <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/directives/form-reset.directive.ts:22</a></div>
207
- </td>
208
- </tr>
209
197
 
210
- <tr>
211
- <td class="col-md-4">
212
- <div>
213
- <b>Parameters :</b>
214
- <table class="params">
215
- <thead>
216
- <tr>
217
- <td>Name</td>
218
- <td>Type</td>
219
- <td>Optional</td>
220
- </tr>
221
- </thead>
222
- <tbody>
223
- <tr>
224
- <td>formDirective</td>
225
-
226
- <td>
227
- <code><a href="../directives/FormDirective.html" target="_self" >FormDirective</a></code>
228
- </td>
229
-
230
- <td>
231
- No
232
- </td>
233
-
234
- </tr>
235
- </tbody>
236
- </table>
237
- </div>
238
- </td>
239
- </tr>
240
- </tbody>
241
- </table>
242
- </section>
243
-
244
- <section data-compodoc="block-inputs">
245
- <h3 id="inputs">Inputs</h3>
246
- <table class="table table-sm table-bordered">
247
- <tbody>
248
- <tr>
249
- <td class="col-md-4">
250
- <a name="type"></a>
251
- <b>type</b>
252
- </td>
253
- </tr>
254
- <tr>
255
- <td class="col-md-4">
256
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
257
198
 
258
- </td>
259
- </tr>
260
- <tr>
261
- <td class="col-md-4">
262
- <i>Default value : </i><code>&#x27;button&#x27;</code>
263
- </td>
264
- </tr>
265
- <tr>
266
- <td class="col-md-2" colspan="2">
267
- <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/directives/form-reset.directive.ts:22</a></div>
268
- </td>
269
- </tr>
270
- </tbody>
271
- </table>
272
- </section>
273
199
 
274
200
 
275
201
 
@@ -300,8 +226,8 @@
300
226
 
301
227
  <tr>
302
228
  <td class="col-md-4">
303
- <div class="io-line">Defined in <a href="" data-line="30"
304
- class="link-to-prism">src/lib/directives/form-reset.directive.ts:30</a></div>
229
+ <div class="io-line">Defined in <a href="" data-line="17"
230
+ class="link-to-prism">src/lib/directives/form-reset.directive.ts:17</a></div>
305
231
  </td>
306
232
  </tr>
307
233
 
@@ -318,40 +244,60 @@
318
244
  </tbody>
319
245
  </table>
320
246
  </section>
247
+ <section data-compodoc="block-properties">
248
+
249
+ <h3 id="inputs">
250
+ Properties
251
+ </h3>
252
+ <table class="table table-sm table-bordered">
253
+ <tbody>
254
+ <tr>
255
+ <td class="col-md-4">
256
+ <a name="type"></a>
257
+ <span class="name">
258
+ <span class="modifier">Public</span>
259
+ <span class="modifier">Readonly</span>
260
+ <span ><b>type</b></span>
261
+ <a href="#type"><span class="icon ion-ios-link"></span></a>
262
+ </span>
263
+ </td>
264
+ </tr>
265
+ <tr>
266
+ <td class="col-md-4">
267
+ <i>Default value : </i><code>input(&#x27;button&#x27;)</code>
268
+ </td>
269
+ </tr>
270
+ <tr>
271
+ <td class="col-md-4">
272
+ <div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/lib/directives/form-reset.directive.ts:15</a></div>
273
+ </td>
274
+ </tr>
275
+
276
+
277
+ </tbody>
278
+ </table>
279
+ </section>
321
280
 
322
281
 
323
282
  </div>
324
283
 
325
284
 
326
285
  <div class="tab-pane fade tab-source-code" id="source">
327
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
328
- Directive,
329
- HostBinding,
330
- Inject,
331
- Input,
332
- } from &#x27;@angular/core&#x27;;
286
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, inject, input } from &#x27;@angular/core&#x27;;
333
287
  import { ConfirmClick } from &#x27;@rxap/directives&#x27;;
334
288
  import { FormDirective } from &#x27;./form.directive&#x27;;
335
289
 
336
290
  @Directive({
337
291
  selector: &#x27;[rxapFormReset]&#x27;,
338
292
  host: {
339
- &#x27;(click)&#x27;: &#x27;onClick()&#x27;,
340
- &#x27;(confirmed)&#x27;: &#x27;onConfirm()&#x27;,
293
+ &#x27;[type]&#x27;: &#x27;type()&#x27;,
341
294
  },
342
295
  standalone: true,
343
296
  })
344
297
  export class FormResetDirective extends ConfirmClick {
298
+ private readonly formDirective &#x3D; inject&lt;FormDirective&gt;(FormDirective);
345
299
 
346
- @HostBinding(&#x27;type&#x27;)
347
- @Input()
348
- public type &#x3D; &#x27;button&#x27;;
349
-
350
- constructor(
351
- @Inject(FormDirective) private readonly formDirective: FormDirective,
352
- ) {
353
- super();
354
- }
300
+ public readonly type &#x3D; input(&#x27;button&#x27;);
355
301
 
356
302
  protected execute() {
357
303
  this.formDirective.reset();
@@ -173,26 +173,37 @@
173
173
  <ul class="index-list">
174
174
  <li>
175
175
  <span class="modifier">Public</span>
176
+ <span class="modifier">Readonly</span>
176
177
  <a href="#afterSubmit" >afterSubmit</a>
177
178
  </li>
178
179
  <li>
180
+ <span class="modifier">Public</span>
181
+ <span class="modifier">Readonly</span>
179
182
  <a href="#disabled" >disabled</a>
180
183
  </li>
181
184
  <li>
185
+ <span class="modifier">Public</span>
186
+ <span class="modifier">Readonly</span>
182
187
  <a href="#disableWhileSubmitting" >disableWhileSubmitting</a>
183
188
  </li>
184
189
  <li>
185
190
  <span class="modifier">Public</span>
191
+ <span class="modifier">Readonly</span>
186
192
  <a href="#navigateAfterSubmit" >navigateAfterSubmit</a>
187
193
  </li>
188
194
  <li>
195
+ <span class="modifier">Public</span>
196
+ <span class="modifier">Readonly</span>
189
197
  <a href="#resetAfterSubmit" >resetAfterSubmit</a>
190
198
  </li>
191
199
  <li>
200
+ <span class="modifier">Public</span>
201
+ <span class="modifier">Readonly</span>
192
202
  <a href="#submitting" >submitting</a>
193
203
  </li>
194
204
  <li>
195
205
  <span class="modifier">Public</span>
206
+ <span class="modifier">Readonly</span>
196
207
  <a href="#type" >type</a>
197
208
  </li>
198
209
  </ul>
@@ -237,66 +248,6 @@
237
248
  </table>
238
249
  </section>
239
250
 
240
- <section data-compodoc="block-constructor">
241
- <h3 id="constructor">Constructor</h3>
242
- <table class="table table-sm table-bordered">
243
- <tbody>
244
- <tr>
245
- <td class="col-md-4">
246
- <code>constructor(formDirective: <a href="../directives/FormDirective.html" target="_self">FormDirective</a>, router: Router | null)</code>
247
- </td>
248
- </tr>
249
- <tr>
250
- <td class="col-md-4">
251
- <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/directives/form-submit.directive.ts:52</a></div>
252
- </td>
253
- </tr>
254
-
255
- <tr>
256
- <td class="col-md-4">
257
- <div>
258
- <b>Parameters :</b>
259
- <table class="params">
260
- <thead>
261
- <tr>
262
- <td>Name</td>
263
- <td>Type</td>
264
- <td>Optional</td>
265
- </tr>
266
- </thead>
267
- <tbody>
268
- <tr>
269
- <td>formDirective</td>
270
-
271
- <td>
272
- <code><a href="../directives/FormDirective.html" target="_self" >FormDirective</a></code>
273
- </td>
274
-
275
- <td>
276
- No
277
- </td>
278
-
279
- </tr>
280
- <tr>
281
- <td>router</td>
282
-
283
- <td>
284
- <code>Router | null</code>
285
- </td>
286
-
287
- <td>
288
- No
289
- </td>
290
-
291
- </tr>
292
- </tbody>
293
- </table>
294
- </div>
295
- </td>
296
- </tr>
297
- </tbody>
298
- </table>
299
- </section>
300
251
 
301
252
  <section data-compodoc="block-inputs">
302
253
  <h3 id="inputs">Inputs</h3>
@@ -315,7 +266,7 @@
315
266
  </tr>
316
267
  <tr>
317
268
  <td class="col-md-2" colspan="2">
318
- <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/directives/form-submit.directive.ts:46</a></div>
269
+ <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/directives/form-submit.directive.ts:39</a></div>
319
270
  </td>
320
271
  </tr>
321
272
  </tbody>
@@ -351,8 +302,8 @@
351
302
 
352
303
  <tr>
353
304
  <td class="col-md-4">
354
- <div class="io-line">Defined in <a href="" data-line="63"
355
- class="link-to-prism">src/lib/directives/form-submit.directive.ts:63</a></div>
305
+ <div class="io-line">Defined in <a href="" data-line="47"
306
+ class="link-to-prism">src/lib/directives/form-submit.directive.ts:47</a></div>
356
307
  </td>
357
308
  </tr>
358
309
 
@@ -381,6 +332,7 @@
381
332
  <a name="afterSubmit"></a>
382
333
  <span class="name">
383
334
  <span class="modifier">Public</span>
335
+ <span class="modifier">Readonly</span>
384
336
  <span ><b>afterSubmit</b></span>
385
337
  <a href="#afterSubmit"><span class="icon ion-ios-link"></span></a>
386
338
  </span>
@@ -393,7 +345,7 @@
393
345
  </tr>
394
346
  <tr>
395
347
  <td class="col-md-4">
396
- <div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/directives/form-submit.directive.ts:44</a></div>
348
+ <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/directives/form-submit.directive.ts:37</a></div>
397
349
  </td>
398
350
  </tr>
399
351
 
@@ -406,6 +358,8 @@
406
358
  <td class="col-md-4">
407
359
  <a name="disabled"></a>
408
360
  <span class="name">
361
+ <span class="modifier">Public</span>
362
+ <span class="modifier">Readonly</span>
409
363
  <span ><b>disabled</b></span>
410
364
  <a href="#disabled"><span class="icon ion-ios-link"></span></a>
411
365
  </span>
@@ -418,7 +372,7 @@
418
372
  </tr>
419
373
  <tr>
420
374
  <td class="col-md-4">
421
- <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/directives/form-submit.directive.ts:50</a></div>
375
+ <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/directives/form-submit.directive.ts:43</a></div>
422
376
  </td>
423
377
  </tr>
424
378
 
@@ -431,6 +385,8 @@
431
385
  <td class="col-md-4">
432
386
  <a name="disableWhileSubmitting"></a>
433
387
  <span class="name">
388
+ <span class="modifier">Public</span>
389
+ <span class="modifier">Readonly</span>
434
390
  <span ><b>disableWhileSubmitting</b></span>
435
391
  <a href="#disableWhileSubmitting"><span class="icon ion-ios-link"></span></a>
436
392
  </span>
@@ -443,7 +399,7 @@
443
399
  </tr>
444
400
  <tr>
445
401
  <td class="col-md-4">
446
- <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/directives/form-submit.directive.ts:46</a></div>
402
+ <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/directives/form-submit.directive.ts:39</a></div>
447
403
  </td>
448
404
  </tr>
449
405
 
@@ -457,6 +413,7 @@
457
413
  <a name="navigateAfterSubmit"></a>
458
414
  <span class="name">
459
415
  <span class="modifier">Public</span>
416
+ <span class="modifier">Readonly</span>
460
417
  <span ><b>navigateAfterSubmit</b></span>
461
418
  <a href="#navigateAfterSubmit"><span class="icon ion-ios-link"></span></a>
462
419
  </span>
@@ -469,7 +426,7 @@
469
426
  </tr>
470
427
  <tr>
471
428
  <td class="col-md-4">
472
- <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/directives/form-submit.directive.ts:42</a></div>
429
+ <div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/directives/form-submit.directive.ts:35</a></div>
473
430
  </td>
474
431
  </tr>
475
432
 
@@ -482,6 +439,8 @@
482
439
  <td class="col-md-4">
483
440
  <a name="resetAfterSubmit"></a>
484
441
  <span class="name">
442
+ <span class="modifier">Public</span>
443
+ <span class="modifier">Readonly</span>
485
444
  <span ><b>resetAfterSubmit</b></span>
486
445
  <a href="#resetAfterSubmit"><span class="icon ion-ios-link"></span></a>
487
446
  </span>
@@ -494,7 +453,7 @@
494
453
  </tr>
495
454
  <tr>
496
455
  <td class="col-md-4">
497
- <div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/directives/form-submit.directive.ts:40</a></div>
456
+ <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/directives/form-submit.directive.ts:33</a></div>
498
457
  </td>
499
458
  </tr>
500
459
 
@@ -507,6 +466,8 @@
507
466
  <td class="col-md-4">
508
467
  <a name="submitting"></a>
509
468
  <span class="name">
469
+ <span class="modifier">Public</span>
470
+ <span class="modifier">Readonly</span>
510
471
  <span ><b>submitting</b></span>
511
472
  <a href="#submitting"><span class="icon ion-ios-link"></span></a>
512
473
  </span>
@@ -519,7 +480,7 @@
519
480
  </tr>
520
481
  <tr>
521
482
  <td class="col-md-4">
522
- <div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/directives/form-submit.directive.ts:48</a></div>
483
+ <div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/directives/form-submit.directive.ts:41</a></div>
523
484
  </td>
524
485
  </tr>
525
486
 
@@ -533,6 +494,7 @@
533
494
  <a name="type"></a>
534
495
  <span class="name">
535
496
  <span class="modifier">Public</span>
497
+ <span class="modifier">Readonly</span>
536
498
  <span ><b>type</b></span>
537
499
  <a href="#type"><span class="icon ion-ios-link"></span></a>
538
500
  </span>
@@ -545,7 +507,7 @@
545
507
  </tr>
546
508
  <tr>
547
509
  <td class="col-md-4">
548
- <div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/directives/form-submit.directive.ts:38</a></div>
510
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/directives/form-submit.directive.ts:31</a></div>
549
511
  </td>
550
512
  </tr>
551
513
 
@@ -559,16 +521,8 @@
559
521
 
560
522
 
561
523
  <div class="tab-pane fade tab-source-code" id="source">
562
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
563
- computed,
564
- Directive,
565
- Inject,
566
- input,
567
- OnDestroy,
568
- Optional,
569
- output,
570
- } from &#x27;@angular/core&#x27;;
571
- import { toSignal } from &#x27;@angular/core/rxjs-interop&#x27;;
524
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { computed, Directive, inject, input, OnDestroy, output } from &#x27;@angular/core&#x27;;
525
+ import { outputToObservable, toSignal } from &#x27;@angular/core/rxjs-interop&#x27;;
572
526
  import { Router } from &#x27;@angular/router&#x27;;
573
527
  import { ConfirmClick } from &#x27;@rxap/directives&#x27;;
574
528
  import {
@@ -586,8 +540,6 @@ import { FormDirective } from &#x27;./form.directive&#x27;;
586
540
  selector: &#x27;[rxapFormSubmit]&#x27;,
587
541
 
588
542
  host: {
589
- &#x27;(click)&#x27;: &#x27;onClick()&#x27;,
590
- &#x27;(confirmed)&#x27;: &#x27;onConfirm()&#x27;,
591
543
  &#x27;[disabled]&#x27;: &#x27;disabled()&#x27;,
592
544
  &#x27;[type]&#x27;: &#x27;type()&#x27;,
593
545
  },
@@ -595,37 +547,30 @@ import { FormDirective } from &#x27;./form.directive&#x27;;
595
547
  exportAs: &#x27;rxapFormSubmit&#x27;,
596
548
  })
597
549
  export class FormSubmitDirective extends ConfirmClick implements OnDestroy {
550
+ private readonly formDirective &#x3D; inject&lt;FormDirective&gt;(FormDirective);
551
+ private readonly router &#x3D; inject&lt;Router | null&gt;(Router, { optional: true }) ?? null;
598
552
 
599
- public type &#x3D; input&lt;&#x27;button&#x27; | &#x27;submit&#x27; | &#x27;reset&#x27;&gt;(&#x27;button&#x27;);
600
553
 
601
- resetAfterSubmit &#x3D; input&lt;boolean | &#x27;&#x27;, boolean&gt;(false, { transform: coerceBoolean });
554
+ public readonly type &#x3D; input&lt;&#x27;button&#x27; | &#x27;submit&#x27; | &#x27;reset&#x27;&gt;(&#x27;button&#x27;);
602
555
 
603
- public navigateAfterSubmit &#x3D; input&lt;string[]&gt;();
556
+ public readonly resetAfterSubmit &#x3D; input&lt;boolean | &#x27;&#x27;, boolean&gt;(false, { transform: coerceBoolean });
604
557
 
605
- public afterSubmit &#x3D; output&lt;any&gt;();
558
+ public readonly navigateAfterSubmit &#x3D; input&lt;string[]&gt;();
606
559
 
607
- disableWhileSubmitting &#x3D; input(true);
560
+ public readonly afterSubmit &#x3D; output&lt;any&gt;();
608
561
 
609
- submitting &#x3D; toSignal(this.formDirective.submitting$, { initialValue: false });
562
+ public readonly disableWhileSubmitting &#x3D; input(true);
610
563
 
611
- disabled &#x3D; computed(() &#x3D;&gt; this.disableWhileSubmitting() &amp;&amp; this.submitting())
564
+ public readonly submitting &#x3D; toSignal(this.formDirective.submitting$, { initialValue: false });
612
565
 
613
- private subscription?: Subscription;
566
+ public readonly disabled &#x3D; computed(() &#x3D;&gt; this.disableWhileSubmitting() &amp;&amp; this.submitting())
614
567
 
615
- constructor(
616
- @Inject(FormDirective) private readonly formDirective: FormDirective,
617
- @Optional()
618
- @Inject(Router)
619
- private readonly router: Router | null &#x3D; null,
620
- ) {
621
- super();
622
- }
568
+ private subscription?: Subscription;
623
569
 
624
570
  protected execute() {
625
571
  this.formDirective.form.markAllAsDirty();
626
572
  this.formDirective.form.markAllAsTouched();
627
- this.formDirective.cdr.markForCheck();
628
- this.subscription &#x3D; this.formDirective.rxapSubmit.pipe(
573
+ this.subscription &#x3D; outputToObservable(this.formDirective.rxapSubmit).pipe(
629
574
  take(1),
630
575
  tap(value &#x3D;&gt; {
631
576
  const clonedValue &#x3D; clone(value);