handler-playable-sdk 0.3.30 → 0.3.31
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/{chunk-YA7ENPOK.js → chunk-B4T7QMVH.js} +264 -65
- package/dist/index.cjs +262 -63
- package/dist/index.d.cts +46 -1
- package/dist/index.d.ts +46 -1
- package/dist/index.js +1 -1
- package/dist/pixi/index.cjs +6 -6
- package/dist/pixi/index.js +1 -1
- package/dist/three/index.cjs +8 -8
- package/dist/three/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -292,6 +292,11 @@ declare class InspectorPanel {
|
|
|
292
292
|
private isSectionMeaningful;
|
|
293
293
|
private showError;
|
|
294
294
|
private formatLabel;
|
|
295
|
+
/**
|
|
296
|
+
* Get default props for a specific logic type
|
|
297
|
+
* These are the initial/default values when switching to a new logic
|
|
298
|
+
*/
|
|
299
|
+
private getDefaultPropsForLogic;
|
|
295
300
|
private getSectionIcon;
|
|
296
301
|
clear(): void;
|
|
297
302
|
}
|
|
@@ -820,6 +825,46 @@ declare function resetToOriginal(): Promise<void>;
|
|
|
820
825
|
*/
|
|
821
826
|
declare const baseLottie: any;
|
|
822
827
|
|
|
828
|
+
/**
|
|
829
|
+
* PlayableLoadingScreen - Vanilla TypeScript Implementation
|
|
830
|
+
*
|
|
831
|
+
* A premium loading screen with industrial design aesthetics.
|
|
832
|
+
* Features animated box, progress bar, and flying HANDLER letters.
|
|
833
|
+
*/
|
|
834
|
+
interface PlayableLoadingScreenOptions {
|
|
835
|
+
progress?: number;
|
|
836
|
+
}
|
|
837
|
+
declare class PlayableLoadingScreen {
|
|
838
|
+
private container;
|
|
839
|
+
private progressBar;
|
|
840
|
+
private progressText;
|
|
841
|
+
private authSeq;
|
|
842
|
+
private currentProgress;
|
|
843
|
+
constructor(options?: PlayableLoadingScreenOptions);
|
|
844
|
+
private createContainer;
|
|
845
|
+
private injectStyles;
|
|
846
|
+
setProgress(progress: number): void;
|
|
847
|
+
mount(parent?: HTMLElement): void;
|
|
848
|
+
unmount(): void;
|
|
849
|
+
getElement(): HTMLDivElement;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* UI Constants for Handler SDK
|
|
854
|
+
*/
|
|
855
|
+
declare const COLORS: {
|
|
856
|
+
background: string;
|
|
857
|
+
ink: string;
|
|
858
|
+
secondaryText: string;
|
|
859
|
+
primaryAccent: string;
|
|
860
|
+
secondaryAccent: string;
|
|
861
|
+
statusGreen: string;
|
|
862
|
+
};
|
|
863
|
+
declare const STROKE_WIDTH = 1.25;
|
|
864
|
+
declare const THEME: {
|
|
865
|
+
fontFamily: string;
|
|
866
|
+
};
|
|
867
|
+
|
|
823
868
|
declare global {
|
|
824
869
|
const mraid: any;
|
|
825
870
|
const dapi: any;
|
|
@@ -913,4 +958,4 @@ declare const Handler: {
|
|
|
913
958
|
resize(width?: number, height?: number): void;
|
|
914
959
|
};
|
|
915
960
|
|
|
916
|
-
export { type ConfigChange, type ConfigChangeEvent, type ConfigOverride, type ConfigOverrideOptions, ConfigWatcher, DebugPanel, DefaultReloadStrategy, type DeviceCategory, type DeviceGroup, type DevicePreset, Handler, type HotReloadDependencies, type HotReloadWatcher, type LiveEditBridge, ObjectCentricConfig, type PreviewOptions, PreviewShell, type ReloadStrategy, type SetupLiveEditBridgeOptions, applyConfigOverride, applyConfigOverrides, applyConfigsToDisk, baseLottie, bootstrap, clearConfigOverrides, clearConfigOverridesForObject, configOverrideManager, createPreviewShell, deepClone, Handler as default, defaultPreset, deviceGroups, devicePresets, diffConfigs, exportConfigsAsJSON, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge };
|
|
961
|
+
export { COLORS, type ConfigChange, type ConfigChangeEvent, type ConfigOverride, type ConfigOverrideOptions, ConfigWatcher, DebugPanel, DefaultReloadStrategy, type DeviceCategory, type DeviceGroup, type DevicePreset, Handler, type HotReloadDependencies, type HotReloadWatcher, type LiveEditBridge, ObjectCentricConfig, PlayableLoadingScreen, type PreviewOptions, PreviewShell, type ReloadStrategy, STROKE_WIDTH, type SetupLiveEditBridgeOptions, THEME, applyConfigOverride, applyConfigOverrides, applyConfigsToDisk, baseLottie, bootstrap, clearConfigOverrides, clearConfigOverridesForObject, configOverrideManager, createPreviewShell, deepClone, Handler as default, defaultPreset, deviceGroups, devicePresets, diffConfigs, exportConfigsAsJSON, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge };
|
package/dist/index.d.ts
CHANGED
|
@@ -292,6 +292,11 @@ declare class InspectorPanel {
|
|
|
292
292
|
private isSectionMeaningful;
|
|
293
293
|
private showError;
|
|
294
294
|
private formatLabel;
|
|
295
|
+
/**
|
|
296
|
+
* Get default props for a specific logic type
|
|
297
|
+
* These are the initial/default values when switching to a new logic
|
|
298
|
+
*/
|
|
299
|
+
private getDefaultPropsForLogic;
|
|
295
300
|
private getSectionIcon;
|
|
296
301
|
clear(): void;
|
|
297
302
|
}
|
|
@@ -820,6 +825,46 @@ declare function resetToOriginal(): Promise<void>;
|
|
|
820
825
|
*/
|
|
821
826
|
declare const baseLottie: any;
|
|
822
827
|
|
|
828
|
+
/**
|
|
829
|
+
* PlayableLoadingScreen - Vanilla TypeScript Implementation
|
|
830
|
+
*
|
|
831
|
+
* A premium loading screen with industrial design aesthetics.
|
|
832
|
+
* Features animated box, progress bar, and flying HANDLER letters.
|
|
833
|
+
*/
|
|
834
|
+
interface PlayableLoadingScreenOptions {
|
|
835
|
+
progress?: number;
|
|
836
|
+
}
|
|
837
|
+
declare class PlayableLoadingScreen {
|
|
838
|
+
private container;
|
|
839
|
+
private progressBar;
|
|
840
|
+
private progressText;
|
|
841
|
+
private authSeq;
|
|
842
|
+
private currentProgress;
|
|
843
|
+
constructor(options?: PlayableLoadingScreenOptions);
|
|
844
|
+
private createContainer;
|
|
845
|
+
private injectStyles;
|
|
846
|
+
setProgress(progress: number): void;
|
|
847
|
+
mount(parent?: HTMLElement): void;
|
|
848
|
+
unmount(): void;
|
|
849
|
+
getElement(): HTMLDivElement;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* UI Constants for Handler SDK
|
|
854
|
+
*/
|
|
855
|
+
declare const COLORS: {
|
|
856
|
+
background: string;
|
|
857
|
+
ink: string;
|
|
858
|
+
secondaryText: string;
|
|
859
|
+
primaryAccent: string;
|
|
860
|
+
secondaryAccent: string;
|
|
861
|
+
statusGreen: string;
|
|
862
|
+
};
|
|
863
|
+
declare const STROKE_WIDTH = 1.25;
|
|
864
|
+
declare const THEME: {
|
|
865
|
+
fontFamily: string;
|
|
866
|
+
};
|
|
867
|
+
|
|
823
868
|
declare global {
|
|
824
869
|
const mraid: any;
|
|
825
870
|
const dapi: any;
|
|
@@ -913,4 +958,4 @@ declare const Handler: {
|
|
|
913
958
|
resize(width?: number, height?: number): void;
|
|
914
959
|
};
|
|
915
960
|
|
|
916
|
-
export { type ConfigChange, type ConfigChangeEvent, type ConfigOverride, type ConfigOverrideOptions, ConfigWatcher, DebugPanel, DefaultReloadStrategy, type DeviceCategory, type DeviceGroup, type DevicePreset, Handler, type HotReloadDependencies, type HotReloadWatcher, type LiveEditBridge, ObjectCentricConfig, type PreviewOptions, PreviewShell, type ReloadStrategy, type SetupLiveEditBridgeOptions, applyConfigOverride, applyConfigOverrides, applyConfigsToDisk, baseLottie, bootstrap, clearConfigOverrides, clearConfigOverridesForObject, configOverrideManager, createPreviewShell, deepClone, Handler as default, defaultPreset, deviceGroups, devicePresets, diffConfigs, exportConfigsAsJSON, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge };
|
|
961
|
+
export { COLORS, type ConfigChange, type ConfigChangeEvent, type ConfigOverride, type ConfigOverrideOptions, ConfigWatcher, DebugPanel, DefaultReloadStrategy, type DeviceCategory, type DeviceGroup, type DevicePreset, Handler, type HotReloadDependencies, type HotReloadWatcher, type LiveEditBridge, ObjectCentricConfig, PlayableLoadingScreen, type PreviewOptions, PreviewShell, type ReloadStrategy, STROKE_WIDTH, type SetupLiveEditBridgeOptions, THEME, applyConfigOverride, applyConfigOverrides, applyConfigsToDisk, baseLottie, bootstrap, clearConfigOverrides, clearConfigOverridesForObject, configOverrideManager, createPreviewShell, deepClone, Handler as default, defaultPreset, deviceGroups, devicePresets, diffConfigs, exportConfigsAsJSON, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as F,F as G,G as H,H as I,I as J,J as K,K as L,L as M,M as N,N as O,O as P,P as Q,Q as R,a}from"./chunk-
|
|
1
|
+
import{E as F,F as G,G as H,H as I,I as J,J as K,K as L,L as M,M as N,N as O,O as P,P as Q,Q as R,R as S,S as T,T as U,U as V,a}from"./chunk-B4T7QMVH.js";import"./chunk-I5OOVR5U.js";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w,h as x,i as y,j as z,k as A,l as B,m as C,n as D,o as E}from"./chunk-LV4HGC5G.js";import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p}from"./chunk-ZLL42OOV.js";import"./chunk-E6WJCS24.js";import"./chunk-Q7FPWOA3.js";export{Q as COLORS,B as ConfigWatcher,K as DebugPanel,A as DefaultReloadStrategy,U as Handler,T as PlayableLoadingScreen,L as PreviewShell,R as STROKE_WIDTH,S as THEME,d as applyConfigOverride,e as applyConfigOverrides,n as applyConfigsToDisk,x as applyDefaults,a as baseLottie,P as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,M as createPreviewShell,k as deepClone,V as default,H as defaultPreset,G as deviceGroups,F as devicePresets,C as diffConfigs,l as exportConfigsAsJSON,i as getConfigOverrides,m as getConfigStateSummary,b as getOverrideMode,I as getPresetById,J as getPresetsByCategory,s as loadAllObjectConfigs,q as loadComponentSchemas,t as loadEngineConfig,u as loadGamePromptConfig,y as loadObjectCentricConfig,r as loadObjectConfig,v as loadSceneConfig,D as rehydrateObject,h as removeConfigOverride,o as resetToApplied,p as resetToOriginal,O as setBootstrapDependencies,c as setOverrideMode,E as setupHotReload,N as setupLiveEditBridge,z as toLegacyFormat,w as validateObjectConfig};
|