@drincs/pixi-vn 0.8.4 → 0.8.9

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 (291) hide show
  1. package/README.md +36 -27
  2. package/dist/{chunk-T4KKYU4J.js → chunk-4KV6VMUV.js} +92 -6
  3. package/dist/{chunk-M6X6FHCH.js → chunk-5A543GJ4.js} +2 -2
  4. package/dist/{chunk-FYCYVQTG.js → chunk-A4NKPUL5.js} +7 -3
  5. package/dist/{chunk-2FSBBQFF.js → chunk-BHVKSBFZ.js} +2 -2
  6. package/dist/{chunk-3FJYYZOP.js → chunk-D3ZQSJKZ.js} +292 -33
  7. package/dist/{chunk-66F5CGHV.js → chunk-DPUSONJ3.js} +1 -1
  8. package/dist/{chunk-6SZOXEOR.js → chunk-FHNQBWIZ.js} +1 -1
  9. package/dist/{chunk-MKN3AKFV.js → chunk-FIQXZ3P3.js} +2 -2
  10. package/dist/{chunk-UWXYEVOE.js → chunk-FM5SFYXO.js} +1 -1
  11. package/dist/{chunk-WJ5SUJTD.js → chunk-GEWQS6GP.js} +65 -4
  12. package/dist/{chunk-ENMHDS5Q.js → chunk-GKLIT4GX.js} +2 -2
  13. package/dist/{chunk-7IWXRHUU.js → chunk-GNFWXAOE.js} +2 -2
  14. package/dist/{chunk-D3NHF5OS.js → chunk-PIYIZHZL.js} +1 -1
  15. package/dist/{chunk-DI77NC2O.js → chunk-SZWI2CBA.js} +3 -3
  16. package/dist/{chunk-CUYGFKNS.js → chunk-TNQKYUOG.js} +2 -2
  17. package/dist/classes/CharacterBaseModel.cjs +61 -27
  18. package/dist/classes/CharacterBaseModel.js +5 -5
  19. package/dist/classes/CharacterStoredClass.cjs +61 -27
  20. package/dist/classes/CharacterStoredClass.js +5 -5
  21. package/dist/classes/ChoiceMenuOption.cjs +60 -26
  22. package/dist/classes/ChoiceMenuOption.d.cts +1 -1
  23. package/dist/classes/ChoiceMenuOption.d.ts +1 -1
  24. package/dist/classes/ChoiceMenuOption.js +5 -5
  25. package/dist/classes/Sound.cjs +60 -26
  26. package/dist/classes/Sound.js +5 -5
  27. package/dist/classes/StoredClassModel.cjs +61 -27
  28. package/dist/classes/StoredClassModel.js +5 -5
  29. package/dist/classes/canvas/CanvasAVideo.cjs +60 -26
  30. package/dist/classes/canvas/CanvasAVideo.d.cts +5 -8
  31. package/dist/classes/canvas/CanvasAVideo.d.ts +5 -8
  32. package/dist/classes/canvas/CanvasAVideo.js +5 -5
  33. package/dist/classes/canvas/CanvasBase.d.cts +4 -2
  34. package/dist/classes/canvas/CanvasBase.d.ts +4 -2
  35. package/dist/classes/canvas/CanvasContainer.cjs +60 -26
  36. package/dist/classes/canvas/CanvasContainer.d.cts +7 -6
  37. package/dist/classes/canvas/CanvasContainer.d.ts +7 -6
  38. package/dist/classes/canvas/CanvasContainer.js +5 -5
  39. package/dist/classes/canvas/CanvasImage.cjs +60 -26
  40. package/dist/classes/canvas/CanvasImage.d.cts +6 -8
  41. package/dist/classes/canvas/CanvasImage.d.ts +6 -8
  42. package/dist/classes/canvas/CanvasImage.js +5 -5
  43. package/dist/classes/canvas/CanvasSprite.cjs +60 -26
  44. package/dist/classes/canvas/CanvasSprite.d.cts +7 -8
  45. package/dist/classes/canvas/CanvasSprite.d.ts +7 -8
  46. package/dist/classes/canvas/CanvasSprite.js +5 -5
  47. package/dist/classes/canvas/CanvasText.cjs +60 -26
  48. package/dist/classes/canvas/CanvasText.d.cts +7 -7
  49. package/dist/classes/canvas/CanvasText.d.ts +7 -7
  50. package/dist/classes/canvas/CanvasText.js +5 -5
  51. package/dist/classes/index.cjs +61 -27
  52. package/dist/classes/index.d.cts +3 -8
  53. package/dist/classes/index.d.ts +3 -8
  54. package/dist/classes/index.js +5 -5
  55. package/dist/classes/ticker/FadeAlphaTicker.cjs +60 -26
  56. package/dist/classes/ticker/FadeAlphaTicker.d.cts +3 -2
  57. package/dist/classes/ticker/FadeAlphaTicker.d.ts +3 -2
  58. package/dist/classes/ticker/FadeAlphaTicker.js +5 -5
  59. package/dist/classes/ticker/MoveTicker.cjs +60 -26
  60. package/dist/classes/ticker/MoveTicker.d.cts +3 -2
  61. package/dist/classes/ticker/MoveTicker.d.ts +3 -2
  62. package/dist/classes/ticker/MoveTicker.js +5 -5
  63. package/dist/classes/ticker/RotateTicker.cjs +60 -26
  64. package/dist/classes/ticker/RotateTicker.d.cts +3 -2
  65. package/dist/classes/ticker/RotateTicker.d.ts +3 -2
  66. package/dist/classes/ticker/RotateTicker.js +5 -5
  67. package/dist/classes/ticker/TickerBase.cjs +60 -26
  68. package/dist/classes/ticker/TickerBase.d.cts +70 -4
  69. package/dist/classes/ticker/TickerBase.d.ts +70 -4
  70. package/dist/classes/ticker/TickerBase.js +5 -5
  71. package/dist/classes/ticker/ZoomTicker.cjs +60 -26
  72. package/dist/classes/ticker/ZoomTicker.d.cts +4 -3
  73. package/dist/classes/ticker/ZoomTicker.d.ts +4 -3
  74. package/dist/classes/ticker/ZoomTicker.js +5 -5
  75. package/dist/classes/ticker/index.cjs +60 -26
  76. package/dist/classes/ticker/index.d.cts +3 -2
  77. package/dist/classes/ticker/index.d.ts +3 -2
  78. package/dist/classes/ticker/index.js +5 -5
  79. package/dist/constants.cjs +11 -6
  80. package/dist/constants.d.cts +7 -2
  81. package/dist/constants.d.ts +7 -2
  82. package/dist/constants.js +5 -3
  83. package/dist/decorators/canvas-element-decorator.cjs +60 -26
  84. package/dist/decorators/canvas-element-decorator.d.cts +3 -1
  85. package/dist/decorators/canvas-element-decorator.d.ts +3 -1
  86. package/dist/decorators/canvas-element-decorator.js +5 -5
  87. package/dist/decorators/event-decorator.d.cts +2 -1
  88. package/dist/decorators/event-decorator.d.ts +2 -1
  89. package/dist/decorators/index.cjs +60 -26
  90. package/dist/decorators/index.d.cts +6 -4
  91. package/dist/decorators/index.d.ts +6 -4
  92. package/dist/decorators/index.js +5 -5
  93. package/dist/decorators/label-decorator.cjs +60 -26
  94. package/dist/decorators/label-decorator.js +5 -5
  95. package/dist/decorators/ticker-decorator.d.cts +4 -3
  96. package/dist/decorators/ticker-decorator.d.ts +4 -3
  97. package/dist/functions/canvas/canvas-effect.cjs +61821 -0
  98. package/dist/functions/canvas/canvas-effect.d.cts +15 -0
  99. package/dist/functions/canvas/canvas-effect.d.ts +15 -0
  100. package/dist/functions/canvas/canvas-effect.js +40 -0
  101. package/dist/functions/canvas/canvas-memory-utility.cjs +60 -26
  102. package/dist/functions/canvas/canvas-memory-utility.d.cts +5 -3
  103. package/dist/functions/canvas/canvas-memory-utility.d.ts +5 -3
  104. package/dist/functions/canvas/canvas-memory-utility.js +5 -5
  105. package/dist/functions/canvas/canvas-transition.cjs +586 -408
  106. package/dist/functions/canvas/canvas-transition.d.cts +43 -20
  107. package/dist/functions/canvas/canvas-transition.d.ts +43 -20
  108. package/dist/functions/canvas/canvas-transition.js +9 -5
  109. package/dist/functions/canvas/canvas-utility.cjs +60 -26
  110. package/dist/functions/canvas/canvas-utility.d.cts +2 -2
  111. package/dist/functions/canvas/canvas-utility.d.ts +2 -2
  112. package/dist/functions/canvas/canvas-utility.js +5 -5
  113. package/dist/functions/canvas/image-utility.cjs +60 -26
  114. package/dist/functions/canvas/image-utility.d.cts +2 -4
  115. package/dist/functions/canvas/image-utility.d.ts +2 -4
  116. package/dist/functions/canvas/image-utility.js +5 -5
  117. package/dist/functions/canvas/video-utility.cjs +60 -26
  118. package/dist/functions/canvas/video-utility.d.cts +3 -6
  119. package/dist/functions/canvas/video-utility.d.ts +3 -6
  120. package/dist/functions/canvas/video-utility.js +5 -5
  121. package/dist/functions/dialogue-utility.cjs +60 -26
  122. package/dist/functions/dialogue-utility.d.cts +1 -1
  123. package/dist/functions/dialogue-utility.d.ts +1 -1
  124. package/dist/functions/dialogue-utility.js +5 -5
  125. package/dist/functions/diff-utility.cjs +1 -1
  126. package/dist/functions/diff-utility.js +2 -2
  127. package/dist/functions/export-utility.cjs +1 -1
  128. package/dist/functions/export-utility.js +1 -1
  129. package/dist/functions/flags-utility.cjs +60 -26
  130. package/dist/functions/flags-utility.js +5 -5
  131. package/dist/functions/game-utility.cjs +60 -26
  132. package/dist/functions/game-utility.js +5 -5
  133. package/dist/functions/index.cjs +449 -183
  134. package/dist/functions/index.d.cts +17 -18
  135. package/dist/functions/index.d.ts +17 -18
  136. package/dist/functions/index.js +11 -5
  137. package/dist/functions/saves-utility.cjs +64 -28
  138. package/dist/functions/saves-utility.d.cts +13 -11
  139. package/dist/functions/saves-utility.d.ts +13 -11
  140. package/dist/functions/saves-utility.js +5 -5
  141. package/dist/functions/ticker-utility.d.cts +1 -1
  142. package/dist/functions/ticker-utility.d.ts +1 -1
  143. package/dist/index.cjs +363 -40
  144. package/dist/index.d.cts +16 -17
  145. package/dist/index.d.ts +16 -17
  146. package/dist/index.js +24 -18
  147. package/dist/interface/{IOpenedLabel.cjs → HistoryStep.cjs} +3 -3
  148. package/dist/interface/{IHistoryStep.d.cts → HistoryStep.d.cts} +12 -10
  149. package/dist/interface/{IHistoryStep.d.ts → HistoryStep.d.ts} +12 -10
  150. package/dist/interface/{IHistoryStep.cjs → OpenedLabel.cjs} +3 -3
  151. package/dist/interface/{IOpenedLabel.d.cts → OpenedLabel.d.cts} +2 -2
  152. package/dist/interface/{IOpenedLabel.d.ts → OpenedLabel.d.ts} +2 -2
  153. package/dist/interface/{ISaveData.cjs → SaveData.cjs} +3 -3
  154. package/dist/interface/{ISaveData.d.cts → SaveData.d.cts} +11 -9
  155. package/dist/interface/{ISaveData.d.ts → SaveData.d.ts} +11 -9
  156. package/dist/interface/{ITicker.cjs → Ticker.cjs} +3 -3
  157. package/dist/interface/Ticker.d.cts +24 -0
  158. package/dist/interface/Ticker.d.ts +24 -0
  159. package/dist/interface/TickerArgs.cjs +18 -0
  160. package/dist/interface/TickerArgs.d.cts +5 -0
  161. package/dist/interface/TickerArgs.d.ts +5 -0
  162. package/dist/interface/TickerHistory.d.cts +3 -4
  163. package/dist/interface/TickerHistory.d.ts +3 -4
  164. package/dist/interface/TickerProgrationType.d.cts +7 -6
  165. package/dist/interface/TickerProgrationType.d.ts +7 -6
  166. package/dist/interface/TickersSteps.cjs +18 -0
  167. package/dist/interface/{ITickersSteps.d.cts → TickersSteps.d.cts} +5 -7
  168. package/dist/interface/{ITickersSteps.d.ts → TickersSteps.d.ts} +5 -7
  169. package/dist/interface/canvas/TextureMemory.cjs +18 -0
  170. package/dist/interface/canvas/TextureMemory.d.cts +8 -0
  171. package/dist/interface/canvas/TextureMemory.d.ts +8 -0
  172. package/dist/interface/canvas/canvas-memory.cjs +18 -0
  173. package/dist/interface/canvas/canvas-memory.d.cts +51 -0
  174. package/dist/interface/canvas/canvas-memory.d.ts +51 -0
  175. package/dist/interface/canvas/effect-props.cjs +18 -0
  176. package/dist/interface/canvas/effect-props.d.cts +36 -0
  177. package/dist/interface/canvas/effect-props.d.ts +36 -0
  178. package/dist/interface/canvas/transition-props.cjs +18 -0
  179. package/dist/interface/canvas/transition-props.d.cts +38 -0
  180. package/dist/interface/canvas/transition-props.d.ts +38 -0
  181. package/dist/interface/export/ExportedCanvas.d.cts +8 -6
  182. package/dist/interface/export/ExportedCanvas.d.ts +8 -6
  183. package/dist/interface/export/ExportedStep.d.cts +12 -10
  184. package/dist/interface/export/ExportedStep.d.ts +12 -10
  185. package/dist/interface/index.d.cts +13 -16
  186. package/dist/interface/index.d.ts +13 -16
  187. package/dist/labels/BaseCanvasElementTestLabel.cjs +61 -27
  188. package/dist/labels/BaseCanvasElementTestLabel.js +7 -7
  189. package/dist/labels/CanvasEventsTestLabel.cjs +61 -27
  190. package/dist/labels/CanvasEventsTestLabel.d.cts +2 -3
  191. package/dist/labels/CanvasEventsTestLabel.d.ts +2 -3
  192. package/dist/labels/CanvasEventsTestLabel.js +7 -7
  193. package/dist/labels/CustomTickerCanvasElementTestLabel.cjs +1692 -28
  194. package/dist/labels/CustomTickerCanvasElementTestLabel.d.cts +3 -2
  195. package/dist/labels/CustomTickerCanvasElementTestLabel.d.ts +3 -2
  196. package/dist/labels/CustomTickerCanvasElementTestLabel.js +17 -7
  197. package/dist/labels/ImagesAnimationsTestLabel.cjs +349 -36
  198. package/dist/labels/ImagesAnimationsTestLabel.js +7 -7
  199. package/dist/labels/InputTestLabel.cjs +61 -27
  200. package/dist/labels/InputTestLabel.js +7 -7
  201. package/dist/labels/MarkdownTest.cjs +61 -27
  202. package/dist/labels/MarkdownTest.js +7 -7
  203. package/dist/labels/SoundTestLabel.cjs +61 -27
  204. package/dist/labels/SoundTestLabel.js +7 -7
  205. package/dist/labels/StartLabel.cjs +359 -39
  206. package/dist/labels/StartLabel.js +17 -16
  207. package/dist/labels/StepLabelTest.cjs +61 -27
  208. package/dist/labels/StepLabelTest.js +7 -7
  209. package/dist/labels/TestConstant.cjs +61 -27
  210. package/dist/labels/TestConstant.js +6 -6
  211. package/dist/labels/VideoTestLabel.cjs +66 -29
  212. package/dist/labels/VideoTestLabel.js +7 -7
  213. package/dist/labels/index.cjs +359 -39
  214. package/dist/labels/index.js +17 -17
  215. package/dist/managers/CanvasManager.cjs +60 -26
  216. package/dist/managers/CanvasManager.d.cts +21 -11
  217. package/dist/managers/CanvasManager.d.ts +21 -11
  218. package/dist/managers/CanvasManager.js +5 -5
  219. package/dist/managers/CanvasManagerStatic.d.cts +7 -6
  220. package/dist/managers/CanvasManagerStatic.d.ts +7 -6
  221. package/dist/managers/NarrationManager.cjs +60 -26
  222. package/dist/managers/NarrationManager.d.cts +10 -8
  223. package/dist/managers/NarrationManager.d.ts +10 -8
  224. package/dist/managers/NarrationManager.js +5 -5
  225. package/dist/managers/NarrationManagerStatic.cjs +60 -26
  226. package/dist/managers/NarrationManagerStatic.d.cts +16 -14
  227. package/dist/managers/NarrationManagerStatic.d.ts +16 -14
  228. package/dist/managers/NarrationManagerStatic.js +5 -5
  229. package/dist/managers/SoundManager.cjs +60 -26
  230. package/dist/managers/SoundManager.js +5 -5
  231. package/dist/managers/StorageManager.cjs +60 -26
  232. package/dist/managers/StorageManager.js +5 -5
  233. package/dist/managers/StorageManagerStatic.cjs +1 -1
  234. package/dist/managers/StorageManagerStatic.js +2 -2
  235. package/dist/managers/index.cjs +60 -26
  236. package/dist/managers/index.d.cts +12 -8
  237. package/dist/managers/index.d.ts +12 -8
  238. package/dist/managers/index.js +5 -5
  239. package/dist/types/ChoiceMenuOptionsType.d.cts +1 -1
  240. package/dist/types/ChoiceMenuOptionsType.d.ts +1 -1
  241. package/dist/types/ticker/MoveTickerProps.d.cts +8 -2
  242. package/dist/types/ticker/MoveTickerProps.d.ts +8 -2
  243. package/dist/types/ticker/RotateTickerProps.d.cts +1 -1
  244. package/dist/types/ticker/RotateTickerProps.d.ts +1 -1
  245. package/dist/types/ticker/ZoomTickerProps.d.cts +1 -1
  246. package/dist/types/ticker/ZoomTickerProps.d.ts +1 -1
  247. package/package.json +4 -4
  248. package/dist/TickerBase-DbIg7gDS.d.ts +0 -94
  249. package/dist/TickerBase-eU4Hvvy0.d.cts +0 -94
  250. package/dist/chunk-II324FA5.js +0 -101
  251. package/dist/interface/ITicker.d.cts +0 -4
  252. package/dist/interface/ITicker.d.ts +0 -4
  253. package/dist/interface/ITickersSteps.cjs +0 -18
  254. package/dist/interface/canvas/ICanvasBaseMemory.cjs +0 -18
  255. package/dist/interface/canvas/ICanvasBaseMemory.d.cts +0 -8
  256. package/dist/interface/canvas/ICanvasBaseMemory.d.ts +0 -8
  257. package/dist/interface/canvas/ICanvasContainerMemory.cjs +0 -18
  258. package/dist/interface/canvas/ICanvasContainerMemory.d.cts +0 -11
  259. package/dist/interface/canvas/ICanvasContainerMemory.d.ts +0 -11
  260. package/dist/interface/canvas/ICanvasImageMemory.cjs +0 -18
  261. package/dist/interface/canvas/ICanvasImageMemory.d.cts +0 -14
  262. package/dist/interface/canvas/ICanvasImageMemory.d.ts +0 -14
  263. package/dist/interface/canvas/ICanvasSpriteMemory.cjs +0 -18
  264. package/dist/interface/canvas/ICanvasSpriteMemory.d.cts +0 -18
  265. package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +0 -18
  266. package/dist/interface/canvas/ICanvasTextTextMemory.cjs +0 -18
  267. package/dist/interface/canvas/ICanvasTextTextMemory.d.cts +0 -14
  268. package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +0 -14
  269. package/dist/interface/canvas/ICanvasTextTextMemory.js +0 -0
  270. package/dist/interface/canvas/ICanvasVideoMemory.cjs +0 -18
  271. package/dist/interface/canvas/ICanvasVideoMemory.d.cts +0 -17
  272. package/dist/interface/canvas/ICanvasVideoMemory.d.ts +0 -17
  273. package/dist/interface/canvas/ICanvasVideoMemory.js +0 -0
  274. package/dist/interface/canvas/ITextureMemory.cjs +0 -18
  275. package/dist/interface/canvas/ITextureMemory.d.cts +0 -8
  276. package/dist/interface/canvas/ITextureMemory.d.ts +0 -8
  277. package/dist/interface/canvas/ITextureMemory.js +0 -0
  278. package/dist/interface/canvas/ITransitionProps.cjs +0 -18
  279. package/dist/interface/canvas/ITransitionProps.d.cts +0 -22
  280. package/dist/interface/canvas/ITransitionProps.d.ts +0 -22
  281. package/dist/interface/canvas/ITransitionProps.js +0 -0
  282. /package/dist/{chunk-JQ2KK52M.js → interface/HistoryStep.js} +0 -0
  283. /package/dist/interface/{IHistoryStep.js → OpenedLabel.js} +0 -0
  284. /package/dist/interface/{IOpenedLabel.js → SaveData.js} +0 -0
  285. /package/dist/interface/{ISaveData.js → Ticker.js} +0 -0
  286. /package/dist/interface/{ITicker.js → TickerArgs.js} +0 -0
  287. /package/dist/interface/{ITickersSteps.js → TickersSteps.js} +0 -0
  288. /package/dist/interface/canvas/{ICanvasBaseMemory.js → TextureMemory.js} +0 -0
  289. /package/dist/interface/canvas/{ICanvasContainerMemory.js → canvas-memory.js} +0 -0
  290. /package/dist/interface/canvas/{ICanvasImageMemory.js → effect-props.js} +0 -0
  291. /package/dist/interface/canvas/{ICanvasSpriteMemory.js → transition-props.js} +0 -0
