@truelab/truengine 5.1.1 → 6.0.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 (189) hide show
  1. package/dist/libs/pixi.js +1 -1
  2. package/dist/pixi-chunk.js +37 -37
  3. package/dist/truengine.js +20851 -20773
  4. package/dist/types/src/classes/assets.class.d.ts +7 -7
  5. package/dist/types/src/classes/assets.class.d.ts.map +1 -1
  6. package/dist/types/src/classes/catalog.d.ts +1 -2
  7. package/dist/types/src/classes/catalog.d.ts.map +1 -1
  8. package/dist/types/src/classes/container.class.d.ts +2 -2
  9. package/dist/types/src/classes/container.class.d.ts.map +1 -1
  10. package/dist/types/src/classes/engine.class.d.ts +1 -10
  11. package/dist/types/src/classes/engine.class.d.ts.map +1 -1
  12. package/dist/types/src/classes/playlist.d.ts +1 -5
  13. package/dist/types/src/classes/playlist.d.ts.map +1 -1
  14. package/dist/types/src/classes/producer.class.d.ts +3 -4
  15. package/dist/types/src/classes/producer.class.d.ts.map +1 -1
  16. package/dist/types/src/classes/sequence.class.d.ts +1 -2
  17. package/dist/types/src/classes/sequence.class.d.ts.map +1 -1
  18. package/dist/types/src/classes/sounds.manager.d.ts +1 -4
  19. package/dist/types/src/classes/sounds.manager.d.ts.map +1 -1
  20. package/dist/types/src/components/abstract.component.d.ts +1 -1
  21. package/dist/types/src/components/abstract.component.d.ts.map +1 -1
  22. package/dist/types/src/components/abstract.html.component.d.ts +1 -1
  23. package/dist/types/src/components/abstract.html.component.d.ts.map +1 -1
  24. package/dist/types/src/components/bigwin.component.d.ts +9 -8
  25. package/dist/types/src/components/bigwin.component.d.ts.map +1 -1
  26. package/dist/types/src/components/blackout.component.d.ts +3 -3
  27. package/dist/types/src/components/blackout.component.d.ts.map +1 -1
  28. package/dist/types/src/components/button.component.d.ts +9 -9
  29. package/dist/types/src/components/button.component.d.ts.map +1 -1
  30. package/dist/types/src/components/button.faded.component.d.ts +3 -3
  31. package/dist/types/src/components/button.faded.component.d.ts.map +1 -1
  32. package/dist/types/src/components/button.text.component.d.ts +1 -1
  33. package/dist/types/src/components/button.text.component.d.ts.map +1 -1
  34. package/dist/types/src/components/cheat.component.d.ts +3 -4
  35. package/dist/types/src/components/cheat.component.d.ts.map +1 -1
  36. package/dist/types/src/components/cheat.panel.animations.d.ts +22 -3
  37. package/dist/types/src/components/cheat.panel.animations.d.ts.map +1 -1
  38. package/dist/types/src/components/cheat.panel.settings.d.ts +2 -3
  39. package/dist/types/src/components/cheat.panel.settings.d.ts.map +1 -1
  40. package/dist/types/src/components/cheat.store.d.ts +1 -2
  41. package/dist/types/src/components/cheat.store.d.ts.map +1 -1
  42. package/dist/types/src/components/cheat.types.d.ts +3 -4
  43. package/dist/types/src/components/cheat.types.d.ts.map +1 -1
  44. package/dist/types/src/components/fillframe.component.d.ts +1 -1
  45. package/dist/types/src/components/fillframe.component.d.ts.map +1 -1
  46. package/dist/types/src/components/fly/fly.component.d.ts +5 -4
  47. package/dist/types/src/components/fly/fly.component.d.ts.map +1 -1
  48. package/dist/types/src/components/fly/fly.textures.d.ts +2 -3
  49. package/dist/types/src/components/fly/fly.textures.d.ts.map +1 -1
  50. package/dist/types/src/components/fly/fly.types.d.ts +5 -5
  51. package/dist/types/src/components/fly/fly.types.d.ts.map +1 -1
  52. package/dist/types/src/components/fly/flyers/abstract.flyer.d.ts +4 -4
  53. package/dist/types/src/components/fly/flyers/abstract.flyer.d.ts.map +1 -1
  54. package/dist/types/src/components/fly/flyers/comet.flyer.d.ts +2 -2
  55. package/dist/types/src/components/fly/flyers/comet.flyer.d.ts.map +1 -1
  56. package/dist/types/src/components/fly/flyers/sprite.flyer.d.ts +4 -3
  57. package/dist/types/src/components/fly/flyers/sprite.flyer.d.ts.map +1 -1
  58. package/dist/types/src/components/fly/flyers/value.flyer.d.ts +2 -2
  59. package/dist/types/src/components/fly/flyers/value.flyer.d.ts.map +1 -1
  60. package/dist/types/src/components/grid.component.d.ts +1 -1
  61. package/dist/types/src/components/grid.component.d.ts.map +1 -1
  62. package/dist/types/src/components/link.component.d.ts +1 -1
  63. package/dist/types/src/components/link.component.d.ts.map +1 -1
  64. package/dist/types/src/components/particles.component.d.ts +2 -3
  65. package/dist/types/src/components/particles.component.d.ts.map +1 -1
  66. package/dist/types/src/components/progress.component.d.ts +7 -6
  67. package/dist/types/src/components/progress.component.d.ts.map +1 -1
  68. package/dist/types/src/components/retrigger.component.d.ts +3 -3
  69. package/dist/types/src/components/retrigger.component.d.ts.map +1 -1
  70. package/dist/types/src/components/slideshow/slides.reel.component.d.ts +4 -4
  71. package/dist/types/src/components/slideshow/slides.reel.component.d.ts.map +1 -1
  72. package/dist/types/src/components/slideshow/slideshow.component.d.ts +1 -1
  73. package/dist/types/src/components/slideshow/slideshow.component.d.ts.map +1 -1
  74. package/dist/types/src/components/slideshow/slideshow.ui.component.d.ts +1 -1
  75. package/dist/types/src/components/slideshow/slideshow.ui.component.d.ts.map +1 -1
  76. package/dist/types/src/components/slideshow/slideshow.ui.pagination.d.ts +5 -5
  77. package/dist/types/src/components/slideshow/slideshow.ui.pagination.d.ts.map +1 -1
  78. package/dist/types/src/components/slot/frames/frames.component.d.ts +11 -8
  79. package/dist/types/src/components/slot/frames/frames.component.d.ts.map +1 -1
  80. package/dist/types/src/components/slot/frames/frames.sequence.component.d.ts +2 -3
  81. package/dist/types/src/components/slot/frames/frames.sequence.component.d.ts.map +1 -1
  82. package/dist/types/src/components/slot/frames/frames.spine.component.d.ts +2 -2
  83. package/dist/types/src/components/slot/frames/frames.spine.component.d.ts.map +1 -1
  84. package/dist/types/src/components/slot/hints/hints.component.d.ts +58 -38
  85. package/dist/types/src/components/slot/hints/hints.component.d.ts.map +1 -1
  86. package/dist/types/src/components/slot/intrigue/intrigue.blaze.component.d.ts +30 -9
  87. package/dist/types/src/components/slot/intrigue/intrigue.blaze.component.d.ts.map +1 -1
  88. package/dist/types/src/components/slot/intrigue/intrigue.component.d.ts +43 -30
  89. package/dist/types/src/components/slot/intrigue/intrigue.component.d.ts.map +1 -1
  90. package/dist/types/src/components/slot/intrigue/intrigue.spine.component.d.ts +2 -2
  91. package/dist/types/src/components/slot/intrigue/intrigue.spine.component.d.ts.map +1 -1
  92. package/dist/types/src/components/slot/intrigue/intrigue.switch.component.d.ts +0 -9
  93. package/dist/types/src/components/slot/intrigue/intrigue.switch.component.d.ts.map +1 -1
  94. package/dist/types/src/components/slot/lines/lines.component.d.ts +22 -15
  95. package/dist/types/src/components/slot/lines/lines.component.d.ts.map +1 -1
  96. package/dist/types/src/components/slot/lines/lines.spine.component.d.ts +8 -10
  97. package/dist/types/src/components/slot/lines/lines.spine.component.d.ts.map +1 -1
  98. package/dist/types/src/components/slot/lines/lines.static.component.d.ts +71 -62
  99. package/dist/types/src/components/slot/lines/lines.static.component.d.ts.map +1 -1
  100. package/dist/types/src/components/slot/payout/payout.base.component.d.ts +55 -38
  101. package/dist/types/src/components/slot/payout/payout.base.component.d.ts.map +1 -1
  102. package/dist/types/src/components/slot/payout/payout.component.d.ts +1 -30
  103. package/dist/types/src/components/slot/payout/payout.component.d.ts.map +1 -1
  104. package/dist/types/src/components/slot/payout/total-payout.component.d.ts +4 -4
  105. package/dist/types/src/components/slot/payout/total-payout.component.d.ts.map +1 -1
  106. package/dist/types/src/components/slot/reel.component.d.ts +103 -95
  107. package/dist/types/src/components/slot/reel.component.d.ts.map +1 -1
  108. package/dist/types/src/components/slot/slot.cheats.d.ts.map +1 -1
  109. package/dist/types/src/components/slot/slot.component.d.ts +37 -40
  110. package/dist/types/src/components/slot/slot.component.d.ts.map +1 -1
  111. package/dist/types/src/components/slot/slot.config.d.ts +86 -51
  112. package/dist/types/src/components/slot/slot.config.d.ts.map +1 -1
  113. package/dist/types/src/components/slot/symbol/symbol.component.d.ts +41 -35
  114. package/dist/types/src/components/slot/symbol/symbol.component.d.ts.map +1 -1
  115. package/dist/types/src/components/slot/symbol/symbol.value.spine.component.d.ts +3 -2
  116. package/dist/types/src/components/slot/symbol/symbol.value.spine.component.d.ts.map +1 -1
  117. package/dist/types/src/components/slot/value/value.component.d.ts +32 -28
  118. package/dist/types/src/components/slot/value/value.component.d.ts.map +1 -1
  119. package/dist/types/src/components/switch.component.d.ts +8 -8
  120. package/dist/types/src/components/switch.component.d.ts.map +1 -1
  121. package/dist/types/src/components/text.component.d.ts +3 -3
  122. package/dist/types/src/components/text.component.d.ts.map +1 -1
  123. package/dist/types/src/components/volatility/volatility.component.d.ts +3 -3
  124. package/dist/types/src/components/volatility/volatility.component.d.ts.map +1 -1
  125. package/dist/types/src/components/volatility/volatility.symbol.component.d.ts +5 -4
  126. package/dist/types/src/components/volatility/volatility.symbol.component.d.ts.map +1 -1
  127. package/dist/types/src/extends/events.types.d.ts +0 -4
  128. package/dist/types/src/extends/events.types.d.ts.map +1 -1
  129. package/dist/types/src/extends/interfaces.d.ts +3 -4
  130. package/dist/types/src/extends/interfaces.d.ts.map +1 -1
  131. package/dist/types/src/extends/short.types.d.ts +11 -37
  132. package/dist/types/src/extends/short.types.d.ts.map +1 -1
  133. package/dist/types/src/extends/struct.types.d.ts +3 -3
  134. package/dist/types/src/extends/struct.types.d.ts.map +1 -1
  135. package/dist/types/src/functions/animate/counter.func.d.ts +1 -2
  136. package/dist/types/src/functions/animate/counter.func.d.ts.map +1 -1
  137. package/dist/types/src/functions/animate/fadein.func.d.ts +1 -2
  138. package/dist/types/src/functions/animate/fadein.func.d.ts.map +1 -1
  139. package/dist/types/src/functions/animate/fadeout.func.d.ts +1 -2
  140. package/dist/types/src/functions/animate/fadeout.func.d.ts.map +1 -1
  141. package/dist/types/src/functions/animate/from.func.d.ts +2 -2
  142. package/dist/types/src/functions/animate/from.func.d.ts.map +1 -1
  143. package/dist/types/src/functions/animate/fromto.func.d.ts +2 -2
  144. package/dist/types/src/functions/animate/fromto.func.d.ts.map +1 -1
  145. package/dist/types/src/functions/animate/to.func.d.ts +2 -2
  146. package/dist/types/src/functions/animate/to.func.d.ts.map +1 -1
  147. package/dist/types/src/functions/demotexture.func.d.ts +2 -2
  148. package/dist/types/src/functions/demotexture.func.d.ts.map +1 -1
  149. package/dist/types/src/functions/draw/gradient.texture.func.d.ts +2 -2
  150. package/dist/types/src/functions/draw/gradient.texture.func.d.ts.map +1 -1
  151. package/dist/types/src/functions/draw/radialGradient.func.d.ts +2 -3
  152. package/dist/types/src/functions/draw/radialGradient.func.d.ts.map +1 -1
  153. package/dist/types/src/functions/engine.funcs.d.ts +2 -2
  154. package/dist/types/src/functions/engine.funcs.d.ts.map +1 -1
  155. package/dist/types/src/functions/math.funcs.d.ts +3 -3
  156. package/dist/types/src/functions/math.funcs.d.ts.map +1 -1
  157. package/dist/types/src/functions/range.func.d.ts +1 -2
  158. package/dist/types/src/functions/range.func.d.ts.map +1 -1
  159. package/dist/types/src/functions/timeline/create.funcs.d.ts.map +1 -1
  160. package/dist/types/src/functions/timeline/taps.func.d.ts +1 -2
  161. package/dist/types/src/functions/timeline/taps.func.d.ts.map +1 -1
  162. package/dist/types/src/index.d.ts +0 -1
  163. package/dist/types/src/index.d.ts.map +1 -1
  164. package/dist/types/src/references.d.ts +1 -2
  165. package/dist/types/src/references.d.ts.map +1 -1
  166. package/dist/types/src/scenes/abstract.scene.d.ts +2 -3
  167. package/dist/types/src/scenes/abstract.scene.d.ts.map +1 -1
  168. package/dist/types/src/scenes/background.scene.d.ts +27 -9
  169. package/dist/types/src/scenes/background.scene.d.ts.map +1 -1
  170. package/dist/types/src/services/focus.services.d.ts +3 -3
  171. package/dist/types/src/services/focus.services.d.ts.map +1 -1
  172. package/dist/types/src/services/langs.service.d.ts +12 -3
  173. package/dist/types/src/services/langs.service.d.ts.map +1 -1
  174. package/dist/types/src/services/registry.service.d.ts +3 -2
  175. package/dist/types/src/services/registry.service.d.ts.map +1 -1
  176. package/dist/types/src/services/skip.service.d.ts +2 -2
  177. package/dist/types/src/services/skip.service.d.ts.map +1 -1
  178. package/dist/types/src/services/sounds/sounds.service.d.ts +4 -5
  179. package/dist/types/src/services/sounds/sounds.service.d.ts.map +1 -1
  180. package/dist/types/src/services/sounds.howler/sounds.howler.service.d.ts +7 -5
  181. package/dist/types/src/services/sounds.howler/sounds.howler.service.d.ts.map +1 -1
  182. package/dist/types/src/services/sounds.howler/sounds.howler.types.d.ts +1 -2
  183. package/dist/types/src/services/sounds.howler/sounds.howler.types.d.ts.map +1 -1
  184. package/dist/types/src/services/storage.service.d.ts +4 -4
  185. package/dist/types/src/services/storage.service.d.ts.map +1 -1
  186. package/dist/types/src/version.d.ts.map +1 -1
  187. package/package.json +1 -1
  188. package/dist/types/src/classes/di.class.d.ts +0 -74
  189. package/dist/types/src/classes/di.class.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"intrigue.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/intrigue/intrigue.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B,GAAG,UAAU,CAAA;AAEd,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4EAA4E;IAC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AAM,EAAE,MAAM,CAAC,CAAA;QACxB,IAAI,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACJ,CAAA;AAED,yBAAyB;AACzB,8BAAsB,mBAAoB,SAAQ,iBAAkB,YAAW,kBAAkB;IAC7F,SAAS,CAAC,OAAO,EAAE,wBAAwB,CAAA;IAE3C,mBAAmB;gBACP,MAAM,EAAE,wBAAwB;IAM5C,kBAAkB;IACZ,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,sBAAsB;IACtB,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAEnC,qBAAqB;IACrB,QAAQ,CAAC,IAAI,IAAI,IAAI;CACxB"}
