@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,223 +1,355 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/button'), require('@angular/material/dialog'), require('@angular/material/core'), require('@angular/material/tabs'), require('@firestitch/message'), require('@firestitch/prompt'), require('@firestitch/common'), require('@firestitch/drawer'), require('rxjs'), require('rxjs/operators'), require('lodash-es'), require('date-fns')) :
3
- typeof define === 'function' && define.amd ? define('@firestitch/form', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/button', '@angular/material/dialog', '@angular/material/core', '@angular/material/tabs', '@firestitch/message', '@firestitch/prompt', '@firestitch/common', '@firestitch/drawer', 'rxjs', 'rxjs/operators', 'lodash-es', 'date-fns'], factory) :
4
- (global = global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.form = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.button, global.ng.material.dialog, global.ng.material.core, global.ng.material.tabs, global.message, global.prompt, global.common$1, global.drawer, global.rxjs, global.rxjs.operators, global.lodashEs, global.dateFns));
5
- }(this, (function (exports, core, common, forms, button, dialog, core$1, tabs, message, prompt, common$1, drawer, rxjs, operators, lodashEs, dateFns) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/button'), require('@angular/material/dialog'), require('@angular/material/core'), require('@angular/material/tabs'), require('@firestitch/message'), require('@firestitch/common'), require('@firestitch/drawer'), require('rxjs'), require('rxjs/operators'), require('@firestitch/prompt'), require('lodash-es'), require('date-fns')) :
3
+ typeof define === 'function' && define.amd ? define('@firestitch/form', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/button', '@angular/material/dialog', '@angular/material/core', '@angular/material/tabs', '@firestitch/message', '@firestitch/common', '@firestitch/drawer', 'rxjs', 'rxjs/operators', '@firestitch/prompt', 'lodash-es', 'date-fns'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.form = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.button, global.ng.material.dialog, global.ng.material.core, global.ng.material.tabs, global.i2, global.common, global.i6, global.rxjs, global.rxjs.operators, global.i3, global.lodashEs, global.dateFns));
5
+ })(this, (function (exports, i0, i4, i1, i1$1, i2$1, core, tabs, i2, common, i6, rxjs, operators, i3, lodashEs, dateFns) { 'use strict';
6
6
 
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation. All rights reserved.
9
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
10
- this file except in compliance with the License. You may obtain a copy of the
11
- License at http://www.apache.org/licenses/LICENSE-2.0
12
-
13
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
15
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16
- MERCHANTABLITY OR NON-INFRINGEMENT.
17
-
18
- See the Apache Version 2.0 License for specific language governing permissions
19
- and limitations under the License.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- extendStatics(d, b);
32
- function __() { this.constructor = d; }
33
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
- }
35
-
36
- var __assign = function() {
37
- __assign = Object.assign || function __assign(t) {
38
- for (var s, i = 1, n = arguments.length; i < n; i++) {
39
- s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41
- }
42
- return t;
43
- };
44
- return __assign.apply(this, arguments);
45
- };
46
-
47
- function __rest(s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- }
58
-
59
- function __decorate(decorators, target, key, desc) {
60
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
- return c > 3 && r && Object.defineProperty(target, key, r), r;
64
- }
65
-
66
- function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
68
- }
69
-
70
- function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72
- }
73
-
74
- function __awaiter(thisArg, _arguments, P, generator) {
75
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
- return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
- step((generator = generator.apply(thisArg, _arguments || [])).next());
81
- });
82
- }
83
-
84
- function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87
- function verb(n) { return function (v) { return step([n, v]); }; }
88
- function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
105
- }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109
- }
110
- }
111
-
112
- function __exportStar(m, exports) {
113
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
114
- }
115
-
116
- function __values(o) {
117
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
118
- if (m) return m.call(o);
119
- if (o && typeof o.length === "number") return {
120
- next: function () {
121
- if (o && i >= o.length) o = void 0;
122
- return { value: o && o[i++], done: !o };
123
- }
124
- };
125
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
126
- }
127
-
128
- function __read(o, n) {
129
- var m = typeof Symbol === "function" && o[Symbol.iterator];
130
- if (!m) return o;
131
- var i = m.call(o), r, ar = [], e;
132
- try {
133
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
134
- }
135
- catch (error) { e = { error: error }; }
136
- finally {
137
- try {
138
- if (r && !r.done && (m = i["return"])) m.call(i);
139
- }
140
- finally { if (e) throw e.error; }
141
- }
142
- return ar;
143
- }
144
-
145
- function __spread() {
146
- for (var ar = [], i = 0; i < arguments.length; i++)
147
- ar = ar.concat(__read(arguments[i]));
148
- return ar;
149
- }
150
-
151
- function __spreadArrays() {
152
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
153
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
154
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
155
- r[k] = a[j];
156
- return r;
157
- };
158
-
159
- function __await(v) {
160
- return this instanceof __await ? (this.v = v, this) : new __await(v);
161
- }
162
-
163
- function __asyncGenerator(thisArg, _arguments, generator) {
164
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
165
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
166
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
167
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
168
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
169
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
170
- function fulfill(value) { resume("next", value); }
171
- function reject(value) { resume("throw", value); }
172
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
173
- }
174
-
175
- function __asyncDelegator(o) {
176
- var i, p;
177
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
178
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
179
- }
180
-
181
- function __asyncValues(o) {
182
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
183
- var m = o[Symbol.asyncIterator], i;
184
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
185
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
186
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
187
- }
188
-
189
- function __makeTemplateObject(cooked, raw) {
190
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
191
- return cooked;
192
- };
193
-
194
- function __importStar(mod) {
195
- if (mod && mod.__esModule) return mod;
196
- var result = {};
197
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
198
- result.default = mod;
199
- return result;
200
- }
201
-
202
- function __importDefault(mod) {
203
- return (mod && mod.__esModule) ? mod : { default: mod };
204
- }
205
-
206
- function __classPrivateFieldGet(receiver, privateMap) {
207
- if (!privateMap.has(receiver)) {
208
- throw new TypeError("attempted to get private field on non-instance");
209
- }
210
- return privateMap.get(receiver);
211
- }
212
-
213
- function __classPrivateFieldSet(receiver, privateMap, value) {
214
- if (!privateMap.has(receiver)) {
215
- throw new TypeError("attempted to set private field on non-instance");
216
- }
217
- privateMap.set(receiver, value);
218
- return value;
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
29
+ var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
30
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
+ var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
32
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
33
+
34
+ /*! *****************************************************************************
35
+ Copyright (c) Microsoft Corporation.
36
+
37
+ Permission to use, copy, modify, and/or distribute this software for any
38
+ purpose with or without fee is hereby granted.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
41
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
42
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
43
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
44
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
45
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
46
+ PERFORMANCE OF THIS SOFTWARE.
47
+ ***************************************************************************** */
48
+ /* global Reflect, Promise */
49
+ var extendStatics = function (d, b) {
50
+ extendStatics = Object.setPrototypeOf ||
51
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
52
+ function (d, b) { for (var p in b)
53
+ if (Object.prototype.hasOwnProperty.call(b, p))
54
+ d[p] = b[p]; };
55
+ return extendStatics(d, b);
56
+ };
57
+ function __extends(d, b) {
58
+ if (typeof b !== "function" && b !== null)
59
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
60
+ extendStatics(d, b);
61
+ function __() { this.constructor = d; }
62
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
63
+ }
64
+ var __assign = function () {
65
+ __assign = Object.assign || function __assign(t) {
66
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
67
+ s = arguments[i];
68
+ for (var p in s)
69
+ if (Object.prototype.hasOwnProperty.call(s, p))
70
+ t[p] = s[p];
71
+ }
72
+ return t;
73
+ };
74
+ return __assign.apply(this, arguments);
75
+ };
76
+ function __rest(s, e) {
77
+ var t = {};
78
+ for (var p in s)
79
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
80
+ t[p] = s[p];
81
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
82
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
83
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
84
+ t[p[i]] = s[p[i]];
85
+ }
86
+ return t;
87
+ }
88
+ function __decorate(decorators, target, key, desc) {
89
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
90
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
91
+ r = Reflect.decorate(decorators, target, key, desc);
92
+ else
93
+ for (var i = decorators.length - 1; i >= 0; i--)
94
+ if (d = decorators[i])
95
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
96
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
97
+ }
98
+ function __param(paramIndex, decorator) {
99
+ return function (target, key) { decorator(target, key, paramIndex); };
100
+ }
101
+ function __metadata(metadataKey, metadataValue) {
102
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
103
+ return Reflect.metadata(metadataKey, metadataValue);
104
+ }
105
+ function __awaiter(thisArg, _arguments, P, generator) {
106
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
107
+ return new (P || (P = Promise))(function (resolve, reject) {
108
+ function fulfilled(value) { try {
109
+ step(generator.next(value));
110
+ }
111
+ catch (e) {
112
+ reject(e);
113
+ } }
114
+ function rejected(value) { try {
115
+ step(generator["throw"](value));
116
+ }
117
+ catch (e) {
118
+ reject(e);
119
+ } }
120
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
121
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
122
+ });
123
+ }
124
+ function __generator(thisArg, body) {
125
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
126
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
127
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
128
+ function verb(n) { return function (v) { return step([n, v]); }; }
129
+ function step(op) {
130
+ if (f)
131
+ throw new TypeError("Generator is already executing.");
132
+ while (_)
133
+ try {
134
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
135
+ return t;
136
+ if (y = 0, t)
137
+ op = [op[0] & 2, t.value];
138
+ switch (op[0]) {
139
+ case 0:
140
+ case 1:
141
+ t = op;
142
+ break;
143
+ case 4:
144
+ _.label++;
145
+ return { value: op[1], done: false };
146
+ case 5:
147
+ _.label++;
148
+ y = op[1];
149
+ op = [0];
150
+ continue;
151
+ case 7:
152
+ op = _.ops.pop();
153
+ _.trys.pop();
154
+ continue;
155
+ default:
156
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
157
+ _ = 0;
158
+ continue;
159
+ }
160
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
161
+ _.label = op[1];
162
+ break;
163
+ }
164
+ if (op[0] === 6 && _.label < t[1]) {
165
+ _.label = t[1];
166
+ t = op;
167
+ break;
168
+ }
169
+ if (t && _.label < t[2]) {
170
+ _.label = t[2];
171
+ _.ops.push(op);
172
+ break;
173
+ }
174
+ if (t[2])
175
+ _.ops.pop();
176
+ _.trys.pop();
177
+ continue;
178
+ }
179
+ op = body.call(thisArg, _);
180
+ }
181
+ catch (e) {
182
+ op = [6, e];
183
+ y = 0;
184
+ }
185
+ finally {
186
+ f = t = 0;
187
+ }
188
+ if (op[0] & 5)
189
+ throw op[1];
190
+ return { value: op[0] ? op[1] : void 0, done: true };
191
+ }
192
+ }
193
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
194
+ if (k2 === undefined)
195
+ k2 = k;
196
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
197
+ }) : (function (o, m, k, k2) {
198
+ if (k2 === undefined)
199
+ k2 = k;
200
+ o[k2] = m[k];
201
+ });
202
+ function __exportStar(m, o) {
203
+ for (var p in m)
204
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
205
+ __createBinding(o, m, p);
206
+ }
207
+ function __values(o) {
208
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
209
+ if (m)
210
+ return m.call(o);
211
+ if (o && typeof o.length === "number")
212
+ return {
213
+ next: function () {
214
+ if (o && i >= o.length)
215
+ o = void 0;
216
+ return { value: o && o[i++], done: !o };
217
+ }
218
+ };
219
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
220
+ }
221
+ function __read(o, n) {
222
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
223
+ if (!m)
224
+ return o;
225
+ var i = m.call(o), r, ar = [], e;
226
+ try {
227
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
228
+ ar.push(r.value);
229
+ }
230
+ catch (error) {
231
+ e = { error: error };
232
+ }
233
+ finally {
234
+ try {
235
+ if (r && !r.done && (m = i["return"]))
236
+ m.call(i);
237
+ }
238
+ finally {
239
+ if (e)
240
+ throw e.error;
241
+ }
242
+ }
243
+ return ar;
244
+ }
245
+ /** @deprecated */
246
+ function __spread() {
247
+ for (var ar = [], i = 0; i < arguments.length; i++)
248
+ ar = ar.concat(__read(arguments[i]));
249
+ return ar;
250
+ }
251
+ /** @deprecated */
252
+ function __spreadArrays() {
253
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
254
+ s += arguments[i].length;
255
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
256
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
257
+ r[k] = a[j];
258
+ return r;
259
+ }
260
+ function __spreadArray(to, from, pack) {
261
+ if (pack || arguments.length === 2)
262
+ for (var i = 0, l = from.length, ar; i < l; i++) {
263
+ if (ar || !(i in from)) {
264
+ if (!ar)
265
+ ar = Array.prototype.slice.call(from, 0, i);
266
+ ar[i] = from[i];
267
+ }
268
+ }
269
+ return to.concat(ar || Array.prototype.slice.call(from));
270
+ }
271
+ function __await(v) {
272
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
273
+ }
274
+ function __asyncGenerator(thisArg, _arguments, generator) {
275
+ if (!Symbol.asyncIterator)
276
+ throw new TypeError("Symbol.asyncIterator is not defined.");
277
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
278
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
279
+ function verb(n) { if (g[n])
280
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
281
+ function resume(n, v) { try {
282
+ step(g[n](v));
283
+ }
284
+ catch (e) {
285
+ settle(q[0][3], e);
286
+ } }
287
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
288
+ function fulfill(value) { resume("next", value); }
289
+ function reject(value) { resume("throw", value); }
290
+ function settle(f, v) { if (f(v), q.shift(), q.length)
291
+ resume(q[0][0], q[0][1]); }
292
+ }
293
+ function __asyncDelegator(o) {
294
+ var i, p;
295
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
296
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
297
+ }
298
+ function __asyncValues(o) {
299
+ if (!Symbol.asyncIterator)
300
+ throw new TypeError("Symbol.asyncIterator is not defined.");
301
+ var m = o[Symbol.asyncIterator], i;
302
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
303
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
304
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
305
+ }
306
+ function __makeTemplateObject(cooked, raw) {
307
+ if (Object.defineProperty) {
308
+ Object.defineProperty(cooked, "raw", { value: raw });
309
+ }
310
+ else {
311
+ cooked.raw = raw;
312
+ }
313
+ return cooked;
314
+ }
315
+ ;
316
+ var __setModuleDefault = Object.create ? (function (o, v) {
317
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
318
+ }) : function (o, v) {
319
+ o["default"] = v;
320
+ };
321
+ function __importStar(mod) {
322
+ if (mod && mod.__esModule)
323
+ return mod;
324
+ var result = {};
325
+ if (mod != null)
326
+ for (var k in mod)
327
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
328
+ __createBinding(result, mod, k);
329
+ __setModuleDefault(result, mod);
330
+ return result;
331
+ }
332
+ function __importDefault(mod) {
333
+ return (mod && mod.__esModule) ? mod : { default: mod };
334
+ }
335
+ function __classPrivateFieldGet(receiver, state, kind, f) {
336
+ if (kind === "a" && !f)
337
+ throw new TypeError("Private accessor was defined without a getter");
338
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
339
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
340
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
341
+ }
342
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
343
+ if (kind === "m")
344
+ throw new TypeError("Private method is not writable");
345
+ if (kind === "a" && !f)
346
+ throw new TypeError("Private accessor was defined without a setter");
347
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
348
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
349
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
219
350
  }
