e-virt-table 1.2.34 → 1.2.35

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/dist/index.es.js CHANGED
@@ -1560,9 +1560,9 @@ class ge {
1560
1560
  toggleTreeSelection(t) {
1561
1561
  const e = this.getTreeSelectionState(t), i = this.ctx.config.TREE_SELECT_MODE;
1562
1562
  if (i === "auto")
1563
- e.checked && !e.indeterminate ? (this.setRowSelection(t, !1, !1), this.clearTreeSelectionRecursive(t)) : (this.setRowSelection(t, !0, !1), this.selectTreeSelectionRecursive(t));
1563
+ e.checked && !e.indeterminate ? (this.clearTreeSelectionRecursive(t), this.setRowSelection(t, !1, !1)) : (this.selectTreeSelectionRecursive(t), this.setRowSelection(t, !0, !1));
1564
1564
  else if (i === "cautious")
1565
- e.checked && !e.indeterminate ? (this.setRowSelection(t, !1, !1), this.clearTreeSelectionRecursive(t)) : (this.setRowSelection(t, !0, !1), this.selectTreeSelectionRecursive(t));
1565
+ e.checked && !e.indeterminate ? (this.clearTreeSelectionRecursive(t), this.setRowSelection(t, !1, !1)) : (this.selectTreeSelectionRecursive(t), this.setRowSelection(t, !0, !1));
1566
1566
  else if (i === "strictly") {
1567
1567
  const s = this.selectionMap.get(t);
1568
1568
  s && (s.check = !s.check, this.setRowSelectionByCheckboxKey(t, s.check));