@firestitch/form 9.7.7 → 12.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.
Files changed (131) hide show
  1. package/app/components/form-dialog-actions/form-dialog-actions.component.d.ts +3 -0
  2. package/app/directives/form/form.directive.d.ts +3 -0
  3. package/app/directives/form-dialog-close.directive.d.ts +3 -0
  4. package/app/directives/submit-button.directive.d.ts +3 -0
  5. package/app/directives/validators/compare.directive.d.ts +3 -0
  6. package/app/directives/validators/control.directive.d.ts +3 -0
  7. package/app/directives/validators/daterange.directive.d.ts +3 -0
  8. package/app/directives/validators/email.directive.d.ts +3 -0
  9. package/app/directives/validators/emails.directive.d.ts +3 -0
  10. package/app/directives/validators/function.directive.d.ts +3 -0
  11. package/app/directives/validators/greater.directive.d.ts +3 -0
  12. package/app/directives/validators/integer.directive.d.ts +3 -0
  13. package/app/directives/validators/lesser.directive.d.ts +3 -0
  14. package/app/directives/validators/max.directive.d.ts +3 -0
  15. package/app/directives/validators/maxlength.directive.d.ts +3 -0
  16. package/app/directives/validators/min.directive.d.ts +3 -0
  17. package/app/directives/validators/minlength.directive.d.ts +3 -0
  18. package/app/directives/validators/numeric.directive.d.ts +3 -0
  19. package/app/directives/validators/pattern.directive.d.ts +3 -0
  20. package/app/directives/validators/phone.directive.d.ts +3 -0
  21. package/app/directives/validators/required.directive.d.ts +3 -0
  22. package/app/directives/validators/url.directive.d.ts +3 -0
  23. package/app/directives/validators/validate.directive.d.ts +3 -0
  24. package/app/fs-form.module.d.ts +31 -0
  25. package/app/guards/form-deactivate.guard.d.ts +3 -0
  26. package/app/services/fsform.service.d.ts +3 -0
  27. package/bundles/firestitch-form.umd.js +1113 -984
  28. package/bundles/firestitch-form.umd.js.map +1 -1
  29. package/esm2015/app/components/form-dialog-actions/form-dialog-actions.component.js +33 -40
  30. package/esm2015/app/consts/error-messages.const.js +1 -1
  31. package/esm2015/app/directives/form/form.directive.js +87 -133
  32. package/esm2015/app/directives/form-dialog-close.directive.js +18 -20
  33. package/esm2015/app/directives/submit-button.directive.js +28 -35
  34. package/esm2015/app/directives/validators/compare.directive.js +22 -22
  35. package/esm2015/app/directives/validators/control.directive.js +51 -67
  36. package/esm2015/app/directives/validators/daterange.directive.js +22 -22
  37. package/esm2015/app/directives/validators/email.directive.js +22 -22
  38. package/esm2015/app/directives/validators/emails.directive.js +22 -22
  39. package/esm2015/app/directives/validators/function.directive.js +21 -21
  40. package/esm2015/app/directives/validators/greater.directive.js +22 -22
  41. package/esm2015/app/directives/validators/integer.directive.js +22 -22
  42. package/esm2015/app/directives/validators/lesser.directive.js +22 -22
  43. package/esm2015/app/directives/validators/max.directive.js +22 -22
  44. package/esm2015/app/directives/validators/maxlength.directive.js +22 -22
  45. package/esm2015/app/directives/validators/min.directive.js +22 -22
  46. package/esm2015/app/directives/validators/minlength.directive.js +22 -22
  47. package/esm2015/app/directives/validators/numeric.directive.js +22 -22
  48. package/esm2015/app/directives/validators/pattern.directive.js +22 -22
  49. package/esm2015/app/directives/validators/phone.directive.js +22 -22
  50. package/esm2015/app/directives/validators/required.directive.js +26 -28
  51. package/esm2015/app/directives/validators/url.directive.js +24 -26
  52. package/esm2015/app/directives/validators/validate.directive.js +23 -21
  53. package/esm2015/app/enums/confirm-result.js +1 -1
  54. package/esm2015/app/enums/form-status.js +1 -1
  55. package/esm2015/app/fs-form.module.js +128 -69
  56. package/esm2015/app/guards/form-deactivate.guard.js +11 -15
  57. package/esm2015/app/helpers/confirm-result-continue.js +1 -1
  58. package/esm2015/app/helpers/confirm-unsaved.js +1 -1
  59. package/esm2015/app/helpers/get-form-errors.js +1 -1
  60. package/esm2015/app/helpers/index.js +1 -1
  61. package/esm2015/app/helpers/is-enabled.js +1 -1
  62. package/esm2015/app/interfaces/async-validator.js +2 -1
  63. package/esm2015/app/interfaces/confirm-config.js +2 -1
  64. package/esm2015/app/interfaces/confirm-tab-group.js +2 -1
  65. package/esm2015/app/interfaces/form-deactivate.js +2 -1
  66. package/esm2015/app/interfaces/index.js +5 -1
  67. package/esm2015/app/interfaces/submit-event.js +2 -1
  68. package/esm2015/app/interfaces/submitted-event.js +2 -1
  69. package/esm2015/app/interfaces/validator.js +2 -1
  70. package/esm2015/app/providers/validate-messages.provider.js +1 -1
  71. package/esm2015/app/services/fsform.service.js +11 -12
  72. package/esm2015/app/validators/validators.js +1 -1
  73. package/esm2015/firestitch-form.js +1 -23
  74. package/esm2015/public_api.js +22 -1
  75. package/fesm2015/firestitch-form.js +711 -718
  76. package/fesm2015/firestitch-form.js.map +1 -1
  77. package/firestitch-form.d.ts +1 -22
  78. package/package.json +7 -8
  79. package/public_api.d.ts +21 -0
  80. package/styles.scss +4 -4
  81. package/bundles/firestitch-form.umd.min.js +0 -16
  82. package/bundles/firestitch-form.umd.min.js.map +0 -1
  83. package/esm5/app/components/form-dialog-actions/form-dialog-actions.component.js +0 -96
  84. package/esm5/app/consts/error-messages.const.js +0 -20
  85. package/esm5/app/directives/form/form.directive.js +0 -706
  86. package/esm5/app/directives/form-dialog-close.directive.js +0 -34
  87. package/esm5/app/directives/submit-button.directive.js +0 -144
  88. package/esm5/app/directives/validators/compare.directive.js +0 -60
  89. package/esm5/app/directives/validators/control.directive.js +0 -279
  90. package/esm5/app/directives/validators/daterange.directive.js +0 -50
  91. package/esm5/app/directives/validators/email.directive.js +0 -50
  92. package/esm5/app/directives/validators/emails.directive.js +0 -50
  93. package/esm5/app/directives/validators/function.directive.js +0 -36
  94. package/esm5/app/directives/validators/greater.directive.js +0 -49
  95. package/esm5/app/directives/validators/integer.directive.js +0 -50
  96. package/esm5/app/directives/validators/lesser.directive.js +0 -49
  97. package/esm5/app/directives/validators/max.directive.js +0 -45
  98. package/esm5/app/directives/validators/maxlength.directive.js +0 -44
  99. package/esm5/app/directives/validators/min.directive.js +0 -45
  100. package/esm5/app/directives/validators/minlength.directive.js +0 -44
  101. package/esm5/app/directives/validators/numeric.directive.js +0 -50
  102. package/esm5/app/directives/validators/pattern.directive.js +0 -44
  103. package/esm5/app/directives/validators/phone.directive.js +0 -50
  104. package/esm5/app/directives/validators/required.directive.js +0 -88
  105. package/esm5/app/directives/validators/url.directive.js +0 -56
  106. package/esm5/app/directives/validators/validate.directive.js +0 -36
  107. package/esm5/app/enums/confirm-result.js +0 -9
  108. package/esm5/app/enums/form-status.js +0 -11
  109. package/esm5/app/fs-form.module.js +0 -110
  110. package/esm5/app/guards/form-deactivate.guard.js +0 -45
  111. package/esm5/app/helpers/confirm-result-continue.js +0 -5
  112. package/esm5/app/helpers/confirm-unsaved.js +0 -70
  113. package/esm5/app/helpers/get-form-errors.js +0 -28
  114. package/esm5/app/helpers/index.js +0 -3
  115. package/esm5/app/helpers/is-enabled.js +0 -4
  116. package/esm5/app/interfaces/async-validator.js +0 -1
  117. package/esm5/app/interfaces/confirm-config.js +0 -1
  118. package/esm5/app/interfaces/confirm-tab-group.js +0 -1
  119. package/esm5/app/interfaces/form-deactivate.js +0 -1
  120. package/esm5/app/interfaces/index.js +0 -1
  121. package/esm5/app/interfaces/submit-event.js +0 -1
  122. package/esm5/app/interfaces/submitted-event.js +0 -1
  123. package/esm5/app/interfaces/validator.js +0 -1
  124. package/esm5/app/providers/validate-messages.provider.js +0 -12
  125. package/esm5/app/services/fsform.service.js +0 -27
  126. package/esm5/app/validators/validators.js +0 -102
  127. package/esm5/firestitch-form.js +0 -27
  128. package/esm5/public_api.js +0 -14
  129. package/fesm5/firestitch-form.js +0 -2396
  130. package/fesm5/firestitch-form.js.map +0 -1
  131. package/firestitch-form.metadata.json +0 -1
@@ -1,14 +1,20 @@
1
- import { __decorate, __metadata, __param } from 'tslib';
2
- import { HostBinding, HostListener, Directive, ɵɵdefineInjectable, Injectable, EventEmitter, QueryList, Inject, ElementRef, NgZone, Optional, Input, Output, ContentChildren, InjectionToken, Renderer2, Injector, Self, Host, ChangeDetectorRef, Component, ChangeDetectionStrategy, NgModule, ɵɵinject } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, HostBinding, HostListener, Injectable, EventEmitter, QueryList, Inject, Optional, Input, Output, ContentChildren, InjectionToken, Self, Host, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i4 from '@angular/common';
3
4
  import { CommonModule } from '@angular/common';
4
- import { FormGroup, NgForm, NgControl, Validators, FormsModule } from '@angular/forms';
5
- import { MatButton, MatButtonModule } from '@angular/material/button';
5
+ import * as i1 from '@angular/forms';
6
+ import { FormGroup, NgForm, Validators, FormsModule } from '@angular/forms';
7
+ import * as i1$1 from '@angular/material/button';
8
+ import { MatButtonModule } from '@angular/material/button';
9
+ import * as i2$1 from '@angular/material/dialog';
6
10
  import { MatDialogRef, MatDialogModule } from '@angular/material/dialog';
7
11
  import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
8
12
  import { MatTabGroup } from '@angular/material/tabs';
9
- import { MessageMode, FsMessage } from '@firestitch/message';
10
- import { FsPrompt } from '@firestitch/prompt';
13
+ import * as i2 from '@firestitch/message';
14
+ import { MessageMode } from '@firestitch/message';
15
+ import * as i3 from '@firestitch/prompt';
11
16
  import { guid, email, isEmpty, isNumeric, phone, url } from '@firestitch/common';