220
351
 
352
+ exports.ConfirmResult = void 0;
221
353
  (function (ConfirmResult) {
222
354
  ConfirmResult["Save"] = "save";
223
355
  ConfirmResult["Discard"] = "discard";
@@ -305,46 +437,24 @@
305
437
  FsFormDialogCloseDirective.prototype.ngOnDestroy = function () {
306
438
  this.clicked$.complete();
307
439
  };
308
- __decorate([
309
- core.HostBinding('attr.type'),
310
- __metadata("design:type", Object)
311
- ], FsFormDialogCloseDirective.prototype, "type", void 0);
312
- __decorate([
313
- core.HostListener('click', ['$event.target']),
314
- __metadata("design:type", Function),
315
- __metadata("design:paramtypes", []),
316
- __metadata("design:returntype", void 0)
317
- ], FsFormDialogCloseDirective.prototype, "click", null);
318
- FsFormDialogCloseDirective = __decorate([
319
- core.Directive({
320
- selector: '[fsFormDialogClose],[fs-form-dialog-close]'
321
- })
322
- ], FsFormDialogCloseDirective);
323
440
  return FsFormDialogCloseDirective;
324
441
  }());
442
+ FsFormDialogCloseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDialogCloseDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
443
+ FsFormDialogCloseDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
444
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDialogCloseDirective, decorators: [{
445
+ type: i0.Directive,
446
+ args: [{
447
+ selector: '[fsFormDialogClose],[fs-form-dialog-close]'
448
+ }]
449
+ }], propDecorators: { type: [{
450
+ type: i0.HostBinding,
451
+ args: ['attr.type']
452
+ }], click: [{
453
+ type: i0.HostListener,
454
+ args: ['click', ['$event.target']]
455
+ }] } });
325
456
 
326
- var FsForm = /** @class */ (function () {
327
- function FsForm() {
328
- this._eventBus = new rxjs.Subject();
329
- }
330
- FsForm.prototype.broadcast = function (key, data) {
331
- this._eventBus.next({ key: key, data: data });
332
- };
333
- FsForm.prototype.on = function (key) {
334
- return this._eventBus.asObservable()
335
- .pipe(operators.filter(function (event) { return event.key === key; }), operators.map(function (event) { return event.data; }));
336
- };
337
- FsForm.ɵprov = core.ɵɵdefineInjectable({ factory: function FsForm_Factory() { return new FsForm(); }, token: FsForm, providedIn: "root" });
338
- FsForm = __decorate([
339
- core.Injectable({
340
- providedIn: 'root',
341
- }),
342
- __metadata("design:paramtypes", [])
343
- ], FsForm);
344
- return FsForm;
345
- }());
346
-
347
-
457
+ exports.FormStatus = void 0;
348
458
  (function (FormStatus) {
349
459
  FormStatus["Valid"] = "valid";
350
460
  FormStatus["Invalid"] = "invalid";
@@ -364,17 +474,17 @@
364
474
  var errors = null;
365
475
  if (control.invalid && control.errors) {
366
476
  errors = (_a = {},
367
- _a[key] = __assign({}, control.errors),
477
+ _a[key] = Object.assign({}, control.errors),
368
478
  _a);
369
479
  }
370
- if (control instanceof forms.FormGroup) {
480
+ if (control instanceof i1.FormGroup) {
371
481
  Object.entries(control.controls)
372
482
  .forEach(function (_a) {
373
483
  var _b = __read(_a, 2), name = _b[0], childControl = _b[1];
374
484
  var childErrors = getFormErrors(childControl, name);
375
485
  if (childErrors) {
376
486
  if (!errors) {
377
- errors = __assign({}, childErrors);
487
+ errors = Object.assign({}, childErrors);
378
488
  }
379
489
  else {
380
490
  Object.assign(errors, childErrors);
@@ -385,6 +495,28 @@
385
495
  return errors;
386
496
  }
387
497
 
498
+ var FsForm = /** @class */ (function () {
499
+ function FsForm() {
500
+ this._eventBus = new rxjs.Subject();
501
+ }
502
+ FsForm.prototype.broadcast = function (key, data) {
503
+ this._eventBus.next({ key: key, data: data });
504
+ };
505
+ FsForm.prototype.on = function (key) {
506
+ return this._eventBus.asObservable()
507
+ .pipe(operators.filter(function (event) { return event.key === key; }), operators.map(function (event) { return event.data; }));
508
+ };
509
+ return FsForm;
510
+ }());
511
+ FsForm.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsForm, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
512
+ FsForm.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsForm, providedIn: 'root' });
513
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsForm, decorators: [{
514
+ type: i0.Injectable,
515
+ args: [{
516
+ providedIn: 'root',
517
+ }]
518
+ }], ctorParameters: function () { return []; } });
519
+
388
520
  var FsFormDirective = /** @class */ (function () {
389
521
  function FsFormDirective(ngForm, _form, _element, _message, _prompt, _ngZone, _dialogRef, _drawerRef) {
390
522
  this.ngForm = ngForm;
@@ -409,15 +541,15 @@
409
541
  this.dirtySubmitButton = true;
410
542
  this.successDelay = 0;
411
543
  this.errorDelay = 1000;
412
- this.submitEvent = new core.EventEmitter();
413
- this.invalid = new core.EventEmitter();
414
- this.valid = new core.EventEmitter();
415
- this.submitted = new core.EventEmitter();
416
- this.reseted = new core.EventEmitter();
417
- this.cleared = new core.EventEmitter();
544
+ this.submitEvent = new i0.EventEmitter();
545
+ this.invalid = new i0.EventEmitter();
546
+ this.valid = new i0.EventEmitter();
547
+ this.submitted = new i0.EventEmitter();
548
+ this.reseted = new i0.EventEmitter();
549
+ this.cleared = new i0.EventEmitter();
418
550
  this.fsformClass = true;
419
- this._tabGroups = new core.QueryList();
420
- this._submitButtons = new core.QueryList();
551
+ this._tabGroups = new i0.QueryList();
552
+ this._submitButtons = new i0.QueryList();
421
553
  this._dialogBackdropEscape = false;
422
554
  this._snapshot = {};
423
555
  this._status$ = new rxjs.BehaviorSubject(exports.FormStatus.Valid);
@@ -427,14 +559,14 @@
427
559
  get: function () {
428
560
  return this._status$.getValue() === exports.FormStatus.Submitting;
429
561
  },
430
- enumerable: true,
562
+ enumerable: false,
431
563
  configurable: true
432
564
  });
433
565
  Object.defineProperty(FsFormDirective.prototype, "completing", {
434
566
  get: function () {
435
567
  return this._status$.getValue() === exports.FormStatus.Completing;
436
568
  },
437
- enumerable: true,
569
+ enumerable: false,
438
570
  configurable: true
439
571
  });
440
572
  Object.defineProperty(FsFormDirective.prototype, "_submitEvent", {
@@ -444,7 +576,7 @@
444
576
  submitter: this._submitter,
445
577
  };
446
578
  },
447
- enumerable: true,
579
+ enumerable: false,
448
580
  configurable: true
449
581
  });
450
582
  Object.defineProperty(FsFormDirective.prototype, "_formValidState$", {
@@ -470,7 +602,7 @@
470
602
  return submittedEvent;
471
603
  }));
472
604
  },
473
- enumerable: true,
605
+ enumerable: false,
474
606
  configurable: true
475
607
  });
476
608
  Object.defineProperty(FsFormDirective.prototype, "_formInvalidState$", {
@@ -479,15 +611,15 @@
479
611
  if (this.invalid) {
480
612
  this.invalid.emit(this._submitEvent);
481
613
  }
482
- var message$1 = 'Changes not saved. Please review errors highlighted in red.';
483
- this._message.error(message$1, { mode: message.MessageMode.Toast });
614
+ var message = 'Changes not saved. Please review errors highlighted in red.';
615
+ this._message.error(message, { mode: i2.MessageMode.Toast });
484
616
  var el = this._element.nativeElement.querySelector('.ng-invalid');
485
617
  if (el) {
486
618
  el.scrollIntoView({ behavior: 'smooth', block: 'center' });
487
619
  }
488
620
  return rxjs.throwError('Form validation error');
489
621
  },
490
- enumerable: true,
622
+ enumerable: false,
491
623
  configurable: true
492
624
  });
493
625
  Object.defineProperty(FsFormDirective.prototype, "_submitter", {
@@ -496,7 +628,7 @@
496
628
  ? this._activeSubmitButton.name
497
629
  : null;
498
630
  },
499
- enumerable: true,
631
+ enumerable: false,
500
632
  configurable: true
501
633
  });
502
634
  FsFormDirective.prototype.ngOnInit = function () {
@@ -566,13 +698,13 @@
566
698
  });
567
699
  };
