ps-toolkit-ui 0.0.52 → 0.0.56
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 +3 -2
- 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/classes/form.class.js +1 -2
- package/esm2015/lib/components/form/tree/form.tree.component.js +4 -2
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1879,7 +1879,6 @@
|
|
|
1879
1879
|
TreeRowClass.prototype.check = function (onlyChild, c) {
|
|
1880
1880
|
if (c === void 0) { c = this; }
|
|
1881
1881
|
c.selected = true;
|
|
1882
|
-
c.checkChildren(onlyChild);
|
|
1883
1882
|
if (onlyChild) {
|
|
1884
1883
|
c.checkChildren(onlyChild);
|
|
1885
1884
|
}
|
|
@@ -5743,6 +5742,8 @@
|
|
|
5743
5742
|
};
|
|
5744
5743
|
FormTreeComponent.prototype.check = function (ids) {
|
|
5745
5744
|
var e_2, _a;
|
|
5745
|
+
console.log(ids);
|
|
5746
|
+
console.log(this.inp.rows);
|
|
5746
5747
|
try {
|
|
5747
5748
|
for (var _b = __values(this.inp.rows), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
5748
5749
|
var r = _c.value;
|
|
@@ -5767,7 +5768,7 @@
|
|
|
5767
5768
|
for (var chs_1 = __values(chs), chs_1_1 = chs_1.next(); !chs_1_1.done; chs_1_1 = chs_1.next()) {
|
|
5768
5769
|
var r = chs_1_1.value;
|
|
5769
5770
|
if (ids.includes(r.value)) {
|
|
5770
|
-
r.toggle();
|
|
5771
|
+
r.toggle(this.inp.onlyChild);
|
|
5771
5772
|
}
|
|
5772
5773
|
this.checkChildren(r.children, ids);
|
|
5773
5774
|
}
|