@rb-games/core 0.1.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 (388) hide show
  1. package/README.md +488 -0
  2. package/dist/devtools/DraggableController.d.ts +10 -0
  3. package/dist/devtools/DraggableController.d.ts.map +1 -0
  4. package/dist/devtools/ResizableController.d.ts +19 -0
  5. package/dist/devtools/ResizableController.d.ts.map +1 -0
  6. package/dist/devtools/index.d.ts +7 -0
  7. package/dist/devtools/index.d.ts.map +1 -0
  8. package/dist/devtools/index.js +884 -0
  9. package/dist/devtools/index.js.map +1 -0
  10. package/dist/devtools/overlayPlugin.d.ts +3 -0
  11. package/dist/devtools/overlayPlugin.d.ts.map +1 -0
  12. package/dist/devtools/spinePropertiesPlugin.d.ts +3 -0
  13. package/dist/devtools/spinePropertiesPlugin.d.ts.map +1 -0
  14. package/dist/devtools/spriteTextPropertiesPlugin.d.ts +3 -0
  15. package/dist/devtools/spriteTextPropertiesPlugin.d.ts.map +1 -0
  16. package/dist/devtools/treePlugin.d.ts +7 -0
  17. package/dist/devtools/treePlugin.d.ts.map +1 -0
  18. package/dist/engine/PixiEngine.d.ts +404 -0
  19. package/dist/engine/PixiEngine.d.ts.map +1 -0
  20. package/dist/engine/index.d.ts +2 -0
  21. package/dist/engine/index.d.ts.map +1 -0
  22. package/dist/engine/index.js +1818 -0
  23. package/dist/engine/index.js.map +1 -0
  24. package/dist/filters/ChromaKeyFilter.d.ts +64 -0
  25. package/dist/filters/ChromaKeyFilter.d.ts.map +1 -0
  26. package/dist/filters/index.d.ts +2 -0
  27. package/dist/filters/index.d.ts.map +1 -0
  28. package/dist/filters/index.js +248 -0
  29. package/dist/filters/index.js.map +1 -0
  30. package/dist/helpers/AssetHelper.d.ts +117 -0
  31. package/dist/helpers/AssetHelper.d.ts.map +1 -0
  32. package/dist/helpers/SVGAssetHelper.d.ts +397 -0
  33. package/dist/helpers/SVGAssetHelper.d.ts.map +1 -0
  34. package/dist/helpers/SVGLoader.d.ts +46 -0
  35. package/dist/helpers/SVGLoader.d.ts.map +1 -0
  36. package/dist/helpers/SVGParser.d.ts +121 -0
  37. package/dist/helpers/SVGParser.d.ts.map +1 -0
  38. package/dist/helpers/eventBridge.d.ts +150 -0
  39. package/dist/helpers/eventBridge.d.ts.map +1 -0
  40. package/dist/helpers/index.d.ts +8 -0
  41. package/dist/helpers/index.d.ts.map +1 -0
  42. package/dist/helpers/index.js +702 -0
  43. package/dist/helpers/index.js.map +1 -0
  44. package/dist/helpers/mergeUtils.d.ts +21 -0
  45. package/dist/helpers/mergeUtils.d.ts.map +1 -0
  46. package/dist/helpers/resolvePublicPath.d.ts +6 -0
  47. package/dist/helpers/resolvePublicPath.d.ts.map +1 -0
  48. package/dist/i18n/index.d.ts +2 -0
  49. package/dist/i18n/index.d.ts.map +1 -0
  50. package/dist/i18n/index.js +527 -0
  51. package/dist/i18n/index.js.map +1 -0
  52. package/dist/i18n/sharedI18n.d.ts +11 -0
  53. package/dist/i18n/sharedI18n.d.ts.map +1 -0
  54. package/dist/layout/Align.d.ts +126 -0
  55. package/dist/layout/Align.d.ts.map +1 -0
  56. package/dist/layout/Bounds.d.ts +120 -0
  57. package/dist/layout/Bounds.d.ts.map +1 -0
  58. package/dist/layout/Distribute.d.ts +103 -0
  59. package/dist/layout/Distribute.d.ts.map +1 -0
  60. package/dist/layout/Flow.d.ts +213 -0
  61. package/dist/layout/Flow.d.ts.map +1 -0
  62. package/dist/layout/PositionUtils.d.ts +57 -0
  63. package/dist/layout/PositionUtils.d.ts.map +1 -0
  64. package/dist/layout/index.d.ts +6 -0
  65. package/dist/layout/index.d.ts.map +1 -0
  66. package/dist/layout/index.js +673 -0
  67. package/dist/layout/index.js.map +1 -0
  68. package/dist/particle/Emitter.d.ts +290 -0
  69. package/dist/particle/Emitter.d.ts.map +1 -0
  70. package/dist/particle/EmitterConfig.d.ts +228 -0
  71. package/dist/particle/EmitterConfig.d.ts.map +1 -0
  72. package/dist/particle/LinkedListContainer.d.ts +7 -0
  73. package/dist/particle/LinkedListContainer.d.ts.map +1 -0
  74. package/dist/particle/Particle.d.ts +63 -0
  75. package/dist/particle/Particle.d.ts.map +1 -0
  76. package/dist/particle/ParticleUtils.d.ts +97 -0
  77. package/dist/particle/ParticleUtils.d.ts.map +1 -0
  78. package/dist/particle/PropertyList.d.ts +40 -0
  79. package/dist/particle/PropertyList.d.ts.map +1 -0
  80. package/dist/particle/PropertyNode.d.ts +74 -0
  81. package/dist/particle/PropertyNode.d.ts.map +1 -0
  82. package/dist/particle/SpineEmitter.d.ts +55 -0
  83. package/dist/particle/SpineEmitter.d.ts.map +1 -0
  84. package/dist/particle/SpineParticle.d.ts +74 -0
  85. package/dist/particle/SpineParticle.d.ts.map +1 -0
  86. package/dist/particle/behaviors/AccelerationMovement.d.ts +62 -0
  87. package/dist/particle/behaviors/AccelerationMovement.d.ts.map +1 -0
  88. package/dist/particle/behaviors/Alpha.d.ts +60 -0
  89. package/dist/particle/behaviors/Alpha.d.ts.map +1 -0
  90. package/dist/particle/behaviors/AnimatedTexture.d.ts +111 -0
  91. package/dist/particle/behaviors/AnimatedTexture.d.ts.map +1 -0
  92. package/dist/particle/behaviors/Behaviors.d.ts +71 -0
  93. package/dist/particle/behaviors/Behaviors.d.ts.map +1 -0
  94. package/dist/particle/behaviors/BlendMode.d.ts +31 -0
  95. package/dist/particle/behaviors/BlendMode.d.ts.map +1 -0
  96. package/dist/particle/behaviors/BurstSpawn.d.ts +43 -0
  97. package/dist/particle/behaviors/BurstSpawn.d.ts.map +1 -0
  98. package/dist/particle/behaviors/Color.d.ts +60 -0
  99. package/dist/particle/behaviors/Color.d.ts.map +1 -0
  100. package/dist/particle/behaviors/MultiStateAnimatedTexture.d.ts +99 -0
  101. package/dist/particle/behaviors/MultiStateAnimatedTexture.d.ts.map +1 -0
  102. package/dist/particle/behaviors/OrderedTexture.d.ts +33 -0
  103. package/dist/particle/behaviors/OrderedTexture.d.ts.map +1 -0
  104. package/dist/particle/behaviors/PathMovement.d.ts +68 -0
  105. package/dist/particle/behaviors/PathMovement.d.ts.map +1 -0
  106. package/dist/particle/behaviors/PointSpawn.d.ts +21 -0
  107. package/dist/particle/behaviors/PointSpawn.d.ts.map +1 -0
  108. package/dist/particle/behaviors/RandomColor.d.ts +17 -0
  109. package/dist/particle/behaviors/RandomColor.d.ts.map +1 -0
  110. package/dist/particle/behaviors/RandomTexture.d.ts +32 -0
  111. package/dist/particle/behaviors/RandomTexture.d.ts.map +1 -0
  112. package/dist/particle/behaviors/Rotation.d.ts +114 -0
  113. package/dist/particle/behaviors/Rotation.d.ts.map +1 -0
  114. package/dist/particle/behaviors/Scale.d.ts +74 -0
  115. package/dist/particle/behaviors/Scale.d.ts.map +1 -0
  116. package/dist/particle/behaviors/ShapeSpawn.d.ts +58 -0
  117. package/dist/particle/behaviors/ShapeSpawn.d.ts.map +1 -0
  118. package/dist/particle/behaviors/SingleTexture.d.ts +32 -0
  119. package/dist/particle/behaviors/SingleTexture.d.ts.map +1 -0
  120. package/dist/particle/behaviors/SpeedMovement.d.ts +76 -0
  121. package/dist/particle/behaviors/SpeedMovement.d.ts.map +1 -0
  122. package/dist/particle/behaviors/SpineTexture.d.ts +173 -0
  123. package/dist/particle/behaviors/SpineTexture.d.ts.map +1 -0
  124. package/dist/particle/behaviors/ZindexBehavior.d.ts +16 -0
  125. package/dist/particle/behaviors/ZindexBehavior.d.ts.map +1 -0
  126. package/dist/particle/behaviors/editor/Types.d.ts +104 -0
  127. package/dist/particle/behaviors/editor/Types.d.ts.map +1 -0
  128. package/dist/particle/behaviors/editor/behaviors/AccelerationMovement.d.ts +2 -0
  129. package/dist/particle/behaviors/editor/behaviors/AccelerationMovement.d.ts.map +1 -0
  130. package/dist/particle/behaviors/editor/behaviors/Alpha.d.ts +2 -0
  131. package/dist/particle/behaviors/editor/behaviors/Alpha.d.ts.map +1 -0
  132. package/dist/particle/behaviors/editor/behaviors/AnimatedTexture.d.ts +2 -0
  133. package/dist/particle/behaviors/editor/behaviors/AnimatedTexture.d.ts.map +1 -0
  134. package/dist/particle/behaviors/editor/behaviors/BlendMode.d.ts +2 -0
  135. package/dist/particle/behaviors/editor/behaviors/BlendMode.d.ts.map +1 -0
  136. package/dist/particle/behaviors/editor/behaviors/BurstSpawn.d.ts +2 -0
  137. package/dist/particle/behaviors/editor/behaviors/BurstSpawn.d.ts.map +1 -0
  138. package/dist/particle/behaviors/editor/behaviors/Color.d.ts +2 -0
  139. package/dist/particle/behaviors/editor/behaviors/Color.d.ts.map +1 -0
  140. package/dist/particle/behaviors/editor/behaviors/OrderedTexture.d.ts +2 -0
  141. package/dist/particle/behaviors/editor/behaviors/OrderedTexture.d.ts.map +1 -0
  142. package/dist/particle/behaviors/editor/behaviors/PathMovement.d.ts +2 -0
  143. package/dist/particle/behaviors/editor/behaviors/PathMovement.d.ts.map +1 -0
  144. package/dist/particle/behaviors/editor/behaviors/PointSpawn.d.ts +2 -0
  145. package/dist/particle/behaviors/editor/behaviors/PointSpawn.d.ts.map +1 -0
  146. package/dist/particle/behaviors/editor/behaviors/RandomTexture.d.ts +2 -0
  147. package/dist/particle/behaviors/editor/behaviors/RandomTexture.d.ts.map +1 -0
  148. package/dist/particle/behaviors/editor/behaviors/Rotation.d.ts +2 -0
  149. package/dist/particle/behaviors/editor/behaviors/Rotation.d.ts.map +1 -0
  150. package/dist/particle/behaviors/editor/behaviors/Scale.d.ts +2 -0
  151. package/dist/particle/behaviors/editor/behaviors/Scale.d.ts.map +1 -0
  152. package/dist/particle/behaviors/editor/behaviors/ShapeSpawn.d.ts +2 -0
  153. package/dist/particle/behaviors/editor/behaviors/ShapeSpawn.d.ts.map +1 -0
  154. package/dist/particle/behaviors/editor/behaviors/SingleTexture.d.ts +2 -0
  155. package/dist/particle/behaviors/editor/behaviors/SingleTexture.d.ts.map +1 -0
  156. package/dist/particle/behaviors/editor/behaviors/SpeedMovement.d.ts +2 -0
  157. package/dist/particle/behaviors/editor/behaviors/SpeedMovement.d.ts.map +1 -0
  158. package/dist/particle/behaviors/editor/behaviors/index.d.ts +15 -0
  159. package/dist/particle/behaviors/editor/behaviors/index.d.ts.map +1 -0
  160. package/dist/particle/behaviors/editor/index.d.ts +5 -0
  161. package/dist/particle/behaviors/editor/index.d.ts.map +1 -0
  162. package/dist/particle/behaviors/editor/shapes/PolygonalChain.d.ts +2 -0
  163. package/dist/particle/behaviors/editor/shapes/PolygonalChain.d.ts.map +1 -0
  164. package/dist/particle/behaviors/editor/shapes/Rectangle.d.ts +2 -0
  165. package/dist/particle/behaviors/editor/shapes/Rectangle.d.ts.map +1 -0
  166. package/dist/particle/behaviors/editor/shapes/Torus.d.ts +2 -0
  167. package/dist/particle/behaviors/editor/shapes/Torus.d.ts.map +1 -0
  168. package/dist/particle/behaviors/index.d.ts +25 -0
  169. package/dist/particle/behaviors/index.d.ts.map +1 -0
  170. package/dist/particle/behaviors/shapes/PolygonalChain.d.ts +57 -0
  171. package/dist/particle/behaviors/shapes/PolygonalChain.d.ts.map +1 -0
  172. package/dist/particle/behaviors/shapes/Rectangle.d.ts +59 -0
  173. package/dist/particle/behaviors/shapes/Rectangle.d.ts.map +1 -0
  174. package/dist/particle/behaviors/shapes/SpawnShape.d.ts +32 -0
  175. package/dist/particle/behaviors/shapes/SpawnShape.d.ts.map +1 -0
  176. package/dist/particle/behaviors/shapes/Torus.d.ts +71 -0
  177. package/dist/particle/behaviors/shapes/Torus.d.ts.map +1 -0
  178. package/dist/particle/behaviors/shapes/index.d.ts +5 -0
  179. package/dist/particle/behaviors/shapes/index.d.ts.map +1 -0
  180. package/dist/particle/index.d.ts +11 -0
  181. package/dist/particle/index.d.ts.map +1 -0
  182. package/dist/particle/index.js +2845 -0
  183. package/dist/particle/index.js.map +1 -0
  184. package/dist/plugins/Plugin.types.d.ts +80 -0
  185. package/dist/plugins/Plugin.types.d.ts.map +1 -0
  186. package/dist/plugins/device/DeviceOptimizerPlugin.d.ts +187 -0
  187. package/dist/plugins/device/DeviceOptimizerPlugin.d.ts.map +1 -0
  188. package/dist/plugins/device/DeviceOptimizerPlugin.types.d.ts +134 -0
  189. package/dist/plugins/device/DeviceOptimizerPlugin.types.d.ts.map +1 -0
  190. package/dist/plugins/device/index.d.ts +3 -0
  191. package/dist/plugins/device/index.d.ts.map +1 -0
  192. package/dist/plugins/display/DisplayPlugin.d.ts +208 -0
  193. package/dist/plugins/display/DisplayPlugin.d.ts.map +1 -0
  194. package/dist/plugins/display/DisplayPlugin.types.d.ts +174 -0
  195. package/dist/plugins/display/DisplayPlugin.types.d.ts.map +1 -0
  196. package/dist/plugins/display/displayViewport.d.ts +10 -0
  197. package/dist/plugins/display/displayViewport.d.ts.map +1 -0
  198. package/dist/plugins/display/index.d.ts +4 -0
  199. package/dist/plugins/display/index.d.ts.map +1 -0
  200. package/dist/plugins/eventbus/EventBusPlugin.d.ts +21 -0
  201. package/dist/plugins/eventbus/EventBusPlugin.d.ts.map +1 -0
  202. package/dist/plugins/eventbus/EventBusPlugin.types.d.ts +24 -0
  203. package/dist/plugins/eventbus/EventBusPlugin.types.d.ts.map +1 -0
  204. package/dist/plugins/eventbus/index.d.ts +3 -0
  205. package/dist/plugins/eventbus/index.d.ts.map +1 -0
  206. package/dist/plugins/gsap/GsapPlugin.d.ts +307 -0
  207. package/dist/plugins/gsap/GsapPlugin.d.ts.map +1 -0
  208. package/dist/plugins/gsap/index.d.ts +2 -0
  209. package/dist/plugins/gsap/index.d.ts.map +1 -0
  210. package/dist/plugins/index.d.ts +13 -0
  211. package/dist/plugins/index.d.ts.map +1 -0
  212. package/dist/plugins/index.js +12806 -0
  213. package/dist/plugins/index.js.map +1 -0
  214. package/dist/plugins/input/InputPlugin.const.d.ts +80 -0
  215. package/dist/plugins/input/InputPlugin.const.d.ts.map +1 -0
  216. package/dist/plugins/input/InputPlugin.d.ts +141 -0
  217. package/dist/plugins/input/InputPlugin.d.ts.map +1 -0
  218. package/dist/plugins/input/InputPlugin.types.d.ts +41 -0
  219. package/dist/plugins/input/InputPlugin.types.d.ts.map +1 -0
  220. package/dist/plugins/input/KeyboardManager.d.ts +139 -0
  221. package/dist/plugins/input/KeyboardManager.d.ts.map +1 -0
  222. package/dist/plugins/input/KeyboardManager.types.d.ts +27 -0
  223. package/dist/plugins/input/KeyboardManager.types.d.ts.map +1 -0
  224. package/dist/plugins/input/index.d.ts +4 -0
  225. package/dist/plugins/input/index.d.ts.map +1 -0
  226. package/dist/plugins/language/I18NextPlugin.d.ts +30 -0
  227. package/dist/plugins/language/I18NextPlugin.d.ts.map +1 -0
  228. package/dist/plugins/language/I18NextPlugin.types.d.ts +29 -0
  229. package/dist/plugins/language/I18NextPlugin.types.d.ts.map +1 -0
  230. package/dist/plugins/language/index.d.ts +3 -0
  231. package/dist/plugins/language/index.d.ts.map +1 -0
  232. package/dist/plugins/resource/ResourcePlugin.d.ts +189 -0
  233. package/dist/plugins/resource/ResourcePlugin.d.ts.map +1 -0
  234. package/dist/plugins/resource/ResourcePlugin.types.d.ts +153 -0
  235. package/dist/plugins/resource/ResourcePlugin.types.d.ts.map +1 -0
  236. package/dist/plugins/resource/index.d.ts +3 -0
  237. package/dist/plugins/resource/index.d.ts.map +1 -0
  238. package/dist/plugins/scene/Scene.d.ts +203 -0
  239. package/dist/plugins/scene/Scene.d.ts.map +1 -0
  240. package/dist/plugins/scene/ScenePlugin.d.ts +162 -0
  241. package/dist/plugins/scene/ScenePlugin.d.ts.map +1 -0
  242. package/dist/plugins/scene/ScenePlugin.types.d.ts +35 -0
  243. package/dist/plugins/scene/ScenePlugin.types.d.ts.map +1 -0
  244. package/dist/plugins/scene/index.d.ts +4 -0
  245. package/dist/plugins/scene/index.d.ts.map +1 -0
  246. package/dist/plugins/sentry/SentryPlugin.d.ts +66 -0
  247. package/dist/plugins/sentry/SentryPlugin.d.ts.map +1 -0
  248. package/dist/plugins/sentry/SentryPlugin.types.d.ts +8 -0
  249. package/dist/plugins/sentry/SentryPlugin.types.d.ts.map +1 -0
  250. package/dist/plugins/sentry/index.d.ts +3 -0
  251. package/dist/plugins/sentry/index.d.ts.map +1 -0
  252. package/dist/plugins/service/ServiceAdapter.d.ts +88 -0
  253. package/dist/plugins/service/ServiceAdapter.d.ts.map +1 -0
  254. package/dist/plugins/service/ServiceEventHelper.d.ts +6 -0
  255. package/dist/plugins/service/ServiceEventHelper.d.ts.map +1 -0
  256. package/dist/plugins/service/ServicePlugin.d.ts +135 -0
  257. package/dist/plugins/service/ServicePlugin.d.ts.map +1 -0
  258. package/dist/plugins/service/ServicePlugin.types.d.ts +14 -0
  259. package/dist/plugins/service/ServicePlugin.types.d.ts.map +1 -0
  260. package/dist/plugins/service/adapters/DevAuthAdapter.d.ts +56 -0
  261. package/dist/plugins/service/adapters/DevAuthAdapter.d.ts.map +1 -0
  262. package/dist/plugins/service/adapters/RGSAdapter.d.ts +82 -0
  263. package/dist/plugins/service/adapters/RGSAdapter.d.ts.map +1 -0
  264. package/dist/plugins/service/adapters/index.d.ts +7 -0
  265. package/dist/plugins/service/adapters/index.d.ts.map +1 -0
  266. package/dist/plugins/service/adapters/resolvePublicIp.d.ts +10 -0
  267. package/dist/plugins/service/adapters/resolvePublicIp.d.ts.map +1 -0
  268. package/dist/plugins/service/index.d.ts +10 -0
  269. package/dist/plugins/service/index.d.ts.map +1 -0
  270. package/dist/plugins/service/types/api.types.d.ts +299 -0
  271. package/dist/plugins/service/types/api.types.d.ts.map +1 -0
  272. package/dist/plugins/service/types/index.d.ts +6 -0
  273. package/dist/plugins/service/types/index.d.ts.map +1 -0
  274. package/dist/plugins/skin/ISkin.d.ts +62 -0
  275. package/dist/plugins/skin/ISkin.d.ts.map +1 -0
  276. package/dist/plugins/skin/Skin.d.ts +155 -0
  277. package/dist/plugins/skin/Skin.d.ts.map +1 -0
  278. package/dist/plugins/skin/SkinPlugin.d.ts +285 -0
  279. package/dist/plugins/skin/SkinPlugin.d.ts.map +1 -0
  280. package/dist/plugins/skin/SkinPlugin.types.d.ts +56 -0
  281. package/dist/plugins/skin/SkinPlugin.types.d.ts.map +1 -0
  282. package/dist/plugins/skin/index.d.ts +5 -0
  283. package/dist/plugins/skin/index.d.ts.map +1 -0
  284. package/dist/plugins/sound/SoundPlugin.d.ts +319 -0
  285. package/dist/plugins/sound/SoundPlugin.d.ts.map +1 -0
  286. package/dist/plugins/sound/SoundPlugin.types.d.ts +102 -0
  287. package/dist/plugins/sound/SoundPlugin.types.d.ts.map +1 -0
  288. package/dist/plugins/sound/SoundTestGUI.d.ts +42 -0
  289. package/dist/plugins/sound/SoundTestGUI.d.ts.map +1 -0
  290. package/dist/plugins/sound/index.d.ts +4 -0
  291. package/dist/plugins/sound/index.d.ts.map +1 -0
  292. package/dist/state-machine/ConfigBuilder.d.ts +239 -0
  293. package/dist/state-machine/ConfigBuilder.d.ts.map +1 -0
  294. package/dist/state-machine/StateMachine.d.ts +251 -0
  295. package/dist/state-machine/StateMachine.d.ts.map +1 -0
  296. package/dist/state-machine/guards.d.ts +151 -0
  297. package/dist/state-machine/guards.d.ts.map +1 -0
  298. package/dist/state-machine/index.d.ts +5 -0
  299. package/dist/state-machine/index.d.ts.map +1 -0
  300. package/dist/state-machine/index.js +954 -0
  301. package/dist/state-machine/index.js.map +1 -0
  302. package/dist/state-machine/types.d.ts +65 -0
  303. package/dist/state-machine/types.d.ts.map +1 -0
  304. package/dist/store/DataStore.d.ts +167 -0
  305. package/dist/store/DataStore.d.ts.map +1 -0
  306. package/dist/store/index.d.ts +3 -0
  307. package/dist/store/index.d.ts.map +1 -0
  308. package/dist/store/index.js +197 -0
  309. package/dist/store/index.js.map +1 -0
  310. package/dist/ui/behaviors/ButtonBehavior.d.ts +245 -0
  311. package/dist/ui/behaviors/ButtonBehavior.d.ts.map +1 -0
  312. package/dist/ui/behaviors/InputBehavior.d.ts +169 -0
  313. package/dist/ui/behaviors/InputBehavior.d.ts.map +1 -0
  314. package/dist/ui/behaviors/ScrollbarBehavior.d.ts +371 -0
  315. package/dist/ui/behaviors/ScrollbarBehavior.d.ts.map +1 -0
  316. package/dist/ui/behaviors/index.d.ts +4 -0
  317. package/dist/ui/behaviors/index.d.ts.map +1 -0
  318. package/dist/ui/components/ButtonComp.d.ts +138 -0
  319. package/dist/ui/components/ButtonComp.d.ts.map +1 -0
  320. package/dist/ui/components/Comp.utils.d.ts +390 -0
  321. package/dist/ui/components/Comp.utils.d.ts.map +1 -0
  322. package/dist/ui/components/Component.types.d.ts +41 -0
  323. package/dist/ui/components/Component.types.d.ts.map +1 -0
  324. package/dist/ui/components/InputComp.d.ts +43 -0
  325. package/dist/ui/components/InputComp.d.ts.map +1 -0
  326. package/dist/ui/components/LabelBox.d.ts +49 -0
  327. package/dist/ui/components/LabelBox.d.ts.map +1 -0
  328. package/dist/ui/components/ListTableComp.d.ts +106 -0
  329. package/dist/ui/components/ListTableComp.d.ts.map +1 -0
  330. package/dist/ui/components/Skinable.d.ts +261 -0
  331. package/dist/ui/components/Skinable.d.ts.map +1 -0
  332. package/dist/ui/components/SliderComp.d.ts +60 -0
  333. package/dist/ui/components/SliderComp.d.ts.map +1 -0
  334. package/dist/ui/components/SpriteTextBBCode.d.ts +16 -0
  335. package/dist/ui/components/SpriteTextBBCode.d.ts.map +1 -0
  336. package/dist/ui/components/StepperComp.d.ts +89 -0
  337. package/dist/ui/components/StepperComp.d.ts.map +1 -0
  338. package/dist/ui/components/index.d.ts +12 -0
  339. package/dist/ui/components/index.d.ts.map +1 -0
  340. package/dist/ui/components/spriteText/SpriteText.d.ts +114 -0
  341. package/dist/ui/components/spriteText/SpriteText.d.ts.map +1 -0
  342. package/dist/ui/components/spriteText/SpriteText.types.d.ts +109 -0
  343. package/dist/ui/components/spriteText/SpriteText.types.d.ts.map +1 -0
  344. package/dist/ui/components/spriteText/SpriteTextAlignment.d.ts +25 -0
  345. package/dist/ui/components/spriteText/SpriteTextAlignment.d.ts.map +1 -0
  346. package/dist/ui/components/spriteText/SpriteTextBezier.d.ts +20 -0
  347. package/dist/ui/components/spriteText/SpriteTextBezier.d.ts.map +1 -0
  348. package/dist/ui/components/spriteText/SpriteTextCurve.d.ts +4 -0
  349. package/dist/ui/components/spriteText/SpriteTextCurve.d.ts.map +1 -0
  350. package/dist/ui/components/spriteText/SpriteTextKerning.d.ts +7 -0
  351. package/dist/ui/components/spriteText/SpriteTextKerning.d.ts.map +1 -0
  352. package/dist/ui/components/spriteText/SpriteTextTexture.d.ts +16 -0
  353. package/dist/ui/components/spriteText/SpriteTextTexture.d.ts.map +1 -0
  354. package/dist/ui/components/spriteText/SpriteTextWrap.d.ts +19 -0
  355. package/dist/ui/components/spriteText/SpriteTextWrap.d.ts.map +1 -0
  356. package/dist/ui/components/spriteText/index.d.ts +3 -0
  357. package/dist/ui/components/spriteText/index.d.ts.map +1 -0
  358. package/dist/ui/index.d.ts +3 -0
  359. package/dist/ui/index.d.ts.map +1 -0
  360. package/dist/ui/index.js +4778 -0
  361. package/dist/ui/index.js.map +1 -0
  362. package/dist/utils/ArrayUtils.d.ts +24 -0
  363. package/dist/utils/ArrayUtils.d.ts.map +1 -0
  364. package/dist/utils/ColorUtils.d.ts +34 -0
  365. package/dist/utils/ColorUtils.d.ts.map +1 -0
  366. package/dist/utils/DataInjector.d.ts +67 -0
  367. package/dist/utils/DataInjector.d.ts.map +1 -0
  368. package/dist/utils/Logger.d.ts +332 -0
  369. package/dist/utils/Logger.d.ts.map +1 -0
  370. package/dist/utils/NumberFormatter.d.ts +126 -0
  371. package/dist/utils/NumberFormatter.d.ts.map +1 -0
  372. package/dist/utils/ObjectUtils.d.ts +64 -0
  373. package/dist/utils/ObjectUtils.d.ts.map +1 -0
  374. package/dist/utils/PixiUtils.d.ts +118 -0
  375. package/dist/utils/PixiUtils.d.ts.map +1 -0
  376. package/dist/utils/Throttle.d.ts +103 -0
  377. package/dist/utils/Throttle.d.ts.map +1 -0
  378. package/dist/utils/index.d.ts +9 -0
  379. package/dist/utils/index.d.ts.map +1 -0
  380. package/dist/utils/index.js +899 -0
  381. package/dist/utils/index.js.map +1 -0
  382. package/dist/vite/index.d.ts +3 -0
  383. package/dist/vite/index.d.ts.map +1 -0
  384. package/dist/vite/index.js +126 -0
  385. package/dist/vite/index.js.map +1 -0
  386. package/dist/vite/mergeLocalesPlugin.d.ts +22 -0
  387. package/dist/vite/mergeLocalesPlugin.d.ts.map +1 -0
  388. package/package.json +143 -0
