@rxap/forms 19.0.0-dev.1 → 19.0.0-dev.2

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 (170) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +44 -0
  4. package/compodoc/classes/RxapFormArray.html +77 -76
  5. package/compodoc/classes/RxapFormControl.html +75 -74
  6. package/compodoc/classes/RxapFormGroup.html +135 -134
  7. package/compodoc/dependencies.html +13 -13
  8. package/compodoc/directives/FormControlErrorDirective.html +4 -5
  9. package/compodoc/directives/FormDirective.html +273 -76
  10. package/compodoc/directives/FormLoadedDirective.html +1 -1
  11. package/compodoc/directives/FormLoadingDirective.html +1 -1
  12. package/compodoc/directives/FormLoadingErrorDirective.html +1 -1
  13. package/compodoc/directives/FormResetDirective.html +450 -0
  14. package/compodoc/directives/FormSubmitDirective.html +5 -5
  15. package/compodoc/directives/FormSubmitFailedDirective.html +1 -1
  16. package/compodoc/directives/FormSubmitInvalidDirective.html +1 -1
  17. package/compodoc/directives/FormSubmitSuccessfulDirective.html +1 -1
  18. package/compodoc/directives/FormSubmittingDirective.html +1 -1
  19. package/compodoc/index.html +1 -1
  20. package/compodoc/interfaces/ControlSetValueOptions.html +2 -2
  21. package/compodoc/interfaces/FormLoadFailedMethod.html +11 -8
  22. package/compodoc/interfaces/FormLoadMethod.html +10 -7
  23. package/compodoc/interfaces/FormLoadSuccessfulMethod.html +10 -7
  24. package/compodoc/interfaces/FormSubmitFailedMethod.html +11 -8
  25. package/compodoc/interfaces/FormSubmitMethod.html +24 -9
  26. package/compodoc/interfaces/FormSubmitSuccessfulMethod.html +10 -7
  27. package/compodoc/js/menu-wc.js +6 -3
  28. package/compodoc/js/menu-wc_es5.js +2 -2
  29. package/compodoc/js/search/search_index.js +2 -2
  30. package/compodoc/miscellaneous/functions.html +178 -0
  31. package/compodoc/modules/RxapFormsModule.html +11 -11
  32. package/compodoc/overview.html +1 -1
  33. package/compodoc/properties.html +1 -1
  34. package/docs/assets/navigation.js +1 -1
  35. package/docs/assets/search.js +1 -1
  36. package/docs/classes/ControlValueAccessor.html +2 -2
  37. package/docs/classes/FormArrayControlManager.html +2 -2
  38. package/docs/classes/FormControlErrorDirective.html +2 -2
  39. package/docs/classes/FormControlMarkDirtyDirective.html +2 -2
  40. package/docs/classes/FormControlMarkPristineDirective.html +2 -2
  41. package/docs/classes/FormControlMarkTouchedDirective.html +2 -2
  42. package/docs/classes/FormControlMarkUntouchedDirective.html +2 -2
  43. package/docs/classes/FormControlNameDirective.html +28 -28
  44. package/docs/classes/FormDirective.html +47 -47
  45. package/docs/classes/FormGroupNameDirective.html +23 -23
  46. package/docs/classes/FormLoadedDirective.html +2 -2
  47. package/docs/classes/FormLoadingDirective.html +2 -2
  48. package/docs/classes/FormLoadingErrorDirective.html +2 -2
  49. package/docs/classes/FormResetDirective.html +8 -0
  50. package/docs/classes/FormSubmitDirective.html +2 -2
  51. package/docs/classes/FormSubmitFailedDirective.html +2 -2
  52. package/docs/classes/FormSubmitInvalidDirective.html +2 -2
  53. package/docs/classes/FormSubmitSuccessfulDirective.html +2 -2
  54. package/docs/classes/FormSubmittingDirective.html +2 -2
  55. package/docs/classes/ParentControlContainerDirective.html +1 -1
  56. package/docs/classes/RxapFormArray.html +67 -71
  57. package/docs/classes/RxapFormBuilder.html +8 -8
  58. package/docs/classes/RxapFormControl.html +50 -50
  59. package/docs/classes/RxapFormGroup.html +46 -46
  60. package/docs/classes/RxapFormsModule.html +1 -1
  61. package/docs/documentation.json +10310 -9109
  62. package/docs/enums/MetadataKeys.html +2 -2
  63. package/docs/functions/ControlAsyncValidator.html +1 -1
  64. package/docs/functions/ControlChange.html +1 -1
  65. package/docs/functions/ControlSetValue.html +1 -1
  66. package/docs/functions/ControlValidator.html +1 -1
  67. package/docs/functions/IsArray.html +1 -1
  68. package/docs/functions/IsBoolean.html +1 -1
  69. package/docs/functions/IsComplex.html +1 -1
  70. package/docs/functions/IsDate.html +1 -1
  71. package/docs/functions/IsEmail.html +1 -1
  72. package/docs/functions/IsEnum.html +1 -1
  73. package/docs/functions/IsIP.html +1 -1
  74. package/docs/functions/IsInt.html +1 -1
  75. package/docs/functions/IsNumber.html +1 -1
  76. package/docs/functions/IsObject.html +1 -1
  77. package/docs/functions/IsPhoneNumber.html +1 -1
  78. package/docs/functions/IsPort.html +1 -1
  79. package/docs/functions/IsString.html +1 -1
  80. package/docs/functions/IsUUID.html +1 -1
  81. package/docs/functions/IsUrl.html +1 -1
  82. package/docs/functions/RxapForm.html +1 -1
  83. package/docs/functions/ToFormMethod.html +1 -1
  84. package/docs/functions/ToFormSubmitMethod.html +1 -1
  85. package/docs/functions/ToMethodWithInjectionContext.html +1 -1
  86. package/docs/functions/ToMethodWithInjectionContextFactory.html +1 -1
  87. package/docs/functions/UseFormArrayControl.html +1 -1
  88. package/docs/functions/UseFormArrayGroup.html +1 -1
  89. package/docs/functions/UseFormControl.html +1 -1
  90. package/docs/functions/UseFormGroup.html +1 -1
  91. package/docs/functions/_IsNumber.html +1 -1
  92. package/docs/functions/controlDisabledWhile.html +1 -1
  93. package/docs/functions/controlDisabled_.html +1 -1
  94. package/docs/functions/controlEnabledWhile.html +1 -1
  95. package/docs/functions/controlEnabled_.html +1 -1
  96. package/docs/functions/controlErrorChanges_.html +1 -1
  97. package/docs/functions/controlReadonly_.html +1 -1
  98. package/docs/functions/controlStatusChanges_.html +1 -1
  99. package/docs/functions/controlValueChanges_.html +1 -1
  100. package/docs/functions/disableControl.html +1 -1
  101. package/docs/functions/enableControl.html +1 -1
  102. package/docs/functions/hasErrorAndDirty.html +1 -1
  103. package/docs/functions/hasErrorAndTouched.html +1 -1
  104. package/docs/functions/isNumber-1.html +1 -1
  105. package/docs/functions/markAllDirty.html +1 -1
  106. package/docs/functions/markAllPristine.html +1 -1
  107. package/docs/functions/markAllUntouched.html +1 -1
  108. package/docs/functions/mergeControlValidators.html +1 -1
  109. package/docs/functions/selectControlValue_.html +1 -1
  110. package/docs/functions/validateControlOn.html +1 -1
  111. package/docs/index.html +1 -1
  112. package/docs/interfaces/AbstractControl.html +67 -67
  113. package/docs/interfaces/AbstractControlOptions.html +3 -3
  114. package/docs/interfaces/BoxedValue.html +2 -2
  115. package/docs/interfaces/ComplexityOptions.html +2 -2
  116. package/docs/interfaces/ControlOptions.html +3 -3
  117. package/docs/interfaces/ControlSetValueOptions.html +2 -2
  118. package/docs/interfaces/FormArrayOptions.html +4 -4
  119. package/docs/interfaces/FormDefinition.html +6 -6
  120. package/docs/interfaces/FormDefinitionArray.html +11 -15
  121. package/docs/interfaces/FormDefinitionMetadata.html +5 -5
  122. package/docs/interfaces/FormGroupOptions.html +4 -4
  123. package/docs/interfaces/FormLoadFailedMethod.html +2 -2
  124. package/docs/interfaces/FormLoadMethod.html +2 -2
  125. package/docs/interfaces/FormLoadSuccessfulMethod.html +2 -2
  126. package/docs/interfaces/FormOptions.html +4 -4
  127. package/docs/interfaces/FormSubmitFailedMethod.html +2 -2
  128. package/docs/interfaces/FormSubmitMethod.html +2 -2
  129. package/docs/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  130. package/docs/interfaces/InjectableValidator.html +2 -2
  131. package/docs/interfaces/IsNumberOptions.html +2 -2
  132. package/docs/interfaces/NgValidatorsErrors.html +2 -2
  133. package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
  134. package/docs/interfaces/_RxapAbstractControlOptions.html +4 -4
  135. package/docs/modules.html +1 -0
  136. package/docs/types/AsyncValidator.html +1 -1
  137. package/docs/types/AsyncValidatorFn.html +1 -1
  138. package/docs/types/ChangeFn.html +1 -1
  139. package/docs/types/ControlEventOptions.html +1 -1
  140. package/docs/types/ControlInsertedFn.html +1 -1
  141. package/docs/types/ControlPath.html +1 -1
  142. package/docs/types/ControlRemovedFn.html +1 -1
  143. package/docs/types/ControlState.html +1 -1
  144. package/docs/types/EmitEvent.html +1 -1
  145. package/docs/types/ExtractAbstractControl.html +1 -1
  146. package/docs/types/ExtractStrings.html +1 -1
  147. package/docs/types/FormBuilderFn.html +1 -1
  148. package/docs/types/FormType.html +1 -1
  149. package/docs/types/KeyValueControls.html +1 -1
  150. package/docs/types/OnlySelf.html +1 -1
  151. package/docs/types/OrBoxedValue.html +1 -1
  152. package/docs/types/RxapAbstractControlOptions.html +1 -1
  153. package/docs/types/SetValueFn.html +1 -1
  154. package/docs/types/ValidationErrors.html +1 -1
  155. package/docs/types/Validator.html +1 -1
  156. package/docs/types/ValidatorFn.html +1 -1
  157. package/docs/types/ValidatorOrOpts.html +1 -1
  158. package/docs/variables/RXAP_FORM_CONTEXT.html +1 -1
  159. package/docs/variables/RXAP_FORM_DEFINITION.html +1 -1
  160. package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
  161. package/docs/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
  162. package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
  163. package/docs/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
  164. package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
  165. package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
  166. package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
  167. package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
  168. package/docs/variables/RxapValidators.html +1 -1
  169. package/package.json +22 -23
  170. package/theme.css +95 -1
