exodeui 6.2.11 → 6.3.5
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 +22 -22
- package/dist/index.mjs +2279 -2253
- package/dist/src/__tests__/triggers.test.d.ts +1 -0
- package/dist/src/engine.d.ts +4 -1
- package/dist/src/types.d.ts +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/engine.d.ts
CHANGED
|
@@ -52,6 +52,9 @@ export declare class ExodeUIEngine {
|
|
|
52
52
|
private fontLeadingFactors;
|
|
53
53
|
private onLogicUpdate?;
|
|
54
54
|
private logicNodeValues;
|
|
55
|
+
private logicNodeState;
|
|
56
|
+
private pointerDownTimes;
|
|
57
|
+
private activeHoverIds;
|
|
55
58
|
setTriggerCallback(cb: (triggerName: string, animationName: string) => void): void;
|
|
56
59
|
setInputUpdateCallback(cb: (nameOrId: string, value: any) => void): void;
|
|
57
60
|
setComponentChangeCallback(cb: (event: ComponentEvent) => void): void;
|
|
@@ -140,7 +143,7 @@ export declare class ExodeUIEngine {
|
|
|
140
143
|
private getWorldTransform;
|
|
141
144
|
private hitTest;
|
|
142
145
|
private updateSliderValueFromPointer;
|
|
143
|
-
applyAnimation(anim: SDKAnimation, time: number): void;
|
|
146
|
+
applyAnimation(anim: SDKAnimation, time: number, filterObjectId?: string): void;
|
|
144
147
|
private interpolate;
|
|
145
148
|
private interpolateColor;
|
|
146
149
|
private interpolateStops;
|
package/dist/src/types.d.ts
CHANGED
|
@@ -419,8 +419,10 @@ export interface Trigger {
|
|
|
419
419
|
eventType: 'onClick' | 'onHold' | 'pointerDown' | 'pointerUp' | 'hover';
|
|
420
420
|
entryAnimationId?: string | null;
|
|
421
421
|
exitAnimationId?: string | null;
|
|
422
|
+
targetObjectId?: string | null;
|
|
422
423
|
duration?: number;
|
|
423
424
|
loop?: boolean;
|
|
425
|
+
conditions?: Condition[];
|
|
424
426
|
}
|
|
425
427
|
export interface Interaction {
|
|
426
428
|
id: string;
|
|
@@ -430,6 +432,7 @@ export interface Interaction {
|
|
|
430
432
|
targetProperty?: string;
|
|
431
433
|
targetObjectId?: string;
|
|
432
434
|
value?: any;
|
|
435
|
+
conditions?: Condition[];
|
|
433
436
|
}
|
|
434
437
|
export interface Physics {
|
|
435
438
|
enabled: boolean;
|
|
@@ -591,6 +594,8 @@ export interface Input {
|
|
|
591
594
|
x?: number;
|
|
592
595
|
y?: number;
|
|
593
596
|
nodes?: InputNodePosition[];
|
|
597
|
+
sourceId?: string;
|
|
598
|
+
sourceHandleId?: string;
|
|
594
599
|
}
|
|
595
600
|
export interface Layer {
|
|
596
601
|
name: string;
|
|
@@ -638,7 +643,8 @@ export declare enum LogicOp {
|
|
|
638
643
|
MOUSE_Y = "MOUSE_Y",
|
|
639
644
|
IS_MOUSE_DOWN = "IS_MOUSE_DOWN",
|
|
640
645
|
EFFECTOR = "EFFECTOR",
|
|
641
|
-
MONITOR = "MONITOR"
|
|
646
|
+
MONITOR = "MONITOR",
|
|
647
|
+
DELAY = "DELAY"
|
|
642
648
|
}
|
|
643
649
|
export interface LogicNode {
|
|
644
650
|
id: string;
|