@hpcc-js/graph 2.85.1 → 2.85.2
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/dist/index.es6.js +4 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/graph2/graphT.ts +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/graph",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.2",
|
|
4
4
|
"description": "hpcc-js - Viz Graph",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -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": "
|
|
91
|
+
"gitHead": "f7c52e2fb46256b2e44f68178d3612aef408d2e0"
|
|
92
92
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/graph";
|
|
2
|
-
export const PKG_VERSION = "2.85.
|
|
3
|
-
export const BUILD_VERSION = "2.104.
|
|
2
|
+
export const PKG_VERSION = "2.85.2";
|
|
3
|
+
export const BUILD_VERSION = "2.104.17";
|
package/src/graph2/graphT.ts
CHANGED
|
@@ -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") : "";
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/graph";
|
|
2
|
-
export declare const PKG_VERSION = "2.85.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.85.2";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.17";
|
|
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.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.85.2";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.17";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|