1
+ {"version":3,"file":"intrigue.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/intrigue/intrigue.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B,GAAG,UAAU,CAAA;AAEd,2CAA2C;AAC3C,oBAAY,gBAAgB;IACxB,yDAAyD;IACzD,KAAK,UAAU;IACf,iEAAiE;IACjE,KAAK,UAAU;IACf,wBAAwB;IACxB,IAAI,SAAS;CAChB;AAED,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,0DAA0D;IAC1D,MAAM,EAAE,MAAM,CAAA;IACd,qEAAqE;IACrE,SAAS,EAAE,MAAM,C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CAAC,CAAA;QAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC1B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QACvB,IAAI,EAAE,SAAS,CAAA;KAClB,CAAA;CACJ,CAAA;AAED,yBAAyB;AACzB,8BAAsB,mBAAoB,SAAQ,iBAAkB,YAAW,kBAAkB;IAC7F,SAAS,CAAC,OAAO,EAAE,wBAAwB,CAAA;IAE3C,mBAAmB;gBACP,MAAM,EAAE,wBAAwB;IAM5C,kBAAkB;IAClB,IAAI,IAAI,IAAI;IAIZ,sBAAsB;IACtB,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAEnC,qBAAqB;IACrB,QAAQ,CAAC,IAAI,IAAI,IAAI;CACxB"}
@@ -1,10 +1,10 @@
1
1
  import { Spine } from '../../../classes/spine.assets.class';
