blecsd 0.1.1 → 0.3.0

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 (110) hide show
  1. package/LICENSE +4 -2
  2. package/README.md +209 -66
  3. package/dist/3d/index.d.ts +2 -2
  4. package/dist/3d/index.js +1 -1
  5. package/dist/audio/index.d.ts +2 -2
  6. package/dist/{border-D_Jb4ZJV.d.ts → border-Jb7TrMob.d.ts} +20 -10
  7. package/dist/chunk-2IEMMRUO.js +1 -0
  8. package/dist/chunk-3AV52GY5.js +1 -0
  9. package/dist/chunk-3LHLSY3Y.js +1 -0
  10. package/dist/chunk-3O4TQHGK.js +4 -0
  11. package/dist/chunk-3UJWZ5ZN.js +1 -0
  12. package/dist/chunk-5N3O25O7.js +1 -0
  13. package/dist/chunk-6M2J5QUA.js +1 -0
  14. package/dist/chunk-7IQEUVGF.js +1 -0
  15. package/dist/chunk-A6M6TFBL.js +1 -0
  16. package/dist/chunk-CUEUJAHK.js +3 -0
  17. package/dist/chunk-D42Q2KKR.js +1 -0
  18. package/dist/chunk-DYEXOFUU.js +2 -0
  19. package/dist/chunk-DYU72XLL.js +1 -0
  20. package/dist/chunk-E4CJRSND.js +1 -0
  21. package/dist/chunk-EAY7B5GL.js +1 -0
  22. package/dist/chunk-FCMTWFSE.js +1 -0
  23. package/dist/chunk-FL56THSI.js +25 -0
  24. package/dist/{chunk-2UBBZFE4.js → chunk-G437VE43.js} +1 -1
  25. package/dist/chunk-GGXNWT36.js +8 -0
  26. package/dist/chunk-HLFORKXS.js +1 -0
  27. package/dist/chunk-J7MBKEBY.js +1 -0
  28. package/dist/{chunk-TYMY2TBR.js → chunk-JHCKPCUH.js} +3 -3
  29. package/dist/chunk-K3SX2LY5.js +1 -0
  30. package/dist/chunk-LDAFEXN5.js +1 -0
  31. package/dist/chunk-MKMFUXLB.js +33 -0
  32. package/dist/chunk-MQWPHPUM.js +1 -0
  33. package/dist/chunk-MTI376CU.js +5 -0
  34. package/dist/chunk-MTV2RJZD.js +1 -0
  35. package/dist/chunk-NPDPBAW6.js +4 -0
  36. package/dist/chunk-OB66FB4F.js +1 -0
  37. package/dist/chunk-OR3BZY7C.js +1 -0
  38. package/dist/{chunk-VNZ6CWJA.js → chunk-R7AICVRN.js} +2 -2
  39. package/dist/{chunk-3B7MIVW6.js → chunk-RZ7FGVI6.js} +1 -1
  40. package/dist/chunk-UMGTXSQB.js +11 -0
  41. package/dist/chunk-X3Q3T2SS.js +4 -0
  42. package/dist/{chunk-JKVHO4LH.js → chunk-XZJRWFOS.js} +1 -1
  43. package/dist/chunk-ZAHG7Y3X.js +1 -0
  44. package/dist/cli/init.d.ts +1 -1
  45. package/dist/componentStorage-CJTh-TPO.d.ts +246 -0
  46. package/dist/components/index.d.ts +1942 -514
  47. package/dist/components/index.js +1 -1
  48. package/dist/core/index.d.ts +857 -259
  49. package/dist/core/index.js +1 -1
  50. package/dist/debug/index.d.ts +491 -98
  51. package/dist/debug/index.js +1 -1
  52. package/dist/dirtyTracking-C4v8MmM9.d.ts +235 -0
  53. package/dist/errors/index.d.ts +12 -12
  54. package/dist/errors/index.js +1 -1
  55. package/dist/{events-BbbxkgvX.d.ts → events-9ForpTfM.d.ts} +75 -2
  56. package/dist/game/index.d.ts +7 -7
  57. package/dist/game/index.js +1 -1
  58. package/dist/{gameLoop-BIPW7-OY.d.ts → gameLoop-C-Ez_i54.d.ts} +2 -2
  59. package/dist/{index-zSGJ2eUk.d.ts → index-DBS5Uefn.d.ts} +2 -2
  60. package/dist/index.d.ts +283 -20
  61. package/dist/index.js +3 -1
  62. package/dist/input/index.d.ts +1 -1
  63. package/dist/input/index.js +1 -1
  64. package/dist/{inputActions-CefRUBuT.d.ts → inputActions-CRsUtTHM.d.ts} +10 -721
  65. package/dist/packedStore-BgvnEdE7.d.ts +191 -0
  66. package/dist/{renderable-jTMOA-GK.d.ts → renderable-CwqGwrEV.d.ts} +9 -9
  67. package/dist/{scheduler-DcfoFuum.d.ts → scheduler-CMcYew9Z.d.ts} +65 -3
  68. package/dist/systems/index.d.ts +356 -55
  69. package/dist/systems/index.js +1 -1
  70. package/dist/terminal/index.d.ts +2233 -2299
  71. package/dist/terminal/index.js +1 -1
  72. package/dist/{tilemap-D1HJvKy3.d.ts → tilemap-BirMJdbu.d.ts} +92 -3
  73. package/dist/{types-BcsvoKzf.d.ts → types-CPB4CpbH.d.ts} +2 -2
  74. package/dist/utils/index.d.ts +27 -180
  75. package/dist/utils/index.js +1 -1
  76. package/dist/{virtualScrollback-DvZTRU8a.d.ts → virtualScrollback-D9uLFe8l.d.ts} +4 -4
  77. package/dist/{virtualViewport-Dx2iJliO.d.ts → virtualViewport-Bpv6jlKt.d.ts} +283 -761
  78. package/dist/widgets/bigText.d.ts +1 -1
  79. package/dist/widgets/bigText.js +1 -1
  80. package/dist/widgets/index.d.ts +10519 -5463
  81. package/dist/widgets/index.js +1 -1
  82. package/package.json +102 -6
  83. package/dist/chunk-35I22JJO.js +0 -1
  84. package/dist/chunk-3EGGGI5J.js +0 -3
  85. package/dist/chunk-4X4N4HNQ.js +0 -2
  86. package/dist/chunk-AQ7LW75B.js +0 -1
  87. package/dist/chunk-AXZQAH4X.js +0 -1
  88. package/dist/chunk-BCADUCOZ.js +0 -1
  89. package/dist/chunk-EJ5WVDDZ.js +0 -6
  90. package/dist/chunk-FT7BMYSN.js +0 -1
  91. package/dist/chunk-FYEBZAWN.js +0 -1
  92. package/dist/chunk-GYHI26UE.js +0 -1
  93. package/dist/chunk-H2YAOJDW.js +0 -1
  94. package/dist/chunk-K2B2OXQ5.js +0 -5
  95. package/dist/chunk-K37L3G4Z.js +0 -4
  96. package/dist/chunk-KD55INV7.js +0 -1
  97. package/dist/chunk-KFAK4A3G.js +0 -1
  98. package/dist/chunk-LCN2ZITE.js +0 -1
  99. package/dist/chunk-OUXUPF3V.js +0 -33
  100. package/dist/chunk-P6CJO3BC.js +0 -1
  101. package/dist/chunk-PI5UOHOH.js +0 -1
  102. package/dist/chunk-PSXXMBVJ.js +0 -1
  103. package/dist/chunk-TRK4422V.js +0 -12
  104. package/dist/chunk-W5OU7Z6J.js +0 -1
  105. package/dist/chunk-WNG4A3K7.js +0 -4
  106. package/dist/chunk-XRJNAHNG.js +0 -19
  107. package/dist/chunk-XZA63ZPO.js +0 -1
  108. package/dist/chunk-YAMOSPWB.js +0 -4
  109. package/dist/chunk-YD6ULIUR.js +0 -1
  110. package/dist/{keyParser-Bwm8-l7v.d.ts → keyParser-BnHbg2iD.d.ts} +1 -1