568
700
  FsFormDirective.prototype.addSubmitButton = function (submitButton) {
569
- this._submitButtons.reset(__spread(this._submitButtons.toArray(), [
701
+ this._submitButtons.reset(__spreadArray(__spreadArray([], __read(this._submitButtons.toArray())), [
570
702
  submitButton,
571
703
  ]));
572
704
  };
573
705
  FsFormDirective.prototype.removeSubmitButton = function (submitButton) {
574
- this._submitButtons.reset(__spread(this._submitButtons.toArray()
575
- .filter(function (submitButton_) { return (submitButton !== submitButton_); })));
706
+ this._submitButtons.reset(__spreadArray([], __read(this._submitButtons.toArray()
707
+ .filter(function (submitButton_) { return (submitButton !== submitButton_); }))));
576
708
  };
577
709
  FsFormDirective.prototype._listenSubmit = function () {
578
710
  var _this = this;
@@ -872,7 +1004,7 @@
872
1004
  this.ngForm.form.registerControl = function (name, control) {
873
1005
  var el = _this._element.nativeElement.querySelector("input[name='" + name + "']");
874
1006
  if (el) {
875
- el.setAttribute('name', name + '_' + common$1.guid());
1007
+ el.setAttribute('name', name + '_' + common.guid());
876
1008
  if (!el.getAttribute('autocomplete')) {
877
1009
  el.setAttribute('autocomplete', 'none');
878
1010
  }
@@ -943,134 +1075,85 @@
943
1075
  console.groupEnd();
944
1076
  this._completeSubmit(false, null);
945
1077
  };
946
- FsFormDirective.ctorParameters = function () { return [
947
- { type: forms.NgForm, decorators: [{ type: core.Inject, args: [forms.NgForm,] }] },
948
- { type: FsForm },
949
- { type: core.ElementRef },
950
- { type: message.FsMessage },
951
- { type: prompt.FsPrompt },
952
- { type: core.NgZone },
953
- { type: dialog.MatDialogRef, decorators: [{ type: core.Optional }, { type: core.Inject, args: [dialog.MatDialogRef,] }] },
954
- { type: drawer.DrawerRef, decorators: [{ type: core.Optional }, { type: core.Inject, args: [drawer.DrawerRef,] }] }
955
- ]; };
956
- __decorate([
957
- core.Input(),
958
- __metadata("design:type", Object)
959
- ], FsFormDirective.prototype, "wrapperSelector", void 0);
960
- __decorate([
961
- core.Input(),
962
- __metadata("design:type", Object)
963
- ], FsFormDirective.prototype, "messageSelector", void 0);
964
- __decorate([
965
- core.Input(),
966
- __metadata("design:type", Object)
967
- ], FsFormDirective.prototype, "hintSelector", void 0);
968
- __decorate([
969
- core.Input(),
970
- __metadata("design:type", Object)
971
- ], FsFormDirective.prototype, "labelSelector", void 0);
972
- __decorate([
973
- core.Input(),
974
- __metadata("design:type", Object)
975
- ], FsFormDirective.prototype, "autocomplete", void 0);
976
- __decorate([
977
- core.Input(),
978
- __metadata("design:type", Object)
979
- ], FsFormDirective.prototype, "shortcuts", void 0);
980
- __decorate([
981
- core.Input(),
982
- __metadata("design:type", Object)
983
- ], FsFormDirective.prototype, "confirm", void 0);
984
- __decorate([
985
- core.Input(),
986
- __metadata("design:type", Object)
987
- ], FsFormDirective.prototype, "confirmDialog", void 0);
988
- __decorate([
989
- core.Input(),
990
- __metadata("design:type", Object)
991
- ], FsFormDirective.prototype, "confirmDrawer", void 0);
992
- __decorate([
993
- core.Input(),
994
- __metadata("design:type", Object)
995
- ], FsFormDirective.prototype, "confirmBrowser", void 0);
996
- __decorate([
997
- core.Input(),
998
- __metadata("design:type", Object)
999
- ], FsFormDirective.prototype, "confirmTabs", void 0);
1000
- __decorate([
1001
- core.Input(),
1002
- __metadata("design:type", Object)
1003
- ], FsFormDirective.prototype, "dirtySubmitButton", void 0);
1004
- __decorate([
1005
- core.Input(),
1006
- __metadata("design:type", Function)
1007
- ], FsFormDirective.prototype, "submit", void 0);
1008
- __decorate([
1009
- core.Input(),
1010
- __metadata("design:type", Object)
1011
- ], FsFormDirective.prototype, "successDelay", void 0);
1012
- __decorate([
1013
- core.Input(),
1014
- __metadata("design:type", Object)
1015
- ], FsFormDirective.prototype, "errorDelay", void 0);
1016
- __decorate([
1017
- core.Input(),
1018
- __metadata("design:type", tabs.MatTabGroup)
1019
- ], FsFormDirective.prototype, "tabGroup", void 0);
1020
- __decorate([
1021
- core.Output('fsForm'),
1022
- __metadata("design:type", core.EventEmitter)
1023
- ], FsFormDirective.prototype, "submitEvent", void 0);
1024
- __decorate([
1025
- core.Output(),
1026
- __metadata("design:type", core.EventEmitter)
1027
- ], FsFormDirective.prototype, "invalid", void 0);
1028
- __decorate([
1029
- core.Output(),
1030
- __metadata("design:type", core.EventEmitter)
1031
- ], FsFormDirective.prototype, "valid", void 0);
1032
- __decorate([
1033
- core.Output(),
1034
- __metadata("design:type", core.EventEmitter)
1035
- ], FsFormDirective.prototype, "submitted", void 0);
1036
- __decorate([
1037
- core.Output(),
1038
- __metadata("design:type", core.EventEmitter)
1039
- ], FsFormDirective.prototype, "reseted", void 0);
1040
- __decorate([
1041
- core.Output(),
1042
- __metadata("design:type", core.EventEmitter)
1043
- ], FsFormDirective.prototype, "cleared", void 0);
1044
- __decorate([
1045
- core.HostBinding('class.fs-form'),
1046
- __metadata("design:type", Object)
1047
- ], FsFormDirective.prototype, "fsformClass", void 0);
1048
- __decorate([
1049
- core.ContentChildren(FsFormDialogCloseDirective, { descendants: true }),
1050
- __metadata("design:type", core.QueryList)
1051
- ], FsFormDirective.prototype, "formDialogClose", void 0);
1052
- __decorate([
1053
- core.ContentChildren(tabs.MatTabGroup, { descendants: true }),
1054
- __metadata("design:type", core.QueryList)
1055
- ], FsFormDirective.prototype, "_tabGroups", void 0);
1056
- FsFormDirective = __decorate([
1057
- core.Directive({
1058
- selector: '[fsForm]',
1059
- }),
1060
- __param(0, core.Inject(forms.NgForm)),
1061
- __param(6, core.Optional()), __param(6, core.Inject(dialog.MatDialogRef)),
1062
- __param(7, core.Optional()), __param(7, core.Inject(drawer.DrawerRef)),
1063
- __metadata("design:paramtypes", [forms.NgForm,
1064
- FsForm,
1065
- core.ElementRef,
1066
- message.FsMessage,
1067
- prompt.FsPrompt,
1068
- core.NgZone,
1069
- dialog.MatDialogRef,
1070
- drawer.DrawerRef])
1071
- ], FsFormDirective);
1072
1078
  return FsFormDirective;
1073
1079
  }());
1080
+ FsFormDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDirective, deps: [{ token: i1.NgForm }, { token: FsForm }, { token: i0__namespace.ElementRef }, { token: i2__namespace.FsMessage }, { token: i3__namespace.FsPrompt }, { token: i0__namespace.NgZone }, { token: i2$1.MatDialogRef, optional: true }, { token: i6.DrawerRef, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1081
+ FsFormDirective.ɵdir = i0__namespace.ɵɵ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: tabs.MatTabGroup, descendants: true }], usesOnChanges: true, ngImport: i0__namespace });
1082
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDirective, decorators: [{
1083
+ type: i0.Directive,
1084
+ args: [{
1085
+ selector: '[fsForm]',
1086
+ }]
1087
+ }], ctorParameters: function () {
1088
+ return [{ type: i1__namespace.NgForm, decorators: [{
1089
+ type: i0.Inject,
1090
+ args: [i1.NgForm]
1091
+ }] }, { type: FsForm }, { type: i0__namespace.ElementRef }, { type: i2__namespace.FsMessage }, { type: i3__namespace.FsPrompt }, { type: i0__namespace.NgZone }, { type: i2__namespace$1.MatDialogRef, decorators: [{
1092
+ type: i0.Optional
1093
+ }, {
1094
+ type: i0.Inject,
1095
+ args: [i2$1.MatDialogRef]
1096
+ }] }, { type: i6__namespace.DrawerRef, decorators: [{
1097
+ type: i0.Optional
1098
+ }, {
1099
+ type: i0.Inject,
1100
+ args: [i6.DrawerRef]
1101
+ }] }];
1102
+ }, propDecorators: { wrapperSelector: [{
1103
+ type: i0.Input
1104
+ }], messageSelector: [{
1105
+ type: i0.Input
1106
+ }], hintSelector: [{
1107
+ type: i0.Input
1108
+ }], labelSelector: [{
1109
+ type: i0.Input
1110
+ }], autocomplete: [{
1111
+ type: i0.Input
1112
+ }], shortcuts: [{
1113
+ type: i0.Input
1114
+ }], confirm: [{
1115
+ type: i0.Input
1116
+ }], confirmDialog: [{
1117
+ type: i0.Input
1118
+ }], confirmDrawer: [{
1119
+ type: i0.Input
1120
+ }], confirmBrowser: [{
1121
+ type: i0.Input
1122
+ }], confirmTabs: [{
1123
+ type: i0.Input
1124
+ }], dirtySubmitButton: [{
1125
+ type: i0.Input
1126
+ }], submit: [{
1127
+ type: i0.Input
1128
+ }], successDelay: [{
1129
+ type: i0.Input
1130
+ }], errorDelay: [{
1131
+ type: i0.Input
1132
+ }], tabGroup: [{
1133
+ type: i0.Input
1134
+ }], submitEvent: [{
1135
+ type: i0.Output,
1136
+ args: ['fsForm']
1137
+ }], invalid: [{
1138
+ type: i0.Output
1139
+ }], valid: [{
1140
+ type: i0.Output
1141
+ }], submitted: [{
1142
+ type: i0.Output
1143
+ }], reseted: [{
1144
+ type: i0.Output
1145
+ }], cleared: [{
1146
+ type: i0.Output
1147
+ }], fsformClass: [{
1148
+ type: i0.HostBinding,
1149
+ args: ['class.fs-form']
1150
+ }], formDialogClose: [{
1151
+ type: i0.ContentChildren,
1152
+ args: [FsFormDialogCloseDirective, { descendants: true }]
1153
+ }], _tabGroups: [{
1154
+ type: i0.ContentChildren,
1155
+ args: [tabs.MatTabGroup, { descendants: true }]
1156
+ }] } });
1074
1157
 
1075
1158
  var ERROR_MESSAGES = {
1076
1159
  required: 'This field is required',
@@ -1092,13 +1175,13 @@
1092
1175
  lesser: 'Value must be less than $(1)',
1093
1176
  };
1094
1177
 
1095
- var VALIDATE_MESSAGES = new core.InjectionToken('fs.form.validate-messages');
1178
+ var VALIDATE_MESSAGES = new i0.InjectionToken('fs.form.validate-messages');
1096
1179
  var VALIDATE_MESSAGE_PROVIDER = {
1097
1180
  provide: VALIDATE_MESSAGES,
1098
1181
  useFactory: messageProviderFactory,
1099
1182
  };
1100
1183
  function messageProviderFactory() {
1101
- return __assign({}, ERROR_MESSAGES);
1184
+ return Object.assign({}, ERROR_MESSAGES);
1102
1185
  }
1103
1186
 
1104
1187
  var FsControlDirective = /** @class */ (function () {
@@ -1125,9 +1208,9 @@
1125
1208
  }
1126
1209
  Object.defineProperty(FsControlDirective.prototype, "validateMessages", {
1127
1210
  set: function (messages) {
1128
- this._validateMessages = __assign(__assign({}, this._validateMessages), messages);
1211
+ this._validateMessages = Object.assign(Object.assign({}, this._validateMessages), messages);
1129
1212
  },
1130
- enumerable: true,
1213
+ enumerable: false,
1131
1214
  configurable: true
1132
1215
  });
1133
1216
  FsControlDirective.prototype.ngOnInit = function () {
@@ -1308,68 +1391,53 @@
1308
1391
  }
1309
1392
  control.updateValueAndValidity();
1310
1393
  };
1311
- FsControlDirective.ctorParameters = function () { return [
1312
- { type: core.ElementRef },
1313
- { type: core.Renderer2 },
1314
- { type: core.Injector },
1315
- { type: undefined, decorators: [{ type: core.Self }, { type: core.Inject, args: [VALIDATE_MESSAGES,] }] },
1316
- { type: forms.NgControl, decorators: [{ type: core.Optional }] },
1317
- { type: FsFormDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [FsFormDirective,] }] }
1318
- ]; };
1319
- __decorate([
1320
- core.Input(),
1321
- __metadata("design:type", Object)
1322
- ], FsControlDirective.prototype, "wrapperSelector", void 0);
1323
- __decorate([
1324
- core.Input(),
1325
- __metadata("design:type", Object)
1326
- ], FsControlDirective.prototype, "messageSelector", void 0);
1327
- __decorate([
1328
- core.Input(),
1329
- __metadata("design:type", Object)
1330
- ], FsControlDirective.prototype, "hintSelector", void 0);
1331
- __decorate([
1332
- core.Input(),
1333
- __metadata("design:type", Object)
1334
- ], FsControlDirective.prototype, "labelSelector", void 0);
1335
- __decorate([
1336
- core.Input(),
1337
- __metadata("design:type", Object)
1338
- ], FsControlDirective.prototype, "appendMessageClass", void 0);
1339
- __decorate([
1340
- core.Input(),
1341
- __metadata("design:type", Object)
1342
- ], FsControlDirective.prototype, "appendLabelClass", void 0);
1343
- __decorate([
1344
- core.Input(),
1345
- __metadata("design:type", Object)
1346
- ], FsControlDirective.prototype, "appendErrorClass", void 0);
1347
- __decorate([
1348
- core.Input(),
1349
- __metadata("design:type", Object)
1350
- ], FsControlDirective.prototype, "appendHintClass", void 0);
1351
- __decorate([
1352
- core.Input(),
1353
- __metadata("design:type", Object),
1354
- __metadata("design:paramtypes", [Object])
1355
- ], FsControlDirective.prototype, "validateMessages", null);
1356
- FsControlDirective = __decorate([
1357
- core.Directive({
1358
- selector: '[fsFormControl]',
1359
- providers: [
1360
- VALIDATE_MESSAGE_PROVIDER
1361
- ],
1362
- }),
1363
- __param(3, core.Self()), __param(3, core.Inject(VALIDATE_MESSAGES)),
1364
- __param(4, core.Optional()),
1365
- __param(5, core.Optional()), __param(5, core.Inject(FsFormDirective)),
1366
- __metadata("design:paramtypes", [core.ElementRef,
1367
- core.Renderer2,
1368
- core.Injector, Object, forms.NgControl,
1369
- FsFormDirective])
1370
- ], FsControlDirective);
1371
1394
  return FsControlDirective;
1372
1395
  }());
1396
+ FsControlDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsControlDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: i0__namespace.Injector }, { token: VALIDATE_MESSAGES, self: true }, { token: i1__namespace.NgControl, optional: true }, { token: FsFormDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1397
+ FsControlDirective.ɵdir = i0__namespace.ɵɵ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: [
1398
+ VALIDATE_MESSAGE_PROVIDER
1399
+ ], ngImport: i0__namespace });
1400
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsControlDirective, decorators: [{
1401
+ type: i0.Directive,
1402
+ args: [{
1403
+ selector: '[fsFormControl]',
1404
+ providers: [
1405
+ VALIDATE_MESSAGE_PROVIDER
1406
+ ],
1407
+ }]
1408
+ }], ctorParameters: function () {
1409
+ return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.Injector }, { type: undefined, decorators: [{
1410
+ type: i0.Self
1411
+ }, {
1412
+ type: i0.Inject,
1413
+ args: [VALIDATE_MESSAGES]
1414
+ }] }, { type: i1__namespace.NgControl, decorators: [{
1415
+ type: i0.Optional
1416
+ }] }, { type: FsFormDirective, decorators: [{
1417
+ type: i0.Optional
1418
+ }, {
1419
+ type: i0.Inject,
1420
+ args: [FsFormDirective]
1421
+ }] }];
1422
+ }, propDecorators: { wrapperSelector: [{
1423
+ type: i0.Input
1424
+ }], messageSelector: [{
1425
+ type: i0.Input
1426
+ }], hintSelector: [{
1427
+ type: i0.Input
1428
+ }], labelSelector: [{
1429
+ type: i0.Input
1430
+ }], appendMessageClass: [{
1431
+ type: i0.Input
1432
+ }], appendLabelClass: [{
1433
+ type: i0.Input
1434
+ }], appendErrorClass: [{
1435
+ type: i0.Input
1436
+ }], appendHintClass: [{
1437
+ type: i0.Input
1438
+ }], validateMessages: [{
1439
+ type: i0.Input
1440
+ }] } });
1373
1441
 
