@firestitch/form 13.3.9 → 14.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/app/components/confirm-unsaved/confirm-unsaved.component.d.ts +1 -1
- package/app/components/form-dialog-actions/form-dialog-actions.component.d.ts +1 -1
- package/app/components/form-template/form-template.component.d.ts +1 -1
- package/app/components/form-template-outlet/form-template-outlet.component.d.ts +1 -1
- package/app/directives/button.directive.d.ts +1 -1
- package/app/directives/form/form.directive.d.ts +1 -1
- package/app/directives/form-dialog-close.directive.d.ts +1 -1
- package/app/directives/form-template.directive.d.ts +1 -1
- package/app/directives/submit-button.directive.d.ts +1 -1
- package/app/directives/validators/compare.directive.d.ts +1 -1
- package/app/directives/validators/control.directive.d.ts +1 -1
- package/app/directives/validators/daterange.directive.d.ts +1 -1
- package/app/directives/validators/email.directive.d.ts +1 -1
- package/app/directives/validators/emails.directive.d.ts +1 -1
- package/app/directives/validators/function.directive.d.ts +1 -1
- package/app/directives/validators/greater-equal.directive.d.ts +1 -1
- package/app/directives/validators/greater.directive.d.ts +1 -1
- package/app/directives/validators/integer.directive.d.ts +1 -1
- package/app/directives/validators/lesser-equal.directive.d.ts +1 -1
- package/app/directives/validators/lesser.directive.d.ts +1 -1
- package/app/directives/validators/max.directive.d.ts +1 -1
- package/app/directives/validators/maxlength.directive.d.ts +1 -1
- package/app/directives/validators/min.directive.d.ts +1 -1
- package/app/directives/validators/minlength.directive.d.ts +1 -1
- package/app/directives/validators/no-fs-validators.directive.d.ts +1 -1
- package/app/directives/validators/numeric.directive.d.ts +1 -1
- package/app/directives/validators/pattern.directive.d.ts +1 -1
- package/app/directives/validators/phone.directive.d.ts +1 -1
- package/app/directives/validators/required.directive.d.ts +1 -1
- package/app/directives/validators/url.directive.d.ts +1 -1
- package/app/directives/validators/validate.directive.d.ts +1 -1
- package/esm2020/app/components/confirm-unsaved/confirm-unsaved.component.mjs +5 -5
- package/esm2020/app/components/form-dialog-actions/form-dialog-actions.component.mjs +7 -7
- package/esm2020/app/components/form-template/form-template.component.mjs +3 -3
- package/esm2020/app/components/form-template-outlet/form-template-outlet.component.mjs +3 -3
- package/esm2020/app/directives/button.directive.mjs +3 -3
- package/esm2020/app/directives/form/form.directive.mjs +29 -32
- package/esm2020/app/directives/form-dialog-close.directive.mjs +3 -3
- package/esm2020/app/directives/form-template.directive.mjs +3 -3
- package/esm2020/app/directives/submit-button.directive.mjs +3 -3
- package/esm2020/app/directives/validators/compare.directive.mjs +3 -3
- package/esm2020/app/directives/validators/control.directive.mjs +3 -3
- package/esm2020/app/directives/validators/daterange.directive.mjs +3 -3
- package/esm2020/app/directives/validators/email.directive.mjs +3 -3
- package/esm2020/app/directives/validators/emails.directive.mjs +3 -3
- package/esm2020/app/directives/validators/function.directive.mjs +3 -3
- package/esm2020/app/directives/validators/greater-equal.directive.mjs +3 -3
- package/esm2020/app/directives/validators/greater.directive.mjs +3 -3
- package/esm2020/app/directives/validators/integer.directive.mjs +3 -3
- package/esm2020/app/directives/validators/lesser-equal.directive.mjs +3 -3
- package/esm2020/app/directives/validators/lesser.directive.mjs +3 -3
- package/esm2020/app/directives/validators/max.directive.mjs +3 -3
- package/esm2020/app/directives/validators/maxlength.directive.mjs +3 -3
- package/esm2020/app/directives/validators/min.directive.mjs +3 -3
- package/esm2020/app/directives/validators/minlength.directive.mjs +3 -3
- package/esm2020/app/directives/validators/no-fs-validators.directive.mjs +3 -3
- package/esm2020/app/directives/validators/numeric.directive.mjs +3 -3
- package/esm2020/app/directives/validators/pattern.directive.mjs +3 -3
- package/esm2020/app/directives/validators/phone.directive.mjs +3 -3
- package/esm2020/app/directives/validators/required.directive.mjs +3 -3
- package/esm2020/app/directives/validators/url.directive.mjs +3 -3
- package/esm2020/app/directives/validators/validate.directive.mjs +3 -3
- package/esm2020/app/fs-form.module.mjs +11 -13
- package/esm2020/app/guards/form-deactivate.guard.mjs +3 -3
- package/esm2020/app/helpers/get-form-errors.mjs +3 -3
- package/esm2020/app/services/fsform.service.mjs +3 -3
- package/fesm2015/firestitch-form.mjs +189 -193
- package/fesm2015/firestitch-form.mjs.map +1 -1
- package/fesm2020/firestitch-form.mjs +186 -191
- package/fesm2020/firestitch-form.mjs.map +1 -1
- package/package.json +3 -3
- /package/{firestitch-form.d.ts → index.d.ts} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i3$1 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Component, ChangeDetectionStrategy, Inject, Injectable, EventEmitter, QueryList, Directive, Optional, Input, Output, HostBinding, ContentChildren,
|
|
4
|
+
import { Component, ChangeDetectionStrategy, Inject, Injectable, EventEmitter, QueryList, Directive, Optional, Input, Output, HostBinding, ContentChildren, HostListener, Host, ViewChild, ViewChildren, InjectionToken, Self, NgModule } from '@angular/core';
|
|
5
5
|
import * as i1$2 from '@angular/forms';
|
|
6
|
-
import {
|
|
6
|
+
import { UntypedFormGroup, NgForm, NgModel, Validators, FormsModule } from '@angular/forms';
|
|
7
7
|
import * as i1$1 from '@angular/material/button';
|
|
8
8
|
import { MatButtonModule } from '@angular/material/button';
|
|
9
9
|
import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
|
|
10
10
|
import * as i1 from '@angular/material/dialog';
|
|
11
11
|
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i3 from '@firestitch/dialog';
|
|
13
13
|
import { FsDialogModule } from '@firestitch/dialog';
|
|
14
14
|
import { Subject, of, merge, BehaviorSubject, throwError, fromEvent, iif, defer, from, isObservable } from 'rxjs';
|
|
15
15
|
import { filter, map, switchMap, first, mapTo, take, takeUntil, mergeMap, tap, catchError, delay, startWith } from 'rxjs/operators';
|
|
16
|
-
import * as i2
|
|
16
|
+
import * as i2 from '@angular/router';
|
|
17
17
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
18
18
|
import { guid, email, isEmpty, isNumeric, phone, url } from '@firestitch/common';
|
|
19
19
|
import * as i6 from '@firestitch/drawer';
|
|
20
20
|
import { DrawerRef } from '@firestitch/drawer';
|
|
21
|
-
import * as i2$
|
|
21
|
+
import * as i2$1 from '@firestitch/message';
|
|
22
22
|
import { MessageMode } from '@firestitch/message';
|
|
23
23
|
import { values, keys, isObject } from 'lodash-es';
|
|
24
24
|
import { isValid } from 'date-fns';
|
|
@@ -50,9 +50,9 @@ class ConfirmUnsavedComponent {
|
|
|
50
50
|
this._destroy$.complete();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
ConfirmUnsavedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
ConfirmUnsavedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
ConfirmUnsavedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmUnsavedComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
ConfirmUnsavedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmUnsavedComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
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"] }]
|
|
58
58
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -167,9 +167,9 @@ class FsForm {
|
|
|
167
167
|
}));
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
FsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
FsForm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
170
|
+
FsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
171
|
+
FsForm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, providedIn: 'root' });
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, decorators: [{
|
|
173
173
|
type: Injectable,
|
|
174
174
|
args: [{
|
|
175
175
|
providedIn: 'root',
|
|
@@ -199,14 +199,14 @@ class FormDeactivateGuard {
|
|
|
199
199
|
}));
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
FormDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
FormDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
202
|
+
FormDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FormDeactivateGuard, deps: [{ token: FsForm }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
203
|
+
FormDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FormDeactivateGuard, providedIn: 'root' });
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FormDeactivateGuard, decorators: [{
|
|
205
205
|
type: Injectable,
|
|
206
206
|
args: [{
|
|
207
207
|
providedIn: 'root',
|
|
208
208
|
}]
|
|
209
|
-
}], ctorParameters: function () { return [{ type: FsForm }, { type: i2
|
|
209
|
+
}], ctorParameters: function () { return [{ type: FsForm }, { type: i2.ActivatedRoute }]; } });
|
|
210
210
|
|
|
211
211
|
function getFormErrors(control, key) {
|
|
212
212
|
let errors = null;
|
|
@@ -215,7 +215,7 @@ function getFormErrors(control, key) {
|
|
|
215
215
|
[key]: { ...control.errors },
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
if (control instanceof
|
|
218
|
+
if (control instanceof UntypedFormGroup) {
|
|
219
219
|
Object.entries(control.controls)
|
|
220
220
|
.forEach(([name, childControl]) => {
|
|
221
221
|
const childErrors = getFormErrors(childControl, name);
|
|
@@ -694,37 +694,34 @@ class FsFormDirective {
|
|
|
694
694
|
};
|
|
695
695
|
}
|
|
696
696
|
confirmTabGroup._handlClick$
|
|
697
|
-
.pipe(
|
|
698
|
-
.
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
.
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
confirmTabGroup.selectedIndex = event.idx;
|
|
706
|
-
}
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
else {
|
|
710
|
-
confirmTabGroup._originalHandleClick(event.tab, event.tabHeader, event.idx);
|
|
711
|
-
}
|
|
697
|
+
.pipe(filter(() => !this.submitting), switchMap((event) => {
|
|
698
|
+
if (this.confirm && this.confirmTabs) {
|
|
699
|
+
return this.triggerConfirm()
|
|
700
|
+
.pipe(tap((result) => {
|
|
701
|
+
if (confirmResultContinue(result)) {
|
|
702
|
+
confirmTabGroup.selectedIndex = event.idx;
|
|
703
|
+
}
|
|
704
|
+
}));
|
|
712
705
|
}
|
|
713
|
-
|
|
706
|
+
confirmTabGroup._originalHandleClick(event.tab, event.tabHeader, event.idx);
|
|
707
|
+
return of(null);
|
|
708
|
+
}), takeUntil(this._destroy$))
|
|
709
|
+
.subscribe();
|
|
714
710
|
}
|
|
715
711
|
_registerConfirmDialogBackdropEscape() {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
712
|
+
if (this._dialogRef) {
|
|
713
|
+
this._dialogBackdropEscape = !this._dialogRef?.disableClose;
|
|
714
|
+
if (this._dialogBackdropEscape) {
|
|
715
|
+
this._dialogRef.backdropClick()
|
|
716
|
+
.pipe(takeUntil(this._destroy$))
|
|
717
|
+
.subscribe(() => {
|
|
718
|
+
this._formClose();
|
|
719
|
+
});
|
|
720
|
+
this._destroy$
|
|
721
|
+
.subscribe(() => {
|
|
722
|
+
this._dialogRef.disableClose = false;
|
|
723
|
+
});
|
|
724
|
+
}
|
|
728
725
|
}
|
|
729
726
|
}
|
|
730
727
|
_registerAutocomplete() {
|
|
@@ -824,9 +821,9 @@ class FsFormDirective {
|
|
|
824
821
|
this._form.removeFormDirective(this._activatedRouteConfig.component);
|
|
825
822
|
}
|
|
826
823
|
}
|
|
827
|
-
FsFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
828
|
-
FsFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
824
|
+
FsFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
825
|
+
FsFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDirective, decorators: [{
|
|
830
827
|
type: Directive,
|
|
831
828
|
args: [{
|
|
832
829
|
selector: '[fsForm]',
|
|
@@ -835,7 +832,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
835
832
|
}], ctorParameters: function () { return [{ type: i1$2.NgForm, decorators: [{
|
|
836
833
|
type: Inject,
|
|
837
834
|
args: [NgForm]
|
|
838
|
-
}] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2$
|
|
835
|
+
}] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2$1.FsMessage }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.MatDialogRef, decorators: [{
|
|
839
836
|
type: Optional
|
|
840
837
|
}, {
|
|
841
838
|
type: Inject,
|
|
@@ -845,7 +842,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
845
842
|
}, {
|
|
846
843
|
type: Inject,
|
|
847
844
|
args: [DrawerRef]
|
|
848
|
-
}] }, { type: i2
|
|
845
|
+
}] }, { type: i2.ActivatedRoute }]; }, propDecorators: { wrapperSelector: [{
|
|
849
846
|
type: Input
|
|
850
847
|
}], messageSelector: [{
|
|
851
848
|
type: Input
|
|
@@ -900,6 +897,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
900
897
|
args: [MatTabGroup, { descendants: true }]
|
|
901
898
|
}] } });
|
|
902
899
|
|
|
900
|
+
class FsFormDialogCloseDirective {
|
|
901
|
+
constructor(_form, _dialogRef) {
|
|
902
|
+
this._form = _form;
|
|
903
|
+
this._dialogRef = _dialogRef;
|
|
904
|
+
this.type = 'button';
|
|
905
|
+
this._destroy$ = new Subject();
|
|
906
|
+
}
|
|
907
|
+
closeClick() {
|
|
908
|
+
if (this._form) {
|
|
909
|
+
this._form.triggerConfirm()
|
|
910
|
+
.pipe(filter((confirmResult) => (confirmResult !== ConfirmResult.Review)), takeUntil(this._destroy$))
|
|
911
|
+
.subscribe(() => {
|
|
912
|
+
this._dialogRef.close(this.closeData);
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
else {
|
|
916
|
+
this._dialogRef.close(this.closeData);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
ngOnDestroy() {
|
|
920
|
+
this._destroy$.next();
|
|
921
|
+
this._destroy$.complete();
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
FsFormDialogCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogCloseDirective, deps: [{ token: FsFormDirective, optional: true }, { token: i1.MatDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
925
|
+
FsFormDialogCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: { closeData: "closeData" }, host: { listeners: { "click": "closeClick($event.target)" }, properties: { "attr.type": "this.type" } }, ngImport: i0 });
|
|
926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
|
|
927
|
+
type: Directive,
|
|
928
|
+
args: [{
|
|
929
|
+
selector: '[fsFormDialogClose],[fs-form-dialog-close]',
|
|
930
|
+
}]
|
|
931
|
+
}], ctorParameters: function () { return [{ type: FsFormDirective, decorators: [{
|
|
932
|
+
type: Optional
|
|
933
|
+
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
934
|
+
type: Optional
|
|
935
|
+
}] }]; }, propDecorators: { closeData: [{
|
|
936
|
+
type: Input
|
|
937
|
+
}], type: [{
|
|
938
|
+
type: HostBinding,
|
|
939
|
+
args: ['attr.type']
|
|
940
|
+
}], closeClick: [{
|
|
941
|
+
type: HostListener,
|
|
942
|
+
args: ['click', ['$event.target']]
|
|
943
|
+
}] } });
|
|
944
|
+
|
|
903
945
|
class FsButtonDirective {
|
|
904
946
|
constructor(_matButton, _form, _elementRef, _cdRef) {
|
|
905
947
|
this._matButton = _matButton;
|
|
@@ -1034,9 +1076,9 @@ class FsButtonDirective {
|
|
|
1034
1076
|
}
|
|
1035
1077
|
}
|
|
1036
1078
|
}
|
|
1037
|
-
FsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1038
|
-
FsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1079
|
+
FsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
1080
|
+
FsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
1081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsButtonDirective, decorators: [{
|
|
1040
1082
|
type: Directive,
|
|
1041
1083
|
args: [{
|
|
1042
1084
|
selector: '[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])',
|
|
@@ -1058,51 +1100,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1058
1100
|
args: ['style.transition']
|
|
1059
1101
|
}] } });
|
|
1060
1102
|
|
|
1061
|
-
class FsFormDialogCloseDirective {
|
|
1062
|
-
constructor(_form, _dialogRef) {
|
|
1063
|
-
this._form = _form;
|
|
1064
|
-
this._dialogRef = _dialogRef;
|
|
1065
|
-
this.type = 'button';
|
|
1066
|
-
this._destroy$ = new Subject();
|
|
1067
|
-
}
|
|
1068
|
-
closeClick() {
|
|
1069
|
-
if (this._form) {
|
|
1070
|
-
this._form.triggerConfirm()
|
|
1071
|
-
.pipe(filter((confirmResult) => (confirmResult !== ConfirmResult.Review)), takeUntil(this._destroy$))
|
|
1072
|
-
.subscribe(() => {
|
|
1073
|
-
this._dialogRef.close(this.closeData);
|
|
1074
|
-
});
|
|
1075
|
-
}
|
|
1076
|
-
else {
|
|
1077
|
-
this._dialogRef.close(this.closeData);
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
ngOnDestroy() {
|
|
1081
|
-
this._destroy$.next();
|
|
1082
|
-
this._destroy$.complete();
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
FsFormDialogCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogCloseDirective, deps: [{ token: FsFormDirective, optional: true }, { token: i1.MatDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1086
|
-
FsFormDialogCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: { closeData: "closeData" }, host: { listeners: { "click": "closeClick($event.target)" }, properties: { "attr.type": "this.type" } }, ngImport: i0 });
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
|
|
1088
|
-
type: Directive,
|
|
1089
|
-
args: [{
|
|
1090
|
-
selector: '[fsFormDialogClose],[fs-form-dialog-close]',
|
|
1091
|
-
}]
|
|
1092
|
-
}], ctorParameters: function () { return [{ type: FsFormDirective, decorators: [{
|
|
1093
|
-
type: Optional
|
|
1094
|
-
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
1095
|
-
type: Optional
|
|
1096
|
-
}] }]; }, propDecorators: { closeData: [{
|
|
1097
|
-
type: Input
|
|
1098
|
-
}], type: [{
|
|
1099
|
-
type: HostBinding,
|
|
1100
|
-
args: ['attr.type']
|
|
1101
|
-
}], closeClick: [{
|
|
1102
|
-
type: HostListener,
|
|
1103
|
-
args: ['click', ['$event.target']]
|
|
1104
|
-
}] } });
|
|
1105
|
-
|
|
1106
1103
|
class FsFormDialogActionsComponent {
|
|
1107
1104
|
constructor(_form, _dialogRef, _cdRef) {
|
|
1108
1105
|
this._form = _form;
|
|
@@ -1143,9 +1140,9 @@ class FsFormDialogActionsComponent {
|
|
|
1143
1140
|
this._destroy$.complete();
|
|
1144
1141
|
}
|
|
1145
1142
|
}
|
|
1146
|
-
FsFormDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1147
|
-
FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1143
|
+
FsFormDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogActionsComponent, deps: [{ token: FsFormDirective, optional: true }, { token: i1.MatDialogRef, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1144
|
+
FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], 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 });
|
|
1145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
|
|
1149
1146
|
type: Component,
|
|
1150
1147
|
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"] }]
|
|
1151
1148
|
}], ctorParameters: function () { return [{ type: FsFormDirective, decorators: [{
|
|
@@ -1179,9 +1176,9 @@ class FsFormTemplateComponent {
|
|
|
1179
1176
|
debugger;
|
|
1180
1177
|
}
|
|
1181
1178
|
}
|
|
1182
|
-
FsFormTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1183
|
-
FsFormTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1179
|
+
FsFormTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1180
|
+
FsFormTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateComponent, decorators: [{
|
|
1185
1182
|
type: Component,
|
|
1186
1183
|
args: [{ selector: 'fs-form-template', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>" }]
|
|
1187
1184
|
}], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
|
|
@@ -1207,9 +1204,9 @@ class FsFormTemplateOutletComponent {
|
|
|
1207
1204
|
// });
|
|
1208
1205
|
}
|
|
1209
1206
|
}
|
|
1210
|
-
FsFormTemplateOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1211
|
-
FsFormTemplateOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1207
|
+
FsFormTemplateOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1208
|
+
FsFormTemplateOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateOutletComponent, decorators: [{
|
|
1213
1210
|
type: Component,
|
|
1214
1211
|
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>" }]
|
|
1215
1212
|
}], ctorParameters: function () { return []; }, propDecorators: { formTemplate: [{
|
|
@@ -1224,9 +1221,9 @@ class FsFormTemplateDirective {
|
|
|
1224
1221
|
ngAfterContentInit() {
|
|
1225
1222
|
}
|
|
1226
1223
|
}
|
|
1227
|
-
FsFormTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1228
|
-
FsFormTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1224
|
+
FsFormTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1225
|
+
FsFormTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormTemplateDirective, selector: "[fsFormTemplate]", viewQueries: [{ propertyName: "models", predicate: NgModel, descendants: true }], ngImport: i0 });
|
|
1226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateDirective, decorators: [{
|
|
1230
1227
|
type: Directive,
|
|
1231
1228
|
args: [{
|
|
1232
1229
|
selector: '[fsFormTemplate]',
|
|
@@ -1238,9 +1235,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1238
1235
|
|
|
1239
1236
|
class FsSubmitButtonDirective extends FsButtonDirective {
|
|
1240
1237
|
}
|
|
1241
|
-
FsSubmitButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1242
|
-
FsSubmitButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1238
|
+
FsSubmitButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsSubmitButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1239
|
+
FsSubmitButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsSubmitButtonDirective, selector: "dummy-selector", usesInheritance: true, ngImport: i0 });
|
|
1240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsSubmitButtonDirective, decorators: [{
|
|
1244
1241
|
type: Directive,
|
|
1245
1242
|
args: [{
|
|
1246
1243
|
selector: 'dummy-selector',
|
|
@@ -1482,11 +1479,11 @@ class FsControlDirective {
|
|
|
1482
1479
|
control.updateValueAndValidity();
|
|
1483
1480
|
}
|
|
1484
1481
|
}
|
|
1485
|
-
FsControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1486
|
-
FsControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1482
|
+
FsControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", 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 });
|
|
1483
|
+
FsControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsControlDirective, selector: "[fsFormControl]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", appendMessageClass: "appendMessageClass", appendLabelClass: "appendLabelClass", appendErrorClass: "appendErrorClass", appendHintClass: "appendHintClass", validateMessages: "validateMessages" }, providers: [
|
|
1487
1484
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1488
1485
|
], ngImport: i0 });
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsControlDirective, decorators: [{
|
|
1490
1487
|
type: Directive,
|
|
1491
1488
|
args: [{
|
|
1492
1489
|
selector: '[fsFormControl]',
|
|
@@ -1550,11 +1547,11 @@ class FsFormCompareDirective extends FsControlDirective {
|
|
|
1550
1547
|
}, false);
|
|
1551
1548
|
}
|
|
1552
1549
|
}
|
|
1553
|
-
FsFormCompareDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1554
|
-
FsFormCompareDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1550
|
+
FsFormCompareDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormCompareDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1551
|
+
FsFormCompareDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormCompareDirective, selector: "[fsFormCompare]", inputs: { fsFormCompare: "fsFormCompare", validationMessage: ["fsFormCompareMessage", "validationMessage"] }, providers: [
|
|
1555
1552
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1556
1553
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormCompareDirective, decorators: [{
|
|
1558
1555
|
type: Directive,
|
|
1559
1556
|
args: [{
|
|
1560
1557
|
selector: '[fsFormCompare]',
|
|
@@ -1677,11 +1674,11 @@ class FsFormDateRangeDirective extends FsControlDirective {
|
|
|
1677
1674
|
}
|
|
1678
1675
|
}
|
|
1679
1676
|
}
|
|
1680
|
-
FsFormDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1681
|
-
FsFormDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1677
|
+
FsFormDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1678
|
+
FsFormDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormDateRangeDirective, selector: "[fsFormDateRange]", inputs: { fsFormDateRange: "fsFormDateRange", validationMessage: ["fsFormDateRangeMessage", "validationMessage"] }, providers: [
|
|
1682
1679
|
VALIDATE_MESSAGE_PROVIDER
|
|
1683
1680
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDateRangeDirective, decorators: [{
|
|
1685
1682
|
type: Directive,
|
|
1686
1683
|
args: [{
|
|
1687
1684
|
selector: '[fsFormDateRange]',
|
|
@@ -1712,11 +1709,11 @@ class FsFormEmailDirective extends FsControlDirective {
|
|
|
1712
1709
|
}
|
|
1713
1710
|
}
|
|
1714
1711
|
}
|
|
1715
|
-
FsFormEmailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1716
|
-
FsFormEmailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1712
|
+
FsFormEmailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1713
|
+
FsFormEmailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormEmailDirective, selector: "[fsFormEmail]", inputs: { fsFormEmail: "fsFormEmail", validationMessage: ["fsFormEmailMessage", "validationMessage"] }, providers: [
|
|
1717
1714
|
VALIDATE_MESSAGE_PROVIDER
|
|
1718
1715
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailDirective, decorators: [{
|
|
1720
1717
|
type: Directive,
|
|
1721
1718
|
args: [{
|
|
1722
1719
|
selector: '[fsFormEmail]',
|
|
@@ -1747,11 +1744,11 @@ class FsFormEmailsDirective extends FsControlDirective {
|
|
|
1747
1744
|
}
|
|
1748
1745
|
}
|
|
1749
1746
|
}
|
|
1750
|
-
FsFormEmailsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1751
|
-
FsFormEmailsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1747
|
+
FsFormEmailsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1748
|
+
FsFormEmailsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormEmailsDirective, selector: "[fsFormEmails]", inputs: { fsFormEmails: "fsFormEmails", validationMessage: ["fsFormEmailsMessage", "validationMessage"] }, providers: [
|
|
1752
1749
|
VALIDATE_MESSAGE_PROVIDER
|
|
1753
1750
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailsDirective, decorators: [{
|
|
1755
1752
|
type: Directive,
|
|
1756
1753
|
args: [{
|
|
1757
1754
|
selector: '[fsFormEmails]',
|
|
@@ -1781,11 +1778,11 @@ class FsFormFunctionDirective extends FsControlDirective {
|
|
|
1781
1778
|
return FsValidators.func(this._control, this.fsFormFunction, this.fsFormFunctionData);
|
|
1782
1779
|
}
|
|
1783
1780
|
}
|
|
1784
|
-
FsFormFunctionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1785
|
-
FsFormFunctionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1781
|
+
FsFormFunctionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormFunctionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1782
|
+
FsFormFunctionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormFunctionDirective, selector: "[fsFormFunction]", inputs: { fsFormFunction: "fsFormFunction", fsFormFunctionData: "fsFormFunctionData", validateOnSubmit: "validateOnSubmit" }, providers: [
|
|
1786
1783
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1787
1784
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormFunctionDirective, decorators: [{
|
|
1789
1786
|
type: Directive,
|
|
1790
1787
|
args: [{
|
|
1791
1788
|
selector: '[fsFormFunction]',
|
|
@@ -1817,11 +1814,11 @@ class FsFormGreaterEqualDirective extends FsControlDirective {
|
|
|
1817
1814
|
return FsValidators.numeric(this._control);
|
|
1818
1815
|
}
|
|
1819
1816
|
}
|
|
1820
|
-
FsFormGreaterEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1821
|
-
FsFormGreaterEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1817
|
+
FsFormGreaterEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1818
|
+
FsFormGreaterEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormGreaterEqualDirective, selector: "[fsFormGreaterEqual]", inputs: { fsFormGreaterEqual: "fsFormGreaterEqual", validationMessage: ["fsFormGreaterEqualMessage", "validationMessage"] }, providers: [
|
|
1822
1819
|
VALIDATE_MESSAGE_PROVIDER
|
|
1823
1820
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterEqualDirective, decorators: [{
|
|
1825
1822
|
type: Directive,
|
|
1826
1823
|
args: [{
|
|
1827
1824
|
selector: '[fsFormGreaterEqual]',
|
|
@@ -1852,11 +1849,11 @@ class FsFormGreaterDirective extends FsControlDirective {
|
|
|
1852
1849
|
return FsValidators.numeric(this._control);
|
|
1853
1850
|
}
|
|
1854
1851
|
}
|
|
1855
|
-
FsFormGreaterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1856
|
-
FsFormGreaterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1852
|
+
FsFormGreaterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1853
|
+
FsFormGreaterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormGreaterDirective, selector: "[fsFormGreater]", inputs: { fsFormGreater: "fsFormGreater", validationMessage: ["fsFormGreaterMessage", "validationMessage"] }, providers: [
|
|
1857
1854
|
VALIDATE_MESSAGE_PROVIDER
|
|
1858
1855
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterDirective, decorators: [{
|
|
1860
1857
|
type: Directive,
|
|
1861
1858
|
args: [{
|
|
1862
1859
|
selector: '[fsFormGreater]',
|
|
@@ -1885,11 +1882,11 @@ class FsFormIntegerDirective extends FsControlDirective {
|
|
|
1885
1882
|
return null;
|
|
1886
1883
|
}
|
|
1887
1884
|
}
|
|
1888
|
-
FsFormIntegerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1889
|
-
FsFormIntegerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1885
|
+
FsFormIntegerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormIntegerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1886
|
+
FsFormIntegerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormIntegerDirective, selector: "[fsFormInteger]", inputs: { fsFormInteger: "fsFormInteger", validationMessage: ["fsFormIntegerMessage", "validationMessage"] }, providers: [
|
|
1890
1887
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1891
1888
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormIntegerDirective, decorators: [{
|
|
1893
1890
|
type: Directive,
|
|
1894
1891
|
args: [{
|
|
1895
1892
|
selector: '[fsFormInteger]',
|
|
@@ -1920,11 +1917,11 @@ class FsFormLesserEqualDirective extends FsControlDirective {
|
|
|
1920
1917
|
return FsValidators.numeric(this._control);
|
|
1921
1918
|
}
|
|
1922
1919
|
}
|
|
1923
|
-
FsFormLesserEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1924
|
-
FsFormLesserEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1920
|
+
FsFormLesserEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1921
|
+
FsFormLesserEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormLesserEqualDirective, selector: "[fsFormLesserEqual]", inputs: { fsFormLesserEqual: "fsFormLesserEqual", validationMessage: ["fsFormLesserEqualMessage", "validationMessage"] }, providers: [
|
|
1925
1922
|
VALIDATE_MESSAGE_PROVIDER
|
|
1926
1923
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserEqualDirective, decorators: [{
|
|
1928
1925
|
type: Directive,
|
|
1929
1926
|
args: [{
|
|
1930
1927
|
selector: '[fsFormLesserEqual]',
|
|
@@ -1955,11 +1952,11 @@ class FsFormLesserDirective extends FsControlDirective {
|
|
|
1955
1952
|
return FsValidators.numeric(this._control);
|
|
1956
1953
|
}
|
|
1957
1954
|
}
|
|
1958
|
-
FsFormLesserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1959
|
-
FsFormLesserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1955
|
+
FsFormLesserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1956
|
+
FsFormLesserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormLesserDirective, selector: "[fsFormLesser]", inputs: { fsFormLesser: "fsFormLesser", validationMessage: ["fsFormLesserMessage", "validationMessage"] }, providers: [
|
|
1960
1957
|
VALIDATE_MESSAGE_PROVIDER
|
|
1961
1958
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserDirective, decorators: [{
|
|
1963
1960
|
type: Directive,
|
|
1964
1961
|
args: [{
|
|
1965
1962
|
selector: '[fsFormLesser]',
|
|
@@ -1985,11 +1982,11 @@ class FsFormMaxDirective extends FsControlDirective {
|
|
|
1985
1982
|
return FsValidators.numeric(this._control) || Validators.max(this.fsFormMax)(this._control);
|
|
1986
1983
|
}
|
|
1987
1984
|
}
|
|
1988
|
-
FsFormMaxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1989
|
-
FsFormMaxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1985
|
+
FsFormMaxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1986
|
+
FsFormMaxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMaxDirective, selector: "[fsFormMax]", inputs: { fsFormMax: "fsFormMax", validationMessage: ["fsFormMaxMessage", "validationMessage"] }, providers: [
|
|
1990
1987
|
VALIDATE_MESSAGE_PROVIDER
|
|
1991
1988
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1992
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxDirective, decorators: [{
|
|
1993
1990
|
type: Directive,
|
|
1994
1991
|
args: [{
|
|
1995
1992
|
selector: '[fsFormMax]',
|
|
@@ -2015,11 +2012,11 @@ class FsFormMaxLengthDirective extends FsControlDirective {
|
|
|
2015
2012
|
return Validators.maxLength(this.fsFormMaxLength)(this._control);
|
|
2016
2013
|
}
|
|
2017
2014
|
}
|
|
2018
|
-
FsFormMaxLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2019
|
-
FsFormMaxLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2015
|
+
FsFormMaxLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2016
|
+
FsFormMaxLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMaxLengthDirective, selector: "[fsFormMaxLength]", inputs: { fsFormMaxLength: "fsFormMaxLength", validationMessage: ["fsFormMaxLengthMessage", "validationMessage"] }, providers: [
|
|
2020
2017
|
VALIDATE_MESSAGE_PROVIDER
|
|
2021
2018
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxLengthDirective, decorators: [{
|
|
2023
2020
|
type: Directive,
|
|
2024
2021
|
args: [{
|
|
2025
2022
|
selector: '[fsFormMaxLength]',
|
|
@@ -2045,11 +2042,11 @@ class FsFormMinDirective extends FsControlDirective {
|
|
|
2045
2042
|
return FsValidators.numeric(this._control) || Validators.min(parseFloat(this.fsFormMin))(this._control);
|
|
2046
2043
|
}
|
|
2047
2044
|
}
|
|
2048
|
-
FsFormMinDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2049
|
-
FsFormMinDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2045
|
+
FsFormMinDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2046
|
+
FsFormMinDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMinDirective, selector: "[fsFormMin]", inputs: { fsFormMin: "fsFormMin", validationMessage: ["fsFormMinMessage", "validationMessage"] }, providers: [
|
|
2050
2047
|
VALIDATE_MESSAGE_PROVIDER
|
|
2051
2048
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinDirective, decorators: [{
|
|
2053
2050
|
type: Directive,
|
|
2054
2051
|
args: [{
|
|
2055
2052
|
selector: '[fsFormMin]',
|
|
@@ -2075,11 +2072,11 @@ class FsFormMinLengthDirective extends FsControlDirective {
|
|
|
2075
2072
|
return Validators.minLength(this.fsFormMinLength)(this._control);
|
|
2076
2073
|
}
|
|
2077
2074
|
}
|
|
2078
|
-
FsFormMinLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2079
|
-
FsFormMinLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2075
|
+
FsFormMinLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2076
|
+
FsFormMinLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMinLengthDirective, selector: "[fsFormMinLength]", inputs: { fsFormMinLength: "fsFormMinLength", validationMessage: ["fsFormMinLengthMessage", "validationMessage"] }, providers: [
|
|
2080
2077
|
VALIDATE_MESSAGE_PROVIDER
|
|
2081
2078
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinLengthDirective, decorators: [{
|
|
2083
2080
|
type: Directive,
|
|
2084
2081
|
args: [{
|
|
2085
2082
|
selector: '[fsFormMinLength]',
|
|
@@ -2109,11 +2106,11 @@ class FsFormNoFsValidatorsDirective extends FsControlDirective {
|
|
|
2109
2106
|
}
|
|
2110
2107
|
}
|
|
2111
2108
|
}
|
|
2112
|
-
FsFormNoFsValidatorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2113
|
-
FsFormNoFsValidatorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2109
|
+
FsFormNoFsValidatorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNoFsValidatorsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2110
|
+
FsFormNoFsValidatorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", 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: [
|
|
2114
2111
|
VALIDATE_MESSAGE_PROVIDER
|
|
2115
2112
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNoFsValidatorsDirective, decorators: [{
|
|
2117
2114
|
type: Directive,
|
|
2118
2115
|
args: [{
|
|
2119
2116
|
selector: '[ngModel]' +
|
|
@@ -2159,11 +2156,11 @@ class FsFormNumericDirective extends FsControlDirective {
|
|
|
2159
2156
|
}
|
|
2160
2157
|
}
|
|
2161
2158
|
}
|
|
2162
|
-
FsFormNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2163
|
-
FsFormNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2159
|
+
FsFormNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNumericDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2160
|
+
FsFormNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormNumericDirective, selector: "[fsFormNumeric]", inputs: { fsFormNumeric: "fsFormNumeric", validationMessage: ["fsFormNumericMessage", "validationMessage"] }, providers: [
|
|
2164
2161
|
VALIDATE_MESSAGE_PROVIDER
|
|
2165
2162
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNumericDirective, decorators: [{
|
|
2167
2164
|
type: Directive,
|
|
2168
2165
|
args: [{
|
|
2169
2166
|
selector: '[fsFormNumeric]',
|
|
@@ -2189,11 +2186,11 @@ class FsFormPatternDirective extends FsControlDirective {
|
|
|
2189
2186
|
return Validators.pattern(this.fsFormPattern)(this._control);
|
|
2190
2187
|
}
|
|
2191
2188
|
}
|
|
2192
|
-
FsFormPatternDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2193
|
-
FsFormPatternDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2189
|
+
FsFormPatternDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPatternDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2190
|
+
FsFormPatternDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormPatternDirective, selector: "[fsFormPattern]", inputs: { fsFormPattern: "fsFormPattern", validationMessage: ["fsFormPatternMessage", "validationMessage"] }, providers: [
|
|
2194
2191
|
VALIDATE_MESSAGE_PROVIDER
|
|
2195
2192
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPatternDirective, decorators: [{
|
|
2197
2194
|
type: Directive,
|
|
2198
2195
|
args: [{
|
|
2199
2196
|
selector: '[fsFormPattern]',
|
|
@@ -2224,11 +2221,11 @@ class FsFormPhoneDirective extends FsControlDirective {
|
|
|
2224
2221
|
}
|
|
2225
2222
|
}
|
|
2226
2223
|
}
|
|
2227
|
-
FsFormPhoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2228
|
-
FsFormPhoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2224
|
+
FsFormPhoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPhoneDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2225
|
+
FsFormPhoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormPhoneDirective, selector: "[fsFormPhone]", inputs: { fsFormPhone: "fsFormPhone", validationMessage: ["fsFormPhoneMessage", "validationMessage"] }, providers: [
|
|
2229
2226
|
VALIDATE_MESSAGE_PROVIDER
|
|
2230
2227
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPhoneDirective, decorators: [{
|
|
2232
2229
|
type: Directive,
|
|
2233
2230
|
args: [{
|
|
2234
2231
|
selector: '[fsFormPhone]',
|
|
@@ -2283,11 +2280,11 @@ class FsFormRequiredDirective extends FsControlDirective {
|
|
|
2283
2280
|
super.render();
|
|
2284
2281
|
}
|
|
2285
2282
|
}
|
|
2286
|
-
FsFormRequiredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2287
|
-
FsFormRequiredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2283
|
+
FsFormRequiredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormRequiredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2284
|
+
FsFormRequiredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: { setFsFormRequired: ["fsFormRequired", "setFsFormRequired"], setRequired: ["required", "setRequired"], validationMessage: ["fsFormRequiredMessage", "validationMessage"] }, providers: [
|
|
2288
2285
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2289
2286
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormRequiredDirective, decorators: [{
|
|
2291
2288
|
type: Directive,
|
|
2292
2289
|
args: [{
|
|
2293
2290
|
selector: '[fsFormRequired],[ngModel][required]',
|
|
@@ -2324,11 +2321,11 @@ class FsFormUrlDirective extends FsControlDirective {
|
|
|
2324
2321
|
return null;
|
|
2325
2322
|
}
|
|
2326
2323
|
}
|
|
2327
|
-
FsFormUrlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2328
|
-
FsFormUrlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2324
|
+
FsFormUrlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormUrlDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2325
|
+
FsFormUrlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormUrlDirective, selector: "[fsFormUrl]", inputs: { fsFormUrl: "fsFormUrl", fsFormUrlProtocol: "fsFormUrlProtocol", validationMessage: ["fsFormUrlMessage", "validationMessage"] }, providers: [
|
|
2329
2326
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2330
2327
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormUrlDirective, decorators: [{
|
|
2332
2329
|
type: Directive,
|
|
2333
2330
|
args: [{
|
|
2334
2331
|
selector: '[fsFormUrl]',
|
|
@@ -2360,11 +2357,11 @@ class FsFormValidateDirective extends FsControlDirective {
|
|
|
2360
2357
|
return FsValidators.func(this._control, this.validateFn, this.validateFnData);
|
|
2361
2358
|
}
|
|
2362
2359
|
}
|
|
2363
|
-
FsFormValidateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2364
|
-
FsFormValidateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2360
|
+
FsFormValidateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormValidateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2361
|
+
FsFormValidateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormValidateDirective, selector: "[validate]", inputs: { validateFn: ["validate", "validateFn"], validateFnData: ["validateData", "validateFnData"], validateOnSubmit: "validateOnSubmit" }, providers: [
|
|
2365
2362
|
VALIDATE_MESSAGE_PROVIDER
|
|
2366
2363
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormValidateDirective, decorators: [{
|
|
2368
2365
|
type: Directive,
|
|
2369
2366
|
args: [{
|
|
2370
2367
|
selector: '[validate]',
|
|
@@ -2396,8 +2393,8 @@ class FsFormModule {
|
|
|
2396
2393
|
};
|
|
2397
2394
|
}
|
|
2398
2395
|
}
|
|
2399
|
-
FsFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2400
|
-
FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2396
|
+
FsFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2397
|
+
FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, declarations: [FsFormDirective,
|
|
2401
2398
|
FsControlDirective,
|
|
2402
2399
|
FsFormRequiredDirective,
|
|
2403
2400
|
FsFormMinDirective,
|
|
@@ -2462,20 +2459,18 @@ FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
2462
2459
|
FsFormTemplateComponent,
|
|
2463
2460
|
FsFormTemplateDirective,
|
|
2464
2461
|
FsFormTemplateOutletComponent] });
|
|
2465
|
-
FsFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2462
|
+
FsFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, providers: [
|
|
2466
2463
|
{
|
|
2467
2464
|
provide: ErrorStateMatcher,
|
|
2468
2465
|
useClass: ShowOnDirtyErrorStateMatcher,
|
|
2469
2466
|
},
|
|
2470
|
-
], imports: [
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
]] });
|
|
2478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormModule, decorators: [{
|
|
2467
|
+
], imports: [CommonModule,
|
|
2468
|
+
FormsModule,
|
|
2469
|
+
MatButtonModule,
|
|
2470
|
+
MatDialogModule,
|
|
2471
|
+
MatDialogModule,
|
|
2472
|
+
FsDialogModule] });
|
|
2473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, decorators: [{
|
|
2479
2474
|
type: NgModule,
|
|
2480
2475
|
args: [{
|
|
2481
2476
|
imports: [
|