@@ -214,6 +214,11 @@
214
214
  <span class="modifier">Readonly</span>
215
215
  <a href="#cdr" >cdr</a>
216
216
  </li>
217
+ <li>
218
+ <span class="modifier">Public</span>
219
+ <span class="modifier">Readonly</span>
220
+ <a href="#context" >context</a>
221
+ </li>
217
222
  <li>
218
223
  <span class="modifier">Public</span>
219
224
  <span class="modifier"></span>
@@ -304,12 +309,27 @@
304
309
  <li>
305
310
  <a href="#initial" >initial</a>
306
311
  </li>
312
+ <li>
313
+ <a href="#loadFailedMethod" >loadFailedMethod</a>
314
+ </li>
315
+ <li>
316
+ <a href="#loadMethod" >loadMethod</a>
317
+ </li>
318
+ <li>
319
+ <a href="#loadSuccessfulMethod" >loadSuccessfulMethod</a>
320
+ </li>
307
321
  <li>
308
322
  <a href="#rxapForm" >rxapForm</a>
309
323
  </li>
324
+ <li>
325
+ <a href="#submitFailedMethod" >submitFailedMethod</a>
326
+ </li>
310
327
  <li>
311
328
  <a href="#submitMethod" >submitMethod</a>
312
329
  </li>
