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

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