@@ -1607,14 +1607,14 @@ var init_uid = __esm({
1607
1607
  });
1608
1608
 
1609
1609
  // node_modules/pixi.js/lib/utils/logging/deprecation.mjs
1610
- function deprecation(version, message, ignoreDepth = 3) {
1610
+ function deprecation(version2, message, ignoreDepth = 3) {
1611
1611
  if (warnings[message]) {
1612
1612
  return;
1613
1613
  }
1614
1614
  let stack = new Error().stack;
1615
1615
  if (typeof stack === "undefined") {
1616
1616
  console.warn("PixiJS Deprecation Warning: ", `${message}
1617
- Deprecated since v${version}`);
1617
+ Deprecated since v${version2}`);
1618
1618
  } else {
1619
1619
  stack = stack.split("\n").splice(ignoreDepth).join("\n");
1620
1620
  if (console.groupCollapsed) {
@@ -1623,13 +1623,13 @@ Deprecated since v${version}`);
1623
1623
  "color:#614108;background:#fffbe6",
1624
1624
  "font-weight:normal;color:#614108;background:#fffbe6",
1625
1625
  `${message}
1626
- Deprecated since v${version}`
1626
+ Deprecated since v${version2}`
1627
1627
  );
1628
1628
  console.warn(stack);
1629
1629
  console.groupEnd();
1630
1630
  } else {
1631
1631
  console.warn("PixiJS Deprecation Warning: ", `${message}
1632
- Deprecated since v${version}`);
1632
+ Deprecated since v${version2}`);
1633
1633
  console.warn(stack);
1634
1634
  }
