@rxap/forms 18.3.0 → 19.0.0-dev.1
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/CHANGELOG.md +8 -0
- package/fesm2022/rxap-forms.mjs +58 -61
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +23 -25
- package/theme.css +1 -95
- package/esm2022/index.mjs +0 -65
- package/esm2022/lib/control-actions.mjs +0 -77
- package/esm2022/lib/control-value-accessor.mjs +0 -20
- package/esm2022/lib/decorators/control-async-validator.mjs +0 -10
- package/esm2022/lib/decorators/control-change.mjs +0 -10
- package/esm2022/lib/decorators/control-set-value.mjs +0 -11
- package/esm2022/lib/decorators/control-validator.mjs +0 -10
- package/esm2022/lib/decorators/form.mjs +0 -7
- package/esm2022/lib/decorators/metadata-keys.mjs +0 -12
- package/esm2022/lib/decorators/use-form-array.mjs +0 -16
- package/esm2022/lib/decorators/use-form-control.mjs +0 -8
- package/esm2022/lib/decorators/use-form-group.mjs +0 -11
- package/esm2022/lib/directives/form-control-error.directive.mjs +0 -56
- package/esm2022/lib/directives/form-control-mark-dirty.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-mark-pristine.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-mark-touched.directive.mjs +0 -25
- package/esm2022/lib/directives/form-control-mark-untouched.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-name.directive.mjs +0 -65
- package/esm2022/lib/directives/form-group-name.directive.mjs +0 -62
- package/esm2022/lib/directives/form-loaded.directive.mjs +0 -42
- package/esm2022/lib/directives/form-loading-error.directive.mjs +0 -42
- package/esm2022/lib/directives/form-loading.directive.mjs +0 -42
- package/esm2022/lib/directives/form-reset.directive.mjs +0 -38
- package/esm2022/lib/directives/form-submit-failed.directive.mjs +0 -42
- package/esm2022/lib/directives/form-submit-invalid.directive.mjs +0 -40
- package/esm2022/lib/directives/form-submit-successful.directive.mjs +0 -40
- package/esm2022/lib/directives/form-submit.directive.mjs +0 -79
- package/esm2022/lib/directives/form-submitting.directive.mjs +0 -42
- package/esm2022/lib/directives/form.directive.mjs +0 -566
- package/esm2022/lib/directives/forms.module.mjs +0 -100
- package/esm2022/lib/directives/models.mjs +0 -12
- package/esm2022/lib/directives/parent-control-container.directive.mjs +0 -27
- package/esm2022/lib/directives/tokens.mjs +0 -10
- package/esm2022/lib/form-array.mjs +0 -257
- package/esm2022/lib/form-builder.mjs +0 -381
- package/esm2022/lib/form-control.mjs +0 -175
- package/esm2022/lib/form-group.mjs +0 -205
- package/esm2022/lib/model.mjs +0 -2
- package/esm2022/lib/tokens.mjs +0 -4
- package/esm2022/lib/types.mjs +0 -2
- package/esm2022/lib/utilities.mjs +0 -36
- package/esm2022/lib/validators/index.mjs +0 -33
- package/esm2022/lib/validators/is-array.mjs +0 -18
- package/esm2022/lib/validators/is-boolean.mjs +0 -18
- package/esm2022/lib/validators/is-complex.mjs +0 -85
- package/esm2022/lib/validators/is-date.mjs +0 -18
- package/esm2022/lib/validators/is-email.mjs +0 -19
- package/esm2022/lib/validators/is-enum.mjs +0 -18
- package/esm2022/lib/validators/is-int.mjs +0 -19
- package/esm2022/lib/validators/is-ip.mjs +0 -19
- package/esm2022/lib/validators/is-number.mjs +0 -61
- package/esm2022/lib/validators/is-object.mjs +0 -21
- package/esm2022/lib/validators/is-phone-number.mjs +0 -19
- package/esm2022/lib/validators/is-port.mjs +0 -19
- package/esm2022/lib/validators/is-string.mjs +0 -18
- package/esm2022/lib/validators/is-url.mjs +0 -19
- package/esm2022/lib/validators/is-uuid.mjs +0 -19
- package/esm2022/rxap-forms.mjs +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [19.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/forms@18.3.1-dev.0...@rxap/forms@19.0.0-dev.1) (2024-12-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/forms
|
|
9
|
+
|
|
10
|
+
## [18.3.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/forms@18.3.0...@rxap/forms@18.3.1-dev.0) (2024-12-10)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/forms
|
|
13
|
+
|
|
6
14
|
# [18.3.0](https://gitlab.com/rxap/packages/compare/@rxap/forms@18.3.0-dev.0...@rxap/forms@18.3.0) (2024-10-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @rxap/forms
|
package/fesm2022/rxap-forms.mjs
CHANGED
|
@@ -438,10 +438,10 @@ class FormControlErrorDirective {
|
|
|
438
438
|
ngOnDestroy() {
|
|
439
439
|
this.subscription?.unsubscribe();
|
|
440
440
|
}
|
|
441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
442
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlErrorDirective, deps: [{ token: i0.TemplateRef }, { token: i1.ControlContainer, host: true, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
442
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlErrorDirective, isStandalone: true, selector: "[rxapFormControlError]", inputs: { name: ["rxapFormControlErrorFrom", "name"], errorKey: ["rxapFormControlErrorIf", "errorKey"] }, ngImport: i0 }); }
|
|
443
443
|
}
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlErrorDirective, decorators: [{
|
|
445
445
|
type: Directive,
|
|
446
446
|
args: [{
|
|
447
447
|
selector: '[rxapFormControlError]',
|
|
@@ -478,10 +478,10 @@ class FormControlMarkDirtyDirective {
|
|
|
478
478
|
control?.markAsDirty();
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
482
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
481
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkDirtyDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
482
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlMarkDirtyDirective, isStandalone: true, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
483
483
|
}
|
|
484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkDirtyDirective, decorators: [{
|
|
485
485
|
type: Directive,
|
|
486
486
|
args: [{
|
|
487
487
|
selector: '[rxapFormControlMarkDirty]',
|
|
@@ -505,10 +505,10 @@ class FormControlMarkPristineDirective {
|
|
|
505
505
|
control?.markAsPristine();
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
509
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkPristineDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
509
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlMarkPristineDirective, isStandalone: true, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
510
510
|
}
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkPristineDirective, decorators: [{
|
|
512
512
|
type: Directive,
|
|
513
513
|
args: [{
|
|
514
514
|
selector: '[rxapFormControlMarkPristine]',
|
|
@@ -526,10 +526,10 @@ class FormControlMarkTouchedDirective {
|
|
|
526
526
|
onClick() {
|
|
527
527
|
this.parent.control?.markAllAsTouched();
|
|
528
528
|
}
|
|
529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
530
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
529
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkTouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
530
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlMarkTouchedDirective, isStandalone: true, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
531
531
|
}
|
|
532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkTouchedDirective, decorators: [{
|
|
533
533
|
type: Directive,
|
|
534
534
|
args: [{
|
|
535
535
|
selector: '[rxapFormControlMarkTouched]',
|
|
@@ -553,10 +553,10 @@ class FormControlMarkUntouchedDirective {
|
|
|
553
553
|
control?.markAsUntouched();
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
557
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
556
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkUntouchedDirective, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
557
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlMarkUntouchedDirective, isStandalone: true, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
558
558
|
}
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlMarkUntouchedDirective, decorators: [{
|
|
560
560
|
type: Directive,
|
|
561
561
|
args: [{
|
|
562
562
|
selector: '[rxapFormControlMarkUntouched]',
|
|
@@ -577,15 +577,15 @@ class FormControlNameDirective extends FormControlName {
|
|
|
577
577
|
constructor(parent, validators, asyncValidators, valueAccessors) {
|
|
578
578
|
super(parent, validators, asyncValidators, valueAccessors, null);
|
|
579
579
|
}
|
|
580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
581
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", 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 }); }
|
|
581
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormControlNameDirective, isStandalone: true, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
|
|
582
582
|
{
|
|
583
583
|
provide: NgControl,
|
|
584
584
|
useExisting: forwardRef(() => FormControlNameDirective),
|
|
585
585
|
},
|
|
586
586
|
], exportAs: ["rxapFormControl"], usesInheritance: true, ngImport: i0 }); }
|
|
587
587
|
}
|
|
588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormControlNameDirective, decorators: [{
|
|
589
589
|
type: Directive,
|
|
590
590
|
args: [{
|
|
591
591
|
selector: '[rxapFormControlName]',
|
|
@@ -642,15 +642,15 @@ class FormGroupNameDirective extends FormGroupName {
|
|
|
642
642
|
constructor(parent, validators, asyncValidators) {
|
|
643
643
|
super(parent, validators, asyncValidators);
|
|
644
644
|
}
|
|
645
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", 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 }); }
|
|
646
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormGroupNameDirective, isStandalone: true, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
|
|
647
647
|
{
|
|
648
648
|
provide: ControlContainer,
|
|
649
649
|
useExisting: forwardRef(() => FormGroupNameDirective),
|
|
650
650
|
},
|
|
651
651
|
], exportAs: ["rxapFormGroup"], usesInheritance: true, ngImport: i0 }); }
|
|
652
652
|
}
|
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormGroupNameDirective, decorators: [{
|
|
654
654
|
type: Directive,
|
|
655
655
|
args: [{
|
|
656
656
|
selector: '[rxapFormGroupName]',
|
|
@@ -2127,8 +2127,8 @@ class FormDirective extends FormGroupDirective {
|
|
|
2127
2127
|
this._formDefinition.ngOnDestroy();
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2131
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", 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 }); }
|
|
2131
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.3", type: FormDirective, isStandalone: true, selector: "form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: { initial: { classPropertyName: "initial", publicName: "initial", isSignal: false, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null }, useFormDefinition: { classPropertyName: "useFormDefinition", publicName: "rxapForm", isSignal: false, isRequired: false, transformFunction: null }, submitMethod: { classPropertyName: "submitMethod", publicName: "submitMethod", isSignal: false, isRequired: false, transformFunction: null }, loadMethod: { classPropertyName: "loadMethod", publicName: "loadMethod", isSignal: false, isRequired: false, transformFunction: null }, loadFailedMethod: { classPropertyName: "loadFailedMethod", publicName: "loadFailedMethod", isSignal: false, isRequired: false, transformFunction: null }, loadSuccessfulMethod: { classPropertyName: "loadSuccessfulMethod", publicName: "loadSuccessfulMethod", isSignal: false, isRequired: false, transformFunction: null }, submitFailedMethod: { classPropertyName: "submitFailedMethod", publicName: "submitFailedMethod", isSignal: false, isRequired: false, transformFunction: null }, submitSuccessfulMethod: { classPropertyName: "submitSuccessfulMethod", publicName: "submitSuccessfulMethod", isSignal: false, isRequired: false, transformFunction: null } }, 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: [
|
|
2132
2132
|
{
|
|
2133
2133
|
provide: ControlContainer,
|
|
2134
2134
|
// ignore coverage
|
|
@@ -2172,7 +2172,7 @@ class FormDirective extends FormGroupDirective {
|
|
|
2172
2172
|
// endregion
|
|
2173
2173
|
], exportAs: ["rxapForm"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
2174
2174
|
}
|
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormDirective, decorators: [{
|
|
2176
2176
|
type: Directive,
|
|
2177
2177
|
args: [{
|
|
2178
2178
|
selector: 'form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]',
|
|
@@ -2219,7 +2219,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
2219
2219
|
},
|
|
2220
2220
|
// endregion
|
|
2221
2221
|
],
|
|
2222
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
2223
2222
|
host: { '(reset)': 'onReset()' },
|
|
2224
2223
|
// eslint-disable-next-line @angular-eslint/no-outputs-metadata-property
|
|
2225
2224
|
outputs: ['ngSubmit'],
|
|
@@ -2346,10 +2345,10 @@ class FormLoadedDirective {
|
|
|
2346
2345
|
ngOnDestroy() {
|
|
2347
2346
|
this.subscription?.unsubscribe();
|
|
2348
2347
|
}
|
|
2349
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2350
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2349
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormLoadedDirective, isStandalone: true, selector: "[rxapFormLoaded]", ngImport: i0 }); }
|
|
2351
2350
|
}
|
|
2352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadedDirective, decorators: [{
|
|
2353
2352
|
type: Directive,
|
|
2354
2353
|
args: [{
|
|
2355
2354
|
selector: '[rxapFormLoaded]',
|
|
@@ -2383,10 +2382,10 @@ class FormLoadingErrorDirective {
|
|
|
2383
2382
|
ngOnDestroy() {
|
|
2384
2383
|
this.subscription?.unsubscribe();
|
|
2385
2384
|
}
|
|
2386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2387
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadingErrorDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2386
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormLoadingErrorDirective, isStandalone: true, selector: "[rxapFormLoadingError]", ngImport: i0 }); }
|
|
2388
2387
|
}
|
|
2389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadingErrorDirective, decorators: [{
|
|
2390
2389
|
type: Directive,
|
|
2391
2390
|
args: [{
|
|
2392
2391
|
selector: '[rxapFormLoadingError]',
|
|
@@ -2420,10 +2419,10 @@ class FormLoadingDirective {
|
|
|
2420
2419
|
ngOnDestroy() {
|
|
2421
2420
|
this.subscription?.unsubscribe();
|
|
2422
2421
|
}
|
|
2423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2423
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormLoadingDirective, isStandalone: true, selector: "[rxapFormLoading]", ngImport: i0 }); }
|
|
2425
2424
|
}
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormLoadingDirective, decorators: [{
|
|
2427
2426
|
type: Directive,
|
|
2428
2427
|
args: [{
|
|
2429
2428
|
selector: '[rxapFormLoading]',
|
|
@@ -2449,14 +2448,13 @@ class FormResetDirective extends ConfirmClick {
|
|
|
2449
2448
|
execute() {
|
|
2450
2449
|
this.formDirective.reset();
|
|
2451
2450
|
}
|
|
2452
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2453
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2451
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormResetDirective, deps: [{ token: FormDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2452
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormResetDirective, isStandalone: true, selector: "[rxapFormReset]", inputs: { type: "type" }, host: { listeners: { "click": "onClick()", "confirmed": "onConfirm()" }, properties: { "type": "this.type" } }, usesInheritance: true, ngImport: i0 }); }
|
|
2454
2453
|
}
|
|
2455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormResetDirective, decorators: [{
|
|
2456
2455
|
type: Directive,
|
|
2457
2456
|
args: [{
|
|
2458
2457
|
selector: '[rxapFormReset]',
|
|
2459
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
2460
2458
|
host: {
|
|
2461
2459
|
'(click)': 'onClick()',
|
|
2462
2460
|
'(confirmed)': 'onConfirm()',
|
|
@@ -2490,10 +2488,10 @@ class FormSubmitFailedDirective {
|
|
|
2490
2488
|
ngOnDestroy() {
|
|
2491
2489
|
this.subscription?.unsubscribe();
|
|
2492
2490
|
}
|
|
2493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2494
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitFailedDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2492
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormSubmitFailedDirective, isStandalone: true, selector: "[rxapFormSubmitFailed]", ngImport: i0 }); }
|
|
2495
2493
|
}
|
|
2496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitFailedDirective, decorators: [{
|
|
2497
2495
|
type: Directive,
|
|
2498
2496
|
args: [{
|
|
2499
2497
|
selector: '[rxapFormSubmitFailed]',
|
|
@@ -2525,10 +2523,10 @@ class FormSubmitInvalidDirective {
|
|
|
2525
2523
|
ngOnDestroy() {
|
|
2526
2524
|
this.subscription?.unsubscribe();
|
|
2527
2525
|
}
|
|
2528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2529
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2526
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitInvalidDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2527
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormSubmitInvalidDirective, isStandalone: true, selector: "[rxapFormSubmitInvalid]", ngImport: i0 }); }
|
|
2530
2528
|
}
|
|
2531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitInvalidDirective, decorators: [{
|
|
2532
2530
|
type: Directive,
|
|
2533
2531
|
args: [{
|
|
2534
2532
|
selector: '[rxapFormSubmitInvalid]',
|
|
@@ -2560,10 +2558,10 @@ class FormSubmitSuccessfulDirective {
|
|
|
2560
2558
|
ngOnDestroy() {
|
|
2561
2559
|
this.subscription?.unsubscribe();
|
|
2562
2560
|
}
|
|
2563
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2564
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2561
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitSuccessfulDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2562
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormSubmitSuccessfulDirective, isStandalone: true, selector: "[rxapFormSubmitSuccessful]", ngImport: i0 }); }
|
|
2565
2563
|
}
|
|
2566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitSuccessfulDirective, decorators: [{
|
|
2567
2565
|
type: Directive,
|
|
2568
2566
|
args: [{
|
|
2569
2567
|
selector: '[rxapFormSubmitSuccessful]',
|
|
@@ -2615,14 +2613,13 @@ class FormSubmitDirective extends ConfirmClick {
|
|
|
2615
2613
|
ngOnDestroy() {
|
|
2616
2614
|
this.subscription?.unsubscribe();
|
|
2617
2615
|
}
|
|
2618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2619
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitDirective, deps: [{ token: FormDirective }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2617
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormSubmitDirective, isStandalone: true, 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 }); }
|
|
2620
2618
|
}
|
|
2621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
2622
2620
|
type: Directive,
|
|
2623
2621
|
args: [{
|
|
2624
2622
|
selector: '[rxapFormSubmit]',
|
|
2625
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
2626
2623
|
host: {
|
|
2627
2624
|
'(click)': 'onClick()',
|
|
2628
2625
|
'(confirmed)': 'onConfirm()',
|
|
@@ -2667,10 +2664,10 @@ class FormSubmittingDirective {
|
|
|
2667
2664
|
ngOnDestroy() {
|
|
2668
2665
|
this.subscription?.unsubscribe();
|
|
2669
2666
|
}
|
|
2670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2671
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmittingDirective, deps: [{ token: FormDirective }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2668
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: FormSubmittingDirective, isStandalone: true, selector: "[rxapFormSubmitting]", ngImport: i0 }); }
|
|
2672
2669
|
}
|
|
2673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FormSubmittingDirective, decorators: [{
|
|
2674
2671
|
type: Directive,
|
|
2675
2672
|
args: [{
|
|
2676
2673
|
selector: '[rxapFormSubmitting]',
|
|
@@ -2688,15 +2685,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
2688
2685
|
}] }] });
|
|
2689
2686
|
|
|
2690
2687
|
class ParentControlContainerDirective {
|
|
2691
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2692
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ParentControlContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2689
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: ParentControlContainerDirective, isStandalone: true, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
|
|
2693
2690
|
{
|
|
2694
2691
|
provide: ControlContainer,
|
|
2695
2692
|
useExisting: ControlContainer,
|
|
2696
2693
|
},
|
|
2697
2694
|
], ngImport: i0 }); }
|
|
2698
2695
|
}
|
|
2699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ParentControlContainerDirective, decorators: [{
|
|
2700
2697
|
type: Directive,
|
|
2701
2698
|
args: [{
|
|
2702
2699
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2712,8 +2709,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
2712
2709
|
}] });
|
|
2713
2710
|
|
|
2714
2711
|
class RxapFormsModule {
|
|
2715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2716
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2712
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: RxapFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2713
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: RxapFormsModule, imports: [FormDirective,
|
|
2717
2714
|
FormSubmitFailedDirective,
|
|
2718
2715
|
FormLoadingDirective,
|
|
2719
2716
|
FormSubmittingDirective,
|
|
@@ -2746,9 +2743,9 @@ class RxapFormsModule {
|
|
|
2746
2743
|
ParentControlContainerDirective,
|
|
2747
2744
|
FormSubmitSuccessfulDirective,
|
|
2748
2745
|
FormSubmitInvalidDirective] }); }
|
|
2749
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2746
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: RxapFormsModule }); }
|
|
2750
2747
|
}
|
|
2751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: RxapFormsModule, decorators: [{
|
|
2752
2749
|
type: NgModule,
|
|
2753
2750
|
args: [{
|
|
2754
2751
|
imports: [
|