17
+ import * as i6 from '@firestitch/drawer';
12
18
  import { DrawerRef } from '@firestitch/drawer';
13
19
  import { Observable, Subject, BehaviorSubject, of, isObservable, throwError, fromEvent, iif, defer, from } from 'rxjs';
14
20
  import { first, filter, map, take, mergeMap, tap, switchMap, catchError, takeUntil, delay, startWith } from 'rxjs/operators';
@@ -91,7 +97,7 @@ function confirmUnsaved(form, prompt) {
91
97
  });
92
98
  }
93
99
 
94
- let FsFormDialogCloseDirective = class FsFormDialogCloseDirective {
100
+ class FsFormDialogCloseDirective {
95
101
  constructor() {
96
102
  this.clicked$ = new Subject();
97
103
  this.registered = false;
@@ -103,24 +109,23 @@ let FsFormDialogCloseDirective = class FsFormDialogCloseDirective {
103
109
  ngOnDestroy() {
104
110
  this.clicked$.complete();
105
111
  }
106
- };
107
- __decorate([
108
- HostBinding('attr.type'),
109
- __metadata("design:type", Object)
110
- ], FsFormDialogCloseDirective.prototype, "type", void 0);
111
- __decorate([
112
- HostListener('click', ['$event.target']),
113
- __metadata("design:type", Function),
114
- __metadata("design:paramtypes", []),
115
- __metadata("design:returntype", void 0)
116
- ], FsFormDialogCloseDirective.prototype, "click", null);
117
- FsFormDialogCloseDirective = __decorate([
118
- Directive({
119
- selector: '[fsFormDialogClose],[fs-form-dialog-close]'
120
- })
121
- ], FsFormDialogCloseDirective);
112
+ }
113
+ FsFormDialogCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
114
+ FsFormDialogCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", host: { listeners: { "click": "click($event.target)" }, properties: { "attr.type": "this.type" } }, ngImport: i0 });
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDialogCloseDirective, decorators: [{
116
+ type: Directive,
117
+ args: [{
118
+ selector: '[fsFormDialogClose],[fs-form-dialog-close]'
119
+ }]
120
+ }], propDecorators: { type: [{
121
+ type: HostBinding,
122
+ args: ['attr.type']
123
+ }], click: [{
124
+ type: HostListener,
125
+ args: ['click', ['$event.target']]
126
+ }] } });
122
127
 
123
- let FsForm = class FsForm {
128
+ class FsForm {
124
129
  constructor() {
125
130
  this._eventBus = new Subject();
126
131
  }
@@ -131,14 +136,15 @@ let FsForm = class FsForm {
131
136
  return this._eventBus.asObservable()
132
137
  .pipe(filter(event => event.key === key), map(event => event.data));
133
138
  }
134
- };
135
- FsForm.ɵprov = ɵɵdefineInjectable({ factory: function FsForm_Factory() { return new FsForm(); }, token: FsForm, providedIn: "root" });
136
- FsForm = __decorate([
137
- Injectable({
138
- providedIn: 'root',
139
- }),
140
- __metadata("design:paramtypes", [])
141
- ], FsForm);
139
+ }
140
+ FsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
141
+ FsForm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsForm, providedIn: 'root' });
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsForm, decorators: [{
143
+ type: Injectable,
144
+ args: [{
145
+ providedIn: 'root',
146
+ }]
147
+ }], ctorParameters: function () { return []; } });
142
148
 
143
149
  var FormStatus;
144
150
  (function (FormStatus) {
@@ -179,7 +185,7 @@ function getFormErrors(control, key) {
179
185
  return errors;
180
186
  }
181
187
 
182
- let FsFormDirective = class FsFormDirective {
188
+ class FsFormDirective {
183
189
  constructor(ngForm, _form, _element, _message, _prompt, _ngZone, _dialogRef, _drawerRef) {
184
190
  this.ngForm = ngForm;
185
191
  this._form = _form;
@@ -697,133 +703,82 @@ let FsFormDirective = class FsFormDirective {
697
703
  console.groupEnd();
698
704
  this._completeSubmit(false, null);
699
705
  }
700
- };
701
- FsFormDirective.ctorParameters = () => [
702
- { type: NgForm, decorators: [{ type: Inject, args: [NgForm,] }] },
703
- { type: FsForm },
704
- { type: ElementRef },
705
- { type: FsMessage },
706
- { type: FsPrompt },
707
- { type: NgZone },
708
- { type: MatDialogRef, decorators: [{ type: Optional }, { type: Inject, args: [MatDialogRef,] }] },
709
- { type: DrawerRef, decorators: [{ type: Optional }, { type: Inject, args: [DrawerRef,] }] }
710
- ];
711
- __decorate([
712
- Input(),
713
- __metadata("design:type", Object)
714
- ], FsFormDirective.prototype, "wrapperSelector", void 0);
715
- __decorate([
716
- Input(),
717
- __metadata("design:type", Object)
718
- ], FsFormDirective.prototype, "messageSelector", void 0);
719
- __decorate([
720
- Input(),
721
- __metadata("design:type", Object)
722
- ], FsFormDirective.prototype, "hintSelector", void 0);
723
- __decorate([
724
- Input(),
725
- __metadata("design:type", Object)
726
- ], FsFormDirective.prototype, "labelSelector", void 0);
727
- __decorate([
728
- Input(),
729
- __metadata("design:type", Object)
730
- ], FsFormDirective.prototype, "autocomplete", void 0);
731
- __decorate([
732
- Input(),
733
- __metadata("design:type", Object)
734
- ], FsFormDirective.prototype, "shortcuts", void 0);
735
- __decorate([
736
- Input(),
737
- __metadata("design:type", Object)
738
- ], FsFormDirective.prototype, "confirm", void 0);
739
- __decorate([
740
- Input(),
741
- __metadata("design:type", Object)
742
- ], FsFormDirective.prototype, "confirmDialog", void 0);
743
- __decorate([
744
- Input(),
745
- __metadata("design:type", Object)
746
- ], FsFormDirective.prototype, "confirmDrawer", void 0);
747
- __decorate([
748
- Input(),
749
- __metadata("design:type", Object)
750
- ], FsFormDirective.prototype, "confirmBrowser", void 0);
751
- __decorate([
752
- Input(),
753
- __metadata("design:type", Object)
754
- ], FsFormDirective.prototype, "confirmTabs", void 0);
755
- __decorate([
756
- Input(),
757
- __metadata("design:type", Object)
758
- ], FsFormDirective.prototype, "dirtySubmitButton", void 0);
759
- __decorate([
760
- Input(),
761
- __metadata("design:type", Function)
762
- ], FsFormDirective.prototype, "submit", void 0);
763
- __decorate([
764
- Input(),
765
- __metadata("design:type", Object)
766
- ], FsFormDirective.prototype, "successDelay", void 0);
767
- __decorate([
768
- Input(),
769
- __metadata("design:type", Object)
770
- ], FsFormDirective.prototype, "errorDelay", void 0);
771
- __decorate([
772
- Input(),
773
- __metadata("design:type", MatTabGroup)
774
- ], FsFormDirective.prototype, "tabGroup", void 0);
775
- __decorate([
776
- Output('fsForm'),
777
- __metadata("design:type", EventEmitter)
778
- ], FsFormDirective.prototype, "submitEvent", void 0);
779
- __decorate([
780
- Output(),
781
- __metadata("design:type", EventEmitter)
782
- ], FsFormDirective.prototype, "invalid", void 0);
783
- __decorate([
784
- Output(),
785
- __metadata("design:type", EventEmitter)
786
- ], FsFormDirective.prototype, "valid", void 0);
787
- __decorate([
788
- Output(),
789
- __metadata("design:type", EventEmitter)
790
- ], FsFormDirective.prototype, "submitted", void 0);
791
- __decorate([
792
- Output(),
793
- __metadata("design:type", EventEmitter)
794
- ], FsFormDirective.prototype, "reseted", void 0);
795
- __decorate([
796
- Output(),
797
- __metadata("design:type", EventEmitter)
798
- ], FsFormDirective.prototype, "cleared", void 0);
799
- __decorate([
800
- HostBinding('class.fs-form'),
801
- __metadata("design:type", Object)
802
- ], FsFormDirective.prototype, "fsformClass", void 0);
803
- __decorate([
804
- ContentChildren(FsFormDialogCloseDirective, { descendants: true }),
805
- __metadata("design:type", QueryList)
806
- ], FsFormDirective.prototype, "formDialogClose", void 0);
807
- __decorate([
808
- ContentChildren(MatTabGroup, { descendants: true }),
809
- __metadata("design:type", QueryList)
810
- ], FsFormDirective.prototype, "_tabGroups", void 0);
811
- FsFormDirective = __decorate([
812
- Directive({
813
- selector: '[fsForm]',
814
- }),
815
- __param(0, Inject(NgForm)),
816
- __param(6, Optional()), __param(6, Inject(MatDialogRef)),
817
- __param(7, Optional()), __param(7, Inject(DrawerRef)),
818
- __metadata("design:paramtypes", [NgForm,
819
- FsForm,
820
- ElementRef,
821
- FsMessage,
822
- FsPrompt,
823
- NgZone,
824
- MatDialogRef,
825
- DrawerRef])
826
- ], FsFormDirective);
706
+ }
707
+ FsFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDirective, deps: [{ token: NgForm }, { token: FsForm }, { token: i0.ElementRef }, { token: i2.FsMessage }, { token: i3.FsPrompt }, { token: i0.NgZone }, { token: MatDialogRef, optional: true }, { token: DrawerRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
708
+ FsFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", 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" }, outputs: { submitEvent: "fsForm", invalid: "invalid", valid: "valid", submitted: "submitted", reseted: "reseted", cleared: "cleared" }, host: { properties: { "class.fs-form": "this.fsformClass" } }, queries: [{ propertyName: "formDialogClose", predicate: FsFormDialogCloseDirective, descendants: true }, { propertyName: "_tabGroups", predicate: MatTabGroup, descendants: true }], usesOnChanges: true, ngImport: i0 });
709
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDirective, decorators: [{
710
+ type: Directive,
711
+ args: [{
712
+ selector: '[fsForm]',
713
+ }]
714
+ }], ctorParameters: function () { return [{ type: i1.NgForm, decorators: [{
715
+ type: Inject,
716
+ args: [NgForm]
717
+ }] }, { type: FsForm }, { type: i0.ElementRef }, { type: i2.FsMessage }, { type: i3.FsPrompt }, { type: i0.NgZone }, { type: i2$1.MatDialogRef, decorators: [{
718
+ type: Optional
719
+ }, {
720
+ type: Inject,
721
+ args: [MatDialogRef]
722
+ }] }, { type: i6.DrawerRef, decorators: [{
723
+ type: Optional
724
+ }, {
725
+ type: Inject,
726
+ args: [DrawerRef]
727
+ }] }]; }, propDecorators: { wrapperSelector: [{
728
+ type: Input
729
+ }], messageSelector: [{
730
+ type: Input
731
+ }], hintSelector: [{
732
+ type: Input
733
+ }], labelSelector: [{
734
+ type: Input
735
+ }], autocomplete: [{
736
+ type: Input
737
+ }], shortcuts: [{
738
+ type: Input
739
+ }], confirm: [{
740
+ type: Input
741
+ }], confirmDialog: [{
742
+ type: Input
743
+ }], confirmDrawer: [{
744
+ type: Input
745
+ }], confirmBrowser: [{
746
+ type: Input
747
+ }], confirmTabs: [{
748
+ type: Input
749
+ }], dirtySubmitButton: [{
750
+ type: Input
751
+ }], submit: [{
752
+ type: Input
753
+ }], successDelay: [{
754
+ type: Input
755
+ }], errorDelay: [{
756
+ type: Input
757
+ }], tabGroup: [{
758
+ type: Input
759
+ }], submitEvent: [{
760
+ type: Output,
761
+ args: ['fsForm']
762
+ }], invalid: [{
763
+ type: Output
764
+ }], valid: [{
765
+ type: Output
766
+ }], submitted: [{
767
+ type: Output
768
+ }], reseted: [{
769
+ type: Output
770
+ }], cleared: [{
771
+ type: Output
772
+ }], fsformClass: [{
773
+ type: HostBinding,
774
+ args: ['class.fs-form']
775
+ }], formDialogClose: [{
776
+ type: ContentChildren,
777
+ args: [FsFormDialogCloseDirective, { descendants: true }]
778
+ }], _tabGroups: [{
779
+ type: ContentChildren,
780
+ args: [MatTabGroup, { descendants: true }]
781
+ }] } });
827
782
 
