@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,15 +1,15 @@
|
|
|
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';
|
|
@@ -17,9 +17,9 @@ import { MatTabGroup } from '@angular/material/tabs';
|
|
|
17
17
|
import { guid, email, isEmpty, isNumeric, phone, url } from '@firestitch/common';
|
|
18
18
|
import * as i6 from '@firestitch/drawer';
|
|
19
19
|
import { DrawerRef } from '@firestitch/drawer';
|
|
20
|
-
import * as i2$
|
|
20
|
+
import * as i2$1 from '@firestitch/message';
|
|
21
21
|
import { MessageMode } from '@firestitch/message';
|
|
22
|
-
import * as i2
|
|
22
|
+
import * as i2 from '@angular/router';
|
|
23
23
|
import { values, keys, isObject } from 'lodash-es';
|
|
24
24
|
import { isValid } from 'date-fns';
|
|
25
25
|
|
|
@@ -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 () {
|
|
@@ -169,9 +169,9 @@ class FsForm {
|
|
|
169
169
|
}));
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
FsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
173
|
-
FsForm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
172
|
+
FsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
173
|
+
FsForm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, providedIn: 'root' });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsForm, decorators: [{
|
|
175
175
|
type: Injectable,
|
|
176
176
|
args: [{
|
|
177
177
|
providedIn: 'root',
|
|
@@ -201,14 +201,14 @@ class FormDeactivateGuard {
|
|
|
201
201
|
}));
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
FormDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
205
|
-
FormDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
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 });
|
|
205
|
+
FormDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FormDeactivateGuard, providedIn: 'root' });
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FormDeactivateGuard, decorators: [{
|
|
207
207
|
type: Injectable,
|
|
208
208
|
args: [{
|
|
209
209
|
providedIn: 'root',
|
|
210
210
|
}]
|
|
211
|
-
}], ctorParameters: function () { return [{ type: FsForm }, { type: i2
|
|
211
|
+
}], ctorParameters: function () { return [{ type: FsForm }, { type: i2.ActivatedRoute }]; } });
|
|
212
212
|
|
|
213
213
|
function getFormErrors(control, key) {
|
|
214
214
|
let errors = null;
|
|
@@ -217,7 +217,7 @@ function getFormErrors(control, key) {
|
|
|
217
217
|
[key]: Object.assign({}, control.errors),
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
if (control instanceof
|
|
220
|
+
if (control instanceof UntypedFormGroup) {
|
|
221
221
|
Object.entries(control.controls)
|
|
222
222
|
.forEach(([name, childControl]) => {
|
|
223
223
|
const childErrors = getFormErrors(childControl, name);
|
|
@@ -693,37 +693,35 @@ class FsFormDirective {
|
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
695
|
confirmTabGroup._handlClick$
|
|
696
|
-
.pipe(
|
|
697
|
-
.
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
confirmTabGroup.selectedIndex = event.idx;
|
|
705
|
-
}
|
|
706
|
-
});
|
|
707
|
-
}
|
|
708
|
-
else {
|
|
709
|
-
confirmTabGroup._originalHandleClick(event.tab, event.tabHeader, event.idx);
|
|
710
|
-
}
|
|
696
|
+
.pipe(filter(() => !this.submitting), switchMap((event) => {
|
|
697
|
+
if (this.confirm && this.confirmTabs) {
|
|
698
|
+
return this.triggerConfirm()
|
|
699
|
+
.pipe(tap((result) => {
|
|
700
|
+
if (confirmResultContinue(result)) {
|
|
701
|
+
confirmTabGroup.selectedIndex = event.idx;
|
|
702
|
+
}
|
|
703
|
+
}));
|
|
711
704
|
}
|
|
712
|
-
|
|
705
|
+
confirmTabGroup._originalHandleClick(event.tab, event.tabHeader, event.idx);
|
|
706
|
+
return of(null);
|
|
707
|
+
}), takeUntil(this._destroy$))
|
|
708
|
+
.subscribe();
|
|
713
709
|
}
|
|
714
710
|
_registerConfirmDialogBackdropEscape() {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
this.
|
|
719
|
-
.
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
.
|
|
725
|
-
|
|
726
|
-
|
|
711
|
+
var _a;
|
|
712
|
+
if (this._dialogRef) {
|
|
713
|
+
this._dialogBackdropEscape = !((_a = this._dialogRef) === null || _a === void 0 ? void 0 : _a.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
|
+
}
|
|
727
725
|
}
|
|
728
726
|
}
|
|
729
727
|
_registerAutocomplete() {
|
|
@@ -823,9 +821,9 @@ class FsFormDirective {
|
|
|
823
821
|
this._form.removeFormDirective(this._activatedRouteConfig.component);
|
|
824
822
|
}
|
|
825
823
|
}
|
|
826
|
-
FsFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
827
|
-
FsFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
828
|
-
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: [{
|
|
829
827
|
type: Directive,
|
|
830
828
|
args: [{
|
|
831
829
|
selector: '[fsForm]',
|
|
@@ -835,7 +833,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
835
833
|
return [{ type: i1$2.NgForm, decorators: [{
|
|
836
834
|
type: Inject,
|
|
837
835
|
args: [NgForm]
|
|
838
|
-
}] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2$
|
|
836
|
+
}] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2$1.FsMessage }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.MatDialogRef, decorators: [{
|
|
839
837
|
type: Optional
|
|
840
838
|
}, {
|
|
841
839
|
type: Inject,
|
|
@@ -845,7 +843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
845
843
|
}, {
|
|
846
844
|
type: Inject,
|
|
847
845
|
args: [DrawerRef]
|
|
848
|
-
}] }, { type: i2
|
|
846
|
+
}] }, { type: i2.ActivatedRoute }];
|
|
849
847
|
}, propDecorators: { wrapperSelector: [{
|
|
850
848
|
type: Input
|
|
851
849
|
}], messageSelector: [{
|
|
@@ -901,6 +899,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
901
899
|
args: [MatTabGroup, { descendants: true }]
|
|
902
900
|
}] } });
|
|
903
901
|
|
|
902
|
+
class FsFormDialogCloseDirective {
|
|
903
|
+
constructor(_form, _dialogRef) {
|
|
904
|
+
this._form = _form;
|
|
905
|
+
this._dialogRef = _dialogRef;
|
|
906
|
+
this.type = 'button';
|
|
907
|
+
this._destroy$ = new Subject();
|
|
908
|
+
}
|
|
909
|
+
closeClick() {
|
|
910
|
+
if (this._form) {
|
|
911
|
+
this._form.triggerConfirm()
|
|
912
|
+
.pipe(filter((confirmResult) => (confirmResult !== ConfirmResult.Review)), takeUntil(this._destroy$))
|
|
913
|
+
.subscribe(() => {
|
|
914
|
+
this._dialogRef.close(this.closeData);
|
|
915
|
+
});
|
|
916
|
+
}
|
|
917
|
+
else {
|
|
918
|
+
this._dialogRef.close(this.closeData);
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
ngOnDestroy() {
|
|
922
|
+
this._destroy$.next();
|
|
923
|
+
this._destroy$.complete();
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
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 });
|
|
927
|
+
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 });
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
|
|
929
|
+
type: Directive,
|
|
930
|
+
args: [{
|
|
931
|
+
selector: '[fsFormDialogClose],[fs-form-dialog-close]',
|
|
932
|
+
}]
|
|
933
|
+
}], ctorParameters: function () {
|
|
934
|
+
return [{ type: FsFormDirective, decorators: [{
|
|
935
|
+
type: Optional
|
|
936
|
+
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
937
|
+
type: Optional
|
|
938
|
+
}] }];
|
|
939
|
+
}, propDecorators: { closeData: [{
|
|
940
|
+
type: Input
|
|
941
|
+
}], type: [{
|
|
942
|
+
type: HostBinding,
|
|
943
|
+
args: ['attr.type']
|
|
944
|
+
}], closeClick: [{
|
|
945
|
+
type: HostListener,
|
|
946
|
+
args: ['click', ['$event.target']]
|
|
947
|
+
}] } });
|
|
948
|
+
|
|
904
949
|
class FsButtonDirective {
|
|
905
950
|
constructor(_matButton, _form, _elementRef, _cdRef) {
|
|
906
951
|
this._matButton = _matButton;
|
|
@@ -1036,9 +1081,9 @@ class FsButtonDirective {
|
|
|
1036
1081
|
}
|
|
1037
1082
|
}
|
|
1038
1083
|
}
|
|
1039
|
-
FsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1040
|
-
FsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1084
|
+
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 });
|
|
1085
|
+
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 });
|
|
1086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsButtonDirective, decorators: [{
|
|
1042
1087
|
type: Directive,
|
|
1043
1088
|
args: [{
|
|
1044
1089
|
selector: '[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])',
|
|
@@ -1062,53 +1107,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1062
1107
|
args: ['style.transition']
|
|
1063
1108
|
}] } });
|
|
1064
1109
|
|
|
1065
|
-
class FsFormDialogCloseDirective {
|
|
1066
|
-
constructor(_form, _dialogRef) {
|
|
1067
|
-
this._form = _form;
|
|
1068
|
-
this._dialogRef = _dialogRef;
|
|
1069
|
-
this.type = 'button';
|
|
1070
|
-
this._destroy$ = new Subject();
|
|
1071
|
-
}
|
|
1072
|
-
closeClick() {
|
|
1073
|
-
if (this._form) {
|
|
1074
|
-
this._form.triggerConfirm()
|
|
1075
|
-
.pipe(filter((confirmResult) => (confirmResult !== ConfirmResult.Review)), takeUntil(this._destroy$))
|
|
1076
|
-
.subscribe(() => {
|
|
1077
|
-
this._dialogRef.close(this.closeData);
|
|
1078
|
-
});
|
|
1079
|
-
}
|
|
1080
|
-
else {
|
|
1081
|
-
this._dialogRef.close(this.closeData);
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
ngOnDestroy() {
|
|
1085
|
-
this._destroy$.next();
|
|
1086
|
-
this._destroy$.complete();
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
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 });
|
|
1090
|
-
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 });
|
|
1091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
|
|
1092
|
-
type: Directive,
|
|
1093
|
-
args: [{
|
|
1094
|
-
selector: '[fsFormDialogClose],[fs-form-dialog-close]',
|
|
1095
|
-
}]
|
|
1096
|
-
}], ctorParameters: function () {
|
|
1097
|
-
return [{ type: FsFormDirective, decorators: [{
|
|
1098
|
-
type: Optional
|
|
1099
|
-
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
1100
|
-
type: Optional
|
|
1101
|
-
}] }];
|
|
1102
|
-
}, propDecorators: { closeData: [{
|
|
1103
|
-
type: Input
|
|
1104
|
-
}], type: [{
|
|
1105
|
-
type: HostBinding,
|
|
1106
|
-
args: ['attr.type']
|
|
1107
|
-
}], closeClick: [{
|
|
1108
|
-
type: HostListener,
|
|
1109
|
-
args: ['click', ['$event.target']]
|
|
1110
|
-
}] } });
|
|
1111
|
-
|
|
1112
1110
|
class FsFormDialogActionsComponent {
|
|
1113
1111
|
constructor(_form, _dialogRef, _cdRef) {
|
|
1114
1112
|
this._form = _form;
|
|
@@ -1149,9 +1147,9 @@ class FsFormDialogActionsComponent {
|
|
|
1149
1147
|
this._destroy$.complete();
|
|
1150
1148
|
}
|
|
1151
1149
|
}
|
|
1152
|
-
FsFormDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1153
|
-
FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1150
|
+
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 });
|
|
1151
|
+
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 });
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
|
|
1155
1153
|
type: Component,
|
|
1156
1154
|
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"] }]
|
|
1157
1155
|
}], ctorParameters: function () {
|
|
@@ -1187,9 +1185,9 @@ class FsFormTemplateComponent {
|
|
|
1187
1185
|
debugger;
|
|
1188
1186
|
}
|
|
1189
1187
|
}
|
|
1190
|
-
FsFormTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1191
|
-
FsFormTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1188
|
+
FsFormTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1189
|
+
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 });
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateComponent, decorators: [{
|
|
1193
1191
|
type: Component,
|
|
1194
1192
|
args: [{ selector: 'fs-form-template', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>" }]
|
|
1195
1193
|
}], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
|
|
@@ -1216,9 +1214,9 @@ class FsFormTemplateOutletComponent {
|
|
|
1216
1214
|
// });
|
|
1217
1215
|
}
|
|
1218
1216
|
}
|
|
1219
|
-
FsFormTemplateOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1220
|
-
FsFormTemplateOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1217
|
+
FsFormTemplateOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1218
|
+
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 });
|
|
1219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateOutletComponent, decorators: [{
|
|
1222
1220
|
type: Component,
|
|
1223
1221
|
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>" }]
|
|
1224
1222
|
}], ctorParameters: function () { return []; }, propDecorators: { formTemplate: [{
|
|
@@ -1233,9 +1231,9 @@ class FsFormTemplateDirective {
|
|
|
1233
1231
|
ngAfterContentInit() {
|
|
1234
1232
|
}
|
|
1235
1233
|
}
|
|
1236
|
-
FsFormTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1237
|
-
FsFormTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1234
|
+
FsFormTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1235
|
+
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 });
|
|
1236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormTemplateDirective, decorators: [{
|
|
1239
1237
|
type: Directive,
|
|
1240
1238
|
args: [{
|
|
1241
1239
|
selector: '[fsFormTemplate]',
|
|
@@ -1247,9 +1245,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1247
1245
|
|
|
1248
1246
|
class FsSubmitButtonDirective extends FsButtonDirective {
|
|
1249
1247
|
}
|
|
1250
|
-
FsSubmitButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1251
|
-
FsSubmitButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1248
|
+
FsSubmitButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsSubmitButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1249
|
+
FsSubmitButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsSubmitButtonDirective, selector: "dummy-selector", usesInheritance: true, ngImport: i0 });
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsSubmitButtonDirective, decorators: [{
|
|
1253
1251
|
type: Directive,
|
|
1254
1252
|
args: [{
|
|
1255
1253
|
selector: 'dummy-selector',
|
|
@@ -1493,11 +1491,11 @@ class FsControlDirective {
|
|
|
1493
1491
|
control.updateValueAndValidity();
|
|
1494
1492
|
}
|
|
1495
1493
|
}
|
|
1496
|
-
FsControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1497
|
-
FsControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1494
|
+
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 });
|
|
1495
|
+
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: [
|
|
1498
1496
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1499
1497
|
], ngImport: i0 });
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsControlDirective, decorators: [{
|
|
1501
1499
|
type: Directive,
|
|
1502
1500
|
args: [{
|
|
1503
1501
|
selector: '[fsFormControl]',
|
|
@@ -1563,11 +1561,11 @@ class FsFormCompareDirective extends FsControlDirective {
|
|
|
1563
1561
|
}, false);
|
|
1564
1562
|
}
|
|
1565
1563
|
}
|
|
1566
|
-
FsFormCompareDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1567
|
-
FsFormCompareDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1564
|
+
FsFormCompareDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormCompareDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1565
|
+
FsFormCompareDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormCompareDirective, selector: "[fsFormCompare]", inputs: { fsFormCompare: "fsFormCompare", validationMessage: ["fsFormCompareMessage", "validationMessage"] }, providers: [
|
|
1568
1566
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1569
1567
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormCompareDirective, decorators: [{
|
|
1571
1569
|
type: Directive,
|
|
1572
1570
|
args: [{
|
|
1573
1571
|
selector: '[fsFormCompare]',
|
|
@@ -1690,11 +1688,11 @@ class FsFormDateRangeDirective extends FsControlDirective {
|
|
|
1690
1688
|
}
|
|
1691
1689
|
}
|
|
1692
1690
|
}
|
|
1693
|
-
FsFormDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
FsFormDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1691
|
+
FsFormDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1692
|
+
FsFormDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormDateRangeDirective, selector: "[fsFormDateRange]", inputs: { fsFormDateRange: "fsFormDateRange", validationMessage: ["fsFormDateRangeMessage", "validationMessage"] }, providers: [
|
|
1695
1693
|
VALIDATE_MESSAGE_PROVIDER
|
|
1696
1694
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormDateRangeDirective, decorators: [{
|
|
1698
1696
|
type: Directive,
|
|
1699
1697
|
args: [{
|
|
1700
1698
|
selector: '[fsFormDateRange]',
|
|
@@ -1725,11 +1723,11 @@ class FsFormEmailDirective extends FsControlDirective {
|
|
|
1725
1723
|
}
|
|
1726
1724
|
}
|
|
1727
1725
|
}
|
|
1728
|
-
FsFormEmailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1729
|
-
FsFormEmailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1726
|
+
FsFormEmailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1727
|
+
FsFormEmailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormEmailDirective, selector: "[fsFormEmail]", inputs: { fsFormEmail: "fsFormEmail", validationMessage: ["fsFormEmailMessage", "validationMessage"] }, providers: [
|
|
1730
1728
|
VALIDATE_MESSAGE_PROVIDER
|
|
1731
1729
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailDirective, decorators: [{
|
|
1733
1731
|
type: Directive,
|
|
1734
1732
|
args: [{
|
|
1735
1733
|
selector: '[fsFormEmail]',
|
|
@@ -1760,11 +1758,11 @@ class FsFormEmailsDirective extends FsControlDirective {
|
|
|
1760
1758
|
}
|
|
1761
1759
|
}
|
|
1762
1760
|
}
|
|
1763
|
-
FsFormEmailsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1764
|
-
FsFormEmailsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1761
|
+
FsFormEmailsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1762
|
+
FsFormEmailsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormEmailsDirective, selector: "[fsFormEmails]", inputs: { fsFormEmails: "fsFormEmails", validationMessage: ["fsFormEmailsMessage", "validationMessage"] }, providers: [
|
|
1765
1763
|
VALIDATE_MESSAGE_PROVIDER
|
|
1766
1764
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormEmailsDirective, decorators: [{
|
|
1768
1766
|
type: Directive,
|
|
1769
1767
|
args: [{
|
|
1770
1768
|
selector: '[fsFormEmails]',
|
|
@@ -1794,11 +1792,11 @@ class FsFormFunctionDirective extends FsControlDirective {
|
|
|
1794
1792
|
return FsValidators.func(this._control, this.fsFormFunction, this.fsFormFunctionData);
|
|
1795
1793
|
}
|
|
1796
1794
|
}
|
|
1797
|
-
FsFormFunctionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1798
|
-
FsFormFunctionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1795
|
+
FsFormFunctionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormFunctionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1796
|
+
FsFormFunctionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormFunctionDirective, selector: "[fsFormFunction]", inputs: { fsFormFunction: "fsFormFunction", fsFormFunctionData: "fsFormFunctionData", validateOnSubmit: "validateOnSubmit" }, providers: [
|
|
1799
1797
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1800
1798
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormFunctionDirective, decorators: [{
|
|
1802
1800
|
type: Directive,
|
|
1803
1801
|
args: [{
|
|
1804
1802
|
selector: '[fsFormFunction]',
|
|
@@ -1830,11 +1828,11 @@ class FsFormGreaterEqualDirective extends FsControlDirective {
|
|
|
1830
1828
|
return FsValidators.numeric(this._control);
|
|
1831
1829
|
}
|
|
1832
1830
|
}
|
|
1833
|
-
FsFormGreaterEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1834
|
-
FsFormGreaterEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1831
|
+
FsFormGreaterEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1832
|
+
FsFormGreaterEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormGreaterEqualDirective, selector: "[fsFormGreaterEqual]", inputs: { fsFormGreaterEqual: "fsFormGreaterEqual", validationMessage: ["fsFormGreaterEqualMessage", "validationMessage"] }, providers: [
|
|
1835
1833
|
VALIDATE_MESSAGE_PROVIDER
|
|
1836
1834
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterEqualDirective, decorators: [{
|
|
1838
1836
|
type: Directive,
|
|
1839
1837
|
args: [{
|
|
1840
1838
|
selector: '[fsFormGreaterEqual]',
|
|
@@ -1865,11 +1863,11 @@ class FsFormGreaterDirective extends FsControlDirective {
|
|
|
1865
1863
|
return FsValidators.numeric(this._control);
|
|
1866
1864
|
}
|
|
1867
1865
|
}
|
|
1868
|
-
FsFormGreaterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1869
|
-
FsFormGreaterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1866
|
+
FsFormGreaterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1867
|
+
FsFormGreaterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormGreaterDirective, selector: "[fsFormGreater]", inputs: { fsFormGreater: "fsFormGreater", validationMessage: ["fsFormGreaterMessage", "validationMessage"] }, providers: [
|
|
1870
1868
|
VALIDATE_MESSAGE_PROVIDER
|
|
1871
1869
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormGreaterDirective, decorators: [{
|
|
1873
1871
|
type: Directive,
|
|
1874
1872
|
args: [{
|
|
1875
1873
|
selector: '[fsFormGreater]',
|
|
@@ -1898,11 +1896,11 @@ class FsFormIntegerDirective extends FsControlDirective {
|
|
|
1898
1896
|
return null;
|
|
1899
1897
|
}
|
|
1900
1898
|
}
|
|
1901
|
-
FsFormIntegerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1902
|
-
FsFormIntegerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1899
|
+
FsFormIntegerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormIntegerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1900
|
+
FsFormIntegerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormIntegerDirective, selector: "[fsFormInteger]", inputs: { fsFormInteger: "fsFormInteger", validationMessage: ["fsFormIntegerMessage", "validationMessage"] }, providers: [
|
|
1903
1901
|
VALIDATE_MESSAGE_PROVIDER,
|
|
1904
1902
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormIntegerDirective, decorators: [{
|
|
1906
1904
|
type: Directive,
|
|
1907
1905
|
args: [{
|
|
1908
1906
|
selector: '[fsFormInteger]',
|
|
@@ -1933,11 +1931,11 @@ class FsFormLesserEqualDirective extends FsControlDirective {
|
|
|
1933
1931
|
return FsValidators.numeric(this._control);
|
|
1934
1932
|
}
|
|
1935
1933
|
}
|
|
1936
|
-
FsFormLesserEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1937
|
-
FsFormLesserEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1934
|
+
FsFormLesserEqualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserEqualDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1935
|
+
FsFormLesserEqualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormLesserEqualDirective, selector: "[fsFormLesserEqual]", inputs: { fsFormLesserEqual: "fsFormLesserEqual", validationMessage: ["fsFormLesserEqualMessage", "validationMessage"] }, providers: [
|
|
1938
1936
|
VALIDATE_MESSAGE_PROVIDER
|
|
1939
1937
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserEqualDirective, decorators: [{
|
|
1941
1939
|
type: Directive,
|
|
1942
1940
|
args: [{
|
|
1943
1941
|
selector: '[fsFormLesserEqual]',
|
|
@@ -1968,11 +1966,11 @@ class FsFormLesserDirective extends FsControlDirective {
|
|
|
1968
1966
|
return FsValidators.numeric(this._control);
|
|
1969
1967
|
}
|
|
1970
1968
|
}
|
|
1971
|
-
FsFormLesserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1972
|
-
FsFormLesserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1969
|
+
FsFormLesserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1970
|
+
FsFormLesserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormLesserDirective, selector: "[fsFormLesser]", inputs: { fsFormLesser: "fsFormLesser", validationMessage: ["fsFormLesserMessage", "validationMessage"] }, providers: [
|
|
1973
1971
|
VALIDATE_MESSAGE_PROVIDER
|
|
1974
1972
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
1975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormLesserDirective, decorators: [{
|
|
1976
1974
|
type: Directive,
|
|
1977
1975
|
args: [{
|
|
1978
1976
|
selector: '[fsFormLesser]',
|
|
@@ -1998,11 +1996,11 @@ class FsFormMaxDirective extends FsControlDirective {
|
|
|
1998
1996
|
return FsValidators.numeric(this._control) || Validators.max(this.fsFormMax)(this._control);
|
|
1999
1997
|
}
|
|
2000
1998
|
}
|
|
2001
|
-
FsFormMaxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2002
|
-
FsFormMaxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1999
|
+
FsFormMaxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2000
|
+
FsFormMaxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMaxDirective, selector: "[fsFormMax]", inputs: { fsFormMax: "fsFormMax", validationMessage: ["fsFormMaxMessage", "validationMessage"] }, providers: [
|
|
2003
2001
|
VALIDATE_MESSAGE_PROVIDER
|
|
2004
2002
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxDirective, decorators: [{
|
|
2006
2004
|
type: Directive,
|
|
2007
2005
|
args: [{
|
|
2008
2006
|
selector: '[fsFormMax]',
|
|
@@ -2028,11 +2026,11 @@ class FsFormMaxLengthDirective extends FsControlDirective {
|
|
|
2028
2026
|
return Validators.maxLength(this.fsFormMaxLength)(this._control);
|
|
2029
2027
|
}
|
|
2030
2028
|
}
|
|
2031
|
-
FsFormMaxLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2032
|
-
FsFormMaxLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2029
|
+
FsFormMaxLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2030
|
+
FsFormMaxLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMaxLengthDirective, selector: "[fsFormMaxLength]", inputs: { fsFormMaxLength: "fsFormMaxLength", validationMessage: ["fsFormMaxLengthMessage", "validationMessage"] }, providers: [
|
|
2033
2031
|
VALIDATE_MESSAGE_PROVIDER
|
|
2034
2032
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMaxLengthDirective, decorators: [{
|
|
2036
2034
|
type: Directive,
|
|
2037
2035
|
args: [{
|
|
2038
2036
|
selector: '[fsFormMaxLength]',
|
|
@@ -2058,11 +2056,11 @@ class FsFormMinDirective extends FsControlDirective {
|
|
|
2058
2056
|
return FsValidators.numeric(this._control) || Validators.min(parseFloat(this.fsFormMin))(this._control);
|
|
2059
2057
|
}
|
|
2060
2058
|
}
|
|
2061
|
-
FsFormMinDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2062
|
-
FsFormMinDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2059
|
+
FsFormMinDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2060
|
+
FsFormMinDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMinDirective, selector: "[fsFormMin]", inputs: { fsFormMin: "fsFormMin", validationMessage: ["fsFormMinMessage", "validationMessage"] }, providers: [
|
|
2063
2061
|
VALIDATE_MESSAGE_PROVIDER
|
|
2064
2062
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinDirective, decorators: [{
|
|
2066
2064
|
type: Directive,
|
|
2067
2065
|
args: [{
|
|
2068
2066
|
selector: '[fsFormMin]',
|
|
@@ -2088,11 +2086,11 @@ class FsFormMinLengthDirective extends FsControlDirective {
|
|
|
2088
2086
|
return Validators.minLength(this.fsFormMinLength)(this._control);
|
|
2089
2087
|
}
|
|
2090
2088
|
}
|
|
2091
|
-
FsFormMinLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2092
|
-
FsFormMinLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2089
|
+
FsFormMinLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2090
|
+
FsFormMinLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormMinLengthDirective, selector: "[fsFormMinLength]", inputs: { fsFormMinLength: "fsFormMinLength", validationMessage: ["fsFormMinLengthMessage", "validationMessage"] }, providers: [
|
|
2093
2091
|
VALIDATE_MESSAGE_PROVIDER
|
|
2094
2092
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormMinLengthDirective, decorators: [{
|
|
2096
2094
|
type: Directive,
|
|
2097
2095
|
args: [{
|
|
2098
2096
|
selector: '[fsFormMinLength]',
|
|
@@ -2122,11 +2120,11 @@ class FsFormNoFsValidatorsDirective extends FsControlDirective {
|
|
|
2122
2120
|
}
|
|
2123
2121
|
}
|
|
2124
2122
|
}
|
|
2125
|
-
FsFormNoFsValidatorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2126
|
-
FsFormNoFsValidatorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2123
|
+
FsFormNoFsValidatorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNoFsValidatorsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2124
|
+
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: [
|
|
2127
2125
|
VALIDATE_MESSAGE_PROVIDER
|
|
2128
2126
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNoFsValidatorsDirective, decorators: [{
|
|
2130
2128
|
type: Directive,
|
|
2131
2129
|
args: [{
|
|
2132
2130
|
selector: '[ngModel]' +
|
|
@@ -2172,11 +2170,11 @@ class FsFormNumericDirective extends FsControlDirective {
|
|
|
2172
2170
|
}
|
|
2173
2171
|
}
|
|
2174
2172
|
}
|
|
2175
|
-
FsFormNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2176
|
-
FsFormNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2173
|
+
FsFormNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNumericDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2174
|
+
FsFormNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormNumericDirective, selector: "[fsFormNumeric]", inputs: { fsFormNumeric: "fsFormNumeric", validationMessage: ["fsFormNumericMessage", "validationMessage"] }, providers: [
|
|
2177
2175
|
VALIDATE_MESSAGE_PROVIDER
|
|
2178
2176
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormNumericDirective, decorators: [{
|
|
2180
2178
|
type: Directive,
|
|
2181
2179
|
args: [{
|
|
2182
2180
|
selector: '[fsFormNumeric]',
|
|
@@ -2202,11 +2200,11 @@ class FsFormPatternDirective extends FsControlDirective {
|
|
|
2202
2200
|
return Validators.pattern(this.fsFormPattern)(this._control);
|
|
2203
2201
|
}
|
|
2204
2202
|
}
|
|
2205
|
-
FsFormPatternDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2206
|
-
FsFormPatternDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2203
|
+
FsFormPatternDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPatternDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2204
|
+
FsFormPatternDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormPatternDirective, selector: "[fsFormPattern]", inputs: { fsFormPattern: "fsFormPattern", validationMessage: ["fsFormPatternMessage", "validationMessage"] }, providers: [
|
|
2207
2205
|
VALIDATE_MESSAGE_PROVIDER
|
|
2208
2206
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPatternDirective, decorators: [{
|
|
2210
2208
|
type: Directive,
|
|
2211
2209
|
args: [{
|
|
2212
2210
|
selector: '[fsFormPattern]',
|
|
@@ -2237,11 +2235,11 @@ class FsFormPhoneDirective extends FsControlDirective {
|
|
|
2237
2235
|
}
|
|
2238
2236
|
}
|
|
2239
2237
|
}
|
|
2240
|
-
FsFormPhoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2241
|
-
FsFormPhoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2238
|
+
FsFormPhoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPhoneDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2239
|
+
FsFormPhoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsFormPhoneDirective, selector: "[fsFormPhone]", inputs: { fsFormPhone: "fsFormPhone", validationMessage: ["fsFormPhoneMessage", "validationMessage"] }, providers: [
|
|
2242
2240
|
VALIDATE_MESSAGE_PROVIDER
|
|
2243
2241
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormPhoneDirective, decorators: [{
|
|
2245
2243
|
type: Directive,
|
|
2246
2244
|
args: [{
|
|
2247
2245
|
selector: '[fsFormPhone]',
|
|
@@ -2296,11 +2294,11 @@ class FsFormRequiredDirective extends FsControlDirective {
|
|
|
2296
2294
|
super.render();
|
|
2297
2295
|
}
|
|
2298
2296
|
}
|
|
2299
|
-
FsFormRequiredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2300
|
-
FsFormRequiredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2297
|
+
FsFormRequiredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormRequiredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2298
|
+
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: [
|
|
2301
2299
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2302
2300
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormRequiredDirective, decorators: [{
|
|
2304
2302
|
type: Directive,
|
|
2305
2303
|
args: [{
|
|
2306
2304
|
selector: '[fsFormRequired],[ngModel][required]',
|
|
@@ -2337,11 +2335,11 @@ class FsFormUrlDirective extends FsControlDirective {
|
|
|
2337
2335
|
return null;
|
|
2338
2336
|
}
|
|
2339
2337
|
}
|
|
2340
|
-
FsFormUrlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2341
|
-
FsFormUrlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2338
|
+
FsFormUrlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormUrlDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2339
|
+
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: [
|
|
2342
2340
|
VALIDATE_MESSAGE_PROVIDER,
|
|
2343
2341
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormUrlDirective, decorators: [{
|
|
2345
2343
|
type: Directive,
|
|
2346
2344
|
args: [{
|
|
2347
2345
|
selector: '[fsFormUrl]',
|
|
@@ -2373,11 +2371,11 @@ class FsFormValidateDirective extends FsControlDirective {
|
|
|
2373
2371
|
return FsValidators.func(this._control, this.validateFn, this.validateFnData);
|
|
2374
2372
|
}
|
|
2375
2373
|
}
|
|
2376
|
-
FsFormValidateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2377
|
-
FsFormValidateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2374
|
+
FsFormValidateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormValidateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2375
|
+
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: [
|
|
2378
2376
|
VALIDATE_MESSAGE_PROVIDER
|
|
2379
2377
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
2380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormValidateDirective, decorators: [{
|
|
2381
2379
|
type: Directive,
|
|
2382
2380
|
args: [{
|
|
2383
2381
|
selector: '[validate]',
|
|
@@ -2409,8 +2407,8 @@ class FsFormModule {
|
|
|
2409
2407
|
};
|
|
2410
2408
|
}
|
|
2411
2409
|
}
|
|
2412
|
-
FsFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2413
|
-
FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2410
|
+
FsFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2411
|
+
FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, declarations: [FsFormDirective,
|
|
2414
2412
|
FsControlDirective,
|
|
2415
2413
|
FsFormRequiredDirective,
|
|
2416
2414
|
FsFormMinDirective,
|
|
@@ -2475,20 +2473,18 @@ FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
2475
2473
|
FsFormTemplateComponent,
|
|
2476
2474
|
FsFormTemplateDirective,
|
|
2477
2475
|
FsFormTemplateOutletComponent] });
|
|
2478
|
-
FsFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2476
|
+
FsFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, providers: [
|
|
2479
2477
|
{
|
|
2480
2478
|
provide: ErrorStateMatcher,
|
|
2481
2479
|
useClass: ShowOnDirtyErrorStateMatcher,
|
|
2482
2480
|
},
|
|
2483
|
-
], imports: [
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
]] });
|
|
2491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormModule, decorators: [{
|
|
2481
|
+
], imports: [CommonModule,
|
|
2482
|
+
FormsModule,
|
|
2483
|
+
MatButtonModule,
|
|
2484
|
+
MatDialogModule,
|
|
2485
|
+
MatDialogModule,
|
|
2486
|
+
FsDialogModule] });
|
|
2487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsFormModule, decorators: [{
|
|
2492
2488
|
type: NgModule,
|
|
2493
2489
|
args: [{
|
|
2494
2490
|
imports: [
|