@@ -0,0 +1,390 @@
1
+ import { type TextStyleOptions } from 'pixi.js';
2
+ import type { ButtonComp, ButtonCompSkinData, ButtonStateKey, ButtonEffect } from './ButtonComp';
3
+ import type { SpriteConfig } from './Component.types';
4
+ /**
5
+ * Configuration interface for generating button skins with pattern-based texture naming.
6
+ *
7
+ * This interface allows you to define button skins using a base texture name and automatic
8
+ * state suffix generation, reducing boilerplate code and bundle size.
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const config: ButtonSkinGeneratorConfig = {
13
+ * background: {
14
+ * texture: 'btn_spin',
15
+ * perState: true,
16
+ * config: { anchor: { x: 0.5, y: 0.5 } }
17
+ * },
18
+ * icon: {
19
+ * texture: 'icon_spin',
20
+ * perState: false,
21
+ * config: { anchor: { x: 0.5, y: 0.5 } }
22
+ * }
23
+ * };
24
+ * ```
25
+ */
26
+ export interface ButtonSkinGeneratorConfig {
27
+ /**
28
+ * Array of button states to generate.
29
+ *
30
+ * @default ['up', 'over', 'down', 'disabled']
31
+ */
32
+ states?: ButtonStateKey[];
33
+ /**
34
+ * Separator between base name and state suffix.
35
+ *
36
+ * @default '_'
37
+ */
38
+ separator?: string;
39
+ /**
40
+ * Background configuration for the button.
41
+ */
42
+ background?: {
43
+ /**
44
+ * Base texture name for the background.
45
+ */
46
+ texture: string;
47
+ /**
48
+ * Whether background texture changes per state.
49
+ *
50
+ * If true, generates 'btn_name_up', 'btn_name_over', etc.
51
+ * If false, uses the same background texture for all states.
52
+ *
53
+ * @default true
54
+ */
55
+ perState?: boolean;
56
+ /**
57
+ * Additional sprite configuration for the background.
58
+ */
59
+ config?: Partial<SpriteConfig>;
60
+ };
61
+ /**
62
+ * Icon configuration for the button.
63
+ *
64
+ * If provided, icons will be added to the button skin.
65
+ */
66
+ icon?: {
67
+ /**
68
+ * Base texture name for the icon.
69
+ */
70
+ texture: string;
71
+ /**
72
+ * Whether icon texture changes per state.
73
+ *
74
+ * If true, generates 'icon_name_up', 'icon_name_over', etc.
75
+ * If false, uses the same icon texture for all states.
76
+ *
77
+ * @default false
78
+ */
79
+ perState?: boolean;
80
+ /**
81
+ * Additional sprite configuration for the icon.
82
+ */
83
+ config?: Partial<SpriteConfig>;
84
+ };
85
+ textStyle?: TextStyleOptions;
86
+ }
87
+ /**
88
+ * Creates a ButtonCompSkinData object using pattern-based texture naming.
89
+ *
90
+ * This function generates button skin configurations by automatically creating
91
+ * texture names for each state based on a base name and separator pattern.
92
+ * Reduces repetitive code and bundle size compared to manually defining each state.
93
+ *
94
+ * @param config - Configuration object for button skin generation
95
+ * @returns Complete ButtonCompSkinData object with all specified states
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * // Simple button with background only
100
+ * const skin = createButtonSkin({
101
+ * background: {
102
+ * texture: 'btn_bet_plus',
103
+ * perState: true
104
+ * }
105
+ * });
106
+ * // Generates: btn_bet_plus_up, btn_bet_plus_over, btn_bet_plus_down, btn_bet_plus_disabled
107
+ *
108
+ * // Button with icon (icon doesn't change per state)
109
+ * const spinSkin = createButtonSkin({
110
+ * background: {
111
+ * texture: 'btn_spin',
112
+ * perState: true,
113
+ * config: { anchor: { x: 0.5, y: 0.5 } }
114
+ * },
115
+ * icon: {
116
+ * texture: 'icon_spin',
117
+ * perState: false,
118
+ * config: { anchor: { x: 0.5, y: 0.5 } }
119
+ * }
120
+ * });
121
+ *
122
+ * // Button with dynamic icon (icon changes per state)
123
+ * const dynamicSkin = createButtonSkin({
124
+ * background: {
125
+ * texture: 'btn_action',
126
+ * perState: true
127
+ * },
128
+ * icon: {
129
+ * texture: 'icon_action',
130
+ * perState: true
131
+ * }
132
+ * });
133
+ * // Generates: icon_action_up, icon_action_over, icon_action_down, icon_action_disabled
134
+ *
135
+ * // Custom states and configuration
136
+ * const customSkin = createButtonSkin({
137
+ * background: {
138
+ * texture: 'btn_custom',
139
+ * perState: true,
140
+ * config: { alpha: 0.9, tint: 0xFFFFFF }
141
+ * },
142
+ * states: ['up', 'over'],
143
+ * separator: '-'
144
+ * });
145
+ * ```
146
+ */
147
+ export declare function createSpriteButtonSkin(config: ButtonSkinGeneratorConfig): ButtonCompSkinData;
148
+ /**
149
+ * Context object passed to effect handlers containing button parts and state information.
150
+ *
151
+ * Provides access to all visual elements of the button (background, icon, text)
152
+ * and current state information for creating custom animations and behaviors.
153
+ *
154
+ * @example
155
+ * ```typescript
156
+ * const effect = createButtonEffect({
157
+ * onStateChange: (ctx) => {
158
+ * if (ctx.state === 'over' && ctx.icon) {
159
+ * gsap.to(ctx.icon, { rotation: Math.PI * 2, duration: 1 });
160
+ * }
161
+ * }
162
+ * });
163
+ * ```
164
+ */
165
+ export interface ButtonEffectContext {
166
+ /**
167
+ * Reference to the button instance.
168
+ */
169
+ button: ButtonComp;
170
+ /**
171
+ * Current button state.
172
+ */
173
+ state: ButtonStateKey;
174
+ /**
175
+ * Previous button state (undefined on first state change).
176
+ */
177
+ previousState?: ButtonStateKey;
178
+ /**
179
+ * Background sprite or graphics element.
180
+ */
181
+ background: ButtonComp['background'];
182
+ /**
183
+ * Icon sprite element (may be undefined if button has no icon).
184
+ */
185
+ icon: ButtonComp['icon'];
186
+ /**
187
+ * Text label element (may be null if button has no text).
188
+ */
189
+ text: ButtonComp['text'];
190
+ /**
191
+ *
192
+ */
193
+ placeHolder: ButtonComp['placeHolder'];
194
+ }
195
+ /**
196
+ * Configuration for creating a button effect.
197
+ *
198
+ * Effects are composable behaviors that can be attached to buttons to add
199
+ * animations, visual feedback, or custom logic triggered by state changes or updates.
200
+ *
201
+ * @example
202
+ * ```typescript
203
+ * // Simple hover glow effect
204
+ * const glowEffect = createButtonEffect({
205
+ * name: 'glow',
206
+ * onStateChange: (ctx) => {
207
+ * if (ctx.state === 'over') {
208
+ * gsap.to(ctx.background, { alpha: 1.2, duration: 0.3 });
209
+ * } else {
210
+ * gsap.to(ctx.background, { alpha: 1, duration: 0.3 });
211
+ * }
212
+ * }
213
+ * });
214
+ *
215
+ * // Continuous rotation effect
216
+ * const rotateEffect = createButtonEffect({
217
+ * name: 'rotate',
218
+ * onAttach: (ctx) => {
219
+ * if (ctx.icon) {
220
+ * gsap.to(ctx.icon, {
221
+ * rotation: Math.PI * 2,
222
+ * duration: 2,
223
+ * repeat: -1,
224
+ * ease: 'none'
225
+ * });
226
+ * }
227
+ * }
228
+ * });
229
+ * ```
230
+ */
231
+ export interface ButtonEffectConfig {
232
+ /**
233
+ * Unique name for the effect.
234
+ *
235
+ * Used to identify and remove effects later.
236
+ */
237
+ name: string;
238
+ /**
239
+ * Called when the effect is attached to a button.
240
+ *
241
+ * Use this to initialize animations, store references, or set up initial state.
242
+ *
243
+ * @param ctx - Effect context with button parts and state
244
+ */
245
+ onAttach?(ctx: ButtonEffectContext): void;
246
+ /**
247
+ * Called when the effect is detached from a button.
248
+ *
249
+ * Use this to clean up animations, kill tweens, or remove event listeners.
250
+ */
251
+ onDetach?(): void;
252
+ /**
253
+ * Called when the button state changes.
254
+ *
255
+ * This is where you implement state-dependent animations and behaviors.
256
+ *
257
+ * @param ctx - Effect context with current and previous state
258
+ *
259
+ * @example
260
+ * ```typescript
261
+ * onStateChange: (ctx) => {
262
+ * if (ctx.state === 'down') {
263
+ * gsap.to(ctx.button.scale, { x: 0.95, y: 0.95, duration: 0.1 });
264
+ * } else if (ctx.previousState === 'down') {
265
+ * gsap.to(ctx.button.scale, { x: 1, y: 1, duration: 0.1 });
266
+ * }
267
+ * }
268
+ * ```
269
+ */
270
+ onStateChange?(ctx: ButtonEffectContext): void;
271
+ /**
272
+ * Called when the button is destroyed.
273
+ *
274
+ * Final cleanup opportunity before the button is removed.
275
+ */
276
+ onDestroy?(): void;
277
+ }
278
+ /**
279
+ * Creates a button effect from a configuration object.
280
+ *
281
+ * Button effects are reusable, composable behaviors that can be attached to any button
282
+ * to add animations, visual feedback, or custom logic. Effects receive a context object
283
+ * with access to all button parts (background, icon, text) and can respond to state changes
284
+ * or frame updates.
285
+ *
286
+ * @param config - Effect configuration with lifecycle handlers
287
+ * @returns ButtonEffect instance that can be attached to buttons
288
+ *
289
+ * @example
290
+ * ```typescript
291
+ * import gsap from 'gsap';
292
+ *
293
+ * // Create a spin effect for button icons
294
+ * const spinEffect = createButtonEffect({
295
+ * name: 'iconSpin',
296
+ * onStateChange: (ctx) => {
297
+ * if (!ctx.icon) return;
298
+ *
299
+ * if (ctx.state === 'over' || ctx.state === 'down') {
300
+ * gsap.to(ctx.icon, {
301
+ * rotation: Math.PI * 2,
302
+ * duration: 1,
303
+ * repeat: -1,
304
+ * ease: 'none'
305
+ * });
306
+ * } else {
307
+ * gsap.killTweensOf(ctx.icon);
308
+ * gsap.to(ctx.icon, { rotation: 0, duration: 0.3 });
309
+ * }
310
+ * },
311
+ * onDetach: () => {
312
+ * // Cleanup is handled in onStateChange
313
+ * }
314
+ * });
315
+ *
316
+ * // Attach to button
317
+ * const button = new ButtonComp();
318
+ * button.addEffect(spinEffect);
319
+ *
320
+ * // Create a pulse effect
321
+ * const pulseEffect = createButtonEffect({
322
+ * name: 'pulse',
323
+ * onAttach: (ctx) => {
324
+ * gsap.to(ctx.button.scale, {
325
+ * x: 1.05,
326
+ * y: 1.05,
327
+ * duration: 0.8,
328
+ * repeat: -1,
329
+ * yoyo: true,
330
+ * ease: 'sine.inOut'
331
+ * });
332
+ * },
333
+ * onDetach: () => {
334
+ * // Tweens are automatically killed when button is destroyed
335
+ * }
336
+ * });
337
+ *
338
+ * // Create a custom update-based effect
339
+ * let time = 0;
340
+ * const waveEffect = createButtonEffect({
341
+ * name: 'wave',
342
+ * onUpdate: (deltaTime, ctx) => {
343
+ * time += deltaTime;
344
+ * if (ctx.icon) {
345
+ * ctx.icon.y = Math.sin(time * 3) * 5;
346
+ * }
347
+ * }
348
+ * });
349
+ * ```
350
+ */
351
+ export declare function createButtonEffect(config: ButtonEffectConfig): ButtonEffect;
352
+ export interface ToggleIconSlideEffectOptions {
353
+ duration?: number;
354
+ ease?: string;
355
+ offset?: number;
356
+ }
357
+ export declare function createToggleIconSlideEffect(options?: ToggleIconSlideEffectOptions): ButtonEffect;
358
+ /**
359
+ * Options for the flat button effect.
360
+ */
361
+ export interface FlatButtonEffectOptions {
362
+ /** Background alpha on hover. @default 0.85 */
363
+ overAlpha?: number;
364
+ /** Scale factor on press. @default 0.95 */
365
+ downScale?: number;
366
+ /** Overall alpha on press. @default 0.9 */
367
+ downAlpha?: number;
368
+ /** Overall alpha when disabled. @default 0.5 */
369
+ disabledAlpha?: number;
370
+ /** Transition duration in seconds. @default 0.12 */
371
+ duration?: number;
372
+ /** GSAP ease string. @default 'power2.out' */
373
+ ease?: string;
374
+ }
375
+ /**
376
+ * Creates a flat button effect that provides code-driven visual feedback
377
+ * for hover, press, and disabled states without requiring per-state textures.
378
+ *
379
+ * Automatically applied to every {@link ButtonComp} by default.
380
+ * Opt-out via `button.removeButtonEffect('flatButton')`.
381
+ *
382
+ * @example
383
+ * ```typescript
384
+ * // Custom options
385
+ * button.removeButtonEffect('flatButton');
386
+ * button.addButtonEffect(createFlatButtonEffect({ downScale: 0.97 }));
387
+ * ```
388
+ */
389
+ export declare function createFlatButtonEffect(options?: FlatButtonEffectOptions): ButtonEffect;
390
+ //# sourceMappingURL=Comp.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Comp.utils.d.ts","sourceRoot":"","sources":["../../../ui/components/Comp.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,SAAS,CAAC;AACnE,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAElB,cAAc,EACd,YAAY,EACb,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;GAqBG;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+ import type { FillInput, StrokeInput } from 'pixi.js';
2
+ import type { LayoutStyles } from '@pixi/layout';
3
+ export type GraphicsConfig = {
4
+ circle: {
5
+ radius: number;
6
+ };
7
+ fill?: FillInput;
8
+ stroke?: StrokeInput;
9
+ layout?: boolean | LayoutStyles | null;
10
+ } | {
11
+ rect: {
12
+ width: number;
13
+ height: number;
14
+ };
15
+ fill?: FillInput;
16
+ stroke?: StrokeInput;
17
+ layout?: boolean | LayoutStyles | null;
18
+ } | {
19
+ roundRect: {
20
+ width: number;
21
+ height: number;
22
+ radius: number;
23
+ };
24
+ fill?: FillInput;
25
+ stroke?: StrokeInput;
26
+ layout?: boolean | LayoutStyles | null;
27
+ };
28
+ export interface SpriteConfig<Keys extends string = string> {
29
+ texture: Keys;
30
+ alpha?: number;
31
+ tint?: number;
32
+ anchor?: {
33
+ x: number;
34
+ y: number;
35
+ };
36
+ layout?: boolean | LayoutStyles | null;
37
+ }
38
+ export type DeepPartial<T> = T extends object ? {
39
+ [K in keyof T]?: DeepPartial<T[K]>;
40
+ } : T;
41
+ //# sourceMappingURL=Component.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.types.d.ts","sourceRoot":"","sources":["../../../ui/components/Component.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,cAAc,GACtB;IACA,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAAC;CACxC,GACC;IACA,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAAC;CACxC,GACC;IACA,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAAC;CACxC,CAAC;AAEJ,MAAM,WAAW,YAAY,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM;IACxD,OAAO,EAAE,IAAI,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAAC;CAExC;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { Container, TextStyleOptions } from 'pixi.js';
2
+ import { DeepPartial, GraphicsConfig, SpriteConfig } from './Component.types';
3
+ import { InputBehavior, InputBehaviorOptions } from '../behaviors';
4
+ export interface InputCompStateData {
5
+ background?: GraphicsConfig | SpriteConfig;
6
+ textStyle?: TextStyleOptions;
7
+ padding?: number;
8
+ }
9
+ export interface InputCompSkinData {
10
+ up: InputCompStateData;
11
+ over?: DeepPartial<InputCompStateData>;
12
+ focused?: DeepPartial<InputCompStateData>;
13
+ disabled?: DeepPartial<InputCompStateData>;
14
+ }
15
+ export interface InputCompOptions extends InputBehaviorOptions {
16
+ skinData?: InputCompSkinData;
17
+ }
18
+ declare const InputComp_base: new (options?: import("pixi.js").ContainerOptions<import("pixi.js").ContainerChild> | undefined) => Container<import("pixi.js").ContainerChild> & {
19
+ setSkinData: (data: InputCompSkinData | Partial<InputCompSkinData> | null, opts?: {
20
+ mergeWithExisting?: boolean;
21
+ } | undefined) => void;
22
+ getSkinData: () => InputCompSkinData | null;
23
+ };
24
+ export declare class InputComp extends InputComp_base {
25
+ private _background;
26
+ private _textMask;
27
+ private _textLabel;
28
+ private _behavior;
29
+ private _currentState;
30
+ private _isFocused;
31
+ constructor(options?: InputCompOptions);
32
+ private setState;
33
+ protected skinApply(_: InputCompSkinData | null): void;
34
+ private updateVisualState;
35
+ private updateTextMask;
36
+ private getCurrentStateData;
37
+ private updateBackground;
38
+ private updateHitArea;
39
+ get behavior(): InputBehavior;
40
+ destroy(): void;
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=InputComp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputComp.d.ts","sourceRoot":"","sources":["../../../ui/components/InputComp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,gBAAgB,EAAa,MAAM,SAAS,CAAC;AAElG,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;IAC3C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,kBAAkB,CAAC;IACvB,IAAI,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACvC,OAAO,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;;;;;;;AAED,qBAAa,SAAU,SAAQ,cAAwD;IACrF,OAAO,CAAC,WAAW,CAAoB;IACvC,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,UAAU,CAAO;IACzB,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,UAAU,CAAkB;gBAExB,OAAO,GAAE,gBAAqB;IAoD1C,OAAO,CAAC,QAAQ;IAKhB,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI;IAItD,OAAO,CAAC,iBAAiB;IAoBzB,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,mBAAmB;IAS3B,OAAO,CAAC,gBAAgB;IAkDxB,OAAO,CAAC,aAAa;IAMrB,IAAW,QAAQ,IAAI,aAAa,CAEnC;IAEM,OAAO,IAAI,IAAI;CAIvB"}
@@ -0,0 +1,49 @@
1
+ import { Container, Graphics, TextStyleOptions } from 'pixi.js';
2
+ import type { DeepPartial, GraphicsConfig } from './Component.types';
3
+ import type { LayoutStyles } from '@pixi/layout';
4
+ export type LabelBoxState = 'default' | 'enabled' | 'disabled' | 'required' | 'success' | 'fail';
5
+ export interface LabelBoxStateData {
6
+ background?: GraphicsConfig;
7
+ textStyle?: TextStyleOptions;
8
+ textLayout?: boolean | LayoutStyles | null;
9
+ layout?: boolean | LayoutStyles | null;
10
+ }
11
+ export interface LabelBoxSkinData {
12
+ default: LabelBoxStateData;
13
+ enabled?: DeepPartial<LabelBoxStateData>;
14
+ disabled?: DeepPartial<LabelBoxStateData>;
15
+ required?: DeepPartial<LabelBoxStateData>;
16
+ success?: DeepPartial<LabelBoxStateData>;
17
+ fail?: DeepPartial<LabelBoxStateData>;
18
+ }
19
+ export interface LabelBoxOptions {
20
+ text?: string;
21
+ label?: string;
22
+ state?: LabelBoxState;
23
+ skinData?: LabelBoxSkinData;
24
+ }
25
+ declare const LabelBox_base: new (options?: import("pixi.js").ContainerOptions<import("pixi.js").ContainerChild> | undefined) => Container<import("pixi.js").ContainerChild> & {
26
+ setSkinData: (data: LabelBoxSkinData | Partial<LabelBoxSkinData> | null, opts?: {
27
+ mergeWithExisting?: boolean;
28
+ } | undefined) => void;
29
+ getSkinData: () => LabelBoxSkinData | null;
30
+ };
31
+ export declare class LabelBox extends LabelBox_base {
32
+ private _background;
33
+ private _text;
34
+ private _currentState;
35
+ private _stateDataCache;
36
+ constructor(options?: LabelBoxOptions);
37
+ get text(): string;
38
+ set text(value: string);
39
+ get background(): Graphics;
40
+ get state(): LabelBoxState;
41
+ set state(value: LabelBoxState);
42
+ private getStateData;
43
+ private applyCurrentState;
44
+ private applyStateData;
45
+ private drawGraphics;
46
+ protected skinApply(skin: LabelBoxSkinData | null): void;
47
+ }
48
+ export {};
49
+ //# sourceMappingURL=LabelBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelBox.d.ts","sourceRoot":"","sources":["../../../ui/components/LabelBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAQ,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAEjG,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,SAAS,CAAC,E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GAAG,IAAI,GAAG,IAAI;CAUzD"}
@@ -0,0 +1,106 @@
1
+ import { Container, TextStyleOptions } from 'pixi.js';
2
+ import { GraphicsConfig } from './Component.types';
3
+ import { SliderComp, type SliderCompSkinData } from './SliderComp';
4
+ export type CellRenderer<TData = Record<string, any>> = (data: TData, index: number, column: ListTableColumn) => Container;
5
+ export interface ListTableColumn<K extends string = string> {
6
+ key: K;
7
+ label: string;
8
+ width: number;
9
+ renderer?: CellRenderer;
10
+ }
11
+ export interface ListTableSeparatorConfig {
12
+ color?: number;
13
+ alpha?: number;
14
+ thickness?: number;
15
+ }
16
+ export interface ListTableRowSkinData {
17
+ textStyle?: TextStyleOptions;
18
+ background?: GraphicsConfig;
19
+ oddBackground?: GraphicsConfig;
20
+ evenBackground?: GraphicsConfig;
21
+ hoverBackground?: GraphicsConfig;
22
+ }
23
+ export interface ListTableCompSkinData {
24
+ header?: {
25
+ textStyle?: TextStyleOptions;
26
+ background?: GraphicsConfig;
27
+ };
28
+ row?: ListTableRowSkinData;
29
+ cellStyles?: Record<string, {
30
+ textStyle?: TextStyleOptions;
31
+ }>;
32
+ separator?: ListTableSeparatorConfig;
33
+ scrollbar?: SliderCompSkinData;
34
+ }
35
+ export interface ListTableOptions<TData extends Record<string, any> = Record<string, any>> {
36
+ columns: ListTableColumn<keyof TData & string>[];
37
+ tableWidth: number;
38
+ tableHeight: number;
39
+ rowHeight: number;
40
+ headerHeight?: number;
41
+ rowGap?: number;
42
+ cellGap?: number;
43
+ showHeader?: boolean;
44
+ showScrollbar?: boolean;
45
+ skinData?: ListTableCompSkinData;
46
+ }
47
+ export interface ListTableEvents {
48
+ rowClick: [data: Record<string, any>, index: number];
49
+ rowHover: [data: Record<string, any>, index: number];
50
+ rowOut: [data: Record<string, any>, index: number];
51
+ scroll: [value: number];
52
+ }
53
+ declare const ListTableComp_base: new (options?: import("pixi.js").ContainerOptions<import("pixi.js").ContainerChild> | undefined) => Container<import("pixi.js").ContainerChild> & {
54
+ setSkinData: (data: ListTableCompSkinData | Partial<ListTableCompSkinData> | null, opts?: {
55
+ mergeWithExisting?: boolean;
56
+ } | undefined) => void;
57
+ getSkinData: () => ListTableCompSkinData | null;
58
+ };
59
+ export declare class ListTableComp<TData extends Record<string, any> = Record<string, any>> extends ListTableComp_base {
60
+ private _columns;
61
+ private _tableWidth;
62
+ private _tableHeight;
63
+ private _rowHeight;
64
+ private _headerHeight;
65
+ private _rowGap;
66
+ private _cellGap;
67
+ private _showHeader;
68
+ private _showScrollbar;
69
+ private _headerContainer;
70
+ private _headerCells;
71
+ private _listContainer;
72
+ private _listContent;
73
+ private _listMask;
74
+ private _scrollbar;
75
+ private _data;
76
+ private _rowViews;
77
+ private _hoveredRowIndex;
78
+ private _scrollValue;
79
+ constructor(options: ListTableOptions<TData>);
80
+ private buildHeader;
81
+ private updateLayout;
82
+ private updateScrollRange;
83
+ private onWheel;
84
+ drawList(data: TData[]): void;
85
+ private createRow;
86
+ private drawRowBackground;
87
+ clearList(): void;
88
+ getRowAt(index: number): Container | null;
89
+ scrollTo(index: number): void;
90
+ get data(): TData[];
91
+ get columns(): ListTableColumn<keyof TData & string>[];
92
+ get showHeader(): boolean;
93
+ set showHeader(value: boolean);
94
+ get showScrollbar(): boolean;
95
+ set showScrollbar(value: boolean);
96
+ get scrollbar(): SliderComp;
97
+ get headerContainer(): Container;
98
+ get listContainer(): Container;
99
+ get listContent(): Container;
100
+ protected skinApply(skin: ListTableCompSkinData | null): void;
101
+ private applyHeaderSkin;
102
+ private applyRowSkins;
103
+ destroy(): void;
104
+ }
105
+ export {};
106
+ //# sourceMappingURL=ListTableComp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTableComp.d.ts","sourceRoot":"","sources":["../../../ui/components/ListTableComp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkB,gBAAgB,EAAkC,MAAM,SAAS,CAAC;AAEtG,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,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