@vuu-ui/vuu-data-test 3.3.8 → 3.3.9

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.3.8",
2
+ "version": "3.3.9",
3
3
  "main": "./src/index.js",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
@@ -9,13 +9,13 @@
9
9
  "type-defs": "node ../../scripts/build-type-defs.mjs"
10
10
  },
11
11
  "dependencies": {
12
- "@vuu-ui/vuu-data-local": "3.3.8",
13
- "@vuu-ui/vuu-utils": "3.3.8"
12
+ "@vuu-ui/vuu-data-local": "3.3.9",
13
+ "@vuu-ui/vuu-utils": "3.3.9"
14
14
  },
15
15
  "devDependencies": {
16
- "@vuu-ui/vuu-protocol-types": "3.3.8",
17
- "@vuu-ui/vuu-data-types": "3.3.8",
18
- "@vuu-ui/vuu-table-types": "3.3.8"
16
+ "@vuu-ui/vuu-protocol-types": "3.3.9",
17
+ "@vuu-ui/vuu-data-types": "3.3.9",
18
+ "@vuu-ui/vuu-table-types": "3.3.9"
19
19
  },
20
20
  "sideEffects": false,
21
21
  "files": [
@@ -212,22 +212,16 @@ class VuuModule {
212
212
  if (sessionTable) {
213
213
  const { dataSource } = this.getSubscriptionByViewport(viewPortId);
214
214
  const selectedRowIds = dataSource.getSelectedRowIds();
215
- const deletedKeys = [];
216
215
  if (selectedRowIds.length > 0) {
217
- for (const key of selectedRowIds){
218
- if ("soft" === mode) sessionTable.update(key, "vuuAction", "deleteRow");
219
- else sessionTable.delete(key);
220
- deletedKeys.push(key);
221
- }
216
+ for (const key of selectedRowIds)if ("soft" === mode) sessionTable.update(key, "vuuAction", "deleteRow");
217
+ else sessionTable.delete(key);
222
218
  dataSource.select?.({
223
219
  type: "DESELECT_ALL"
224
220
  });
225
221
  }
226
222
  return {
227
223
  type: "SUCCESS_RESULT",
228
- data: {
229
- deletedKeys
230
- }
224
+ data: void 0
231
225
  };
232
226
  }
233
227
  return {