1374
1442
  function isEnabled(value) {
1375
1443
  return value !== 'false' && (value || value === '');
@@ -1378,7 +1446,7 @@
1378
1446
  var FsFormRequiredDirective = /** @class */ (function (_super) {
1379
1447
  __extends(FsFormRequiredDirective, _super);
1380
1448
  function FsFormRequiredDirective() {
1381
- var _this = _super !== null && _super.apply(this, arguments) || this;
1449
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1382
1450
  _this.required = false;
1383
1451
  return _this;
1384
1452
  }
@@ -1386,21 +1454,21 @@
1386
1454
  set: function (value) {
1387
1455
  this.required = isEnabled(value);
1388
1456
  },
1389
- enumerable: true,
1457
+ enumerable: false,
1390
1458
  configurable: true
1391
1459
  });
1392
1460
  Object.defineProperty(FsFormRequiredDirective.prototype, "setRequired", {
1393
1461
  set: function (value) {
1394
1462
  this.required = isEnabled(value);
1395
1463
  },
1396
- enumerable: true,
1464
+ enumerable: false,
1397
1465
  configurable: true
1398
1466
  });
1399
1467
  Object.defineProperty(FsFormRequiredDirective.prototype, "validationMessage", {
1400
1468
  set: function (value) {
1401
1469
  this._validateMessages.required = value;
1402
1470
  },
1403
- enumerable: true,
1471
+ enumerable: false,
1404
1472
  configurable: true
1405
1473
  });
1406
1474
  FsFormRequiredDirective.prototype.ngOnChanges = function () {
@@ -1408,7 +1476,7 @@
1408
1476
  };
1409
1477
  FsFormRequiredDirective.prototype.validate = function (control) {
1410
1478
  if (this.required) {
1411
- return forms.Validators.required(this._control);
1479
+ return i1.Validators.required(this._control);
1412
1480
  }
1413
1481
  else {
1414
1482
  return null;
@@ -1430,37 +1498,36 @@
1430
1498
  }
1431
1499
  _super.prototype.render.call(this);
1432
1500
  };
1433
- __decorate([
1434
- core.Input('fsFormRequired'),
1435
- __metadata("design:type", Object),
1436
- __metadata("design:paramtypes", [Object])
1437
- ], FsFormRequiredDirective.prototype, "setFsFormRequired", null);
1438
- __decorate([
1439
- core.Input('required'),
1440
- __metadata("design:type", Object),
1441
- __metadata("design:paramtypes", [Object])
1442
- ], FsFormRequiredDirective.prototype, "setRequired", null);
1443
- __decorate([
1444
- core.Input('fsFormRequiredMessage'),
1445
- __metadata("design:type", String),
1446
- __metadata("design:paramtypes", [String])
1447
- ], FsFormRequiredDirective.prototype, "validationMessage", null);
1448
- FsFormRequiredDirective = __decorate([
1449
- core.Directive({
1450
- selector: '[fsFormRequired],[ngModel][required]',
1451
- providers: [
1452
- VALIDATE_MESSAGE_PROVIDER
1453
- ],
1454
- })
1455
- ], FsFormRequiredDirective);
1456
1501
  return FsFormRequiredDirective;
1457
1502
  }(FsControlDirective));
1503
+ FsFormRequiredDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormRequiredDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1504
+ FsFormRequiredDirective.ɵdir = i0__namespace.ɵɵ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: [
1505
+ VALIDATE_MESSAGE_PROVIDER
1506
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1507
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormRequiredDirective, decorators: [{
1508
+ type: i0.Directive,
1509
+ args: [{
1510
+ selector: '[fsFormRequired],[ngModel][required]',
1511
+ providers: [
1512
+ VALIDATE_MESSAGE_PROVIDER
1513
+ ],
1514
+ }]
1515
+ }], propDecorators: { setFsFormRequired: [{
1516
+ type: i0.Input,
1517
+ args: ['fsFormRequired']
1518
+ }], setRequired: [{
1519
+ type: i0.Input,
1520
+ args: ['required']
1521
+ }], validationMessage: [{
1522
+ type: i0.Input,
1523
+ args: ['fsFormRequiredMessage']
1524
+ }] } });
1458
1525
 
1459
1526
  var FsValidators = /** @class */ (function () {
1460
1527
  function FsValidators() {
1461
1528
  }
1462
1529
  FsValidators.email = function (control) {
1463
- if (!control.value || common$1.email(control.value)) {
1530
+ if (!control.value || common.email(control.value)) {
1464
1531
  return null;
1465
1532
  }
1466
1533
  return { email: true };
@@ -1469,11 +1536,11 @@
1469
1536
  var model = control.value || '';
1470
1537
  var hasInvalidEmails = model
1471
1538
  .split(',')
1472
- .some(function (part) { return !common$1.email(part); });
1539
+ .some(function (part) { return !common.email(part); });
1473
1540
  return hasInvalidEmails ? { email: true } : null;
1474
1541
  };
1475
1542
  FsValidators.numeric = function (control) {
1476
- if (common$1.isEmpty(control.value) || common$1.isNumeric(control.value)) {
1543
+ if (common.isEmpty(control.value) || common.isNumeric(control.value)) {
1477
1544
  return null;
1478
1545
  }
1479
1546
  else {
@@ -1489,7 +1556,7 @@
1489
1556
  }
1490
1557
  };
1491
1558
  FsValidators.phone = function (control) {
1492
- if (!control.value || common$1.phone(control.value)) {
1559
+ if (!control.value || common.phone(control.value)) {
1493
1560
  return null;
1494
1561
  }
1495
1562
  return { phone: true };
@@ -1499,7 +1566,7 @@
1499
1566
  if (!control.value) {
1500
1567
  return null;
1501
1568
  }
1502
- if (!common$1.url(control.value)) {
1569
+ if (!common.url(control.value)) {
1503
1570
  return { url: true };
1504
1571
  }
1505
1572
  if (protocolRequired) {
@@ -1561,34 +1628,35 @@
1561
1628
  set: function (value) {
1562
1629
  this._validateMessages.min = value;
1563
1630
  },
1564
- enumerable: true,
1631
+ enumerable: false,
1565
1632
  configurable: true
1566
1633
  });
1567
1634
  FsFormMinDirective.prototype.ngOnChanges = function () {
1568
1635
  this._control.updateValueAndValidity();
1569
1636
  };
1570
1637
  FsFormMinDirective.prototype.validate = function (control) {
1571
- return FsValidators.numeric(this._control) || forms.Validators.min(parseFloat(this.fsFormMin))(this._control);
1572
- };
1573
- __decorate([
1574
- core.Input(),
1575
- __metadata("design:type", Object)
1576
- ], FsFormMinDirective.prototype, "fsFormMin", void 0);
1577
- __decorate([
1578
- core.Input('fsFormMinMessage'),
1579
- __metadata("design:type", String),
1580
- __metadata("design:paramtypes", [String])
1581
- ], FsFormMinDirective.prototype, "validationMessage", null);
1582
- FsFormMinDirective = __decorate([
1583
- core.Directive({
1584
- selector: '[fsFormMin]',
1585
- providers: [
1586
- VALIDATE_MESSAGE_PROVIDER
1587
- ],
1588
- })
1589
- ], FsFormMinDirective);
1638
+ return FsValidators.numeric(this._control) || i1.Validators.min(parseFloat(this.fsFormMin))(this._control);
1639
+ };
1590
1640
  return FsFormMinDirective;
1591
1641
  }(FsControlDirective));
1642
+ FsFormMinDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMinDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1643
+ FsFormMinDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMinDirective, selector: "[fsFormMin]", inputs: { fsFormMin: "fsFormMin", validationMessage: ["fsFormMinMessage", "validationMessage"] }, providers: [
1644
+ VALIDATE_MESSAGE_PROVIDER
1645
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1646
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMinDirective, decorators: [{
1647
+ type: i0.Directive,
1648
+ args: [{
1649
+ selector: '[fsFormMin]',
1650
+ providers: [
1651
+ VALIDATE_MESSAGE_PROVIDER
1652
+ ],
1653
+ }]
1654
+ }], propDecorators: { fsFormMin: [{
1655
+ type: i0.Input
1656
+ }], validationMessage: [{
1657
+ type: i0.Input,
1658
+ args: ['fsFormMinMessage']
1659
+ }] } });
1592
1660
 
1593
1661
  var FsFormMaxDirective = /** @class */ (function (_super) {
1594
1662
  __extends(FsFormMaxDirective, _super);
@@ -1599,34 +1667,35 @@
1599
1667
  set: function (value) {
1600
1668
  this._validateMessages.max = value;
1601
1669
  },
1602
- enumerable: true,
1670
+ enumerable: false,
1603
1671
  configurable: true
1604
1672
  });
1605
1673
  FsFormMaxDirective.prototype.ngOnChanges = function () {
1606
1674
  this._control.updateValueAndValidity();
1607
1675
  };
1608
1676
  FsFormMaxDirective.prototype.validate = function (control) {
1609
- return FsValidators.numeric(this._control) || forms.Validators.max(this.fsFormMax)(this._control);
1610
- };
1611
- __decorate([
1612
- core.Input(),
1613
- __metadata("design:type", Number)
1614
- ], FsFormMaxDirective.prototype, "fsFormMax", void 0);
1615
- __decorate([
1616
- core.Input('fsFormMaxMessage'),
1617
- __metadata("design:type", String),
1618
- __metadata("design:paramtypes", [String])
1619
- ], FsFormMaxDirective.prototype, "validationMessage", null);
1620
- FsFormMaxDirective = __decorate([
1621
- core.Directive({
1622
- selector: '[fsFormMax]',
1623
- providers: [
1624
- VALIDATE_MESSAGE_PROVIDER
1625
- ],
1626
- })
1627
- ], FsFormMaxDirective);
1677
+ return FsValidators.numeric(this._control) || i1.Validators.max(this.fsFormMax)(this._control);
1678
+ };
1628
1679
  return FsFormMaxDirective;
1629
1680
  }(FsControlDirective));
1681
+ FsFormMaxDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMaxDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1682
+ FsFormMaxDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMaxDirective, selector: "[fsFormMax]", inputs: { fsFormMax: "fsFormMax", validationMessage: ["fsFormMaxMessage", "validationMessage"] }, providers: [
1683
+ VALIDATE_MESSAGE_PROVIDER
1684
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1685
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMaxDirective, decorators: [{
1686
+ type: i0.Directive,
1687
+ args: [{
1688
+ selector: '[fsFormMax]',
1689
+ providers: [
1690
+ VALIDATE_MESSAGE_PROVIDER
1691
+ ],
1692
+ }]
1693
+ }], propDecorators: { fsFormMax: [{
1694
+ type: i0.Input
1695
+ }], validationMessage: [{
1696
+ type: i0.Input,
1697
+ args: ['fsFormMaxMessage']
1698
+ }] } });
1630
1699
 
1631
1700
  var FsFormMinLengthDirective = /** @class */ (function (_super) {
1632
1701
  __extends(FsFormMinLengthDirective, _super);
@@ -1637,34 +1706,35 @@
1637
1706
  set: function (value) {
1638
1707
  this._validateMessages.minlength = value;
1639
1708
  },
1640
- enumerable: true,
1709
+ enumerable: false,
1641
1710
  configurable: true
1642
1711
  });
1643
1712
  FsFormMinLengthDirective.prototype.ngOnChanges = function () {
1644
1713
  this._control.updateValueAndValidity();
1645
1714
  };
1646
1715
  FsFormMinLengthDirective.prototype.validate = function (control) {
1647
- return forms.Validators.minLength(this.fsFormMinLength)(this._control);
1648
- };
1649
- __decorate([
1650
- core.Input(),
1651
- __metadata("design:type", Number)
1652
- ], FsFormMinLengthDirective.prototype, "fsFormMinLength", void 0);
1653
- __decorate([
1654
- core.Input('fsFormMinLengthMessage'),
1655
- __metadata("design:type", String),
1656
- __metadata("design:paramtypes", [String])
1657
- ], FsFormMinLengthDirective.prototype, "validationMessage", null);
1658
- FsFormMinLengthDirective = __decorate([
1659
- core.Directive({
1660
- selector: '[fsFormMinLength]',
1661
- providers: [
1662
- VALIDATE_MESSAGE_PROVIDER
1663
- ],
1664
- })
1665
- ], FsFormMinLengthDirective);
1716
+ return i1.Validators.minLength(this.fsFormMinLength)(this._control);
1717
+ };
1666
1718
  return FsFormMinLengthDirective;
1667
1719
  }(FsControlDirective));
