handler-playable-sdk 0.5.34 → 0.5.36
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/ConfigOverride-X57ZHK2W.js +1 -0
- package/dist/chunk-C4GAOSNW.js +1 -0
- package/dist/{chunk-LV4HGC5G.js → chunk-NHKCXBUZ.js} +1 -1
- package/dist/{chunk-QNMVLFP3.js → chunk-ROFM4I6A.js} +155 -153
- package/dist/cli/brand-dna.mjs +1 -1
- package/dist/cli/canva-import.mjs +1 -1
- package/dist/cli/cleanup-assets.mjs +1 -1
- package/dist/cli/fix-scales.mjs +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/screen-helper.mjs +1 -1
- package/dist/cli/setup-library.mjs +1 -1
- package/dist/cli/student-helper.mjs +1 -1
- package/dist/cli/sync-screens.mjs +1 -1
- package/dist/cli/validate-assets.mjs +1 -1
- package/dist/cli/validate.mjs +1 -1
- package/dist/{config-VESWPZAY.js → config-OH6SMCBB.js} +1 -1
- package/dist/index.cjs +85 -83
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -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 +3 -3
- package/dist/three/index.js +1 -1
- package/package.json +1 -1
- package/dist/ConfigOverride-JLWPHR4L.js +0 -1
- package/dist/chunk-ZLL42OOV.js +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -151,6 +151,7 @@ declare class PreviewShell {
|
|
|
151
151
|
private setupFrameDragging;
|
|
152
152
|
private setupSpaceKeyListener;
|
|
153
153
|
private isInputFocused;
|
|
154
|
+
private setupShortcutListeners;
|
|
154
155
|
private updateDragCursor;
|
|
155
156
|
private onFrameDragMove;
|
|
156
157
|
private onFrameDragEnd;
|
|
@@ -222,6 +223,7 @@ declare class SceneObjectsPanel {
|
|
|
222
223
|
private showContextMenu;
|
|
223
224
|
private deleteObject;
|
|
224
225
|
private deleteSystemGroup;
|
|
226
|
+
private syncScreens;
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
type SceneToolsPanelOptions = {
|
|
@@ -332,6 +334,7 @@ declare class InspectorPanel {
|
|
|
332
334
|
private renderFooter;
|
|
333
335
|
private renderSection;
|
|
334
336
|
private renderLogicSection;
|
|
337
|
+
private applyMotionDefaults;
|
|
335
338
|
private renderMotionSection;
|
|
336
339
|
private attachEventListeners;
|
|
337
340
|
private getMotionDefaults;
|
|
@@ -811,6 +814,7 @@ interface ConfigOverrideOptions {
|
|
|
811
814
|
silent?: boolean;
|
|
812
815
|
persist?: boolean;
|
|
813
816
|
emitEvent?: boolean;
|
|
817
|
+
trackHistory?: boolean;
|
|
814
818
|
}
|
|
815
819
|
declare function getOverrideMode(): boolean;
|
|
816
820
|
declare function setOverrideMode(enabled: boolean): void;
|
|
@@ -841,6 +845,16 @@ declare const configOverrideManager: {
|
|
|
841
845
|
getChanges(): ConfigChange[];
|
|
842
846
|
clearChanges(): void;
|
|
843
847
|
};
|
|
848
|
+
/**
|
|
849
|
+
* Undo the last config change
|
|
850
|
+
* Returns true if undo was successful, false if no changes to undo
|
|
851
|
+
*/
|
|
852
|
+
declare function undoLastConfigChange(): boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Redo the last undone config change
|
|
855
|
+
* Returns true if redo was successful, false if no changes to redo
|
|
856
|
+
*/
|
|
857
|
+
declare function redoLastConfigChange(): boolean;
|
|
844
858
|
/**
|
|
845
859
|
* Deep clone utility for baseline copying
|
|
846
860
|
*/
|
|
@@ -1017,4 +1031,4 @@ declare const Handler: {
|
|
|
1017
1031
|
resize(width?: number, height?: number): void;
|
|
1018
1032
|
};
|
|
1019
1033
|
|
|
1020
|
-
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 };
|
|
1034
|
+
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, redoLastConfigChange, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge, undoLastConfigChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ declare class PreviewShell {
|
|
|
151
151
|
private setupFrameDragging;
|
|
152
152
|
private setupSpaceKeyListener;
|
|
153
153
|
private isInputFocused;
|
|
154
|
+
private setupShortcutListeners;
|
|
154
155
|
private updateDragCursor;
|
|
155
156
|
private onFrameDragMove;
|
|
156
157
|
private onFrameDragEnd;
|
|
@@ -222,6 +223,7 @@ declare class SceneObjectsPanel {
|
|
|
222
223
|
private showContextMenu;
|
|
223
224
|
private deleteObject;
|
|
224
225
|
private deleteSystemGroup;
|
|
226
|
+
private syncScreens;
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
type SceneToolsPanelOptions = {
|
|
@@ -332,6 +334,7 @@ declare class InspectorPanel {
|
|
|
332
334
|
private renderFooter;
|
|
333
335
|
private renderSection;
|
|
334
336
|
private renderLogicSection;
|
|
337
|
+
private applyMotionDefaults;
|
|
335
338
|
private renderMotionSection;
|
|
336
339
|
private attachEventListeners;
|
|
337
340
|
private getMotionDefaults;
|
|
@@ -811,6 +814,7 @@ interface ConfigOverrideOptions {
|
|
|
811
814
|
silent?: boolean;
|
|
812
815
|
persist?: boolean;
|
|
813
816
|
emitEvent?: boolean;
|
|
817
|
+
trackHistory?: boolean;
|
|
814
818
|
}
|
|
815
819
|
declare function getOverrideMode(): boolean;
|
|
816
820
|
declare function setOverrideMode(enabled: boolean): void;
|
|
@@ -841,6 +845,16 @@ declare const configOverrideManager: {
|
|
|
841
845
|
getChanges(): ConfigChange[];
|
|
842
846
|
clearChanges(): void;
|
|
843
847
|
};
|
|
848
|
+
/**
|
|
849
|
+
* Undo the last config change
|
|
850
|
+
* Returns true if undo was successful, false if no changes to undo
|
|
851
|
+
*/
|
|
852
|
+
declare function undoLastConfigChange(): boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Redo the last undone config change
|
|
855
|
+
* Returns true if redo was successful, false if no changes to redo
|
|
856
|
+
*/
|
|
857
|
+
declare function redoLastConfigChange(): boolean;
|
|
844
858
|
/**
|
|
845
859
|
* Deep clone utility for baseline copying
|
|
846
860
|
*/
|
|
@@ -1017,4 +1031,4 @@ declare const Handler: {
|
|
|
1017
1031
|
resize(width?: number, height?: number): void;
|
|
1018
1032
|
};
|
|
1019
1033
|
|
|
1020
|
-
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 };
|
|
1034
|
+
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, redoLastConfigChange, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge, undoLastConfigChange };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as
|
|
1
|
+
import{E as H,F as I,G as J,H as K,I as L,J as M,K as N,L as O,M as P,N as Q,O as R,P as S,Q as T,R as U,S as V,T as W,U as X,a}from"./chunk-ROFM4I6A.js";import"./chunk-I5OOVR5U.js";import{a as s,b as t,c as u,d as v,e as w,f as x,g as y,h as z,i as A,j as B,k as C,l as D,m as E,n as F,o as G}from"./chunk-NHKCXBUZ.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,p as q,q as r}from"./chunk-C4GAOSNW.js";import"./chunk-E6WJCS24.js";import"./chunk-JXBG6UFL.js";export{S as COLORS,D as ConfigWatcher,M as DebugPanel,C as DefaultReloadStrategy,W as Handler,V as PlayableLoadingScreen,N as PreviewShell,T as STROKE_WIDTH,U as THEME,d as applyConfigOverride,e as applyConfigOverrides,p as applyConfigsToDisk,z as applyDefaults,a as baseLottie,R as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,O as createPreviewShell,m as deepClone,X as default,J as defaultPreset,I as deviceGroups,H as devicePresets,E as diffConfigs,n as exportConfigsAsJSON,i as getConfigOverrides,o as getConfigStateSummary,b as getOverrideMode,K as getPresetById,L as getPresetsByCategory,u as loadAllObjectConfigs,s as loadComponentSchemas,v as loadEngineConfig,w as loadGamePromptConfig,A as loadObjectCentricConfig,t as loadObjectConfig,x as loadSceneConfig,l as redoLastConfigChange,F as rehydrateObject,h as removeConfigOverride,q as resetToApplied,r as resetToOriginal,Q as setBootstrapDependencies,c as setOverrideMode,G as setupHotReload,P as setupLiveEditBridge,B as toLegacyFormat,k as undoLastConfigChange,y as validateObjectConfig};
|