330
+ <li>
331
+ <a href="#submitSuccessfulMethod" >submitSuccessfulMethod</a>
332
+ </li>
313
333
  </ul>
314
334
  </td>
315
335
  </tr>
@@ -410,7 +430,7 @@
410
430
  </tr>
411
431
  <tr>
412
432
  <td class="col-md-4">
413
- <div class="io-line">Defined in <a href="" data-line="186" class="link-to-prism">src/lib/directives/form.directive.ts:186</a></div>
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>
414
434
  </td>
415
435
  </tr>
416
436
 
@@ -579,6 +599,84 @@
579
599
  </tr>
580
600
  </tbody>
581
601
  </table>
602
+ <table class="table table-sm table-bordered">
603
+ <tbody>
604
+ <tr>
605
+ <td class="col-md-4">
606
+ <a name="loadFailedMethod"></a>
607
+ <b>loadFailedMethod</b>
608
+ </td>
609
+ </tr>
610
+ <tr>
611
+ <td class="col-md-4">
612
+ <i>Type : </i> <code><a href="../interfaces/FormLoadFailedMethod.html" target="_self" >FormLoadFailedMethod | null</a></code>
613
+
614
+ </td>
615
+ </tr>
616
+ <tr>
617
+ <td class="col-md-4">
618
+ <i>Default value : </i><code>null</code>
619
+ </td>
620
+ </tr>
621
+ <tr>
622
+ <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>
624
+ </td>
625
+ </tr>
626
+ </tbody>
627
+ </table>
628
+ <table class="table table-sm table-bordered">
629
+ <tbody>
630
+ <tr>
631
+ <td class="col-md-4">
632
+ <a name="loadMethod"></a>
633
+ <b>loadMethod</b>
634
+ </td>
635
+ </tr>
636
+ <tr>
637
+ <td class="col-md-4">
638
+ <i>Type : </i> <code><a href="../interfaces/FormLoadMethod.html" target="_self" >FormLoadMethod | null</a></code>
639
+
640
+ </td>
641
+ </tr>
642
+ <tr>
643
+ <td class="col-md-4">
644
+ <i>Default value : </i><code>null</code>
645
+ </td>
646
+ </tr>
647
+ <tr>
648
+ <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>
650
+ </td>
651
+ </tr>
652
+ </tbody>
653
+ </table>
654
+ <table class="table table-sm table-bordered">
655
+ <tbody>
656
+ <tr>
657
+ <td class="col-md-4">
658
+ <a name="loadSuccessfulMethod"></a>
659
+ <b>loadSuccessfulMethod</b>
660
+ </td>
661
+ </tr>
662
+ <tr>
663
+ <td class="col-md-4">
664
+ <i>Type : </i> <code><a href="../interfaces/FormLoadSuccessfulMethod.html" target="_self" >FormLoadSuccessfulMethod | null</a></code>
665
+
666
+ </td>
667
+ </tr>
668
+ <tr>
669
+ <td class="col-md-4">
670
+ <i>Default value : </i><code>null</code>
671
+ </td>
672
+ </tr>
673
+ <tr>
674
+ <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>
676
+ </td>
677
+ </tr>
678
+ </tbody>
679
+ </table>
582
680
  <table class="table table-sm table-bordered">