828
783
  const ERROR_MESSAGES = {
829
784
  required: 'This field is required',
@@ -854,7 +809,7 @@ function messageProviderFactory() {
854
809
  return Object.assign({}, ERROR_MESSAGES);
855
810
  }
856
811
 
857
- let FsControlDirective = class FsControlDirective {
812
+ class FsControlDirective {
858
813
  constructor(elementRef, renderer2, injector, _validateMessages, ngControl, formDirective) {
859
814
  this.elementRef = elementRef;
860
815
  this.renderer2 = renderer2;
@@ -1056,73 +1011,56 @@ let FsControlDirective = class FsControlDirective {
1056
1011
  }
1057
1012
  control.updateValueAndValidity();
1058
1013
  }
1059
- };
1060
- FsControlDirective.ctorParameters = () => [
1061
- { type: ElementRef },
1062
- { type: Renderer2 },
1063
- { type: Injector },
1064
- { type: undefined, decorators: [{ type: Self }, { type: Inject, args: [VALIDATE_MESSAGES,] }] },
1065
- { type: NgControl, decorators: [{ type: Optional }] },
1066
- { type: FsFormDirective, decorators: [{ type: Optional }, { type: Inject, args: [FsFormDirective,] }] }
1067
- ];
1068
- __decorate([
1069
- Input(),
1070
- __metadata("design:type", Object)
1071
- ], FsControlDirective.prototype, "wrapperSelector", void 0);
1072
- __decorate([
1073
- Input(),
1074
- __metadata("design:type", Object)
1075
- ], FsControlDirective.prototype, "messageSelector", void 0);
1076
- __decorate([
1077
- Input(),
1078
- __metadata("design:type", Object)
1079
- ], FsControlDirective.prototype, "hintSelector", void 0);
1080
- __decorate([
1081
- Input(),
1082
- __metadata("design:type", Object)
1083
- ], FsControlDirective.prototype, "labelSelector", void 0);
1084
- __decorate([
1085
- Input(),
1086
- __metadata("design:type", Object)
1087
- ], FsControlDirective.prototype, "appendMessageClass", void 0);
1088
- __decorate([
1089
- Input(),
1090
- __metadata("design:type", Object)
1091
- ], FsControlDirective.prototype, "appendLabelClass", void 0);
1092
- __decorate([
1093
- Input(),
1094
- __metadata("design:type", Object)
1095
- ], FsControlDirective.prototype, "appendErrorClass", void 0);
1096
- __decorate([
1097
- Input(),
1098
- __metadata("design:type", Object)
1099
- ], FsControlDirective.prototype, "appendHintClass", void 0);
1100
- __decorate([
1101
- Input(),
1102
- __metadata("design:type", Object),
1103
- __metadata("design:paramtypes", [Object])
1104
- ], FsControlDirective.prototype, "validateMessages", null);
1105
- FsControlDirective = __decorate([
1106
- Directive({
1107
- selector: '[fsFormControl]',
1108
- providers: [
1109
- VALIDATE_MESSAGE_PROVIDER
1110
- ],
1111
- }),
1112
- __param(3, Self()), __param(3, Inject(VALIDATE_MESSAGES)),
1113
- __param(4, Optional()),
1114
- __param(5, Optional()), __param(5, Inject(FsFormDirective)),
1115
- __metadata("design:paramtypes", [ElementRef,
1116
- Renderer2,
1117
- Injector, Object, NgControl,
1118
- FsFormDirective])
1119
- ], FsControlDirective);
1014
+ }
1015
+ FsControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsControlDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: VALIDATE_MESSAGES, self: true }, { token: i1.NgControl, optional: true }, { token: FsFormDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1016
+ FsControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsControlDirective, selector: "[fsFormControl]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", appendMessageClass: "appendMessageClass", appendLabelClass: "appendLabelClass", appendErrorClass: "appendErrorClass", appendHintClass: "appendHintClass", validateMessages: "validateMessages" }, providers: [
1017
+ VALIDATE_MESSAGE_PROVIDER
1018
+ ], ngImport: i0 });
1019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsControlDirective, decorators: [{
1020
+ type: Directive,
1021
+ args: [{
1022
+ selector: '[fsFormControl]',
1023
+ providers: [
1024
+ VALIDATE_MESSAGE_PROVIDER
1025
+ ],
1026
+ }]
1027
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: undefined, decorators: [{
1028
+ type: Self
1029
+ }, {
1030
+ type: Inject,
1031
+ args: [VALIDATE_MESSAGES]
1032
+ }] }, { type: i1.NgControl, decorators: [{
1033
+ type: Optional
1034
+ }] }, { type: FsFormDirective, decorators: [{
1035
+ type: Optional
1036
+ }, {
1037
+ type: Inject,
1038
+ args: [FsFormDirective]
1039
+ }] }]; }, propDecorators: { wrapperSelector: [{
1040
+ type: Input
1041
+ }], messageSelector: [{
1042
+ type: Input
1043
+ }], hintSelector: [{
1044
+ type: Input
1045
+ }], labelSelector: [{
1046
+ type: Input
1047
+ }], appendMessageClass: [{
1048
+ type: Input
1049
+ }], appendLabelClass: [{
1050
+ type: Input
1051
+ }], appendErrorClass: [{
1052
+ type: Input
1053
+ }], appendHintClass: [{
1054
+ type: Input
1055
+ }], validateMessages: [{
1056
+ type: Input
1057
+ }] } });
1120
1058
 
1121
1059
  function isEnabled(value) {
1122
1060
  return value !== 'false' && (value || value === '');
1123
1061
  }
1124
1062
 
1125
- let FsFormRequiredDirective = class FsFormRequiredDirective extends FsControlDirective {
1063
+ class FsFormRequiredDirective extends FsControlDirective {
1126
1064
  constructor() {
1127
1065
  super(...arguments);
1128
1066
  this.required = false;
@@ -1163,30 +1101,29 @@ let FsFormRequiredDirective = class FsFormRequiredDirective extends FsControlDir
1163
1101
  }
1164
1102
  super.render();
1165
1103
  }
1166
- };
1167
- __decorate([
1168
- Input('fsFormRequired'),
1169
- __metadata("design:type", Object),
1170
- __metadata("design:paramtypes", [Object])
1171
- ], FsFormRequiredDirective.prototype, "setFsFormRequired", null);
1172
- __decorate([
1173
- Input('required'),
1174
- __metadata("design:type", Object),
1175
- __metadata("design:paramtypes", [Object])
1176
- ], FsFormRequiredDirective.prototype, "setRequired", null);
1177
- __decorate([
1178
- Input('fsFormRequiredMessage'),
1179
- __metadata("design:type", String),
1180
- __metadata("design:paramtypes", [String])
1181
- ], FsFormRequiredDirective.prototype, "validationMessage", null);
1182
- FsFormRequiredDirective = __decorate([
1183
- Directive({
1184
- selector: '[fsFormRequired],[ngModel][required]',
1185
- providers: [
1186
- VALIDATE_MESSAGE_PROVIDER
1187
- ],
1188
- })
1189
- ], FsFormRequiredDirective);
1104
+ }
1105
+ FsFormRequiredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormRequiredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1106
+ FsFormRequiredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: { setFsFormRequired: ["fsFormRequired", "setFsFormRequired"], setRequired: ["required", "setRequired"], validationMessage: ["fsFormRequiredMessage", "validationMessage"] }, providers: [
1107
+ VALIDATE_MESSAGE_PROVIDER
1108
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormRequiredDirective, decorators: [{
1110
+ type: Directive,
1111
+ args: [{
1112
+ selector: '[fsFormRequired],[ngModel][required]',
1113
+ providers: [
1114
+ VALIDATE_MESSAGE_PROVIDER
1115
+ ],
1116
+ }]
1117
+ }], propDecorators: { setFsFormRequired: [{
1118
+ type: Input,
1119
+ args: ['fsFormRequired']
1120
+ }], setRequired: [{
1121
+ type: Input,
1122
+ args: ['required']
1123
+ }], validationMessage: [{
1124
+ type: Input,
1125
+ args: ['fsFormRequiredMessage']
1126
+ }] } });
1190
1127
 
