@rxap/forms 12.7.1 → 12.7.4

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 (46) hide show
  1. package/bundles/rxap-forms.umd.js +72 -66
  2. package/bundles/rxap-forms.umd.js.map +1 -1
  3. package/esm2015/lib/directives/form-control-error.directive.js +3 -3
  4. package/esm2015/lib/directives/form-control-error.directive.js.map +1 -1
  5. package/esm2015/lib/directives/form-control-mark-dirty.directive.js +3 -3
  6. package/esm2015/lib/directives/form-control-mark-dirty.directive.js.map +1 -1
  7. package/esm2015/lib/directives/form-control-mark-pristine.directive.js +3 -3
  8. package/esm2015/lib/directives/form-control-mark-pristine.directive.js.map +1 -1
  9. package/esm2015/lib/directives/form-control-mark-touched.directive.js +3 -3
  10. package/esm2015/lib/directives/form-control-mark-touched.directive.js.map +1 -1
  11. package/esm2015/lib/directives/form-control-mark-untouched.directive.js +3 -3
  12. package/esm2015/lib/directives/form-control-mark-untouched.directive.js.map +1 -1
  13. package/esm2015/lib/directives/form-control-name.directive.js +3 -3
  14. package/esm2015/lib/directives/form-control-name.directive.js.map +1 -1
  15. package/esm2015/lib/directives/form-group-name.directive.js +3 -3
  16. package/esm2015/lib/directives/form-group-name.directive.js.map +1 -1
  17. package/esm2015/lib/directives/form-loaded.directive.js +3 -3
  18. package/esm2015/lib/directives/form-loaded.directive.js.map +1 -1
  19. package/esm2015/lib/directives/form-loading-error.directive.js +3 -3
  20. package/esm2015/lib/directives/form-loading-error.directive.js.map +1 -1
  21. package/esm2015/lib/directives/form-loading.directive.js +3 -3
  22. package/esm2015/lib/directives/form-loading.directive.js.map +1 -1
  23. package/esm2015/lib/directives/form-submit-failed.directive.js +3 -3
  24. package/esm2015/lib/directives/form-submit-failed.directive.js.map +1 -1
  25. package/esm2015/lib/directives/form-submit-invalid.directive.js +3 -3
  26. package/esm2015/lib/directives/form-submit-invalid.directive.js.map +1 -1
  27. package/esm2015/lib/directives/form-submit-successful.directive.js +3 -3
  28. package/esm2015/lib/directives/form-submit-successful.directive.js.map +1 -1
  29. package/esm2015/lib/directives/form-submit.directive.js +3 -3
  30. package/esm2015/lib/directives/form-submit.directive.js.map +1 -1
  31. package/esm2015/lib/directives/form-submitting.directive.js +3 -3
  32. package/esm2015/lib/directives/form-submitting.directive.js.map +1 -1
  33. package/esm2015/lib/directives/form.directive.js +4 -4
  34. package/esm2015/lib/directives/form.directive.js.map +1 -1
  35. package/esm2015/lib/directives/forms.module.js +4 -4
  36. package/esm2015/lib/directives/forms.module.js.map +1 -1
  37. package/esm2015/lib/directives/parent-control-container.directive.js +3 -3
  38. package/esm2015/lib/directives/parent-control-container.directive.js.map +1 -1
  39. package/esm2015/lib/form-array.js +13 -4
  40. package/esm2015/lib/form-array.js.map +1 -1
  41. package/fesm2015/rxap-forms.js +69 -61
  42. package/fesm2015/rxap-forms.js.map +1 -1
  43. package/lib/directives/form.directive.d.ts +1 -1
  44. package/package.json +3 -3
  45. package/src/schematics/ng-add/index.js +1 -1
  46. package/src/schematics/ng-add/index.js.map +1 -1
@@ -4,7 +4,7 @@ import { map, distinctUntilChanged, debounceTime, filter, tap, startWith, take }
4
4
  import { merge, defer, of, EMPTY, Subject, isObservable, BehaviorSubject, Subscription } from 'rxjs';
5
5
  import { equals, coerceArray, HasRxapOnInitMethod, assertIsArray, assertIsObject, assertIsFunction, isPromise, isObject, clone, Required, hasIndexSignature, coerceBoolean } from '@rxap/utilities';
6
6
  import * as i0 from '@angular/core';