583
681
  <tbody>
584
682
  <tr>
@@ -595,7 +693,33 @@
595
693
  </tr>
596
694
  <tr>
597
695
  <td class="col-md-2" colspan="2">
598
- <div class="io-line">Defined in <a href="" data-line="164" class="link-to-prism">src/lib/directives/form.directive.ts:164</a></div>
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>
697
+ </td>
698
+ </tr>
699
+ </tbody>
700
+ </table>
701
+ <table class="table table-sm table-bordered">
702
+ <tbody>
703
+ <tr>
704
+ <td class="col-md-4">
705
+ <a name="submitFailedMethod"></a>
706
+ <b>submitFailedMethod</b>
707
+ </td>
708
+ </tr>
709
+ <tr>
710
+ <td class="col-md-4">
711
+ <i>Type : </i> <code><a href="../interfaces/FormSubmitFailedMethod.html" target="_self" >FormSubmitFailedMethod | null</a></code>
712
+
713
+ </td>
714
+ </tr>
715
+ <tr>
716
+ <td class="col-md-4">
717
+ <i>Default value : </i><code>null</code>
718
+ </td>
719
+ </tr>
720
+ <tr>
721
+ <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>
599
723
  </td>
600
724
  </tr>
601
725
  </tbody>
@@ -621,7 +745,33 @@
621
745
  </tr>
622
746
  <tr>
623
747
  <td class="col-md-2" colspan="2">
624
- <div class="io-line">Defined in <a href="" data-line="184" class="link-to-prism">src/lib/directives/form.directive.ts:184</a></div>
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>
749
+ </td>
750
+ </tr>
751
+ </tbody>
752
+ </table>
753
+ <table class="table table-sm table-bordered">
754
+ <tbody>
755
+ <tr>
756
+ <td class="col-md-4">
757
+ <a name="submitSuccessfulMethod"></a>
758
+ <b>submitSuccessfulMethod</b>
759
+ </td>
760
+ </tr>
761
+ <tr>
762
+ <td class="col-md-4">
763
+ <i>Type : </i> <code><a href="../interfaces/FormSubmitSuccessfulMethod.html" target="_self" >FormSubmitSuccessfulMethod | null</a></code>
764
+
765
+ </td>
766
+ </tr>
767
+ <tr>
768
+ <td class="col-md-4">
769
+ <i>Default value : </i><code>null</code>
770
+ </td>
771
+ </tr>
772
+ <tr>
773
+ <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>
625
775
  </td>
626
776
  </tr>
627
777
  </tbody>
@@ -645,7 +795,7 @@
645
795
  </tr>
646
796
  <tr>
647
797
  <td class="col-md-2" colspan="2">
648
- <div class="io-line">Defined in <a href="" data-line="132" class="link-to-prism">src/lib/directives/form.directive.ts:132</a></div>
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>
649
799
  </td>
650
800
  </tr>
651
801
  </tbody>
@@ -666,7 +816,7 @@
666
816
  </tr>
667
817
  <tr>
668
818
  <td class="col-md-2" colspan="2">
669
- <div class="io-line">Defined in <a href="" data-line="129" class="link-to-prism">src/lib/directives/form.directive.ts:129</a></div>
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>
670
820
  </td>
671
821
  </tr>
672
822
  <tr>
@@ -696,7 +846,7 @@ is clicked.</p>
696
846
  </tr>
697
847
  <tr>
698
848
  <td class="col-md-2" colspan="2">
699
- <div class="io-line">Defined in <a href="" data-line="136" class="link-to-prism">src/lib/directives/form.directive.ts:136</a></div>
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>
700
850
  </td>
701
851
  </tr>
702
852
  </tbody>
@@ -722,7 +872,7 @@ is clicked.</p>
722
872
  </tr>
723
873
  <tr>
724
874
  <td class="col-md-4">
725
- <div class="io-line">Defined in <a href="" data-line="154" class="link-to-prism">src/lib/directives/form.directive.ts:154</a></div>
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>
726
876
  </td>
727
877
  </tr>
728
878
 
@@ -748,7 +898,7 @@ is clicked.</p>
748
898
  </tr>
749
899
  <tr>
750
900
  <td class="col-md-4">
751
- <div class="io-line">Defined in <a href="" data-line="149" class="link-to-prism">src/lib/directives/form.directive.ts:149</a></div>
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>
752
902
  </td>
753
903
  </tr>
754
904
 
@@ -774,7 +924,7 @@ is clicked.</p>
774
924
  </tr>
775
925
  <tr>
776
926
  <td class="col-md-4">
777
- <div class="io-line">Defined in <a href="" data-line="159" class="link-to-prism">src/lib/directives/form.directive.ts:159</a></div>
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>
778
928
  </td>
779
929
  </tr>
780
930
 
@@ -800,7 +950,7 @@ is clicked.</p>
800
950
  </tr>
801
951
  <tr>
802
952
  <td class="col-md-4">
803
- <div class="io-line">Defined in <a href="" data-line="144" class="link-to-prism">src/lib/directives/form.directive.ts:144</a></div>
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>
804
954
  </td>
