@rxap/form-system 16.1.0-dev.3 → 16.1.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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/esm2022/lib/control-data-source.mjs +4 -4
- package/esm2022/lib/directives/array/for-form-array-items.directive.mjs +4 -4
- package/esm2022/lib/directives/array/form-array-add-item-button.directive.mjs +4 -4
- package/esm2022/lib/directives/array/form-array-item-button.mjs +4 -4
- package/esm2022/lib/directives/array/form-array-item-remove-button.directive.mjs +4 -4
- package/esm2022/lib/directives/array/form-array-item-restore-button.directive.mjs +4 -4
- package/esm2022/lib/directives/array/form-array-removable.directive.mjs +4 -4
- package/esm2022/lib/directives/control-hide-show.directive.mjs +4 -4
- package/esm2022/lib/directives/form-directives.module.mjs +5 -5
- package/esm2022/lib/directives/input-select-options.directive.mjs +4 -4
- package/esm2022/lib/directives/options-from-method.directive.mjs +4 -4
- package/esm2022/lib/directives/options-from-remote-method.directive.mjs +4 -4
- package/esm2022/lib/form-system-control.directive.mjs +4 -4
- package/esm2022/lib/submit-context-form-adapter.factory.mjs +4 -4
- package/esm2022/lib/validators/is-equal-to.mjs +4 -4
- package/esm2022/lib/validators/is-selectable-value.directive.mjs +4 -4
- package/fesm2022/rxap-form-system.mjs +49 -49
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/package.json +24 -24
|
@@ -46,8 +46,8 @@ class IsEqualToDirective {
|
|
|
46
46
|
registerOnValidatorChange(fn) {
|
|
47
47
|
this._onChange = fn;
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
50
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsEqualToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
50
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IsEqualToDirective, isStandalone: true, selector: "[rxapIsEqualTo]", inputs: { equalTo: ["rxapIsEqualTo", "equalTo"] }, providers: [
|
|
51
51
|
{
|
|
52
52
|
provide: NG_VALIDATORS,
|
|
53
53
|
multi: true,
|
|
@@ -55,7 +55,7 @@ class IsEqualToDirective {
|
|
|
55
55
|
},
|
|
56
56
|
], ngImport: i0 }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsEqualToDirective, decorators: [{
|
|
59
59
|
type: Directive,
|
|
60
60
|
args: [{
|
|
61
61
|
selector: '[rxapIsEqualTo]',
|
|
@@ -226,8 +226,8 @@ let IsSelectableValueDirective = class IsSelectableValueDirective {
|
|
|
226
226
|
}
|
|
227
227
|
return null;
|
|
228
228
|
}
|
|
229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
230
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsSelectableValueDirective, deps: [{ token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
230
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IsSelectableValueDirective, isStandalone: true, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
231
231
|
{
|
|
232
232
|
provide: NG_VALIDATORS,
|
|
233
233
|
multi: true,
|
|
@@ -240,7 +240,7 @@ IsSelectableValueDirective = IsSelectableValueDirective_1 = __decorate([
|
|
|
240
240
|
__metadata("design:paramtypes", [DataSourceLoader,
|
|
241
241
|
Injector])
|
|
242
242
|
], IsSelectableValueDirective);
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
244
244
|
type: Directive,
|
|
245
245
|
args: [{
|
|
246
246
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -423,10 +423,10 @@ class ForFormArrayItemsDirective {
|
|
|
423
423
|
}
|
|
424
424
|
this.cdr.detectChanges();
|
|
425
425
|
}
|
|
426
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
427
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ForFormArrayItemsDirective, deps: [{ token: i1$1.ControlContainer, skipSelf: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
427
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ForFormArrayItemsDirective, isStandalone: true, selector: "[rxapForFormArrayItem]", ngImport: i0 }); }
|
|
428
428
|
}
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ForFormArrayItemsDirective, decorators: [{
|
|
430
430
|
type: Directive,
|
|
431
431
|
args: [{
|
|
432
432
|
selector: '[rxapForFormArrayItem]',
|
|
@@ -463,10 +463,10 @@ class FormArrayAddItemButtonDirective {
|
|
|
463
463
|
onClick() {
|
|
464
464
|
this.formArray.insertAt();
|
|
465
465
|
}
|
|
466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
467
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayAddItemButtonDirective, deps: [{ token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i2.MatButton, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
467
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormArrayAddItemButtonDirective, isStandalone: true, selector: "[rxapFormArrayItemAddButton]", host: { listeners: { "click": "onClick()" }, properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
468
468
|
}
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayAddItemButtonDirective, decorators: [{
|
|
470
470
|
type: Directive,
|
|
471
471
|
args: [{
|
|
472
472
|
selector: '[rxapFormArrayItemAddButton]',
|
|
@@ -536,10 +536,10 @@ class FormArrayItemButton {
|
|
|
536
536
|
this._controlDisabledSubscription?.unsubscribe();
|
|
537
537
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
538
538
|
}
|
|
539
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
540
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
539
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemButton, deps: [{ token: i1$1.ControlContainer, skipSelf: true }, { token: i2.MatButton, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
540
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormArrayItemButton, host: { properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
541
541
|
}
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemButton, decorators: [{
|
|
543
543
|
type: Directive
|
|
544
544
|
}], ctorParameters: function () { return [{ type: i1$1.ControlContainer, decorators: [{
|
|
545
545
|
type: SkipSelf
|
|
@@ -566,10 +566,10 @@ class FormArrayItemRemoveButtonDirective extends FormArrayItemButton {
|
|
|
566
566
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
570
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemRemoveButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
570
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormArrayItemRemoveButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRemoveButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
571
571
|
}
|
|
572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemRemoveButtonDirective, decorators: [{
|
|
573
573
|
type: Directive,
|
|
574
574
|
args: [{
|
|
575
575
|
selector: 'button[rxapFormArrayItemRemoveButton]',
|
|
@@ -593,10 +593,10 @@ class FormArrayItemRestoreButtonDirective extends FormArrayItemButton {
|
|
|
593
593
|
this.renderer.setStyle(this.elementRef.nativeElement, 'display', 'none');
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
597
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
596
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemRestoreButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
597
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormArrayItemRestoreButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRestoreButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
598
598
|
}
|
|
599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayItemRestoreButtonDirective, decorators: [{
|
|
600
600
|
type: Directive,
|
|
601
601
|
args: [{
|
|
602
602
|
selector: 'button[rxapFormArrayItemRestoreButton]',
|
|
@@ -650,10 +650,10 @@ class FormArrayRemovableDirective {
|
|
|
650
650
|
ngOnDestroy() {
|
|
651
651
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
652
652
|
}
|
|
653
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
654
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
653
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayRemovableDirective, deps: [{ token: i1$1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
654
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormArrayRemovableDirective, isStandalone: true, selector: "[rxapFormArrayRemovable]", ngImport: i0 }); }
|
|
655
655
|
}
|
|
656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormArrayRemovableDirective, decorators: [{
|
|
657
657
|
type: Directive,
|
|
658
658
|
args: [{
|
|
659
659
|
selector: '[rxapFormArrayRemovable]',
|
|
@@ -785,15 +785,15 @@ let ControlHideShowDirective = class ControlHideShowDirective {
|
|
|
785
785
|
reset() {
|
|
786
786
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
787
787
|
}
|
|
788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
789
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
788
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ControlHideShowDirective, deps: [{ token: Renderer2 }, { token: ElementRef }, { token: ControlContainer, optional: true }, { token: NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
789
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ControlHideShowDirective, isStandalone: true, selector: "[rxapControlHideShow]", inputs: { controlId: ["rxapControlHideShow", "controlId"] }, ngImport: i0 }); }
|
|
790
790
|
};
|
|
791
791
|
ControlHideShowDirective = __decorate([
|
|
792
792
|
Mixin(ExtractControlFromParentMixin, ExtractFormDefinitionMixin),
|
|
793
793
|
__metadata("design:paramtypes", [Renderer2,
|
|
794
794
|
ElementRef, Object, Object])
|
|
795
795
|
], ControlHideShowDirective);
|
|
796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ControlHideShowDirective, decorators: [{
|
|
797
797
|
type: Directive,
|
|
798
798
|
args: [{
|
|
799
799
|
selector: '[rxapControlHideShow]',
|
|
@@ -934,8 +934,8 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
934
934
|
}
|
|
935
935
|
this.cdr.detectChanges();
|
|
936
936
|
}
|
|
937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
938
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputSelectOptionsDirective, deps: [{ token: TemplateRef }, { token: DataSourceLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }, { token: NgControl, optional: true }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
938
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: InputSelectOptionsDirective, isStandalone: true, selector: "[rxapInputSelectOptions]", inputs: { viewer: ["rxapInputSelectOptionsViewer", "viewer"], metadata: ["rxapInputSelectOptionsMetadata", "metadata"], matAutocomplete: ["rxapInputSelectOptionsMatAutocomplete", "matAutocomplete"] }, ngImport: i0 }); }
|
|
939
939
|
};
|
|
940
940
|
InputSelectOptionsDirective = __decorate([
|
|
941
941
|
Mixin(ExtractOptionsDataSourceMixin),
|
|
@@ -945,7 +945,7 @@ InputSelectOptionsDirective = __decorate([
|
|
|
945
945
|
Injector,
|
|
946
946
|
ChangeDetectorRef, Object, Object])
|
|
947
947
|
], InputSelectOptionsDirective);
|
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputSelectOptionsDirective, decorators: [{
|
|
949
949
|
type: Directive,
|
|
950
950
|
args: [{
|
|
951
951
|
selector: '[rxapInputSelectOptions]',
|
|
@@ -988,13 +988,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
988
988
|
}] } });
|
|
989
989
|
|
|
990
990
|
class FormSystemDirectivesModule {
|
|
991
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
992
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
992
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FormSystemDirectivesModule, imports: [InputSelectOptionsDirective,
|
|
993
993
|
ControlHideShowDirective], exports: [InputSelectOptionsDirective,
|
|
994
994
|
ControlHideShowDirective] }); }
|
|
995
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
995
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormSystemDirectivesModule }); }
|
|
996
996
|
}
|
|
997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormSystemDirectivesModule, decorators: [{
|
|
998
998
|
type: NgModule,
|
|
999
999
|
args: [{
|
|
1000
1000
|
exports: [
|
|
@@ -1064,13 +1064,13 @@ let OptionsFromMethodDirective = class OptionsFromMethodDirective {
|
|
|
1064
1064
|
this.options = options.slice();
|
|
1065
1065
|
this.renderTemplate();
|
|
1066
1066
|
}
|
|
1067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1068
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1067
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionsFromMethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1068
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: OptionsFromMethodDirective, isStandalone: true, selector: "[rxapOptionsFromMethod]", inputs: { parameters: ["rxapOptionsFromMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromMethodResetOnChange", "resetOnChange"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1069
1069
|
};
|
|
1070
1070
|
OptionsFromMethodDirective = __decorate([
|
|
1071
1071
|
Mixin(ExtractOptionsMethodMixin)
|
|
1072
1072
|
], OptionsFromMethodDirective);
|
|
1073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionsFromMethodDirective, decorators: [{
|
|
1074
1074
|
type: Directive,
|
|
1075
1075
|
args: [{
|
|
1076
1076
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1157,8 +1157,8 @@ let OptionsFromRemoteMethodDirective = class OptionsFromRemoteMethodDirective {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
this.cdr.detectChanges();
|
|
1159
1159
|
}
|
|
1160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1161
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionsFromRemoteMethodDirective, deps: [{ token: NgControl }, { token: TemplateRef }, { token: RemoteMethodLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1161
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: OptionsFromRemoteMethodDirective, isStandalone: true, selector: "[rxapOptionsFromRemoteMethod]", inputs: { parameters: ["rxapOptionsFromRemoteMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromRemoteMethodResetOnChange", "resetOnChange"], withoutParameters: ["rxapOptionsFromRemoteMethodWithoutParameters", "withoutParameters"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1162
1162
|
};
|
|
1163
1163
|
OptionsFromRemoteMethodDirective = __decorate([
|
|
1164
1164
|
Mixin(ExtractFormDefinitionMixin, ExtractRemoteMethodsMixin),
|
|
@@ -1169,7 +1169,7 @@ OptionsFromRemoteMethodDirective = __decorate([
|
|
|
1169
1169
|
Injector,
|
|
1170
1170
|
ChangeDetectorRef])
|
|
1171
1171
|
], OptionsFromRemoteMethodDirective);
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionsFromRemoteMethodDirective, decorators: [{
|
|
1173
1173
|
type: Directive,
|
|
1174
1174
|
args: [{
|
|
1175
1175
|
selector: '[rxapOptionsFromRemoteMethod]',
|
|
@@ -1251,10 +1251,10 @@ class ControlDataSource extends BaseDataSource {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
this._data$ = this.control.valueChanges.pipe(startWith$1(this.control.value), distinctUntilChanged$1((a, b) => equals(a, b)), shareReplay(1));
|
|
1253
1253
|
}
|
|
1254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1255
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ControlDataSource, deps: [{ token: RXAP_FORM_CONTROL_SOURCE }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1255
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ControlDataSource }); }
|
|
1256
1256
|
}
|
|
1257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ControlDataSource, decorators: [{
|
|
1258
1258
|
type: Injectable
|
|
1259
1259
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1260
1260
|
type: Inject,
|
|
@@ -1369,8 +1369,8 @@ let FormSystemControlDirective = class FormSystemControlDirective {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
return map.get(this.controlId);
|
|
1371
1371
|
}
|
|
1372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1373
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormSystemControlDirective, deps: [{ token: ControlContainer }, { token: ComponentFactoryResolver }, { token: ViewContainerRef }, { token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1373
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FormSystemControlDirective, isStandalone: true, selector: "[rxapFormSystemControl]", inputs: { controlId: "controlId" }, ngImport: i0 }); }
|
|
1374
1374
|
};
|
|
1375
1375
|
FormSystemControlDirective = __decorate([
|
|
1376
1376
|
Mixin(ExtractDataSourcesMixin),
|
|
@@ -1380,7 +1380,7 @@ FormSystemControlDirective = __decorate([
|
|
|
1380
1380
|
DataSourceLoader,
|
|
1381
1381
|
Injector])
|
|
1382
1382
|
], FormSystemControlDirective);
|
|
1383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormSystemControlDirective, decorators: [{
|
|
1384
1384
|
type: Directive,
|
|
1385
1385
|
args: [{
|
|
1386
1386
|
selector: '[rxapFormSystemControl]',
|
|
@@ -1418,10 +1418,10 @@ class SubmitContextFormAdapter extends ProxyRemoteMethod {
|
|
|
1418
1418
|
requestBody: value,
|
|
1419
1419
|
};
|
|
1420
1420
|
}
|
|
1421
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1422
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubmitContextFormAdapter, deps: [{ token: SUBMIT_CONTEXT_FORM_ADAPTER_METHOD }, { token: RXAP_FORM_CONTEXT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1422
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubmitContextFormAdapter }); }
|
|
1423
1423
|
}
|
|
1424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubmitContextFormAdapter, decorators: [{
|
|
1425
1425
|
type: Injectable
|
|
1426
1426
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1427
1427
|
type: Inject,
|