exodeui 6.2.10 → 6.2.11
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.js +24 -24
- package/dist/index.mjs +1523 -1474
- package/dist/src/ExodeUICanvas.d.ts +9 -0
- package/dist/src/engine.d.ts +11 -0
- package/dist/src/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,15 @@ export interface ExodeUICanvasProps {
|
|
|
22
22
|
onInputBlur?: (name: string) => void;
|
|
23
23
|
onLog?: (msg: string) => void;
|
|
24
24
|
onLogicUpdate?: (values: Record<string, any>) => void;
|
|
25
|
+
onButtonClick?: (name: string, objectId: string) => void;
|
|
26
|
+
onGraphPointClick?: (event: {
|
|
27
|
+
objectId: string;
|
|
28
|
+
componentName: string;
|
|
29
|
+
datasetIndex: number;
|
|
30
|
+
pointIndex: number;
|
|
31
|
+
value: number;
|
|
32
|
+
label: string;
|
|
33
|
+
}) => void;
|
|
25
34
|
currentTime?: number;
|
|
26
35
|
revision?: number;
|
|
27
36
|
scrollY?: number;
|
package/dist/src/engine.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export declare class ExodeUIEngine {
|
|
|
26
26
|
private onInputFocus?;
|
|
27
27
|
private onInputBlur?;
|
|
28
28
|
private onLog?;
|
|
29
|
+
private onButtonClick?;
|
|
30
|
+
private onGraphPointClick?;
|
|
29
31
|
private justFiredTriggers;
|
|
30
32
|
private rootTransform;
|
|
31
33
|
private canvasWidth;
|
|
@@ -56,6 +58,15 @@ export declare class ExodeUIEngine {
|
|
|
56
58
|
setToggleCallback(cb: (name: string, checked: boolean) => void): void;
|
|
57
59
|
setLogicUpdateCallback(cb: (values: Record<string, any>) => void): void;
|
|
58
60
|
setInputChangeCallback(cb: (name: string, text: string) => void): void;
|
|
61
|
+
setButtonClickCallback(cb: (name: string, objectId: string) => void): void;
|
|
62
|
+
setGraphPointClickCallback(cb: (event: {
|
|
63
|
+
objectId: string;
|
|
64
|
+
componentName: string;
|
|
65
|
+
datasetIndex: number;
|
|
66
|
+
pointIndex: number;
|
|
67
|
+
value: number;
|
|
68
|
+
label: string;
|
|
69
|
+
}) => void): void;
|
|
59
70
|
private ensurePathPoints;
|
|
60
71
|
private svgPathToPoints;
|
|
61
72
|
setOnLogCallback(cb: (msg: string) => void): void;
|
package/dist/src/types.d.ts
CHANGED