7
- import { Injector, isDevMode, InjectionToken, EventEmitter, ChangeDetectorRef, forwardRef, Directive, Inject, Optional, SkipSelf, Input, Output, HostBinding, TemplateRef, ViewContainerRef, Host, HostListener, Self, NgModule } from '@angular/core';
7
+ import { isDevMode, Injector, InjectionToken, EventEmitter, ChangeDetectorRef, forwardRef, Directive, Inject, Optional, SkipSelf, Input, Output, HostBinding, TemplateRef, ViewContainerRef, Host, HostListener, Self, NgModule } from '@angular/core';
8
8
  import { GetDefinitionMetadata, DefinitionMetadata } from '@rxap/definition';
9
9
  import { getMetadata, setMetadataMapSet, setMetadataMap } from '@rxap/utilities/reflect-metadata';
10
10
  import { __decorate, __metadata } from 'tslib';
@@ -163,7 +163,9 @@ class RxapFormArray extends FormArray {
163
163
  return super.getRawValue();
164
164
  }
165
165
  insert(index, control) {
166
- console.warn('It is not recommend to use the FormArray.insert method');
166
+ if (isDevMode()) {
167
+ console.warn('It is not recommend to use the FormArray.insert method');
168
+ }
167
169
  return super.insert(index, control);
168
170
  }
169
171
  /**
@@ -245,7 +247,9 @@ class RxapFormArray extends FormArray {
245
247
  return hasErrorAndDirty(this, errorCode, path);
246
248
  }
247
249
  removeAt(index) {
248
- console.warn('It is not recommend to use the FormArray.removeAt method');
250
+ if (isDevMode()) {
251
+ console.warn('It is not recommend to use the FormArray.removeAt method');
252
+ }
249
253
  super.removeAt(index);
250
254
  this._controlRemovedFn(index);
251
255
  }
@@ -253,14 +257,18 @@ class RxapFormArray extends FormArray {
253
257
  enableControl(this, enable, opts);
254
258
  }
255
259
  push(control) {
256
- console.warn('It is not recommend to use the FormArray.push method');
260
+ if (isDevMode()) {
261
+ console.warn('It is not recommend to use the FormArray.push method');
262
+ }
257
263
  return super.push(control);
258
264
  }
259
265
  setDisable(disable = true, opts) {
260
266
  disableControl(this, disable, opts);
261
267
  }
262
268
  setControl(index, control) {
263
- console.warn('It is not recommend to use the FormArray.setControl method');
269
+ if (isDevMode()) {
270
+ console.warn('It is not recommend to use the FormArray.setControl method');
271
+ }
264
272
  return super.setControl(index, control);
265
273
  }
266
274
  markAsTouched(opts) {
@@ -1115,7 +1123,7 @@ class FormDirective extends FormGroupDirective {
1115
1123
  * Emits when the submit method is executed without errors. The result of the
1116
1124
  * submit method is passed as event object.
1117
1125
  *
1118
- * If no submit method is defined then emit infidelity after the submit button
1126
+ * If no submit method is defined then emit after the submit button
1119
1127
  * is clicked.
1120
1128
  */
1121
1129
  this.rxapSubmit = new EventEmitter();
@@ -1425,8 +1433,8 @@ class FormDirective extends FormGroupDirective {
1425
1433
  }
1426
1434
  }
1427
1435
  }
