@abi-software/simulationvuer 3.0.18 → 3.0.20

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/simulationvuer",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vite serve --host --force",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@abi-software/plotvuer": "1.0.7",
24
- "@opencor/opencor": "^0.20260416.2",
24
+ "@opencor/opencor": "^0.20260416.3",
25
25
  "element-plus": "2.8.4",
26
26
  "jsonschema": "^1.4.0",
27
27
  "mathjs": "^15.1.0",
@@ -350,12 +350,18 @@ export default {
350
350
  */
351
351
  addExternalData(csv, voiExpression, modelParameters) {
352
352
  if (!this.$refs.opencorRef?.addExternalData) {
353
- return Promise.reject(
354
- new Error("SimulationVuer: OpenCOR instance is not available."),
353
+ console.warn(
354
+ "SimulationVuer: addExternalData: OpenCOR instance is not available.",
355
355
  );
356
+
357
+ return;
356
358
  }
357
359
 
358
- return this.$refs.opencorRef.addExternalData(csv, voiExpression, modelParameters);
360
+ return this.$refs.opencorRef.addExternalData(
361
+ csv,
362
+ voiExpression,
363
+ modelParameters,
364
+ );
359
365
  },
360
366
  /**
361
367
  * @public
@@ -490,9 +496,9 @@ export default {
490
496
  data,
491
497
  },
492
498
  });
493
-
494
- this.$emit("simulationData", event);
495
499
  });
500
+
501
+ this.$emit("simulationData", event);
496
502
  },
497
503
  /**
498
504
  * @public