1635
1635
  }
@@ -42998,7 +42998,7 @@ var require_dom = __commonJS({
42998
42998
  * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
42999
42999
  * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
43000
43000
  */
43001
- hasFeature: function(feature, version) {
43001
+ hasFeature: function(feature, version2) {
43002
43002
  return true;
43003
43003
  },
43004
43004
  /**
@@ -43119,8 +43119,8 @@ var require_dom = __commonJS({
43119
43119
  }
43120
43120
  },
43121
43121
  // Introduced in DOM Level 2:
43122
- isSupported: function(feature, version) {
43123
- return this.ownerDocument.implementation.hasFeature(feature, version);
43122
+ isSupported: function(feature, version2) {
43123
+ return this.ownerDocument.implementation.hasFeature(feature, version2);
43124
43124
  },
43125
43125
  // Introduced in DOM Level 2:
43126
43126
  hasAttributes: function() {
@@ -57402,6 +57402,7 @@ var filters = {
57402
57402
  StreamFilter: filters_exports.StreamFilter,
57403
57403
  TelephoneFilter: filters_exports.TelephoneFilter
57404
57404
  };
57405
+ var CANVAS_APP_STAGE_ALIAS = "_stage_";
57405
57406
 
57406
57407
  // src/managers/CanvasManager.ts
57407
57408
  init_lib();
@@ -58138,7 +58139,7 @@ function createExportableElement(element) {
58138
58139
  let elementString = JSON.stringify(element);
58139
58140
  return JSON.parse(elementString);
58140
58141
  } catch (e2) {
58141
- console.error("[Pixi\u2019VN] Error creating exportable element", e2);
58142
+ console.error("[Pixi\u2019VN] Error creating exportable element", element, e2);
58142
58143
  throw new Error("[Pixi\u2019VN] Error creating exportable element");
58143
58144
  }
58144
58145
  }
@@ -58571,6 +58572,10 @@ var CanvasManager = class {
58571
58572
  * ```
58572
58573
  */
58573
58574
  add(alias, canvasElement, options = {}) {
58575
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58576
+ console.error(`[Pixi\u2019VN] The alias ${CANVAS_APP_STAGE_ALIAS} is reserved`);
58577
+ return;
58578
+ }
58574
58579
  let ignoreOldStyle = options?.ignoreOldStyle;
58575
58580
  let oldCanvasElement = this.find(alias);
58576
58581
  if (oldCanvasElement) {
@@ -58601,6 +58606,10 @@ var CanvasManager = class {
58601
58606
  * ```
58602
58607
  */
58603
58608
  remove(alias, options = {}) {
58609
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58610
+ console.error(`[Pixi\u2019VN] The alias ${CANVAS_APP_STAGE_ALIAS} is reserved`);
58611
+ return;
58612
+ }
58604
58613
  let ignoreTickers = options.ignoreTickers;
58605
58614
  if (typeof alias === "string") {
58606
58615
  alias = [alias];
@@ -58629,6 +58638,9 @@ var CanvasManager = class {
58629
58638
  * ```
58630
58639
  */
58631
58640
  find(alias) {
58641
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58642
+ return this.app.stage;
58643
+ }
58632
58644
  return CanvasManagerStatic._children[alias];
58633
58645
  }
58634
58646
  /**
@@ -58655,16 +58667,17 @@ var CanvasManager = class {
58655
58667
  this.removeAllTickers();
58656
58668
  }
58657
58669
  /**
58658
- * Edit the alias of a canvas element.
58670
+ * Edit the alias of a canvas element. The tickers that are connected to the canvas element will be transferred.
58659
58671
  * @param oldAlias The old alias of the canvas element.
58660
58672
  * @param newAlias The new alias of the canvas element.
58673
+ * @param options The options of the canvas element.
58661
58674
  */
58662
- editAlias(oldAlias, newAlias) {
58675
+ editAlias(oldAlias, newAlias, options = {}) {
58663
58676
  if (CanvasManagerStatic._children[oldAlias]) {
58664
58677
  CanvasManagerStatic._children[newAlias] = CanvasManagerStatic._children[oldAlias];
58665
58678
  delete CanvasManagerStatic._children[oldAlias];
58666
58679
  }
58667
- this.transferTickers(oldAlias, newAlias, "move");
58680
+ !options.ignoreTickers && this.transferTickers(oldAlias, newAlias, "move");
58668
58681
  }
58669
58682
  /** Edit Tickers Methods */
58670
58683
  /**
@@ -58739,12 +58752,16 @@ var CanvasManager = class {
58739
58752
  pushTicker(id3, tickerData, ticker) {
58740
58753
  CanvasManagerStatic._currentTickers[id3] = tickerData;
58741
58754
  tickerData.fn = (t2) => {
58742
- if (tickerData.createdByTicketSteps && this.isTickerPaused(tickerData.createdByTicketSteps.canvasElementAlias, tickerData.createdByTicketSteps.id)) {
58743
- return;
58744
- }
58745
58755
  let data = CanvasManagerStatic._currentTickers[id3];
58746
58756
  if (data) {
58747
- let canvasElementAliases = data.canvasElementAliases.filter((alias) => !this.isTickerPaused(alias, id3));
58757
+ let canvasElementAliases = data.canvasElementAliases;
58758
+ if (tickerData.createdByTicketSteps) {
58759
+ if (this.isTickerPaused(tickerData.createdByTicketSteps.canvasElementAlias, tickerData.createdByTicketSteps.id)) {
58760
+ return;
58761
+ }
58762
+ } else {
58763
+ canvasElementAliases = canvasElementAliases.filter((alias) => !this.isTickerPaused(alias, id3));
58764
+ }
58748
58765
  ticker?.fn(t2, data.args, canvasElementAliases, id3);
58749
58766
  }
58750
58767
  };
@@ -59091,15 +59108,19 @@ var CanvasManager = class {
59091
59108
  });
59092
59109
  CanvasManagerStatic._tickersMustBeCompletedBeforeNextStep.stepAlias.forEach(({ alias, id: id3 }) => {
59093
59110
  let ticker = CanvasManagerStatic._currentTickersSteps[alias];
59094
- if (ticker && ticker[id3] && !ticker[id3].steps.includes(Repeat)) {
59095
- ticker[id3].steps.forEach((step) => {
59096
- if (typeof step === "object" && "ticker" in step) {
59097
- let ticker2 = geTickerInstanceById(step.ticker, step.args, step.duration, step.priority);
59098
- if (ticker2) {
59099
- ticker2.onEndOfTicker([alias], id3, step.args);
59111
+ if (ticker && ticker[id3]) {
59112
+ if (ticker[id3].steps.includes(Repeat)) {
59113
+ console.error(`[Pixi\u2019VN] The ticker alias: ${alias} id: ${id3} contains a RepeatType, so it can't be forced to complete`, ticker[id3]);
59114
+ } else {
59115
+ ticker[id3].steps.forEach((step) => {
59116
+ if (typeof step === "object" && "ticker" in step) {
59117
+ let ticker2 = geTickerInstanceById(step.ticker, step.args, step.duration, step.priority);
59118
+ if (ticker2) {
59119
+ ticker2.onEndOfTicker([alias], id3, step.args);
59120
+ }
59100
59121
  }
59101
- }
59102
- });
59122
+ });
59123
+ }
59103
59124
  }
59104
59125
  });
59105
59126
  CanvasManagerStatic._tickersMustBeCompletedBeforeNextStep = { tikersIds: [], stepAlias: [] };
@@ -59140,6 +59161,7 @@ var CanvasManager = class {
59140
59161
  tickers: createExportableElement(CanvasManagerStatic.currentTickersWithoutCreatedBySteps),
59141
59162
  tickersSteps: createExportableElement(CanvasManagerStatic._currentTickersSteps),
59142
59163
  elements: createExportableElement(currentElements),
59164
+ stage: createExportableElement(getMemoryContainer(this.app.stage)),
59143
59165
  elementAliasesOrder: createExportableElement(CanvasManagerStatic.childrenAliasesOrder),
59144
59166
  tickersOnPause: createExportableElement(CanvasManagerStatic._tickersOnPause)
59145
59167
  };
@@ -59173,6 +59195,11 @@ var CanvasManager = class {
59173
59195
  console.error("[Pixi\u2019VN] The data does not have the properties elementAliasesOrder and elements");
59174
59196
  return;
59175
59197
  }
59198
+ if (data.hasOwnProperty("stage") && data.hasOwnProperty("stage")) {
59199
+ setMemoryContainer(this.app.stage, data["stage"]);
59200
+ } else {
59201
+ console.error("[Pixi\u2019VN] The data does not have the properties stage");
59202
+ }
59176
59203
  if (data.hasOwnProperty("tickers")) {
59177
59204
  let tickers = data["tickers"];
59178
59205
  Object.entries(tickers).forEach(([oldId, t2]) => {
@@ -59334,8 +59361,8 @@ function getExponentialProgression(number, progression, valueConvert) {
59334
59361
  // src/classes/ticker/MoveTicker.ts
59335
59362
  var MoveTicker = class extends TickerBase {
59336
59363
  fn(ticker, args, aliases, tickerId) {
59337
- let xSpeed = 1;
59338
- let ySpeed = 1;
59364
+ let xSpeed = 10;
59365
+ let ySpeed = 10;
59339
59366
  if (args.speed) {
59340
59367
  if (typeof args.speed === "number") {
59341
59368
  xSpeed = this.speedConvert(args.speed);
@@ -59399,6 +59426,10 @@ var MoveTicker = class extends TickerBase {
59399
59426
  let destination = args.destination;
59400
59427
  element.x = destination.x;
59401
59428
  element.y = destination.y;
59429
+ if (args.isPushInOut && element.children.length > 0) {
59430
+ let elementChild = element.children[0];
59431
+ canvas.add(alias2, elementChild, { ignoreOldStyle: true });
59432
+ }
59402
59433
  }
59403
59434
  });
59404
59435
  super.onEndOfTicker(alias, tickerId, args);
@@ -59831,6 +59862,7 @@ var NarrationManagerStatic = class _NarrationManagerStatic {
59831
59862
  canvas: {
59832
59863
  elementAliasesOrder: [],
59833
59864
  elements: {},
59865
+ stage: {},
59834
59866
  tickers: {},
59835
59867
  tickersSteps: {},
59836
59868
  tickersOnPause: {}
@@ -60410,8 +60442,10 @@ var NarrationManager = class {
60410
60442
  console.warn("[Pixi\u2019VN] stepSha not found");
60411
60443
  }
60412
60444
  try {
60445
+ if (NarrationManagerStatic.stepsRunning === 0) {
60446
+ canvas.forceCompletionOfReportedTickers();
60447
+ }
60413
60448
  NarrationManagerStatic.stepsRunning++;
60414
- canvas.forceCompletionOfReportedTickers();
60415
60449
  let result = await step(props);
60416
60450
  if (this.choiceMenuOptions?.length === 1 && this.choiceMenuOptions[0].autoSelect) {
60417
60451
  let choice = this.choiceMenuOptions[0];
@@ -1,11 +1,8 @@
1
1
  import { Texture, TextureSourceLike } from 'pixi.js';
2
+ import { CanvasVideoMemory } from '../../interface/canvas/canvas-memory.cjs';
2
3
  import CanvasImage from './CanvasImage.cjs';
3
- import ICanvasVideoMemory from '../../interface/canvas/ICanvasVideoMemory.cjs';
4
- import '../../interface/canvas/ICanvasImageMemory.cjs';
5
- import '../../interface/canvas/ICanvasSpriteMemory.cjs';
6
- import '../../interface/canvas/ICanvasBaseMemory.cjs';
4
+ import '../../interface/canvas/TextureMemory.cjs';
7
5
  import '../../types/EventIdType.cjs';
8
- import '../../interface/canvas/ITextureMemory.cjs';
9
6
  import './CanvasSprite.cjs';
10
7
  import '../../types/CanvasEventNamesType.cjs';
11
8
  import './CanvasBase.cjs';
@@ -33,10 +30,10 @@ declare const CANVAS_VIDEO_ID = "Video";
33
30
  * await film.load()
34
31
  * ```
35
32
  */
36
- declare class CanvasVideo extends CanvasImage<ICanvasVideoMemory> {
33
+ declare class CanvasVideo extends CanvasImage<CanvasVideoMemory> {
37
34
  pixivnId: string;
38
- get memory(): ICanvasVideoMemory;
39
- set memory(memory: ICanvasVideoMemory);
35
+ get memory(): CanvasVideoMemory;
36
+ set memory(memory: CanvasVideoMemory);
40
37
  set videoLink(value: string);
41
38
  get videoLink(): string;
42
39
  static from(source: Texture | TextureSourceLike, skipCache?: boolean): CanvasVideo;
@@ -1,11 +1,8 @@
1
1
  import { Texture, TextureSourceLike } from 'pixi.js';
2
+ import { CanvasVideoMemory } from '../../interface/canvas/canvas-memory.js';
2
3
  import CanvasImage from './CanvasImage.js';
3
- import ICanvasVideoMemory from '../../interface/canvas/ICanvasVideoMemory.js';
4
- import '../../interface/canvas/ICanvasImageMemory.js';
5
- import '../../interface/canvas/ICanvasSpriteMemory.js';
6
- import '../../interface/canvas/ICanvasBaseMemory.js';
4
+ import '../../interface/canvas/TextureMemory.js';
7
5
  import '../../types/EventIdType.js';
8
- import '../../interface/canvas/ITextureMemory.js';
9
6
  import './CanvasSprite.js';
10
7
  import '../../types/CanvasEventNamesType.js';
11
8
  import './CanvasBase.js';
@@ -33,10 +30,10 @@ declare const CANVAS_VIDEO_ID = "Video";
33
30
  * await film.load()
34
31
  * ```
35
32
  */
36
- declare class CanvasVideo extends CanvasImage<ICanvasVideoMemory> {
33
+ declare class CanvasVideo extends CanvasImage<CanvasVideoMemory> {
37
34
  pixivnId: string;
38
- get memory(): ICanvasVideoMemory;
39
- set memory(memory: ICanvasVideoMemory);
35
+ get memory(): CanvasVideoMemory;
36
+ set memory(memory: CanvasVideoMemory);
40
37
  set videoLink(value: string);
41
38
  get videoLink(): string;
42
39
  static from(source: Texture | TextureSourceLike, skipCache?: boolean): CanvasVideo;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CANVAS_VIDEO_ID,
3
3
  CanvasVideo
4
- } from "../../chunk-3FJYYZOP.js";
4
+ } from "../../chunk-D3ZQSJKZ.js";
5
5
  import "../../chunk-OMPJ74CO.js";
6
6
  import "../../chunk-2BUPSB7O.js";
7
7
  import "../../chunk-CZKJI26F.js";
8
8
  import "../../chunk-I6TNJEE3.js";
9
- import "../../chunk-66F5CGHV.js";
9
+ import "../../chunk-DPUSONJ3.js";
10
10
  import "../../chunk-P44J5BE2.js";
11
11
  import "../../chunk-CAUF2LKZ.js";
12
12
  import "../../chunk-VXCA724Z.js";
@@ -14,12 +14,12 @@ import "../../chunk-3DOISWD6.js";
14
14
  import "../../chunk-I4UGLC3A.js";
15
15
  import "../../chunk-ZZLQ3ILH.js";
16
16
  import "../../chunk-JTQGULTR.js";
17
- import "../../chunk-6SZOXEOR.js";
17
+ import "../../chunk-FHNQBWIZ.js";
18
18
  import "../../chunk-ZBUW3MBH.js";
19
- import "../../chunk-D3NHF5OS.js";
19
+ import "../../chunk-PIYIZHZL.js";
20
20
  import "../../chunk-WX267JP2.js";
21
21
  import "../../chunk-LEMOIFSV.js";
22
- import "../../chunk-FYCYVQTG.js";
22
+ import "../../chunk-A4NKPUL5.js";
23
23
  import "../../chunk-RATGPKD3.js";
24
24
  import "../../chunk-2PXN34ON.js";
25
25
  import "../../chunk-TAJJZPEH.js";
@@ -1,5 +1,7 @@
1
1
  import { Container } from 'pixi.js';
2
- import ICanvasBaseMemory from '../../interface/canvas/ICanvasBaseMemory.cjs';
2
+ import { CanvasBaseMemory } from '../../interface/canvas/canvas-memory.cjs';
3
+ import '../../interface/canvas/TextureMemory.cjs';
4
+ import '../../types/EventIdType.cjs';
3
5
 
4
6
  /**
5
7
  * This class is used to create a canvas element to add into a Pixi Application.
@@ -23,7 +25,7 @@ import ICanvasBaseMemory from '../../interface/canvas/ICanvasBaseMemory.cjs';
23
25
  * }
24
26
  * ```
25
27
  */
26
- declare class CanvasBase<T2 extends ICanvasBaseMemory> extends Container {
28
+ declare class CanvasBase<T2 extends CanvasBaseMemory> extends Container {
27
29
  /**
28
30
  * This method return the memory of the canvas element.
29
31
  */
@@ -1,5 +1,7 @@
1
1
  import { Container } from 'pixi.js';
2
- import ICanvasBaseMemory from '../../interface/canvas/ICanvasBaseMemory.js';
2
+ import { CanvasBaseMemory } from '../../interface/canvas/canvas-memory.js';
3
+ import '../../interface/canvas/TextureMemory.js';
4
+ import '../../types/EventIdType.js';
3
5
 
4
6
  /**
5
7
  * This class is used to create a canvas element to add into a Pixi Application.
@@ -23,7 +25,7 @@ import ICanvasBaseMemory from '../../interface/canvas/ICanvasBaseMemory.js';
23
25
  * }
24
26
  * ```
25
27
  */
26
- declare class CanvasBase<T2 extends ICanvasBaseMemory> extends Container {
28
+ declare class CanvasBase<T2 extends CanvasBaseMemory> extends Container {
27
29
  /**
28
30
  * This method return the memory of the canvas element.
29
31
  */
@@ -1607,14 +1607,14 @@ var init_uid = __esm({
1607
1607
  });
1608
1608
 
1609
1609
  // node_modules/pixi.js/lib/utils/logging/deprecation.mjs
1610
- function deprecation(version, message, ignoreDepth = 3) {
1610
+ function deprecation(version2, message, ignoreDepth = 3) {
1611
1611
  if (warnings[message]) {
1612
1612
  return;
1613
1613
  }
1614
1614
  let stack = new Error().stack;
1615
1615
  if (typeof stack === "undefined") {
1616
1616
  console.warn("PixiJS Deprecation Warning: ", `${message}
1617
- Deprecated since v${version}`);
1617
+ Deprecated since v${version2}`);
1618
1618
  } else {
1619
1619
  stack = stack.split("\n").splice(ignoreDepth).join("\n");
1620
1620
  if (console.groupCollapsed) {
@@ -1623,13 +1623,13 @@ Deprecated since v${version}`);
1623
1623
  "color:#614108;background:#fffbe6",
1624
1624
  "font-weight:normal;color:#614108;background:#fffbe6",
1625
1625
  `${message}
1626
- Deprecated since v${version}`
1626
+ Deprecated since v${version2}`
1627
1627
  );
1628
1628
  console.warn(stack);
1629
1629
  console.groupEnd();
1630
1630
  } else {
1631
1631
  console.warn("PixiJS Deprecation Warning: ", `${message}
1632
- Deprecated since v${version}`);
1632
+ Deprecated since v${version2}`);
1633
1633
  console.warn(stack);
1634
1634
  }
1635
1635
  }
@@ -42998,7 +42998,7 @@ var require_dom = __commonJS({
42998
42998
  * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
42999
42999
  * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
43000
43000
  */
43001
- hasFeature: function(feature, version) {
43001
+ hasFeature: function(feature, version2) {
43002
43002
  return true;
43003
43003
  },
43004
43004
  /**
@@ -43119,8 +43119,8 @@ var require_dom = __commonJS({
43119
43119
  }
43120
43120
  },
43121
43121
  // Introduced in DOM Level 2:
43122
- isSupported: function(feature, version) {
43123
- return this.ownerDocument.implementation.hasFeature(feature, version);
43122
+ isSupported: function(feature, version2) {
43123
+ return this.ownerDocument.implementation.hasFeature(feature, version2);
43124
43124
  },
43125
43125
  // Introduced in DOM Level 2:
43126
43126
  hasAttributes: function() {
@@ -57407,6 +57407,7 @@ var filters = {
57407
57407
  StreamFilter: filters_exports.StreamFilter,
57408
57408
  TelephoneFilter: filters_exports.TelephoneFilter
57409
57409
  };
57410
+ var CANVAS_APP_STAGE_ALIAS = "_stage_";
57410
57411
 
57411
57412
  // src/managers/CanvasManager.ts
57412
57413
  init_lib();
@@ -57609,7 +57610,7 @@ function createExportableElement(element) {
57609
57610
  let elementString = JSON.stringify(element);
57610
57611
  return JSON.parse(elementString);
57611
57612
  } catch (e2) {
57612
- console.error("[Pixi\u2019VN] Error creating exportable element", e2);
57613
+ console.error("[Pixi\u2019VN] Error creating exportable element", element, e2);
57613
57614
  throw new Error("[Pixi\u2019VN] Error creating exportable element");
57614
57615
  }
57615
57616
  }
@@ -58042,6 +58043,10 @@ var CanvasManager = class {
58042
58043
  * ```
58043
58044
  */
58044
58045
  add(alias, canvasElement, options = {}) {
58046
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58047
+ console.error(`[Pixi\u2019VN] The alias ${CANVAS_APP_STAGE_ALIAS} is reserved`);
58048
+ return;
58049
+ }
58045
58050
  let ignoreOldStyle = options?.ignoreOldStyle;
58046
58051
  let oldCanvasElement = this.find(alias);
58047
58052
  if (oldCanvasElement) {
@@ -58072,6 +58077,10 @@ var CanvasManager = class {
58072
58077
  * ```
58073
58078
  */
58074
58079
  remove(alias, options = {}) {
58080
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58081
+ console.error(`[Pixi\u2019VN] The alias ${CANVAS_APP_STAGE_ALIAS} is reserved`);
58082
+ return;
58083
+ }
58075
58084
  let ignoreTickers = options.ignoreTickers;
58076
58085
  if (typeof alias === "string") {
58077
58086
  alias = [alias];
@@ -58100,6 +58109,9 @@ var CanvasManager = class {
58100
58109
  * ```
58101
58110
  */
58102
58111
  find(alias) {
58112
+ if (alias === CANVAS_APP_STAGE_ALIAS) {
58113
+ return this.app.stage;
58114
+ }
58103
58115
  return CanvasManagerStatic._children[alias];
58104
58116
  }
58105
58117
  /**
@@ -58126,16 +58138,17 @@ var CanvasManager = class {
58126
58138
  this.removeAllTickers();
58127
58139
  }
58128
58140
  /**
58129
- * Edit the alias of a canvas element.
58141
+ * Edit the alias of a canvas element. The tickers that are connected to the canvas element will be transferred.
58130
58142
  * @param oldAlias The old alias of the canvas element.
58131
58143
  * @param newAlias The new alias of the canvas element.
58144
+ * @param options The options of the canvas element.
58132
58145
  */
58133
- editAlias(oldAlias, newAlias) {
58146
+ editAlias(oldAlias, newAlias, options = {}) {
58134
58147
  if (CanvasManagerStatic._children[oldAlias]) {
58135
58148
  CanvasManagerStatic._children[newAlias] = CanvasManagerStatic._children[oldAlias];
58136
58149
  delete CanvasManagerStatic._children[oldAlias];
58137
58150
  }
58138
- this.transferTickers(oldAlias, newAlias, "move");
58151
+ !options.ignoreTickers && this.transferTickers(oldAlias, newAlias, "move");
58139
58152
  }
58140
58153
  /** Edit Tickers Methods */
58141
58154
  /**
@@ -58210,12 +58223,16 @@ var CanvasManager = class {
58210
58223
  pushTicker(id3, tickerData, ticker) {
58211
58224
  CanvasManagerStatic._currentTickers[id3] = tickerData;
58212
58225
  tickerData.fn = (t2) => {
58213
- if (tickerData.createdByTicketSteps && this.isTickerPaused(tickerData.createdByTicketSteps.canvasElementAlias, tickerData.createdByTicketSteps.id)) {
58214
- return;
58215
- }
58216
58226
  let data = CanvasManagerStatic._currentTickers[id3];
58217
58227
  if (data) {
58218
- let canvasElementAliases = data.canvasElementAliases.filter((alias) => !this.isTickerPaused(alias, id3));
58228
+ let canvasElementAliases = data.canvasElementAliases;
58229
+ if (tickerData.createdByTicketSteps) {
58230
+ if (this.isTickerPaused(tickerData.createdByTicketSteps.canvasElementAlias, tickerData.createdByTicketSteps.id)) {
58231
+ return;
58232
+ }
58233
+ } else {
58234
+ canvasElementAliases = canvasElementAliases.filter((alias) => !this.isTickerPaused(alias, id3));
58235
+ }
58219
58236
  ticker?.fn(t2, data.args, canvasElementAliases, id3);
58220
58237
  }
58221
58238
  };
@@ -58562,15 +58579,19 @@ var CanvasManager = class {
58562
58579
  });
58563
58580
  CanvasManagerStatic._tickersMustBeCompletedBeforeNextStep.stepAlias.forEach(({ alias, id: id3 }) => {
58564
58581
  let ticker = CanvasManagerStatic._currentTickersSteps[alias];
58565
- if (ticker && ticker[id3] && !ticker[id3].steps.includes(Repeat)) {
58566
- ticker[id3].steps.forEach((step) => {
58567
- if (typeof step === "object" && "ticker" in step) {
58568
- let ticker2 = geTickerInstanceById(step.ticker, step.args, step.duration, step.priority);
58569
- if (ticker2) {
58570
- ticker2.onEndOfTicker([alias], id3, step.args);
58582
+ if (ticker && ticker[id3]) {
58583
+ if (ticker[id3].steps.includes(Repeat)) {
58584
+ console.error(`[Pixi\u2019VN] The ticker alias: ${alias} id: ${id3} contains a RepeatType, so it can't be forced to complete`, ticker[id3]);
58585
+ } else {
58586
+ ticker[id3].steps.forEach((step) => {
58587
+ if (typeof step === "object" && "ticker" in step) {
58588
+ let ticker2 = geTickerInstanceById(step.ticker, step.args, step.duration, step.priority);
58589
+ if (ticker2) {
58590
+ ticker2.onEndOfTicker([alias], id3, step.args);
58591
+ }
58571
58592
  }
58572
- }
58573
- });
58593
+ });
58594
+ }
58574
58595
  }
58575
58596
  });
58576
58597
  CanvasManagerStatic._tickersMustBeCompletedBeforeNextStep = { tikersIds: [], stepAlias: [] };
@@ -58611,6 +58632,7 @@ var CanvasManager = class {
58611
58632
  tickers: createExportableElement(CanvasManagerStatic.currentTickersWithoutCreatedBySteps),
58612
58633
  tickersSteps: createExportableElement(CanvasManagerStatic._currentTickersSteps),
58613
58634
  elements: createExportableElement(currentElements),
58635
+ stage: createExportableElement(getMemoryContainer(this.app.stage)),
58614
58636
  elementAliasesOrder: createExportableElement(CanvasManagerStatic.childrenAliasesOrder),
58615
58637
  tickersOnPause: createExportableElement(CanvasManagerStatic._tickersOnPause)
58616
58638
  };
@@ -58644,6 +58666,11 @@ var CanvasManager = class {
58644
58666
  console.error("[Pixi\u2019VN] The data does not have the properties elementAliasesOrder and elements");
58645
58667
  return;
58646
58668
  }
58669
+ if (data.hasOwnProperty("stage") && data.hasOwnProperty("stage")) {
58670
+ setMemoryContainer(this.app.stage, data["stage"]);
58671
+ } else {
58672
+ console.error("[Pixi\u2019VN] The data does not have the properties stage");
58673
+ }
58647
58674
  if (data.hasOwnProperty("tickers")) {
58648
58675
  let tickers = data["tickers"];
58649
58676
  Object.entries(tickers).forEach(([oldId, t2]) => {
@@ -59071,8 +59098,8 @@ function getExponentialProgression(number, progression, valueConvert) {
59071
59098
  // src/classes/ticker/MoveTicker.ts
59072
59099
  var MoveTicker = class extends TickerBase {
59073
59100
  fn(ticker, args, aliases, tickerId) {
59074
- let xSpeed = 1;
59075
- let ySpeed = 1;
59101
+ let xSpeed = 10;
59102
+ let ySpeed = 10;
59076
59103
  if (args.speed) {
59077
59104
  if (typeof args.speed === "number") {
59078
59105
  xSpeed = this.speedConvert(args.speed);
@@ -59136,6 +59163,10 @@ var MoveTicker = class extends TickerBase {
59136
59163
  let destination = args.destination;
59137
59164
  element.x = destination.x;
59138
59165
  element.y = destination.y;
59166
+ if (args.isPushInOut && element.children.length > 0) {
59167
+ let elementChild = element.children[0];
59168
+ canvas.add(alias2, elementChild, { ignoreOldStyle: true });
59169
+ }
59139
59170
  }
59140
59171
  });
59141
59172
  super.onEndOfTicker(alias, tickerId, args);
@@ -59568,6 +59599,7 @@ var NarrationManagerStatic = class _NarrationManagerStatic {
59568
59599
  canvas: {
59569
59600
  elementAliasesOrder: [],
59570
59601
  elements: {},
59602
+ stage: {},
59571
59603
  tickers: {},
59572
59604
  tickersSteps: {},
59573
59605
  tickersOnPause: {}
@@ -60147,8 +60179,10 @@ var NarrationManager = class {
60147
60179
  console.warn("[Pixi\u2019VN] stepSha not found");
60148
60180
  }
60149
60181
  try {
60182
+ if (NarrationManagerStatic.stepsRunning === 0) {
60183
+ canvas.forceCompletionOfReportedTickers();
60184
+ }
60150
60185
  NarrationManagerStatic.stepsRunning++;
60151
- canvas.forceCompletionOfReportedTickers();
60152
60186
  let result = await step(props);
60153
60187
  if (this.choiceMenuOptions?.length === 1 && this.choiceMenuOptions[0].autoSelect) {
60154
60188
  let choice = this.choiceMenuOptions[0];
@@ -1,7 +1,8 @@
1
1
  import { Container, ContainerOptions } from 'pixi.js';
2
- import ICanvasContainerMemory from '../../interface/canvas/ICanvasContainerMemory.cjs';
2
+ import { CanvasContainerMemory } from '../../interface/canvas/canvas-memory.cjs';
3
3
  import CanvasBase from './CanvasBase.cjs';
4
- import '../../interface/canvas/ICanvasBaseMemory.cjs';
4
+ import '../../interface/canvas/TextureMemory.cjs';
5
+ import '../../types/EventIdType.cjs';
5
6
 
6
7
  declare const CANVAS_CONTAINER_ID = "Container";
7
8
  /**
@@ -21,13 +22,13 @@ declare const CANVAS_CONTAINER_ID = "Container";
21
22
  * }
22
23
  * ```
23
24
  */
24
- declare class CanvasContainer extends Container implements CanvasBase<ICanvasContainerMemory> {
25
+ declare class CanvasContainer extends Container implements CanvasBase<CanvasContainerMemory> {
25
26
  constructor(options?: ContainerOptions);
26
27
  pixivnId: string;
27
- get memory(): ICanvasContainerMemory;
28
- set memory(value: ICanvasContainerMemory);
28
+ get memory(): CanvasContainerMemory;
29
+ set memory(value: CanvasContainerMemory);
29
30
  }
30
- declare function getMemoryContainer<T extends Container>(element: T): ICanvasContainerMemory;
31
+ declare function getMemoryContainer<T extends Container>(element: T): CanvasContainerMemory;
31
32
  declare function setMemoryContainer<T extends Container>(element: T | Container, memory: ContainerOptions | {}): void;
32
33
 
33
34
  export { CANVAS_CONTAINER_ID, CanvasContainer as default, getMemoryContainer, setMemoryContainer };
@@ -1,7 +1,8 @@
1
1
  import { Container, ContainerOptions } from 'pixi.js';
2
- import ICanvasContainerMemory from '../../interface/canvas/ICanvasContainerMemory.js';
2
+ import { CanvasContainerMemory } from '../../interface/canvas/canvas-memory.js';
3
3
  import CanvasBase from './CanvasBase.js';
4
- import '../../interface/canvas/ICanvasBaseMemory.js';
4
+ import '../../interface/canvas/TextureMemory.js';
5
+ import '../../types/EventIdType.js';
5
6
 
6
7
  declare const CANVAS_CONTAINER_ID = "Container";
7
8
  /**
@@ -21,13 +22,13 @@ declare const CANVAS_CONTAINER_ID = "Container";
21
22
  * }
22
23
  * ```
23
24
  */
24
- declare class CanvasContainer extends Container implements CanvasBase<ICanvasContainerMemory> {
25
+ declare class CanvasContainer extends Container implements CanvasBase<CanvasContainerMemory> {
25
26
  constructor(options?: ContainerOptions);
26
27
  pixivnId: string;
27
- get memory(): ICanvasContainerMemory;
28
- set memory(value: ICanvasContainerMemory);
28
+ get memory(): CanvasContainerMemory;
29
+ set memory(value: CanvasContainerMemory);
29
30
  }
30
- declare function getMemoryContainer<T extends Container>(element: T): ICanvasContainerMemory;
31
+ declare function getMemoryContainer<T extends Container>(element: T): CanvasContainerMemory;
31
32
  declare function setMemoryContainer<T extends Container>(element: T | Container, memory: ContainerOptions | {}): void;
32
33
 
33
34
  export { CANVAS_CONTAINER_ID, CanvasContainer as default, getMemoryContainer, setMemoryContainer };