@yoobic/yobi 8.7.16 → 8.7.17
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.
@@ -1129,7 +1129,6 @@ const YooGridComponent = class {
|
|
1129
1129
|
this.cellEdited.emit(params);
|
1130
1130
|
},
|
1131
1131
|
onSelectionChanged: (params) => {
|
1132
|
-
var _a, _b;
|
1133
1132
|
if (this.disconnected || this.isReadonly) {
|
1134
1133
|
return;
|
1135
1134
|
}
|
@@ -1154,9 +1153,7 @@ const YooGridComponent = class {
|
|
1154
1153
|
}
|
1155
1154
|
}
|
1156
1155
|
else {
|
1157
|
-
this.selectionRemoved =
|
1158
|
-
return this.items.find((item) => item[this.idAttributeName || '_id'] === s) || { _id: s };
|
1159
|
-
})) || [];
|
1156
|
+
this.selectionRemoved = [];
|
1160
1157
|
params.api.forEachNode((node) => {
|
1161
1158
|
if (node.id) {
|
1162
1159
|
if (node.isSelected() === false && this.findIndex(node.data, true) < 0) {
|
@@ -1044,7 +1044,6 @@ export class YooGridComponent {
|
|
1044
1044
|
this.cellEdited.emit(params);
|
1045
1045
|
},
|
1046
1046
|
onSelectionChanged: (params) => {
|
1047
|
-
var _a, _b;
|
1048
1047
|
if (this.disconnected || this.isReadonly) {
|
1049
1048
|
return;
|
1050
1049
|
}
|
@@ -1069,9 +1068,7 @@ export class YooGridComponent {
|
|
1069
1068
|
}
|
1070
1069
|
}
|
1071
1070
|
else {
|
1072
|
-
this.selectionRemoved =
|
1073
|
-
return this.items.find((item) => item[this.idAttributeName || '_id'] === s) || { _id: s };
|
1074
|
-
})) || [];
|
1071
|
+
this.selectionRemoved = [];
|
1075
1072
|
params.api.forEachNode((node) => {
|
1076
1073
|
if (node.id) {
|
1077
1074
|
if (node.isSelected() === false && this.findIndex(node.data, true) < 0) {
|
@@ -1125,7 +1125,6 @@ const YooGridComponent = class {
|
|
1125
1125
|
this.cellEdited.emit(params);
|
1126
1126
|
},
|
1127
1127
|
onSelectionChanged: (params) => {
|
1128
|
-
var _a, _b;
|
1129
1128
|
if (this.disconnected || this.isReadonly) {
|
1130
1129
|
return;
|
1131
1130
|
}
|
@@ -1150,9 +1149,7 @@ const YooGridComponent = class {
|
|
1150
1149
|
}
|
1151
1150
|
}
|
1152
1151
|
else {
|
1153
|
-
this.selectionRemoved =
|
1154
|
-
return this.items.find((item) => item[this.idAttributeName || '_id'] === s) || { _id: s };
|
1155
|
-
})) || [];
|
1152
|
+
this.selectionRemoved = [];
|
1156
1153
|
params.api.forEachNode((node) => {
|
1157
1154
|
if (node.id) {
|
1158
1155
|
if (node.isSelected() === false && this.findIndex(node.data, true) < 0) {
|
@@ -1125,7 +1125,6 @@ const YooGridComponent = class {
|
|
1125
1125
|
this.cellEdited.emit(params);
|
1126
1126
|
},
|
1127
1127
|
onSelectionChanged: (params) => {
|
1128
|
-
var _a, _b;
|
1129
1128
|
if (this.disconnected || this.isReadonly) {
|
1130
1129
|
return;
|
1131
1130
|
}
|
@@ -1150,9 +1149,7 @@ const YooGridComponent = class {
|
|
1150
1149
|
}
|
1151
1150
|
}
|
1152
1151
|
else {
|
1153
|
-
this.selectionRemoved =
|
1154
|
-
return this.items.find((item) => item[this.idAttributeName || '_id'] === s) || { _id: s };
|
1155
|
-
})) || [];
|
1152
|
+
this.selectionRemoved = [];
|
1156
1153
|
params.api.forEachNode((node) => {
|
1157
1154
|
if (node.id) {
|
1158
1155
|
if (node.isSelected() === false && this.findIndex(node.data, true) < 0) {
|