@klippa/ngx-enhancy-forms 2.3.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/klippa-ngx-enhancy-forms.umd.js +402 -372
- package/bundles/klippa-ngx-enhancy-forms.umd.js.map +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js +3 -2
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js.map +1 -1
- package/esm2015/lib/form/form.component.js +46 -20
- package/esm2015/lib/ngx-enhancy-forms.module.js +25 -23
- package/fesm2015/klippa-ngx-enhancy-forms.js +48 -20
- package/fesm2015/klippa-ngx-enhancy-forms.js.map +1 -1
- package/klippa-ngx-enhancy-forms.metadata.json +1 -1
- package/lib/form/form.component.d.ts +9 -7
- package/package.json +1 -1
|
@@ -4,389 +4,99 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.klippa = global.klippa || {}, global.klippa["ngx-enhancy-forms"] = {}), global.ng.core, global.ng.common, global.ng.forms, global.lodash, global.ngxSortablejs, global.ngSelect, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.input, global.ng.material.button));
|
|
5
5
|
})(this, (function (exports, core, common, forms, lodash, ngxSortablejs, ngSelect, core$1, datepicker, formField, input, button) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
-
purpose with or without fee is hereby granted.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
var extendStatics = function (d, b) {
|
|
23
|
-
extendStatics = Object.setPrototypeOf ||
|
|
24
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25
|
-
function (d, b) { for (var p in b)
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
27
|
-
d[p] = b[p]; };
|
|
28
|
-
return extendStatics(d, b);
|
|
29
|
-
};
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
if (typeof b !== "function" && b !== null)
|
|
32
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
33
|
-
extendStatics(d, b);
|
|
34
|
-
function __() { this.constructor = d; }
|
|
35
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7
|
+
function stringIsSetAndNotEmpty(s) {
|
|
8
|
+
return lodash.isString(s) && s.length > 0;
|
|
36
9
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
40
|
-
s = arguments[i];
|
|
41
|
-
for (var p in s)
|
|
42
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
43
|
-
t[p] = s[p];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
return __assign.apply(this, arguments);
|
|
48
|
-
};
|
|
49
|
-
function __rest(s, e) {
|
|
50
|
-
var t = {};
|
|
51
|
-
for (var p in s)
|
|
52
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
53
|
-
t[p] = s[p];
|
|
54
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
55
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
56
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
57
|
-
t[p[i]] = s[p[i]];
|
|
58
|
-
}
|
|
59
|
-
return t;
|
|
10
|
+
function isNullOrUndefined(value) {
|
|
11
|
+
return value === null || value === undefined;
|
|
60
12
|
}
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
64
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
65
|
-
else
|
|
66
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
67
|
-
if (d = decorators[i])
|
|
68
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
69
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
function numberIsSet(value) {
|
|
14
|
+
return isValueSet(value) && typeof value === 'number';
|
|
70
15
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
16
|
+
function isValueSet(value) {
|
|
17
|
+
return value !== null && value !== undefined;
|
|
73
18
|
}
|
|
74
|
-
function
|
|
75
|
-
|
|
76
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
19
|
+
function stringOrArrayIsSetAndEmpty(value) {
|
|
20
|
+
return value !== null && value !== undefined && value.length === 0;
|
|
77
21
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
catch (e) {
|
|
85
|
-
reject(e);
|
|
86
|
-
} }
|
|
87
|
-
function rejected(value) { try {
|
|
88
|
-
step(generator["throw"](value));
|
|
89
|
-
}
|
|
90
|
-
catch (e) {
|
|
91
|
-
reject(e);
|
|
92
|
-
} }
|
|
93
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
94
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
95
|
-
});
|
|
22
|
+
function useIfStringIsSet(s) {
|
|
23
|
+
if (stringIsSetAndNotEmpty(s)) {
|
|
24
|
+
return s;
|
|
25
|
+
}
|
|
26
|
+
return undefined;
|
|
96
27
|
}
|
|
97
|
-
function
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
101
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
102
|
-
function step(op) {
|
|
103
|
-
if (f)
|
|
104
|
-
throw new TypeError("Generator is already executing.");
|
|
105
|
-
while (_)
|
|
106
|
-
try {
|
|
107
|
-
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)
|
|
108
|
-
return t;
|
|
109
|
-
if (y = 0, t)
|
|
110
|
-
op = [op[0] & 2, t.value];
|
|
111
|
-
switch (op[0]) {
|
|
112
|
-
case 0:
|
|
113
|
-
case 1:
|
|
114
|
-
t = op;
|
|
115
|
-
break;
|
|
116
|
-
case 4:
|
|
117
|
-
_.label++;
|
|
118
|
-
return { value: op[1], done: false };
|
|
119
|
-
case 5:
|
|
120
|
-
_.label++;
|
|
121
|
-
y = op[1];
|
|
122
|
-
op = [0];
|
|
123
|
-
continue;
|
|
124
|
-
case 7:
|
|
125
|
-
op = _.ops.pop();
|
|
126
|
-
_.trys.pop();
|
|
127
|
-
continue;
|
|
128
|
-
default:
|
|
129
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
130
|
-
_ = 0;
|
|
131
|
-
continue;
|
|
132
|
-
}
|
|
133
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
134
|
-
_.label = op[1];
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
138
|
-
_.label = t[1];
|
|
139
|
-
t = op;
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
if (t && _.label < t[2]) {
|
|
143
|
-
_.label = t[2];
|
|
144
|
-
_.ops.push(op);
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
if (t[2])
|
|
148
|
-
_.ops.pop();
|
|
149
|
-
_.trys.pop();
|
|
150
|
-
continue;
|
|
151
|
-
}
|
|
152
|
-
op = body.call(thisArg, _);
|
|
153
|
-
}
|
|
154
|
-
catch (e) {
|
|
155
|
-
op = [6, e];
|
|
156
|
-
y = 0;
|
|
157
|
-
}
|
|
158
|
-
finally {
|
|
159
|
-
f = t = 0;
|
|
160
|
-
}
|
|
161
|
-
if (op[0] & 5)
|
|
162
|
-
throw op[1];
|
|
163
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
28
|
+
function useIfArrayIsSetWithOneItem(a) {
|
|
29
|
+
if (!isNullOrUndefined(a) && a.length === 1) {
|
|
30
|
+
return a[0];
|
|
164
31
|
}
|
|
32
|
+
return undefined;
|
|
165
33
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
k2 = k;
|
|
169
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
170
|
-
}) : (function (o, m, k, k2) {
|
|
171
|
-
if (k2 === undefined)
|
|
172
|
-
k2 = k;
|
|
173
|
-
o[k2] = m[k];
|
|
174
|
-
});
|
|
175
|
-
function __exportStar(m, o) {
|
|
176
|
-
for (var p in m)
|
|
177
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
178
|
-
__createBinding(o, m, p);
|
|
34
|
+
function convertParentToChild(originalClass, newClass) {
|
|
35
|
+
return Object.assign(newClass, originalClass);
|
|
179
36
|
}
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
return {
|
|
186
|
-
next: function () {
|
|
187
|
-
if (o && i >= o.length)
|
|
188
|
-
o = void 0;
|
|
189
|
-
return { value: o && o[i++], done: !o };
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
37
|
+
function truncateString(s, length) {
|
|
38
|
+
if (s.length < length) {
|
|
39
|
+
return s;
|
|
40
|
+
}
|
|
41
|
+
return s.substring(0, length) + '...';
|
|
193
42
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
var i = m.call(o), r, ar = [], e;
|
|
199
|
-
try {
|
|
200
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
201
|
-
ar.push(r.value);
|
|
43
|
+
|
|
44
|
+
var invalidFieldsSymbol = Symbol('Not all fields are valid');
|
|
45
|
+
var SubFormDirective = /** @class */ (function () {
|
|
46
|
+
function SubFormDirective() {
|
|
202
47
|
}
|
|
203
|
-
|
|
204
|
-
|
|
48
|
+
return SubFormDirective;
|
|
49
|
+
}());
|
|
50
|
+
SubFormDirective.decorators = [
|
|
51
|
+
{ type: core.Directive, args: [{
|
|
52
|
+
// tslint:disable-next-line:directive-selector
|
|
53
|
+
selector: 'klp-sub-form',
|
|
54
|
+
},] }
|
|
55
|
+
];
|
|
56
|
+
SubFormDirective.propDecorators = {
|
|
57
|
+
injectInto: [{ type: core.Input }],
|
|
58
|
+
at: [{ type: core.Input }]
|
|
59
|
+
};
|
|
60
|
+
var FormComponent = /** @class */ (function () {
|
|
61
|
+
function FormComponent(parent, subFormPlaceholder) {
|
|
62
|
+
this.parent = parent;
|
|
63
|
+
this.subFormPlaceholder = subFormPlaceholder;
|
|
64
|
+
// we keep track of what form controls are actually rendered. Only those count when looking at form validation
|
|
65
|
+
this.activeControls = [];
|
|
205
66
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
67
|
+
FormComponent.prototype.ngOnInit = function () {
|
|
68
|
+
if (isValueSet(this.parent) && isValueSet(this.subFormPlaceholder)) {
|
|
69
|
+
var injectInto = this.subFormPlaceholder.injectInto;
|
|
70
|
+
var injectAt = this.subFormPlaceholder.at;
|
|
71
|
+
if (injectInto instanceof forms.FormArray) {
|
|
72
|
+
if (typeof injectAt !== "number") {
|
|
73
|
+
throw new Error("cannot index FormArray with " + typeof injectAt);
|
|
74
|
+
}
|
|
75
|
+
injectInto.setControl(injectAt, this.formGroup);
|
|
76
|
+
}
|
|
77
|
+
else if (injectInto instanceof forms.FormGroup) {
|
|
78
|
+
if (typeof injectAt !== "string") {
|
|
79
|
+
throw new Error("cannot index FormGroup with " + typeof injectAt);
|
|
80
|
+
}
|
|
81
|
+
injectInto.setControl(injectAt, this.formGroup);
|
|
82
|
+
}
|
|
210
83
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
s += arguments[i].length;
|
|
228
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
229
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
230
|
-
r[k] = a[j];
|
|
231
|
-
return r;
|
|
232
|
-
}
|
|
233
|
-
function __spreadArray(to, from, pack) {
|
|
234
|
-
if (pack || arguments.length === 2)
|
|
235
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
236
|
-
if (ar || !(i in from)) {
|
|
237
|
-
if (!ar)
|
|
238
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
239
|
-
ar[i] = from[i];
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
243
|
-
}
|
|
244
|
-
function __await(v) {
|
|
245
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
246
|
-
}
|
|
247
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
248
|
-
if (!Symbol.asyncIterator)
|
|
249
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
250
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
251
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
252
|
-
function verb(n) { if (g[n])
|
|
253
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
254
|
-
function resume(n, v) { try {
|
|
255
|
-
step(g[n](v));
|
|
256
|
-
}
|
|
257
|
-
catch (e) {
|
|
258
|
-
settle(q[0][3], e);
|
|
259
|
-
} }
|
|
260
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
261
|
-
function fulfill(value) { resume("next", value); }
|
|
262
|
-
function reject(value) { resume("throw", value); }
|
|
263
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
264
|
-
resume(q[0][0], q[0][1]); }
|
|
265
|
-
}
|
|
266
|
-
function __asyncDelegator(o) {
|
|
267
|
-
var i, p;
|
|
268
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
269
|
-
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; }
|
|
270
|
-
}
|
|
271
|
-
function __asyncValues(o) {
|
|
272
|
-
if (!Symbol.asyncIterator)
|
|
273
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
274
|
-
var m = o[Symbol.asyncIterator], i;
|
|
275
|
-
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);
|
|
276
|
-
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); }); }; }
|
|
277
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
278
|
-
}
|
|
279
|
-
function __makeTemplateObject(cooked, raw) {
|
|
280
|
-
if (Object.defineProperty) {
|
|
281
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
cooked.raw = raw;
|
|
285
|
-
}
|
|
286
|
-
return cooked;
|
|
287
|
-
}
|
|
288
|
-
;
|
|
289
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
290
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
291
|
-
}) : function (o, v) {
|
|
292
|
-
o["default"] = v;
|
|
293
|
-
};
|
|
294
|
-
function __importStar(mod) {
|
|
295
|
-
if (mod && mod.__esModule)
|
|
296
|
-
return mod;
|
|
297
|
-
var result = {};
|
|
298
|
-
if (mod != null)
|
|
299
|
-
for (var k in mod)
|
|
300
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
301
|
-
__createBinding(result, mod, k);
|
|
302
|
-
__setModuleDefault(result, mod);
|
|
303
|
-
return result;
|
|
304
|
-
}
|
|
305
|
-
function __importDefault(mod) {
|
|
306
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
307
|
-
}
|
|
308
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
309
|
-
if (kind === "a" && !f)
|
|
310
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
311
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
312
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
313
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
314
|
-
}
|
|
315
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
316
|
-
if (kind === "m")
|
|
317
|
-
throw new TypeError("Private method is not writable");
|
|
318
|
-
if (kind === "a" && !f)
|
|
319
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
320
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
321
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
322
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
function stringIsSetAndNotEmpty(s) {
|
|
326
|
-
return lodash.isString(s) && s.length > 0;
|
|
327
|
-
}
|
|
328
|
-
function isNullOrUndefined(value) {
|
|
329
|
-
return value === null || value === undefined;
|
|
330
|
-
}
|
|
331
|
-
function numberIsSet(value) {
|
|
332
|
-
return isValueSet(value) && typeof value === 'number';
|
|
333
|
-
}
|
|
334
|
-
function isValueSet(value) {
|
|
335
|
-
return value !== null && value !== undefined;
|
|
336
|
-
}
|
|
337
|
-
function stringOrArrayIsSetAndEmpty(value) {
|
|
338
|
-
return value !== null && value !== undefined && value.length === 0;
|
|
339
|
-
}
|
|
340
|
-
function useIfStringIsSet(s) {
|
|
341
|
-
if (stringIsSetAndNotEmpty(s)) {
|
|
342
|
-
return s;
|
|
343
|
-
}
|
|
344
|
-
return undefined;
|
|
345
|
-
}
|
|
346
|
-
function useIfArrayIsSetWithOneItem(a) {
|
|
347
|
-
if (!isNullOrUndefined(a) && a.length === 1) {
|
|
348
|
-
return a[0];
|
|
349
|
-
}
|
|
350
|
-
return undefined;
|
|
351
|
-
}
|
|
352
|
-
function convertParentToChild(originalClass, newClass) {
|
|
353
|
-
return Object.assign(newClass, originalClass);
|
|
354
|
-
}
|
|
355
|
-
function truncateString(s, length) {
|
|
356
|
-
if (s.length < length) {
|
|
357
|
-
return s;
|
|
358
|
-
}
|
|
359
|
-
return s.substring(0, length) + '...';
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
var invalidFieldsSymbol = Symbol('Not all fields are valid');
|
|
363
|
-
// Only used as a 'marker' to define a property will be filled in by a sub form
|
|
364
|
-
var SubForm = /** @class */ (function (_super) {
|
|
365
|
-
__extends(SubForm, _super);
|
|
366
|
-
function SubForm() {
|
|
367
|
-
return _super.call(this, {}, null) || this;
|
|
368
|
-
}
|
|
369
|
-
return SubForm;
|
|
370
|
-
}(forms.FormGroup));
|
|
371
|
-
var FormComponent = /** @class */ (function () {
|
|
372
|
-
function FormComponent(parent, surroundingFormGroupName) {
|
|
373
|
-
this.parent = parent;
|
|
374
|
-
this.surroundingFormGroupName = surroundingFormGroupName;
|
|
375
|
-
// we keep track of what form controls are actually rendered. Only those count when looking at form validation
|
|
376
|
-
this.activeControls = [];
|
|
377
|
-
}
|
|
378
|
-
FormComponent.prototype.ngOnInit = function () {
|
|
379
|
-
var _a;
|
|
380
|
-
if (this.parent) {
|
|
381
|
-
if (!isValueSet((_a = this.surroundingFormGroupName) === null || _a === void 0 ? void 0 : _a.name)) {
|
|
382
|
-
throw new Error('No surrounding groupname is found for a nested form');
|
|
383
|
-
}
|
|
384
|
-
var groupName = String(this.surroundingFormGroupName.name);
|
|
385
|
-
var groupToOverwrite = this.parent.formGroup.get(groupName);
|
|
386
|
-
if (!(groupToOverwrite instanceof SubForm)) {
|
|
387
|
-
throw new Error("Surrounding groupname '" + groupName + "' is not a subFormSubstitute'");
|
|
388
|
-
}
|
|
389
|
-
this.parent.formGroup.setControl(groupName, this.formGroup);
|
|
84
|
+
};
|
|
85
|
+
FormComponent.prototype.ngOnDestroy = function () {
|
|
86
|
+
var _this = this;
|
|
87
|
+
if (isValueSet(this.parent) && isValueSet(this.subFormPlaceholder)) {
|
|
88
|
+
var injectInto = this.subFormPlaceholder.injectInto;
|
|
89
|
+
var injectAt = this.subFormPlaceholder.at;
|
|
90
|
+
if (injectInto instanceof forms.FormArray) {
|
|
91
|
+
var idx = injectInto.controls.findIndex(function (e) { return e === _this.formGroup; });
|
|
92
|
+
injectInto.removeAt(idx);
|
|
93
|
+
}
|
|
94
|
+
else if (injectInto instanceof forms.FormGroup) {
|
|
95
|
+
if (typeof injectAt !== "string") {
|
|
96
|
+
throw new Error("cannot index FormGroup with " + typeof injectAt);
|
|
97
|
+
}
|
|
98
|
+
injectInto.removeControl(injectAt);
|
|
99
|
+
}
|
|
390
100
|
}
|
|
391
101
|
};
|
|
392
102
|
FormComponent.prototype.registerControl = function (formControl, formElement) {
|
|
@@ -483,7 +193,7 @@
|
|
|
483
193
|
];
|
|
484
194
|
FormComponent.ctorParameters = function () { return [
|
|
485
195
|
{ type: FormComponent, decorators: [{ type: core.SkipSelf }, { type: core.Optional }] },
|
|
486
|
-
{ type:
|
|
196
|
+
{ type: SubFormDirective, decorators: [{ type: core.Optional }] }
|
|
487
197
|
]; };
|
|
488
198
|
FormComponent.propDecorators = {
|
|
489
199
|
formGroup: [{ type: core.Input }]
|
|
@@ -718,6 +428,324 @@
|
|
|
718
428
|
_: [{ type: core.HostBinding, args: ['class._fullWidth',] }]
|
|
719
429
|
};
|
|
720
430
|
|
|
431
|
+
/*! *****************************************************************************
|
|
432
|
+
Copyright (c) Microsoft Corporation.
|
|
433
|
+
|
|
434
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
435
|
+
purpose with or without fee is hereby granted.
|
|
436
|
+
|
|
437
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
438
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
439
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
440
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
441
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
442
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
443
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
444
|
+
***************************************************************************** */
|
|
445
|
+
/* global Reflect, Promise */
|
|
446
|
+
var extendStatics = function (d, b) {
|
|
447
|
+
extendStatics = Object.setPrototypeOf ||
|
|
448
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
449
|
+
function (d, b) { for (var p in b)
|
|
450
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
451
|
+
d[p] = b[p]; };
|
|
452
|
+
return extendStatics(d, b);
|
|
453
|
+
};
|
|
454
|
+
function __extends(d, b) {
|
|
455
|
+
if (typeof b !== "function" && b !== null)
|
|
456
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
457
|
+
extendStatics(d, b);
|
|
458
|
+
function __() { this.constructor = d; }
|
|
459
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
460
|
+
}
|
|
461
|
+
var __assign = function () {
|
|
462
|
+
__assign = Object.assign || function __assign(t) {
|
|
463
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
464
|
+
s = arguments[i];
|
|
465
|
+
for (var p in s)
|
|
466
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
467
|
+
t[p] = s[p];
|
|
468
|
+
}
|
|
469
|
+
return t;
|
|
470
|
+
};
|
|
471
|
+
return __assign.apply(this, arguments);
|
|
472
|
+
};
|
|
473
|
+
function __rest(s, e) {
|
|
474
|
+
var t = {};
|
|
475
|
+
for (var p in s)
|
|
476
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
477
|
+
t[p] = s[p];
|
|
478
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
479
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
480
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
481
|
+
t[p[i]] = s[p[i]];
|
|
482
|
+
}
|
|
483
|
+
return t;
|
|
484
|
+
}
|
|
485
|
+
function __decorate(decorators, target, key, desc) {
|
|
486
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
487
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
488
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
489
|
+
else
|
|
490
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
491
|
+
if (d = decorators[i])
|
|
492
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
493
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
494
|
+
}
|
|
495
|
+
function __param(paramIndex, decorator) {
|
|
496
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
497
|
+
}
|
|
498
|
+
function __metadata(metadataKey, metadataValue) {
|
|
499
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
500
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
501
|
+
}
|
|
502
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
503
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
504
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
505
|
+
function fulfilled(value) { try {
|
|
506
|
+
step(generator.next(value));
|
|
507
|
+
}
|
|
508
|
+
catch (e) {
|
|
509
|
+
reject(e);
|
|
510
|
+
} }
|
|
511
|
+
function rejected(value) { try {
|
|
512
|
+
step(generator["throw"](value));
|
|
513
|
+
}
|
|
514
|
+
catch (e) {
|
|
515
|
+
reject(e);
|
|
516
|
+
} }
|
|
517
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
518
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
function __generator(thisArg, body) {
|
|
522
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
523
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
524
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
525
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
526
|
+
function step(op) {
|
|
527
|
+
if (f)
|
|
528
|
+
throw new TypeError("Generator is already executing.");
|
|
529
|
+
while (_)
|
|
530
|
+
try {
|
|
531
|
+
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)
|
|
532
|
+
return t;
|
|
533
|
+
if (y = 0, t)
|
|
534
|
+
op = [op[0] & 2, t.value];
|
|
535
|
+
switch (op[0]) {
|
|
536
|
+
case 0:
|
|
537
|
+
case 1:
|
|
538
|
+
t = op;
|
|
539
|
+
break;
|
|
540
|
+
case 4:
|
|
541
|
+
_.label++;
|
|
542
|
+
return { value: op[1], done: false };
|
|
543
|
+
case 5:
|
|
544
|
+
_.label++;
|
|
545
|
+
y = op[1];
|
|
546
|
+
op = [0];
|
|
547
|
+
continue;
|
|
548
|
+
case 7:
|
|
549
|
+
op = _.ops.pop();
|
|
550
|
+
_.trys.pop();
|
|
551
|
+
continue;
|
|
552
|
+
default:
|
|
553
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
554
|
+
_ = 0;
|
|
555
|
+
continue;
|
|
556
|
+
}
|
|
557
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
558
|
+
_.label = op[1];
|
|
559
|
+
break;
|
|
560
|
+
}
|
|
561
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
562
|
+
_.label = t[1];
|
|
563
|
+
t = op;
|
|
564
|
+
break;
|
|
565
|
+
}
|
|
566
|
+
if (t && _.label < t[2]) {
|
|
567
|
+
_.label = t[2];
|
|
568
|
+
_.ops.push(op);
|
|
569
|
+
break;
|
|
570
|
+
}
|
|
571
|
+
if (t[2])
|
|
572
|
+
_.ops.pop();
|
|
573
|
+
_.trys.pop();
|
|
574
|
+
continue;
|
|
575
|
+
}
|
|
576
|
+
op = body.call(thisArg, _);
|
|
577
|
+
}
|
|
578
|
+
catch (e) {
|
|
579
|
+
op = [6, e];
|
|
580
|
+
y = 0;
|
|
581
|
+
}
|
|
582
|
+
finally {
|
|
583
|
+
f = t = 0;
|
|
584
|
+
}
|
|
585
|
+
if (op[0] & 5)
|
|
586
|
+
throw op[1];
|
|
587
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
591
|
+
if (k2 === undefined)
|
|
592
|
+
k2 = k;
|
|
593
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
594
|
+
}) : (function (o, m, k, k2) {
|
|
595
|
+
if (k2 === undefined)
|
|
596
|
+
k2 = k;
|
|
597
|
+
o[k2] = m[k];
|
|
598
|
+
});
|
|
599
|
+
function __exportStar(m, o) {
|
|
600
|
+
for (var p in m)
|
|
601
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
602
|
+
__createBinding(o, m, p);
|
|
603
|
+
}
|
|
604
|
+
function __values(o) {
|
|
605
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
606
|
+
if (m)
|
|
607
|
+
return m.call(o);
|
|
608
|
+
if (o && typeof o.length === "number")
|
|
609
|
+
return {
|
|
610
|
+
next: function () {
|
|
611
|
+
if (o && i >= o.length)
|
|
612
|
+
o = void 0;
|
|
613
|
+
return { value: o && o[i++], done: !o };
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
617
|
+
}
|
|
618
|
+
function __read(o, n) {
|
|
619
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
620
|
+
if (!m)
|
|
621
|
+
return o;
|
|
622
|
+
var i = m.call(o), r, ar = [], e;
|
|
623
|
+
try {
|
|
624
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
625
|
+
ar.push(r.value);
|
|
626
|
+
}
|
|
627
|
+
catch (error) {
|
|
628
|
+
e = { error: error };
|
|
629
|
+
}
|
|
630
|
+
finally {
|
|
631
|
+
try {
|
|
632
|
+
if (r && !r.done && (m = i["return"]))
|
|
633
|
+
m.call(i);
|
|
634
|
+
}
|
|
635
|
+
finally {
|
|
636
|
+
if (e)
|
|
637
|
+
throw e.error;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return ar;
|
|
641
|
+
}
|
|
642
|
+
/** @deprecated */
|
|
643
|
+
function __spread() {
|
|
644
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
645
|
+
ar = ar.concat(__read(arguments[i]));
|
|
646
|
+
return ar;
|
|
647
|
+
}
|
|
648
|
+
/** @deprecated */
|
|
649
|
+
function __spreadArrays() {
|
|
650
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
651
|
+
s += arguments[i].length;
|
|
652
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
653
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
654
|
+
r[k] = a[j];
|
|
655
|
+
return r;
|
|
656
|
+
}
|
|
657
|
+
function __spreadArray(to, from, pack) {
|
|
658
|
+
if (pack || arguments.length === 2)
|
|
659
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
660
|
+
if (ar || !(i in from)) {
|
|
661
|
+
if (!ar)
|
|
662
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
663
|
+
ar[i] = from[i];
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
667
|
+
}
|
|
668
|
+
function __await(v) {
|
|
669
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
670
|
+
}
|
|
671
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
672
|
+
if (!Symbol.asyncIterator)
|
|
673
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
674
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
675
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
676
|
+
function verb(n) { if (g[n])
|
|
677
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
678
|
+
function resume(n, v) { try {
|
|
679
|
+
step(g[n](v));
|
|
680
|
+
}
|
|
681
|
+
catch (e) {
|
|
682
|
+
settle(q[0][3], e);
|
|
683
|
+
} }
|
|
684
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
685
|
+
function fulfill(value) { resume("next", value); }
|
|
686
|
+
function reject(value) { resume("throw", value); }
|
|
687
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
688
|
+
resume(q[0][0], q[0][1]); }
|
|
689
|
+
}
|
|
690
|
+
function __asyncDelegator(o) {
|
|
691
|
+
var i, p;
|
|
692
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
693
|
+
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; }
|
|
694
|
+
}
|
|
695
|
+
function __asyncValues(o) {
|
|
696
|
+
if (!Symbol.asyncIterator)
|
|
697
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
698
|
+
var m = o[Symbol.asyncIterator], i;
|
|
699
|
+
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);
|
|
700
|
+
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); }); }; }
|
|
701
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
702
|
+
}
|
|
703
|
+
function __makeTemplateObject(cooked, raw) {
|
|
704
|
+
if (Object.defineProperty) {
|
|
705
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
706
|
+
}
|
|
707
|
+
else {
|
|
708
|
+
cooked.raw = raw;
|
|
709
|
+
}
|
|
710
|
+
return cooked;
|
|
711
|
+
}
|
|
712
|
+
;
|
|
713
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
714
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
715
|
+
}) : function (o, v) {
|
|
716
|
+
o["default"] = v;
|
|
717
|
+
};
|
|
718
|
+
function __importStar(mod) {
|
|
719
|
+
if (mod && mod.__esModule)
|
|
720
|
+
return mod;
|
|
721
|
+
var result = {};
|
|
722
|
+
if (mod != null)
|
|
723
|
+
for (var k in mod)
|
|
724
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
725
|
+
__createBinding(result, mod, k);
|
|
726
|
+
__setModuleDefault(result, mod);
|
|
727
|
+
return result;
|
|
728
|
+
}
|
|
729
|
+
function __importDefault(mod) {
|
|
730
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
731
|
+
}
|
|
732
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
733
|
+
if (kind === "a" && !f)
|
|
734
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
735
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
736
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
737
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
738
|
+
}
|
|
739
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
740
|
+
if (kind === "m")
|
|
741
|
+
throw new TypeError("Private method is not writable");
|
|
742
|
+
if (kind === "a" && !f)
|
|
743
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
744
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
745
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
746
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
747
|
+
}
|
|
748
|
+
|
|
721
749
|
var CheckboxComponent = /** @class */ (function (_super) {
|
|
722
750
|
__extends(CheckboxComponent, _super);
|
|
723
751
|
function CheckboxComponent() {
|
|
@@ -1203,6 +1231,7 @@
|
|
|
1203
1231
|
FormErrorComponent,
|
|
1204
1232
|
FormSubmitButtonComponent,
|
|
1205
1233
|
FormComponent,
|
|
1234
|
+
SubFormDirective,
|
|
1206
1235
|
],
|
|
1207
1236
|
exports: [
|
|
1208
1237
|
ValueAccessorBase,
|
|
@@ -1222,6 +1251,7 @@
|
|
|
1222
1251
|
FormErrorComponent,
|
|
1223
1252
|
FormSubmitButtonComponent,
|
|
1224
1253
|
FormComponent,
|
|
1254
|
+
SubFormDirective,
|
|
1225
1255
|
]
|
|
1226
1256
|
},] }
|
|
1227
1257
|
];
|
|
@@ -1252,7 +1282,7 @@
|
|
|
1252
1282
|
exports.PasswordFieldComponent = PasswordFieldComponent;
|
|
1253
1283
|
exports.SelectComponent = SelectComponent;
|
|
1254
1284
|
exports.SortableItemsComponent = SortableItemsComponent;
|
|
1255
|
-
exports.
|
|
1285
|
+
exports.SubFormDirective = SubFormDirective;
|
|
1256
1286
|
exports.TextInputComponent = TextInputComponent;
|
|
1257
1287
|
exports.ToggleComponent = ToggleComponent;
|
|
1258
1288
|
exports.ValueAccessorBase = ValueAccessorBase;
|