handler-playable-sdk 1.0.95 → 1.0.101

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.
Files changed (48) hide show
  1. package/dist/ConfigOverride-SLXAGR2M.js +1 -0
  2. package/dist/chunk-2MR65LDX.js +1 -0
  3. package/dist/chunk-FOTLNUIS.js +1 -0
  4. package/dist/{chunk-LWADIFXM.js → chunk-RZAAEBBT.js} +137 -134
  5. package/dist/cli/brand-dna.mjs +1 -1
  6. package/dist/cli/canva-import.mjs +1 -1
  7. package/dist/cli/cleanup-assets.mjs +1 -1
  8. package/dist/cli/fix-scales.mjs +1 -1
  9. package/dist/cli/index.js +1 -1
  10. package/dist/cli/screen-helper.mjs +1 -1
  11. package/dist/cli/setup-library.mjs +1 -1
  12. package/dist/cli/student-helper/add-logic.mjs +1 -1
  13. package/dist/cli/student-helper/add-object.mjs +1 -1
  14. package/dist/cli/student-helper/arg-parsing.mjs +1 -1
  15. package/dist/cli/student-helper/asset-registry.mjs +1 -1
  16. package/dist/cli/student-helper/bullet-system.mjs +1 -1
  17. package/dist/cli/student-helper/collectable-system.mjs +1 -1
  18. package/dist/cli/student-helper/constants.mjs +1 -1
  19. package/dist/cli/student-helper/drag-snap-couples.mjs +1 -1
  20. package/dist/cli/student-helper/endgame-screen.mjs +1 -1
  21. package/dist/cli/student-helper/fs-io.mjs +1 -1
  22. package/dist/cli/student-helper/logic-defaults.mjs +1 -1
  23. package/dist/cli/student-helper/print-help.mjs +1 -1
  24. package/dist/cli/student-helper/prompts.mjs +1 -1
  25. package/dist/cli/student-helper/scratch-card.mjs +1 -1
  26. package/dist/cli/student-helper/screen-utils.mjs +1 -1
  27. package/dist/cli/student-helper/snippets.mjs +1 -1
  28. package/dist/cli/student-helper/start-screen.mjs +1 -1
  29. package/dist/cli/student-helper/swerve-collect.mjs +1 -1
  30. package/dist/cli/student-helper/tap-destroy.mjs +1 -1
  31. package/dist/cli/student-helper/template-packs.mjs +1 -1
  32. package/dist/cli/student-helper.mjs +1 -1
  33. package/dist/cli/sync-screens.mjs +1 -1
  34. package/dist/cli/validate-assets.mjs +1 -1
  35. package/dist/cli/validate.mjs +1 -1
  36. package/dist/{config-VJNOXXCC.js → config-HQX4AQNX.js} +1 -1
  37. package/dist/index.cjs +151 -148
  38. package/dist/index.d.cts +7 -4
  39. package/dist/index.d.ts +7 -4
  40. package/dist/index.js +1 -1
  41. package/dist/pixi/index.cjs +12 -12
  42. package/dist/pixi/index.js +1 -1
  43. package/dist/three/index.cjs +22 -22
  44. package/dist/three/index.js +1 -1
  45. package/package.json +1 -1
  46. package/dist/ConfigOverride-2HOZGV6G.js +0 -1
  47. package/dist/chunk-5IRAZMOA.js +0 -1
  48. package/dist/chunk-SDFKEAA5.js +0 -1
package/dist/index.d.cts CHANGED
@@ -145,9 +145,6 @@ declare class PreviewShell {
145
145
  }): void;
146
146
  setTheme(theme: string): void;
147
147
  setLayoutMode(mode: LayoutMode): void;
148
- private updateDockState;
149
- private makeBottomDockResizable;
150
- private updateBottomDockHeight;
151
148
  private makeSidebarResizable;
152
149
  private getSceneVisibilityStorageKey;
153
150
  private getSceneWidthStorageKey;
@@ -360,6 +357,7 @@ declare class LibraryPanel {
360
357
  private renderAssets;
361
358
  private getCategoryAssets;
362
359
  private fetchFolderAssets;
360
+ private isApplying;
363
361
  private handleApply;
364
362
  private handleReset;
365
363
  private formatCategoryName;
@@ -957,6 +955,11 @@ declare function deepClone(obj: any): any;
957
955
  * Must output full object trees, never just changed keys
958
956
  */
959
957
  declare function exportConfigsAsJSON(): Record<string, any>;
958
+ /**
959
+ * Export full config snapshot from the current editable cache.
960
+ * Use when saving/applying should reflect the live state in memory.
961
+ */
962
+ declare function exportConfigsFromActiveCache(): Record<string, any>;
960
963
  /**
961
964
  * Get summary of config state (for UI display)
962
965
  */
@@ -1123,4 +1126,4 @@ declare const Handler: {
1123
1126
  resize(width?: number, height?: number): void;
1124
1127
  };
1125
1128
 
1126
- 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, trackObjectCreation, trackObjectDeletion, undoLastConfigChange };
1129
+ 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, exportConfigsFromActiveCache, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, redoLastConfigChange, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge, trackObjectCreation, trackObjectDeletion, undoLastConfigChange };
package/dist/index.d.ts CHANGED
@@ -145,9 +145,6 @@ declare class PreviewShell {
145
145
  }): void;
146
146
  setTheme(theme: string): void;
147
147
  setLayoutMode(mode: LayoutMode): void;
148
- private updateDockState;
149
- private makeBottomDockResizable;
150
- private updateBottomDockHeight;
151
148
  private makeSidebarResizable;