1720
+ FsFormMinLengthDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMinLengthDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1721
+ FsFormMinLengthDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMinLengthDirective, selector: "[fsFormMinLength]", inputs: { fsFormMinLength: "fsFormMinLength", validationMessage: ["fsFormMinLengthMessage", "validationMessage"] }, providers: [
1722
+ VALIDATE_MESSAGE_PROVIDER
1723
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1724
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMinLengthDirective, decorators: [{
1725
+ type: i0.Directive,
1726
+ args: [{
1727
+ selector: '[fsFormMinLength]',
1728
+ providers: [
1729
+ VALIDATE_MESSAGE_PROVIDER
1730
+ ],
1731
+ }]
1732
+ }], propDecorators: { fsFormMinLength: [{
1733
+ type: i0.Input
1734
+ }], validationMessage: [{
1735
+ type: i0.Input,
1736
+ args: ['fsFormMinLengthMessage']
1737
+ }] } });
1668
1738
 
1669
1739
  var FsFormMaxLengthDirective = /** @class */ (function (_super) {
1670
1740
  __extends(FsFormMaxLengthDirective, _super);
@@ -1675,34 +1745,35 @@
1675
1745
  set: function (value) {
1676
1746
  this._validateMessages.maxlength = value;
1677
1747
  },
1678
- enumerable: true,
1748
+ enumerable: false,
1679
1749
  configurable: true
1680
1750
  });
1681
1751
  FsFormMaxLengthDirective.prototype.ngOnChanges = function () {
1682
1752
  this._control.updateValueAndValidity();
1683
1753
  };
1684
1754
  FsFormMaxLengthDirective.prototype.validate = function (control) {
1685
- return forms.Validators.maxLength(this.fsFormMaxLength)(this._control);
1686
- };
1687
- __decorate([
1688
- core.Input(),
1689
- __metadata("design:type", Number)
1690
- ], FsFormMaxLengthDirective.prototype, "fsFormMaxLength", void 0);
1691
- __decorate([
1692
- core.Input('fsFormMaxLengthMessage'),
1693
- __metadata("design:type", String),
1694
- __metadata("design:paramtypes", [String])
1695
- ], FsFormMaxLengthDirective.prototype, "validationMessage", null);
1696
- FsFormMaxLengthDirective = __decorate([
1697
- core.Directive({
1698
- selector: '[fsFormMaxLength]',
1699
- providers: [
1700
- VALIDATE_MESSAGE_PROVIDER
1701
- ],
1702
- })
1703
- ], FsFormMaxLengthDirective);
1755
+ return i1.Validators.maxLength(this.fsFormMaxLength)(this._control);
1756
+ };
1704
1757
  return FsFormMaxLengthDirective;
1705
1758
  }(FsControlDirective));
1759
+ FsFormMaxLengthDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMaxLengthDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1760
+ FsFormMaxLengthDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormMaxLengthDirective, selector: "[fsFormMaxLength]", inputs: { fsFormMaxLength: "fsFormMaxLength", validationMessage: ["fsFormMaxLengthMessage", "validationMessage"] }, providers: [
1761
+ VALIDATE_MESSAGE_PROVIDER
1762
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1763
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormMaxLengthDirective, decorators: [{
1764
+ type: i0.Directive,
1765
+ args: [{
1766
+ selector: '[fsFormMaxLength]',
1767
+ providers: [
1768
+ VALIDATE_MESSAGE_PROVIDER
1769
+ ],
1770
+ }]
1771
+ }], propDecorators: { fsFormMaxLength: [{
1772
+ type: i0.Input
1773
+ }], validationMessage: [{
1774
+ type: i0.Input,
1775
+ args: ['fsFormMaxLengthMessage']
1776
+ }] } });
1706
1777
 
1707
1778
  var FsFormEmailDirective = /** @class */ (function (_super) {
1708
1779
  __extends(FsFormEmailDirective, _super);
@@ -1713,7 +1784,7 @@
1713
1784
  set: function (value) {
1714
1785
  this._validateMessages.email = value;
1715
1786
  },
1716
- enumerable: true,
1787
+ enumerable: false,
1717
1788
  configurable: true
1718
1789
  });
1719
1790
  FsFormEmailDirective.prototype.ngOnChanges = function () {
@@ -1727,25 +1798,26 @@
1727
1798
  return null;
1728
1799
  }
1729
1800
  };
1730
- __decorate([
1731
- core.Input(),
1732
- __metadata("design:type", Object)
1733
- ], FsFormEmailDirective.prototype, "fsFormEmail", void 0);
1734
- __decorate([
1735
- core.Input('fsFormEmailMessage'),
1736
- __metadata("design:type", String),
1737
- __metadata("design:paramtypes", [String])
1738
- ], FsFormEmailDirective.prototype, "validationMessage", null);
1739
- FsFormEmailDirective = __decorate([
1740
- core.Directive({
1741
- selector: '[fsFormEmail]',
1742
- providers: [
1743
- VALIDATE_MESSAGE_PROVIDER
1744
- ],
1745
- })
1746
- ], FsFormEmailDirective);
1747
1801
  return FsFormEmailDirective;
1748
1802
  }(FsControlDirective));
1803
+ FsFormEmailDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormEmailDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1804
+ FsFormEmailDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormEmailDirective, selector: "[fsFormEmail]", inputs: { fsFormEmail: "fsFormEmail", validationMessage: ["fsFormEmailMessage", "validationMessage"] }, providers: [
1805
+ VALIDATE_MESSAGE_PROVIDER
1806
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1807
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormEmailDirective, decorators: [{
1808
+ type: i0.Directive,
1809
+ args: [{
1810
+ selector: '[fsFormEmail]',
1811
+ providers: [
1812
+ VALIDATE_MESSAGE_PROVIDER
1813
+ ],
1814
+ }]
1815
+ }], propDecorators: { fsFormEmail: [{
1816
+ type: i0.Input
1817
+ }], validationMessage: [{
1818
+ type: i0.Input,
1819
+ args: ['fsFormEmailMessage']
1820
+ }] } });
1749
1821
 
1750
1822
  var FsFormEmailsDirective = /** @class */ (function (_super) {
1751
1823
  __extends(FsFormEmailsDirective, _super);
@@ -1756,7 +1828,7 @@
1756
1828
  set: function (value) {
1757
1829
  this._validateMessages.emails = value;
1758
1830
  },
1759
- enumerable: true,
1831
+ enumerable: false,
1760
1832
  configurable: true
1761
1833
  });
1762
1834
  FsFormEmailsDirective.prototype.ngOnChanges = function () {
@@ -1770,25 +1842,26 @@
1770
1842
  return null;
1771
1843
  }
1772
1844
  };
1773
- __decorate([
1774
- core.Input(),
1775
- __metadata("design:type", Object)
1776
- ], FsFormEmailsDirective.prototype, "fsFormEmails", void 0);
1777
- __decorate([
1778
- core.Input('fsFormEmailsMessage'),
1779
- __metadata("design:type", String),
1780
- __metadata("design:paramtypes", [String])
1781
- ], FsFormEmailsDirective.prototype, "validationMessage", null);
1782
- FsFormEmailsDirective = __decorate([
1783
- core.Directive({
1784
- selector: '[fsFormEmails]',
1785
- providers: [
1786
- VALIDATE_MESSAGE_PROVIDER
1787
- ],
1788
- })
1789
- ], FsFormEmailsDirective);
1790
1845
  return FsFormEmailsDirective;
1791
1846
  }(FsControlDirective));
1847
+ FsFormEmailsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormEmailsDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1848
+ FsFormEmailsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormEmailsDirective, selector: "[fsFormEmails]", inputs: { fsFormEmails: "fsFormEmails", validationMessage: ["fsFormEmailsMessage", "validationMessage"] }, providers: [
1849
+ VALIDATE_MESSAGE_PROVIDER
1850
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1851
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormEmailsDirective, decorators: [{
1852
+ type: i0.Directive,
1853
+ args: [{
1854
+ selector: '[fsFormEmails]',
1855
+ providers: [
1856
+ VALIDATE_MESSAGE_PROVIDER
1857
+ ],
1858
+ }]
1859
+ }], propDecorators: { fsFormEmails: [{
1860
+ type: i0.Input
1861
+ }], validationMessage: [{
1862
+ type: i0.Input,
1863
+ args: ['fsFormEmailsMessage']
1864
+ }] } });
1792
1865
 
1793
1866
  var FsFormPhoneDirective = /** @class */ (function (_super) {
1794
1867
  __extends(FsFormPhoneDirective, _super);
@@ -1799,7 +1872,7 @@
1799
1872
  set: function (value) {
1800
1873
  this._validateMessages.phone = value;
1801
1874
  },
1802
- enumerable: true,
1875
+ enumerable: false,
1803
1876
  configurable: true
1804
1877
  });
1805
1878
  FsFormPhoneDirective.prototype.ngOnChanges = function () {
@@ -1813,25 +1886,26 @@
1813
1886
  return null;
1814
1887
  }
1815
1888
  };
1816
- __decorate([
1817
- core.Input(),
1818
- __metadata("design:type", Object)
1819
- ], FsFormPhoneDirective.prototype, "fsFormPhone", void 0);
1820
- __decorate([
1821
- core.Input('fsFormPhoneMessage'),
1822
- __metadata("design:type", String),
1823
- __metadata("design:paramtypes", [String])
1824
- ], FsFormPhoneDirective.prototype, "validationMessage", null);
1825
- FsFormPhoneDirective = __decorate([
1826
- core.Directive({
1827
- selector: '[fsFormPhone]',
1828
- providers: [
1829
- VALIDATE_MESSAGE_PROVIDER
1830
- ],
1831
- })
1832
- ], FsFormPhoneDirective);
1833
1889
  return FsFormPhoneDirective;
1834
1890
  }(FsControlDirective));
1891
+ FsFormPhoneDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormPhoneDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1892
+ FsFormPhoneDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormPhoneDirective, selector: "[fsFormPhone]", inputs: { fsFormPhone: "fsFormPhone", validationMessage: ["fsFormPhoneMessage", "validationMessage"] }, providers: [
1893
+ VALIDATE_MESSAGE_PROVIDER
1894
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1895
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormPhoneDirective, decorators: [{
1896
+ type: i0.Directive,
1897
+ args: [{
1898
+ selector: '[fsFormPhone]',
1899
+ providers: [
1900
+ VALIDATE_MESSAGE_PROVIDER
1901
+ ],
1902
+ }]
1903
+ }], propDecorators: { fsFormPhone: [{
1904
+ type: i0.Input
1905
+ }], validationMessage: [{
1906
+ type: i0.Input,
1907
+ args: ['fsFormPhoneMessage']
1908
+ }] } });
1835
1909
 
1836
1910
  var FsFormCompareDirective = /** @class */ (function (_super) {
1837
1911
  __extends(FsFormCompareDirective, _super);
@@ -1842,7 +1916,7 @@
1842
1916
  set: function (value) {
1843
1917
  this._validateMessages.compare = value;
1844
1918
  },
1845
- enumerable: true,
1919
+ enumerable: false,
1846
1920
  configurable: true
1847
1921
  });
1848
1922
  FsFormCompareDirective.prototype.ngOnChanges = function () {
@@ -1868,25 +1942,26 @@
1868
1942
  _this._control.updateValueAndValidity();
1869
1943
  }, false);
1870
1944
  };
1871
- __decorate([
1872
- core.Input(),
1873
- __metadata("design:type", Object)
1874
- ], FsFormCompareDirective.prototype, "fsFormCompare", void 0);
1875
- __decorate([
1876
- core.Input('fsFormCompareMessage'),
1877
- __metadata("design:type", String),
1878
- __metadata("design:paramtypes", [String])
1879
- ], FsFormCompareDirective.prototype, "validationMessage", null);
1880
- FsFormCompareDirective = __decorate([
1881
- core.Directive({
1882
- selector: '[fsFormCompare]',
1883
- providers: [
1884
- VALIDATE_MESSAGE_PROVIDER,
1885
- ],
1886
- })
1887
- ], FsFormCompareDirective);
1888
1945
  return FsFormCompareDirective;
1889
1946
  }(FsControlDirective));
1947
+ FsFormCompareDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormCompareDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1948
+ FsFormCompareDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormCompareDirective, selector: "[fsFormCompare]", inputs: { fsFormCompare: "fsFormCompare", validationMessage: ["fsFormCompareMessage", "validationMessage"] }, providers: [
1949
+ VALIDATE_MESSAGE_PROVIDER,
1950
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1951
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormCompareDirective, decorators: [{
1952
+ type: i0.Directive,
1953
+ args: [{
1954
+ selector: '[fsFormCompare]',
1955
+ providers: [
1956
+ VALIDATE_MESSAGE_PROVIDER,
1957
+ ],
1958
+ }]
1959
+ }], propDecorators: { fsFormCompare: [{
1960
+ type: i0.Input
1961
+ }], validationMessage: [{
1962
+ type: i0.Input,
1963
+ args: ['fsFormCompareMessage']
1964
+ }] } });
1890
1965
 
1891
1966
  var FsFormIntegerDirective = /** @class */ (function (_super) {
1892
1967
  __extends(FsFormIntegerDirective, _super);
@@ -1897,7 +1972,7 @@
1897
1972
  set: function (value) {
1898
1973
  this._validateMessages.integer = value;
1899
1974
  },
1900
- enumerable: true,
1975
+ enumerable: false,
1901
1976
  configurable: true
1902
1977
  });
1903
1978
  FsFormIntegerDirective.prototype.ngOnChanges = function () {
@@ -1911,25 +1986,26 @@
1911
1986
  return null;
1912
1987
  }
1913
1988
  };
