exodeui 6.4.4 → 6.4.6
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 +19 -19
- package/dist/index.mjs +3925 -3538
- package/dist/src/engine.d.ts +17 -0
- package/package.json +1 -1
package/dist/src/engine.d.ts
CHANGED
|
@@ -10,6 +10,17 @@ export declare const BAR_STYLE_PRESETS: Record<string, {
|
|
|
10
10
|
legendColor: string;
|
|
11
11
|
barGradient: boolean;
|
|
12
12
|
}>;
|
|
13
|
+
export declare const TOGGLE_SHAPE_NAME_MAP: Record<string, string>;
|
|
14
|
+
export declare const getToggleSvgPathBounds: (d: string) => {
|
|
15
|
+
minX: number;
|
|
16
|
+
minY: number;
|
|
17
|
+
maxX: number;
|
|
18
|
+
maxY: number;
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
cx: number;
|
|
22
|
+
cy: number;
|
|
23
|
+
};
|
|
13
24
|
export declare class ExodeUIEngine {
|
|
14
25
|
private artboard;
|
|
15
26
|
private objectStates;
|
|
@@ -74,6 +85,7 @@ export declare class ExodeUIEngine {
|
|
|
74
85
|
private objectVelocities;
|
|
75
86
|
private currentTime;
|
|
76
87
|
private frameCount;
|
|
88
|
+
private entranceStartTimes;
|
|
77
89
|
private fontLeadingFactors;
|
|
78
90
|
private onLogicUpdate?;
|
|
79
91
|
private logicNodeValues;
|
|
@@ -192,6 +204,9 @@ export declare class ExodeUIEngine {
|
|
|
192
204
|
isBarChartObject(obj: any): boolean;
|
|
193
205
|
isPieChartObject(obj: any): boolean;
|
|
194
206
|
isGraphObject(obj: any): boolean;
|
|
207
|
+
isInputBoxObject(obj: any): boolean;
|
|
208
|
+
isClickableObject(obj: any): boolean;
|
|
209
|
+
getLastHoveredObject(): any;
|
|
195
210
|
clearAllGraphHover(): void;
|
|
196
211
|
private getLocalCoords;
|
|
197
212
|
private updateGraphHoverFromPointer;
|
|
@@ -209,6 +224,7 @@ export declare class ExodeUIEngine {
|
|
|
209
224
|
private initGlobalAnimationTriggers;
|
|
210
225
|
private triggerGlobalAnimation;
|
|
211
226
|
private handleAnimationFinished;
|
|
227
|
+
private getEntranceProgress;
|
|
212
228
|
private getWorldTransform;
|
|
213
229
|
private hitTest;
|
|
214
230
|
private updateSliderValueFromPointer;
|
|
@@ -257,6 +273,7 @@ export declare class ExodeUIEngine {
|
|
|
257
273
|
private renderSlider;
|
|
258
274
|
private renderDropdown;
|
|
259
275
|
private renderButton;
|
|
276
|
+
private drawButtonIcon;
|
|
260
277
|
private renderToggleButton;
|
|
261
278
|
private renderToggle;
|
|
262
279
|
private renderCheckbox;
|