@rxap/form-system 14.1.0-dev.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 +32 -20
- 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 +70 -56
- package/fesm2015/rxap-form-system.mjs.map +1 -1
- package/fesm2020/rxap-form-system.mjs +67 -54
- 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 +15 -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
|
@@ -9,11 +9,11 @@ import * as i1$1 from '@rxap/data-source';
|
|
|
9
9
|
import { PipeDataSource, DataSourceLoader, BaseDataSource, RXAP_DATA_SOURCE_METADATA } from '@rxap/data-source';
|
|
10
10
|
import { Mixin } from '@rxap/mixin';
|
|
11
11
|
import { getMetadata, setMetadataMapMap, setMetadataMap, setMetadata } from '@rxap/utilities/reflect-metadata';
|
|
12
|
-
import { map, startWith, distinctUntilChanged, shareReplay, tap, catchError, switchMap } from 'rxjs/operators';
|
|
13
|
-
import { Subscription, of } from 'rxjs';
|
|
14
|
-
import * as i3 from '@angular/material/form-field';
|
|
15
|
-
import {
|
|
16
|
-
import '@angular/material/autocomplete';
|
|
12
|
+
import { map, startWith, distinctUntilChanged, shareReplay, tap, catchError, throttleTime, switchMap } from 'rxjs/operators';
|
|
13
|
+
import { Subscription, of, EMPTY } from 'rxjs';
|
|
14
|
+
import * as i3 from '@angular/material/legacy-form-field';
|
|
15
|
+
import { MAT_LEGACY_FORM_FIELD } from '@angular/material/legacy-form-field';
|
|
16
|
+
import '@angular/material/legacy-autocomplete';
|
|
17
17
|
|
|
18
18
|
class RxapFormSystemError extends RxapError {
|
|
19
19
|
constructor(message, code, className) {
|
|
@@ -138,8 +138,8 @@ let FormSystemControlDirective = class FormSystemControlDirective {
|
|
|
138
138
|
return map.get(this.controlId);
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
FormSystemControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
142
|
-
FormSystemControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
141
|
+
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 });
|
|
142
|
+
FormSystemControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: FormSystemControlDirective, selector: "[rxapFormSystemControl]", inputs: { controlId: "controlId" }, ngImport: i0 });
|
|
143
143
|
__decorate([
|
|
144
144
|
Required,
|
|
145
145
|
__metadata("design:type", String)
|
|
@@ -160,7 +160,7 @@ FormSystemControlDirective = __decorate([
|
|
|
160
160
|
DataSourceLoader,
|
|
161
161
|
Injector])
|
|
162
162
|
], FormSystemControlDirective);
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemControlDirective, decorators: [{
|
|
164
164
|
type: Directive,
|
|
165
165
|
args: [{
|
|
166
166
|
selector: '[rxapFormSystemControl]'
|
|
@@ -186,10 +186,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
186
186
|
|
|
187
187
|
class FormSystemModule {
|
|
188
188
|
}
|
|
189
|
-
FormSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
190
|
-
FormSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
191
|
-
FormSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
FormSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
190
|
+
FormSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, declarations: [FormSystemControlDirective], exports: [FormSystemControlDirective] });
|
|
191
|
+
FormSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule });
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemModule, decorators: [{
|
|
193
193
|
type: NgModule,
|
|
194
194
|
args: [{
|
|
195
195
|
declarations: [FormSystemControlDirective],
|
|
@@ -215,9 +215,9 @@ class ControlDataSource extends BaseDataSource {
|
|
|
215
215
|
this._data$ = this.control.valueChanges.pipe(startWith(this.control.value), distinctUntilChanged((a, b) => equals(a, b)), shareReplay(1));
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
ControlDataSource.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
219
|
-
ControlDataSource.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
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 });
|
|
219
|
+
ControlDataSource.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlDataSource });
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlDataSource, decorators: [{
|
|
221
221
|
type: Injectable
|
|
222
222
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
223
223
|
type: Inject,
|
|
@@ -476,14 +476,14 @@ let ControlHideShowDirective = class ControlHideShowDirective {
|
|
|
476
476
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
|
-
ControlHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
480
|
-
ControlHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
479
|
+
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 });
|
|
480
|
+
ControlHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ControlHideShowDirective, selector: "[rxapControlHideShow]", inputs: { controlId: ["rxapControlHideShow", "controlId"] }, ngImport: i0 });
|
|
481
481
|
ControlHideShowDirective = __decorate([
|
|
482
482
|
Mixin(ExtractControlFromParentMixin, ExtractFormDefinitionMixin),
|
|
483
483
|
__metadata("design:paramtypes", [Renderer2,
|
|
484
484
|
ElementRef, Object, Object])
|
|
485
485
|
], ControlHideShowDirective);
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirective, decorators: [{
|
|
487
487
|
type: Directive,
|
|
488
488
|
args: [{
|
|
489
489
|
selector: '[rxapControlHideShow]'
|
|
@@ -512,10 +512,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
512
512
|
}] } });
|
|
513
513
|
class ControlHideShowDirectiveModule {
|
|
514
514
|
}
|
|
515
|
-
ControlHideShowDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
516
|
-
ControlHideShowDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
517
|
-
ControlHideShowDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
515
|
+
ControlHideShowDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
516
|
+
ControlHideShowDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, declarations: [ControlHideShowDirective], exports: [ControlHideShowDirective] });
|
|
517
|
+
ControlHideShowDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule });
|
|
518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ControlHideShowDirectiveModule, decorators: [{
|
|
519
519
|
type: NgModule,
|
|
520
520
|
args: [{
|
|
521
521
|
declarations: [ControlHideShowDirective],
|
|
@@ -538,13 +538,21 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
538
538
|
this.viewer = { id: '[rxapInputSelectOptions]' };
|
|
539
539
|
this.subscription = new Subscription();
|
|
540
540
|
this.options = null;
|
|
541
|
+
/**
|
|
542
|
+
* This flag is used to prevent the setValue is called for each refresh
|
|
543
|
+
* of the options list. This is needed because the setValue method will
|
|
544
|
+
* trigger a new refresh of the options list. This results in an endless
|
|
545
|
+
* call stack. This flag is set to true if the setValue method is called
|
|
546
|
+
* once.
|
|
547
|
+
*/
|
|
548
|
+
this.isAutocompleteToDisplayTriggered = false;
|
|
541
549
|
}
|
|
542
550
|
ngAfterViewInit() {
|
|
543
551
|
var _a;
|
|
544
552
|
this.extractOptionsDatasource();
|
|
545
553
|
this.viewer = {
|
|
546
554
|
id: '[rxapInputSelectOptions]' + this.control.controlId,
|
|
547
|
-
viewChange: this.control.value$.pipe(map(value => {
|
|
555
|
+
viewChange: this.settings?.loadOnce ? EMPTY : this.control.value$.pipe(throttleTime(1000), distinctUntilChanged((a, b) => equals(a, b)), map(value => {
|
|
548
556
|
if (this.settings?.ignoreSelectedValue) {
|
|
549
557
|
return {};
|
|
550
558
|
}
|
|
@@ -587,10 +595,14 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
587
595
|
}));
|
|
588
596
|
}
|
|
589
597
|
return of(options);
|
|
590
|
-
}), tap(options => this.renderTemplate(this.options = options)),
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
598
|
+
}), tap(options => this.renderTemplate(this.options = options)), tap(() => {
|
|
599
|
+
if (this.matAutocomplete && !this.isAutocompleteToDisplayTriggered) {
|
|
600
|
+
this.isAutocompleteToDisplayTriggered = true;
|
|
601
|
+
// trigger a change detection after the options are rendered
|
|
602
|
+
// this is needed to trigger the mat-autocomplete options to display function
|
|
603
|
+
this.ngControl?.control?.setValue(this.ngControl?.control?.value);
|
|
604
|
+
}
|
|
605
|
+
})).subscribe());
|
|
594
606
|
}
|
|
595
607
|
renderTemplate(options = this.options) {
|
|
596
608
|
this.viewContainerRef.clear();
|
|
@@ -614,8 +626,8 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
614
626
|
this.cdr.detectChanges();
|
|
615
627
|
}
|
|
616
628
|
};
|
|
617
|
-
InputSelectOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
618
|
-
InputSelectOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
629
|
+
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 });
|
|
630
|
+
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 });
|
|
619
631
|
__decorate([
|
|
620
632
|
Required,
|
|
621
633
|
__metadata("design:type", RxapFormControl)
|
|
@@ -632,7 +644,7 @@ InputSelectOptionsDirective = __decorate([
|
|
|
632
644
|
Injector,
|
|
633
645
|
ChangeDetectorRef, Object, Object])
|
|
634
646
|
], InputSelectOptionsDirective);
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirective, decorators: [{
|
|
636
648
|
type: Directive,
|
|
637
649
|
args: [{
|
|
638
650
|
selector: '[rxapInputSelectOptions]'
|
|
@@ -657,11 +669,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
657
669
|
}, {
|
|
658
670
|
type: Inject,
|
|
659
671
|
args: [NgControl]
|
|
660
|
-
}] }, { type: i3.
|
|
672
|
+
}] }, { type: i3.MatLegacyFormField, decorators: [{
|
|
661
673
|
type: Optional
|
|
662
674
|
}, {
|
|
663
675
|
type: Inject,
|
|
664
|
-
args: [
|
|
676
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
665
677
|
}] }]; }, propDecorators: { viewer: [{
|
|
666
678
|
type: Input,
|
|
667
679
|
args: ['rxapInputSelectOptionsViewer']
|
|
@@ -674,10 +686,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
674
686
|
}], control: [], dataSource: [] } });
|
|
675
687
|
class InputSelectOptionsDirectiveModule {
|
|
676
688
|
}
|
|
677
|
-
InputSelectOptionsDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
678
|
-
InputSelectOptionsDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
679
|
-
InputSelectOptionsDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
689
|
+
InputSelectOptionsDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
690
|
+
InputSelectOptionsDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, declarations: [InputSelectOptionsDirective], exports: [InputSelectOptionsDirective] });
|
|
691
|
+
InputSelectOptionsDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule });
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputSelectOptionsDirectiveModule, decorators: [{
|
|
681
693
|
type: NgModule,
|
|
682
694
|
args: [{
|
|
683
695
|
declarations: [InputSelectOptionsDirective],
|
|
@@ -687,12 +699,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
687
699
|
|
|
688
700
|
class FormSystemDirectivesModule {
|
|
689
701
|
}
|
|
690
|
-
FormSystemDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
FormSystemDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
702
|
+
FormSystemDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
703
|
+
FormSystemDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, exports: [InputSelectOptionsDirectiveModule,
|
|
692
704
|
ControlHideShowDirectiveModule] });
|
|
693
|
-
FormSystemDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
705
|
+
FormSystemDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, imports: [InputSelectOptionsDirectiveModule,
|
|
694
706
|
ControlHideShowDirectiveModule] });
|
|
695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSystemDirectivesModule, decorators: [{
|
|
696
708
|
type: NgModule,
|
|
697
709
|
args: [{
|
|
698
710
|
exports: [
|
|
@@ -725,8 +737,8 @@ class IsEqualToDirective {
|
|
|
725
737
|
this._onChange = fn;
|
|
726
738
|
}
|
|
727
739
|
}
|
|
728
|
-
IsEqualToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
729
|
-
IsEqualToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
740
|
+
IsEqualToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
741
|
+
IsEqualToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IsEqualToDirective, selector: "[rxapIsEqualTo]", inputs: { equalTo: ["rxapIsEqualTo", "equalTo"] }, providers: [
|
|
730
742
|
{
|
|
731
743
|
provide: NG_VALIDATORS,
|
|
732
744
|
multi: true,
|
|
@@ -738,7 +750,7 @@ __decorate([
|
|
|
738
750
|
__metadata("design:type", Object),
|
|
739
751
|
__metadata("design:paramtypes", [Object])
|
|
740
752
|
], IsEqualToDirective.prototype, "equalTo", null);
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirective, decorators: [{
|
|
742
754
|
type: Directive,
|
|
743
755
|
args: [{
|
|
744
756
|
selector: '[rxapIsEqualTo]',
|
|
@@ -756,10 +768,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
756
768
|
}] } });
|
|
757
769
|
class IsEqualToDirectiveModule {
|
|
758
770
|
}
|
|
759
|
-
IsEqualToDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
760
|
-
IsEqualToDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
761
|
-
IsEqualToDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
771
|
+
IsEqualToDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
772
|
+
IsEqualToDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, declarations: [IsEqualToDirective], exports: [IsEqualToDirective] });
|
|
773
|
+
IsEqualToDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule });
|
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsEqualToDirectiveModule, decorators: [{
|
|
763
775
|
type: NgModule,
|
|
764
776
|
args: [{
|
|
765
777
|
declarations: [IsEqualToDirective],
|
|
@@ -801,8 +813,8 @@ let IsSelectableValueDirective = IsSelectableValueDirective_1 = class IsSelectab
|
|
|
801
813
|
return null;
|
|
802
814
|
}
|
|
803
815
|
};
|
|
804
|
-
IsSelectableValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
805
|
-
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
816
|
+
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 });
|
|
817
|
+
IsSelectableValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IsSelectableValueDirective, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
806
818
|
{
|
|
807
819
|
provide: NG_VALIDATORS,
|
|
808
820
|
multi: true,
|
|
@@ -814,7 +826,7 @@ IsSelectableValueDirective = IsSelectableValueDirective_1 = __decorate([
|
|
|
814
826
|
__metadata("design:paramtypes", [DataSourceLoader,
|
|
815
827
|
Injector])
|
|
816
828
|
], IsSelectableValueDirective);
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
818
830
|
type: Directive,
|
|
819
831
|
args: [{
|
|
820
832
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -837,10 +849,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
837
849
|
}] } });
|
|
838
850
|
class IsSelectableValueDirectiveModule {
|
|
839
851
|
}
|
|
840
|
-
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
841
|
-
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
842
|
-
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
852
|
+
IsSelectableValueDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
853
|
+
IsSelectableValueDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, declarations: [IsSelectableValueDirective], exports: [IsSelectableValueDirective] });
|
|
854
|
+
IsSelectableValueDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule });
|
|
855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IsSelectableValueDirectiveModule, decorators: [{
|
|
844
856
|
type: NgModule,
|
|
845
857
|
args: [{
|
|
846
858
|
declarations: [IsSelectableValueDirective],
|
|
@@ -856,3 +868,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
856
868
|
|
|
857
869
|
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 };
|
|
858
870
|
//# sourceMappingURL=rxap-form-system.mjs.map
|
|
871
|
+
//# sourceMappingURL=rxap-form-system.mjs.map
|