@rxap/form-system 14.1.0 → 15.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/control-data-source.mjs +3 -3
- package/esm2020/lib/directives/control-hide-show.directive.mjs +8 -8
- package/esm2020/lib/directives/form-directives.module.mjs +4 -4
- package/esm2020/lib/directives/input-select-options.directive.mjs +12 -12
- package/esm2020/lib/form-system-control.directive.mjs +4 -4
- package/esm2020/lib/form-system.module.mjs +4 -4
- package/esm2020/lib/mixins/extract-control.mixin.mjs +1 -1
- package/esm2020/lib/mixins/extract-options-data-source.mixin.mjs +1 -1
- package/esm2020/lib/validators/is-equal-to.mjs +8 -8
- package/esm2020/lib/validators/is-selectable-value.directive.mjs +8 -8
- package/fesm2015/rxap-form-system.mjs +47 -46
- package/fesm2015/rxap-form-system.mjs.map +1 -1
- package/fesm2020/rxap-form-system.mjs +48 -47
- package/fesm2020/rxap-form-system.mjs.map +1 -1
- package/lib/directives/control-hide-show.directive.d.ts +1 -1
- package/lib/directives/input-select-options.directive.d.ts +3 -3
- package/lib/form-system-control.directive.d.ts +1 -1
- package/lib/mixins/extract-control.mixin.d.ts +1 -1
- package/lib/validators/is-equal-to.d.ts +1 -1
- package/lib/validators/is-selectable-value.directive.d.ts +1 -1
- package/package.json +18 -18
|
@@ -40,8 +40,8 @@ let IsSelectableValueDirective = IsSelectableValueDirective_1 = class IsSelectab
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
IsSelectableValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
43
|
+
IsSelectableValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirective, deps: [{ token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IsSelectableValueDirective, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
45
45
|
{
|
|
46
46
|
provide: NG_VALIDATORS,
|
|
47
47
|
multi: true,
|
|
@@ -54,7 +54,7 @@ IsSelectableValueDirective = IsSelectableValueDirective_1 = __decorate([
|
|
|
54
54
|
Injector])
|
|
55
55
|
], IsSelectableValueDirective);
|
|
56
56
|
export { IsSelectableValueDirective };
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{
|
|
60
60
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -77,14 +77,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
77
77
|
}] } });
|
|
78
78
|
export class IsSelectableValueDirectiveModule {
|
|
79
79
|
}
|
|
80
|
-
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
82
|
-
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
81
|
+
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, declarations: [IsSelectableValueDirective], exports: [IsSelectableValueDirective] });
|
|
82
|
+
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule });
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, decorators: [{
|
|
84
84
|
type: NgModule,
|
|
85
85
|
args: [{
|
|
86
86
|
declarations: [IsSelectableValueDirective],
|
|
87
87
|
exports: [IsSelectableValueDirective]
|
|
88
88
|
}]
|
|
89
89
|
}] });
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtc2VsZWN0YWJsZS12YWx1ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zvcm0tc3lzdGVtL3NyYy9saWIvdmFsaWRhdG9ycy9pcy1zZWxlY3RhYmxlLXZhbHVlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sRUFBbUIsYUFBYSxFQUErQixNQUFNLGdCQUFnQixDQUFDO0FBQzdGLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzlHLE9BQU8sRUFBd0IsZ0JBQWdCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUMzRSxPQUFPLEVBQUUsS0FBSyxFQUFF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XkoZGF0YSkpIHtcbiAgICAgICAgICBvcHRpb25zID0gZGF0YTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBvcHRpb25zID0gT2JqZWN0LmVudHJpZXMoZGF0YSkubWFwKChbIHZhbHVlLCBkaXNwbGF5IF0pID0+ICh7dmFsdWUsIGRpc3BsYXl9KSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKCFvcHRpb25zLnNvbWUob3B0aW9uID0+IG9wdGlvbi52YWx1ZSA9PT0gY29udHJvbC52YWx1ZSkpIHtcbiAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgaXNTZWxlY3RhYmxlVmFsdWU6IHtcbiAgICAgICAgICAgICAgZXhwZWN0ZWQ6ICdWYWx1ZSBzaG91bGQgYmUgZnJvbSB0aGUgbGlzdCBvZiBwcm92aWRlZCBvcHRpb25zJyxcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH0gZWxzZSBpZiAoaXNEZXZNb2RlKCkpIHtcbiAgICAgICAgY29uc29sZS53YXJuKCdUaGUgbGFzdCB2YWx1ZSBmcm9tIHRoZSBPcHRpb25zRGF0YVNvdXJjZSBpcyBlbXB0eScsIHRoaXMpO1xuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG59XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0lzU2VsZWN0YWJsZVZhbHVlRGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW0lzU2VsZWN0YWJsZVZhbHVlRGlyZWN0aXZlXVxufSlcbmV4cG9ydCBjbGFzcyBJc1NlbGVjdGFibGVWYWx1ZURpcmVjdGl2ZU1vZHVsZSB7fVxuIl19
|
|
@@ -11,8 +11,8 @@ import { Mixin } from '@rxap/mixin';
|
|
|
11
11
|
import { getMetadata, setMetadataMapMap, setMetadataMap, setMetadata } from '@rxap/utilities/reflect-metadata';
|
|
12
12
|
import { map, startWith, distinctUntilChanged, shareReplay, tap, catchError, throttleTime, switchMap } from 'rxjs/operators';
|
|
13
13
|
import { Subscription, of, EMPTY } from 'rxjs';
|
|
14
|
-
import * as i3 from '@angular/material/form-field';
|
|
15
|
-
import {
|
|
14
|
+
import * as i3 from '@angular/material/legacy-form-field';
|
|
15
|
+
import { MAT_LEGACY_FORM_FIELD } from '@angular/material/legacy-form-field';
|
|
16
16
|
|
|
17
17
|
class RxapFormSystemError extends RxapError {
|
|
18
18
|
constructor(message, code, className) {
|
|
@@ -137,8 +137,8 @@ let FormSystemControlDirective = class FormSystemControlDirective {
|
|
|
137
137
|
return map.get(this.controlId);
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
FormSystemControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
FormSystemControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
140
|
+
FormSystemControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemControlDirective, deps: [{ token: ControlContainer }, { token: ComponentFactoryResolver }, { token: ViewContainerRef }, { token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive });
|
|
141
|
+
FormSystemControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: FormSystemControlDirective, selector: "[rxapFormSystemControl]", inputs: { controlId: "controlId" }, ngImport: i0 });
|
|
142
142
|
__decorate([
|
|
143
143
|
Required,
|
|
144
144
|
__metadata("design:type", String)
|
|
@@ -159,7 +159,7 @@ FormSystemControlDirective = __decorate([
|
|
|
159
159
|
DataSourceLoader,
|
|
160
160
|
Injector])
|
|
161
161
|
], FormSystemControlDirective);
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemControlDirective, decorators: [{
|
|
163
163
|
type: Directive,
|
|
164
164
|
args: [{
|
|
165
165
|
selector: '[rxapFormSystemControl]'
|
|
@@ -187,10 +187,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
187
187
|
|
|
188
188
|
class FormSystemModule {
|
|
189
189
|
}
|
|
190
|
-
FormSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
191
|
-
FormSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
192
|
-
FormSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
FormSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
191
|
+
FormSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, declarations: [FormSystemControlDirective], exports: [FormSystemControlDirective] });
|
|
192
|
+
FormSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule });
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, decorators: [{
|
|
194
194
|
type: NgModule,
|
|
195
195
|
args: [{
|
|
196
196
|
declarations: [FormSystemControlDirective],
|
|
@@ -216,9 +216,9 @@ class ControlDataSource extends BaseDataSource {
|
|
|
216
216
|
this._data$ = this.control.valueChanges.pipe(startWith(this.control.value), distinctUntilChanged((a, b) => equals(a, b)), shareReplay(1));
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
ControlDataSource.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
ControlDataSource.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
219
|
+
ControlDataSource.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlDataSource, deps: [{ token: RXAP_FORM_CONTROL_SOURCE }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
220
|
+
ControlDataSource.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlDataSource });
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlDataSource, decorators: [{
|
|
222
222
|
type: Injectable
|
|
223
223
|
}], ctorParameters: function () {
|
|
224
224
|
return [{ type: undefined, decorators: [{
|
|
@@ -486,14 +486,14 @@ let ControlHideShowDirective = class ControlHideShowDirective {
|
|
|
486
486
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
487
487
|
}
|
|
488
488
|
};
|
|
489
|
-
ControlHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
490
|
-
ControlHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
489
|
+
ControlHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirective, deps: [{ token: Renderer2 }, { token: ElementRef }, { token: ControlContainer, optional: true }, { token: NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
490
|
+
ControlHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ControlHideShowDirective, selector: "[rxapControlHideShow]", inputs: { controlId: ["rxapControlHideShow", "controlId"] }, ngImport: i0 });
|
|
491
491
|
ControlHideShowDirective = __decorate([
|
|
492
492
|
Mixin(ExtractControlFromParentMixin, ExtractFormDefinitionMixin),
|
|
493
493
|
__metadata("design:paramtypes", [Renderer2,
|
|
494
494
|
ElementRef, Object, Object])
|
|
495
495
|
], ControlHideShowDirective);
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirective, decorators: [{
|
|
497
497
|
type: Directive,
|
|
498
498
|
args: [{
|
|
499
499
|
selector: '[rxapControlHideShow]'
|
|
@@ -524,10 +524,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
524
524
|
}] } });
|
|
525
525
|
class ControlHideShowDirectiveModule {
|
|
526
526
|
}
|
|
527
|
-
ControlHideShowDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
528
|
-
ControlHideShowDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
529
|
-
ControlHideShowDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
527
|
+
ControlHideShowDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
528
|
+
ControlHideShowDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, declarations: [ControlHideShowDirective], exports: [ControlHideShowDirective] });
|
|
529
|
+
ControlHideShowDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule });
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, decorators: [{
|
|
531
531
|
type: NgModule,
|
|
532
532
|
args: [{
|
|
533
533
|
declarations: [ControlHideShowDirective],
|
|
@@ -644,8 +644,8 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
644
644
|
this.cdr.detectChanges();
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
|
-
InputSelectOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
648
|
-
InputSelectOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
647
|
+
InputSelectOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirective, deps: [{ token: TemplateRef }, { token: DataSourceLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }, { token: NgControl, optional: true }, { token: MAT_LEGACY_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
648
|
+
InputSelectOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: InputSelectOptionsDirective, selector: "[rxapInputSelectOptions]", inputs: { viewer: ["rxapInputSelectOptionsViewer", "viewer"], metadata: ["rxapInputSelectOptionsMetadata", "metadata"], matAutocomplete: ["rxapInputSelectOptionsMatAutocomplete", "matAutocomplete"] }, ngImport: i0 });
|
|
649
649
|
__decorate([
|
|
650
650
|
Required,
|
|
651
651
|
__metadata("design:type", RxapFormControl)
|
|
@@ -662,7 +662,7 @@ InputSelectOptionsDirective = __decorate([
|
|
|
662
662
|
Injector,
|
|
663
663
|
ChangeDetectorRef, Object, Object])
|
|
664
664
|
], InputSelectOptionsDirective);
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirective, decorators: [{
|
|
666
666
|
type: Directive,
|
|
667
667
|
args: [{
|
|
668
668
|
selector: '[rxapInputSelectOptions]'
|
|
@@ -688,11 +688,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
688
688
|
}, {
|
|
689
689
|
type: Inject,
|
|
690
690
|
args: [NgControl]
|
|
691
|
-
}] }, { type: i3.
|
|
691
|
+
}] }, { type: i3.MatLegacyFormField, decorators: [{
|
|
692
692
|
type: Optional
|
|
693
693
|
}, {
|
|
694
694
|
type: Inject,
|
|
695
|
-
args: [
|
|
695
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
696
696
|
}] }];
|
|
697
697
|
}, propDecorators: { viewer: [{
|
|
698
698
|
type: Input,
|
|
@@ -706,10 +706,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
706
706
|
}], control: [], dataSource: [] } });
|
|
707
707
|
class InputSelectOptionsDirectiveModule {
|
|
708
708
|
}
|
|
709
|
-
InputSelectOptionsDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
710
|
-
InputSelectOptionsDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
711
|
-
InputSelectOptionsDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
709
|
+
InputSelectOptionsDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
710
|
+
InputSelectOptionsDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, declarations: [InputSelectOptionsDirective], exports: [InputSelectOptionsDirective] });
|
|
711
|
+
InputSelectOptionsDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule });
|
|
712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, decorators: [{
|
|
713
713
|
type: NgModule,
|
|
714
714
|
args: [{
|
|
715
715
|
declarations: [InputSelectOptionsDirective],
|
|
@@ -719,12 +719,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
719
719
|
|
|
720
720
|
class FormSystemDirectivesModule {
|
|
721
721
|
}
|
|
722
|
-
FormSystemDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
723
|
-
FormSystemDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
722
|
+
FormSystemDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
723
|
+
FormSystemDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, exports: [InputSelectOptionsDirectiveModule,
|
|
724
724
|
ControlHideShowDirectiveModule] });
|
|
725
|
-
FormSystemDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
725
|
+
FormSystemDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, imports: [InputSelectOptionsDirectiveModule,
|
|
726
726
|
ControlHideShowDirectiveModule] });
|
|
727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, decorators: [{
|
|
728
728
|
type: NgModule,
|
|
729
729
|
args: [{
|
|
730
730
|
exports: [
|
|
@@ -757,8 +757,8 @@ class IsEqualToDirective {
|
|
|
757
757
|
this._onChange = fn;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
IsEqualToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
761
|
-
IsEqualToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
760
|
+
IsEqualToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
761
|
+
IsEqualToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IsEqualToDirective, selector: "[rxapIsEqualTo]", inputs: { equalTo: ["rxapIsEqualTo", "equalTo"] }, providers: [
|
|
762
762
|
{
|
|
763
763
|
provide: NG_VALIDATORS,
|
|
764
764
|
multi: true,
|
|
@@ -770,7 +770,7 @@ __decorate([
|
|
|
770
770
|
__metadata("design:type", Object),
|
|
771
771
|
__metadata("design:paramtypes", [Object])
|
|
772
772
|
], IsEqualToDirective.prototype, "equalTo", null);
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirective, decorators: [{
|
|
774
774
|
type: Directive,
|
|
775
775
|
args: [{
|
|
776
776
|
selector: '[rxapIsEqualTo]',
|
|
@@ -788,10 +788,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
788
788
|
}] } });
|
|
789
789
|
class IsEqualToDirectiveModule {
|
|
790
790
|
}
|
|
791
|
-
IsEqualToDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
792
|
-
IsEqualToDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
793
|
-
IsEqualToDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
791
|
+
IsEqualToDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
792
|
+
IsEqualToDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, declarations: [IsEqualToDirective], exports: [IsEqualToDirective] });
|
|
793
|
+
IsEqualToDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule });
|
|
794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, decorators: [{
|
|
795
795
|
type: NgModule,
|
|
796
796
|
args: [{
|
|
797
797
|
declarations: [IsEqualToDirective],
|
|
@@ -834,8 +834,8 @@ let IsSelectableValueDirective = IsSelectableValueDirective_1 = class IsSelectab
|
|
|
834
834
|
return null;
|
|
835
835
|
}
|
|
836
836
|
};
|
|
837
|
-
IsSelectableValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
838
|
-
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
837
|
+
IsSelectableValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirective, deps: [{ token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive });
|
|
838
|
+
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IsSelectableValueDirective, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
839
839
|
{
|
|
840
840
|
provide: NG_VALIDATORS,
|
|
841
841
|
multi: true,
|
|
@@ -847,7 +847,7 @@ IsSelectableValueDirective = IsSelectableValueDirective_1 = __decorate([
|
|
|
847
847
|
__metadata("design:paramtypes", [DataSourceLoader,
|
|
848
848
|
Injector])
|
|
849
849
|
], IsSelectableValueDirective);
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
851
851
|
type: Directive,
|
|
852
852
|
args: [{
|
|
853
853
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -872,10 +872,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
872
872
|
}] } });
|
|
873
873
|
class IsSelectableValueDirectiveModule {
|
|
874
874
|
}
|
|
875
|
-
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
877
|
-
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
875
|
+
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
876
|
+
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, declarations: [IsSelectableValueDirective], exports: [IsSelectableValueDirective] });
|
|
877
|
+
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule });
|
|
878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, decorators: [{
|
|
879
879
|
type: NgModule,
|
|
880
880
|
args: [{
|
|
881
881
|
declarations: [IsSelectableValueDirective],
|
|
@@ -891,3 +891,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
891
891
|
|
|
892
892
|
export { ComposeOptionsTransformers, ControlDataSource, ControlHideShowDirective, ControlHideShowDirectiveModule, DATA_SOURCE_NAME, ExtractControlFromParentMixin, ExtractControlMixin, ExtractDataSourcesMixin, ExtractFormDefinitionMixin, ExtractOptionsDataSourceMixin, FormSystemControlDirective, FormSystemDirectivesModule, FormSystemMetadataKeys, FormSystemModule, InputSelectOptionsDirective, InputSelectOptionsDirectiveModule, IsEqualToDirective, IsEqualToDirectiveModule, IsSelectableValueDirective, IsSelectableValueDirectiveModule, RXAP_FORM_CONTROL_SOURCE, RXAP_FORM_SYSTEM_HIDE_METADATA, RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS, RXAP_FORM_SYSTEM_SHOW_METADATA, RxapFormSystemError, UseComponent, UseDataSource, UseFormComponent, UseHideFunction, UseOptionsDataSource, UseShowFunction, controlDataSource };
|
|
893
893
|
//# sourceMappingURL=rxap-form-system.mjs.map
|
|
894
|
+
//# sourceMappingURL=rxap-form-system.mjs.map
|