1191
1128
  class FsValidators {
1192
1129
  static email(control) {
@@ -1280,7 +1217,7 @@ class FsValidators {
1280
1217
  }
1281
1218
  }
1282
1219
 
1283
- let FsFormMinDirective = class FsFormMinDirective extends FsControlDirective {
1220
+ class FsFormMinDirective extends FsControlDirective {
1284
1221
  set validationMessage(value) {
1285
1222
  this._validateMessages.min = value;
1286
1223
  }
@@ -1290,26 +1227,27 @@ let FsFormMinDirective = class FsFormMinDirective extends FsControlDirective {
1290
1227
  validate(control) {
1291
1228
  return FsValidators.numeric(this._control) || Validators.min(parseFloat(this.fsFormMin))(this._control);
1292
1229
  }
1293
- };
1294
- __decorate([
1295
- Input(),
1296
- __metadata("design:type", Object)
1297
- ], FsFormMinDirective.prototype, "fsFormMin", void 0);
1298
- __decorate([
1299
- Input('fsFormMinMessage'),
1300
- __metadata("design:type", String),
1301
- __metadata("design:paramtypes", [String])
1302
- ], FsFormMinDirective.prototype, "validationMessage", null);
1303
- FsFormMinDirective = __decorate([
1304
- Directive({
1305
- selector: '[fsFormMin]',
1306
- providers: [
1307
- VALIDATE_MESSAGE_PROVIDER
1308
- ],
1309
- })
1310
- ], FsFormMinDirective);
1230
+ }
1231
+ FsFormMinDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMinDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1232
+ FsFormMinDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMinDirective, selector: "[fsFormMin]", inputs: { fsFormMin: "fsFormMin", validationMessage: ["fsFormMinMessage", "validationMessage"] }, providers: [
1233
+ VALIDATE_MESSAGE_PROVIDER
1234
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMinDirective, decorators: [{
1236
+ type: Directive,
1237
+ args: [{
1238
+ selector: '[fsFormMin]',
1239
+ providers: [
1240
+ VALIDATE_MESSAGE_PROVIDER
1241
+ ],
1242
+ }]
1243
+ }], propDecorators: { fsFormMin: [{
1244
+ type: Input
1245
+ }], validationMessage: [{
1246
+ type: Input,
1247
+ args: ['fsFormMinMessage']
1248
+ }] } });
1311
1249
 
1312
- let FsFormMaxDirective = class FsFormMaxDirective extends FsControlDirective {
1250
+ class FsFormMaxDirective extends FsControlDirective {
1313
1251
  set validationMessage(value) {
1314
1252
  this._validateMessages.max = value;
1315
1253
  }
@@ -1319,26 +1257,27 @@ let FsFormMaxDirective = class FsFormMaxDirective extends FsControlDirective {
1319
1257
  validate(control) {
1320
1258
  return FsValidators.numeric(this._control) || Validators.max(this.fsFormMax)(this._control);
1321
1259
  }
1322
- };
1323
- __decorate([
1324
- Input(),
1325
- __metadata("design:type", Number)
1326
- ], FsFormMaxDirective.prototype, "fsFormMax", void 0);
1327
- __decorate([
1328
- Input('fsFormMaxMessage'),
1329
- __metadata("design:type", String),
1330
- __metadata("design:paramtypes", [String])
1331
- ], FsFormMaxDirective.prototype, "validationMessage", null);
1332
- FsFormMaxDirective = __decorate([
1333
- Directive({
1334
- selector: '[fsFormMax]',
1335
- providers: [
1336
- VALIDATE_MESSAGE_PROVIDER
1337
- ],
1338
- })
1339
- ], FsFormMaxDirective);
1260
+ }
1261
+ FsFormMaxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMaxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1262
+ FsFormMaxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMaxDirective, selector: "[fsFormMax]", inputs: { fsFormMax: "fsFormMax", validationMessage: ["fsFormMaxMessage", "validationMessage"] }, providers: [
1263
+ VALIDATE_MESSAGE_PROVIDER
1264
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMaxDirective, decorators: [{
1266
+ type: Directive,
1267
+ args: [{
1268
+ selector: '[fsFormMax]',
1269
+ providers: [
1270
+ VALIDATE_MESSAGE_PROVIDER
1271
+ ],
1272
+ }]
1273
+ }], propDecorators: { fsFormMax: [{
1274
+ type: Input
1275
+ }], validationMessage: [{
1276
+ type: Input,
1277
+ args: ['fsFormMaxMessage']
1278
+ }] } });
1340
1279
 
1341
- let FsFormMinLengthDirective = class FsFormMinLengthDirective extends FsControlDirective {
1280
+ class FsFormMinLengthDirective extends FsControlDirective {
1342
1281
  set validationMessage(value) {
1343
1282
  this._validateMessages.minlength = value;
1344
1283
  }
@@ -1348,26 +1287,27 @@ let FsFormMinLengthDirective = class FsFormMinLengthDirective extends FsControlD
1348
1287
  validate(control) {
1349
1288
  return Validators.minLength(this.fsFormMinLength)(this._control);
1350
1289
  }
1351
- };
1352
- __decorate([
1353
- Input(),
1354
- __metadata("design:type", Number)
1355
- ], FsFormMinLengthDirective.prototype, "fsFormMinLength", void 0);
1356
- __decorate([
1357
- Input('fsFormMinLengthMessage'),
1358
- __metadata("design:type", String),
1359
- __metadata("design:paramtypes", [String])
1360
- ], FsFormMinLengthDirective.prototype, "validationMessage", null);
1361
- FsFormMinLengthDirective = __decorate([
1362
- Directive({
1363
- selector: '[fsFormMinLength]',
1364
- providers: [
1365
- VALIDATE_MESSAGE_PROVIDER
1366
- ],
1367
- })
1368
- ], FsFormMinLengthDirective);
1290
+ }
1291
+ FsFormMinLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMinLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1292
+ FsFormMinLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMinLengthDirective, selector: "[fsFormMinLength]", inputs: { fsFormMinLength: "fsFormMinLength", validationMessage: ["fsFormMinLengthMessage", "validationMessage"] }, providers: [
1293
+ VALIDATE_MESSAGE_PROVIDER
1294
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMinLengthDirective, decorators: [{
1296
+ type: Directive,
1297
+ args: [{
1298
+ selector: '[fsFormMinLength]',
1299
+ providers: [
1300
+ VALIDATE_MESSAGE_PROVIDER
1301
+ ],
1302
+ }]
1303
+ }], propDecorators: { fsFormMinLength: [{
1304
+ type: Input
1305
+ }], validationMessage: [{
1306
+ type: Input,
1307
+ args: ['fsFormMinLengthMessage']
1308
+ }] } });
1369
1309
 
1370
- let FsFormMaxLengthDirective = class FsFormMaxLengthDirective extends FsControlDirective {
1310
+ class FsFormMaxLengthDirective extends FsControlDirective {
1371
1311
  set validationMessage(value) {
1372
1312
  this._validateMessages.maxlength = value;
1373
1313
  }
@@ -1377,26 +1317,27 @@ let FsFormMaxLengthDirective = class FsFormMaxLengthDirective extends FsControlD
1377
1317
  validate(control) {
1378
1318
  return Validators.maxLength(this.fsFormMaxLength)(this._control);
1379
1319
  }
1380
- };
1381
- __decorate([
1382
- Input(),
1383
- __metadata("design:type", Number)
1384
- ], FsFormMaxLengthDirective.prototype, "fsFormMaxLength", void 0);
1385
- __decorate([
1386
- Input('fsFormMaxLengthMessage'),
1387
- __metadata("design:type", String),
1388
- __metadata("design:paramtypes", [String])
1389
- ], FsFormMaxLengthDirective.prototype, "validationMessage", null);
1390
- FsFormMaxLengthDirective = __decorate([
1391
- Directive({
1392
- selector: '[fsFormMaxLength]',
1393
- providers: [
1394
- VALIDATE_MESSAGE_PROVIDER
1395
- ],
1396
- })
1397
- ], FsFormMaxLengthDirective);
1320
+ }
1321
+ FsFormMaxLengthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMaxLengthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1322
+ FsFormMaxLengthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMaxLengthDirective, selector: "[fsFormMaxLength]", inputs: { fsFormMaxLength: "fsFormMaxLength", validationMessage: ["fsFormMaxLengthMessage", "validationMessage"] }, providers: [
1323
+ VALIDATE_MESSAGE_PROVIDER
1324
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormMaxLengthDirective, decorators: [{
1326
+ type: Directive,
1327
+ args: [{
1328
+ selector: '[fsFormMaxLength]',
1329
+ providers: [
1330
+ VALIDATE_MESSAGE_PROVIDER
1331
+ ],
1332
+ }]
1333
+ }], propDecorators: { fsFormMaxLength: [{
1334
+ type: Input
1335
+ }], validationMessage: [{
1336
+ type: Input,
1337
+ args: ['fsFormMaxLengthMessage']
1338
+ }] } });
1398
1339
 
1399
- let FsFormEmailDirective = class FsFormEmailDirective extends FsControlDirective {
1340
+ class FsFormEmailDirective extends FsControlDirective {
1400
1341
  set validationMessage(value) {
1401
1342
  this._validateMessages.email = value;
1402
1343
  }
@@ -1411,26 +1352,27 @@ let FsFormEmailDirective = class FsFormEmailDirective extends FsControlDirective
1411
1352
  return null;
1412
1353
  }
1413
1354
  }
1414
- };
1415
- __decorate([
1416
- Input(),
1417
- __metadata("design:type", Object)
1418
- ], FsFormEmailDirective.prototype, "fsFormEmail", void 0);
1419
- __decorate([
1420
- Input('fsFormEmailMessage'),
1421
- __metadata("design:type", String),
1422
- __metadata("design:paramtypes", [String])
1423
- ], FsFormEmailDirective.prototype, "validationMessage", null);
1424
- FsFormEmailDirective = __decorate([
1425
- Directive({
1426
- selector: '[fsFormEmail]',
1427
- providers: [
1428
- VALIDATE_MESSAGE_PROVIDER
1429
- ],
1430
- })
1431
- ], FsFormEmailDirective);
1355
+ }
1356
+ FsFormEmailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormEmailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1357
+ FsFormEmailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormEmailDirective, selector: "[fsFormEmail]", inputs: { fsFormEmail: "fsFormEmail", validationMessage: ["fsFormEmailMessage", "validationMessage"] }, providers: [
1358
+ VALIDATE_MESSAGE_PROVIDER
1359
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormEmailDirective, decorators: [{
1361
+ type: Directive,
1362
+ args: [{
1363
+ selector: '[fsFormEmail]',
1364
+ providers: [
1365
+ VALIDATE_MESSAGE_PROVIDER
1366
+ ],
1367
+ }]
1368
+ }], propDecorators: { fsFormEmail: [{
1369
+ type: Input
1370
+ }], validationMessage: [{
1371
+ type: Input,
1372
+ args: ['fsFormEmailMessage']
1373
+ }] } });
1432
1374
 
1433
- let FsFormEmailsDirective = class FsFormEmailsDirective extends FsControlDirective {
1375
+ class FsFormEmailsDirective extends FsControlDirective {
1434
1376
  set validationMessage(value) {
1435
1377
  this._validateMessages.emails = value;
1436
1378
  }
@@ -1445,26 +1387,27 @@ let FsFormEmailsDirective = class FsFormEmailsDirective extends FsControlDirecti
1445
1387
  return null;
1446
1388
  }
1447
1389
  }
1448
- };
1449
- __decorate([
1450
- Input(),
1451
- __metadata("design:type", Object)
1452
- ], FsFormEmailsDirective.prototype, "fsFormEmails", void 0);
1453
- __decorate([
1454
- Input('fsFormEmailsMessage'),
1455
- __metadata("design:type", String),
1456
- __metadata("design:paramtypes", [String])
1457
- ], FsFormEmailsDirective.prototype, "validationMessage", null);
1458
- FsFormEmailsDirective = __decorate([
1459
- Directive({
1460
- selector: '[fsFormEmails]',
1461
- providers: [
1462
- VALIDATE_MESSAGE_PROVIDER
1463
- ],
1464
- })
1465
- ], FsFormEmailsDirective);
1390
+ }
1391
+ FsFormEmailsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormEmailsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1392
+ FsFormEmailsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormEmailsDirective, selector: "[fsFormEmails]", inputs: { fsFormEmails: "fsFormEmails", validationMessage: ["fsFormEmailsMessage", "validationMessage"] }, providers: [
1393
+ VALIDATE_MESSAGE_PROVIDER
1394
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormEmailsDirective, decorators: [{
1396
+ type: Directive,
1397
+ args: [{
1398
+ selector: '[fsFormEmails]',
1399
+ providers: [
1400
+ VALIDATE_MESSAGE_PROVIDER
1401
+ ],
1402
+ }]
1403
+ }], propDecorators: { fsFormEmails: [{
1404
+ type: Input
1405
+ }], validationMessage: [{
1406
+ type: Input,
1407
+ args: ['fsFormEmailsMessage']
1408
+ }] } });
1466
1409
 
