blecsd 0.2.0 → 0.4.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 (124) hide show
  1. package/LICENSE +4 -2
  2. package/README.md +167 -65
  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-DGNDfT6T.d.ts} +20 -10
  7. package/dist/chunk-25OEBENM.js +3 -0
  8. package/dist/chunk-26STV7ZS.js +1 -0
  9. package/dist/chunk-2NMGUEFC.js +4 -0
  10. package/dist/{chunk-LYSK5S63.js → chunk-4PRDJTCM.js} +1 -1
  11. package/dist/chunk-5N3O25O7.js +1 -0
  12. package/dist/chunk-5VEKHA3B.js +5 -0
  13. package/dist/chunk-6KEM3OS2.js +11 -0
  14. package/dist/chunk-6PX5R326.js +1 -0
  15. package/dist/chunk-6XWY6GB7.js +1 -0
  16. package/dist/chunk-735KKTP3.js +1 -0
  17. package/dist/chunk-7SWJNDOL.js +26 -0
  18. package/dist/chunk-APKUNIMB.js +1 -0
  19. package/dist/{chunk-FGHEFXLK.js → chunk-CJCSZRV6.js} +1 -1
  20. package/dist/chunk-DMBMCCLN.js +1 -0
  21. package/dist/chunk-DQTVJITR.js +1 -0
  22. package/dist/chunk-DSKQ5J4R.js +1 -0
  23. package/dist/chunk-E4CJRSND.js +1 -0
  24. package/dist/{chunk-OB66FB4F.js → chunk-EF4DC6IN.js} +1 -1
  25. package/dist/chunk-EJAKECSN.js +1 -0
  26. package/dist/chunk-FNQRUMFD.js +1 -0
  27. package/dist/chunk-GJ3RS2VG.js +1 -0
  28. package/dist/{chunk-TYMY2TBR.js → chunk-JHCKPCUH.js} +3 -3
  29. package/dist/{chunk-2UBBZFE4.js → chunk-KTVEMB2I.js} +1 -1
  30. package/dist/chunk-KYAPE44E.js +8 -0
  31. package/dist/chunk-LI4Y7TBZ.js +1 -0
  32. package/dist/chunk-NHOL4BN6.js +1 -0
  33. package/dist/chunk-NPDPBAW6.js +4 -0
  34. package/dist/chunk-NPNUUSIB.js +1 -0
  35. package/dist/chunk-OFRWGW2G.js +1 -0
  36. package/dist/chunk-OMU5BSAS.js +2 -0
  37. package/dist/chunk-P3ZLIQJP.js +1 -0
  38. package/dist/chunk-PWI36BQJ.js +1 -0
  39. package/dist/{chunk-VNZ6CWJA.js → chunk-QQMUDJ32.js} +2 -2
  40. package/dist/chunk-R3ICZOE4.js +1 -0
  41. package/dist/chunk-RJULLVTH.js +1 -0
  42. package/dist/{chunk-3B7MIVW6.js → chunk-RZ7FGVI6.js} +1 -1
  43. package/dist/chunk-S6WS46FE.js +1 -0
  44. package/dist/{chunk-TWSWTBYL.js → chunk-TSARUU56.js} +1 -1
  45. package/dist/chunk-WJRVUAZR.js +33 -0
  46. package/dist/{chunk-JKVHO4LH.js → chunk-WY5EZOOL.js} +1 -1
  47. package/dist/chunk-YY6RZCZH.js +4 -0
  48. package/dist/chunk-ZPGJCHXH.js +1 -0
  49. package/dist/chunk-ZPL2J25N.js +1 -0
  50. package/dist/cli/init.d.ts +1 -1
  51. package/dist/{componentStorage-DTkj1Qyj.d.ts → componentStorage-CJTh-TPO.d.ts} +1 -1
  52. package/dist/components/index.d.ts +7137 -5587
  53. package/dist/components/index.js +1 -1
  54. package/dist/core/index.d.ts +4138 -3169
  55. package/dist/core/index.js +1 -1
  56. package/dist/debug/index.d.ts +491 -98
  57. package/dist/debug/index.js +1 -1
  58. package/dist/dirtyTracking-C4v8MmM9.d.ts +235 -0
  59. package/dist/errors/index.d.ts +12 -12
  60. package/dist/errors/index.js +1 -1
  61. package/dist/{events-BbbxkgvX.d.ts → events-9ForpTfM.d.ts} +75 -2
  62. package/dist/game/index.d.ts +8 -8
  63. package/dist/game/index.js +1 -1
  64. package/dist/{gameLoop-BIPW7-OY.d.ts → gameLoop-CSTb7e0L.d.ts} +2 -2
  65. package/dist/{index-zSGJ2eUk.d.ts → index-DBS5Uefn.d.ts} +2 -2
  66. package/dist/index.d.ts +1005 -26
  67. package/dist/index.js +3 -1
  68. package/dist/input/index.d.ts +1 -1
  69. package/dist/input/index.js +1 -1
  70. package/dist/{inputActions-CefRUBuT.d.ts → inputActions-Fyw14_Gm.d.ts} +11 -722
  71. package/dist/{keyParser-Bwm8-l7v.d.ts → keyParser-m7fWto6g.d.ts} +18 -18
  72. package/dist/{mouseParser-Cfrbn3AX.d.ts → mouseParser-B7p5ow7K.d.ts} +1 -1
  73. package/dist/{packedStore-480t2X74.d.ts → packedStore-BgvnEdE7.d.ts} +1 -1
  74. package/dist/{renderable-jTMOA-GK.d.ts → renderable-CwqGwrEV.d.ts} +9 -9
  75. package/dist/scheduler-DeeZleia.d.ts +150 -0
  76. package/dist/systems/index.d.ts +473 -37
  77. package/dist/systems/index.js +1 -1
  78. package/dist/terminal/index.d.ts +2481 -2225
  79. package/dist/terminal/index.js +1 -1
  80. package/dist/{tilemap-j0twN9-y.d.ts → tilemap-BirMJdbu.d.ts} +2 -2
  81. package/dist/{types-BcsvoKzf.d.ts → types-CPB4CpbH.d.ts} +2 -2
  82. package/dist/utils/index.d.ts +28 -27
  83. package/dist/utils/index.js +1 -1
  84. package/dist/{virtualScrollback-DvZTRU8a.d.ts → virtualScrollback-D9uLFe8l.d.ts} +4 -4
  85. package/dist/{virtualViewport-Dx2iJliO.d.ts → virtualViewport-DTSN6jFk.d.ts} +370 -848
  86. package/dist/widgets/bigText.d.ts +1 -1
  87. package/dist/widgets/bigText.js +1 -1
  88. package/dist/widgets/index.d.ts +12079 -5902
  89. package/dist/widgets/index.js +1 -1
  90. package/package.json +102 -6
  91. package/dist/chunk-35I22JJO.js +0 -1
  92. package/dist/chunk-3APDF6RW.js +0 -1
  93. package/dist/chunk-3EGGGI5J.js +0 -3
  94. package/dist/chunk-4GISPPOH.js +0 -33
  95. package/dist/chunk-4X4N4HNQ.js +0 -2
  96. package/dist/chunk-6N6BRCEM.js +0 -4
  97. package/dist/chunk-AXZQAH4X.js +0 -1
  98. package/dist/chunk-BCADUCOZ.js +0 -1
  99. package/dist/chunk-CIK4AMUA.js +0 -1
  100. package/dist/chunk-EAY7B5GL.js +0 -1
  101. package/dist/chunk-EJ5WVDDZ.js +0 -6
  102. package/dist/chunk-FMFEOAML.js +0 -1
  103. package/dist/chunk-FYEBZAWN.js +0 -1
  104. package/dist/chunk-G7GIWWLE.js +0 -1
  105. package/dist/chunk-GYHI26UE.js +0 -1
  106. package/dist/chunk-H2YAOJDW.js +0 -1
  107. package/dist/chunk-JUWDTH25.js +0 -1
  108. package/dist/chunk-K2B2OXQ5.js +0 -5
  109. package/dist/chunk-K3SX2LY5.js +0 -1
  110. package/dist/chunk-KD55INV7.js +0 -1
  111. package/dist/chunk-KFAK4A3G.js +0 -1
  112. package/dist/chunk-LB3JA744.js +0 -19
  113. package/dist/chunk-LCN2ZITE.js +0 -1
  114. package/dist/chunk-P6CJO3BC.js +0 -1
  115. package/dist/chunk-PSXXMBVJ.js +0 -1
  116. package/dist/chunk-PXXGH3BV.js +0 -1
  117. package/dist/chunk-SHUC6JWA.js +0 -1
  118. package/dist/chunk-VCW7EOZ4.js +0 -12
  119. package/dist/chunk-W5OU7Z6J.js +0 -1
  120. package/dist/chunk-WHF27JF3.js +0 -4
  121. package/dist/chunk-WNG4A3K7.js +0 -4
  122. package/dist/chunk-WY3KY2TR.js +0 -1
  123. package/dist/chunk-XZA63ZPO.js +0 -1
  124. package/dist/scheduler-DcfoFuum.d.ts +0 -86
