ps-toolkit-ui 0.0.53 → 0.0.54
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/ps-toolkit-ui.umd.js +5 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/tree/form.tree.component.js +6 -2
- package/fesm2015/ps-toolkit-ui.js +5 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -5743,6 +5743,8 @@
|
|
|
5743
5743
|
};
|
|
5744
5744
|
FormTreeComponent.prototype.check = function (ids) {
|
|
5745
5745
|
var e_2, _a;
|
|
5746
|
+
console.log(ids);
|
|
5747
|
+
console.log(this.inp.rows);
|
|
5746
5748
|
try {
|
|
5747
5749
|
for (var _b = __values(this.inp.rows), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
5748
5750
|
var r = _c.value;
|
|
@@ -5750,7 +5752,9 @@
|
|
|
5750
5752
|
if (ids.includes(r.value)) {
|
|
5751
5753
|
r.toggle(this.inp.onlyChild);
|
|
5752
5754
|
}
|
|
5753
|
-
this.
|
|
5755
|
+
if (this.inp.onlyChild) {
|
|
5756
|
+
this.checkChildren(r.children, ids);
|
|
5757
|
+
}
|
|
5754
5758
|
}
|
|
5755
5759
|
}
|
|
5756
5760
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|