1467
- let FsFormPhoneDirective = class FsFormPhoneDirective extends FsControlDirective {
1410
+ class FsFormPhoneDirective extends FsControlDirective {
1468
1411
  set validationMessage(value) {
1469
1412
  this._validateMessages.phone = value;
1470
1413
  }
@@ -1479,26 +1422,27 @@ let FsFormPhoneDirective = class FsFormPhoneDirective extends FsControlDirective
1479
1422
  return null;
1480
1423
  }
1481
1424
  }
1482
- };
1483
- __decorate([
1484
- Input(),
1485
- __metadata("design:type", Object)
1486
- ], FsFormPhoneDirective.prototype, "fsFormPhone", void 0);
1487
- __decorate([
1488
- Input('fsFormPhoneMessage'),
1489
- __metadata("design:type", String),
1490
- __metadata("design:paramtypes", [String])
1491
- ], FsFormPhoneDirective.prototype, "validationMessage", null);
1492
- FsFormPhoneDirective = __decorate([
1493
- Directive({
1494
- selector: '[fsFormPhone]',
1495
- providers: [
1496
- VALIDATE_MESSAGE_PROVIDER
1497
- ],
1498
- })
1499
- ], FsFormPhoneDirective);
1425
+ }
1426
+ FsFormPhoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormPhoneDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1427
+ FsFormPhoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormPhoneDirective, selector: "[fsFormPhone]", inputs: { fsFormPhone: "fsFormPhone", validationMessage: ["fsFormPhoneMessage", "validationMessage"] }, providers: [
1428
+ VALIDATE_MESSAGE_PROVIDER
1429
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormPhoneDirective, decorators: [{
1431
+ type: Directive,
1432
+ args: [{
1433
+ selector: '[fsFormPhone]',
1434
+ providers: [
1435
+ VALIDATE_MESSAGE_PROVIDER
1436
+ ],
1437
+ }]
1438
+ }], propDecorators: { fsFormPhone: [{
1439
+ type: Input
1440
+ }], validationMessage: [{
1441
+ type: Input,
1442
+ args: ['fsFormPhoneMessage']
1443
+ }] } });
1500
1444
 
1501
- let FsFormCompareDirective = class FsFormCompareDirective extends FsControlDirective {
1445
+ class FsFormCompareDirective extends FsControlDirective {
1502
1446
  set validationMessage(value) {
1503
1447
  this._validateMessages.compare = value;
1504
1448
  }
@@ -1523,26 +1467,27 @@ let FsFormCompareDirective = class FsFormCompareDirective extends FsControlDirec
1523
1467
  this._control.updateValueAndValidity();
1524
1468
  }, false);
1525
1469
  }
1526
- };
1527
- __decorate([
1528
- Input(),
1529
- __metadata("design:type", Object)
1530
- ], FsFormCompareDirective.prototype, "fsFormCompare", void 0);
1531
- __decorate([
1532
- Input('fsFormCompareMessage'),
1533
- __metadata("design:type", String),
1534
- __metadata("design:paramtypes", [String])
1535
- ], FsFormCompareDirective.prototype, "validationMessage", null);
1536
- FsFormCompareDirective = __decorate([
1537
- Directive({
1538
- selector: '[fsFormCompare]',
1539
- providers: [
1540
- VALIDATE_MESSAGE_PROVIDER,
1541
- ],
1542
- })
1543
- ], FsFormCompareDirective);
1470
+ }
1471
+ FsFormCompareDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormCompareDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1472
+ FsFormCompareDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormCompareDirective, selector: "[fsFormCompare]", inputs: { fsFormCompare: "fsFormCompare", validationMessage: ["fsFormCompareMessage", "validationMessage"] }, providers: [
1473
+ VALIDATE_MESSAGE_PROVIDER,
1474
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormCompareDirective, decorators: [{
1476
+ type: Directive,
1477
+ args: [{
1478
+ selector: '[fsFormCompare]',
1479
+ providers: [
1480
+ VALIDATE_MESSAGE_PROVIDER,
1481
+ ],
1482
+ }]
1483
+ }], propDecorators: { fsFormCompare: [{
1484
+ type: Input
1485
+ }], validationMessage: [{
1486
+ type: Input,
1487
+ args: ['fsFormCompareMessage']
1488
+ }] } });
1544
1489
 
1545
- let FsFormIntegerDirective = class FsFormIntegerDirective extends FsControlDirective {
1490
+ class FsFormIntegerDirective extends FsControlDirective {
1546
1491
  set validationMessage(value) {
1547
1492
  this._validateMessages.integer = value;
1548
1493
  }
@@ -1557,26 +1502,27 @@ let FsFormIntegerDirective = class FsFormIntegerDirective extends FsControlDirec
1557
1502
  return null;
1558
1503
  }
1559
1504
  }
1560
- };
1561
- __decorate([
1562
- Input(),
1563
- __metadata("design:type", Object)
1564
- ], FsFormIntegerDirective.prototype, "fsFormInteger", void 0);
1565
- __decorate([
1566
- Input('fsFormIntegerMessage'),
1567
- __metadata("design:type", String),
1568
- __metadata("design:paramtypes", [String])
1569
- ], FsFormIntegerDirective.prototype, "validationMessage", null);
1570
- FsFormIntegerDirective = __decorate([
1571
- Directive({
1572
- selector: '[fsFormInteger]',
1573
- providers: [
1574
- VALIDATE_MESSAGE_PROVIDER
1575
- ],
1576
- })
1577
- ], FsFormIntegerDirective);
1505
+ }
1506
+ FsFormIntegerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormIntegerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1507
+ FsFormIntegerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormIntegerDirective, selector: "[fsFormInteger]", inputs: { fsFormInteger: "fsFormInteger", validationMessage: ["fsFormIntegerMessage", "validationMessage"] }, providers: [
1508
+ VALIDATE_MESSAGE_PROVIDER
1509
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormIntegerDirective, decorators: [{
1511
+ type: Directive,
1512
+ args: [{
1513
+ selector: '[fsFormInteger]',
1514
+ providers: [
1515
+ VALIDATE_MESSAGE_PROVIDER
1516
+ ],
1517
+ }]
1518
+ }], propDecorators: { fsFormInteger: [{
1519
+ type: Input
1520
+ }], validationMessage: [{
1521
+ type: Input,
1522
+ args: ['fsFormIntegerMessage']
1523
+ }] } });
1578
1524
 
1579
- let FsFormNumericDirective = class FsFormNumericDirective extends FsControlDirective {
1525
+ class FsFormNumericDirective extends FsControlDirective {
1580
1526
  set validationMessage(value) {
1581
1527
  this._validateMessages.numeric = value;
1582
1528
  }
@@ -1591,26 +1537,27 @@ let FsFormNumericDirective = class FsFormNumericDirective extends FsControlDirec
1591
1537
  return null;
1592
1538
  }
1593
1539
  }
1594
- };
1595
- __decorate([
1596
- Input(),
1597
- __metadata("design:type", Object)
1598
- ], FsFormNumericDirective.prototype, "fsFormNumeric", void 0);
1599
- __decorate([
1600
- Input('fsFormNumericMessage'),
1601
- __metadata("design:type", String),
1602
- __metadata("design:paramtypes", [String])
1603
- ], FsFormNumericDirective.prototype, "validationMessage", null);
1604
- FsFormNumericDirective = __decorate([
1605
- Directive({
1606
- selector: '[fsFormNumeric]',
1607
- providers: [
1608
- VALIDATE_MESSAGE_PROVIDER
1609
- ],
1610
- })
1611
- ], FsFormNumericDirective);
1540
+ }
1541
+ FsFormNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormNumericDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1542
+ FsFormNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormNumericDirective, selector: "[fsFormNumeric]", inputs: { fsFormNumeric: "fsFormNumeric", validationMessage: ["fsFormNumericMessage", "validationMessage"] }, providers: [
1543
+ VALIDATE_MESSAGE_PROVIDER
1544
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormNumericDirective, decorators: [{
1546
+ type: Directive,
1547
+ args: [{
1548
+ selector: '[fsFormNumeric]',
1549
+ providers: [
1550
+ VALIDATE_MESSAGE_PROVIDER
1551
+ ],
1552
+ }]
1553
+ }], propDecorators: { fsFormNumeric: [{
1554
+ type: Input
1555
+ }], validationMessage: [{
1556
+ type: Input,
1557
+ args: ['fsFormNumericMessage']
1558
+ }] } });
1612
1559
 
1613
- let FsFormPatternDirective = class FsFormPatternDirective extends FsControlDirective {
1560
+ class FsFormPatternDirective extends FsControlDirective {
1614
1561
  set validationMessage(value) {
1615
1562
  this._validateMessages.pattern = value;
1616
1563
  }
@@ -1620,51 +1567,53 @@ let FsFormPatternDirective = class FsFormPatternDirective extends FsControlDirec
1620
1567
  validate(control) {
1621
1568
  return Validators.pattern(this.fsFormPattern)(this._control);
1622
1569
  }
1623
- };
1624
- __decorate([
1625
- Input(),
1626
- __metadata("design:type", RegExp)
1627
- ], FsFormPatternDirective.prototype, "fsFormPattern", void 0);
1628
- __decorate([
1629
- Input('fsFormPatternMessage'),
1630
- __metadata("design:type", String),
1631
- __metadata("design:paramtypes", [String])
1632
- ], FsFormPatternDirective.prototype, "validationMessage", null);
1633
- FsFormPatternDirective = __decorate([
1634
- Directive({
1635
- selector: '[fsFormPattern]',
1636
- providers: [
1637
- VALIDATE_MESSAGE_PROVIDER
1638
- ],
1639
- })
1640
- ], FsFormPatternDirective);
1570
+ }
1571
+ FsFormPatternDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormPatternDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1572
+ FsFormPatternDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormPatternDirective, selector: "[fsFormPattern]", inputs: { fsFormPattern: "fsFormPattern", validationMessage: ["fsFormPatternMessage", "validationMessage"] }, providers: [
1573
+ VALIDATE_MESSAGE_PROVIDER
1574
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormPatternDirective, decorators: [{
1576
+ type: Directive,
1577
+ args: [{
1578
+ selector: '[fsFormPattern]',
1579
+ providers: [
1580
+ VALIDATE_MESSAGE_PROVIDER
1581
+ ],
1582
+ }]
1583
+ }], propDecorators: { fsFormPattern: [{
1584
+ type: Input
1585
+ }], validationMessage: [{
1586
+ type: Input,
1587
+ args: ['fsFormPatternMessage']
1588
+ }] } });
1641
1589
 
