@firestitch/form 16.0.0 → 18.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/esm2022/app/components/confirm-unsaved/confirm-unsaved.component.mjs +7 -7
- package/esm2022/app/components/form-dialog-actions/form-dialog-actions.component.mjs +7 -7
- package/esm2022/app/components/form-template/form-template.component.mjs +5 -5
- package/esm2022/app/components/form-template-outlet/form-template-outlet.component.mjs +5 -5
- package/esm2022/app/directives/button.directive.mjs +7 -7
- package/esm2022/app/directives/form/form.directive.mjs +13 -12
- package/esm2022/app/directives/form-dialog-close.directive.mjs +7 -7
- package/esm2022/app/directives/form-template.directive.mjs +5 -5
- package/esm2022/app/directives/submit-button.directive.mjs +4 -4
- package/esm2022/app/directives/validators/compare.directive.mjs +4 -4
- package/esm2022/app/directives/validators/control.directive.mjs +7 -7
- package/esm2022/app/directives/validators/daterange.directive.mjs +4 -4
- package/esm2022/app/directives/validators/email.directive.mjs +4 -4
- package/esm2022/app/directives/validators/emails.directive.mjs +4 -4
- package/esm2022/app/directives/validators/function.directive.mjs +4 -4
- package/esm2022/app/directives/validators/greater-equal.directive.mjs +4 -4
- package/esm2022/app/directives/validators/greater.directive.mjs +4 -4
- package/esm2022/app/directives/validators/integer.directive.mjs +4 -4
- package/esm2022/app/directives/validators/lesser-equal.directive.mjs +4 -4
- package/esm2022/app/directives/validators/lesser.directive.mjs +4 -4
- package/esm2022/app/directives/validators/max.directive.mjs +4 -4
- package/esm2022/app/directives/validators/maxlength.directive.mjs +4 -4
- package/esm2022/app/directives/validators/min.directive.mjs +4 -4
- package/esm2022/app/directives/validators/minlength.directive.mjs +4 -4
- package/esm2022/app/directives/validators/no-fs-validators.directive.mjs +4 -4
- package/esm2022/app/directives/validators/numeric.directive.mjs +4 -4
- package/esm2022/app/directives/validators/pattern.directive.mjs +4 -4
- package/esm2022/app/directives/validators/phone.directive.mjs +4 -4
- package/esm2022/app/directives/validators/required.directive.mjs +4 -4
- package/esm2022/app/directives/validators/url.directive.mjs +4 -4
- package/esm2022/app/directives/validators/validate.directive.mjs +4 -4
- package/esm2022/app/fs-form.module.mjs +5 -5
- package/esm2022/app/guards/form-deactivate.guard.mjs +5 -5
- package/esm2022/app/helpers/get-active-route.mjs +1 -1
- package/esm2022/app/helpers/get-form-errors.mjs +1 -1
- package/esm2022/app/services/fsform.service.mjs +5 -5
- package/esm2022/app/validators/validators.mjs +1 -1
- package/fesm2022/firestitch-form.mjs +132 -131
- package/fesm2022/firestitch-form.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.scss +3 -3
|
@@ -53,19 +53,19 @@ class ConfirmUnsavedComponent {
|
|
|
53
53
|
this._dialogRef.close(null);
|
|
54
54
|
}
|
|
55
55
|
ngOnDestroy() {
|
|
56
|
-
this._destroy$.next();
|
|
56
|
+
this._destroy$.next(null);
|
|
57
57
|
this._destroy$.complete();
|
|
58
58
|
}
|
|
59
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
59
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConfirmUnsavedComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: ConfirmUnsavedComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <h1 mat-dialog-title>{{title}}</h1>\n <mat-dialog-content>\n {{message}}\n </mat-dialog-content> \n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n fsFormButtonStandalone\n mat-button>\n {{saveLabel}}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n fsFormButtonStandalone\n mat-button>\n {{discardLabel}}\n </button> \n <button\n type=\"button\"\n (click)=\"cancel()\"\n fsFormButtonStandalone\n mat-button>\n {{cancelLabel}}\n </button> \n </mat-dialog-actions>\n</fs-dialog>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "component", type: i1$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout", "dock", "dockable", "fullscreenPercent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConfirmUnsavedComponent, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-dialog>\n <h1 mat-dialog-title>{{title}}</h1>\n <mat-dialog-content>\n {{message}}\n </mat-dialog-content> \n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n fsFormButtonStandalone\n mat-button>\n {{saveLabel}}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n fsFormButtonStandalone\n mat-button>\n {{discardLabel}}\n </button> \n <button\n type=\"button\"\n (click)=\"cancel()\"\n fsFormButtonStandalone\n mat-button>\n {{cancelLabel}}\n </button> \n </mat-dialog-actions>\n</fs-dialog>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"] }]
|
|
65
|
-
}], ctorParameters:
|
|
65
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
66
66
|
type: Inject,
|
|
67
67
|
args: [MAT_DIALOG_DATA]
|
|
68
|
-
}] }, { type: i1.MatDialogRef }]
|
|
68
|
+
}] }, { type: i1.MatDialogRef }] });
|
|
69
69
|
|
|
70
70
|
var ConfirmResult;
|
|
71
71
|
(function (ConfirmResult) {
|
|
@@ -175,15 +175,15 @@ class FsForm {
|
|
|
175
175
|
}
|
|
176
176
|
}));
|
|
177
177
|
}
|
|
178
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
179
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsForm, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsForm, providedIn: 'root' });
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsForm, decorators: [{
|
|
182
182
|
type: Injectable,
|
|
183
183
|
args: [{
|
|
184
184
|
providedIn: 'root',
|
|
185
185
|
}]
|
|
186
|
-
}], ctorParameters:
|
|
186
|
+
}], ctorParameters: () => [{ type: i1.MatDialog }] });
|
|
187
187
|
|
|
188
188
|
class FormDeactivateGuard {
|
|
189
189
|
_form;
|
|
@@ -209,15 +209,15 @@ class FormDeactivateGuard {
|
|
|
209
209
|
return confirmResultContinue(result);
|
|
210
210
|
}));
|
|
211
211
|
}
|
|
212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
213
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FormDeactivateGuard, deps: [{ token: FsForm }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
213
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FormDeactivateGuard, providedIn: 'root' });
|
|
214
214
|
}
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FormDeactivateGuard, decorators: [{
|
|
216
216
|
type: Injectable,
|
|
217
217
|
args: [{
|
|
218
218
|
providedIn: 'root',
|
|
219
219
|
}]
|
|
220
|
-
}], ctorParameters:
|
|
220
|
+
}], ctorParameters: () => [{ type: FsForm }, { type: i2.ActivatedRoute }] });
|
|
221
221
|
|
|
222
222
|
function getFormErrors(control, key) {
|
|
223
223
|
let errors = null;
|
|
@@ -393,7 +393,7 @@ class FsFormDirective {
|
|
|
393
393
|
}
|
|
394
394
|
ngOnDestroy() {
|
|
395
395
|
this._cleanupCanDeactivate();
|
|
396
|
-
this._destroy$.next();
|
|
396
|
+
this._destroy$.next(null);
|
|
397
397
|
this._destroy$.complete();
|
|
398
398
|
}
|
|
399
399
|
createSnapshot() {
|
|
@@ -536,7 +536,7 @@ class FsFormDirective {
|
|
|
536
536
|
event.preventDefault();
|
|
537
537
|
if (this.shortcuts) {
|
|
538
538
|
if (this._elementInForm(document.activeElement)) {
|
|
539
|
-
this.ngForm.ngSubmit.next();
|
|
539
|
+
this.ngForm.ngSubmit.next(null);
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
}
|
|
@@ -654,7 +654,7 @@ class FsFormDirective {
|
|
|
654
654
|
.pipe(filter((status) => status === FormStatus.Success || status === FormStatus.Error), takeUntil(this._destroy$))
|
|
655
655
|
.subscribe((status) => {
|
|
656
656
|
if (status === FormStatus.Success) {
|
|
657
|
-
subscriber.next();
|
|
657
|
+
subscriber.next(null);
|
|
658
658
|
subscriber.complete();
|
|
659
659
|
}
|
|
660
660
|
else {
|
|
@@ -663,7 +663,7 @@ class FsFormDirective {
|
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
666
|
-
subscriber.next();
|
|
666
|
+
subscriber.next(null);
|
|
667
667
|
subscriber.complete();
|
|
668
668
|
}
|
|
669
669
|
});
|
|
@@ -676,12 +676,13 @@ class FsFormDirective {
|
|
|
676
676
|
return iif(() => this.confirm && this.confirmDrawer, this.triggerConfirm()
|
|
677
677
|
.pipe(map((result) => confirmResultContinue(result)), tap((result) => {
|
|
678
678
|
if (result) {
|
|
679
|
-
subscriber.next();
|
|
679
|
+
subscriber.next(null);
|
|
680
680
|
subscriber.complete();
|
|
681
681
|
}
|
|
682
682
|
})), defer(() => {
|
|
683
|
-
subscriber.next();
|
|
683
|
+
subscriber.next(null);
|
|
684
684
|
subscriber.complete();
|
|
685
|
+
return of(null);
|
|
685
686
|
}));
|
|
686
687
|
}), takeUntil(this._destroy$))
|
|
687
688
|
.subscribe();
|
|
@@ -844,16 +845,16 @@ class FsFormDirective {
|
|
|
844
845
|
this._activatedRouteConfig.canDeactivate.splice(guardIndex, 1);
|
|
845
846
|
this._form.removeFormDirective(this._activatedRouteConfig.component);
|
|
846
847
|
}
|
|
847
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
848
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
848
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDirective, deps: [{ token: NgForm }, { token: FsForm }, { token: i0.ElementRef }, { token: i2$1.FsMessage }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MatDialogRef, optional: true }, { token: DrawerRef, optional: true }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Directive });
|
|
849
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDirective, selector: "[fsForm]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", autocomplete: "autocomplete", shortcuts: "shortcuts", confirm: "confirm", confirmDialog: "confirmDialog", confirmDrawer: "confirmDrawer", confirmBrowser: "confirmBrowser", confirmTabs: "confirmTabs", dirtySubmitButton: "dirtySubmitButton", submit: "submit", successDelay: "successDelay", errorDelay: "errorDelay", tabGroup: "tabGroup", deactivationGuard: "deactivationGuard" }, outputs: { submitEvent: "fsForm", invalid: "invalid", valid: "valid", submitted: "submitted", reseted: "reseted", cleared: "cleared" }, host: { properties: { "class.fs-form": "this.fsFormClass" } }, queries: [{ propertyName: "_tabGroups", predicate: MatTabGroup, descendants: true }], exportAs: ["fsForm"], usesOnChanges: true, ngImport: i0 });
|
|
849
850
|
}
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDirective, decorators: [{
|
|
851
852
|
type: Directive,
|
|
852
853
|
args: [{
|
|
853
854
|
selector: '[fsForm]',
|
|
854
855
|
exportAs: 'fsForm',
|
|
855
856
|
}]
|
|
856
|
-
}], ctorParameters:
|
|
857
|
+
}], ctorParameters: () => [{ type: i1$2.NgForm, decorators: [{
|
|
857
858
|
type: Inject,
|
|
858
859
|
args: [NgForm]
|
|
859
860
|
}] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2$1.FsMessage }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.MatDialogRef, decorators: [{
|
|
@@ -866,7 +867,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
866
867
|
}, {
|
|
867
868
|
type: Inject,
|
|
868
869
|
args: [DrawerRef]
|
|
869
|
-
}] }, { type: i2.ActivatedRoute }]
|
|
870
|
+
}] }, { type: i2.ActivatedRoute }], propDecorators: { wrapperSelector: [{
|
|
870
871
|
type: Input
|
|
871
872
|
}], messageSelector: [{
|
|
872
873
|
type: Input
|
|
@@ -944,22 +945,22 @@ class FsFormDialogCloseDirective {
|
|
|
944
945
|
}
|
|
945
946
|
}
|
|
946
947
|
ngOnDestroy() {
|
|
947
|
-
this._destroy$.next();
|
|
948
|
+
this._destroy$.next(null);
|
|
948
949
|
this._destroy$.complete();
|
|
949
950
|
}
|
|
950
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
951
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
951
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogCloseDirective, deps: [{ token: FsFormDirective, optional: true }, { token: i1.MatDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
952
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: { closeData: "closeData" }, host: { listeners: { "click": "closeClick($event.target)" }, properties: { "attr.type": "this.type" } }, ngImport: i0 });
|
|
952
953
|
}
|
|
953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
|
|
954
955
|
type: Directive,
|
|
955
956
|
args: [{
|
|
956
957
|
selector: '[fsFormDialogClose],[fs-form-dialog-close]',
|
|
957
958
|
}]
|
|
958
|
-
}], ctorParameters:
|
|
959
|
+
}], ctorParameters: () => [{ type: FsFormDirective, decorators: [{
|
|
959
960
|
type: Optional
|
|
960
961
|
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
961
962
|
type: Optional
|
|
962
|
-
}] }]
|
|
963
|
+
}] }], propDecorators: { closeData: [{
|
|
963
964
|
type: Input
|
|
964
965
|
}], type: [{
|
|
965
966
|
type: HostBinding,
|
|
@@ -1072,7 +1073,7 @@ class FsButtonDirective {
|
|
|
1072
1073
|
this._resetClass();
|
|
1073
1074
|
}
|
|
1074
1075
|
ngOnDestroy() {
|
|
1075
|
-
this._destroy$.next();
|
|
1076
|
+
this._destroy$.next(null);
|
|
1076
1077
|
this._destroy$.complete();
|
|
1077
1078
|
this.form?.removeButton(this);
|
|
1078
1079
|
}
|
|
@@ -1108,21 +1109,21 @@ class FsButtonDirective {
|
|
|
1108
1109
|
return new DOMParser().parseFromString('<svg class="svg-icon svg-icon-error" xmlns="http://www.w3.org/2000/svg" width="38px" height="38px" viewBox="0 0 16 16"><g><path d="M8 1c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7zM8 0c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8v0z" data-original="#444444" data-old_color="#444444"/><path d="M12.2 10.8l-2.8-2.8 2.8-2.8-1.4-1.4-2.8 2.8-2.8-2.8-1.4 1.4 2.8 2.8-2.8 2.8 1.4 1.4 2.8-2.8 2.8 2.8z"/></g> </svg>', 'text/xml').firstChild;
|
|
1109
1110
|
}
|
|
1110
1111
|
}
|
|
1111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1112
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsButtonDirective, deps: [{ token: i1$1.MatButton, host: true, optional: true }, { token: FsFormDirective, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1113
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsButtonDirective, selector: "[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])", inputs: { name: "name", dirtySubmit: "dirtySubmit", form: "form" }, host: { properties: { "style.transition": "this.transitionStyle" } }, ngImport: i0 });
|
|
1113
1114
|
}
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsButtonDirective, decorators: [{
|
|
1115
1116
|
type: Directive,
|
|
1116
1117
|
args: [{
|
|
1117
1118
|
selector: '[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])',
|
|
1118
1119
|
}]
|
|
1119
|
-
}], ctorParameters:
|
|
1120
|
+
}], ctorParameters: () => [{ type: i1$1.MatButton, decorators: [{
|
|
1120
1121
|
type: Optional
|
|
1121
1122
|
}, {
|
|
1122
1123
|
type: Host
|
|
1123
1124
|
}] }, { type: FsFormDirective, decorators: [{
|
|
1124
1125
|
type: Optional
|
|
1125
|
-
}] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]
|
|
1126
|
+
}] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { name: [{
|
|
1126
1127
|
type: Input
|
|
1127
1128
|
}], dirtySubmit: [{
|
|
1128
1129
|
type: Input
|
|
@@ -1173,20 +1174,20 @@ class FsFormDialogActionsComponent {
|
|
|
1173
1174
|
}
|
|
1174
1175
|
}
|
|
1175
1176
|
ngOnDestroy() {
|
|
1176
|
-
this._destroy$.next();
|
|
1177
|
+
this._destroy$.next(null);
|
|
1177
1178
|
this._destroy$.complete();
|
|
1178
1179
|
}
|
|
1179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1180
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogActionsComponent, deps: [{ token: FsFormDirective, optional: true }, { token: i1.MatDialogRef, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1181
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: { save: "save", create: "create", close: "close", done: "done", closeData: "closeData", name: "name" }, ngImport: i0, template: "<div class=\"form-buttons\" [ngClass]=\"{ 'save-create': save || create }\">\n <ng-container *ngIf=\"save || create\">\n <button\n mat-button\n type=\"submit\"\n color=\"primary\"\n [name]=\"name\">\n {{create ? 'Create' : 'Save'}}\n </button>\n <button\n mat-button\n type=\"button\"\n class=\"close-button cancel-button\"\n [disabled]=\"close && !dirty && !create\"\n [mat-dialog-close]=\"null\">\n Cancel\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"done\">\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"null\">\n Done\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"save || create\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"close\">\n <button\n mat-button\n type=\"button\"\n class=\"close-button\"\n fsFormDialogClose\n [closeData]=\"closeData\"\n [color]=\"dirty ? 'basic' : 'primary'\">\n Close\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"!(save || create)\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "directive", type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: ["closeData"] }, { kind: "directive", type: FsButtonDirective, selector: "[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])", inputs: ["name", "dirtySubmit", "form"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1181
1182
|
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
|
|
1183
1184
|
type: Component,
|
|
1184
1185
|
args: [{ selector: 'fs-form-dialog-actions', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-buttons\" [ngClass]=\"{ 'save-create': save || create }\">\n <ng-container *ngIf=\"save || create\">\n <button\n mat-button\n type=\"submit\"\n color=\"primary\"\n [name]=\"name\">\n {{create ? 'Create' : 'Save'}}\n </button>\n <button\n mat-button\n type=\"button\"\n class=\"close-button cancel-button\"\n [disabled]=\"close && !dirty && !create\"\n [mat-dialog-close]=\"null\">\n Cancel\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"done\">\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"null\">\n Done\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"save || create\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"close\">\n <button\n mat-button\n type=\"button\"\n class=\"close-button\"\n fsFormDialogClose\n [closeData]=\"closeData\"\n [color]=\"dirty ? 'basic' : 'primary'\">\n Close\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"!(save || create)\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"] }]
|
|
1185
|
-
}], ctorParameters:
|
|
1186
|
+
}], ctorParameters: () => [{ type: FsFormDirective, decorators: [{
|
|
1186
1187
|
type: Optional
|
|
1187
1188
|
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
1188
1189
|
type: Optional
|
|
1189
|
-
}] }, { type: i0.ChangeDetectorRef }]
|
|
1190
|
+
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { save: [{
|
|
1190
1191
|
type: Input
|
|
1191
1192
|
}], create: [{
|
|
1192
1193
|
type: Input
|
|
@@ -1215,13 +1216,13 @@ class FsFormTemplateComponent {
|
|
|
1215
1216
|
debugger;
|
|
1216
1217
|
}
|
|
1217
1218
|
constructor() { }
|
|
1218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1219
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1220
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FsFormTemplateComponent, selector: "fs-form-template", inputs: { formTemplate: "formTemplate" }, queries: [{ propertyName: "models", predicate: NgModel, descendants: true }], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef1"], descendants: true }], ngImport: i0, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1220
1221
|
}
|
|
1221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateComponent, decorators: [{
|
|
1222
1223
|
type: Component,
|
|
1223
1224
|
args: [{ selector: 'fs-form-template', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>" }]
|
|
1224
|
-
}], ctorParameters:
|
|
1225
|
+
}], ctorParameters: () => [], propDecorators: { templateRef: [{
|
|
1225
1226
|
type: ViewChild,
|
|
1226
1227
|
args: ['templateRef1']
|
|
1227
1228
|
}], formTemplate: [{
|
|
@@ -1245,13 +1246,13 @@ class FsFormTemplateOutletComponent {
|
|
|
1245
1246
|
// });
|
|
1246
1247
|
}
|
|
1247
1248
|
constructor() { }
|
|
1248
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1249
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1249
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1250
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FsFormTemplateOutletComponent, selector: "fs-form-template-outlet", inputs: { formTemplate: "formTemplate" }, queries: [{ propertyName: "models", predicate: NgModel, descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n{{formTemplate.templateRef|json}}\n\n<ng-container *ngIf=\"formTemplate\">\n <ng-container [ngTemplateOutlet]=\"formTemplate.templateRef\"></ng-container> \n</ng-container>", dependencies: [{ kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i3$1.JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1250
1251
|
}
|
|
1251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateOutletComponent, decorators: [{
|
|
1252
1253
|
type: Component,
|
|
1253
1254
|
args: [{ selector: 'fs-form-template-outlet', changeDetection: ChangeDetectionStrategy.OnPush, template: "\n{{formTemplate.templateRef|json}}\n\n<ng-container *ngIf=\"formTemplate\">\n <ng-container [ngTemplateOutlet]=\"formTemplate.templateRef\"></ng-container> \n</ng-container>" }]
|
|
1254
|
-
}], ctorParameters:
|
|
1255
|
+
}], ctorParameters: () => [], propDecorators: { formTemplate: [{
|
|
1255
1256
|
type: Input
|
|
1256
1257
|
}], models: [{
|
|
1257
1258
|
type: ContentChildren,
|
|
@@ -1263,24 +1264,24 @@ class FsFormTemplateDirective {
|
|
|
1263
1264
|
models;
|
|
1264
1265
|
ngAfterContentInit() {
|
|
1265
1266
|
}
|
|
1266
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1267
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1268
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormTemplateDirective, selector: "[fsFormTemplate]", viewQueries: [{ propertyName: "models", predicate: NgModel, descendants: true }], ngImport: i0 });
|
|
1268
1269
|
}
|
|
1269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormTemplateDirective, decorators: [{
|
|
1270
1271
|
type: Directive,
|
|
1271
1272
|
args: [{
|
|
1272
1273
|
selector: '[fsFormTemplate]',
|
|
1273
1274
|
}]
|
|
1274
|
-
}], ctorParameters:
|
|
1275
|
+
}], ctorParameters: () => [], propDecorators: { models: [{
|
|
1275
1276
|
type: ViewChildren,
|
|
1276
1277
|
args: [NgModel]
|
|
1277
1278
|
}] } });
|
|
1278
1279
|
|
|
1279
1280
|
class FsSubmitButtonDirective extends FsButtonDirective {
|
|
1280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsSubmitButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1282
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsSubmitButtonDirective, selector: "dummy-selector", usesInheritance: true, ngImport: i0 });
|
|
1282
1283
|
}
|
|
1283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsSubmitButtonDirective, decorators: [{
|
|
1284
1285
|
type: Directive,
|
|
1285
1286
|
args: [{
|
|
1286
1287
|
selector: 'dummy-selector',
|
|
@@ -1360,7 +1361,7 @@ class FsControlDirective {
|
|
|
1360
1361
|
this._setupValidators();
|
|
1361
1362
|
}
|
|
1362
1363
|
ngOnDestroy() {
|
|
1363
|
-
this._destroy$.next();
|
|
1364
|
+
this._destroy$.next(null);
|
|
1364
1365
|
this._destroy$.complete();
|
|
1365
1366
|
}
|
|
1366
1367
|
ngAfterContentInit() {
|
|
@@ -1532,12 +1533,12 @@ class FsControlDirective {
|
|
|
1532
1533
|
}
|
|
1533
1534
|
control.updateValueAndValidity();
|
|
1534
1535
|
}
|
|
1535
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1536
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsControlDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: VALIDATE_MESSAGES, self: true }, { token: i1$2.NgControl, optional: true }, { token: FsFormDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1537
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsControlDirective, selector: "[fsFormControl]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", appendMessageClass: "appendMessageClass", appendLabelClass: "appendLabelClass", appendErrorClass: "appendErrorClass", appendHintClass: "appendHintClass", validateMessages: "validateMessages" }, providers: [
|
|
1537
1538
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1538
1539
|
], ngImport: i0 });
|
|
1539
1540
|
}
|
|
1540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsControlDirective, decorators: [{
|
|
1541
1542
|
type: Directive,
|
|
1542
1543
|
args: [{
|
|
1543
1544
|
selector: '[fsFormControl]',
|
|
@@ -1545,7 +1546,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1545
1546
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1546
1547
|
],
|
|
1547
1548
|
}]
|
|
1548
|
-
}], ctorParameters:
|
|
1549
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
1549
1550
|
type: Self
|
|
1550
1551
|
}, {
|
|
1551
1552
|
type: Inject,
|
|
@@ -1557,7 +1558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1557
1558
|
}, {
|
|
1558
1559
|
type: Inject,
|
|
1559
1560
|
args: [FsFormDirective]
|
|
1560
|
-
}] }]
|
|
1561
|
+
}] }], propDecorators: { wrapperSelector: [{
|
|
1561
1562
|
type: Input
|
|
1562
1563
|
}], messageSelector: [{
|
|
1563
1564
|
type: Input
|
|
@@ -1601,12 +1602,12 @@ class FsFormCompareDirective extends FsControlDirective {
|
|
|
1601
1602
|
this._control.updateValueAndValidity();
|
|
1602
1603
|
}, false);
|
|
1603
1604
|
}
|
|
1604
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1605
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormCompareDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1606
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormCompareDirective, selector: "[fsFormCompare]", inputs: { fsFormCompare: "fsFormCompare", validationMessage: ["fsFormCompareMessage", "validationMessage"] }, providers: [
|
|
1606
1607
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1607
1608
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1608
1609
|
}
|
|
1609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormCompareDirective, decorators: [{
|
|
1610
1611
|
type: Directive,
|
|
1611
1612
|
args: [{
|
|
1612
1613
|
selector: '[fsFormCompare]',
|
|
@@ -1729,12 +1730,12 @@ class FsFormDateRangeDirective extends FsControlDirective {
|
|
|
1729
1730
|
return null;
|
|
1730
1731
|
}
|
|
1731
1732
|
}
|
|
1732
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1733
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1733
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1734
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDateRangeDirective, selector: "[fsFormDateRange]", inputs: { fsFormDateRange: "fsFormDateRange", validationMessage: ["fsFormDateRangeMessage", "validationMessage"] }, providers: [
|
|
1734
1735
|
VALIDATE_MESSAGE_PROVIDER
|
|
1735
1736
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1736
1737
|
}
|
|
1737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDateRangeDirective, decorators: [{
|
|
1738
1739
|
type: Directive,
|
|
1739
1740
|
args: [{
|
|
1740
1741
|
selector: '[fsFormDateRange]',
|
|
@@ -1765,12 +1766,12 @@ class FsFormEmailDirective extends FsControlDirective {
|
|
|
1765
1766
|
return null;
|
|
1766
1767
|
}
|
|
1767
1768
|
}
|
|
1768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormEmailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1770
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormEmailDirective, selector: "[fsFormEmail]", inputs: { fsFormEmail: "fsFormEmail", validationMessage: ["fsFormEmailMessage", "validationMessage"] }, providers: [
|
|
1770
1771
|
VALIDATE_MESSAGE_PROVIDER
|
|
1771
1772
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1772
1773
|
}
|
|
1773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormEmailDirective, decorators: [{
|
|
1774
1775
|
type: Directive,
|
|
1775
1776
|
args: [{
|
|
1776
1777
|
selector: '[fsFormEmail]',
|
|
@@ -1801,12 +1802,12 @@ class FsFormEmailsDirective extends FsControlDirective {
|
|
|
1801
1802
|
return null;
|
|
1802
1803
|
}
|
|
1803
1804
|
}
|
|
1804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1805
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1805
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormEmailsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1806
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormEmailsDirective, selector: "[fsFormEmails]", inputs: { fsFormEmails: "fsFormEmails", validationMessage: ["fsFormEmailsMessage", "validationMessage"] }, providers: [
|
|
1806
1807
|
VALIDATE_MESSAGE_PROVIDER
|
|
1807
1808
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1808
1809
|
}
|
|
1809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormEmailsDirective, decorators: [{
|
|
1810
1811
|
type: Directive,
|
|
1811
1812
|
args: [{
|
|
1812
1813
|
selector: '[fsFormEmails]',
|
|
@@ -1834,12 +1835,12 @@ class FsFormFunctionDirective extends FsControlDirective {
|
|
|
1834
1835
|
}
|
|
1835
1836
|
return FsValidators.func(this._control, this.fsFormFunction, this.fsFormFunctionData);
|
|
1836
1837
|
}
|
|
1837
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1838
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormFunctionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1839
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormFunctionDirective, selector: "[fsFormFunction]", inputs: { fsFormFunction: "fsFormFunction", fsFormFunctionData: "fsFormFunctionData", validateOnSubmit: "validateOnSubmit" }, providers: [
|
|
1839
1840
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1840
1841
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1841
1842
|
}
|
|
1842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormFunctionDirective, decorators: [{
|
|
1843
1844
|
type: Directive,
|
|
1844
1845
|
args: [{
|
|
1845
1846
|
selector: '[fsFormFunction]',
|
|
@@ -1871,12 +1872,12 @@ class FsFormGreaterEqualDirective extends FsControlDirective {
|
|
|
1871
1872
|
}
|
|
1872
1873
|
return FsValidators.numeric(this._control);
|
|
1873
1874
|
}
|
|
1874
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1875
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1875
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormGreaterEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1876
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormGreaterEqualDirective, selector: "[fsFormGreaterEqual]", inputs: { fsFormGreaterEqual: "fsFormGreaterEqual", validationMessage: ["fsFormGreaterEqualMessage", "validationMessage"] }, providers: [
|
|
1876
1877
|
VALIDATE_MESSAGE_PROVIDER
|
|
1877
1878
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1878
1879
|
}
|
|
1879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormGreaterEqualDirective, decorators: [{
|
|
1880
1881
|
type: Directive,
|
|
1881
1882
|
args: [{
|
|
1882
1883
|
selector: '[fsFormGreaterEqual]',
|
|
@@ -1907,12 +1908,12 @@ class FsFormGreaterDirective extends FsControlDirective {
|
|
|
1907
1908
|
}
|
|
1908
1909
|
return FsValidators.numeric(this._control);
|
|
1909
1910
|
}
|
|
1910
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1911
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1911
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormGreaterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1912
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormGreaterDirective, selector: "[fsFormGreater]", inputs: { fsFormGreater: "fsFormGreater", validationMessage: ["fsFormGreaterMessage", "validationMessage"] }, providers: [
|
|
1912
1913
|
VALIDATE_MESSAGE_PROVIDER
|
|
1913
1914
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1914
1915
|
}
|
|
1915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormGreaterDirective, decorators: [{
|
|
1916
1917
|
type: Directive,
|
|
1917
1918
|
args: [{
|
|
1918
1919
|
selector: '[fsFormGreater]',
|
|
@@ -1941,12 +1942,12 @@ class FsFormIntegerDirective extends FsControlDirective {
|
|
|
1941
1942
|
}
|
|
1942
1943
|
return null;
|
|
1943
1944
|
}
|
|
1944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1945
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1945
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormIntegerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1946
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormIntegerDirective, selector: "[fsFormInteger]", inputs: { fsFormInteger: "fsFormInteger", validationMessage: ["fsFormIntegerMessage", "validationMessage"] }, providers: [
|
|
1946
1947
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1947
1948
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1948
1949
|
}
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormIntegerDirective, decorators: [{
|
|
1950
1951
|
type: Directive,
|
|
1951
1952
|
args: [{
|
|
1952
1953
|
selector: '[fsFormInteger]',
|
|
@@ -1977,12 +1978,12 @@ class FsFormLesserEqualDirective extends FsControlDirective {
|
|
|
1977
1978
|
}
|
|
1978
1979
|
return FsValidators.numeric(this._control);
|
|
1979
1980
|
}
|
|
1980
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1981
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1981
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormLesserEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1982
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormLesserEqualDirective, selector: "[fsFormLesserEqual]", inputs: { fsFormLesserEqual: "fsFormLesserEqual", validationMessage: ["fsFormLesserEqualMessage", "validationMessage"] }, providers: [
|
|
1982
1983
|
VALIDATE_MESSAGE_PROVIDER
|
|
1983
1984
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1984
1985
|
}
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormLesserEqualDirective, decorators: [{
|
|
1986
1987
|
type: Directive,
|
|
1987
1988
|
args: [{
|
|
1988
1989
|
selector: '[fsFormLesserEqual]',
|
|
@@ -2013,12 +2014,12 @@ class FsFormLesserDirective extends FsControlDirective {
|
|
|
2013
2014
|
}
|
|
2014
2015
|
return FsValidators.numeric(this._control);
|
|
2015
2016
|
}
|
|
2016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2017
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2017
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormLesserDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2018
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormLesserDirective, selector: "[fsFormLesser]", inputs: { fsFormLesser: "fsFormLesser", validationMessage: ["fsFormLesserMessage", "validationMessage"] }, providers: [
|
|
2018
2019
|
VALIDATE_MESSAGE_PROVIDER
|
|
2019
2020
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2020
2021
|
}
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormLesserDirective, decorators: [{
|
|
2022
2023
|
type: Directive,
|
|
2023
2024
|
args: [{
|
|
2024
2025
|
selector: '[fsFormLesser]',
|
|
@@ -2044,12 +2045,12 @@ class FsFormMaxDirective extends FsControlDirective {
|
|
|
2044
2045
|
validate(control) {
|
|
2045
2046
|
return FsValidators.numeric(this._control) || Validators.max(this.fsFormMax)(this._control);
|
|
2046
2047
|
}
|
|
2047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2048
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2048
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMaxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2049
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormMaxDirective, selector: "[fsFormMax]", inputs: { fsFormMax: "fsFormMax", validationMessage: ["fsFormMaxMessage", "validationMessage"] }, providers: [
|
|
2049
2050
|
VALIDATE_MESSAGE_PROVIDER
|
|
2050
2051
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2051
2052
|
}
|
|
2052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMaxDirective, decorators: [{
|
|
2053
2054
|
type: Directive,
|
|
2054
2055
|
args: [{
|
|
2055
2056
|
selector: '[fsFormMax]',
|
|
@@ -2075,12 +2076,12 @@ class FsFormMaxLengthDirective extends FsControlDirective {
|
|
|
2075
2076
|
validate(control) {
|
|
2076
2077
|
return Validators.maxLength(this.fsFormMaxLength)(this._control);
|
|
2077
2078
|
}
|
|
2078
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2079
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2079
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMaxLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2080
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormMaxLengthDirective, selector: "[fsFormMaxLength]", inputs: { fsFormMaxLength: "fsFormMaxLength", validationMessage: ["fsFormMaxLengthMessage", "validationMessage"] }, providers: [
|
|
2080
2081
|
VALIDATE_MESSAGE_PROVIDER
|
|
2081
2082
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2082
2083
|
}
|
|
2083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMaxLengthDirective, decorators: [{
|
|
2084
2085
|
type: Directive,
|
|
2085
2086
|
args: [{
|
|
2086
2087
|
selector: '[fsFormMaxLength]',
|
|
@@ -2106,12 +2107,12 @@ class FsFormMinDirective extends FsControlDirective {
|
|
|
2106
2107
|
validate(control) {
|
|
2107
2108
|
return FsValidators.numeric(this._control) || Validators.min(parseFloat(this.fsFormMin))(this._control);
|
|
2108
2109
|
}
|
|
2109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2110
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMinDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2111
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormMinDirective, selector: "[fsFormMin]", inputs: { fsFormMin: "fsFormMin", validationMessage: ["fsFormMinMessage", "validationMessage"] }, providers: [
|
|
2111
2112
|
VALIDATE_MESSAGE_PROVIDER
|
|
2112
2113
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2113
2114
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMinDirective, decorators: [{
|
|
2115
2116
|
type: Directive,
|
|
2116
2117
|
args: [{
|
|
2117
2118
|
selector: '[fsFormMin]',
|
|
@@ -2137,12 +2138,12 @@ class FsFormMinLengthDirective extends FsControlDirective {
|
|
|
2137
2138
|
validate(control) {
|
|
2138
2139
|
return Validators.minLength(this.fsFormMinLength)(this._control);
|
|
2139
2140
|
}
|
|
2140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2141
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMinLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormMinLengthDirective, selector: "[fsFormMinLength]", inputs: { fsFormMinLength: "fsFormMinLength", validationMessage: ["fsFormMinLengthMessage", "validationMessage"] }, providers: [
|
|
2142
2143
|
VALIDATE_MESSAGE_PROVIDER
|
|
2143
2144
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2144
2145
|
}
|
|
2145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormMinLengthDirective, decorators: [{
|
|
2146
2147
|
type: Directive,
|
|
2147
2148
|
args: [{
|
|
2148
2149
|
selector: '[fsFormMinLength]',
|
|
@@ -2171,12 +2172,12 @@ class FsFormNoFsValidatorsDirective extends FsControlDirective {
|
|
|
2171
2172
|
super._subscribeToStatusChagnes();
|
|
2172
2173
|
}
|
|
2173
2174
|
}
|
|
2174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2175
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormNoFsValidatorsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2176
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormNoFsValidatorsDirective, selector: "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormGreaterEqual]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", providers: [
|
|
2176
2177
|
VALIDATE_MESSAGE_PROVIDER
|
|
2177
2178
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2178
2179
|
}
|
|
2179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormNoFsValidatorsDirective, decorators: [{
|
|
2180
2181
|
type: Directive,
|
|
2181
2182
|
args: [{
|
|
2182
2183
|
selector: '[ngModel]' +
|
|
@@ -2222,12 +2223,12 @@ class FsFormNumericDirective extends FsControlDirective {
|
|
|
2222
2223
|
return null;
|
|
2223
2224
|
}
|
|
2224
2225
|
}
|
|
2225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2226
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormNumericDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2227
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormNumericDirective, selector: "[fsFormNumeric]", inputs: { fsFormNumeric: "fsFormNumeric", validationMessage: ["fsFormNumericMessage", "validationMessage"] }, providers: [
|
|
2227
2228
|
VALIDATE_MESSAGE_PROVIDER
|
|
2228
2229
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2229
2230
|
}
|
|
2230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormNumericDirective, decorators: [{
|
|
2231
2232
|
type: Directive,
|
|
2232
2233
|
args: [{
|
|
2233
2234
|
selector: '[fsFormNumeric]',
|
|
@@ -2253,12 +2254,12 @@ class FsFormPatternDirective extends FsControlDirective {
|
|
|
2253
2254
|
validate(control) {
|
|
2254
2255
|
return Validators.pattern(this.fsFormPattern)(this._control);
|
|
2255
2256
|
}
|
|
2256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2257
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormPatternDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2258
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormPatternDirective, selector: "[fsFormPattern]", inputs: { fsFormPattern: "fsFormPattern", validationMessage: ["fsFormPatternMessage", "validationMessage"] }, providers: [
|
|
2258
2259
|
VALIDATE_MESSAGE_PROVIDER
|
|
2259
2260
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2260
2261
|
}
|
|
2261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormPatternDirective, decorators: [{
|
|
2262
2263
|
type: Directive,
|
|
2263
2264
|
args: [{
|
|
2264
2265
|
selector: '[fsFormPattern]',
|
|
@@ -2289,12 +2290,12 @@ class FsFormPhoneDirective extends FsControlDirective {
|
|
|
2289
2290
|
return null;
|
|
2290
2291
|
}
|
|
2291
2292
|
}
|
|
2292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2293
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormPhoneDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2294
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormPhoneDirective, selector: "[fsFormPhone]", inputs: { fsFormPhone: "fsFormPhone", validationMessage: ["fsFormPhoneMessage", "validationMessage"] }, providers: [
|
|
2294
2295
|
VALIDATE_MESSAGE_PROVIDER
|
|
2295
2296
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2296
2297
|
}
|
|
2297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormPhoneDirective, decorators: [{
|
|
2298
2299
|
type: Directive,
|
|
2299
2300
|
args: [{
|
|
2300
2301
|
selector: '[fsFormPhone]',
|
|
@@ -2345,12 +2346,12 @@ class FsFormRequiredDirective extends FsControlDirective {
|
|
|
2345
2346
|
}
|
|
2346
2347
|
super.render();
|
|
2347
2348
|
}
|
|
2348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2349
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormRequiredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2350
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: { setFsFormRequired: ["fsFormRequired", "setFsFormRequired"], setRequired: ["required", "setRequired"], validationMessage: ["fsFormRequiredMessage", "validationMessage"] }, providers: [
|
|
2350
2351
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2351
2352
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2352
2353
|
}
|
|
2353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormRequiredDirective, decorators: [{
|
|
2354
2355
|
type: Directive,
|
|
2355
2356
|
args: [{
|
|
2356
2357
|
selector: '[fsFormRequired],[ngModel][required]',
|
|
@@ -2384,12 +2385,12 @@ class FsFormUrlDirective extends FsControlDirective {
|
|
|
2384
2385
|
}
|
|
2385
2386
|
return null;
|
|
2386
2387
|
}
|
|
2387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2388
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormUrlDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2389
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormUrlDirective, selector: "[fsFormUrl]", inputs: { fsFormUrl: "fsFormUrl", fsFormUrlProtocol: "fsFormUrlProtocol", validationMessage: ["fsFormUrlMessage", "validationMessage"] }, providers: [
|
|
2389
2390
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2390
2391
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2391
2392
|
}
|
|
2392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormUrlDirective, decorators: [{
|
|
2393
2394
|
type: Directive,
|
|
2394
2395
|
args: [{
|
|
2395
2396
|
selector: '[fsFormUrl]',
|
|
@@ -2419,12 +2420,12 @@ class FsFormValidateDirective extends FsControlDirective {
|
|
|
2419
2420
|
}
|
|
2420
2421
|
return FsValidators.func(this._control, this.validateFn, this.validateFnData);
|
|
2421
2422
|
}
|
|
2422
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2423
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormValidateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2424
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsFormValidateDirective, selector: "[validate]", inputs: { validateFn: ["validate", "validateFn"], validateFnData: ["validateData", "validateFnData"], validateOnSubmit: "validateOnSubmit" }, providers: [
|
|
2424
2425
|
VALIDATE_MESSAGE_PROVIDER
|
|
2425
2426
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2426
2427
|
}
|
|
2427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormValidateDirective, decorators: [{
|
|
2428
2429
|
type: Directive,
|
|
2429
2430
|
args: [{
|
|
2430
2431
|
selector: '[validate]',
|
|
@@ -2455,8 +2456,8 @@ class FsFormModule {
|
|
|
2455
2456
|
ngModule: FsFormModule,
|
|
2456
2457
|
};
|
|
2457
2458
|
}
|
|
2458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2459
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2459
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2460
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormModule, declarations: [FsFormDirective,
|
|
2460
2461
|
FsControlDirective,
|
|
2461
2462
|
FsFormRequiredDirective,
|
|
2462
2463
|
FsFormMinDirective,
|
|
@@ -2521,7 +2522,7 @@ class FsFormModule {
|
|
|
2521
2522
|
FsFormTemplateComponent,
|
|
2522
2523
|
FsFormTemplateDirective,
|
|
2523
2524
|
FsFormTemplateOutletComponent] });
|
|
2524
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2525
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormModule, providers: [
|
|
2525
2526
|
{
|
|
2526
2527
|
provide: ErrorStateMatcher,
|
|
2527
2528
|
useClass: ShowOnDirtyErrorStateMatcher,
|
|
@@ -2533,7 +2534,7 @@ class FsFormModule {
|
|
|
2533
2534
|
MatDialogModule,
|
|
2534
2535
|
FsDialogModule] });
|
|
2535
2536
|
}
|
|
2536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormModule, decorators: [{
|
|
2537
2538
|
type: NgModule,
|
|
2538
2539
|
args: [{
|
|
2539
2540
|
imports: [
|