1428
- FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormDirective, deps: [{ token: ChangeDetectorRef }, { token: RXAP_FORM_DEFINITION, optional: true }, { token: RXAP_FORM_SUBMIT_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_DEFINITION_BUILDER, optional: true, skipSelf: true }, { token: LoadingIndicatorService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1429
- FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormDirective, selector: "form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: { initial: "initial", useFormDefinition: ["rxapForm", "useFormDefinition"], submitMethod: "submitMethod" }, outputs: { ngSubmit: "ngSubmit", rxapSubmit: "rxapSubmit", invalidSubmit: "invalidSubmit", submitSuccessful$: "submitSuccessful" }, host: { listeners: { "reset": "onReset()" }, properties: { "class.rxap-submitting": "this.submitting", "class.rxap-submit-error": "this.submitError", "class.rxap-loading": "this.loading", "class.rxap-loaded": "this.loaded", "class.rxap-loading-error": "this.loadingError" } }, providers: [
1436
+ FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormDirective, deps: [{ token: ChangeDetectorRef }, { token: RXAP_FORM_DEFINITION, optional: true }, { token: RXAP_FORM_SUBMIT_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_DEFINITION_BUILDER, optional: true, skipSelf: true }, { token: LoadingIndicatorService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1437
+ FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormDirective, selector: "form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: { initial: "initial", useFormDefinition: ["rxapForm", "useFormDefinition"], submitMethod: "submitMethod" }, outputs: { ngSubmit: "ngSubmit", rxapSubmit: "rxapSubmit", invalidSubmit: "invalidSubmit", submitSuccessful$: "submitSuccessful" }, host: { listeners: { "reset": "onReset()" }, properties: { "class.rxap-submitting": "this.submitting", "class.rxap-submit-error": "this.submitError", "class.rxap-loading": "this.loading", "class.rxap-loaded": "this.loaded", "class.rxap-loading-error": "this.loadingError" } }, providers: [
1430
1438
  {
1431
1439
  provide: ControlContainer,
1432
1440
  // ignore coverage
@@ -1473,7 +1481,7 @@ __decorate([
1473
1481
  Required,
1474
1482
  __metadata("design:type", Object)
1475
1483
  ], FormDirective.prototype, "_formDefinition", void 0);
1476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormDirective, decorators: [{
1484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormDirective, decorators: [{
1477
1485
  type: Directive,
1478
1486
  args: [{
1479
1487
  selector: 'form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]',
@@ -1636,9 +1644,9 @@ class FormSubmitFailedDirective {
1636
1644
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1637
1645
  }
1638
1646
  }
1639
- FormSubmitFailedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitFailedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1640
- FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]", ngImport: i0 });
1641
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitFailedDirective, decorators: [{
1647
+ FormSubmitFailedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitFailedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1648
+ FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]", ngImport: i0 });
1649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitFailedDirective, decorators: [{
1642
1650
  type: Directive,
1643
1651
  args: [{
1644
1652
  selector: '[rxapFormSubmitFailed]'
@@ -1673,9 +1681,9 @@ class FormLoadingDirective {
1673
1681
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1674
1682
  }
1675
1683
  }
1676
- FormLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1677
- FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormLoadingDirective, selector: "[rxapFormLoading]", ngImport: i0 });
1678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadingDirective, decorators: [{
1684
+ FormLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1685
+ FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadingDirective, selector: "[rxapFormLoading]", ngImport: i0 });
1686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadingDirective, decorators: [{
1679
1687
  type: Directive,
1680
1688
  args: [{
1681
1689
  selector: '[rxapFormLoading]'
@@ -1710,9 +1718,9 @@ class FormSubmittingDirective {
1710
1718
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1711
1719
  }
1712
1720
  }
1713
- FormSubmittingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmittingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1714
- FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]", ngImport: i0 });
1715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmittingDirective, decorators: [{
1721
+ FormSubmittingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmittingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1722
+ FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]", ngImport: i0 });
1723
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmittingDirective, decorators: [{
1716
1724
  type: Directive,
1717
1725
  args: [{
1718
1726
  selector: '[rxapFormSubmitting]'
@@ -1747,9 +1755,9 @@ class FormLoadedDirective {
1747
1755
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1748
1756
  }
1749
1757
  }
1750
- FormLoadedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1751
- FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormLoadedDirective, selector: "[rxapFormLoaded]", ngImport: i0 });
1752
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadedDirective, decorators: [{
1758
+ FormLoadedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1759
+ FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadedDirective, selector: "[rxapFormLoaded]", ngImport: i0 });
1760
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadedDirective, decorators: [{
1753
1761
  type: Directive,
1754
1762
  args: [{
1755
1763
  selector: '[rxapFormLoaded]'
@@ -1784,9 +1792,9 @@ class FormLoadingErrorDirective {
1784
1792
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1785
1793
  }
1786
1794
  }
1787
- FormLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadingErrorDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1788
- FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormLoadingErrorDirective, selector: "[rxapFormLoadingError]", ngImport: i0 });
1789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormLoadingErrorDirective, decorators: [{
1795
+ FormLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadingErrorDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1796
+ FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadingErrorDirective, selector: "[rxapFormLoadingError]", ngImport: i0 });
1797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormLoadingErrorDirective, decorators: [{
1790
1798
  type: Directive,
1791
1799
  args: [{
1792
1800
  selector: '[rxapFormLoadingError]'
@@ -1829,8 +1837,8 @@ class FormControlErrorDirective {
1829
1837
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1830
1838
  }
1831
1839
  }
1832
- FormControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlErrorDirective, deps: [{ token: i0.TemplateRef }, { token: i1.ControlContainer, host: true, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1833
- FormControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: { name: ["rxapFormControlErrorFrom", "name"], errorKey: ["rxapFormControlErrorIf", "errorKey"] }, ngImport: i0 });
1840
+ FormControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlErrorDirective, deps: [{ token: i0.TemplateRef }, { token: i1.ControlContainer, host: true, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1841
+ FormControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: { name: ["rxapFormControlErrorFrom", "name"], errorKey: ["rxapFormControlErrorIf", "errorKey"] }, ngImport: i0 });
1834
1842
  __decorate([
1835
1843
  Required,
1836
1844
  __metadata("design:type", String)
@@ -1839,7 +1847,7 @@ __decorate([
1839
1847
  Required,
1840
1848
  __metadata("design:type", String)
1841
1849
  ], FormControlErrorDirective.prototype, "errorKey", void 0);
1842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlErrorDirective, decorators: [{
1850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlErrorDirective, decorators: [{
1843
1851
  type: Directive,
1844
1852
  args: [{
1845
1853
  selector: '[rxapFormControlError]'
@@ -1870,9 +1878,9 @@ class FormControlMarkDirtyDirective {
1870
1878
  }
1871
1879
  }
1872
1880
  }
1873
- FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkDirtyDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1874
- FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkDirtyDirective, decorators: [{
1881
+ FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkDirtyDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1882
+ FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkDirtyDirective, decorators: [{
1876
1884
  type: Directive,
1877
1885
  args: [{
1878
1886
  selector: '[rxapFormControlMarkDirty]'
@@ -1891,9 +1899,9 @@ class FormControlMarkTouchedDirective {
1891
1899
  (_a = this.parent.control) === null || _a === void 0 ? void 0 : _a.markAllAsTouched();
1892
1900
  }
1893
1901
  }
1894
- FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkTouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1895
- FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlMarkTouchedDirective, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1896
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkTouchedDirective, decorators: [{
1902
+ FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkTouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1903
+ FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkTouchedDirective, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1904
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkTouchedDirective, decorators: [{
1897
1905
  type: Directive,
1898
1906
  args: [{
1899
1907
  selector: '[rxapFormControlMarkTouched]'
@@ -1917,9 +1925,9 @@ class FormControlMarkUntouchedDirective {
1917
1925
  }
1918
1926
  }
1919
1927
  }
1920
- FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkUntouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1921
- FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlMarkUntouchedDirective, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkUntouchedDirective, decorators: [{
1928
+ FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkUntouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1929
+ FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkUntouchedDirective, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1930
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkUntouchedDirective, decorators: [{
1923
1931
  type: Directive,
1924
1932
  args: [{
1925
1933
  selector: '[rxapFormControlMarkUntouched]'
@@ -1943,9 +1951,9 @@ class FormControlMarkPristineDirective {
1943
1951
  }
1944
1952
  }
1945
1953
  }
1946
- FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkPristineDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1947
- FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlMarkPristineDirective, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlMarkPristineDirective, decorators: [{
1954
+ FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkPristineDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
1955
+ FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkPristineDirective, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1956
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlMarkPristineDirective, decorators: [{
1949
1957
  type: Directive,
1950
1958
  args: [{
1951
1959
  selector: '[rxapFormControlMarkPristine]'
@@ -1988,9 +1996,9 @@ class FormSubmitDirective extends ConfirmClick {
1988
1996
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1989
1997
  }
1990
1998
  }
1991
- FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitDirective, deps: [{ token: FormDirective }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1992
- FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormSubmitDirective, selector: "[rxapFormSubmit]", inputs: { type: "type", resetAfterSubmit: "resetAfterSubmit", navigateAfterSubmit: "navigateAfterSubmit" }, outputs: { afterSubmit: "afterSubmit" }, host: { listeners: { "click": "onClick()", "confirmed": "onConfirm()" }, properties: { "type": "this.type" } }, usesInheritance: true, ngImport: i0 });
1993
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitDirective, decorators: [{
1999
+ FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitDirective, deps: [{ token: FormDirective }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2000
+ FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitDirective, selector: "[rxapFormSubmit]", inputs: { type: "type", resetAfterSubmit: "resetAfterSubmit", navigateAfterSubmit: "navigateAfterSubmit" }, outputs: { afterSubmit: "afterSubmit" }, host: { listeners: { "click": "onClick()", "confirmed": "onConfirm()" }, properties: { "type": "this.type" } }, usesInheritance: true, ngImport: i0 });
2001
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitDirective, decorators: [{
1994
2002
  type: Directive,
1995
2003
  args: [{
1996
2004
  selector: '[rxapFormSubmit]',
@@ -2036,14 +2044,14 @@ class FormGroupNameDirective extends FormGroupName {
2036
2044
  return this.formDirective.getFormGroup(this);
2037
2045
  }
2038
2046
  }
2039
- FormGroupNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormGroupNameDirective, deps: [{ token: i1.ControlContainer, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
2040
- FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormGroupNameDirective, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
2047
+ FormGroupNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormGroupNameDirective, deps: [{ token: i1.ControlContainer, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
2048
+ FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormGroupNameDirective, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
2041
2049
  {
2042
2050
  provide: ControlContainer,
2043
2051
  useExisting: forwardRef(() => FormGroupNameDirective)
2044
2052
  }
2045
2053
  ], exportAs: ["rxapFormGroup"], usesInheritance: true, ngImport: i0 });
2046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormGroupNameDirective, decorators: [{
2054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormGroupNameDirective, decorators: [{
2047
2055
  type: Directive,
2048
2056
  args: [{
2049
2057
  selector: '[rxapFormGroupName]',
@@ -2089,14 +2097,14 @@ class FormControlNameDirective extends FormControlName {
2089
2097
  super(parent, validators, asyncValidators, valueAccessors, null);
2090
2098
  }
2091
2099
  }
2092
- FormControlNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlNameDirective, deps: [{ token: i1.ControlContainer, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
2093
- FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormControlNameDirective, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
2100
+ FormControlNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlNameDirective, deps: [{ token: i1.ControlContainer, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
2101
+ FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlNameDirective, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
2094
2102
  {
2095
2103
  provide: NgControl,
2096
2104
  useExisting: forwardRef(() => FormControlNameDirective)
2097
2105
  }
2098
2106
  ], exportAs: ["rxapFormControl"], usesInheritance: true, ngImport: i0 });
2099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormControlNameDirective, decorators: [{
2107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormControlNameDirective, decorators: [{
2100
2108
  type: Directive,
2101
2109
  args: [{
2102
2110
  selector: '[rxapFormControlName]',
@@ -2140,14 +2148,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
2140
2148
 
2141
2149
  class ParentControlContainerDirective {
2142
2150
  }
2143
- ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ParentControlContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2144
- ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: ParentControlContainerDirective, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
2151
+ ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ParentControlContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2152
+ ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ParentControlContainerDirective, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
2145
2153
  {
2146
2154
  provide: ControlContainer,
2147
2155
  useExisting: ControlContainer
2148
2156
  }
2149
2157
  ], ngImport: i0 });
2150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ParentControlContainerDirective, decorators: [{
2158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ParentControlContainerDirective, decorators: [{
2151
2159
  type: Directive,
2152
2160
  args: [{
2153
2161
  selector: '[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]',
@@ -2177,9 +2185,9 @@ class FormSubmitSuccessfulDirective {
2177
2185
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
2178
2186
  }
2179
2187
  }
2180
- FormSubmitSuccessfulDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitSuccessfulDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2181
- FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormSubmitSuccessfulDirective, selector: "[rxapFormSubmitSuccessful]", ngImport: i0 });
2182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitSuccessfulDirective, decorators: [{
2188
+ FormSubmitSuccessfulDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitSuccessfulDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2189
+ FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitSuccessfulDirective, selector: "[rxapFormSubmitSuccessful]", ngImport: i0 });
2190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitSuccessfulDirective, decorators: [{
2183
2191
  type: Directive,
2184
2192
  args: [{
2185
2193
  selector: '[rxapFormSubmitSuccessful]'
@@ -2212,9 +2220,9 @@ class FormSubmitInvalidDirective {
2212
2220
  (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
2213
2221
  }
2214
2222
  }
2215
- FormSubmitInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitInvalidDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2216
- FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FormSubmitInvalidDirective, selector: "[rxapFormSubmitInvalid]", ngImport: i0 });
2217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FormSubmitInvalidDirective, decorators: [{
2223
+ FormSubmitInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitInvalidDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2224
+ FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitInvalidDirective, selector: "[rxapFormSubmitInvalid]", ngImport: i0 });
2225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormSubmitInvalidDirective, decorators: [{
2218
2226
  type: Directive,
2219
2227
  args: [{
2220
2228
  selector: '[rxapFormSubmitInvalid]'
@@ -2232,8 +2240,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
2232
2240
 
2233
2241
  class RxapFormsModule {
2234
2242
  }
2235
- RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2236
- RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapFormsModule, declarations: [FormDirective,
2243
+ RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RxapFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2244
+ RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RxapFormsModule, declarations: [FormDirective,
2237
2245
  FormSubmitFailedDirective,
2238
2246
  FormLoadingDirective,
2239
2247
  FormSubmittingDirective,
@@ -2266,8 +2274,8 @@ RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
2266
2274
  ParentControlContainerDirective,
2267
2275
  FormSubmitSuccessfulDirective,
2268
2276
  FormSubmitInvalidDirective] });
2269
- RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapFormsModule });
2270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapFormsModule, decorators: [{
2277
+ RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RxapFormsModule });
2278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RxapFormsModule, decorators: [{
2271
2279
  type: NgModule,
2272
2280
  args: [{
2273
2281
  declarations: [