1642
- let FsFormFunctionDirective = class FsFormFunctionDirective extends FsControlDirective {
1590
+ class FsFormFunctionDirective extends FsControlDirective {
1643
1591
  ngOnChanges() {
1644
1592
  this._control.updateValueAndValidity();
1645
1593
  }
1646
1594
  validateAsync(control) {
1647
1595
  return FsValidators.func(this._control, this.fsFormFunction, this.fsFormFunctionData);
1648
1596
  }
1649
- };
1650
- __decorate([
1651
- Input(),
1652
- __metadata("design:type", Object)
1653
- ], FsFormFunctionDirective.prototype, "fsFormFunction", void 0);
1654
- __decorate([
1655
- Input(),
1656
- __metadata("design:type", Object)
1657
- ], FsFormFunctionDirective.prototype, "fsFormFunctionData", void 0);
1658
- FsFormFunctionDirective = __decorate([
1659
- Directive({
1660
- selector: '[fsFormFunction]',
1661
- providers: [
1662
- VALIDATE_MESSAGE_PROVIDER
1663
- ],
1664
- })
1665
- ], FsFormFunctionDirective);
1597
+ }
1598
+ FsFormFunctionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormFunctionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1599
+ FsFormFunctionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormFunctionDirective, selector: "[fsFormFunction]", inputs: { fsFormFunction: "fsFormFunction", fsFormFunctionData: "fsFormFunctionData" }, providers: [
1600
+ VALIDATE_MESSAGE_PROVIDER
1601
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormFunctionDirective, decorators: [{
1603
+ type: Directive,
1604
+ args: [{
1605
+ selector: '[fsFormFunction]',
1606
+ providers: [
1607
+ VALIDATE_MESSAGE_PROVIDER
1608
+ ],
1609
+ }]
1610
+ }], propDecorators: { fsFormFunction: [{
1611
+ type: Input
1612
+ }], fsFormFunctionData: [{
1613
+ type: Input
1614
+ }] } });
1666
1615
 
1667
- let FsFormGreaterDirective = class FsFormGreaterDirective extends FsControlDirective {
1616
+ class FsFormGreaterDirective extends FsControlDirective {
1668
1617
  set validationMessage(value) {
1669
1618
  this._validateMessages.greater = value;
1670
1619
  }
@@ -1679,26 +1628,27 @@ let FsFormGreaterDirective = class FsFormGreaterDirective extends FsControlDirec
1679
1628
  }
1680
1629
  return FsValidators.numeric(this._control);
1681
1630
  }
1682
- };
1683
- __decorate([
1684
- Input(),
1685
- __metadata("design:type", Object)
1686
- ], FsFormGreaterDirective.prototype, "fsFormGreater", void 0);
1687
- __decorate([
1688
- Input('fsFormGreaterMessage'),
1689
- __metadata("design:type", String),
1690
- __metadata("design:paramtypes", [String])
1691
- ], FsFormGreaterDirective.prototype, "validationMessage", null);
1692
- FsFormGreaterDirective = __decorate([
1693
- Directive({
1694
- selector: '[fsFormGreater]',
1695
- providers: [
1696
- VALIDATE_MESSAGE_PROVIDER
1697
- ],
1698
- })
1699
- ], FsFormGreaterDirective);
1631
+ }
1632
+ FsFormGreaterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormGreaterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1633
+ FsFormGreaterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormGreaterDirective, selector: "[fsFormGreater]", inputs: { fsFormGreater: "fsFormGreater", validationMessage: ["fsFormGreaterMessage", "validationMessage"] }, providers: [
1634
+ VALIDATE_MESSAGE_PROVIDER
1635
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1636
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormGreaterDirective, decorators: [{
1637
+ type: Directive,
1638
+ args: [{
1639
+ selector: '[fsFormGreater]',
1640
+ providers: [
1641
+ VALIDATE_MESSAGE_PROVIDER
1642
+ ],
1643
+ }]
1644
+ }], propDecorators: { fsFormGreater: [{
1645
+ type: Input
1646
+ }], validationMessage: [{
1647
+ type: Input,
1648
+ args: ['fsFormGreaterMessage']
1649
+ }] } });
1700
1650
 
1701
- let FsFormDateRangeDirective = class FsFormDateRangeDirective extends FsControlDirective {
1651
+ class FsFormDateRangeDirective extends FsControlDirective {
1702
1652
  set validationMessage(value) {
1703
1653
  this._validateMessages.dateRange = value;
1704
1654
  }
@@ -1713,26 +1663,27 @@ let FsFormDateRangeDirective = class FsFormDateRangeDirective extends FsControlD
1713
1663
  return null;
1714
1664
  }
1715
1665
  }
1716
- };
1717
- __decorate([
1718
- Input(),
1719
- __metadata("design:type", Object)
1720
- ], FsFormDateRangeDirective.prototype, "fsFormDateRange", void 0);
1721
- __decorate([
1722
- Input('fsFormDateRangeMessage'),
1723
- __metadata("design:type", String),
1724
- __metadata("design:paramtypes", [String])
1725
- ], FsFormDateRangeDirective.prototype, "validationMessage", null);
1726
- FsFormDateRangeDirective = __decorate([
1727
- Directive({
1728
- selector: '[fsFormDateRange]',
1729
- providers: [
1730
- VALIDATE_MESSAGE_PROVIDER
1731
- ],
1732
- })
1733
- ], FsFormDateRangeDirective);
1666
+ }
1667
+ FsFormDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1668
+ FsFormDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDateRangeDirective, selector: "[fsFormDateRange]", inputs: { fsFormDateRange: "fsFormDateRange", validationMessage: ["fsFormDateRangeMessage", "validationMessage"] }, providers: [
1669
+ VALIDATE_MESSAGE_PROVIDER
1670
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDateRangeDirective, decorators: [{
1672
+ type: Directive,
1673
+ args: [{
1674
+ selector: '[fsFormDateRange]',
1675
+ providers: [
1676
+ VALIDATE_MESSAGE_PROVIDER
1677
+ ],
1678
+ }]
1679
+ }], propDecorators: { fsFormDateRange: [{
1680
+ type: Input
1681
+ }], validationMessage: [{
1682
+ type: Input,
1683
+ args: ['fsFormDateRangeMessage']
1684
+ }] } });
1734
1685
 
1735
- let FsFormLesserDirective = class FsFormLesserDirective extends FsControlDirective {
1686
+ class FsFormLesserDirective extends FsControlDirective {
1736
1687
  set validationMessage(value) {
1737
1688
  this._validateMessages.lesser = value;
1738
1689
  }
@@ -1747,26 +1698,27 @@ let FsFormLesserDirective = class FsFormLesserDirective extends FsControlDirecti
1747
1698
  }
1748
1699
  return FsValidators.numeric(this._control);
1749
1700
  }
1750
- };
1751
- __decorate([
1752
- Input(),
1753
- __metadata("design:type", Object)
1754
- ], FsFormLesserDirective.prototype, "fsFormLesser", void 0);
1755
- __decorate([
1756
- Input('fsFormLesserMessage'),
1757
- __metadata("design:type", String),
1758
- __metadata("design:paramtypes", [String])
1759
- ], FsFormLesserDirective.prototype, "validationMessage", null);
1760
- FsFormLesserDirective = __decorate([
1761
- Directive({
1762
- selector: '[fsFormLesser]',
1763
- providers: [
1764
- VALIDATE_MESSAGE_PROVIDER
1765
- ],
1766
- })
1767
- ], FsFormLesserDirective);
1701
+ }
1702
+ FsFormLesserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormLesserDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1703
+ FsFormLesserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormLesserDirective, selector: "[fsFormLesser]", inputs: { fsFormLesser: "fsFormLesser", validationMessage: ["fsFormLesserMessage", "validationMessage"] }, providers: [
1704
+ VALIDATE_MESSAGE_PROVIDER
1705
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1706
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormLesserDirective, decorators: [{
1707
+ type: Directive,
1708
+ args: [{
1709
+ selector: '[fsFormLesser]',
1710
+ providers: [
1711
+ VALIDATE_MESSAGE_PROVIDER
1712
+ ],
1713
+ }]
1714
+ }], propDecorators: { fsFormLesser: [{
1715
+ type: Input
1716
+ }], validationMessage: [{
1717
+ type: Input,
1718
+ args: ['fsFormLesserMessage']
1719
+ }] } });
1768
1720
 
1769
- let FsFormUrlDirective = class FsFormUrlDirective extends FsControlDirective {
1721
+ class FsFormUrlDirective extends FsControlDirective {
1770
1722
  constructor() {
1771
1723
  super(...arguments);
1772
1724
  this.fsFormUrlProtocol = false;
@@ -1785,30 +1737,29 @@ let FsFormUrlDirective = class FsFormUrlDirective extends FsControlDirective {
1785
1737
  return null;
1786
1738
  }
1787
1739
  }
1788
- };
1789
- __decorate([
1790
- Input(),
1791
- __metadata("design:type", Object)
1792
- ], FsFormUrlDirective.prototype, "fsFormUrl", void 0);
1793
- __decorate([
1794
- Input(),
1795
- __metadata("design:type", Object)
1796
- ], FsFormUrlDirective.prototype, "fsFormUrlProtocol", void 0);
1797
- __decorate([
1798
- Input('fsFormUrlMessage'),
1799
- __metadata("design:type", String),
1800
- __metadata("design:paramtypes", [String])
1801
- ], FsFormUrlDirective.prototype, "validationMessage", null);
1802
- FsFormUrlDirective = __decorate([
1803
- Directive({
1804
- selector: '[fsFormUrl]',
1805
- providers: [
1806
- VALIDATE_MESSAGE_PROVIDER
1807
- ],
1808
- })
1809
- ], FsFormUrlDirective);
1740
+ }
1741
+ FsFormUrlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormUrlDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1742
+ FsFormUrlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormUrlDirective, selector: "[fsFormUrl]", inputs: { fsFormUrl: "fsFormUrl", fsFormUrlProtocol: "fsFormUrlProtocol", validationMessage: ["fsFormUrlMessage", "validationMessage"] }, providers: [
1743
+ VALIDATE_MESSAGE_PROVIDER
1744
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1745
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormUrlDirective, decorators: [{
1746
+ type: Directive,
1747
+ args: [{
1748
+ selector: '[fsFormUrl]',
1749
+ providers: [
1750
+ VALIDATE_MESSAGE_PROVIDER
1751
+ ],
1752
+ }]
1753
+ }], propDecorators: { fsFormUrl: [{
1754
+ type: Input
1755
+ }], fsFormUrlProtocol: [{
1756
+ type: Input
1757
+ }], validationMessage: [{
1758
+ type: Input,
1759
+ args: ['fsFormUrlMessage']
1760
+ }] } });
1810
1761
 