805
955
  </tr>
806
956
 
@@ -826,7 +976,7 @@ is clicked.</p>
826
976
  </tr>
827
977
  <tr>
828
978
  <td class="col-md-4">
829
- <div class="io-line">Defined in <a href="" data-line="139" class="link-to-prism">src/lib/directives/form.directive.ts:139</a></div>
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>
830
980
  </td>
831
981
  </tr>
832
982
 
@@ -863,8 +1013,8 @@ is clicked.</p>
863
1013
 
864
1014
  <tr>
865
1015
  <td class="col-md-4">
866
- <div class="io-line">Defined in <a href="" data-line="454"
867
- class="link-to-prism">src/lib/directives/form.directive.ts:454</a></div>
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>
868
1018
  </td>
869
1019
  </tr>
870
1020
 
@@ -902,8 +1052,8 @@ is clicked.</p>
902
1052
 
903
1053
  <tr>
904
1054
  <td class="col-md-4">
905
- <div class="io-line">Defined in <a href="" data-line="444"
906
- class="link-to-prism">src/lib/directives/form.directive.ts:444</a></div>
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>
907
1057
  </td>
908
1058
  </tr>
909
1059
 
@@ -971,8 +1121,8 @@ is clicked.</p>
971
1121
 
972
1122
  <tr>
973
1123
  <td class="col-md-4">
974
- <div class="io-line">Defined in <a href="" data-line="384"
975
- class="link-to-prism">src/lib/directives/form.directive.ts:384</a></div>
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>
976
1126
  </td>
977
1127
  </tr>
978
1128
 
@@ -1040,8 +1190,8 @@ is clicked.</p>
1040
1190
 
1041
1191
  <tr>
1042
1192
  <td class="col-md-4">
1043
- <div class="io-line">Defined in <a href="" data-line="434"
1044
- class="link-to-prism">src/lib/directives/form.directive.ts:434</a></div>
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>
1045
1195
  </td>
1046
1196
  </tr>
1047
1197
 
@@ -1110,8 +1260,8 @@ is clicked.</p>
1110
1260
 
1111
1261
  <tr>
1112
1262
  <td class="col-md-4">
1113
- <div class="io-line">Defined in <a href="" data-line="302"
1114
- class="link-to-prism">src/lib/directives/form.directive.ts:302</a></div>
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>
1115
1265
  </td>
1116
1266
  </tr>
1117
1267
 
@@ -1179,8 +1329,8 @@ is clicked.</p>
1179
1329
 
1180
1330
  <tr>
1181
1331
  <td class="col-md-4">
1182
- <div class="io-line">Defined in <a href="" data-line="468"
1183
- class="link-to-prism">src/lib/directives/form.directive.ts:468</a></div>
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>
1184
1334
  </td>
1185
1335
  </tr>
1186
1336
 
@@ -1218,8 +1368,8 @@ is clicked.</p>
1218
1368
 
1219
1369
  <tr>
1220
1370
  <td class="col-md-4">
1221
- <div class="io-line">Defined in <a href="" data-line="514"
1222
- class="link-to-prism">src/lib/directives/form.directive.ts:514</a></div>
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>
1223
1373
  </td>
1224
1374
  </tr>
1225
1375
 
@@ -1287,8 +1437,8 @@ is clicked.</p>
1287
1437
 
1288
1438
  <tr>
1289
1439
  <td class="col-md-4">
1290
- <div class="io-line">Defined in <a href="" data-line="527"
1291
- class="link-to-prism">src/lib/directives/form.directive.ts:527</a></div>
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>
1292
1442
  </td>
1293
1443
  </tr>
1294
1444
 
@@ -1360,7 +1510,7 @@ is clicked.</p>
1360
1510
  </tr>
1361
1511
  <tr>
1362
1512
  <td class="col-md-4">
1363
- <div class="io-line">Defined in <a href="" data-line="181" class="link-to-prism">src/lib/directives/form.directive.ts:181</a></div>
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>
1364
1514
  </td>
1365
1515
  </tr>
1366
1516
 
@@ -1398,7 +1548,34 @@ is clicked.</p>
1398
1548
  </tr>
1399
1549
  <tr>
1400
1550
  <td class="col-md-4">
1401
- <div class="io-line">Defined in <a href="" data-line="189" class="link-to-prism">src/lib/directives/form.directive.ts:189</a></div>
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>
1552
+ </td>
1553
+ </tr>
1554
+
1555
+
1556
+ </tbody>
1557
+ </table>
1558
+ <table class="table table-sm table-bordered">
1559
+ <tbody>
1560
+ <tr>
1561
+ <td class="col-md-4">
1562
+ <a name="context"></a>
1563
+ <span class="name">
1564
+ <span class="modifier">Public</span>
1565
+ <span class="modifier">Readonly</span>
1566
+ <span ><b>context</b></span>
1567
+ <a href="#context"><span class="icon ion-ios-link"></span></a>
1568
+ </span>
1569
+ </td>
1570
+ </tr>
1571
+ <tr>
1572
+ <td class="col-md-4">
1573
+ <i>Default value : </i><code>input&lt;Record&lt;string, unknown&gt;&gt;({})</code>
1574
+ </td>
1575
+ </tr>
1576
+ <tr>
1577
+ <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>
1402
1579
  </td>