2
- import { TGsapTween, TSupportContainer } from '../../../extends/short.types';
2
+ import { TSupportContainer } from '../../../extends/short.types';
3
3
  import { FWIntrigueComponent } from './intrigue.component';
4
4
  /** Intrigue component with spine animation */
5
5
  export declare class FWIntrigueSpineComponent extends FWIntrigueComponent {
6
6
  protected _animation: Spine;
7
- protected _tweenFade: TGsapTween;
7
+ protected _tweenFade: gsap.core.Tween;
8
8
  protected _iReel: number;
9
9
  protected _isProcessing: boolean;
10
10
  /** @inheritdoc */
@@ -1 +1 @@
1
- {"version":3,"file":"intrigue.spine.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/intrigue/intrigue.spine.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAe,MAAM,qCAAqC,CAAA;AACxE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAG5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D,8CAA8C;AAC9C,qBAAa,wBAAyB,SAAQ,mBAAmB;IAC7D,SAAS,CAAC,UAAU,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BAAkB;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAM1C"}
@@ -1,15 +1,6 @@
1
1
  import { TMixedObject, TSupportContainer } from '../../../extends/short.types';
2
2
  import { TAnimationParam, TAnimationVariant } from '../../animation.catalog';
3
3
  import { FWIntrigueComponent, IIntrigueComponent, TConfigIntrigueComponent } from './intrigue.component';
4
- /** Встроенные варианты анимации интриги */
5
- export declare enum EIntrigueVariant {
6
- /** Программный эффект «колонна пламени» (без ассетов) */
7
- blaze = "blaze",
8
- /** Spine-анимация из ассета (нужны assetName и animationName) */
9
- spine = "spine",
10
- /** Интрига выключена */
11
- none = "none"
12
- }
13
4
  /**
14
5
  * Хост интриги: держит несколько вариантов анимации и делегирует активному.
15
6
  *
@@ -1 +1 @@
1
- {"version":3,"file":"intrigue.switch.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/intrigue/intrigue.switch.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAoB,eAAe,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAE9F,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAGxG,2CAA2C;AAC3C,oBAAY,gBAAgB;IACxB,yDAAyD;IACzD,KAAK,UAAU;IACf,iEAAiE;IACjE,KAAK,UAAU;IACf,wBAAwB;IACxB,IAAI,SAAS;CAChB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D,gBAAuB,SAAS,mBAAkB;IAElD,SAAS,CAAC,WAAW,kCAAwC;IAC7D,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,aAAa,UAAQ;IAC/B,SAAS,CAAC,MAAM,SAAI;IAEpB,mBAAmB;gBACP,MAAM,EAAE,wBAAwB;IAM5C,2DAA2D;IAC3D,IAAI,QAAQ,IAAI,iBAAiB,EAAE,CAUlC;IAED,+DAA+D;IAC/D,IAAI,MAAM,IAAI,kBAAkB,CAE/B;IAED,kBAAkB;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBlE,2CAA2C;IAC3C,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAO1B,4BAA4B;IAC5B,IAAI,IAAI,IAAI;IAMZ,kBAAkB;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAYvC,iFAAiF;IACjF,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB;IAOxD,8EAA8E;IAC9E,SAAS,CAAC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAUvC,kDAAkD;IAClD,SAAS,CAAC,cAAc,IAAI,eAAe,EAAE;IAU7C,sEAAsE;IACtE,SAAS,CAAC,YAAY,IAAI,eAAe,EAAE;IA+B3C,8EAA8E;IAC9E,SAAS,CAAC,aAAa,IAAI,YAAY;IAmBvC,wDAAwD;IACxD,SAAS,CAAC,kBAAkB,IAAI,IAAI;CAkBvC"}
1
+ {"version":3,"file":"intrigue.switch.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/intrigue/intrigue.switch.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAoB,eAAe,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAE9F,OAAO,EAEH,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EAC3B,MAAM,sBAAsB,CAAA;AAG7B;;;;;;;;;;GAUG;AACH,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D,gBAAuB,SAAS,mBAAkB;IAElD,SAAS,CAAC,WAAW,kCAAwC;IAC7D,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,aAAa,UAAQ;IAC/B,SAAS,CAAC,MAAM,SAAI;IAEpB,mBAAmB;gBACP,MAAM,EAAE,wBAAwB;IAM5C,2DAA2D;IAC3D,IAAI,QAAQ,IAAI,iBAAiB,EAAE,CAUlC;IAED,+DAA+D;IAC/D,IAAI,MAAM,IAAI,kBAAkB,CAE/B;IAED,kBAAkB;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBlE,2CAA2C;IAC3C,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAO1B,4BAA4B;IAC5B,IAAI,IAAI,IAAI;IAMZ,kBAAkB;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAYvC,iFAAiF;IACjF,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB;IAOxD,8EAA8E;IAC9E,SAAS,CAAC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAUvC,kDAAkD;IAClD,SAAS,CAAC,cAAc,IAAI,eAAe,EAAE;IAU7C,sEAAsE;IACtE,SAAS,CAAC,YAAY,IAAI,eAAe,EAAE;IA+B3C,8EAA8E;IAC9E,SAAS,CAAC,aAAa,IAAI,YAAY;IAmBvC,wDAAwD;IACxD,SAAS,CAAC,kBAAkB,IAAI,IAAI;CAkBvC"}
@@ -1,35 +1,42 @@
1
1
  import { IComponent } from '../../../extends/interfaces';
2
- import { TNumberArray } from '../../../extends/short.types';
3
2
  import { AbstractComponent } from '../../abstract.component';
4
3
  import { TGridConfig } from '../slot.config';
5
4
  import { TLinesRevealArg, TLinesStaticConfig } from './lines.static.component';
5
+ /**
6
+ * Spine-линии. Секция в конфиге слота включает `FWLinesSpineComponent` (см. фабрику игры);
7
+ * дефолты — `linesSpineComponentConfig`, `assetName` и `animations` задаёт игра
8
+ */
6
9
  export type TLinesSpineConfig = {
7
10
  assetName: string;
8
- animations?: string;
9
- boneNames?: string[];
10
- timeScale?: number;
11
- alpha?: number;
11
+ animations: string;
12
+ boneNames: string[];
13
+ timeScale: number;
14
+ alpha: number;
15
+ /** По умолчанию — x первой точки линии */
12
16
  offsetX?: number | ((lineIndex: number) => number);
13
- useDoubleAnimation?: boolean;
17
+ useDoubleAnimation: boolean;
14
18
  };
15
19
  export type ILinesComponent = {
16
- animate: (line: TNumberArray, lineIndex?: number, reveal?: TLinesRevealArg) => Promise<void>;
20
+ animate: (line: number[], lineIndex?: number, reveal?: TLinesRevealArg) => Promise<void>;
17
21
  break: () => void;
18
22
  skip?: () => Promise<void>;
19
23
  } & IComponent;
20
24
  export type TLinesCycleConfig = {
21
25
  /** Delay in seconds before the skip becomes available. */
22
- skipDelay?: number;
23
- sort?: boolean;
26
+ skipDelay: number;
27
+ sort: boolean;
24
28
  /** Delay in seconds before the repeat cycle starts. Only applies when `repeat = true`. */
25
- repeatDelay?: number;
29
+ repeatDelay: number;
26
30
  };
31
+ /** Полный конфиг линий — таким его получает фабрика после наложения дефолтов слота */
27
32
  export type TConfigLinesComponent = {
28
- enabled?: boolean;
33
+ enabled: boolean;
34
+ /** Проставляет слот */
29
35
  grid?: TGridConfig;
30
- static?: TLinesStaticConfig;
36
+ static: TLinesStaticConfig;
37
+ /** Задана — фабрика игры создаёт spine-линии вместо статичных */
31
38
  spine?: TLinesSpineConfig;
32
- cycle?: TLinesCycleConfig;
39
+ cycle: TLinesCycleConfig;
33
40
  };
34
41
  /** Lines component */
35
42
  export declare abstract class FWLinesComponent extends AbstractComponent {
@@ -38,11 +45,11 @@ export declare abstract class FWLinesComponent extends AbstractComponent {
38
45
  /** @constructor */
39
46
  constructor(config: TConfigLinesComponent, grid?: TGridConfig);
40
47
  /** @inheritdoc */
41
- draw(): Promise<this>;
48
+ draw(): this;
42
49
  /** @inheritdoc */
43
50
  destroy(): Promise<this>;
44
51
  /** Animates line */
45
- animate(_line: TNumberArray, _lineIndex?: number, _reveal?: TLinesRevealArg): Promise<void>;
52
+ animate(_line: number[], _lineIndex?: number, _reveal?: TLinesRevealArg): Promise<void>;
46
53
  /** Brakes animation */
47
54
  break(): void;
48
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/lines/lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE9E,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;IAClD,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC5F,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC7B,GAAG,UAAU,CAAA;AAEd,MAAM,MAAM,iBAAiB,GAAG;IAC5B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC5B,CAAA;AAED,sBAAsB;AACtB,8BAAsB,gBAAiB,SAAQ,iBAAiB;IAC5D,SAAS,CAAC,OAAO,EAAE,qBAAqB,CAAA;IACxC,SAAS,CAAC,KAAK,EAAE,WAAW,CAAA;IAE5B,mBAAmB;gBACP,MAAM,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,WAAW;IAS7D,kBAAkB;IACZ,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,kBAAkB;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAKvC,oBAAoB;IACd,OAAO,CAAC,KAAK,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAEjG,uBAAuB;IAChB,KAAK,IAAI,IAAI;CACvB"}
1
+ {"version":3,"file":"lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/lines/lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE9E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAA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AI,OAAO,CAAC,IAAI,CAAC;IAKvC,oBAAoB;IACd,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAE7F,uBAAuB;IAChB,KAAK,IAAI,IAAI;CACvB"}
@@ -1,5 +1,5 @@
1
1
  import { Spine } from '../../../classes/spine.assets.class';
2
- import { TNumberArray, TSupportContainer } from '../../../extends/short.types';
2
+ import { TSupportContainer } from '../../../extends/short.types';
3
3
  import { TGridConfig } from '../slot.config';
4
4
  import { FWLinesComponent, TConfigLinesComponent } from './lines.component';
5
5
  /** Lines spine component */
@@ -13,9 +13,7 @@ export declare class FWLinesSpineComponent extends FWLinesComponent {
13
13
  protected _alpha: number;
14
14
  protected _useDoubleAnimation: boolean;
15
15
  /** @constructor */
16
- constructor(config: TConfigLinesComponent & {
17
- spine: TConfigLinesComponent['spine'];
18
- }, grid?: TGridConfig);
16
+ constructor(config: TConfigLinesComponent, grid?: TGridConfig);
19
17
  /** @inheritdoc */
20
18
  create(instance?: TSupportContainer): Promise<this>;
21
19
  /**
@@ -28,7 +26,7 @@ export declare class FWLinesSpineComponent extends FWLinesComponent {
28
26
  /** Resets a pooled spine back to its idle state */
29
27
  protected _resetPoolSpine(spine: Spine): void;
30
28
  /** Animates line */
31
- animate(line: TNumberArray, lineIndex?: number): Promise<void>;
29
+ animate(line: number[], lineIndex?: number): Promise<void>;
32
30
  /**
33
31
  * Calculate Y offset for a grid position using grid points
34
32
  * @param position - Grid position (0-14 for 5x3 grid, 0-19 for 5x4 grid)
@@ -47,17 +45,17 @@ export declare class FWLinesSpineComponent extends FWLinesComponent {
47
45
  * @param line - Array of grid positions
48
46
  * @returns Object with offsets and rotations for each bone
49
47
  */
50
- protected _calculateLineData(line: TNumberArray): {
51
- offsets: TNumberArray;
52
- rotations: TNumberArray;
48
+ protected _calculateLineData(line: number[]): {
49
+ offsets: number[];
50
+ rotations: number[];
53
51
  };
54
52
  /** Animates line by grid positions */
55
- protected animateLineByPositions(line: TNumberArray, timeScale?: number, _additionalOffsetY?: number, lineIndex?: number): Promise<this>;
53
+ protected animateLineByPositions(line: number[], timeScale?: number, _additionalOffsetY?: number, lineIndex?: number): Promise<this>;
56
54
  /**
57
55
  * Animates double line (for layered effect with two parallel animations)
58
56
  * Creates more visual depth by rendering two slightly offset lines
59
57
  */
60
- animateDouble(line: TNumberArray, lineIndex?: number): Promise<void>;
58
+ animateDouble(line: number[], lineIndex?: number): Promise<void>;
61
59
  /** Skip animation (speed up) */
62
60
  skip(): Promise<void>;
63
61
  /** Breaks animation */
@@ -1 +1 @@
1
- {"version":3,"file":"lines.spine.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/lines/lines.spine.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAe,MAAM,qCAAqC,CAAA;AACxE,OAAO,EAAiB,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAG7F,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAE3E,4BAA4B;AAC5B,qBAAa,qBAAsB,SAAQ,gBAAgB;IACvD,SAAS,CAAC,SAAS,0BAA2B;IAC9C,SAAS,CAAC,UAAU,EAAE,KAAK,EAAE,CAAK;IAClC,SAAS,CAAC,WAAW,EAAE,KAAK,EAAE,CAAK;IACnC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAA;IAC5B,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,CAAA;IAC9B,SAAS,CAAC,UAAU,EAAE,MAAM,CAAA;IAC5B,SAAS,CAAC,MAAM,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,mBAAmB,EAAE,OAAO,CAAA;IAEtC,mBAAmB;gBACP,MAAM,EAAE,qBAAqB,GAAG;QAAE,KAAK,EAAE,qB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;IACH,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;IAahE;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG;QAAE,OAAO,EAAE,MAAM,EAAE,CAAC;QAAC,SAAS,EAAE,MAAM,EAAE,CAAA;KAAE;IAgCxF,sCAAsC;cACtB,sBAAsB,CAClC,IAAI,EAAE,MAAM,EAAE,EACd,SAAS,SAAI,EACb,kBAAkB,SAAI,EACtB,SAAS,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC;IAqDhB;;;OAGG;IACU,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAY7E,gCAAgC;IACnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IASlC,uBAAuB;IAChB,KAAK,IAAI,IAAI;IASpB,kBAAkB;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAU1C"}
@@ -1,84 +1,69 @@
1
- import { ColorSource, Graphics, MeshRope, Shader, Sprite } from 'pixi.js';
2
- import { TNumberArray, TSupportContainer } from '../../../extends/short.types';
1
+ import { ColorSource, Graphics, MeshRope, Point, Shader, Sprite } from 'pixi.js';
2
+ import { TDeepPartial, TSupportContainer } from '../../../extends/short.types';
3
3
  import { TAnimationEntry, TAnimationParam } from '../../animation.catalog';
4
4
  import { FWLinesComponent } from './lines.component';
5
5
  /** How a static win line appears on screen */
6
6
  export type TLinesRevealMode = 'fade' | 'mask' | 'rope' | 'shader';
7
7
  /** Mode name or a partial config; takes priority over `static.reveal` */
8
- export type TLinesRevealArg = TLinesRevealMode | TLinesRevealConfig;
8
+ export type TLinesRevealArg = TLinesRevealMode | TDeepPartial<TLinesRevealConfig>;
9
+ /** Appear animation of a static line; defaults live in `slotComponentConfig.components.lines.static.reveal` */
9
10
  export type TLinesRevealConfig = {
10
- /** `false` keeps the timings but falls back to the legacy fade. Default `true` */
11
- enabled?: boolean;
12
- /** Default `'fade'` — the legacy alpha fade-in */
13
- mode?: TLinesRevealMode;
14
- /** Seconds. Default `duration.fadeIn` (0.2); `0` — show without an appear animation */
15
- duration?: number;
16
- ease?: string | gsap.EaseFunction;
17
- mask?: {
18
- /** Soft gradient edge at the reveal front, px. Default `0` — hard edge */
19
- featherSize?: number;
20
- };
21
- shader?: {
22
- /** Line thickness, px. Default — the height of the line texture */
23
- thickness?: number;
24
- /** Colour of the glow; the core of the line stays white. Default `0xffd65a` */
25
- color?: ColorSource;
26
- /** Soft edge at the reveal front, px along the line. Default `24` */
27
- featherSize?: number;
28
- /** Bright head at the reveal front, px along the line. Default `48`, `0` — off */
29
- headSize?: number;
30
- /** Soft taper at both ends of the line, px. Default `24`, `0` — cut straight across */
31
- capSize?: number;
32
- /** Shimmer running along the line */
33
- shimmer?: {
34
- /** Depth, `0`..`1`. Default `0.18`, `0` — off */
35
- amount?: number;
36
- /** Waves per second. Default `1.1` */
37
- speed?: number;
38
- /** Length of one wave, px along the line. Default `175` */
39
- length?: number;
40
- };
41
- };
42
- };
43
- export type TLinesStaticConfig = {
44
- assetName?: string;
45
- lineTextureName?: string;
46
- duration?: {
47
- display?: number;
48
- fadeIn?: number;
49
- fadeOut?: number;
50
- };
51
- /** Interpolated points per segment, rounds the corners. Default `32`; over `6` a 5-reel line is no longer auto-batched */
52
- stepsBetweenPoints?: number;
53
- easeFunction?: string | gsap.EaseFunction;
54
- /** Length of both ends of a line past the grid edge, px. Negative — pull them in under the board art */
55
- correction?: number;
56
- /** Appear animation. Omitted → legacy alpha fade-in */
57
- reveal?: TLinesRevealConfig;
58
- /** `MeshGeometry.batchMode` for line ropes; `'batch'` draws a mass display in one call. Default `'auto'` */
59
- batchMode?: 'auto' | 'batch' | 'no-batch';
60
- };
61
- /** `static.reveal` with every default filled in */
62
- type TResolvedReveal = {
11
+ /** `false` keeps the timings but falls back to the legacy fade */
12
+ enabled: boolean;
63
13
  mode: TLinesRevealMode;
64
- duration: number;
14
+ /** Seconds. Default — `duration.fadeIn`; `0` — show without an appear animation */
15
+ duration?: number;
16
+ /** Default — the ease of the mode */
65
17
  ease?: string | gsap.EaseFunction;
66
18
  mask: {
19
+ /** Soft gradient edge at the reveal front, px; `0` — hard edge */
67
20
  featherSize: number;
68
21
  };
69
22
  shader: {
23
+ /** Line thickness, px. Default — the height of the line texture */
70
24
  thickness?: number;
25
+ /** Colour of the glow; the core of the line stays white */
71
26
  color: ColorSource;
27
+ /** Soft edge at the reveal front, px along the line */
72
28
  featherSize: number;
29
+ /** Bright head at the reveal front, px along the line; `0` — off */
73
30
  headSize: number;
31
+ /** Soft taper at both ends of the line, px; `0` — cut straight across */
74
32
  capSize: number;
33
+ /** Shimmer running along the line */
75
34
  shimmer: {
35
+ /** Depth, `0`..`1`; `0` — off */
76
36
  amount: number;
37
+ /** Waves per second */
77
38
  speed: number;
39
+ /** Length of one wave, px along the line */
78
40
  length: number;
79
41
  };
80
42
  };
81
43
  };
44
+ /** Static lines; defaults live in `slotComponentConfig.components.lines.static` */
45
+ export type TLinesStaticConfig = {
46
+ assetName: string;
47
+ lineTextureName: string;
48
+ duration: {
49
+ display: number;
50
+ fadeIn: number;
51
+ fadeOut: number;
52
+ };
53
+ /** Interpolated points per segment, rounds the corners; over `6` a 5-reel line is no longer auto-batched */
54
+ stepsBetweenPoints: number;
55
+ easeFunction: string | gsap.EaseFunction;
56
+ /** Length of both ends of a line past the grid edge, px. Negative — pull them in under the board art */
57
+ correction: number;
58
+ /** Appear animation */
59
+ reveal: TLinesRevealConfig;
60
+ /** `MeshGeometry.batchMode` for line ropes; `'batch'` draws a mass display in one call */
61
+ batchMode: 'auto' | 'batch' | 'no-batch';
62
+ };
63
+ /** `static.reveal` with the per-call override applied and `duration` resolved */
64
+ type TResolvedReveal = TLinesRevealConfig & {
65
+ duration: number;
66
+ };
82
67
  /** Applies the reveal progress (0..1) to one line */
83
68
  type TRevealApply = (progress: number) => void;
84
69
  /** Lines static component */
@@ -87,6 +72,15 @@ export declare class FWLinesStaticComponent extends FWLinesComponent {
87
72
  protected timelines: Set<gsap.core.Timeline>;
88
73
  previewLines: MeshRope[];
89
74
  protected _currentTimeline: gsap.core.Timeline | null;
75
+ /**
76
+ * Hidden ropes ready for reuse, bucketed by point count: a rope's geometry is built for a fixed
77
+ * number of points, so only a line of the same shape length can take it over.
78
+ */
79
+ protected _linePool: Map<number, MeshRope[]>;
80
+ /** Point count of a poolable rope. Absent → the rope must be destroyed, not pooled */
81
+ protected _lineKeys: WeakMap<MeshRope, number>;
82
+ /** Appear/hide timeline of each preview line — killed before the rope goes back to the pool */
83
+ protected _previewTimelines: Map<MeshRope, gsap.core.Timeline>;
90
84
  protected _revealMask: Sprite | Graphics | null;
91
85
  protected _revealMaskFeather: number;
92
86
  protected _maskShownX: number;
@@ -101,20 +95,35 @@ export declare class FWLinesStaticComponent extends FWLinesComponent {
101
95
  /** @inheritdoc */
102
96
  create(instance?: TSupportContainer): Promise<this>;
103
97
  /** Animates line */
104
- animate(line: TNumberArray, _lineIndex?: number, reveal?: TLinesRevealArg): Promise<void>;
98
+ animate(line: number[], _lineIndex?: number, reveal?: TLinesRevealArg): Promise<void>;
105
99
  /** Creates a line from an array of positions */
106
- protected createLine(line: TNumberArray): MeshRope;
100
+ protected createLine(line: number[]): MeshRope;
101
+ /**
102
+ * Takes a hidden rope of the same shape length from the pool, otherwise builds one.
103
+ * A shader line is never pooled: it rebuilds its geometry and swaps in its own shader.
104
+ */
105
+ protected _acquireLine(line: number[], reveal: TResolvedReveal): MeshRope;
106
+ /** Hides a rope and returns it to the pool; a rope that cannot be reused is destroyed */
107
+ protected _releaseLine(rope: MeshRope): void;
108
+ /** Kills the timeline of a preview line and returns its rope to the pool */
109
+ protected _releasePreviewLine(rope: MeshRope): void;
110
+ /** Points of a line, with both ends extended past the grid edge */
111
+ protected _linePoints(line: number[]): Point[];
112
+ /** Builds a rope over ready points */
113
+ protected _buildLine(points: Point[]): MeshRope;
114
+ /** Destroys the pooled ropes — teardown only */
115
+ protected _destroyLinePool(): void;
107
116
  /** Breaks animation */
108
117
  break(): void;
109
118
  /** Show preview line. `{ duration: 0 }` shows it without an appear animation */
110
- showPreviewLine(line: TNumberArray, reveal?: TLinesRevealArg): Promise<void>;
119
+ showPreviewLine(line: number[], reveal?: TLinesRevealArg): Promise<void>;
111
120
  /** Hide preview line with animation */
112
121
  hidePreviewLine(): Promise<void>;
113
122
  /** Hide preview line instantly */
114
123
  hidePreviewLineInstant(): Promise<void>;
115
124
  /** @inheritdoc */
116
125
  destroy(): Promise<this>;
117
- /** Defaults ← `static.reveal` ← per-call override; `fallbackDuration` stands in for `duration.fadeIn` */
126
+ /** `static.reveal` ← per-call override; `fallbackDuration` stands in for `duration.fadeIn` */
118
127
  protected _resolveReveal(override?: TLinesRevealArg, fallbackDuration?: number): TResolvedReveal;
119
128
  /** Appends the appear animation to the line timeline */
120
129
  protected _appendReveal(timeline: gsap.core.Timeline, meshLine: MeshRope, reveal: TResolvedReveal): void;
@@ -142,7 +151,7 @@ export declare class FWLinesStaticComponent extends FWLinesComponent {
142
151
  protected _ensureRevealMask(featherSize: number): Sprite | Graphics;
143
152
  /** Publishes the win lines in the animation catalog (cheat panel, tab Anim); the last created component wins */
144
153
  protected _registerInCatalog(): void;
145
- /** Live `static.reveal` with its sub-objects — the panel writes settings straight into it */
154
+ /** Live `static.reveal` — the panel writes settings straight into it */
146
155
  protected _revealConfig(): TLinesRevealConfig;
147
156
  /** Settings of the current mode only — the panel asks for them again after a mode switch */
148
157
  protected _catalogParams(): TAnimationParam[];
@@ -1 +1 @@
1
- {"version":3,"file":"lines.static.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/lines/lines.static.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,WAAW,EACX,QAAQ,EACR,QAAQ,EAIR,MAAM,EACN,MAAM,EAIT,MAAM,SAAS,CAAA;AAGhB,O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AS,CAAC,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;CAU1D"}
1
+ {"version":3,"file":"lines.static.component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/slot/lines/lines.static.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,EAGL,MAAM,EACN,MAAM,EAIT,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAG9E,OAAO,EAAoB,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,8CAA8C;AAC9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;AAElE,yEAAyE;AACzE,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,YAAY,CAAC,kBAAkB,CAAC,CAAA;AAEjF,+GAA+G;AAC/G,MAAM,MAAM,kBAAkB,GAAG;IAC7B,kEAAkE;IAClE,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,gBAAgB,CAAA;IACtB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC,YAAY,CAAA;IACjC,IAAI,EAAE;QACF,kEAAkE;QAClE,WAAW,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,MAAM,EAAE;QACJ,mEAAmE;QACnE,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,2DAA2D;QAC3D,KAAK,EAAE,WAAW,CAAA;QAClB,uDAAuD;QACvD,WAAW,EAAE,MAAM,CAAA;QACnB,oEAAoE;QACpE,QAAQ,EAAE,MAAM,CAAA;QAChB,yEAAyE;QACzE,OAAO,EAAE,MAAM,CAAA;QACf,qCAAqC;QACrC,O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,SAAS,CAAC,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;IA6CnE,gHAAgH;IAChH,SAAS,CAAC,kBAAkB,IAAI,IAAI;IAepC,wEAAwE;IACxE,SAAS,CAAC,aAAa,IAAI,kBAAkB;IAI7C,4FAA4F;IAC5F,SAAS,CAAC,cAAc,IAAI,eAAe,EAAE;IAsF7C,6EAA6E;IAC7E,SAAS,CAAC,kBAAkB,IAAI,MAAM;IAMtC,2FAA2F;IAC3F,SAAS,CAAC,YAAY,IAAI,IAAI;IAkB9B,8FAA8F;IAC9F,SAAS,CAAC,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;CAU1D"}
@@ -1,66 +1,84 @@
1
1
  import { BitmapText, TBitmapTextOptions } from '../../../classes/bitmap.text.class';
2
2
  import { Container } from '../../../classes/container.class';
3
3
  import { IComponent } from '../../../extends/interfaces';
4
- import { TGsapTimeline, TGsapTween, TPixiPoint, TPixiSprite, TSupportContainer } from '../../../extends/short.types';
4
+ import { TGsapEase, TSupportContainer } from '../../../extends/short.types';
5
5
  import { TPoint, TSymbolsPayoutBase } from '../../../extends/struct.types';
6
6
  import { AbstractComponent } from '../../abstract.component';
7
7
  import { TextComponent } from '../../text.component';
8
8
  import { TGridConfig } from '../slot.config';
9
9
  import * as PIXI from 'pixi.js';
10
10
  export type TCurrencyConfig = {
11
- enabled?: boolean;
11
+ enabled: boolean;
12
+ /** Текст валюты для фолбэка без truelogic */
12
13
  value?: string;
14
+ /** Задан — валюта рисуется отдельным текстом */
13
15
  style?: Partial<PIXI.TextStyle> | TBitmapTextOptions;
14
- offset?: TPoint;
15
- autoScale?: boolean;
16
+ offset: TPoint;
17
+ autoScale: boolean;
16
18
  offsetByScale?: (scale: number) => number;
17
- fixedGap?: boolean;
19
+ fixedGap: boolean;
18
20
  };
19
21
  export type TTextConfig = {
20
- style?: Partial<PIXI.TextStyle> | TBitmapTextOptions;
22
+ /** Стиль текста выплаты. Дефолта нет — задаёт игра */
23
+ style: Partial<PIXI.TextStyle> | TBitmapTextOptions;
24
+ /** По умолчанию — ширина сетки */
21
25
  maxWidth?: number;
22
- currency?: TCurrencyConfig;
26
+ currency: TCurrencyConfig;
23
27
  textOffset?: TPoint;
24
- upscale?: boolean;
28
+ upscale: boolean;
25
29
  };
26
30
  export type TAnimationConfig = {
27
- durationDisplay?: number;
31
+ durationDisplay: number;
32
+ /** По умолчанию — `durationDisplay` */
28
33
  durationDisplayFast?: number;
29
34
  initial?: gsap.TweenVars;
30
35
  animateShow?: [gsap.TweenVars, Partial<gsap.TweenVars>?];
31
36
  animateHide?: [gsap.TweenVars, Partial<gsap.TweenVars>?];
32
- counter?: {
33
- enabled?: boolean;
37
+ counter: {
38
+ enabled: boolean;
39
+ /** По умолчанию — `durationDisplay` */
34
40
  duration?: number;
35
- ease?: string;
36
- delay?: number;
41
+ ease: TGsapEase;
42
+ delay: number;
37
43
  };
38
44
  };
39
45
  export type TPositioningConfig = {
40
- offset?: TPoint;
41
- chessOffset?: number;
46
+ offset: TPoint;
47
+ chessOffset: number;
48
+ /** Задана — заменяет расчётную позицию */
42
49
  customPosition?: TPoint;
43
50
  iReel?: number | ((positions: number[]) => number);
44
51
  };
45
52
  export type TEffectsConfig = {
46
- glow?: {
47
- enabled?: boolean;
53
+ glow: {
54
+ enabled: boolean;
55
+ /** Обязательны при `enabled` */
48
56
  assetName?: string;
49
57
  textureName?: string;
50
- scaleMultiplier?: TPoint;
51
- padding?: TPoint;
52
- alpha?: number;
58
+ scaleMultiplier: TPoint;
59
+ padding: TPoint;
60
+ alpha: number;
53
61
  };
54
62
  };
63
+ /**
64
+ * Полный конфиг компонента выплат — таким его получает фабрика после наложения дефолтов
65
+ * (`payoutComponentConfig` / `slotComponentConfig.components.totalPayout`)
66
+ */
55
67
  export type TPayoutConfig = {
56
- fastModeTimeScale?: number;
68
+ enabled: boolean;
69
+ fastModeTimeScale: number;
70
+ /** Проставляет слот */
57
71
  grid?: TGridConfig;
58
- text?: TTextConfig;
59
- animation?: TAnimationConfig;
60
- positioning?: TPositioningConfig;
61
- effects?: TEffectsConfig;
62
- avoidOverlap?: boolean;
63
- overlapRadius?: number;
72
+ text: TTextConfig;
73
+ animation: TAnimationConfig;
74
+ positioning: TPositioningConfig;
75
+ effects: TEffectsConfig;
76
+ avoidOverlap: boolean;
77
+ overlapRadius: number;
78
+ };
79
+ /** Дефолты выплат: всё из `TPayoutConfig`, кроме `text.style` — стиль задаёт игра */
80
+ export type TPayoutConfigDefaults = Omit<TPayoutConfig, 'text'> & {
81
+ text: Omit<TTextConfig, 'style'>;
64
82
  };
65
83
  export type TTotalPayoutConfig = TPayoutConfig & {
66
84
  enableSkipAfter?: number;
@@ -79,7 +97,7 @@ export type TPayoutVisual = {
79
97
  container: Container;
80
98
  textComponent: BitmapText | TextComponent;
81
99
  currencyComponent?: BitmapText | TextComponent;
82
- glow: TPixiSprite | null;
100
+ glow: PIXI.Sprite | null;
83
101
  };
84
102
  /**
85
103
  * All data related to a single payout instance
@@ -87,7 +105,7 @@ export type TPayoutVisual = {
87
105
  */
88
106
  export type TPayoutData = TPayoutVisual & {
89
107
  counterValue: number;
90
- timeline: TGsapTimeline | null;
108
+ timeline: gsap.core.Timeline | null;
91
109
  options: TPayoutAnimateOptions | null;
92
110
  iReel?: number;
93
111
  /** Точка, занятая этим пейаутом в _occupiedPositions (освобождается при release) */
@@ -110,20 +128,19 @@ export type IPayoutBaseComponent = {
110
128
  export declare abstract class FWPayoutBaseComponent extends AbstractComponent implements IPayoutBaseComponent {
111
129
  protected _config: TPayoutConfig;
112
130
  protected _grid: TGridConfig;
113
- protected _timeline: TGsapTimeline;
131
+ protected _timeline: gsap.core.Timeline;
114
132
  protected _occupiedPositions: TPoint[];
115
133
  protected _payouts: Map<TSymbolsPayout, TPayoutData>;
116
134
  protected _visualsPool: Map<string, TPayoutVisual[]>;
117
- protected _defaultEaseCounter: string;
118
135
  constructor(name: string, config: TPayoutConfig, grid: TGridConfig);
119
136
  get _durationDisplay(): number;
120
137
  get _counterPosition(): number;
121
138
  get _showDuration(): number;
122
139
  get _hideStartTime(): number;
123
- protected _animateTween(container: Container, animationConfig?: [gsap.TweenVars, Partial<gsap.TweenVars>?]): TGsapTween;
124
- protected getShowTween(payoutData: TSymbolsPayout): TGsapTween | null;
125
- protected getHideTween(payoutData: TSymbolsPayout): TGsapTween | null;
126
- protected _getCounterTween(payoutData: TSymbolsPayout): TGsapTween | null;
140
+ protected _animateTween(container: Container, animationConfig?: [gsap.TweenVars, Partial<gsap.TweenVars>?]): gsap.core.Tween;
141
+ protected getShowTween(payoutData: TSymbolsPayout): gsap.core.Tween | null;
142
+ protected getHideTween(payoutData: TSymbolsPayout): gsap.core.Tween | null;
143
+ protected _getCounterTween(payoutData: TSymbolsPayout): gsap.core.Tween | null;
127
144
  animate(payoutData: TSymbolsPayout, options?: TPayoutAnimateOptions): Promise<void>;
128
145
  /**
129
146
  * Hook: called after animation completes
@@ -160,7 +177,7 @@ export declare abstract class FWPayoutBaseComponent extends AbstractComponent im
160
177
  * Updates glow sprite size based on text component dimensions
161
178
  */
162
179
  protected _updateGlowSize(payoutData: TSymbolsPayout): void;
163
- protected _createGlowSprite(): TPixiSprite | null;
180
+ protected _createGlowSprite(): PIXI.Sprite | null;
164
181
  protected _createCurrencyText(container: TSupportContainer): Promise<BitmapText | TextComponent | null>;
165
182
  /**
166
183
  * Ключ бакета пула для данного пейаута.
@@ -186,7 +203,7 @@ export declare abstract class FWPayoutBaseComponent extends AbstractComponent im
186
203
  protected _formatcashText(payoutData: TSymbolsPayout): void;
187
204
  protected _applyTextAndCurrencyScaling(payoutData: TSymbolsPayout, maxWidth?: number): void;
188
205
  protected _getAnimationVars(config: [gsap.TweenVars, Partial<gsap.TweenVars>?]): gsap.TweenVars;
189
- protected _getWinPosition(indexes: number[]): TPixiPoint;
206
+ protected _getWinPosition(indexes: number[]): PIXI.Point;
190
207
  protected _isPositionOccupied(point: TPoint, radius: number): boolean;
191
208
  protected _findFreePosition(startPoint: TPoint): TPoint;
192
209
  protected _markPositionOccupied(point: TPoint): void;
@@ -211,6 +228,6 @@ export declare abstract class FWPayoutBaseComponent extends AbstractComponent im
211
228
  protected _clear(): void;
212
229
  protected _destroyVisualsPool(): void;
213
230
  destroy(): Promise<this>;
214
- draw(): Promise<this>;
231
+ draw(): this;
215
232
  }
216
233
  //# sourceMappingURL=payout.base.component.d.ts.map