1811
- let FsSubmitButtonDirective = class FsSubmitButtonDirective {
1762
+ class FsSubmitButtonDirective {
1812
1763
  constructor(_matButton, _form, _elementRef, _cdRef) {
1813
1764
  this._matButton = _matButton;
1814
1765
  this._form = _form;
@@ -1922,63 +1873,58 @@ let FsSubmitButtonDirective = class FsSubmitButtonDirective {
1922
1873
  return new DOMParser().parseFromString(`<svg class="svg-icon svg-icon-error" xmlns="http://www.w3.org/2000/svg" width="38px" height="38px" viewBox="0 0 16 16"><g><path d="M8 1c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7zM8 0c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8v0z" data-original="#444444" data-old_color="#444444"/><path d="M12.2 10.8l-2.8-2.8 2.8-2.8-1.4-1.4-2.8 2.8-2.8-2.8-1.4 1.4 2.8 2.8-2.8 2.8 1.4 1.4 2.8-2.8 2.8 2.8z"/></g> </svg>`, 'text/xml').firstChild;
1923
1874
  }
1924
1875
  }
1925
- };
1926
- FsSubmitButtonDirective.ctorParameters = () => [
1927
- { type: MatButton, decorators: [{ type: Optional }, { type: Host }] },
1928
- { type: FsFormDirective, decorators: [{ type: Optional }] },
1929
- { type: ElementRef },
1930
- { type: ChangeDetectorRef }
1931
- ];
1932
- __decorate([
1933
- Input(),
1934
- __metadata("design:type", Object)
1935
- ], FsSubmitButtonDirective.prototype, "name", void 0);
1936
- __decorate([
1937
- Input(),
1938
- __metadata("design:type", Object)
1939
- ], FsSubmitButtonDirective.prototype, "dirtySubmit", void 0);
1940
- __decorate([
1941
- HostBinding('style.transition'),
1942
- __metadata("design:type", Object)
1943
- ], FsSubmitButtonDirective.prototype, "transitionStyle", void 0);
1944
- FsSubmitButtonDirective = __decorate([
1945
- Directive({
1946
- selector: 'button[type="submit"]',
1947
- }),
1948
- __param(0, Optional()), __param(0, Host()),
1949
- __param(1, Optional()),
1950
- __metadata("design:paramtypes", [MatButton,
1951
- FsFormDirective,
1952
- ElementRef,
1953
- ChangeDetectorRef])
1954
- ], FsSubmitButtonDirective);
1876
+ }
1877
+ FsSubmitButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsSubmitButtonDirective, deps: [{ token: i1$1.MatButton, host: true, optional: true }, { token: FsFormDirective, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1878
+ FsSubmitButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsSubmitButtonDirective, selector: "button[type=\"submit\"]", inputs: { name: "name", dirtySubmit: "dirtySubmit" }, host: { properties: { "style.transition": "this.transitionStyle" } }, ngImport: i0 });
1879
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsSubmitButtonDirective, decorators: [{
1880
+ type: Directive,
1881
+ args: [{
1882
+ selector: 'button[type="submit"]',
1883
+ }]
1884
+ }], ctorParameters: function () { return [{ type: i1$1.MatButton, decorators: [{
1885
+ type: Optional
1886
+ }, {
1887
+ type: Host
1888
+ }] }, { type: FsFormDirective, decorators: [{
1889
+ type: Optional
1890
+ }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { name: [{
1891
+ type: Input
1892
+ }], dirtySubmit: [{
1893
+ type: Input
1894
+ }], transitionStyle: [{
1895
+ type: HostBinding,
1896
+ args: ['style.transition']
1897
+ }] } });
1955
1898
 
1956
- let FsFormValidateDirective = class FsFormValidateDirective extends FsControlDirective {
1899
+ class FsFormValidateDirective extends FsControlDirective {
1957
1900
  ngOnChanges() {
1958
1901
  this._control.updateValueAndValidity();
1959
1902
  }
1960
1903
  validateAsync(control) {
1961
1904
  return FsValidators.func(this._control, this.validateFn, this.validateFnData);
1962
1905
  }
1963
- };
1964
- __decorate([
1965
- Input('validate'),
1966
- __metadata("design:type", Object)
1967
- ], FsFormValidateDirective.prototype, "validateFn", void 0);
1968
- __decorate([
1969
- Input('validateData'),
1970
- __metadata("design:type", Object)
1971
- ], FsFormValidateDirective.prototype, "validateFnData", void 0);
1972
- FsFormValidateDirective = __decorate([
1973
- Directive({
1974
- selector: '[validate]',
1975
- providers: [
1976
- VALIDATE_MESSAGE_PROVIDER
1977
- ],
1978
- })
1979
- ], FsFormValidateDirective);
1906
+ }
1907
+ FsFormValidateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormValidateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1908
+ FsFormValidateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormValidateDirective, selector: "[validate]", inputs: { validateFn: ["validate", "validateFn"], validateFnData: ["validateData", "validateFnData"] }, providers: [
1909
+ VALIDATE_MESSAGE_PROVIDER
1910
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
1911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormValidateDirective, decorators: [{
1912
+ type: Directive,
1913
+ args: [{
1914
+ selector: '[validate]',
1915
+ providers: [
1916
+ VALIDATE_MESSAGE_PROVIDER
1917
+ ],
1918
+ }]
1919
+ }], propDecorators: { validateFn: [{
1920
+ type: Input,
1921
+ args: ['validate']
1922
+ }], validateFnData: [{
1923
+ type: Input,
1924
+ args: ['validateData']
1925
+ }] } });
1980
1926
 
1981
- let FsFormDialogActionsComponent = class FsFormDialogActionsComponent {
1927
+ class FsFormDialogActionsComponent {
1982
1928
  constructor(_form, _dialogRef, _cdRef) {
1983
1929
  this._form = _form;
1984
1930
  this._dialogRef = _dialogRef;
@@ -2027,118 +1973,167 @@ let FsFormDialogActionsComponent = class FsFormDialogActionsComponent {
2027
1973
  this._destroy$.next();
2028
1974
  this._destroy$.complete();
2029
1975
  }
2030
- };
2031
- FsFormDialogActionsComponent.ctorParameters = () => [
2032
- { type: FsFormDirective, decorators: [{ type: Optional }] },
2033
- { type: MatDialogRef, decorators: [{ type: Optional }] },
2034
- { type: ChangeDetectorRef }
2035
- ];
2036
- __decorate([
2037
- Input(),
2038
- __metadata("design:type", Object)
2039
- ], FsFormDialogActionsComponent.prototype, "save", void 0);
2040
- __decorate([
2041
- Input(),
2042
- __metadata("design:type", Object)
2043
- ], FsFormDialogActionsComponent.prototype, "create", void 0);
2044
- __decorate([
2045
- Input(),
2046
- __metadata("design:type", Object)
2047
- ], FsFormDialogActionsComponent.prototype, "close", void 0);
2048
- __decorate([
2049
- Input(),
2050
- __metadata("design:type", String)
2051
- ], FsFormDialogActionsComponent.prototype, "name", void 0);
2052
- FsFormDialogActionsComponent = __decorate([
2053
- Component({
2054
- selector: 'fs-form-dialog-actions',
2055
- template: "<div class=\"buttons\">\r\n <ng-container *ngIf=\"save\">\r\n <button \r\n mat-button \r\n type=\"submit\"\r\n color=\"primary\" \r\n [name]=\"name\">\r\n {{create ? 'Create' : 'Save'}}\r\n </button>\r\n <button \r\n mat-button \r\n type=\"button\"\r\n [disabled]=\"close && !dirty && !create\"\r\n [matDialogClose]=\"null\">\r\n Cancel\r\n </button>\r\n </ng-container>\r\n\r\n <ng-content></ng-content>\r\n <div class=\"close\" *ngIf=\"close\">\r\n <button \r\n mat-button \r\n type=\"button\"\r\n [color]=\"dirty ? 'basic' : 'primary'\"\r\n (click)=\"closeClick()\">\r\n Close\r\n </button>\r\n </div>\r\n</div>",
2056
- changeDetection: ChangeDetectionStrategy.OnPush,
2057
- styles: [".buttons{display:flex;flex-grow:1;align-items:center}.buttons .close{display:flex;flex-grow:1;justify-content:flex-end}:host{display:flex;flex-grow:1}@media only screen and (max-width:599px){.buttons{flex-direction:column}}"]
2058
- }),
2059
- __param(0, Optional()),
2060
- __param(1, Optional()),
2061
- __metadata("design:paramtypes", [FsFormDirective,
2062
- MatDialogRef,
2063
- ChangeDetectorRef])
2064
- ], FsFormDialogActionsComponent);
1976
+ }
1977
+ FsFormDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDialogActionsComponent, deps: [{ token: FsFormDirective, optional: true }, { token: i2$1.MatDialogRef, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1978
+ FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: { save: "save", create: "create", close: "close", name: "name" }, ngImport: i0, template: "<div class=\"buttons\">\r\n <ng-container *ngIf=\"save\">\r\n <button \r\n mat-button \r\n type=\"submit\"\r\n color=\"primary\" \r\n [name]=\"name\">\r\n {{create ? 'Create' : 'Save'}}\r\n </button>\r\n <button \r\n mat-button \r\n type=\"button\"\r\n [disabled]=\"close && !dirty && !create\"\r\n [matDialogClose]=\"null\">\r\n Cancel\r\n </button>\r\n </ng-container>\r\n\r\n <ng-content></ng-content>\r\n <div class=\"close\" *ngIf=\"close\">\r\n <button \r\n mat-button \r\n type=\"button\"\r\n [color]=\"dirty ? 'basic' : 'primary'\"\r\n (click)=\"closeClick()\">\r\n Close\r\n </button>\r\n </div>\r\n</div>", styles: [".buttons{display:flex;flex-grow:1;align-items:center}.buttons .close{display:flex;flex-grow:1;justify-content:flex-end}:host{display:flex;flex-grow:1}@media only screen and (max-width: 599px){.buttons{flex-direction:column}}\n"], components: [{ 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"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FsSubmitButtonDirective, selector: "button[type=\"submit\"]", inputs: ["name", "dirtySubmit"] }, { type: i2$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
1980
+ type: Component,
1981
+ args: [{
1982
+ selector: 'fs-form-dialog-actions',
1983
+ templateUrl: './form-dialog-actions.component.html',
1984
+ styleUrls: ['./form-dialog-actions.component.scss'],
1985
+ changeDetection: ChangeDetectionStrategy.OnPush,
1986
+ }]
1987
+ }], ctorParameters: function () { return [{ type: FsFormDirective, decorators: [{
1988
+ type: Optional
1989
+ }] }, { type: i2$1.MatDialogRef, decorators: [{
1990
+ type: Optional
1991
+ }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { save: [{
1992
+ type: Input
1993
+ }], create: [{
1994
+ type: Input
1995
+ }], close: [{
1996
+ type: Input
1997
+ }], name: [{
1998
+ type: Input
1999
+ }] } });
2065
2000
 
2066
- var FsFormModule_1;
2067
- let FsFormModule = FsFormModule_1 = class FsFormModule {
2001
+ class FsFormModule {
2068
2002
  static forRoot() {
2069
2003
  return {
2070
- ngModule: FsFormModule_1,
2004
+ ngModule: FsFormModule,
2071
2005
  };
2072
2006
  }
2073
- };
2074
- FsFormModule = FsFormModule_1 = __decorate([
2075
- NgModule({
2076
- imports: [
2007
+ }
2008
+ FsFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2009
+ FsFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormModule, declarations: [FsFormDirective,
2010
+ FsControlDirective,
2011
+ FsFormRequiredDirective,
2012
+ FsFormMinDirective,
2013
+ FsFormMaxDirective,
2014
+ FsFormMinLengthDirective,
2015
+ FsFormMaxLengthDirective,
2016
+ FsFormEmailDirective,
2017
+ FsFormEmailsDirective,
2018
+ FsFormPhoneDirective,
2019
+ FsFormCompareDirective,
2020
+ FsFormIntegerDirective,
2021
+ FsFormNumericDirective,
2022
+ FsFormPatternDirective,
2023
+ FsFormFunctionDirective,
2024
+ FsFormDateRangeDirective,
2025
+ FsFormGreaterDirective,
2026
+ FsFormLesserDirective,
2027
+ FsFormUrlDirective,
2028
+ FsFormDialogCloseDirective,
2029
+ FsSubmitButtonDirective,
2030
+ FsFormValidateDirective,
2031
+ FsFormDialogActionsComponent], imports: [CommonModule,
2032
+ FormsModule,
2033
+ MatButtonModule,
2034
+ MatDialogModule], exports: [FsFormDirective,
2035
+ FsControlDirective,
2036
+ FsFormRequiredDirective,
2037
+ FsFormMinDirective,
2038
+ FsFormMaxDirective,
2039
+ FsFormMinLengthDirective,
2040
+ FsFormMaxLengthDirective,
2041
+ FsFormEmailDirective,
2042
+ FsFormEmailsDirective,
2043
+ FsFormPhoneDirective,
2044
+ FsFormCompareDirective,
2045
+ FsFormIntegerDirective,
2046
+ FsFormNumericDirective,
2047
+ FsFormPatternDirective,
2048
+ FsFormFunctionDirective,
2049
+ FsFormDateRangeDirective,
2050
+ FsFormGreaterDirective,
2051
+ FsFormLesserDirective,
2052
+ FsFormUrlDirective,
2053
+ FsFormDialogCloseDirective,
2054
+ FsSubmitButtonDirective,
2055
+ FsFormValidateDirective,
2056
+ FsFormDialogActionsComponent] });
2057
+ FsFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormModule, providers: [
2058
+ {
2059
+ provide: ErrorStateMatcher,
2060
+ useClass: ShowOnDirtyErrorStateMatcher,
2061
+ },
2062
+ ], imports: [[
2077
2063
  CommonModule,
2078
2064
  FormsModule,
2079
2065
  MatButtonModule,
2080
2066
  MatDialogModule,
2081
- ],
2082
- declarations: [
2083
- FsFormDirective,
2084
- FsControlDirective,
2085
- FsFormRequiredDirective,
2086
- FsFormMinDirective,
2087
- FsFormMaxDirective,
2088
- FsFormMinLengthDirective,
2089
- FsFormMaxLengthDirective,
2090
- FsFormEmailDirective,
2091
- FsFormEmailsDirective,
2092
- FsFormPhoneDirective,
2093
- FsFormCompareDirective,
2094
- FsFormIntegerDirective,
2095
- FsFormNumericDirective,
2096
- FsFormPatternDirective,
2097
- FsFormFunctionDirective,
2098
- FsFormDateRangeDirective,
2099
- FsFormGreaterDirective,
2100
- FsFormLesserDirective,
2101
- FsFormUrlDirective,
2102
- FsFormDialogCloseDirective,
2103
- FsSubmitButtonDirective,
2104
- FsFormValidateDirective,
2105
- FsFormDialogActionsComponent,
2106
- ],
2107
- exports: [
2108
- FsFormDirective,
2109
- FsControlDirective,
2110
- FsFormRequiredDirective,
2111
- FsFormMinDirective,
2112
- FsFormMaxDirective,
2113
- FsFormMinLengthDirective,
2114
- FsFormMaxLengthDirective,
2115
- FsFormEmailDirective,
2116
- FsFormEmailsDirective,
2117
- FsFormPhoneDirective,
2118
- FsFormCompareDirective,
2119
- FsFormIntegerDirective,
2120
- FsFormNumericDirective,
2121
- FsFormPatternDirective,
2122
- FsFormFunctionDirective,
2123
- FsFormDateRangeDirective,
2124
- FsFormGreaterDirective,
2125
- FsFormLesserDirective,
2126
- FsFormUrlDirective,
2127
- FsFormDialogCloseDirective,
2128
- FsSubmitButtonDirective,
2129
- FsFormValidateDirective,
2130
- FsFormDialogActionsComponent,
2131
- ],
2132
- providers: [
2133
- {
2134
- provide: ErrorStateMatcher,
2135
- useClass: ShowOnDirtyErrorStateMatcher,
2136
- },
2137
- ],
2138
- })
2139
- ], FsFormModule);
2067
+ ]] });
2068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFormModule, decorators: [{
2069
+ type: NgModule,
2070
+ args: [{
2071
+ imports: [
2072
+ CommonModule,
2073
+ FormsModule,
2074
+ MatButtonModule,
2075
+ MatDialogModule,
2076
+ ],
2077
+ declarations: [
2078
+ FsFormDirective,
2079
+ FsControlDirective,
2080
+ FsFormRequiredDirective,
2081
+ FsFormMinDirective,
2082
+ FsFormMaxDirective,
2083
+ FsFormMinLengthDirective,
2084
+ FsFormMaxLengthDirective,
2085
+ FsFormEmailDirective,
2086
+ FsFormEmailsDirective,
2087
+ FsFormPhoneDirective,
2088
+ FsFormCompareDirective,
2089
+ FsFormIntegerDirective,
2090
+ FsFormNumericDirective,
2091
+ FsFormPatternDirective,
2092
+ FsFormFunctionDirective,
2093
+ FsFormDateRangeDirective,
2094
+ FsFormGreaterDirective,
2095
+ FsFormLesserDirective,
2096
+ FsFormUrlDirective,
2097
+ FsFormDialogCloseDirective,
2098
+ FsSubmitButtonDirective,
2099
+ FsFormValidateDirective,
2100
+ FsFormDialogActionsComponent,
2101
+ ],
2102
+ exports: [
2103
+ FsFormDirective,
2104
+ FsControlDirective,
2105
+ FsFormRequiredDirective,
2106
+ FsFormMinDirective,
2107
+ FsFormMaxDirective,
2108
+ FsFormMinLengthDirective,
2109
+ FsFormMaxLengthDirective,
2110
+ FsFormEmailDirective,
2111
+ FsFormEmailsDirective,
2112
+ FsFormPhoneDirective,
2113
+ FsFormCompareDirective,
2114
+ FsFormIntegerDirective,
2115
+ FsFormNumericDirective,
2116
+ FsFormPatternDirective,
2117
+ FsFormFunctionDirective,
2118
+ FsFormDateRangeDirective,
2119
+ FsFormGreaterDirective,
2120
+ FsFormLesserDirective,
2121
+ FsFormUrlDirective,
2122
+ FsFormDialogCloseDirective,
2123
+ FsSubmitButtonDirective,
2124
+ FsFormValidateDirective,
2125
+ FsFormDialogActionsComponent,
2126
+ ],
2127
+ providers: [
2128
+ {
2129
+ provide: ErrorStateMatcher,
2130
+ useClass: ShowOnDirtyErrorStateMatcher,
2131
+ },
2132
+ ],
2133
+ }]
2134
+ }] });
2140
2135
 
2141
- let FormDeactivateGuard = class FormDeactivateGuard {
2136
+ class FormDeactivateGuard {
2142
2137
  constructor(_prompt) {
2143
2138
  this._prompt = _prompt;
2144
2139
  }
@@ -2159,17 +2154,15 @@ let FormDeactivateGuard = class FormDeactivateGuard {
2159
2154
  return confirmResultContinue(result);
2160
2155
  }));
2161
2156
  }