1403
1580
  </tr>
1404
1581
 
@@ -1453,7 +1630,7 @@ is clicked.</p>
1453
1630
  </tr>
1454
1631
  <tr>
1455
1632
  <td class="col-md-4">
1456
- <div class="io-line">Defined in <a href="" data-line="178" class="link-to-prism">src/lib/directives/form.directive.ts:178</a></div>
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>
1457
1634
  </td>
1458
1635
  </tr>
1459
1636
 
@@ -1480,7 +1657,7 @@ is clicked.</p>
1480
1657
  </tr>
1481
1658
  <tr>
1482
1659
  <td class="col-md-4">
1483
- <div class="io-line">Defined in <a href="" data-line="177" class="link-to-prism">src/lib/directives/form.directive.ts:177</a></div>
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>
1484
1661
  </td>
1485
1662
  </tr>
1486
1663
 
@@ -1507,7 +1684,7 @@ is clicked.</p>
1507
1684
  </tr>
1508
1685
  <tr>
1509
1686
  <td class="col-md-4">
1510
- <div class="io-line">Defined in <a href="" data-line="179" class="link-to-prism">src/lib/directives/form.directive.ts:179</a></div>
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>
1511
1688
  </td>
1512
1689
  </tr>
1513
1690
 
@@ -1534,7 +1711,7 @@ is clicked.</p>
1534
1711
  </tr>
1535
1712
  <tr>
1536
1713
  <td class="col-md-4">
1537
- <div class="io-line">Defined in <a href="" data-line="176" class="link-to-prism">src/lib/directives/form.directive.ts:176</a></div>
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>
1538
1715
  </td>
1539
1716
  </tr>
1540
1717
 
@@ -1561,7 +1738,7 @@ is clicked.</p>
1561
1738
  </tr>
1562
1739
  <tr>
1563
1740
  <td class="col-md-4">
1564
- <div class="io-line">Defined in <a href="" data-line="175" class="link-to-prism">src/lib/directives/form.directive.ts:175</a></div>
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>
1565
1742
  </td>
1566
1743
  </tr>
1567
1744
 
@@ -1590,7 +1767,7 @@ is clicked.</p>
1590
1767
  </tr>
1591
1768
  <tr>
1592
1769
  <td class="col-md-4">
1593
- <div class="io-line">Defined in <a href="" data-line="139" class="link-to-prism">src/lib/directives/form.directive.ts:139</a></div>
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>
1594
1771
  </td>
1595
1772
  </tr>
1596
1773
 
@@ -1612,7 +1789,7 @@ is clicked.</p>
1612
1789
  </tr>
1613
1790
  <tr>
1614
1791
  <td class="col-md-4">
1615
- <div class="io-line">Defined in <a href="" data-line="144" class="link-to-prism">src/lib/directives/form.directive.ts:144</a></div>
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>
1616
1793
  </td>
1617
1794
  </tr>
1618
1795
 
@@ -1634,7 +1811,7 @@ is clicked.</p>
1634
1811
  </tr>
1635
1812
  <tr>
1636
1813
  <td class="col-md-4">
1637
- <div class="io-line">Defined in <a href="" data-line="149" class="link-to-prism">src/lib/directives/form.directive.ts:149</a></div>
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>
1638
1815
  </td>
1639
1816
  </tr>
1640
1817
 
@@ -1656,7 +1833,7 @@ is clicked.</p>
1656
1833
  </tr>
1657
1834
  <tr>
1658
1835
  <td class="col-md-4">
1659
- <div class="io-line">Defined in <a href="" data-line="154" class="link-to-prism">src/lib/directives/form.directive.ts:154</a></div>
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>
1660
1837
  </td>
1661
1838
  </tr>
1662
1839
 
@@ -1678,7 +1855,7 @@ is clicked.</p>
1678
1855
  </tr>
1679
1856
  <tr>
1680
1857
  <td class="col-md-4">
1681
- <div class="io-line">Defined in <a href="" data-line="159" class="link-to-prism">src/lib/directives/form.directive.ts:159</a></div>
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>
1682
1859
  </td>
1683
1860
  </tr>
1684
1861
 
@@ -1701,7 +1878,7 @@ is clicked.</p>
1701
1878
  </tr>
1702
1879
  <tr>
1703
1880
  <td class="col-md-4">
1704
- <div class="io-line">Defined in <a href="" data-line="164" class="link-to-prism">src/lib/directives/form.directive.ts:164</a></div>
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>
1705
1882
  </td>
1706
1883
  </tr>
1707
1884
  <tr>
@@ -1759,7 +1936,7 @@ is clicked.</p>
1759
1936
  </tr>
1760
1937
  <tr>
1761
1938
  <td class="col-md-4">
1762
- <div class="io-line">Defined in <a href="" data-line="171" class="link-to-prism">src/lib/directives/form.directive.ts:171</a></div>
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>
1763
1940
  </td>
1764
1941
  </tr>
1765
1942
 
@@ -1778,6 +1955,7 @@ is clicked.</p>
1778
1955
  forwardRef,