@@ -1 +1 @@
1
- export{Va as DEFAULT_CELL_SIZE,Fa as ageParticle,c as animationSystem,Ma as applyScrollImpulse,z as areColliding,ta as beginMove,ua as beginResize,M as blurAll,Ea as burstParticles,i as cameraSystem,Nb as cancelAllOfType,ya as cancelMoveOrResize,Mb as cancelTask,La as clearAllScrollStates,C as clearDragConstraints,Y as clearFocusStack,Eb as clearPositionCache,cb as clearSpatialHash,ub as clearTileMapRenderBuffer,s as collisionSystem,d as createAnimationSystem,g as createBehaviorSystem,j as createCameraSystem,t as createCollisionSystem,F as createDragSystem,wb as createEmptyBuffer,$ as createFocusSystem,aa as createFrameBudgetManager,Hb as createIncrementalSpatialSystem,na as createMovementSystem,sa as createPanelConstraints,ra as createPanelMoveConfig,qa as createPanelMoveState,Ia as createParticleSystem,Bb as createPositionCache,Ua as createSmoothScrollSystem,Wa as createSpatialHash,ib as createSpatialHashSystem,mb as createStateMachineSystem,Ab as createTilemapRenderSystem,Ib as createVisibilityCullingSystem,Jb as createWorkerPool,ia as destroyFrameBudgetManager,Pb as destroyWorkerPool,r as detectCollisions,Ba as detectResizeHandle,xa as endMoveOrResize,Qa as endUserScroll,ja as exportFrameBudgetMetrics,L as focusEntity,P as focusFirst,Q as focusLast,N as focusNext,W as focusOffset,S as focusPop,O as focusPrev,R as focusPush,_ as focusSystem,n as getActiveCollisions,o as getActiveTriggers,x as getCollidingEntities,m as getCollisionEventBus,B as getDragConstraints,E as getDragVerifyCallback,bb as getEntitiesAtPoint,ab as getEntitiesInCell,H as getFocusEventBus,X as getFocusStackDepth,J as getFocusableEntities,K as getFocused,fa as getFrameBudgetStats,$a as getNearbyEntities,Ta as getScrollPosition,Ja as getScrollState,gb as getSpatialHashGrid,db as getSpatialHashStats,kb as getStateAgeStore,qb as getSystemStateAge,tb as getTileMapRenderBuffer,sb as getTileMapRendererConfig,y as getTriggerZones,Ob as getWorkerPoolState,b as hasAnimationSystem,la as hasMovementSystem,Ya as insertEntity,v as isColliding,w as isInTrigger,Sa as isScrolling,za as keyboardMove,Aa as keyboardResize,Ha as killParticle,Ca as mergeDirtyRects,Ga as moveParticle,ma as movementSystem,ga as onBudgetAlert,Z as peekFocusStack,Gb as performCulling,ea as profiledSystem,a as queryAnimation,_a as queryArea,h as queryCameras,q as queryColliders,ka as queryMovement,jb as queryStateMachine,Fb as queryVisibleEntities,eb as rebuildSpatialHash,ba as recordFrameBudgetSystemTime,da as recordFrameTime,ca as recordPhaseTime,e as registerAnimationSystem,k as registerCameraSystem,u as registerCollisionSystem,oa as registerMovementSystem,nb as registerStateMachineSystem,Kb as registerTaskHandler,Za as removeEntityFromGrid,Db as removeFromCache,Ka as removeScrollState,yb as renderAllTileMaps,xb as renderTileMapToBuffer,p as resetCollisionState,G as resetDragStores,I as resetFocusEventBus,ha as resetFrameBudget,pb as resetStateAge,vb as resetTileMapRenderer,U as restoreFocus,V as rewindFocus,T as saveFocus,A as setDragConstraints,D as setDragVerifyCallback,Oa as setScrollImmediate,fb as setSpatialHashGrid,rb as setTileMapRendererConfig,Na as smoothScrollTo,hb as spatialHashSystem,Da as spawnParticle,Pa as startUserScroll,lb as stateMachineSystem,Lb as submitTask,zb as tilemapRenderSystem,f as updateAnimations,l as updateCameras,Cb as updateEntityIfMoved,va as updateMove,pa as updateMovements,wa as updateResize,Ra as updateScrollPhysics,ob as updateStateAges,Xa as worldToCell}from'../chunk-PI5UOHOH.js';export{h as captureMouseTo,N as cleanup,r as clearEntityInput,f as clearEventQueue,A as clearOutputBuffer,x as clearOutputStream,U as clearRenderBuffer,K as clearScreen,p as createInputSystem,t as createOutputState,E as createOutputSystem,W as createRenderSystem,L as cursorHome,I as enterAlternateScreen,u as generateOutput,e as getEventQueue,g as getInputEventBus,n as getInteractiveEntityAt,k as getMouseCaptureEntity,z as getOutputBuffer,B as getOutputState,w as getOutputStream,T as getRenderBuffer,G as hideCursor,m as hitTest,a as inputState,o as inputSystem,j as isMouseCaptured,J as leaveAlternateScreen,Z as markAllDirty,D as outputSystem,l as pointInEntity,s as queryInputReceivers,c as queueKeyEvent,d as queueMouseEvent,q as registerInputSystem,i as releaseMouse,O as renderBackground,P as renderBorder,Q as renderContent,Y as renderRect,R as renderScrollbar,V as renderSystem,X as renderText,M as resetAttributes,b as resetInputState,C as resetOutputState,y as setOutputBuffer,v as setOutputStream,S as setRenderBuffer,H as showCursor,F as writeRaw}from'../chunk-FT7BMYSN.js';export{a as LineRenderConfigSchema,o as cleanupEntityResources,n as cleanupVirtualizedRenderSystem,k as clearLineRenderConfig,d as clearVirtualizedRenderBuffer,m as createVirtualizedRenderSystem,j as getLineRenderConfig,f as getLineStore,c as getVirtualizedRenderBuffer,e as registerLineStore,i as setLineRenderConfig,b as setVirtualizedRenderBuffer,g as unregisterLineStore,h as updateLineStore,l as virtualizedRenderSystem}from'../chunk-35I22JJO.js';import'../chunk-4LWWONFK.js';import'../chunk-YD6ULIUR.js';import'../chunk-FGHEFXLK.js';import'../chunk-TWSWTBYL.js';import'../chunk-C5PCEQ6G.js';import'../chunk-VOCM5T2G.js';import'../chunk-JKVHO4LH.js';import'../chunk-AQ7LW75B.js';export{a as ComputedLayout,h as computeLayoutNow,f as createLayoutSystem,i as getComputedBounds,b as getComputedLayout,c as hasComputedLayout,g as invalidateAllLayouts,d as invalidateLayout,e as layoutSystem}from'../chunk-XZA63ZPO.js';import'../chunk-H2YAOJDW.js';import'../chunk-BCADUCOZ.js';import'../chunk-KD55INV7.js';import'../chunk-LCN2ZITE.js';import'../chunk-W5OU7Z6J.js';import'../chunk-Z4EZERNE.js';import'../chunk-SHUC6JWA.js';import'../chunk-G7GIWWLE.js';import'../chunk-PXXGH3BV.js';import'../chunk-5PELJRUQ.js';
1
+ export{Xa as DEFAULT_CELL_SIZE,Ha as ageParticle,c as animationSystem,Oa as applyScrollImpulse,B as areColliding,va as beginMove,wa as beginResize,O as blurAll,Ga as burstParticles,i as cameraSystem,Wb as cancelAllOfType,Aa as cancelMoveOrResize,Vb as cancelTask,Na as clearAllScrollStates,E as clearDragConstraints,_ as clearFocusStack,Nb as clearPositionCache,eb as clearSpatialHash,Db as clearTileMapRenderBuffer,u as collisionSystem,d as createAnimationSystem,g as createBehaviorSystem,j as createCameraSystem,v as createCollisionSystem,H as createDragSystem,Fb as createEmptyBuffer,ba as createFocusSystem,ca as createFrameBudgetManager,Qb as createIncrementalSpatialSystem,pa as createMovementSystem,ua as createPanelConstraints,ta as createPanelMoveConfig,sa as createPanelMoveState,Ka as createParticleSystem,Kb as createPositionCache,Wa as createSmoothScrollSystem,Ya as createSpatialHash,rb as createSpatialHashSystem,hb as createSpatialHashSystemState,vb as createStateMachineSystem,Jb as createTilemapRenderSystem,Rb as createVisibilityCullingSystem,Sb as createWorkerPool,ka as destroyFrameBudgetManager,Yb as destroyWorkerPool,t as detectCollisions,Da as detectResizeHandle,za as endMoveOrResize,Sa as endUserScroll,la as exportFrameBudgetMetrics,N as focusEntity,R as focusFirst,S as focusLast,P as focusNext,Y as focusOffset,U as focusPop,Q as focusPrev,T as focusPush,aa as focusSystem,n as getActiveCollisionCount,o as getActiveCollisions,p as getActiveTriggerCount,q as getActiveTriggers,z as getCollidingEntities,m as getCollisionEventBus,D as getDragConstraints,G as getDragVerifyCallback,db as getEntitiesAtPoint,cb as getEntitiesInCell,J as getFocusEventBus,Z as getFocusStackDepth,L as getFocusableEntities,M as getFocused,ha as getFrameBudgetStats,bb as getNearbyEntities,Va as getScrollPosition,La as getScrollState,mb as getSpatialDirtyCount,jb as getSpatialHashGrid,fb as getSpatialHashStats,kb as getSpatialHashSystemState,tb as getStateAgeStore,zb as getSystemStateAge,Cb as getTileMapRenderBuffer,Bb as getTileMapRendererConfig,A as getTriggerZones,Xb as getWorkerPoolState,b as hasAnimationSystem,na as hasMovementSystem,pb as incrementalSpatialUpdate,_a as insertEntity,x as isColliding,y as isInTrigger,Ua as isScrolling,Ba as keyboardMove,Ca as keyboardResize,Ja as killParticle,lb as markSpatialDirty,Ea as mergeDirtyRects,Ia as moveParticle,oa as movementSystem,ia as onBudgetAlert,$ as peekFocusStack,Pb as performCulling,ga as profiledSystem,a as queryAnimation,ab as queryArea,h as queryCameras,s as queryColliders,ma as queryMovement,sb as queryStateMachine,Ob as queryVisibleEntities,gb as rebuildSpatialHash,da as recordFrameBudgetSystemTime,fa as recordFrameTime,ea as recordPhaseTime,e as registerAnimationSystem,k as registerCameraSystem,w as registerCollisionSystem,qa as registerMovementSystem,wb as registerStateMachineSystem,Tb as registerTaskHandler,$a as removeEntityFromGrid,Mb as removeFromCache,Ma as removeScrollState,Hb as renderAllTileMaps,Gb as renderTileMapToBuffer,r as resetCollisionState,I as resetDragStores,K as resetFocusEventBus,ja as resetFrameBudget,nb as resetSpatialHashState,yb as resetStateAge,Eb as resetTileMapRenderer,W as restoreFocus,X as rewindFocus,V as saveFocus,C as setDragConstraints,F as setDragVerifyCallback,Qa as setScrollImmediate,ob as setSpatialDirtyThreshold,ib as setSpatialHashGrid,Ab as setTileMapRendererConfig,Pa as smoothScrollTo,qb as spatialHashSystem,Fa as spawnParticle,Ra as startUserScroll,ub as stateMachineSystem,Ub as submitTask,Ib as tilemapRenderSystem,f as updateAnimations,l as updateCameras,Lb as updateEntityIfMoved,xa as updateMove,ra as updateMovements,ya as updateResize,Ta as updateScrollPhysics,xb as updateStateAges,Za as worldToCell}from'../chunk-MQWPHPUM.js';export{h as captureMouseTo,N as cleanup,r as clearEntityInput,f as clearEventQueue,A as clearOutputBuffer,x as clearOutputStream,W as clearRenderBuffer,K as clearScreen,p as createInputSystem,t as createOutputState,E as createOutputSystem,_ as createRenderSystem,L as cursorHome,I as enterAlternateScreen,u as generateOutput,e as getEventQueue,g as getInputEventBus,n as getInteractiveEntityAt,k as getMouseCaptureEntity,z as getOutputBuffer,B as getOutputState,w as getOutputStream,V as getRenderBuffer,T as getViewportBounds,G as hideCursor,m as hitTest,a as inputState,o as inputSystem,j as isMouseCaptured,Y as isOcclusionCullingEnabled,J as leaveAlternateScreen,ba as markAllDirty,D as outputSystem,l as pointInEntity,s as queryInputReceivers,c as queueKeyEvent,d as queueMouseEvent,q as registerInputSystem,i as releaseMouse,O as renderBackground,P as renderBorder,Q as renderContent,aa as renderRect,R as renderScrollbar,Z as renderSystem,$ as renderText,M as resetAttributes,b as resetInputState,C as resetOutputState,X as setOcclusionCulling,y as setOutputBuffer,v as setOutputStream,U as setRenderBuffer,S as setViewportBounds,H as showCursor,F as writeRaw}from'../chunk-J7MBKEBY.js';export{a as LineRenderConfigSchema,o as cleanupEntityResources,n as cleanupVirtualizedRenderSystem,k as clearLineRenderConfig,d as clearVirtualizedRenderBuffer,m as createVirtualizedRenderSystem,j as getLineRenderConfig,f as getLineStore,c as getVirtualizedRenderBuffer,e as registerLineStore,i as setLineRenderConfig,b as setVirtualizedRenderBuffer,g as unregisterLineStore,h as updateLineStore,l as virtualizedRenderSystem}from'../chunk-3UJWZ5ZN.js';import'../chunk-4LWWONFK.js';import'../chunk-HLFORKXS.js';import'../chunk-FGHEFXLK.js';import'../chunk-TWSWTBYL.js';import'../chunk-C5PCEQ6G.js';import'../chunk-VOCM5T2G.js';import'../chunk-OB66FB4F.js';import'../chunk-MTV2RJZD.js';export{a as ComputedLayout,h as computeLayoutNow,f as createLayoutSystem,i as getComputedBounds,b as getComputedLayout,c as hasComputedLayout,g as invalidateAllLayouts,d as invalidateLayout,e as layoutSystem}from'../chunk-3AV52GY5.js';import'../chunk-D42Q2KKR.js';import'../chunk-5N3O25O7.js';import'../chunk-6M2J5QUA.js';import'../chunk-EAY7B5GL.js';import'../chunk-K3SX2LY5.js';import'../chunk-XZJRWFOS.js';import'../chunk-OR3BZY7C.js';import'../chunk-DYU72XLL.js';import'../chunk-ZAHG7Y3X.js';import'../chunk-Z4EZERNE.js';import'../chunk-SHUC6JWA.js';import'../chunk-G7GIWWLE.js';import'../chunk-PXXGH3BV.js';import'../chunk-5PELJRUQ.js';