2162
- };
2163
- FormDeactivateGuard.ctorParameters = () => [
2164
- { type: FsPrompt }
2165
- ];
2166
- FormDeactivateGuard.ɵprov = ɵɵdefineInjectable({ factory: function FormDeactivateGuard_Factory() { return new FormDeactivateGuard(ɵɵinject(FsPrompt)); }, token: FormDeactivateGuard, providedIn: "root" });
2167
- FormDeactivateGuard = __decorate([
2168
- Injectable({
2169
- providedIn: 'root'
2170
- }),
2171
- __metadata("design:paramtypes", [FsPrompt])
2172
- ], FormDeactivateGuard);
2157
+ }
2158
+ FormDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormDeactivateGuard, deps: [{ token: i3.FsPrompt }], target: i0.ɵɵFactoryTarget.Injectable });
2159
+ FormDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormDeactivateGuard, providedIn: 'root' });
2160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormDeactivateGuard, decorators: [{
2161
+ type: Injectable,
2162
+ args: [{
2163
+ providedIn: 'root'
2164
+ }]
2165
+ }], ctorParameters: function () { return [{ type: i3.FsPrompt }]; } });
2173
2166
 
2174
2167
  // Modules
2175
2168
 
@@ -2177,5 +2170,5 @@ FormDeactivateGuard = __decorate([
2177
2170
  * Generated bundle index. Do not edit.
2178
2171
  */
2179
2172
 
2180
- export { ConfirmResult, FormDeactivateGuard, FormStatus, FsForm, FsFormDialogActionsComponent, FsFormDirective, FsFormModule, FsValidators, FsFormDialogCloseDirective as ɵa, FsControlDirective as ɵb, VALIDATE_MESSAGES as ɵc, VALIDATE_MESSAGE_PROVIDER as ɵd, messageProviderFactory as ɵe, FsFormRequiredDirective as ɵf, FsFormMinDirective as ɵg, FsFormMaxDirective as ɵh, FsFormMinLengthDirective as ɵi, FsFormMaxLengthDirective as ɵj, FsFormEmailDirective as ɵk, FsFormEmailsDirective as ɵl, FsFormPhoneDirective as ɵm, FsFormCompareDirective as ɵn, FsFormIntegerDirective as ɵo, FsFormNumericDirective as ɵp, FsFormPatternDirective as ɵq, FsFormFunctionDirective as ɵr, FsFormDateRangeDirective as ɵs, FsFormGreaterDirective as ɵt, FsFormLesserDirective as ɵu, FsFormUrlDirective as ɵv, FsSubmitButtonDirective as ɵw, FsFormValidateDirective as ɵx };
2173
+ export { ConfirmResult, FormDeactivateGuard, FormStatus, FsControlDirective, FsForm, FsFormCompareDirective, FsFormDateRangeDirective, FsFormDialogActionsComponent, FsFormDialogCloseDirective, FsFormDirective, FsFormEmailDirective, FsFormEmailsDirective, FsFormFunctionDirective, FsFormGreaterDirective, FsFormIntegerDirective, FsFormLesserDirective, FsFormMaxDirective, FsFormMaxLengthDirective, FsFormMinDirective, FsFormMinLengthDirective, FsFormModule, FsFormNumericDirective, FsFormPatternDirective, FsFormPhoneDirective, FsFormRequiredDirective, FsFormUrlDirective, FsFormValidateDirective, FsSubmitButtonDirective, FsValidators };
2181
2174
  //# sourceMappingURL=firestitch-form.js.map