1779
1956
  HostBinding,
1780
1957
  Inject,
1958
+ input,
1781
1959
  Input,
1782
1960
  isDevMode,
1783
1961
  OnChanges,
@@ -1792,23 +1970,24 @@ import {
1792
1970
  ControlContainer,
1793
1971
  FormGroupDirective,
1794
1972
  } from &#x27;@angular/forms&#x27;;
1795
- import {
1796
- RXAP_FORM_DEFINITION,
1797
- RXAP_FORM_DEFINITION_BUILDER,
1798
- RXAP_FORM_LOAD_FAILED_METHOD,
1799
- RXAP_FORM_LOAD_METHOD,
1800
- RXAP_FORM_LOAD_SUCCESSFUL_METHOD,
1801
- RXAP_FORM_SUBMIT_FAILED_METHOD,
1802
- RXAP_FORM_SUBMIT_METHOD,
1803
- RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD,
1804
- } from &#x27;./tokens&#x27;;
1805
- import { RxapFormGroup } from &#x27;../form-group&#x27;;
1973
+ import { ToggleSubject } from &#x27;@rxap/rxjs&#x27;;
1974
+ import { LoadingIndicatorService } from &#x27;@rxap/services&#x27;;
1806
1975
  import {
1807
1976
  clone,
1808
1977
  isObject,
1809
1978
  isPromise,
1810
- Required,
1811
1979
  } from &#x27;@rxap/utilities&#x27;;
1980
+ import {
1981
+ BehaviorSubject,
1982
+ Subscription,
1983
+ } from &#x27;rxjs&#x27;;
1984
+ import {
1985
+ debounceTime,
1986
+ filter,
1987
+ tap,
1988
+ } from &#x27;rxjs/operators&#x27;;
1989
+ import { RxapFormBuilder } from &#x27;../form-builder&#x27;;
1990
+ import { RxapFormGroup } from &#x27;../form-group&#x27;;
1812
1991
  import { FormDefinition } from &#x27;../model&#x27;;
1813
1992
  import {
1814
1993
  FormLoadFailedMethod,
@@ -1819,17 +1998,15 @@ import {
1819
1998
  FormSubmitSuccessfulMethod,
1820
1999
  } from &#x27;./models&#x27;;
1821
2000
  import {
1822
- BehaviorSubject,
1823
- Subscription,
1824
- } from &#x27;rxjs&#x27;;
1825
- import { RxapFormBuilder } from &#x27;../form-builder&#x27;;
1826
- import { LoadingIndicatorService } from &#x27;@rxap/services&#x27;;
1827
- import {
1828
- debounceTime,
1829
- filter,
1830
- tap,
1831
- } from &#x27;rxjs/operators&#x27;;
1832
- import { ToggleSubject } from &#x27;@rxap/rxjs&#x27;;
2001
+ RXAP_FORM_DEFINITION,
2002
+ RXAP_FORM_DEFINITION_BUILDER,
2003
+ RXAP_FORM_LOAD_FAILED_METHOD,
2004
+ RXAP_FORM_LOAD_METHOD,
2005
+ RXAP_FORM_LOAD_SUCCESSFUL_METHOD,
2006
+ RXAP_FORM_SUBMIT_FAILED_METHOD,
2007
+ RXAP_FORM_SUBMIT_METHOD,
2008
+ RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD,
2009
+ } from &#x27;./tokens&#x27;;
1833
2010
 
1834
2011
  @Directive({
1835
2012
  selector: &#x27;form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]&#x27;,
@@ -1876,7 +2053,7 @@ import { ToggleSubject } from &#x27;@rxap/rxjs&#x27;;
1876
2053
  },
1877
2054
  // endregion
1878
2055
  ],