1914
- __decorate([
1915
- core.Input(),
1916
- __metadata("design:type", Object)
1917
- ], FsFormIntegerDirective.prototype, "fsFormInteger", void 0);
1918
- __decorate([
1919
- core.Input('fsFormIntegerMessage'),
1920
- __metadata("design:type", String),
1921
- __metadata("design:paramtypes", [String])
1922
- ], FsFormIntegerDirective.prototype, "validationMessage", null);
1923
- FsFormIntegerDirective = __decorate([
1924
- core.Directive({
1925
- selector: '[fsFormInteger]',
1926
- providers: [
1927
- VALIDATE_MESSAGE_PROVIDER
1928
- ],
1929
- })
1930
- ], FsFormIntegerDirective);
1931
1989
  return FsFormIntegerDirective;
1932
1990
  }(FsControlDirective));
1991
+ FsFormIntegerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormIntegerDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1992
+ FsFormIntegerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormIntegerDirective, selector: "[fsFormInteger]", inputs: { fsFormInteger: "fsFormInteger", validationMessage: ["fsFormIntegerMessage", "validationMessage"] }, providers: [
1993
+ VALIDATE_MESSAGE_PROVIDER
1994
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1995
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormIntegerDirective, decorators: [{
1996
+ type: i0.Directive,
1997
+ args: [{
1998
+ selector: '[fsFormInteger]',
1999
+ providers: [
2000
+ VALIDATE_MESSAGE_PROVIDER
2001
+ ],
2002
+ }]
2003
+ }], propDecorators: { fsFormInteger: [{
2004
+ type: i0.Input
2005
+ }], validationMessage: [{
2006
+ type: i0.Input,
2007
+ args: ['fsFormIntegerMessage']
2008
+ }] } });
1933
2009
 
1934
2010
  var FsFormNumericDirective = /** @class */ (function (_super) {
1935
2011
  __extends(FsFormNumericDirective, _super);
@@ -1940,7 +2016,7 @@
1940
2016
  set: function (value) {
1941
2017
  this._validateMessages.numeric = value;
1942
2018
  },
1943
- enumerable: true,
2019
+ enumerable: false,
1944
2020
  configurable: true
1945
2021
  });
1946
2022
  FsFormNumericDirective.prototype.ngOnChanges = function () {
@@ -1954,25 +2030,26 @@
1954
2030
  return null;
1955
2031
  }
1956
2032
  };
1957
- __decorate([
1958
- core.Input(),
1959
- __metadata("design:type", Object)
1960
- ], FsFormNumericDirective.prototype, "fsFormNumeric", void 0);
1961
- __decorate([
1962
- core.Input('fsFormNumericMessage'),
1963
- __metadata("design:type", String),
1964
- __metadata("design:paramtypes", [String])
1965
- ], FsFormNumericDirective.prototype, "validationMessage", null);
1966
- FsFormNumericDirective = __decorate([
1967
- core.Directive({
1968
- selector: '[fsFormNumeric]',
1969
- providers: [
1970
- VALIDATE_MESSAGE_PROVIDER
1971
- ],
1972
- })
1973
- ], FsFormNumericDirective);
1974
2033
  return FsFormNumericDirective;
1975
2034
  }(FsControlDirective));
2035
+ FsFormNumericDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormNumericDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2036
+ FsFormNumericDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormNumericDirective, selector: "[fsFormNumeric]", inputs: { fsFormNumeric: "fsFormNumeric", validationMessage: ["fsFormNumericMessage", "validationMessage"] }, providers: [
2037
+ VALIDATE_MESSAGE_PROVIDER
2038
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2039
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormNumericDirective, decorators: [{
2040
+ type: i0.Directive,
2041
+ args: [{
2042
+ selector: '[fsFormNumeric]',
2043
+ providers: [
2044
+ VALIDATE_MESSAGE_PROVIDER
2045
+ ],
2046
+ }]
2047
+ }], propDecorators: { fsFormNumeric: [{
2048
+ type: i0.Input
2049
+ }], validationMessage: [{
2050
+ type: i0.Input,
2051
+ args: ['fsFormNumericMessage']
2052
+ }] } });
1976
2053
 
1977
2054
  var FsFormPatternDirective = /** @class */ (function (_super) {
1978
2055
  __extends(FsFormPatternDirective, _super);
@@ -1983,34 +2060,35 @@
1983
2060
  set: function (value) {
1984
2061
  this._validateMessages.pattern = value;
1985
2062
  },
1986
- enumerable: true,
2063
+ enumerable: false,
1987
2064
  configurable: true
1988
2065
  });
1989
2066
  FsFormPatternDirective.prototype.ngOnChanges = function () {
1990
2067
  this._control.updateValueAndValidity();
1991
2068
  };
1992
2069
  FsFormPatternDirective.prototype.validate = function (control) {
1993
- return forms.Validators.pattern(this.fsFormPattern)(this._control);
1994
- };
1995
- __decorate([
1996
- core.Input(),
1997
- __metadata("design:type", RegExp)
1998
- ], FsFormPatternDirective.prototype, "fsFormPattern", void 0);
1999
- __decorate([
2000
- core.Input('fsFormPatternMessage'),
2001
- __metadata("design:type", String),
2002
- __metadata("design:paramtypes", [String])
2003
- ], FsFormPatternDirective.prototype, "validationMessage", null);
2004
- FsFormPatternDirective = __decorate([
2005
- core.Directive({
2006
- selector: '[fsFormPattern]',
2007
- providers: [
2008
- VALIDATE_MESSAGE_PROVIDER
2009
- ],
2010
- })
2011
- ], FsFormPatternDirective);
2070
+ return i1.Validators.pattern(this.fsFormPattern)(this._control);
2071
+ };
2012
2072
  return FsFormPatternDirective;
2013
2073
  }(FsControlDirective));
2074
+ FsFormPatternDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormPatternDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2075
+ FsFormPatternDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormPatternDirective, selector: "[fsFormPattern]", inputs: { fsFormPattern: "fsFormPattern", validationMessage: ["fsFormPatternMessage", "validationMessage"] }, providers: [
2076
+ VALIDATE_MESSAGE_PROVIDER
2077
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2078
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormPatternDirective, decorators: [{
2079
+ type: i0.Directive,
2080
+ args: [{
2081
+ selector: '[fsFormPattern]',
2082
+ providers: [
2083
+ VALIDATE_MESSAGE_PROVIDER
2084
+ ],
2085
+ }]
2086
+ }], propDecorators: { fsFormPattern: [{
2087
+ type: i0.Input
2088
+ }], validationMessage: [{
2089
+ type: i0.Input,
2090
+ args: ['fsFormPatternMessage']
2091
+ }] } });
2014
2092
 
2015
2093
  var FsFormFunctionDirective = /** @class */ (function (_super) {
2016
2094
  __extends(FsFormFunctionDirective, _super);
@@ -2023,24 +2101,25 @@
2023
2101
  FsFormFunctionDirective.prototype.validateAsync = function (control) {
2024
2102
  return FsValidators.func(this._control, this.fsFormFunction, this.fsFormFunctionData);
2025
2103
  };
2026
- __decorate([
2027
- core.Input(),
2028
- __metadata("design:type", Object)
2029
- ], FsFormFunctionDirective.prototype, "fsFormFunction", void 0);
2030
- __decorate([
2031
- core.Input(),
2032
- __metadata("design:type", Object)
2033
- ], FsFormFunctionDirective.prototype, "fsFormFunctionData", void 0);
2034
- FsFormFunctionDirective = __decorate([
2035
- core.Directive({
2036
- selector: '[fsFormFunction]',
2037
- providers: [
2038
- VALIDATE_MESSAGE_PROVIDER
2039
- ],
2040
- })
2041
- ], FsFormFunctionDirective);
2042
2104
  return FsFormFunctionDirective;
2043
2105
  }(FsControlDirective));
2106
+ FsFormFunctionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormFunctionDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2107
+ FsFormFunctionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormFunctionDirective, selector: "[fsFormFunction]", inputs: { fsFormFunction: "fsFormFunction", fsFormFunctionData: "fsFormFunctionData" }, providers: [
2108
+ VALIDATE_MESSAGE_PROVIDER
2109
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2110
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormFunctionDirective, decorators: [{
2111
+ type: i0.Directive,
2112
+ args: [{
2113
+ selector: '[fsFormFunction]',
2114
+ providers: [
2115
+ VALIDATE_MESSAGE_PROVIDER
2116
+ ],
2117
+ }]
2118
+ }], propDecorators: { fsFormFunction: [{
2119
+ type: i0.Input
2120
+ }], fsFormFunctionData: [{
2121
+ type: i0.Input
2122
+ }] } });
2044
2123
 
2045
2124
  var FsFormGreaterDirective = /** @class */ (function (_super) {
2046
2125
  __extends(FsFormGreaterDirective, _super);
@@ -2051,7 +2130,7 @@
2051
2130
  set: function (value) {
2052
2131
  this._validateMessages.greater = value;
2053
2132
  },
2054
- enumerable: true,
2133
+ enumerable: false,
2055
2134
  configurable: true
2056
2135
  });
2057
2136
  FsFormGreaterDirective.prototype.ngOnChanges = function () {
@@ -2065,25 +2144,26 @@
2065
2144
  }
2066
2145
  return FsValidators.numeric(this._control);
2067
2146
  };
2068
- __decorate([
2069
- core.Input(),
2070
- __metadata("design:type", Object)
2071
- ], FsFormGreaterDirective.prototype, "fsFormGreater", void 0);
2072
- __decorate([
2073
- core.Input('fsFormGreaterMessage'),
2074
- __metadata("design:type", String),
2075
- __metadata("design:paramtypes", [String])
2076
- ], FsFormGreaterDirective.prototype, "validationMessage", null);
2077
- FsFormGreaterDirective = __decorate([
2078
- core.Directive({
2079
- selector: '[fsFormGreater]',
2080
- providers: [
2081
- VALIDATE_MESSAGE_PROVIDER
2082
- ],
2083
- })
2084
- ], FsFormGreaterDirective);
2085
2147
  return FsFormGreaterDirective;
2086
2148
  }(FsControlDirective));
2149
+ FsFormGreaterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormGreaterDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2150
+ FsFormGreaterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormGreaterDirective, selector: "[fsFormGreater]", inputs: { fsFormGreater: "fsFormGreater", validationMessage: ["fsFormGreaterMessage", "validationMessage"] }, providers: [
2151
+ VALIDATE_MESSAGE_PROVIDER
2152
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2153
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormGreaterDirective, decorators: [{
2154
+ type: i0.Directive,
2155
+ args: [{
2156
+ selector: '[fsFormGreater]',
2157
+ providers: [
2158
+ VALIDATE_MESSAGE_PROVIDER
2159
+ ],
2160
+ }]
2161
+ }], propDecorators: { fsFormGreater: [{
2162
+ type: i0.Input
2163
+ }], validationMessage: [{
2164
+ type: i0.Input,
2165
+ args: ['fsFormGreaterMessage']
2166
+ }] } });
2087
2167
 
2088
2168
  var FsFormDateRangeDirective = /** @class */ (function (_super) {
2089
2169
  __extends(FsFormDateRangeDirective, _super);
@@ -2094,7 +2174,7 @@
2094
2174
  set: function (value) {
2095
2175
  this._validateMessages.dateRange = value;
2096
2176
  },
2097
- enumerable: true,
2177
+ enumerable: false,
2098
2178
  configurable: true
2099
2179
  });
2100
2180
  FsFormDateRangeDirective.prototype.ngOnChanges = function () {
@@ -2108,25 +2188,26 @@
2108
2188
  return null;
2109
2189
  }
2110
2190
  };
2111
- __decorate([
2112
- core.Input(),
2113
- __metadata("design:type", Object)
2114
- ], FsFormDateRangeDirective.prototype, "fsFormDateRange", void 0);
2115
- __decorate([
2116
- core.Input('fsFormDateRangeMessage'),
2117
- __metadata("design:type", String),
2118
- __metadata("design:paramtypes", [String])
2119
- ], FsFormDateRangeDirective.prototype, "validationMessage", null);
2120
- FsFormDateRangeDirective = __decorate([
2121
- core.Directive({
2122
- selector: '[fsFormDateRange]',
2123
- providers: [
2124
- VALIDATE_MESSAGE_PROVIDER
2125
- ],
2126
- })
2127
- ], FsFormDateRangeDirective);
2128
2191
  return FsFormDateRangeDirective;
2129
2192
  }(FsControlDirective));
2193
+ FsFormDateRangeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDateRangeDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2194
+ FsFormDateRangeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDateRangeDirective, selector: "[fsFormDateRange]", inputs: { fsFormDateRange: "fsFormDateRange", validationMessage: ["fsFormDateRangeMessage", "validationMessage"] }, providers: [
2195
+ VALIDATE_MESSAGE_PROVIDER
2196
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2197
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDateRangeDirective, decorators: [{
2198
+ type: i0.Directive,
2199
+ args: [{
2200
+ selector: '[fsFormDateRange]',
2201
+ providers: [
2202
+ VALIDATE_MESSAGE_PROVIDER
2203
+ ],
2204
+ }]
2205
+ }], propDecorators: { fsFormDateRange: [{
2206
+ type: i0.Input
2207
+ }], validationMessage: [{
2208
+ type: i0.Input,
2209
+ args: ['fsFormDateRangeMessage']
2210
+ }] } });
2130
2211
 
2131
2212
  var FsFormLesserDirective = /** @class */ (function (_super) {
2132
2213
  __extends(FsFormLesserDirective, _super);
@@ -2137,7 +2218,7 @@
2137
2218
  set: function (value) {
2138
2219
  this._validateMessages.lesser = value;
2139
2220
  },
2140
- enumerable: true,
2221
+ enumerable: false,
2141
2222
  configurable: true
2142
2223
  });
