exodeui 2.6.42 → 6.0.9
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/engine.d.ts +11 -0
- package/dist/index.js +6 -6
- package/dist/index.mjs +3287 -3069
- package/dist/types.d.ts +53 -1
- package/package.json +2 -1
package/dist/engine.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare class ExodeUIEngine {
|
|
|
9
9
|
private inputNameMap;
|
|
10
10
|
private layerStates;
|
|
11
11
|
private pretextCache;
|
|
12
|
+
private pointerHistory;
|
|
13
|
+
private readonly MAX_HISTORY;
|
|
12
14
|
private imageCache;
|
|
13
15
|
private shadowBuffer;
|
|
14
16
|
private maskBuffer;
|
|
@@ -34,9 +36,15 @@ export declare class ExodeUIEngine {
|
|
|
34
36
|
private draggingSliderId;
|
|
35
37
|
private activeDropdownId;
|
|
36
38
|
private draggingListViewId;
|
|
39
|
+
scrollOffset: {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
};
|
|
43
|
+
private draggingBehaviors;
|
|
37
44
|
private objectVelocities;
|
|
38
45
|
private currentTime;
|
|
39
46
|
private frameCount;
|
|
47
|
+
private fontLeadingFactors;
|
|
40
48
|
setTriggerCallback(cb: (triggerName: string, animationName: string) => void): void;
|
|
41
49
|
setInputUpdateCallback(cb: (nameOrId: string, value: any) => void): void;
|
|
42
50
|
setComponentChangeCallback(cb: (event: ComponentEvent) => void): void;
|
|
@@ -85,6 +93,7 @@ export declare class ExodeUIEngine {
|
|
|
85
93
|
private solveIK;
|
|
86
94
|
private computeSpring;
|
|
87
95
|
handlePointerInput(type: string, canvasX: number, canvasY: number, canvasWidth: number, canvasHeight: number): void;
|
|
96
|
+
handleScroll(x: number, y: number): void;
|
|
88
97
|
private handlePointerEvent;
|
|
89
98
|
handleKeyDown(e: KeyboardEvent): void;
|
|
90
99
|
private fireEventForObject;
|
|
@@ -99,6 +108,7 @@ export declare class ExodeUIEngine {
|
|
|
99
108
|
render(ctx: CanvasRenderingContext2D, width: number, height: number): void;
|
|
100
109
|
private calculateTransform;
|
|
101
110
|
private mapFontWeight;
|
|
111
|
+
private getFontLeadingFactor;
|
|
102
112
|
private renderObject;
|
|
103
113
|
private applyStrokeAlignment;
|
|
104
114
|
private getPerimeter;
|
|
@@ -127,5 +137,6 @@ export declare class ExodeUIEngine {
|
|
|
127
137
|
private drawListViewRect;
|
|
128
138
|
private solveBehaviors;
|
|
129
139
|
private applyBehaviorSensor;
|
|
140
|
+
private lerp;
|
|
130
141
|
private deepMerge;
|
|
131
142
|
}
|