@smartsoft001/angular 1.1.689 → 1.1.690
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.
|
@@ -256,16 +256,10 @@
|
|
|
256
256
|
r[k] = a[j];
|
|
257
257
|
return r;
|
|
258
258
|
}
|
|
259
|
-
function __spreadArray(to, from
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
if (!ar)
|
|
264
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
265
|
-
ar[i] = from[i];
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
259
|
+
function __spreadArray(to, from) {
|
|
260
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
261
|
+
to[j] = from[i];
|
|
262
|
+
return to;
|
|
269
263
|
}
|
|
270
264
|
function __await(v) {
|
|
271
265
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -746,7 +740,7 @@
|
|
|
746
740
|
(rootCheck ? rootCheck : result).valueChanges.pipe(operators.tap(function () {
|
|
747
741
|
enabledDefinitions.forEach(function (def) {
|
|
748
742
|
var enabled = utils.SpecificationService.valid(result.value, def.enabled, {
|
|
749
|
-
$root: rootCheck.value
|
|
743
|
+
$root: rootCheck === null || rootCheck === void 0 ? void 0 : rootCheck.value
|
|
750
744
|
});
|
|
751
745
|
console.log(rootCheck.value, result.value);
|
|
752
746
|
def.control['__smartDisabled'] = !enabled;
|