@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/fesm2015/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';
|
|
@@ -93,7 +93,7 @@ function selectControlValue$(control, mapFn) {
|
|
|
93
93
|
return control.value$.pipe(map(mapFn), distinctUntilChanged());
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class RxapFormArray extends
|
|
96
|
+
class RxapFormArray extends UntypedFormArray {
|
|
97
97
|
constructor(controls, options) {
|
|
98
98
|
super(controls, options);
|
|
99
99
|
this.controls = controls;
|
|
@@ -325,7 +325,7 @@ var MetadataKeys;
|
|
|
325
325
|
MetadataKeys["FORM_CONTROLS"] = "rxap/forms/form-controls";
|
|
326
326
|
})(MetadataKeys || (MetadataKeys = {}));
|
|
327
327
|
|
|
328
|
-
class RxapFormGroup extends
|
|
328
|
+
class RxapFormGroup extends UntypedFormGroup {
|
|
329
329
|
constructor(controls, options) {
|
|
330
330
|
super(controls, options);
|
|
331
331
|
this.controls = controls;
|
|
@@ -503,7 +503,7 @@ class RxapFormGroup extends FormGroup {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
-
class RxapFormControl extends
|
|
506
|
+
class RxapFormControl extends UntypedFormControl {
|
|
507
507
|
constructor(formState, options) {
|
|
508
508
|
super(formState, options);
|
|
509
509
|
this._readonly = false;
|
|
@@ -1433,8 +1433,8 @@ class FormDirective extends FormGroupDirective {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1437
|
-
FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1436
|
+
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 });
|
|
1437
|
+
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: [
|
|
1438
1438
|
{
|
|
1439
1439
|
provide: ControlContainer,
|
|
1440
1440
|
// ignore coverage
|
|
@@ -1481,7 +1481,7 @@ __decorate([
|
|
|
1481
1481
|
Required,
|
|
1482
1482
|
__metadata("design:type", Object)
|
|
1483
1483
|
], FormDirective.prototype, "_formDefinition", void 0);
|
|
1484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormDirective, decorators: [{
|
|
1485
1485
|
type: Directive,
|
|
1486
1486
|
args: [{
|
|
1487
1487
|
selector: 'form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]',
|
|
@@ -1646,9 +1646,9 @@ class FormSubmitFailedDirective {
|
|
|
1646
1646
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
|
-
FormSubmitFailedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1650
|
-
FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1649
|
+
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 });
|
|
1650
|
+
FormSubmitFailedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]", ngImport: i0 });
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitFailedDirective, decorators: [{
|
|
1652
1652
|
type: Directive,
|
|
1653
1653
|
args: [{
|
|
1654
1654
|
selector: '[rxapFormSubmitFailed]'
|
|
@@ -1685,9 +1685,9 @@ class FormLoadingDirective {
|
|
|
1685
1685
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
|
-
FormLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1689
|
-
FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1688
|
+
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 });
|
|
1689
|
+
FormLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadingDirective, selector: "[rxapFormLoading]", ngImport: i0 });
|
|
1690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingDirective, decorators: [{
|
|
1691
1691
|
type: Directive,
|
|
1692
1692
|
args: [{
|
|
1693
1693
|
selector: '[rxapFormLoading]'
|
|
@@ -1724,9 +1724,9 @@ class FormSubmittingDirective {
|
|
|
1724
1724
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1725
1725
|
}
|
|
1726
1726
|
}
|
|
1727
|
-
FormSubmittingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1728
|
-
FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1727
|
+
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 });
|
|
1728
|
+
FormSubmittingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]", ngImport: i0 });
|
|
1729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmittingDirective, decorators: [{
|
|
1730
1730
|
type: Directive,
|
|
1731
1731
|
args: [{
|
|
1732
1732
|
selector: '[rxapFormSubmitting]'
|
|
@@ -1763,9 +1763,9 @@ class FormLoadedDirective {
|
|
|
1763
1763
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1764
1764
|
}
|
|
1765
1765
|
}
|
|
1766
|
-
FormLoadedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1767
|
-
FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1766
|
+
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 });
|
|
1767
|
+
FormLoadedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadedDirective, selector: "[rxapFormLoaded]", ngImport: i0 });
|
|
1768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadedDirective, decorators: [{
|
|
1769
1769
|
type: Directive,
|
|
1770
1770
|
args: [{
|
|
1771
1771
|
selector: '[rxapFormLoaded]'
|
|
@@ -1802,9 +1802,9 @@ class FormLoadingErrorDirective {
|
|
|
1802
1802
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1803
1803
|
}
|
|
1804
1804
|
}
|
|
1805
|
-
FormLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1806
|
-
FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1805
|
+
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 });
|
|
1806
|
+
FormLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormLoadingErrorDirective, selector: "[rxapFormLoadingError]", ngImport: i0 });
|
|
1807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormLoadingErrorDirective, decorators: [{
|
|
1808
1808
|
type: Directive,
|
|
1809
1809
|
args: [{
|
|
1810
1810
|
selector: '[rxapFormLoadingError]'
|
|
@@ -1849,8 +1849,8 @@ class FormControlErrorDirective {
|
|
|
1849
1849
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
|
-
FormControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1853
|
-
FormControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1852
|
+
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 });
|
|
1853
|
+
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 });
|
|
1854
1854
|
__decorate([
|
|
1855
1855
|
Required,
|
|
1856
1856
|
__metadata("design:type", String)
|
|
@@ -1859,7 +1859,7 @@ __decorate([
|
|
|
1859
1859
|
Required,
|
|
1860
1860
|
__metadata("design:type", String)
|
|
1861
1861
|
], FormControlErrorDirective.prototype, "errorKey", void 0);
|
|
1862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlErrorDirective, decorators: [{
|
|
1863
1863
|
type: Directive,
|
|
1864
1864
|
args: [{
|
|
1865
1865
|
selector: '[rxapFormControlError]'
|
|
@@ -1892,9 +1892,9 @@ class FormControlMarkDirtyDirective {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
|
-
FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1896
|
-
FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1895
|
+
FormControlMarkDirtyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkDirtyDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1896
|
+
FormControlMarkDirtyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkDirtyDirective, decorators: [{
|
|
1898
1898
|
type: Directive,
|
|
1899
1899
|
args: [{
|
|
1900
1900
|
selector: '[rxapFormControlMarkDirty]'
|
|
@@ -1913,9 +1913,9 @@ class FormControlMarkTouchedDirective {
|
|
|
1913
1913
|
(_a = this.parent.control) === null || _a === void 0 ? void 0 : _a.markAllAsTouched();
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
|
-
FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1917
|
-
FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1916
|
+
FormControlMarkTouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkTouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1917
|
+
FormControlMarkTouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkTouchedDirective, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkTouchedDirective, decorators: [{
|
|
1919
1919
|
type: Directive,
|
|
1920
1920
|
args: [{
|
|
1921
1921
|
selector: '[rxapFormControlMarkTouched]'
|
|
@@ -1939,9 +1939,9 @@ class FormControlMarkUntouchedDirective {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
|
-
FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1943
|
-
FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1942
|
+
FormControlMarkUntouchedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkUntouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1943
|
+
FormControlMarkUntouchedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkUntouchedDirective, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkUntouchedDirective, decorators: [{
|
|
1945
1945
|
type: Directive,
|
|
1946
1946
|
args: [{
|
|
1947
1947
|
selector: '[rxapFormControlMarkUntouched]'
|
|
@@ -1965,9 +1965,9 @@ class FormControlMarkPristineDirective {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1969
|
-
FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1968
|
+
FormControlMarkPristineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkPristineDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1969
|
+
FormControlMarkPristineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlMarkPristineDirective, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlMarkPristineDirective, decorators: [{
|
|
1971
1971
|
type: Directive,
|
|
1972
1972
|
args: [{
|
|
1973
1973
|
selector: '[rxapFormControlMarkPristine]'
|
|
@@ -2014,9 +2014,9 @@ class FormSubmitDirective extends ConfirmClick {
|
|
|
2014
2014
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2018
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2017
|
+
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 });
|
|
2018
|
+
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 });
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
2020
2020
|
type: Directive,
|
|
2021
2021
|
args: [{
|
|
2022
2022
|
selector: '[rxapFormSubmit]',
|
|
@@ -2064,14 +2064,14 @@ class FormGroupNameDirective extends FormGroupName {
|
|
|
2064
2064
|
return this.formDirective.getFormGroup(this);
|
|
2065
2065
|
}
|
|
2066
2066
|
}
|
|
2067
|
-
FormGroupNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2068
|
-
FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2067
|
+
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 });
|
|
2068
|
+
FormGroupNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormGroupNameDirective, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
|
|
2069
2069
|
{
|
|
2070
2070
|
provide: ControlContainer,
|
|
2071
2071
|
useExisting: forwardRef(() => FormGroupNameDirective)
|
|
2072
2072
|
}
|
|
2073
2073
|
], exportAs: ["rxapFormGroup"], usesInheritance: true, ngImport: i0 });
|
|
2074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormGroupNameDirective, decorators: [{
|
|
2075
2075
|
type: Directive,
|
|
2076
2076
|
args: [{
|
|
2077
2077
|
selector: '[rxapFormGroupName]',
|
|
@@ -2119,14 +2119,14 @@ class FormControlNameDirective extends FormControlName {
|
|
|
2119
2119
|
super(parent, validators, asyncValidators, valueAccessors, null);
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
2122
|
-
FormControlNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2123
|
-
FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2122
|
+
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 });
|
|
2123
|
+
FormControlNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormControlNameDirective, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
|
|
2124
2124
|
{
|
|
2125
2125
|
provide: NgControl,
|
|
2126
2126
|
useExisting: forwardRef(() => FormControlNameDirective)
|
|
2127
2127
|
}
|
|
2128
2128
|
], exportAs: ["rxapFormControl"], usesInheritance: true, ngImport: i0 });
|
|
2129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlNameDirective, decorators: [{
|
|
2130
2130
|
type: Directive,
|
|
2131
2131
|
args: [{
|
|
2132
2132
|
selector: '[rxapFormControlName]',
|
|
@@ -2172,14 +2172,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2172
2172
|
|
|
2173
2173
|
class ParentControlContainerDirective {
|
|
2174
2174
|
}
|
|
2175
|
-
ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2176
|
-
ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2175
|
+
ParentControlContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ParentControlContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2176
|
+
ParentControlContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ParentControlContainerDirective, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
|
|
2177
2177
|
{
|
|
2178
2178
|
provide: ControlContainer,
|
|
2179
2179
|
useExisting: ControlContainer
|
|
2180
2180
|
}
|
|
2181
2181
|
], ngImport: i0 });
|
|
2182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ParentControlContainerDirective, decorators: [{
|
|
2183
2183
|
type: Directive,
|
|
2184
2184
|
args: [{
|
|
2185
2185
|
selector: '[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]',
|
|
@@ -2209,9 +2209,9 @@ class FormSubmitSuccessfulDirective {
|
|
|
2209
2209
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
2210
2210
|
}
|
|
2211
2211
|
}
|
|
2212
|
-
FormSubmitSuccessfulDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2213
|
-
FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2212
|
+
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 });
|
|
2213
|
+
FormSubmitSuccessfulDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitSuccessfulDirective, selector: "[rxapFormSubmitSuccessful]", ngImport: i0 });
|
|
2214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitSuccessfulDirective, decorators: [{
|
|
2215
2215
|
type: Directive,
|
|
2216
2216
|
args: [{
|
|
2217
2217
|
selector: '[rxapFormSubmitSuccessful]'
|
|
@@ -2246,9 +2246,9 @@ class FormSubmitInvalidDirective {
|
|
|
2246
2246
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
|
-
FormSubmitInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2250
|
-
FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2249
|
+
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 });
|
|
2250
|
+
FormSubmitInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormSubmitInvalidDirective, selector: "[rxapFormSubmitInvalid]", ngImport: i0 });
|
|
2251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormSubmitInvalidDirective, decorators: [{
|
|
2252
2252
|
type: Directive,
|
|
2253
2253
|
args: [{
|
|
2254
2254
|
selector: '[rxapFormSubmitInvalid]'
|
|
@@ -2268,8 +2268,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2268
2268
|
|
|
2269
2269
|
class RxapFormsModule {
|
|
2270
2270
|
}
|
|
2271
|
-
RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2272
|
-
RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2271
|
+
RxapFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2272
|
+
RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, declarations: [FormDirective,
|
|
2273
2273
|
FormSubmitFailedDirective,
|
|
2274
2274
|
FormLoadingDirective,
|
|
2275
2275
|
FormSubmittingDirective,
|
|
@@ -2302,8 +2302,8 @@ RxapFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
2302
2302
|
ParentControlContainerDirective,
|
|
2303
2303
|
FormSubmitSuccessfulDirective,
|
|
2304
2304
|
FormSubmitInvalidDirective] });
|
|
2305
|
-
RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2305
|
+
RxapFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule });
|
|
2306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RxapFormsModule, decorators: [{
|
|
2307
2307
|
type: NgModule,
|
|
2308
2308
|
args: [{
|
|
2309
2309
|
declarations: [
|