@hpcc-js/graph 2.85.1 → 2.85.3

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": "@hpcc-js/graph",
3
- "version": "2.85.1",
3
+ "version": "2.85.3",
4
4
  "description": "hpcc-js - Viz Graph",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es6",
@@ -51,10 +51,10 @@
51
51
  "update": "npx --yes npm-check-updates -u -t minor"
52
52
  },
53
53
  "dependencies": {
54
- "@hpcc-js/api": "^2.12.7",
55
- "@hpcc-js/common": "^2.71.7",
56
- "@hpcc-js/html": "^2.42.8",
57
- "@hpcc-js/react": "^2.53.3",
54
+ "@hpcc-js/api": "^2.12.8",
55
+ "@hpcc-js/common": "^2.71.8",
56
+ "@hpcc-js/html": "^2.42.9",
57
+ "@hpcc-js/react": "^2.53.4",
58
58
  "@hpcc-js/util": "^2.50.2"
59
59
  },
60
60
  "devDependencies": {
@@ -88,5 +88,5 @@
88
88
  "url": "https://github.com/hpcc-systems/Visualization/issues"
89
89
  },
90
90
  "homepage": "https://github.com/hpcc-systems/Visualization",
91
- "gitHead": "c1baf3e4992b882bbe526b550a72b873f0f4ccc2"
91
+ "gitHead": "d74e4271a192428d584d4bd4ff5bbf65b40284fe"
92
92
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/graph";
2
- export const PKG_VERSION = "2.85.1";
3
- export const BUILD_VERSION = "2.104.16";
2
+ export const PKG_VERSION = "2.85.3";
3
+ export const BUILD_VERSION = "2.104.18";
@@ -218,7 +218,7 @@ export class GraphT<SG extends SubgraphBaseProps, V extends VertexBaseProps, E e
218
218
 
219
219
  resolveEventOrigin(): { origin: string, data?: SG | V | E } {
220
220
  const d3evt = d3Event();
221
- const eventPath = d3evt?.sourceEvent?.path ?? d3evt?.path;
221
+ const eventPath = d3evt?.sourceEvent?.path ?? d3evt?.sourceEvent?.composedPath() ?? d3evt?.path ?? d3evt?.composedPath();
222
222
  const element = eventPath?.find(n => n?.hasAttribute && n?.hasAttribute("data-click"));
223
223
  const origin = element ? element.getAttribute("data-click") : "";
224
224
  const dataStr = element ? element.getAttribute("data-click-data") : "";
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/graph";
2
- export declare const PKG_VERSION = "2.85.1";
3
- export declare const BUILD_VERSION = "2.104.16";
2
+ export declare const PKG_VERSION = "2.85.3";
3
+ export declare const BUILD_VERSION = "2.104.18";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/graph";
2
- export declare const PKG_VERSION = "2.85.1";
3
- export declare const BUILD_VERSION = "2.104.16";
2
+ export declare const PKG_VERSION = "2.85.3";
3
+ export declare const BUILD_VERSION = "2.104.18";
4
4
  //# sourceMappingURL=__package__.d.ts.map