@@ -1 +1 @@
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-3APDF6RW.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-FMFEOAML.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-JUWDTH25.js';import'../chunk-FGHEFXLK.js';import'../chunk-TWSWTBYL.js';import'../chunk-C5PCEQ6G.js';import'../chunk-VOCM5T2G.js';import'../chunk-JKVHO4LH.js';import'../chunk-OB66FB4F.js';import'../chunk-WY3KY2TR.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-EAY7B5GL.js';import'../chunk-K3SX2LY5.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{cb as DEFAULT_CELL_SIZE,zb as Spring,Oa as ageParticle,c as animationSystem,Va as applyScrollImpulse,B as areColliding,Ca as beginMove,Da as beginResize,V as blurAll,Na as burstParticles,i as cameraSystem,kc as cancelAllOfType,Ha as cancelMoveOrResize,jc as cancelTask,Ua as clearAllScrollStates,L as clearDragConstraints,fa as clearFocusStack,bc as clearPositionCache,lb as clearSpatialHash,Tb as clearTileMapRenderBuffer,u as collisionSystem,d as createAnimationSystem,g as createBehaviorSystem,j as createCameraSystem,v as createCollisionSystem,O as createDragSystem,Vb as createEmptyBuffer,ia as createFocusSystem,ja as createFrameBudgetManager,ec as createIncrementalSpatialSystem,wa as createMovementSystem,Ba as createPanelConstraints,Aa as createPanelMoveConfig,za as createPanelMoveState,Ra as createParticleSystem,_b as createPositionCache,bb as createSmoothScrollSystem,db as createSpatialHash,yb as createSpatialHashSystem,ob as createSpatialHashSystemState,Db as createSpring,Lb as createStateMachineSystem,Zb as createTilemapRenderSystem,fc as createVisibilityCullingSystem,gc as createWorkerPool,ra as destroyFrameBudgetManager,mc as destroyWorkerPool,t as detectCollisions,Ka as detectResizeHandle,Ga as endMoveOrResize,Za as endUserScroll,sa as exportFrameBudgetMetrics,C as fixed,U as focusEntity,Y as focusFirst,Z as focusLast,W as focusNext,da as focusOffset,$ as focusPop,X as focusPrev,_ as focusPush,ha as focusSystem,n as getActiveCollisionCount,o as getActiveCollisions,p as getActiveTriggerCount,q as getActiveTriggers,z as getCollidingEntities,m as getCollisionEventBus,K as getDragConstraints,N as getDragVerifyCallback,kb as getEntitiesAtPoint,jb as getEntitiesInCell,Q as getFocusEventBus,ea as getFocusStackDepth,S as getFocusableEntities,T as getFocused,oa as getFrameBudgetStats,ib as getNearbyEntities,ab as getScrollPosition,Sa as getScrollState,tb as getSpatialDirtyCount,qb as getSpatialHashGrid,mb as getSpatialHashStats,rb as getSpatialHashSystemState,Fb as getSpringTarget,Jb as getStateAgeStore,Pb as getSystemStateAge,Sb as getTileMapRenderBuffer,Rb as getTileMapRendererConfig,A as getTriggerZones,lc as getWorkerPoolState,b as hasAnimationSystem,ua as hasMovementSystem,wb as incrementalSpatialUpdate,fb as insertEntity,x as isColliding,y as isInTrigger,$a as isScrolling,Gb as isSpringActive,Ia as keyboardMove,Ja as keyboardResize,Qa as killParticle,H as layoutHorizontal,I as layoutVertical,sb as markSpatialDirty,F as max,La as mergeDirtyRects,E as min,Pa as moveParticle,va as movementSystem,pa as onBudgetAlert,ga as peekFocusStack,D as percentage,dc as performCulling,na as profiledSystem,a as queryAnimation,hb as queryArea,h as queryCameras,s as queryColliders,ta as queryMovement,Ib as queryStateMachine,cc as queryVisibleEntities,G as ratio,nb as rebuildSpatialHash,ka as recordFrameBudgetSystemTime,ma as recordFrameTime,la as recordPhaseTime,e as registerAnimationSystem,k as registerCameraSystem,w as registerCollisionSystem,xa as registerMovementSystem,Mb as registerStateMachineSystem,hc as registerTaskHandler,gb as removeEntityFromGrid,ac as removeFromCache,Ta as removeScrollState,Xb as renderAllTileMaps,Wb as renderTileMapToBuffer,r as resetCollisionState,P as resetDragStores,R as resetFocusEventBus,qa as resetFrameBudget,ub as resetSpatialHashState,Ob as resetStateAge,Ub as resetTileMapRenderer,ba as restoreFocus,ca as rewindFocus,aa as saveFocus,J as setDragConstraints,M as setDragVerifyCallback,Xa as setScrollImmediate,vb as setSpatialDirtyThreshold,pb as setSpatialHashGrid,Eb as setSpringTarget,Qb as setTileMapRendererConfig,Wa as smoothScrollTo,xb as spatialHashSystem,Ma as spawnParticle,Ab as springBouncy,Bb as springSmooth,Cb as springSnappy,Hb as springSystem,Ya as startUserScroll,Kb as stateMachineSystem,ic as submitTask,Yb as tilemapRenderSystem,f as updateAnimations,l as updateCameras,$b as updateEntityIfMoved,Ea as updateMove,ya as updateMovements,Fa as updateResize,_a as updateScrollPhysics,Nb as updateStateAges,eb as worldToCell}from'../chunk-PWI36BQJ.js';import'../chunk-EF4DC6IN.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-NHOL4BN6.js';import'../chunk-OFRWGW2G.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-26STV7ZS.js';import'../chunk-4LWWONFK.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-FNQRUMFD.js';import'../chunk-EJAKECSN.js';import'../chunk-CJCSZRV6.js';import'../chunk-TSARUU56.js';import'../chunk-C5PCEQ6G.js';import'../chunk-VOCM5T2G.js';import'../chunk-RJULLVTH.js';import'../chunk-WY5EZOOL.js';import'../chunk-NPNUUSIB.js';import'../chunk-DMBMCCLN.js';import'../chunk-5N3O25O7.js';import'../chunk-LI4Y7TBZ.js';import'../chunk-DQTVJITR.js';import'../chunk-ZPGJCHXH.js';import'../chunk-APKUNIMB.js';import'../chunk-GJ3RS2VG.js';import'../chunk-Z4EZERNE.js';import'../chunk-P3ZLIQJP.js';import'../chunk-5PELJRUQ.js';