2143
2224
  FsFormLesserDirective.prototype.ngOnChanges = function () {
@@ -2151,30 +2232,31 @@
2151
2232
  }
2152
2233
  return FsValidators.numeric(this._control);
2153
2234
  };
2154
- __decorate([
2155
- core.Input(),
2156
- __metadata("design:type", Object)
2157
- ], FsFormLesserDirective.prototype, "fsFormLesser", void 0);
2158
- __decorate([
2159
- core.Input('fsFormLesserMessage'),
2160
- __metadata("design:type", String),
2161
- __metadata("design:paramtypes", [String])
2162
- ], FsFormLesserDirective.prototype, "validationMessage", null);
2163
- FsFormLesserDirective = __decorate([
2164
- core.Directive({
2165
- selector: '[fsFormLesser]',
2166
- providers: [
2167
- VALIDATE_MESSAGE_PROVIDER
2168
- ],
2169
- })
2170
- ], FsFormLesserDirective);
2171
2235
  return FsFormLesserDirective;
2172
2236
  }(FsControlDirective));
2237
+ FsFormLesserDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormLesserDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2238
+ FsFormLesserDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormLesserDirective, selector: "[fsFormLesser]", inputs: { fsFormLesser: "fsFormLesser", validationMessage: ["fsFormLesserMessage", "validationMessage"] }, providers: [
2239
+ VALIDATE_MESSAGE_PROVIDER
2240
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2241
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormLesserDirective, decorators: [{
2242
+ type: i0.Directive,
2243
+ args: [{
2244
+ selector: '[fsFormLesser]',
2245
+ providers: [
2246
+ VALIDATE_MESSAGE_PROVIDER
2247
+ ],
2248
+ }]
2249
+ }], propDecorators: { fsFormLesser: [{
2250
+ type: i0.Input
2251
+ }], validationMessage: [{
2252
+ type: i0.Input,
2253
+ args: ['fsFormLesserMessage']
2254
+ }] } });
2173
2255
 
2174
2256
  var FsFormUrlDirective = /** @class */ (function (_super) {
2175
2257
  __extends(FsFormUrlDirective, _super);
2176
2258
  function FsFormUrlDirective() {
2177
- var _this = _super !== null && _super.apply(this, arguments) || this;
2259
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
2178
2260
  _this.fsFormUrlProtocol = false;
2179
2261
  return _this;
2180
2262
  }
@@ -2182,7 +2264,7 @@
2182
2264
  set: function (value) {
2183
2265
  this._validateMessages.url = value;
2184
2266
  },
2185
- enumerable: true,
2267
+ enumerable: false,
2186
2268
  configurable: true
2187
2269
  });
2188
2270
  FsFormUrlDirective.prototype.ngOnChanges = function () {
@@ -2196,29 +2278,28 @@
2196
2278
  return null;
2197
2279
  }
2198
2280
  };
2199
- __decorate([
2200
- core.Input(),
2201
- __metadata("design:type", Object)
2202
- ], FsFormUrlDirective.prototype, "fsFormUrl", void 0);
2203
- __decorate([
2204
- core.Input(),
2205
- __metadata("design:type", Object)
2206
- ], FsFormUrlDirective.prototype, "fsFormUrlProtocol", void 0);
2207
- __decorate([
2208
- core.Input('fsFormUrlMessage'),
2209
- __metadata("design:type", String),
2210
- __metadata("design:paramtypes", [String])
2211
- ], FsFormUrlDirective.prototype, "validationMessage", null);
2212
- FsFormUrlDirective = __decorate([
2213
- core.Directive({
2214
- selector: '[fsFormUrl]',
2215
- providers: [
2216
- VALIDATE_MESSAGE_PROVIDER
2217
- ],
2218
- })
2219
- ], FsFormUrlDirective);
2220
2281
  return FsFormUrlDirective;
2221
2282
  }(FsControlDirective));
2283
+ FsFormUrlDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormUrlDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2284
+ FsFormUrlDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormUrlDirective, selector: "[fsFormUrl]", inputs: { fsFormUrl: "fsFormUrl", fsFormUrlProtocol: "fsFormUrlProtocol", validationMessage: ["fsFormUrlMessage", "validationMessage"] }, providers: [
2285
+ VALIDATE_MESSAGE_PROVIDER
2286
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2287
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormUrlDirective, decorators: [{
2288
+ type: i0.Directive,
2289
+ args: [{
2290
+ selector: '[fsFormUrl]',
2291
+ providers: [
2292
+ VALIDATE_MESSAGE_PROVIDER
2293
+ ],
2294
+ }]
2295
+ }], propDecorators: { fsFormUrl: [{
2296
+ type: i0.Input
2297
+ }], fsFormUrlProtocol: [{
2298
+ type: i0.Input
2299
+ }], validationMessage: [{
2300
+ type: i0.Input,
2301
+ args: ['fsFormUrlMessage']
2302
+ }] } });
2222
2303
 
2223
2304
  var FsSubmitButtonDirective = /** @class */ (function () {
2224
2305
  function FsSubmitButtonDirective(_matButton, _form, _elementRef, _cdRef) {
@@ -2289,7 +2370,7 @@
2289
2370
  get: function () {
2290
2371
  return this._elementRef.nativeElement;
2291
2372
  },
2292
- enumerable: true,
2373
+ enumerable: false,
2293
2374
  configurable: true
2294
2375
  });
2295
2376
  FsSubmitButtonDirective.prototype.reset = function () {
@@ -2325,37 +2406,31 @@
2325
2406
  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;
2326
2407
  }
2327
2408
  };
2328
- FsSubmitButtonDirective.ctorParameters = function () { return [
2329
- { type: button.MatButton, decorators: [{ type: core.Optional }, { type: core.Host }] },
2330
- { type: FsFormDirective, decorators: [{ type: core.Optional }] },
2331
- { type: core.ElementRef },
2332
- { type: core.ChangeDetectorRef }
2333
- ]; };
2334
- __decorate([
2335
- core.Input(),
2336
- __metadata("design:type", Object)
2337
- ], FsSubmitButtonDirective.prototype, "name", void 0);
2338
- __decorate([
2339
- core.Input(),
2340
- __metadata("design:type", Object)
2341
- ], FsSubmitButtonDirective.prototype, "dirtySubmit", void 0);
2342
- __decorate([
2343
- core.HostBinding('style.transition'),
2344
- __metadata("design:type", Object)
2345
- ], FsSubmitButtonDirective.prototype, "transitionStyle", void 0);
2346
- FsSubmitButtonDirective = __decorate([
2347
- core.Directive({
2348
- selector: 'button[type="submit"]',
2349
- }),
2350
- __param(0, core.Optional()), __param(0, core.Host()),
2351
- __param(1, core.Optional()),
2352
- __metadata("design:paramtypes", [button.MatButton,
2353
- FsFormDirective,
2354
- core.ElementRef,
2355
- core.ChangeDetectorRef])
2356
- ], FsSubmitButtonDirective);
2357
2409
  return FsSubmitButtonDirective;
2358
2410
  }());
2411
+ FsSubmitButtonDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSubmitButtonDirective, deps: [{ token: i1__namespace$1.MatButton, host: true, optional: true }, { token: FsFormDirective, optional: true }, { token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
2412
+ FsSubmitButtonDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
2413
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsSubmitButtonDirective, decorators: [{
2414
+ type: i0.Directive,
2415
+ args: [{
2416
+ selector: 'button[type="submit"]',
2417
+ }]
2418
+ }], ctorParameters: function () {
2419
+ return [{ type: i1__namespace$1.MatButton, decorators: [{
2420
+ type: i0.Optional
2421
+ }, {
2422
+ type: i0.Host
2423
+ }] }, { type: FsFormDirective, decorators: [{
2424
+ type: i0.Optional
2425
+ }] }, { type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }];
2426
+ }, propDecorators: { name: [{
2427
+ type: i0.Input
2428
+ }], dirtySubmit: [{
2429
+ type: i0.Input
2430
+ }], transitionStyle: [{
2431
+ type: i0.HostBinding,
2432
+ args: ['style.transition']
2433
+ }] } });
2359
2434
 
2360
2435
  var FsFormValidateDirective = /** @class */ (function (_super) {
2361
2436
  __extends(FsFormValidateDirective, _super);
@@ -2368,24 +2443,27 @@
2368
2443
  FsFormValidateDirective.prototype.validateAsync = function (control) {
2369
2444
  return FsValidators.func(this._control, this.validateFn, this.validateFnData);
2370
2445
  };
2371
- __decorate([
2372
- core.Input('validate'),
2373
- __metadata("design:type", Object)
2374
- ], FsFormValidateDirective.prototype, "validateFn", void 0);
2375
- __decorate([
2376
- core.Input('validateData'),
2377
- __metadata("design:type", Object)
2378
- ], FsFormValidateDirective.prototype, "validateFnData", void 0);
2379
- FsFormValidateDirective = __decorate([
2380
- core.Directive({
2381
- selector: '[validate]',
2382
- providers: [
2383
- VALIDATE_MESSAGE_PROVIDER
2384
- ],
2385
- })
2386
- ], FsFormValidateDirective);
2387
2446
  return FsFormValidateDirective;
2388
2447
  }(FsControlDirective));
2448
+ FsFormValidateDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormValidateDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
2449
+ FsFormValidateDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormValidateDirective, selector: "[validate]", inputs: { validateFn: ["validate", "validateFn"], validateFnData: ["validateData", "validateFnData"] }, providers: [
2450
+ VALIDATE_MESSAGE_PROVIDER
2451
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
2452
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormValidateDirective, decorators: [{
2453
+ type: i0.Directive,
2454
+ args: [{
2455
+ selector: '[validate]',
2456
+ providers: [
2457
+ VALIDATE_MESSAGE_PROVIDER
2458
+ ],
2459
+ }]
2460
+ }], propDecorators: { validateFn: [{
2461
+ type: i0.Input,
2462
+ args: ['validate']
2463
+ }], validateFnData: [{
2464
+ type: i0.Input,
2465
+ args: ['validateData']
2466
+ }] } });
2389
2467
 
2390
2468
  var FsFormDialogActionsComponent = /** @class */ (function () {
2391
2469
  function FsFormDialogActionsComponent(_form, _dialogRef, _cdRef) {
@@ -2438,121 +2516,171 @@
2438
2516
  this._destroy$.next();
2439
2517
  this._destroy$.complete();
2440
2518
  };
2441
- FsFormDialogActionsComponent.ctorParameters = function () { return [
2442
- { type: FsFormDirective, decorators: [{ type: core.Optional }] },
2443
- { type: dialog.MatDialogRef, decorators: [{ type: core.Optional }] },
2444
- { type: core.ChangeDetectorRef }
2445
- ]; };
2446
- __decorate([
2447
- core.Input(),
2448
- __metadata("design:type", Object)
2449
- ], FsFormDialogActionsComponent.prototype, "save", void 0);
2450
- __decorate([
2451
- core.Input(),
2452
- __metadata("design:type", Object)
2453
- ], FsFormDialogActionsComponent.prototype, "create", void 0);
2454
- __decorate([
2455
- core.Input(),
2456
- __metadata("design:type", Object)
2457
- ], FsFormDialogActionsComponent.prototype, "close", void 0);
2458
- __decorate([
2459
- core.Input(),
2460
- __metadata("design:type", String)
2461
- ], FsFormDialogActionsComponent.prototype, "name", void 0);
2462
- FsFormDialogActionsComponent = __decorate([
2463
- core.Component({
2464
- selector: 'fs-form-dialog-actions',
2465
- 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>",
2466
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2467
- 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}}"]
2468
- }),
2469
- __param(0, core.Optional()),
2470
- __param(1, core.Optional()),
2471
- __metadata("design:paramtypes", [FsFormDirective,
2472
- dialog.MatDialogRef,
2473
- core.ChangeDetectorRef])
2474
- ], FsFormDialogActionsComponent);
2475
2519
  return FsFormDialogActionsComponent;
2476
2520
  }());
