@rxap/forms 13.0.0 → 14.0.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.
- package/esm2020/lib/directives/form-control-error.directive.mjs +4 -4
- package/esm2020/lib/directives/form-control-mark-dirty.directive.mjs +3 -3
- package/esm2020/lib/directives/form-control-mark-pristine.directive.mjs +3 -3
- package/esm2020/lib/directives/form-control-mark-touched.directive.mjs +3 -3
- package/esm2020/lib/directives/form-control-mark-untouched.directive.mjs +3 -3
- package/esm2020/lib/directives/form-control-name.directive.mjs +4 -4
- package/esm2020/lib/directives/form-group-name.directive.mjs +3 -3
- package/esm2020/lib/directives/form-loaded.directive.mjs +3 -3
- package/esm2020/lib/directives/form-loading-error.directive.mjs +3 -3
- package/esm2020/lib/directives/form-loading.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submit-failed.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submit-invalid.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submit-successful.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submit.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submitting.directive.mjs +3 -3
- package/esm2020/lib/directives/form.directive.mjs +4 -4
- package/esm2020/lib/directives/forms.module.mjs +4 -4
- package/esm2020/lib/directives/parent-control-container.directive.mjs +3 -3
- package/esm2020/lib/form-array.mjs +3 -3
- package/esm2020/lib/form-control.mjs +3 -3
- package/esm2020/lib/form-group.mjs +3 -3
- package/fesm2015/rxap-forms.mjs +59 -59
- package/fesm2015/rxap-forms.mjs.map +1 -1
- package/fesm2020/rxap-forms.mjs +59 -59
- package/fesm2020/rxap-forms.mjs.map +1 -1
- package/lib/directives/form-control-error.directive.d.ts +1 -1
- package/lib/directives/form-control-mark-dirty.directive.d.ts +1 -1
- package/lib/directives/form-control-mark-pristine.directive.d.ts +1 -1
- package/lib/directives/form-control-mark-touched.directive.d.ts +1 -1
- package/lib/directives/form-control-mark-untouched.directive.d.ts +1 -1
- package/lib/directives/form-control-name.directive.d.ts +1 -1
- package/lib/directives/form-group-name.directive.d.ts +1 -1
- package/lib/directives/form-loaded.directive.d.ts +1 -1
- package/lib/directives/form-loading-error.directive.d.ts +1 -1
- package/lib/directives/form-loading.directive.d.ts +1 -1
- package/lib/directives/form-submit-failed.directive.d.ts +1 -1
- package/lib/directives/form-submit-invalid.directive.d.ts +1 -1
- package/lib/directives/form-submit-successful.directive.d.ts +1 -1
- package/lib/directives/form-submit.directive.d.ts +1 -1
- package/lib/directives/form-submitting.directive.d.ts +1 -1
- package/lib/directives/form.directive.d.ts +1 -1
- package/lib/directives/parent-control-container.directive.d.ts +1 -1
- package/lib/form-array.d.ts +2 -2
- package/lib/form-control.d.ts +2 -2
- package/lib/form-group.d.ts +2 -2
- package/package.json +15 -16
- package/rxap-forms.d.ts +0 -5
package/fesm2020/rxap-forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i1 from '@angular/forms';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormArray, AbstractControl, UntypedFormGroup, UntypedFormControl, Validators, FormGroupDirective, ControlContainer, FormGroupName, NG_VALIDATORS, NG_ASYNC_VALIDATORS, FormControlName, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
3
3
|
import { map, distinctUntilChanged, debounceTime, filter, tap, startWith, take } from 'rxjs/operators';
|
|
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';
|
|
@@ -90,7 +90,7 @@ function selectControlValue$(control, mapFn) {
|
|
|
90
90
|
return control.value$.pipe(map(mapFn), distinctUntilChanged());
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class RxapFormArray extends
|
|
93
|
+
class RxapFormArray extends UntypedFormArray {
|
|
94
94
|
constructor(controls, options) {
|
|
95
95
|
super(controls, options);
|
|
96
96
|
this.controls = controls;
|
|
@@ -321,7 +321,7 @@ var MetadataKeys;
|
|
|
321
321
|
MetadataKeys["FORM_CONTROLS"] = "rxap/forms/form-controls";
|
|
322
322
|
})(MetadataKeys || (MetadataKeys = {}));
|
|
323
323
|
|
|
324
|
-
class RxapFormGroup extends
|
|
324
|
+
class RxapFormGroup extends UntypedFormGroup {
|
|
325
325
|
constructor(controls, options) {
|
|
326
326
|
super(controls, options);
|
|
327
327
|
this.controls = controls;
|
|
@@ -497,7 +497,7 @@ class RxapFormGroup extends FormGroup {
|
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
class RxapFormControl extends
|
|
500
|
+
class RxapFormControl extends UntypedFormControl {
|
|
501
501
|
constructor(formState, options) {
|
|
502
502
|
super(formState, options);
|
|
503
503
|
this._readonly = false;
|
|
@@ -1451,8 +1451,8 @@ class FormDirective extends FormGroupDirective {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
|
-
FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1455
|
-
FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1454
|
+
FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
1455
|
+
FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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: [
|
|
1456
1456
|
{
|
|
1457
1457
|
provide: ControlContainer,
|
|
1458
1458
|
// ignore coverage
|
|
@@ -1499,7 +1499,7 @@ __decorate([
|
|
|
1499
1499
|
Required,
|
|
1500
1500
|
__metadata("design:type", Object)
|
|
1501
1501
|
], FormDirective.prototype, "_formDefinition", void 0);
|
|
1502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormDirective, decorators: [{
|
|
1503
1503
|
type: Directive,
|
|
1504
1504
|
args: [{
|
|
1505
1505
|
selector: 'form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]',
|
|
@@ -1661,9 +1661,9 @@ class FormSubmitFailedDirective {
|
|
|
1661
1661
|
this.subscription?.unsubscribe();
|
|
1662
1662
|
}
|
|
1663
1663
|
}
|
|
1664
|
-
FormSubmitFailedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1665
|
-
FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1664
|
+
FormSubmitFailedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitFailedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1665
|
+
FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]", ngImport: i0 });
|
|
1666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitFailedDirective, decorators: [{
|
|
1667
1667
|
type: Directive,
|
|
1668
1668
|
args: [{
|
|
1669
1669
|
selector: '[rxapFormSubmitFailed]'
|
|
@@ -1697,9 +1697,9 @@ class FormLoadingDirective {
|
|
|
1697
1697
|
this.subscription?.unsubscribe();
|
|
1698
1698
|
}
|
|
1699
1699
|
}
|
|
1700
|
-
FormLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1701
|
-
FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1700
|
+
FormLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1701
|
+
FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadingDirective, selector: "[rxapFormLoading]", ngImport: i0 });
|
|
1702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingDirective, decorators: [{
|
|
1703
1703
|
type: Directive,
|
|
1704
1704
|
args: [{
|
|
1705
1705
|
selector: '[rxapFormLoading]'
|
|
@@ -1733,9 +1733,9 @@ class FormSubmittingDirective {
|
|
|
1733
1733
|
this.subscription?.unsubscribe();
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
|
-
FormSubmittingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1737
|
-
FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1736
|
+
FormSubmittingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmittingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1737
|
+
FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]", ngImport: i0 });
|
|
1738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmittingDirective, decorators: [{
|
|
1739
1739
|
type: Directive,
|
|
1740
1740
|
args: [{
|
|
1741
1741
|
selector: '[rxapFormSubmitting]'
|
|
@@ -1769,9 +1769,9 @@ class FormLoadedDirective {
|
|
|
1769
1769
|
this.subscription?.unsubscribe();
|
|
1770
1770
|
}
|
|
1771
1771
|
}
|
|
1772
|
-
FormLoadedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1773
|
-
FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1772
|
+
FormLoadedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1773
|
+
FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadedDirective, selector: "[rxapFormLoaded]", ngImport: i0 });
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadedDirective, decorators: [{
|
|
1775
1775
|
type: Directive,
|
|
1776
1776
|
args: [{
|
|
1777
1777
|
selector: '[rxapFormLoaded]'
|
|
@@ -1805,9 +1805,9 @@ class FormLoadingErrorDirective {
|
|
|
1805
1805
|
this.subscription?.unsubscribe();
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
1808
|
-
FormLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1809
|
-
FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1808
|
+
FormLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingErrorDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1809
|
+
FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadingErrorDirective, selector: "[rxapFormLoadingError]", ngImport: i0 });
|
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingErrorDirective, decorators: [{
|
|
1811
1811
|
type: Directive,
|
|
1812
1812
|
args: [{
|
|
1813
1813
|
selector: '[rxapFormLoadingError]'
|
|
@@ -1848,8 +1848,8 @@ class FormControlErrorDirective {
|
|
|
1848
1848
|
this.subscription?.unsubscribe();
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
|
-
FormControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1852
|
-
FormControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1851
|
+
FormControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlErrorDirective, deps: [{ token: i0.TemplateRef }, { token: i1.ControlContainer, host: true, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1852
|
+
FormControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: { name: ["rxapFormControlErrorFrom", "name"], errorKey: ["rxapFormControlErrorIf", "errorKey"] }, ngImport: i0 });
|
|
1853
1853
|
__decorate([
|
|
1854
1854
|
Required,
|
|
1855
1855
|
__metadata("design:type", String)
|
|
@@ -1858,7 +1858,7 @@ __decorate([
|
|
|
1858
1858
|
Required,
|
|
1859
1859
|
__metadata("design:type", String)
|
|
1860
1860
|
], FormControlErrorDirective.prototype, "errorKey", void 0);
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlErrorDirective, decorators: [{
|
|
1862
1862
|
type: Directive,
|
|
1863
1863
|
args: [{
|
|
1864
1864
|
selector: '[rxapFormControlError]'
|
|
@@ -1889,9 +1889,9 @@ class FormControlMarkDirtyDirective {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
|
-
FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1893
|
-
FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1892
|
+
FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkDirtyDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1893
|
+
FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkDirtyDirective, decorators: [{
|
|
1895
1895
|
type: Directive,
|
|
1896
1896
|
args: [{
|
|
1897
1897
|
selector: '[rxapFormControlMarkDirty]'
|
|
@@ -1909,9 +1909,9 @@ class FormControlMarkTouchedDirective {
|
|
|
1909
1909
|
this.parent.control?.markAllAsTouched();
|
|
1910
1910
|
}
|
|
1911
1911
|
}
|
|
1912
|
-
FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1913
|
-
FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1912
|
+
FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkTouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1913
|
+
FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkTouchedDirective, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkTouchedDirective, decorators: [{
|
|
1915
1915
|
type: Directive,
|
|
1916
1916
|
args: [{
|
|
1917
1917
|
selector: '[rxapFormControlMarkTouched]'
|
|
@@ -1935,9 +1935,9 @@ class FormControlMarkUntouchedDirective {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
}
|
|
1938
|
-
FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1939
|
-
FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1938
|
+
FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkUntouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1939
|
+
FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkUntouchedDirective, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkUntouchedDirective, decorators: [{
|
|
1941
1941
|
type: Directive,
|
|
1942
1942
|
args: [{
|
|
1943
1943
|
selector: '[rxapFormControlMarkUntouched]'
|
|
@@ -1961,9 +1961,9 @@ class FormControlMarkPristineDirective {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
}
|
|
1963
1963
|
}
|
|
1964
|
-
FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1965
|
-
FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1964
|
+
FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkPristineDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1965
|
+
FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkPristineDirective, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkPristineDirective, decorators: [{
|
|
1967
1967
|
type: Directive,
|
|
1968
1968
|
args: [{
|
|
1969
1969
|
selector: '[rxapFormControlMarkPristine]'
|
|
@@ -2009,9 +2009,9 @@ class FormSubmitDirective extends ConfirmClick {
|
|
|
2009
2009
|
this.subscription?.unsubscribe();
|
|
2010
2010
|
}
|
|
2011
2011
|
}
|
|
2012
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2013
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2012
|
+
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitDirective, deps: [{ token: FormDirective }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2013
|
+
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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 });
|
|
2014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
2015
2015
|
type: Directive,
|
|
2016
2016
|
args: [{
|
|
2017
2017
|
selector: '[rxapFormSubmit]',
|
|
@@ -2057,14 +2057,14 @@ class FormGroupNameDirective extends FormGroupName {
|
|
|
2057
2057
|
return this.formDirective.getFormGroup(this);
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
|
-
FormGroupNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2061
|
-
FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2060
|
+
FormGroupNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2061
|
+
FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormGroupNameDirective, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
|
|
2062
2062
|
{
|
|
2063
2063
|
provide: ControlContainer,
|
|
2064
2064
|
useExisting: forwardRef(() => FormGroupNameDirective)
|
|
2065
2065
|
}
|
|
2066
2066
|
], exportAs: ["rxapFormGroup"], usesInheritance: true, ngImport: i0 });
|
|
2067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormGroupNameDirective, decorators: [{
|
|
2068
2068
|
type: Directive,
|
|
2069
2069
|
args: [{
|
|
2070
2070
|
selector: '[rxapFormGroupName]',
|
|
@@ -2110,14 +2110,14 @@ class FormControlNameDirective extends FormControlName {
|
|
|
2110
2110
|
super(parent, validators, asyncValidators, valueAccessors, null);
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
|
-
FormControlNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2114
|
-
FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2113
|
+
FormControlNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2114
|
+
FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlNameDirective, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
|
|
2115
2115
|
{
|
|
2116
2116
|
provide: NgControl,
|
|
2117
2117
|
useExisting: forwardRef(() => FormControlNameDirective)
|
|
2118
2118
|
}
|
|
2119
2119
|
], exportAs: ["rxapFormControl"], usesInheritance: true, ngImport: i0 });
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlNameDirective, decorators: [{
|
|
2121
2121
|
type: Directive,
|
|
2122
2122
|
args: [{
|
|
2123
2123
|
selector: '[rxapFormControlName]',
|
|
@@ -2161,14 +2161,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2161
2161
|
|
|
2162
2162
|
class ParentControlContainerDirective {
|
|
2163
2163
|
}
|
|
2164
|
-
ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2165
|
-
ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2164
|
+
ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ParentControlContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2165
|
+
ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ParentControlContainerDirective, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
|
|
2166
2166
|
{
|
|
2167
2167
|
provide: ControlContainer,
|
|
2168
2168
|
useExisting: ControlContainer
|
|
2169
2169
|
}
|
|
2170
2170
|
], ngImport: i0 });
|
|
2171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ParentControlContainerDirective, decorators: [{
|
|
2172
2172
|
type: Directive,
|
|
2173
2173
|
args: [{
|
|
2174
2174
|
selector: '[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]',
|
|
@@ -2197,9 +2197,9 @@ class FormSubmitSuccessfulDirective {
|
|
|
2197
2197
|
this.subscription?.unsubscribe();
|
|
2198
2198
|
}
|
|
2199
2199
|
}
|
|
2200
|
-
FormSubmitSuccessfulDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2201
|
-
FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2200
|
+
FormSubmitSuccessfulDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitSuccessfulDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2201
|
+
FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitSuccessfulDirective, selector: "[rxapFormSubmitSuccessful]", ngImport: i0 });
|
|
2202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitSuccessfulDirective, decorators: [{
|
|
2203
2203
|
type: Directive,
|
|
2204
2204
|
args: [{
|
|
2205
2205
|
selector: '[rxapFormSubmitSuccessful]'
|
|
@@ -2231,9 +2231,9 @@ class FormSubmitInvalidDirective {
|
|
|
2231
2231
|
this.subscription?.unsubscribe();
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
FormSubmitInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2235
|
-
FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2234
|
+
FormSubmitInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitInvalidDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2235
|
+
FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitInvalidDirective, selector: "[rxapFormSubmitInvalid]", ngImport: i0 });
|
|
2236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitInvalidDirective, decorators: [{
|
|
2237
2237
|
type: Directive,
|
|
2238
2238
|
args: [{
|
|
2239
2239
|
selector: '[rxapFormSubmitInvalid]'
|
|
@@ -2251,8 +2251,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2251
2251
|
|
|
2252
2252
|
class RxapFormsModule {
|
|
2253
2253
|
}
|
|
2254
|
-
RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2255
|
-
RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2254
|
+
RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2255
|
+
RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, declarations: [FormDirective,
|
|
2256
2256
|
FormSubmitFailedDirective,
|
|
2257
2257
|
FormLoadingDirective,
|
|
2258
2258
|
FormSubmittingDirective,
|
|
@@ -2285,8 +2285,8 @@ RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
2285
2285
|
ParentControlContainerDirective,
|
|
2286
2286
|
FormSubmitSuccessfulDirective,
|
|
2287
2287
|
FormSubmitInvalidDirective] });
|
|
2288
|
-
RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2288
|
+
RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule });
|
|
2289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, decorators: [{
|
|
2290
2290
|
type: NgModule,
|
|
2291
2291
|
args: [{
|
|
2292
2292
|
declarations: [
|