152
149
  private getSceneVisibilityStorageKey;
153
150
  private getSceneWidthStorageKey;
@@ -360,6 +357,7 @@ declare class LibraryPanel {
360
357
  private renderAssets;
361
358
  private getCategoryAssets;
362
359
  private fetchFolderAssets;
360
+ private isApplying;
363
361
  private handleApply;
364
362
  private handleReset;
365
363
  private formatCategoryName;
@@ -957,6 +955,11 @@ declare function deepClone(obj: any): any;
957
955
  * Must output full object trees, never just changed keys
958
956
  */
959
957
  declare function exportConfigsAsJSON(): Record<string, any>;
958
+ /**
959
+ * Export full config snapshot from the current editable cache.
960
+ * Use when saving/applying should reflect the live state in memory.
961
+ */
962
+ declare function exportConfigsFromActiveCache(): Record<string, any>;
960
963
  /**
961
964
  * Get summary of config state (for UI display)
962
965
  */
@@ -1123,4 +1126,4 @@ declare const Handler: {
1123
1126
  resize(width?: number, height?: number): void;
1124
1127
  };
1125
1128
 
1126
- 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, trackObjectCreation, trackObjectDeletion, undoLastConfigChange };
1129
+ 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, exportConfigsFromActiveCache, getConfigOverrides, getConfigStateSummary, getOverrideMode, getPresetById, getPresetsByCategory, redoLastConfigChange, rehydrateObject, removeConfigOverride, resetToApplied, resetToOriginal, setBootstrapDependencies, setOverrideMode, setupHotReload, setupLiveEditBridge, trackObjectCreation, trackObjectDeletion, undoLastConfigChange };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{E as J,F as K,G as L,H as M,I as N,J as O,K as P,L as Q,M as R,N as S,O as T,P as U,Q as V,R as W,S as X,T as Y,U as Z,a}from"./chunk-LWADIFXM.js";import"./chunk-NSZ7GCS3.js";import"./chunk-I5OOVR5U.js";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A,h as B,i as C,j as D,k as E,l as F,m as G,n as H,o as I}from"./chunk-5IRAZMOA.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,r as s,s as t}from"./chunk-SDFKEAA5.js";import"./chunk-E6WJCS24.js";import"./chunk-JXBG6UFL.js";export{U as COLORS,F as ConfigWatcher,O as DebugPanel,E as DefaultReloadStrategy,Y as Handler,X as PlayableLoadingScreen,P as PreviewShell,V as STROKE_WIDTH,W as THEME,d as applyConfigOverride,e as applyConfigOverrides,r as applyConfigsToDisk,B as applyDefaults,a as baseLottie,T as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,Q as createPreviewShell,o as deepClone,Z as default,L as defaultPreset,K as deviceGroups,J as devicePresets,G as diffConfigs,p as exportConfigsAsJSON,i as getConfigOverrides,q as getConfigStateSummary,b as getOverrideMode,M as getPresetById,N as getPresetsByCategory,w as loadAllObjectConfigs,u as loadComponentSchemas,x as loadEngineConfig,y as loadGamePromptConfig,C as loadObjectCentricConfig,v as loadObjectConfig,z as loadSceneConfig,l as redoLastConfigChange,H as rehydrateObject,h as removeConfigOverride,s as resetToApplied,t as resetToOriginal,S as setBootstrapDependencies,c as setOverrideMode,I as setupHotReload,R as setupLiveEditBridge,D as toLegacyFormat,m as trackObjectCreation,n as trackObjectDeletion,k as undoLastConfigChange,A as validateObjectConfig};
1
+ import{E as K,F as L,G as M,H as N,I as O,J as P,K as Q,L as R,M as S,N as T,O as U,P as V,Q as W,R as X,S as Y,T as Z,U as _,a}from"./chunk-RZAAEBBT.js";import"./chunk-NSZ7GCS3.js";import"./chunk-I5OOVR5U.js";import{a as v,b as w,c as x,d as y,e as z,f as A,g as B,h as C,i as D,j as E,k as F,l as G,m as H,n as I,o as J}from"./chunk-FOTLNUIS.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,r as s,s as t,t as u}from"./chunk-2MR65LDX.js";import"./chunk-E6WJCS24.js";import"./chunk-JXBG6UFL.js";export{V as COLORS,G as ConfigWatcher,P as DebugPanel,F as DefaultReloadStrategy,Z as Handler,Y as PlayableLoadingScreen,Q as PreviewShell,W as STROKE_WIDTH,X as THEME,d as applyConfigOverride,e as applyConfigOverrides,s as applyConfigsToDisk,C as applyDefaults,a as baseLottie,U as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,R as createPreviewShell,o as deepClone,_ as default,M as defaultPreset,L as deviceGroups,K as devicePresets,H as diffConfigs,p as exportConfigsAsJSON,q as exportConfigsFromActiveCache,i as getConfigOverrides,r as getConfigStateSummary,b as getOverrideMode,N as getPresetById,O as getPresetsByCategory,x as loadAllObjectConfigs,v as loadComponentSchemas,y as loadEngineConfig,z as loadGamePromptConfig,D as loadObjectCentricConfig,w as loadObjectConfig,A as loadSceneConfig,l as redoLastConfigChange,I as rehydrateObject,h as removeConfigOverride,t as resetToApplied,u as resetToOriginal,T as setBootstrapDependencies,c as setOverrideMode,J as setupHotReload,S as setupLiveEditBridge,E as toLegacyFormat,m as trackObjectCreation,n as trackObjectDeletion,k as undoLastConfigChange,B as validateObjectConfig};