2521
+ FsFormDialogActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDialogActionsComponent, deps: [{ token: FsFormDirective, optional: true }, { token: i2__namespace$1.MatDialogRef, optional: true }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2522
+ FsFormDialogActionsComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace$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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FsSubmitButtonDirective, selector: "button[type=\"submit\"]", inputs: ["name", "dirtySubmit"] }, { type: i2__namespace$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
2523
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDialogActionsComponent, decorators: [{
2524
+ type: i0.Component,
2525
+ args: [{
2526
+ selector: 'fs-form-dialog-actions',
2527
+ templateUrl: './form-dialog-actions.component.html',
2528
+ styleUrls: ['./form-dialog-actions.component.scss'],
2529
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2530
+ }]
2531
+ }], ctorParameters: function () {
2532
+ return [{ type: FsFormDirective, decorators: [{
2533
+ type: i0.Optional
2534
+ }] }, { type: i2__namespace$1.MatDialogRef, decorators: [{
2535
+ type: i0.Optional
2536
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
2537
+ }, propDecorators: { save: [{
2538
+ type: i0.Input
2539
+ }], create: [{
2540
+ type: i0.Input
2541
+ }], close: [{
2542
+ type: i0.Input
2543
+ }], name: [{
2544
+ type: i0.Input
2545
+ }] } });
2477
2546
 
2478
2547
  var FsFormModule = /** @class */ (function () {
2479
2548
  function FsFormModule() {
2480
2549
  }
2481
- FsFormModule_1 = FsFormModule;
2482
2550
  FsFormModule.forRoot = function () {
2483
2551
  return {
2484
- ngModule: FsFormModule_1,
2552
+ ngModule: FsFormModule,
2485
2553
  };
2486
2554
  };
2487
- var FsFormModule_1;
2488
- FsFormModule = FsFormModule_1 = __decorate([
2489
- core.NgModule({
2490
- imports: [
2491
- common.CommonModule,
2492
- forms.FormsModule,
2493
- button.MatButtonModule,
2494
- dialog.MatDialogModule,
2495
- ],
2496
- declarations: [
2497
- FsFormDirective,
2498
- FsControlDirective,
2499
- FsFormRequiredDirective,
2500
- FsFormMinDirective,
2501
- FsFormMaxDirective,
2502
- FsFormMinLengthDirective,
2503
- FsFormMaxLengthDirective,
2504
- FsFormEmailDirective,
2505
- FsFormEmailsDirective,
2506
- FsFormPhoneDirective,
2507
- FsFormCompareDirective,
2508
- FsFormIntegerDirective,
2509
- FsFormNumericDirective,
2510
- FsFormPatternDirective,
2511
- FsFormFunctionDirective,
2512
- FsFormDateRangeDirective,
2513
- FsFormGreaterDirective,
2514
- FsFormLesserDirective,
2515
- FsFormUrlDirective,
2516
- FsFormDialogCloseDirective,
2517
- FsSubmitButtonDirective,
2518
- FsFormValidateDirective,
2519
- FsFormDialogActionsComponent,
2520
- ],
2521
- exports: [
2522
- FsFormDirective,
2523
- FsControlDirective,
2524
- FsFormRequiredDirective,
2525
- FsFormMinDirective,
2526
- FsFormMaxDirective,
2527
- FsFormMinLengthDirective,
2528
- FsFormMaxLengthDirective,
2529
- FsFormEmailDirective,
2530
- FsFormEmailsDirective,
2531
- FsFormPhoneDirective,
2532
- FsFormCompareDirective,
2533
- FsFormIntegerDirective,
2534
- FsFormNumericDirective,
2535
- FsFormPatternDirective,
2536
- FsFormFunctionDirective,
2537
- FsFormDateRangeDirective,
2538
- FsFormGreaterDirective,
2539
- FsFormLesserDirective,
2540
- FsFormUrlDirective,
2541
- FsFormDialogCloseDirective,
2542
- FsSubmitButtonDirective,
2543
- FsFormValidateDirective,
2544
- FsFormDialogActionsComponent,
2545
- ],
2546
- providers: [
2547
- {
2548
- provide: core$1.ErrorStateMatcher,
2549
- useClass: core$1.ShowOnDirtyErrorStateMatcher,
2550
- },
2551
- ],
2552
- })
2553
- ], FsFormModule);
2554
2555
  return FsFormModule;
2555
2556
  }());
2557
+ FsFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2558
+ FsFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormModule, declarations: [FsFormDirective,
2559
+ FsControlDirective,
2560
+ FsFormRequiredDirective,
2561
+ FsFormMinDirective,
2562
+ FsFormMaxDirective,
2563
+ FsFormMinLengthDirective,
2564
+ FsFormMaxLengthDirective,
2565
+ FsFormEmailDirective,
2566
+ FsFormEmailsDirective,
2567
+ FsFormPhoneDirective,
2568
+ FsFormCompareDirective,
2569
+ FsFormIntegerDirective,
2570
+ FsFormNumericDirective,
2571
+ FsFormPatternDirective,
2572
+ FsFormFunctionDirective,
2573
+ FsFormDateRangeDirective,
2574
+ FsFormGreaterDirective,
2575
+ FsFormLesserDirective,
2576
+ FsFormUrlDirective,
2577
+ FsFormDialogCloseDirective,
2578
+ FsSubmitButtonDirective,
2579
+ FsFormValidateDirective,
2580
+ FsFormDialogActionsComponent], imports: [i4.CommonModule,
2581
+ i1.FormsModule,
2582
+ i1$1.MatButtonModule,
2583
+ i2$1.MatDialogModule], exports: [FsFormDirective,
2584
+ FsControlDirective,
2585
+ FsFormRequiredDirective,
2586
+ FsFormMinDirective,
2587
+ FsFormMaxDirective,
2588
+ FsFormMinLengthDirective,
2589
+ FsFormMaxLengthDirective,
2590
+ FsFormEmailDirective,
2591
+ FsFormEmailsDirective,
2592
+ FsFormPhoneDirective,
2593
+ FsFormCompareDirective,
2594
+ FsFormIntegerDirective,
2595
+ FsFormNumericDirective,
2596
+ FsFormPatternDirective,
2597
+ FsFormFunctionDirective,
2598
+ FsFormDateRangeDirective,
2599
+ FsFormGreaterDirective,
2600
+ FsFormLesserDirective,
2601
+ FsFormUrlDirective,
2602
+ FsFormDialogCloseDirective,
2603
+ FsSubmitButtonDirective,
2604
+ FsFormValidateDirective,
2605
+ FsFormDialogActionsComponent] });
2606
+ FsFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormModule, providers: [
2607
+ {
2608
+ provide: core.ErrorStateMatcher,
2609
+ useClass: core.ShowOnDirtyErrorStateMatcher,
2610
+ },
2611
+ ], imports: [[
2612
+ i4.CommonModule,
2613
+ i1.FormsModule,
2614
+ i1$1.MatButtonModule,
2615
+ i2$1.MatDialogModule,
2616
+ ]] });
2617
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormModule, decorators: [{
2618
+ type: i0.NgModule,
2619
+ args: [{
2620
+ imports: [
2621
+ i4.CommonModule,
2622
+ i1.FormsModule,
2623
+ i1$1.MatButtonModule,
2624
+ i2$1.MatDialogModule,
2625
+ ],
2626
+ declarations: [
2627
+ FsFormDirective,
2628
+ FsControlDirective,
2629
+ FsFormRequiredDirective,
2630
+ FsFormMinDirective,
2631
+ FsFormMaxDirective,
2632
+ FsFormMinLengthDirective,
2633
+ FsFormMaxLengthDirective,
2634
+ FsFormEmailDirective,
2635
+ FsFormEmailsDirective,
2636
+ FsFormPhoneDirective,
2637
+ FsFormCompareDirective,
2638
+ FsFormIntegerDirective,
2639
+ FsFormNumericDirective,
2640
+ FsFormPatternDirective,
2641
+ FsFormFunctionDirective,
2642
+ FsFormDateRangeDirective,
2643
+ FsFormGreaterDirective,
2644
+ FsFormLesserDirective,
2645
+ FsFormUrlDirective,
2646
+ FsFormDialogCloseDirective,
2647
+ FsSubmitButtonDirective,
2648
+ FsFormValidateDirective,
2649
+ FsFormDialogActionsComponent,
2650
+ ],
2651
+ exports: [
2652
+ FsFormDirective,
2653
+ FsControlDirective,
2654
+ FsFormRequiredDirective,
2655
+ FsFormMinDirective,
2656
+ FsFormMaxDirective,
2657
+ FsFormMinLengthDirective,
2658
+ FsFormMaxLengthDirective,
2659
+ FsFormEmailDirective,
2660
+ FsFormEmailsDirective,
2661
+ FsFormPhoneDirective,
2662
+ FsFormCompareDirective,
2663
+ FsFormIntegerDirective,
2664
+ FsFormNumericDirective,
2665
+ FsFormPatternDirective,
2666
+ FsFormFunctionDirective,
2667
+ FsFormDateRangeDirective,
2668
+ FsFormGreaterDirective,
2669
+ FsFormLesserDirective,
2670
+ FsFormUrlDirective,
2671
+ FsFormDialogCloseDirective,
2672
+ FsSubmitButtonDirective,
2673
+ FsFormValidateDirective,
2674
+ FsFormDialogActionsComponent,
2675
+ ],
2676
+ providers: [
2677
+ {
2678
+ provide: core.ErrorStateMatcher,
2679
+ useClass: core.ShowOnDirtyErrorStateMatcher,
2680
+ },
2681
+ ],
2682
+ }]
2683
+ }] });
2556
2684
 
2557
2685
  var FormDeactivateGuard = /** @class */ (function () {
2558
2686
  function FormDeactivateGuard(_prompt) {
@@ -2575,51 +2703,52 @@
2575
2703
  return confirmResultContinue(result);
2576
2704
  }));
2577
2705
  };
2578
- FormDeactivateGuard.ctorParameters = function () { return [
2579
- { type: prompt.FsPrompt }
2580
- ]; };
2581
- FormDeactivateGuard.ɵprov = core.ɵɵdefineInjectable({ factory: function FormDeactivateGuard_Factory() { return new FormDeactivateGuard(core.ɵɵinject(prompt.FsPrompt)); }, token: FormDeactivateGuard, providedIn: "root" });
2582
- FormDeactivateGuard = __decorate([
2583
- core.Injectable({
2584
- providedIn: 'root'
2585
- }),
2586
- __metadata("design:paramtypes", [prompt.FsPrompt])
2587
- ], FormDeactivateGuard);
2588
2706
  return FormDeactivateGuard;
2589
2707
  }());
2708
+ FormDeactivateGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormDeactivateGuard, deps: [{ token: i3__namespace.FsPrompt }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2709
+ FormDeactivateGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormDeactivateGuard, providedIn: 'root' });
2710
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormDeactivateGuard, decorators: [{
2711
+ type: i0.Injectable,
2712
+ args: [{
2713
+ providedIn: 'root'
2714
+ }]
2715
+ }], ctorParameters: function () { return [{ type: i3__namespace.FsPrompt }]; } });
2716
+
2717
+ // Modules
2718
+
2719
+ /**
2720
+ * Generated bundle index. Do not edit.
2721
+ */
2590
2722
 
2591
2723
  exports.FormDeactivateGuard = FormDeactivateGuard;
2724
+ exports.FsControlDirective = FsControlDirective;
2592
2725
  exports.FsForm = FsForm;
2726
+ exports.FsFormCompareDirective = FsFormCompareDirective;
2727
+ exports.FsFormDateRangeDirective = FsFormDateRangeDirective;
2593
2728
  exports.FsFormDialogActionsComponent = FsFormDialogActionsComponent;
2729
+ exports.FsFormDialogCloseDirective = FsFormDialogCloseDirective;
2594
2730
  exports.FsFormDirective = FsFormDirective;
2731
+ exports.FsFormEmailDirective = FsFormEmailDirective;
2732
+ exports.FsFormEmailsDirective = FsFormEmailsDirective;
2733
+ exports.FsFormFunctionDirective = FsFormFunctionDirective;
2734
+ exports.FsFormGreaterDirective = FsFormGreaterDirective;
2735
+ exports.FsFormIntegerDirective = FsFormIntegerDirective;
2736
+ exports.FsFormLesserDirective = FsFormLesserDirective;
2737
+ exports.FsFormMaxDirective = FsFormMaxDirective;
2738
+ exports.FsFormMaxLengthDirective = FsFormMaxLengthDirective;
2739
+ exports.FsFormMinDirective = FsFormMinDirective;
2740
+ exports.FsFormMinLengthDirective = FsFormMinLengthDirective;
2595
2741
  exports.FsFormModule = FsFormModule;
2742
+ exports.FsFormNumericDirective = FsFormNumericDirective;
2743
+ exports.FsFormPatternDirective = FsFormPatternDirective;
2744
+ exports.FsFormPhoneDirective = FsFormPhoneDirective;
2745
+ exports.FsFormRequiredDirective = FsFormRequiredDirective;
2746
+ exports.FsFormUrlDirective = FsFormUrlDirective;
2747
+ exports.FsFormValidateDirective = FsFormValidateDirective;
2748
+ exports.FsSubmitButtonDirective = FsSubmitButtonDirective;
2596
2749
  exports.FsValidators = FsValidators;
2597
- exports.ɵa = FsFormDialogCloseDirective;
2598
- exports.ɵb = FsControlDirective;
2599
- exports.ɵc = VALIDATE_MESSAGES;
2600
- exports.ɵd = VALIDATE_MESSAGE_PROVIDER;
2601
- exports.ɵe = messageProviderFactory;
2602
- exports.ɵf = FsFormRequiredDirective;
2603
- exports.ɵg = FsFormMinDirective;
2604
- exports.ɵh = FsFormMaxDirective;
2605
- exports.ɵi = FsFormMinLengthDirective;
2606
- exports.ɵj = FsFormMaxLengthDirective;
2607
- exports.ɵk = FsFormEmailDirective;
2608
- exports.ɵl = FsFormEmailsDirective;
2609
- exports.ɵm = FsFormPhoneDirective;
2610
- exports.ɵn = FsFormCompareDirective;
2611
- exports.ɵo = FsFormIntegerDirective;
2612
- exports.ɵp = FsFormNumericDirective;
2613
- exports.ɵq = FsFormPatternDirective;
2614
- exports.ɵr = FsFormFunctionDirective;
2615
- exports.ɵs = FsFormDateRangeDirective;
2616
- exports.ɵt = FsFormGreaterDirective;
2617
- exports.ɵu = FsFormLesserDirective;
2618
- exports.ɵv = FsFormUrlDirective;
2619
- exports.ɵw = FsSubmitButtonDirective;
2620
- exports.ɵx = FsFormValidateDirective;
2621
2750
 
2622
2751
  Object.defineProperty(exports, '__esModule', { value: true });
2623
2752
 
2624
- })));
2753
+ }));
2625
2754
  //# sourceMappingURL=firestitch-form.umd.js.map