1879
- // eslint-disable-next-line @angular-eslint/no-host-metadata-property
2056
+
1880
2057
  host: { &#x27;(reset)&#x27;: &#x27;onReset()&#x27; },
1881
2058
  // eslint-disable-next-line @angular-eslint/no-outputs-metadata-property
1882
2059
  outputs: [ &#x27;ngSubmit&#x27; ],
@@ -1891,6 +2068,8 @@ export class FormDirective&lt;T &#x3D; any&gt;
1891
2068
  @Input()
1892
2069
  public initial?: T;
1893
2070
 
2071
+ public readonly context &#x3D; input&lt;Record&lt;string, unknown&gt;&gt;({});
2072
+
1894
2073
  /**
1895
2074
  * Emits when the submit method is executed without errors. The result of the
1896
2075
  * submit method is passed as event object.
@@ -1956,43 +2135,58 @@ export class FormDirective&lt;T &#x3D; any&gt;
1956
2135
  @Input()
1957
2136
  public submitMethod: FormSubmitMethod&lt;any&gt; | null &#x3D; null;
1958
2137
 
2138
+ @Input()
2139
+ public loadMethod: FormLoadMethod | null &#x3D; null;
2140
+
2141
+ @Input()
2142
+ public loadFailedMethod: FormLoadFailedMethod | null &#x3D; null;
2143
+
2144
+ @Input()
2145
+ public loadSuccessfulMethod: FormLoadSuccessfulMethod | null &#x3D; null;
2146
+
2147
+ @Input()
2148
+ public submitFailedMethod: FormSubmitFailedMethod | null &#x3D; null;
2149
+
2150
+ @Input()
2151
+ public submitSuccessfulMethod: FormSubmitSuccessfulMethod | null &#x3D; null;
2152
+
1959
2153
  private _autoSubmitSubscription &#x3D; new Subscription();
1960
2154
 
1961
2155
  constructor(
1962
2156
  @Inject(ChangeDetectorRef) public readonly cdr: ChangeDetectorRef,
1963
2157
  @Optional()
1964
2158
  @Inject(RXAP_FORM_DEFINITION)
1965
- formDefinition: FormDefinition | null &#x3D; null,
2159
+ formDefinition: FormDefinition | null &#x3D; null,
1966
2160
  // skip self, bc the token is set to null
1967
2161
  @SkipSelf()
1968
2162
  @Optional()
1969
2163
  @Inject(RXAP_FORM_SUBMIT_METHOD)
1970
- submitMethod: FormSubmitMethod&lt;any&gt; | null &#x3D; null,
2164
+ submitMethod: FormSubmitMethod&lt;any&gt; | null &#x3D; null,
1971
2165
  // skip self, bc the token is set to null
1972
2166
  @SkipSelf()
1973
2167
  @Optional()
1974
2168
  @Inject(RXAP_FORM_LOAD_METHOD)
1975
- protected readonly loadMethod: FormLoadMethod | null &#x3D; null,
2169
+ loadMethod: FormLoadMethod | null &#x3D; null,
1976
2170
  // skip self, bc the token is set to null
1977
2171
  @SkipSelf()
1978
2172
  @Optional()
1979
2173
  @Inject(RXAP_FORM_LOAD_FAILED_METHOD)
1980
- protected readonly loadFailedMethod: FormLoadFailedMethod | null &#x3D; null,
2174
+ loadFailedMethod: FormLoadFailedMethod | null &#x3D; null,
1981
2175
  // skip self, bc the token is set to null
1982
2176
  @SkipSelf()
1983
2177
  @Optional()
1984
2178
  @Inject(RXAP_FORM_LOAD_SUCCESSFUL_METHOD)
1985
- protected readonly loadSuccessfulMethod: FormLoadSuccessfulMethod | null &#x3D; null,
2179
+ loadSuccessfulMethod: FormLoadSuccessfulMethod | null &#x3D; null,
1986
2180
  // skip self, bc the token is set to null
1987
2181
  @SkipSelf()
1988
2182
  @Optional()
1989
2183
  @Inject(RXAP_FORM_SUBMIT_FAILED_METHOD)
1990
- protected readonly submitFailedMethod: FormSubmitFailedMethod | null &#x3D; null,
2184
+ submitFailedMethod: FormSubmitFailedMethod | null &#x3D; null,
1991
2185
  // skip self, bc the token is set to null
1992
2186
  @SkipSelf()
1993
2187
  @Optional()
1994
2188
  @Inject(RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD)
1995
- protected readonly submitSuccessfulMethod: FormSubmitSuccessfulMethod | null &#x3D; null,
2189
+ submitSuccessfulMethod: FormSubmitSuccessfulMethod | null &#x3D; null,
1996
2190
  // skip self, bc the token is set to null
1997
2191
  @SkipSelf()
1998
2192
  @Optional()
@@ -2003,9 +2197,12 @@ export class FormDirective&lt;T &#x3D; any&gt;
2003
2197
  protected readonly loadingIndicatorService: LoadingIndicatorService | null &#x3D; null,
2004
2198
  ) {
2005
2199
  super([], []);
2006
- if (submitMethod) {
2007
- this.submitMethod &#x3D; submitMethod;
2008
- }
2200
+ this.submitMethod &#x3D; submitMethod ?? this.submitMethod;
2201
+ this.loadMethod &#x3D; loadMethod ?? this.loadMethod;
2202
+ this.loadFailedMethod &#x3D; loadFailedMethod ?? this.loadFailedMethod;
2203
+ this.loadSuccessfulMethod &#x3D; loadSuccessfulMethod ?? this.loadSuccessfulMethod;
2204
+ this.submitFailedMethod &#x3D; submitFailedMethod ?? this.submitFailedMethod;
2205
+ this.submitSuccessfulMethod &#x3D; submitSuccessfulMethod ?? this.submitSuccessfulMethod;
2009
2206
  if (!formDefinition &amp;&amp; formDefinitionBuilder) {
2010
2207
  formDefinition &#x3D; formDefinitionBuilder.build&lt;FormDefinition&gt;();
2011
2208
  }
@@ -2245,7 +2442,7 @@ export class FormDirective&lt;T &#x3D; any&gt;
2245
2442
  this.submitting$.enable();
2246
2443
  this.submitError$.next(null);
2247
2444
  try {
2248
- const resultOrPromise &#x3D; this.submitMethod.call(value);
2445
+ const resultOrPromise &#x3D; this.submitMethod.call(value, this.context());
2249
2446
  if (isPromise(resultOrPromise)) {
2250
2447
  resultOrPromise
2251
2448
  .then((result) &#x3D;&gt; {