@acorex/components 6.5.13 → 6.5.15
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.
|
@@ -14935,9 +14935,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
14935
14935
|
this._contentDataSource.fetch(null);
|
|
14936
14936
|
}
|
|
14937
14937
|
internalSelectItem(item, userChange = true) {
|
|
14938
|
-
if (this.disabled) {
|
|
14939
|
-
return;
|
|
14940
|
-
}
|
|
14941
14938
|
if (item[this.hasChildField] === false || this.selectionMode === 'single') {
|
|
14942
14939
|
item.select = !item.select;
|
|
14943
14940
|
if (item.parentNode && this.selectionMode !== 'single' && this.checkParents == true) {
|
|
@@ -14993,9 +14990,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
14993
14990
|
}
|
|
14994
14991
|
}
|
|
14995
14992
|
makeNode(item, addChildren = true) {
|
|
14996
|
-
if (this.disabled) {
|
|
14997
|
-
return;
|
|
14998
|
-
}
|
|
14999
14993
|
const node = new AXTreeViewNode();
|
|
15000
14994
|
if (addChildren) {
|
|
15001
14995
|
node.children = item[this.childField] === undefined ? [] : item[this.childField]?.map((m) => this.makeNode(m));
|
|
@@ -15058,9 +15052,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
15058
15052
|
return node;
|
|
15059
15053
|
}
|
|
15060
15054
|
changeChildSelect(item, s) {
|
|
15061
|
-
if (this.disabled) {
|
|
15062
|
-
return;
|
|
15063
|
-
}
|
|
15064
15055
|
// if (this.selectNodesRecursive == 'all' || this.selectNodesRecursive == 'childs') {
|
|
15065
15056
|
if (this.checkChilds == true) {
|
|
15066
15057
|
item.select = s;
|
|
@@ -15095,9 +15086,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
15095
15086
|
}
|
|
15096
15087
|
}
|
|
15097
15088
|
changeParentSelect(item) {
|
|
15098
|
-
if (this.disabled) {
|
|
15099
|
-
return;
|
|
15100
|
-
}
|
|
15101
15089
|
//if (this.selectNodesRecursive == 'all' || this.selectNodesRecursive == 'parents') {
|
|
15102
15090
|
if (this.checkParents) {
|
|
15103
15091
|
let allselect = true;
|
|
@@ -15148,9 +15136,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
15148
15136
|
});
|
|
15149
15137
|
}
|
|
15150
15138
|
itemdbClick(e, item) {
|
|
15151
|
-
if (this.disabled) {
|
|
15152
|
-
return;
|
|
15153
|
-
}
|
|
15154
15139
|
if (this.selectionMode == 'single') {
|
|
15155
15140
|
this.handleOnNodeClick(e, item, true);
|
|
15156
15141
|
}
|
|
@@ -15179,9 +15164,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
|
15179
15164
|
}
|
|
15180
15165
|
}
|
|
15181
15166
|
toggleNode(item, flag = false) {
|
|
15182
|
-
if (this.disabled) {
|
|
15183
|
-
return;
|
|
15184
|
-
}
|
|
15185
15167
|
//item[this.hasChildField] === false &&
|
|
15186
15168
|
if (this.selectionMode === 'single' && !flag) {
|
|
15187
15169
|
if (this.selectionLevel == 'nodes' && item.hasChild == true) {
|