@drincs/pixi-vn 0.6.2 → 0.6.3

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 (407) hide show
  1. package/dist/classes/CanvasEvent.js +1 -1
  2. package/dist/classes/CanvasEvent.js.map +1 -1
  3. package/dist/classes/CanvasEvent.mjs +1 -1
  4. package/dist/classes/CanvasEvent.mjs.map +1 -1
  5. package/dist/classes/CharacterBaseModel.js +15 -15
  6. package/dist/classes/CharacterBaseModel.js.map +1 -1
  7. package/dist/classes/CharacterBaseModel.mjs +15 -15
  8. package/dist/classes/CharacterBaseModel.mjs.map +1 -1
  9. package/dist/classes/ChoiceMenuOption.js +15 -15
  10. package/dist/classes/ChoiceMenuOption.js.map +1 -1
  11. package/dist/classes/ChoiceMenuOption.mjs +15 -15
  12. package/dist/classes/ChoiceMenuOption.mjs.map +1 -1
  13. package/dist/classes/CloseLabel.js +1 -1
  14. package/dist/classes/CloseLabel.js.map +1 -1
  15. package/dist/classes/CloseLabel.mjs +1 -1
  16. package/dist/classes/CloseLabel.mjs.map +1 -1
  17. package/dist/classes/DialogueBaseModel.js +1 -1
  18. package/dist/classes/DialogueBaseModel.js.map +1 -1
  19. package/dist/classes/DialogueBaseModel.mjs +1 -1
  20. package/dist/classes/DialogueBaseModel.mjs.map +1 -1
  21. package/dist/classes/Label.js +1 -1
  22. package/dist/classes/Label.js.map +1 -1
  23. package/dist/classes/Label.mjs +1 -1
  24. package/dist/classes/Label.mjs.map +1 -1
  25. package/dist/classes/StoredClassModel.js +15 -15
  26. package/dist/classes/StoredClassModel.js.map +1 -1
  27. package/dist/classes/StoredClassModel.mjs +15 -15
  28. package/dist/classes/StoredClassModel.mjs.map +1 -1
  29. package/dist/classes/canvas/CanvasBase.js +1 -1
  30. package/dist/classes/canvas/CanvasBase.js.map +1 -1
  31. package/dist/classes/canvas/CanvasBase.mjs +1 -1
  32. package/dist/classes/canvas/CanvasBase.mjs.map +1 -1
  33. package/dist/classes/canvas/CanvasContainer.js +13 -13
  34. package/dist/classes/canvas/CanvasContainer.js.map +1 -1
  35. package/dist/classes/canvas/CanvasContainer.mjs +13 -13
  36. package/dist/classes/canvas/CanvasContainer.mjs.map +1 -1
  37. package/dist/classes/canvas/CanvasImage.js +2 -4
  38. package/dist/classes/canvas/CanvasImage.js.map +1 -1
  39. package/dist/classes/canvas/CanvasImage.mjs +2 -4
  40. package/dist/classes/canvas/CanvasImage.mjs.map +1 -1
  41. package/dist/classes/canvas/CanvasSprite.js +2 -4
  42. package/dist/classes/canvas/CanvasSprite.js.map +1 -1
  43. package/dist/classes/canvas/CanvasSprite.mjs +2 -4
  44. package/dist/classes/canvas/CanvasSprite.mjs.map +1 -1
  45. package/dist/classes/canvas/CanvasText.js +11 -11
  46. package/dist/classes/canvas/CanvasText.js.map +1 -1
  47. package/dist/classes/canvas/CanvasText.mjs +11 -11
  48. package/dist/classes/canvas/CanvasText.mjs.map +1 -1
  49. package/dist/classes/canvas/index.js +13 -13
  50. package/dist/classes/canvas/index.js.map +1 -1
  51. package/dist/classes/canvas/index.mjs +13 -13
  52. package/dist/classes/canvas/index.mjs.map +1 -1
  53. package/dist/classes/index.js +15 -15
  54. package/dist/classes/index.js.map +1 -1
  55. package/dist/classes/index.mjs +15 -15
  56. package/dist/classes/index.mjs.map +1 -1
  57. package/dist/classes/ticker/FadeAlphaTicker.js +15 -15
  58. package/dist/classes/ticker/FadeAlphaTicker.js.map +1 -1
  59. package/dist/classes/ticker/FadeAlphaTicker.mjs +15 -15
  60. package/dist/classes/ticker/FadeAlphaTicker.mjs.map +1 -1
  61. package/dist/classes/ticker/MoveTicker.js +15 -15
  62. package/dist/classes/ticker/MoveTicker.js.map +1 -1
  63. package/dist/classes/ticker/MoveTicker.mjs +15 -15
  64. package/dist/classes/ticker/MoveTicker.mjs.map +1 -1
  65. package/dist/classes/ticker/RotateTicker.js +15 -15
  66. package/dist/classes/ticker/RotateTicker.js.map +1 -1
  67. package/dist/classes/ticker/RotateTicker.mjs +15 -15
  68. package/dist/classes/ticker/RotateTicker.mjs.map +1 -1
  69. package/dist/classes/ticker/TickerBase.js +1 -1
  70. package/dist/classes/ticker/TickerBase.js.map +1 -1
  71. package/dist/classes/ticker/TickerBase.mjs +1 -1
  72. package/dist/classes/ticker/TickerBase.mjs.map +1 -1
  73. package/dist/classes/ticker/ZoomTicker.js +15 -15
  74. package/dist/classes/ticker/ZoomTicker.js.map +1 -1
  75. package/dist/classes/ticker/ZoomTicker.mjs +15 -15
  76. package/dist/classes/ticker/ZoomTicker.mjs.map +1 -1
  77. package/dist/classes/ticker/index.js +15 -15
  78. package/dist/classes/ticker/index.js.map +1 -1
  79. package/dist/classes/ticker/index.mjs +15 -15
  80. package/dist/classes/ticker/index.mjs.map +1 -1
  81. package/dist/constants.d.mts +1 -1
  82. package/dist/constants.d.ts +1 -1
  83. package/dist/constants.js +2 -2
  84. package/dist/constants.js.map +1 -1
  85. package/dist/constants.mjs +2 -2
  86. package/dist/constants.mjs.map +1 -1
  87. package/dist/decorators/CanvasElementDecorator.js +13 -13
  88. package/dist/decorators/CanvasElementDecorator.js.map +1 -1
  89. package/dist/decorators/CanvasElementDecorator.mjs +13 -13
  90. package/dist/decorators/CanvasElementDecorator.mjs.map +1 -1
  91. package/dist/decorators/CharacterDecorator.js +1 -1
  92. package/dist/decorators/CharacterDecorator.js.map +1 -1
  93. package/dist/decorators/CharacterDecorator.mjs +1 -1
  94. package/dist/decorators/CharacterDecorator.mjs.map +1 -1
  95. package/dist/decorators/EventDecorator.js +1 -1
  96. package/dist/decorators/EventDecorator.js.map +1 -1
  97. package/dist/decorators/EventDecorator.mjs +1 -1
  98. package/dist/decorators/EventDecorator.mjs.map +1 -1
  99. package/dist/decorators/LabelDecorator.js +15 -15
  100. package/dist/decorators/LabelDecorator.js.map +1 -1
  101. package/dist/decorators/LabelDecorator.mjs +15 -15
  102. package/dist/decorators/LabelDecorator.mjs.map +1 -1
  103. package/dist/decorators/TickerDecorator.js +1 -1
  104. package/dist/decorators/TickerDecorator.js.map +1 -1
  105. package/dist/decorators/TickerDecorator.mjs +1 -1
  106. package/dist/decorators/TickerDecorator.mjs.map +1 -1
  107. package/dist/decorators/index.js +15 -15
  108. package/dist/decorators/index.js.map +1 -1
  109. package/dist/decorators/index.mjs +15 -15
  110. package/dist/decorators/index.mjs.map +1 -1
  111. package/dist/functions/CanvasUtility.js +13 -13
  112. package/dist/functions/CanvasUtility.js.map +1 -1
  113. package/dist/functions/CanvasUtility.mjs +13 -13
  114. package/dist/functions/CanvasUtility.mjs.map +1 -1
  115. package/dist/functions/DialogueUtility.js +15 -15
  116. package/dist/functions/DialogueUtility.js.map +1 -1
  117. package/dist/functions/DialogueUtility.mjs +15 -15
  118. package/dist/functions/DialogueUtility.mjs.map +1 -1
  119. package/dist/functions/DiffUtility.js +1 -1
  120. package/dist/functions/DiffUtility.js.map +1 -1
  121. package/dist/functions/DiffUtility.mjs +1 -1
  122. package/dist/functions/DiffUtility.mjs.map +1 -1
  123. package/dist/functions/EasterEgg.js +1 -1
  124. package/dist/functions/EasterEgg.js.map +1 -1
  125. package/dist/functions/EasterEgg.mjs +1 -1
  126. package/dist/functions/EasterEgg.mjs.map +1 -1
  127. package/dist/functions/ExportUtility.js +1 -1
  128. package/dist/functions/ExportUtility.js.map +1 -1
  129. package/dist/functions/ExportUtility.mjs +1 -1
  130. package/dist/functions/ExportUtility.mjs.map +1 -1
  131. package/dist/functions/FlagsUtility.js +15 -15
  132. package/dist/functions/FlagsUtility.js.map +1 -1
  133. package/dist/functions/FlagsUtility.mjs +15 -15
  134. package/dist/functions/FlagsUtility.mjs.map +1 -1
  135. package/dist/functions/GameUtility.js +15 -15
  136. package/dist/functions/GameUtility.js.map +1 -1
  137. package/dist/functions/GameUtility.mjs +15 -15
  138. package/dist/functions/GameUtility.mjs.map +1 -1
  139. package/dist/functions/ImageUtility.js +15 -15
  140. package/dist/functions/ImageUtility.js.map +1 -1
  141. package/dist/functions/ImageUtility.mjs +15 -15
  142. package/dist/functions/ImageUtility.mjs.map +1 -1
  143. package/dist/functions/SavesUtility.js +16 -16
  144. package/dist/functions/SavesUtility.js.map +1 -1
  145. package/dist/functions/SavesUtility.mjs +16 -16
  146. package/dist/functions/SavesUtility.mjs.map +1 -1
  147. package/dist/functions/StepLabelUtility.js +1 -1
  148. package/dist/functions/StepLabelUtility.js.map +1 -1
  149. package/dist/functions/StepLabelUtility.mjs +1 -1
  150. package/dist/functions/StepLabelUtility.mjs.map +1 -1
  151. package/dist/functions/TextureUtility.js +10 -8
  152. package/dist/functions/TextureUtility.js.map +1 -1
  153. package/dist/functions/TextureUtility.mjs +10 -8
  154. package/dist/functions/TextureUtility.mjs.map +1 -1
  155. package/dist/functions/TickerUtility.js +1 -1
  156. package/dist/functions/TickerUtility.js.map +1 -1
  157. package/dist/functions/TickerUtility.mjs +1 -1
  158. package/dist/functions/TickerUtility.mjs.map +1 -1
  159. package/dist/functions/index.js +16 -16
  160. package/dist/functions/index.js.map +1 -1
  161. package/dist/functions/index.mjs +16 -16
  162. package/dist/functions/index.mjs.map +1 -1
  163. package/dist/index.js +119 -17
  164. package/dist/index.js.map +1 -1
  165. package/dist/index.mjs +120 -18
  166. package/dist/index.mjs.map +1 -1
  167. package/dist/interface/CharacterBaseModelProps.js +1 -1
  168. package/dist/interface/CharacterBaseModelProps.js.map +1 -1
  169. package/dist/interface/CharacterBaseModelProps.mjs +1 -1
  170. package/dist/interface/CharacterBaseModelProps.mjs.map +1 -1
  171. package/dist/interface/DialogueHistory.js +1 -1
  172. package/dist/interface/DialogueHistory.js.map +1 -1
  173. package/dist/interface/DialogueHistory.mjs +1 -1
  174. package/dist/interface/DialogueHistory.mjs.map +1 -1
  175. package/dist/interface/IHistoryStep.js +1 -1
  176. package/dist/interface/IHistoryStep.js.map +1 -1
  177. package/dist/interface/IHistoryStep.mjs +1 -1
  178. package/dist/interface/IHistoryStep.mjs.map +1 -1
  179. package/dist/interface/IOpenedLabel.js +1 -1
  180. package/dist/interface/IOpenedLabel.js.map +1 -1
  181. package/dist/interface/IOpenedLabel.mjs +1 -1
  182. package/dist/interface/IOpenedLabel.mjs.map +1 -1
  183. package/dist/interface/ISaveData.js +1 -1
  184. package/dist/interface/ISaveData.js.map +1 -1
  185. package/dist/interface/ISaveData.mjs +1 -1
  186. package/dist/interface/ISaveData.mjs.map +1 -1
  187. package/dist/interface/ITicker.js +1 -1
  188. package/dist/interface/ITicker.js.map +1 -1
  189. package/dist/interface/ITicker.mjs +1 -1
  190. package/dist/interface/ITicker.mjs.map +1 -1
  191. package/dist/interface/ITickersSteps.js +1 -1
  192. package/dist/interface/ITickersSteps.js.map +1 -1
  193. package/dist/interface/ITickersSteps.mjs +1 -1
  194. package/dist/interface/ITickersSteps.mjs.map +1 -1
  195. package/dist/interface/TickerHistory.js +1 -1
  196. package/dist/interface/TickerHistory.js.map +1 -1
  197. package/dist/interface/TickerHistory.mjs +1 -1
  198. package/dist/interface/TickerHistory.mjs.map +1 -1
  199. package/dist/interface/TickerProgrationType.js +1 -1
  200. package/dist/interface/TickerProgrationType.js.map +1 -1
  201. package/dist/interface/TickerProgrationType.mjs +1 -1
  202. package/dist/interface/TickerProgrationType.mjs.map +1 -1
  203. package/dist/interface/TickerTimeoutHistory.js +1 -1
  204. package/dist/interface/TickerTimeoutHistory.js.map +1 -1
  205. package/dist/interface/TickerTimeoutHistory.mjs +1 -1
  206. package/dist/interface/TickerTimeoutHistory.mjs.map +1 -1
  207. package/dist/interface/canvas/ICanvasBaseMemory.js +1 -1
  208. package/dist/interface/canvas/ICanvasBaseMemory.js.map +1 -1
  209. package/dist/interface/canvas/ICanvasBaseMemory.mjs +1 -1
  210. package/dist/interface/canvas/ICanvasBaseMemory.mjs.map +1 -1
  211. package/dist/interface/canvas/ICanvasContainerMemory.js +1 -1
  212. package/dist/interface/canvas/ICanvasContainerMemory.js.map +1 -1
  213. package/dist/interface/canvas/ICanvasContainerMemory.mjs +1 -1
  214. package/dist/interface/canvas/ICanvasContainerMemory.mjs.map +1 -1
  215. package/dist/interface/canvas/ICanvasImageMemory.js +1 -1
  216. package/dist/interface/canvas/ICanvasImageMemory.js.map +1 -1
  217. package/dist/interface/canvas/ICanvasImageMemory.mjs +1 -1
  218. package/dist/interface/canvas/ICanvasImageMemory.mjs.map +1 -1
  219. package/dist/interface/canvas/ICanvasSpriteMemory.js +1 -1
  220. package/dist/interface/canvas/ICanvasSpriteMemory.js.map +1 -1
  221. package/dist/interface/canvas/ICanvasSpriteMemory.mjs +1 -1
  222. package/dist/interface/canvas/ICanvasSpriteMemory.mjs.map +1 -1
  223. package/dist/interface/canvas/ICanvasTextTextMemory.js +1 -1
  224. package/dist/interface/canvas/ICanvasTextTextMemory.js.map +1 -1
  225. package/dist/interface/canvas/ICanvasTextTextMemory.mjs +1 -1
  226. package/dist/interface/canvas/ICanvasTextTextMemory.mjs.map +1 -1
  227. package/dist/interface/canvas/ITextureMemory.js +1 -1
  228. package/dist/interface/canvas/ITextureMemory.js.map +1 -1
  229. package/dist/interface/canvas/ITextureMemory.mjs +1 -1
  230. package/dist/interface/canvas/ITextureMemory.mjs.map +1 -1
  231. package/dist/interface/canvas/index.js +1 -1
  232. package/dist/interface/canvas/index.js.map +1 -1
  233. package/dist/interface/canvas/index.mjs +1 -1
  234. package/dist/interface/canvas/index.mjs.map +1 -1
  235. package/dist/interface/export/ExportedCanvas.js +1 -1
  236. package/dist/interface/export/ExportedCanvas.js.map +1 -1
  237. package/dist/interface/export/ExportedCanvas.mjs +1 -1
  238. package/dist/interface/export/ExportedCanvas.mjs.map +1 -1
  239. package/dist/interface/export/ExportedStep.js +1 -1
  240. package/dist/interface/export/ExportedStep.js.map +1 -1
  241. package/dist/interface/export/ExportedStep.mjs +1 -1
  242. package/dist/interface/export/ExportedStep.mjs.map +1 -1
  243. package/dist/interface/export/ExportedStorage.js +1 -1
  244. package/dist/interface/export/ExportedStorage.js.map +1 -1
  245. package/dist/interface/export/ExportedStorage.mjs +1 -1
  246. package/dist/interface/export/ExportedStorage.mjs.map +1 -1
  247. package/dist/interface/export/index.js +1 -1
  248. package/dist/interface/export/index.js.map +1 -1
  249. package/dist/interface/export/index.mjs +1 -1
  250. package/dist/interface/export/index.mjs.map +1 -1
  251. package/dist/interface/index.js +1 -1
  252. package/dist/interface/index.js.map +1 -1
  253. package/dist/interface/index.mjs +1 -1
  254. package/dist/interface/index.mjs.map +1 -1
  255. package/dist/labels/BaseCanvasElementTestLabel.js +917 -23
  256. package/dist/labels/BaseCanvasElementTestLabel.js.map +1 -1
  257. package/dist/labels/BaseCanvasElementTestLabel.mjs +917 -23
  258. package/dist/labels/BaseCanvasElementTestLabel.mjs.map +1 -1
  259. package/dist/labels/CanvasEventsTestLabel.js +15 -15
  260. package/dist/labels/CanvasEventsTestLabel.js.map +1 -1
  261. package/dist/labels/CanvasEventsTestLabel.mjs +15 -15
  262. package/dist/labels/CanvasEventsTestLabel.mjs.map +1 -1
  263. package/dist/labels/CustomTickerCanvasElementTestLabel.js +15 -18
  264. package/dist/labels/CustomTickerCanvasElementTestLabel.js.map +1 -1
  265. package/dist/labels/CustomTickerCanvasElementTestLabel.mjs +15 -18
  266. package/dist/labels/CustomTickerCanvasElementTestLabel.mjs.map +1 -1
  267. package/dist/labels/ImagesAnimationsTestLabel.js +15 -15
  268. package/dist/labels/ImagesAnimationsTestLabel.js.map +1 -1
  269. package/dist/labels/ImagesAnimationsTestLabel.mjs +15 -15
  270. package/dist/labels/ImagesAnimationsTestLabel.mjs.map +1 -1
  271. package/dist/labels/MarkdownTest.js +15 -15
  272. package/dist/labels/MarkdownTest.js.map +1 -1
  273. package/dist/labels/MarkdownTest.mjs +15 -15
  274. package/dist/labels/MarkdownTest.mjs.map +1 -1
  275. package/dist/labels/StartLabel.js +121 -19
  276. package/dist/labels/StartLabel.js.map +1 -1
  277. package/dist/labels/StartLabel.mjs +122 -20
  278. package/dist/labels/StartLabel.mjs.map +1 -1
  279. package/dist/labels/TestConstant.js +15 -15
  280. package/dist/labels/TestConstant.js.map +1 -1
  281. package/dist/labels/TestConstant.mjs +15 -15
  282. package/dist/labels/TestConstant.mjs.map +1 -1
  283. package/dist/labels/index.js +121 -19
  284. package/dist/labels/index.js.map +1 -1
  285. package/dist/labels/index.mjs +122 -20
  286. package/dist/labels/index.mjs.map +1 -1
  287. package/dist/managers/StepManager.js +15 -15
  288. package/dist/managers/StepManager.js.map +1 -1
  289. package/dist/managers/StepManager.mjs +15 -15
  290. package/dist/managers/StepManager.mjs.map +1 -1
  291. package/dist/managers/StorageManager.js +1 -1
  292. package/dist/managers/StorageManager.js.map +1 -1
  293. package/dist/managers/StorageManager.mjs +1 -1
  294. package/dist/managers/StorageManager.mjs.map +1 -1
  295. package/dist/managers/WindowManager.d.mts +1 -1
  296. package/dist/managers/WindowManager.d.ts +1 -1
  297. package/dist/managers/WindowManager.js +15 -15
  298. package/dist/managers/WindowManager.js.map +1 -1
  299. package/dist/managers/WindowManager.mjs +15 -15
  300. package/dist/managers/WindowManager.mjs.map +1 -1
  301. package/dist/managers/index.js +15 -15
  302. package/dist/managers/index.js.map +1 -1
  303. package/dist/managers/index.mjs +15 -15
  304. package/dist/managers/index.mjs.map +1 -1
  305. package/dist/override/StepLabelProps.js +1 -1
  306. package/dist/override/StepLabelProps.js.map +1 -1
  307. package/dist/override/StepLabelProps.mjs +1 -1
  308. package/dist/override/StepLabelProps.mjs.map +1 -1
  309. package/dist/override/StepLabelResult.js +1 -1
  310. package/dist/override/StepLabelResult.js.map +1 -1
  311. package/dist/override/StepLabelResult.mjs +1 -1
  312. package/dist/override/StepLabelResult.mjs.map +1 -1
  313. package/dist/override/index.js +1 -1
  314. package/dist/override/index.js.map +1 -1
  315. package/dist/override/index.mjs +1 -1
  316. package/dist/override/index.mjs.map +1 -1
  317. package/dist/types/CanvasElementTagType.js +1 -1
  318. package/dist/types/CanvasElementTagType.js.map +1 -1
  319. package/dist/types/CanvasElementTagType.mjs +1 -1
  320. package/dist/types/CanvasElementTagType.mjs.map +1 -1
  321. package/dist/types/CanvasEventNamesType.js +1 -1
  322. package/dist/types/CanvasEventNamesType.js.map +1 -1
  323. package/dist/types/CanvasEventNamesType.mjs +1 -1
  324. package/dist/types/CanvasEventNamesType.mjs.map +1 -1
  325. package/dist/types/ChoiceMenuOptionsType.js +1 -1
  326. package/dist/types/ChoiceMenuOptionsType.js.map +1 -1
  327. package/dist/types/ChoiceMenuOptionsType.mjs +1 -1
  328. package/dist/types/ChoiceMenuOptionsType.mjs.map +1 -1
  329. package/dist/types/CloseType.js +1 -1
  330. package/dist/types/CloseType.js.map +1 -1
  331. package/dist/types/CloseType.mjs +1 -1
  332. package/dist/types/CloseType.mjs.map +1 -1
  333. package/dist/types/EventIdType.js +1 -1
  334. package/dist/types/EventIdType.js.map +1 -1
  335. package/dist/types/EventIdType.mjs +1 -1
  336. package/dist/types/EventIdType.mjs.map +1 -1
  337. package/dist/types/HistoryChoiceMenuOption.js +1 -1
  338. package/dist/types/HistoryChoiceMenuOption.js.map +1 -1
  339. package/dist/types/HistoryChoiceMenuOption.mjs +1 -1
  340. package/dist/types/HistoryChoiceMenuOption.mjs.map +1 -1
  341. package/dist/types/LabelIdType.js +1 -1
  342. package/dist/types/LabelIdType.js.map +1 -1
  343. package/dist/types/LabelIdType.mjs +1 -1
  344. package/dist/types/LabelIdType.mjs.map +1 -1
  345. package/dist/types/LabelRunModeType.js +1 -1
  346. package/dist/types/LabelRunModeType.js.map +1 -1
  347. package/dist/types/LabelRunModeType.mjs +1 -1
  348. package/dist/types/LabelRunModeType.mjs.map +1 -1
  349. package/dist/types/PauseType.js +1 -1
  350. package/dist/types/PauseType.js.map +1 -1
  351. package/dist/types/PauseType.mjs +1 -1
  352. package/dist/types/PauseType.mjs.map +1 -1
  353. package/dist/types/RepeatType.js +1 -1
  354. package/dist/types/RepeatType.js.map +1 -1
  355. package/dist/types/RepeatType.mjs +1 -1
  356. package/dist/types/RepeatType.mjs.map +1 -1
  357. package/dist/types/StepHistoryDataType.js +1 -1
  358. package/dist/types/StepHistoryDataType.js.map +1 -1
  359. package/dist/types/StepHistoryDataType.mjs +1 -1
  360. package/dist/types/StepHistoryDataType.mjs.map +1 -1
  361. package/dist/types/StepLabelType.js +1 -1
  362. package/dist/types/StepLabelType.js.map +1 -1
  363. package/dist/types/StepLabelType.mjs +1 -1
  364. package/dist/types/StepLabelType.mjs.map +1 -1
  365. package/dist/types/StorageElementType.js +1 -1
  366. package/dist/types/StorageElementType.js.map +1 -1
  367. package/dist/types/StorageElementType.mjs +1 -1
  368. package/dist/types/StorageElementType.mjs.map +1 -1
  369. package/dist/types/TickerIdType.js +1 -1
  370. package/dist/types/TickerIdType.js.map +1 -1
  371. package/dist/types/TickerIdType.mjs +1 -1
  372. package/dist/types/TickerIdType.mjs.map +1 -1
  373. package/dist/types/index.js +1 -1
  374. package/dist/types/index.js.map +1 -1
  375. package/dist/types/index.mjs +1 -1
  376. package/dist/types/index.mjs.map +1 -1
  377. package/dist/types/ticker/FadeAlphaTickerProps.js +1 -1
  378. package/dist/types/ticker/FadeAlphaTickerProps.js.map +1 -1
  379. package/dist/types/ticker/FadeAlphaTickerProps.mjs +1 -1
  380. package/dist/types/ticker/FadeAlphaTickerProps.mjs.map +1 -1
  381. package/dist/types/ticker/MoveTickerProps.js +1 -1
  382. package/dist/types/ticker/MoveTickerProps.js.map +1 -1
  383. package/dist/types/ticker/MoveTickerProps.mjs +1 -1
  384. package/dist/types/ticker/MoveTickerProps.mjs.map +1 -1
  385. package/dist/types/ticker/RotateTickerProps.js +1 -1
  386. package/dist/types/ticker/RotateTickerProps.js.map +1 -1
  387. package/dist/types/ticker/RotateTickerProps.mjs +1 -1
  388. package/dist/types/ticker/RotateTickerProps.mjs.map +1 -1
  389. package/dist/types/ticker/TagToRemoveAfterType.js +1 -1
  390. package/dist/types/ticker/TagToRemoveAfterType.js.map +1 -1
  391. package/dist/types/ticker/TagToRemoveAfterType.mjs +1 -1
  392. package/dist/types/ticker/TagToRemoveAfterType.mjs.map +1 -1
  393. package/dist/types/ticker/ZoomTickerProps.js +1 -1
  394. package/dist/types/ticker/ZoomTickerProps.js.map +1 -1
  395. package/dist/types/ticker/ZoomTickerProps.mjs +1 -1
  396. package/dist/types/ticker/ZoomTickerProps.mjs.map +1 -1
  397. package/dist/types/ticker/index.js +1 -1
  398. package/dist/types/ticker/index.js.map +1 -1
  399. package/dist/types/ticker/index.mjs +1 -1
  400. package/dist/types/ticker/index.mjs.map +1 -1
  401. package/package.json +4 -4
  402. package/dist/labels/TickerTestLabel.d.mts +0 -9
  403. package/dist/labels/TickerTestLabel.d.ts +0 -9
  404. package/dist/labels/TickerTestLabel.js +0 -2675
  405. package/dist/labels/TickerTestLabel.js.map +0 -1
  406. package/dist/labels/TickerTestLabel.mjs +0 -2669
  407. package/dist/labels/TickerTestLabel.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { Sprite, Container, Application, Assets, FillGradient, Color, TextStyle, Text, Texture } from 'pixi.js';
2
- import 'deep-diff';
2
+ import { diff } from 'deep-diff';
3
3
  import sha1 from 'crypto-js/sha1';
4
4
 
5
5
  var __defProp = Object.defineProperty;
@@ -71,17 +71,19 @@ function getTexture(imageUrl) {
71
71
  });
72
72
  });
73
73
  }
74
- function getTextStyle(style) {
75
- let fill = style.fill;
76
- if (fill instanceof Object) {
77
- console.warn("[Pixi'VN] CanvasText.style.fill is a FillGradient or FillPattern, this is not supported yet.", fill);
78
- fill = "#00FF00";
74
+ function getFillGradientFillPattern(prop, propName) {
75
+ if (!(prop instanceof Object)) {
76
+ return prop;
79
77
  }
78
+ console.warn(`[Pixi'VN] CanvasText.style.${propName} is a FillGradient or FillPattern, this is not supported yet.`, prop);
79
+ return void 0;
80
+ }
81
+ function getTextStyle(style) {
80
82
  return {
81
83
  align: style.align,
82
84
  breakWords: style.breakWords,
83
85
  dropShadow: style.dropShadow,
84
- fill,
86
+ fill: getFillGradientFillPattern(style.stroke, "fill"),
85
87
  fontFamily: style.fontFamily,
86
88
  fontSize: style.fontSize,
87
89
  fontStyle: style.fontStyle,
@@ -91,7 +93,7 @@ function getTextStyle(style) {
91
93
  letterSpacing: style.letterSpacing,
92
94
  lineHeight: style.lineHeight,
93
95
  padding: style.padding,
94
- stroke: style.stroke,
96
+ stroke: getFillGradientFillPattern(style.stroke, "stroke"),
95
97
  textBaseline: style.textBaseline,
96
98
  trim: style.trim,
97
99
  whiteSpace: style.whiteSpace,
@@ -138,7 +140,7 @@ var CanvasSprite = class _CanvasSprite extends Sprite {
138
140
  super(options);
139
141
  this.pixivnId = CANVAS_SPRITE_ID;
140
142
  this._onEvents = {};
141
- this.pixivnId = this.constructor.prototype.pixivnId;
143
+ this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_SPRITE_ID;
142
144
  }
143
145
  get memory() {
144
146
  return getMemorySprite(this);
@@ -294,7 +296,7 @@ var CanvasText = class extends Text {
294
296
  super(options);
295
297
  this.pixivnId = CANVAS_TEXT_ID;
296
298
  this._onEvents = {};
297
- this.pixivnId = this.constructor.prototype.pixivnId;
299
+ this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_TEXT_ID;
298
300
  }
299
301
  get memory() {
300
302
  return getMemoryText(this);
@@ -446,7 +448,7 @@ var CanvasContainer = class extends Container {
446
448
  constructor(options) {
447
449
  super(options);
448
450
  this.pixivnId = CANVAS_CONTAINER_ID;
449
- this.pixivnId = this.constructor.prototype.pixivnId;
451
+ this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_CONTAINER_ID;
450
452
  }
451
453
  get memory() {
452
454
  let memory = getMemoryContainer(this);
@@ -484,7 +486,6 @@ function getMemoryContainer(element) {
484
486
  position: { x: element.position.x, y: element.position.y },
485
487
  skew: { x: element.skew.x, y: element.skew.y },
486
488
  visible: element.visible,
487
- culled: element.culled,
488
489
  x: element.x,
489
490
  y: element.y,
490
491
  boundsArea: element.boundsArea,
@@ -522,7 +523,6 @@ function setMemoryContainer(element, memory) {
522
523
  memory.position && element.position.set(memory.position.x, memory.position.y);
523
524
  memory.skew && element.skew.set(memory.skew.x, memory.skew.y);
524
525
  memory.visible && (element.visible = memory.visible);
525
- memory.culled && (element.culled = memory.culled);
526
526
  memory.x && (element.x = memory.x);
527
527
  memory.y && (element.y = memory.y);
528
528
  memory.boundsArea && (element.boundsArea = memory.boundsArea);
@@ -532,6 +532,23 @@ function setMemoryContainer(element, memory) {
532
532
  memory.interactiveChildren && (element.interactiveChildren = memory.interactiveChildren);
533
533
  memory.hitArea && (element.hitArea = memory.hitArea);
534
534
  }
535
+
536
+ // src/decorators/CharacterDecorator.ts
537
+ var registeredCharacters = {};
538
+ function saveCharacter(character) {
539
+ if (Array.isArray(character)) {
540
+ character.forEach((c) => saveCharacter(c));
541
+ return;
542
+ }
543
+ if (registeredCharacters[character.id]) {
544
+ console.info(`[Pixi'VN] Character id ${character.id} already exists, it will be overwritten`);
545
+ }
546
+ registeredCharacters[character.id] = character;
547
+ }
548
+ function getStepSha1(step) {
549
+ let sha1String = sha1(step.toString().toLocaleLowerCase());
550
+ return sha1String.toString();
551
+ }
535
552
  function checkIfStepsIsEqual(step1, step2) {
536
553
  return step1 === step2;
537
554
  }
@@ -602,8 +619,70 @@ var Label = class {
602
619
  return this._choiseIndex;
603
620
  }
604
621
  };
605
- function clearDialogue() {
606
- GameStorageManager.setVariable(GameStorageManager.keysSystem.CURRENT_DIALOGUE_MEMORY_KEY, void 0);
622
+
623
+ // src/classes/CloseLabel.ts
624
+ var CLOSE_LABEL_ID = "__close-label-id__";
625
+ function newCloseLabel(choiseIndex) {
626
+ return new Label(CLOSE_LABEL_ID, [], void 0, choiseIndex);
627
+ }
628
+
629
+ // src/types/CloseType.ts
630
+ var Close = "close";
631
+
632
+ // src/functions/DialogueUtility.ts
633
+ function setDialogue(props) {
634
+ let text = "";
635
+ let character = void 0;
636
+ let dialogue;
637
+ if (typeof props === "string") {
638
+ text = props;
639
+ dialogue = new DialogueBaseModel(text, character);
640
+ } else if (!(props instanceof DialogueBaseModel)) {
641
+ text = props.text;
642
+ if (props.character) {
643
+ if (typeof props.character === "string") {
644
+ character = props.character;
645
+ } else {
646
+ character = props.character.id;
647
+ }
648
+ }
649
+ dialogue = new DialogueBaseModel(text, character);
650
+ } else {
651
+ dialogue = props;
652
+ }
653
+ GameStorageManager.setVariable(GameStorageManager.keysSystem.CURRENT_DIALOGUE_MEMORY_KEY, dialogue);
654
+ GameStorageManager.setVariable(GameStorageManager.keysSystem.LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY, GameStepManager.lastStepIndex);
655
+ }
656
+ function getDialogue() {
657
+ return GameStorageManager.getVariable(GameStorageManager.keysSystem.CURRENT_DIALOGUE_MEMORY_KEY);
658
+ }
659
+ function getChoiceMenuOptions() {
660
+ let d = GameStorageManager.getVariable(GameStorageManager.keysSystem.CURRENT_MENU_OPTIONS_MEMORY_KEY);
661
+ if (d) {
662
+ let options = [];
663
+ d.forEach((option, index) => {
664
+ if (option.type === Close) {
665
+ let itemLabel = newCloseLabel(index);
666
+ options.push({
667
+ text: option.text,
668
+ label: itemLabel,
669
+ type: Close,
670
+ closeCurrentLabel: option.closeCurrentLabel,
671
+ props: {}
672
+ });
673
+ return;
674
+ }
675
+ let label = getLabelById(option.label);
676
+ if (label) {
677
+ let itemLabel = new Label(label.id, label.steps, label.onStepRun, index);
678
+ options.push(__spreadProps(__spreadValues({}, option), {
679
+ label: itemLabel
680
+ }));
681
+ }
682
+ });
683
+ return options;
684
+ }
685
+ return void 0;
607
686
  }
608
687
 
609
688
  // src/functions/TickerUtility.ts
@@ -789,6 +868,47 @@ function createExportableElement(element) {
789
868
  }
790
869
  }
791
870
 
871
+ // src/functions/DiffUtility.ts
872
+ function restoreDeepDiffChanges(data, differences) {
873
+ let result = createExportableElement(data);
874
+ differences.forEach((diff2) => {
875
+ let dataToEdit = result;
876
+ if (diff2.path && diff2.path.length > 0) {
877
+ diff2.path.forEach((path, index) => {
878
+ if (diff2.path && index === diff2.path.length - 1) {
879
+ if (diff2.kind === "E" || diff2.kind === "D") {
880
+ dataToEdit[path] = diff2.lhs;
881
+ } else if (diff2.kind === "N") {
882
+ if (Number.isInteger(path)) {
883
+ if (Array.isArray(dataToEdit)) {
884
+ dataToEdit.splice(path, 1);
885
+ }
886
+ } else if (typeof path === "string") {
887
+ delete dataToEdit[path];
888
+ }
889
+ } else if (diff2.kind === "A") {
890
+ let index2 = diff2.index;
891
+ if (diff2.item.kind === "N") {
892
+ dataToEdit[path].splice(index2, 1);
893
+ } else if (diff2.item.kind === "E" || diff2.item.kind === "D") {
894
+ dataToEdit[path][index2] = diff2.item.lhs;
895
+ } else if (diff2.item.kind === "A") {
896
+ console.warn("[Pixi'VN] Nested array found, skipping diff", diff2);
897
+ } else {
898
+ console.warn("[Pixi'VN] No array found, skipping diff", diff2);
899
+ }
900
+ }
901
+ } else {
902
+ dataToEdit = dataToEdit[path];
903
+ }
904
+ });
905
+ } else {
906
+ console.warn("[Pixi'VN] No path found, skipping diff", diff2);
907
+ }
908
+ });
909
+ return result;
910
+ }
911
+
792
912
  // src/managers/StorageManager.ts
793
913
  var _GameStorageManager = class _GameStorageManager {
794
914
  constructor() {
@@ -969,7 +1089,7 @@ var _GameWindowManager = class _GameWindowManager {
969
1089
  height
970
1090
  }, options)).then(() => {
971
1091
  _GameWindowManager._isInitialized = true;
972
- this.addCanvasIntoElement(element);
1092
+ this.addCanvasIntoHTMLElement(element);
973
1093
  window.addEventListener("resize", _GameWindowManager.resize);
974
1094
  _GameWindowManager.resize();
975
1095
  asciiArtLog();
@@ -980,7 +1100,7 @@ var _GameWindowManager = class _GameWindowManager {
980
1100
  * Add the canvas into a html element.
981
1101
  * @param element it is the html element where I will put the canvas. Example: document.body
982
1102
  */
983
- static addCanvasIntoElement(element) {
1103
+ static addCanvasIntoHTMLElement(element) {
984
1104
  if (_GameWindowManager.isInitialized) {
985
1105
  element.appendChild(_GameWindowManager.app.canvas);
986
1106
  } else {
@@ -1638,6 +1758,752 @@ _GameWindowManager._currentTickersSteps = {};
1638
1758
  _GameWindowManager._currentTickersTimeouts = {};
1639
1759
  var GameWindowManager = _GameWindowManager;
1640
1760
 
1761
+ // src/managers/StepManager.ts
1762
+ var _GameStepManager = class _GameStepManager {
1763
+ constructor() {
1764
+ }
1765
+ static get stepsHistory() {
1766
+ return _GameStepManager._stepsHistory;
1767
+ }
1768
+ /**
1769
+ * lastStepIndex is the last step index that occurred during the progression of the steps. **Not is the length of the stepsHistory - 1.**
1770
+ */
1771
+ static get lastStepIndex() {
1772
+ return _GameStepManager._lastStepIndex;
1773
+ }
1774
+ /**
1775
+ * Increase the last step index that occurred during the progression of the steps.
1776
+ */
1777
+ static increaseLastStepIndex() {
1778
+ _GameStepManager._lastStepIndex++;
1779
+ }
1780
+ static get openedLabels() {
1781
+ return _GameStepManager._openedLabels;
1782
+ }
1783
+ /**
1784
+ * currentLabelId is the current label id that occurred during the progression of the steps.
1785
+ */
1786
+ static get currentLabelId() {
1787
+ if (_GameStepManager._openedLabels.length > 0) {
1788
+ let item = _GameStepManager._openedLabels[_GameStepManager._openedLabels.length - 1];
1789
+ return item.label;
1790
+ }
1791
+ return void 0;
1792
+ }
1793
+ /**
1794
+ * currentLabel is the current label that occurred during the progression of the steps.
1795
+ */
1796
+ static get currentLabel() {
1797
+ if (_GameStepManager.currentLabelId) {
1798
+ return getLabelById(_GameStepManager.currentLabelId);
1799
+ }
1800
+ }
1801
+ static get currentLabelStepIndex() {
1802
+ if (_GameStepManager._openedLabels.length > 0) {
1803
+ let item = _GameStepManager._openedLabels[_GameStepManager._openedLabels.length - 1];
1804
+ return item.currentStepIndex;
1805
+ }
1806
+ return null;
1807
+ }
1808
+ /**
1809
+ * lastHistoryStep is the last history step that occurred during the progression of the steps.
1810
+ */
1811
+ static get lastHistoryStep() {
1812
+ if (_GameStepManager._stepsHistory.length > 0) {
1813
+ return _GameStepManager._stepsHistory[_GameStepManager._stepsHistory.length - 1];
1814
+ }
1815
+ return null;
1816
+ }
1817
+ static get originalStepData() {
1818
+ if (!_GameStepManager._originalStepData) {
1819
+ return {
1820
+ path: "",
1821
+ storage: {},
1822
+ canvas: {
1823
+ childrenTagsOrder: [],
1824
+ currentElements: {},
1825
+ currentTickers: {},
1826
+ currentTickersSteps: {}
1827
+ },
1828
+ labelIndex: -1,
1829
+ openedLabels: []
1830
+ };
1831
+ }
1832
+ return createExportableElement(_GameStepManager._originalStepData);
1833
+ }
1834
+ static set originalStepData(value) {
1835
+ _GameStepManager._originalStepData = createExportableElement(value);
1836
+ }
1837
+ /* Edit History Methods */
1838
+ /**
1839
+ * Add a label to the history.
1840
+ * @param label The label to add to the history.
1841
+ */
1842
+ static addStepHistory(step, choiseMade) {
1843
+ let stepHistory = getStepSha1(step);
1844
+ let historyStep = {
1845
+ path: window.location.pathname,
1846
+ storage: GameStorageManager.export(),
1847
+ canvas: GameWindowManager.export(),
1848
+ labelIndex: _GameStepManager.currentLabelStepIndex || 0,
1849
+ openedLabels: createExportableElement(_GameStepManager._openedLabels)
1850
+ };
1851
+ if (_GameStepManager.originalStepData) {
1852
+ if (_GameStepManager.originalStepData.openedLabels.length === historyStep.openedLabels.length) {
1853
+ try {
1854
+ let lastStepDataOpenedLabelsString = JSON.stringify(_GameStepManager.originalStepData.openedLabels);
1855
+ let historyStepOpenedLabelsString = JSON.stringify(historyStep.openedLabels);
1856
+ if (lastStepDataOpenedLabelsString === historyStepOpenedLabelsString && _GameStepManager.originalStepData.path === historyStep.path && _GameStepManager.originalStepData.labelIndex === historyStep.labelIndex) {
1857
+ return;
1858
+ }
1859
+ } catch (e) {
1860
+ console.error("[Pixi'VN] Error comparing openedLabels", e);
1861
+ }
1862
+ }
1863
+ }
1864
+ let data = diff(_GameStepManager.originalStepData, historyStep);
1865
+ if (data) {
1866
+ let dialoge = void 0;
1867
+ let requiredChoices = void 0;
1868
+ if (GameStorageManager.getVariable(GameStorageManager.keysSystem.LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY) === _GameStepManager.lastStepIndex) {
1869
+ dialoge = getDialogue();
1870
+ }
1871
+ if (GameStorageManager.getVariable(GameStorageManager.keysSystem.LAST_MENU_OPTIONS_ADDED_IN_STEP_MEMORY_KEY) === _GameStepManager.lastStepIndex) {
1872
+ requiredChoices = GameStorageManager.getVariable(GameStorageManager.keysSystem.CURRENT_MENU_OPTIONS_MEMORY_KEY);
1873
+ }
1874
+ _GameStepManager._stepsHistory.push({
1875
+ diff: data,
1876
+ currentLabel: _GameStepManager.currentLabelId,
1877
+ dialoge,
1878
+ choices: requiredChoices,
1879
+ stepSha1: stepHistory,
1880
+ index: _GameStepManager.lastStepIndex,
1881
+ choiceIndexMade: choiseMade
1882
+ });
1883
+ _GameStepManager.originalStepData = historyStep;
1884
+ }
1885
+ _GameStepManager.increaseLastStepIndex();
1886
+ }
1887
+ /**
1888
+ * Add a label to the history.
1889
+ * @param label The label to add to the history.
1890
+ */
1891
+ static pushNewLabel(label) {
1892
+ let currentLabel = getLabelById(label);
1893
+ if (!currentLabel) {
1894
+ throw new Error(`[Pixi'VN] Label ${label} not found`);
1895
+ }
1896
+ _GameStepManager._openedLabels.push({
1897
+ label,
1898
+ currentStepIndex: 0
1899
+ });
1900
+ }
1901
+ /**
1902
+ * Close the current label and add it to the history.
1903
+ * @returns
1904
+ */
1905
+ static closeCurrentLabel() {
1906
+ if (!_GameStepManager.currentLabelId) {
1907
+ console.warn("[Pixi'VN] No label to close");
1908
+ return;
1909
+ }
1910
+ if (!_GameStepManager.currentLabel) {
1911
+ console.error("[Pixi'VN] currentLabel not found");
1912
+ return;
1913
+ }
1914
+ _GameStepManager._openedLabels.pop();
1915
+ }
1916
+ /**
1917
+ * Close all labels and add them to the history. **Attention: This method can cause an unhandled game ending.**
1918
+ */
1919
+ static closeAllLabels() {
1920
+ while (_GameStepManager._openedLabels.length > 0) {
1921
+ _GameStepManager.closeCurrentLabel();
1922
+ }
1923
+ }
1924
+ /**
1925
+ * Increase the current step index of the current label.
1926
+ */
1927
+ static increaseCurrentStepIndex() {
1928
+ let item = _GameStepManager._openedLabels[_GameStepManager._openedLabels.length - 1];
1929
+ _GameStepManager._openedLabels[_GameStepManager._openedLabels.length - 1] = __spreadProps(__spreadValues({}, item), {
1930
+ currentStepIndex: item.currentStepIndex + 1
1931
+ });
1932
+ }
1933
+ static restorLastLabelList() {
1934
+ _GameStepManager._openedLabels = _GameStepManager.originalStepData.openedLabels;
1935
+ }
1936
+ /* Run Methods */
1937
+ static get canGoNext() {
1938
+ let options = getChoiceMenuOptions();
1939
+ if (options && options.length > 0) {
1940
+ return false;
1941
+ }
1942
+ return true;
1943
+ }
1944
+ /**
1945
+ * Execute the next step and add it to the history.
1946
+ * @param props The props to pass to the step.
1947
+ * @param choiseMade The index of the choise made by the player. (This params is used in the choice menu)
1948
+ * @returns StepLabelResultType or undefined.
1949
+ * @example
1950
+ * ```typescript
1951
+ * function nextOnClick() {
1952
+ * setLoading(true)
1953
+ * GameStepManager.goNext(yourParams)
1954
+ * .then((result) => {
1955
+ * setUpdate((p) => p + 1)
1956
+ * setLoading(false)
1957
+ * if (result) {
1958
+ * // your code
1959
+ * }
1960
+ * })
1961
+ * .catch((e) => {
1962
+ * setLoading(false)
1963
+ * console.error(e)
1964
+ * })
1965
+ * }
1966
+ * ```
1967
+ */
1968
+ static goNext(props, choiseMade) {
1969
+ return __async(this, null, function* () {
1970
+ if (!_GameStepManager.canGoNext) {
1971
+ console.warn("[Pixi'VN] The player must make a choice");
1972
+ return;
1973
+ }
1974
+ _GameStepManager.increaseCurrentStepIndex();
1975
+ return yield _GameStepManager.runCurrentStep(props, choiseMade);
1976
+ });
1977
+ }
1978
+ /**
1979
+ * Execute the current step and add it to the history.
1980
+ * @param props The props to pass to the step.
1981
+ * @param choiseMade The choise made by the player.
1982
+ * @returns StepLabelResultType or undefined.
1983
+ */
1984
+ static runCurrentStep(props, choiseMade) {
1985
+ return __async(this, null, function* () {
1986
+ if (_GameStepManager.currentLabelId) {
1987
+ let currentLabelStepIndex = _GameStepManager.currentLabelStepIndex;
1988
+ if (currentLabelStepIndex === null) {
1989
+ console.error("[Pixi'VN] currentLabelStepIndex is null");
1990
+ return;
1991
+ }
1992
+ let currentLabel = _GameStepManager.currentLabel;
1993
+ if (!currentLabel) {
1994
+ console.error("[Pixi'VN] currentLabel not found");
1995
+ return;
1996
+ }
1997
+ if (currentLabel.steps.length > currentLabelStepIndex) {
1998
+ let step = currentLabel.steps[currentLabelStepIndex];
1999
+ let result = yield step(props);
2000
+ _GameStepManager.addStepHistory(step, choiseMade);
2001
+ return result;
2002
+ } else if (_GameStepManager.openedLabels.length > 1) {
2003
+ _GameStepManager.closeCurrentLabel();
2004
+ return yield _GameStepManager.goNext(props, choiseMade);
2005
+ } else {
2006
+ _GameStepManager.restorLastLabelList();
2007
+ console.error("[Pixi'VN] The end of the game is not managed, so the game is blocked. Read this documentation to know how to manage the end of the game: https://pixi-vn.web.app/start/labels.html#how-manage-the-end-of-the-game");
2008
+ return;
2009
+ }
2010
+ }
2011
+ });
2012
+ }
2013
+ /**
2014
+ * Execute the label and add it to the history. (It's similar to Ren'Py's call function)
2015
+ * @param label The label to execute or the id of the label
2016
+ * @param props The props to pass to the label.
2017
+ * @returns StepLabelResultType or undefined.
2018
+ * @example
2019
+ * ```typescript
2020
+ * GameStepManager.callLabel(startLabel, yourParams).then((result) => {
2021
+ * if (result) {
2022
+ * // your code
2023
+ * }
2024
+ * })
2025
+ * ```
2026
+ * @example
2027
+ * ```typescript
2028
+ * // if you use it in a step label you should return the result.
2029
+ * return GameStepManager.callLabel(startLabel).then((result) => {
2030
+ * return result
2031
+ * })
2032
+ * ```
2033
+ */
2034
+ static callLabel(label, props) {
2035
+ return __async(this, null, function* () {
2036
+ let choiseMade = void 0;
2037
+ let labelId;
2038
+ if (typeof label === "string") {
2039
+ labelId = label;
2040
+ } else {
2041
+ labelId = label.id;
2042
+ if (typeof label.choiseIndex === "number") {
2043
+ choiseMade = label.choiseIndex;
2044
+ }
2045
+ }
2046
+ try {
2047
+ if (labelId === CLOSE_LABEL_ID) {
2048
+ let closeCurrentLabel = newCloseLabel(choiseMade);
2049
+ let choice = {
2050
+ label: closeCurrentLabel,
2051
+ text: "",
2052
+ closeCurrentLabel: false,
2053
+ type: "close",
2054
+ props: {}
2055
+ };
2056
+ return _GameStepManager.closeChoiceMenu(choice, props);
2057
+ }
2058
+ let tempLabel = getLabelById(labelId);
2059
+ if (!tempLabel) {
2060
+ throw new Error(`[Pixi'VN] Label ${labelId} not found`);
2061
+ }
2062
+ _GameStepManager.pushNewLabel(tempLabel.id);
2063
+ } catch (e) {
2064
+ console.error("[Pixi'VN] Error calling label", e);
2065
+ return;
2066
+ }
2067
+ return yield _GameStepManager.runCurrentStep(props, choiseMade);
2068
+ });
2069
+ }
2070
+ /**
2071
+ * Execute the label, close the current label, execute the new label and add the new label to the history. (It's similar to Ren'Py's jump function)
2072
+ * @param label The label to execute.
2073
+ * @param props The props to pass to the label or the id of the label
2074
+ * @returns StepLabelResultType or undefined.
2075
+ * @example
2076
+ * ```typescript
2077
+ * GameStepManager.jumpLabel(startLabel, yourParams).then((result) => {
2078
+ * if (result) {
2079
+ * // your code
2080
+ * }
2081
+ * })
2082
+ * ```
2083
+ * @example
2084
+ * ```typescript
2085
+ * // if you use it in a step label you should return the result.
2086
+ * return GameStepManager.jumpLabel(startLabel).then((result) => {
2087
+ * return result
2088
+ * })
2089
+ * ```
2090
+ */
2091
+ static jumpLabel(label, props) {
2092
+ return __async(this, null, function* () {
2093
+ _GameStepManager.closeCurrentLabel();
2094
+ let choiseMade = void 0;
2095
+ let labelId;
2096
+ if (typeof label === "string") {
2097
+ labelId = label;
2098
+ } else {
2099
+ labelId = label.id;
2100
+ if (typeof label.choiseIndex === "number") {
2101
+ choiseMade = label.choiseIndex;
2102
+ }
2103
+ }
2104
+ try {
2105
+ if (labelId === CLOSE_LABEL_ID) {
2106
+ let closeCurrentLabel = newCloseLabel(choiseMade);
2107
+ let choice = {
2108
+ label: closeCurrentLabel,
2109
+ text: "",
2110
+ closeCurrentLabel: false,
2111
+ type: "close",
2112
+ props: {}
2113
+ };
2114
+ return _GameStepManager.closeChoiceMenu(choice, props);
2115
+ }
2116
+ let tempLabel = getLabelById(labelId);
2117
+ if (!tempLabel) {
2118
+ throw new Error(`[Pixi'VN] Label ${labelId} not found`);
2119
+ }
2120
+ _GameStepManager.pushNewLabel(tempLabel.id);
2121
+ } catch (e) {
2122
+ console.error("[Pixi'VN] Error jumping label", e);
2123
+ return;
2124
+ }
2125
+ return yield _GameStepManager.runCurrentStep(props, choiseMade);
2126
+ });
2127
+ }
2128
+ /**
2129
+ * When the player is in a choice menu, can use this function to exit to the choice menu.
2130
+ * @param choice
2131
+ * @param props
2132
+ * @returns StepLabelResultType or undefined.
2133
+ * @example
2134
+ * ```typescript
2135
+ * GameStepManager.closeChoiceMenu(yourParams).then((result) => {
2136
+ * if (result) {
2137
+ * // your code
2138
+ * }
2139
+ * })
2140
+ * ```
2141
+ */
2142
+ static closeChoiceMenu(choice, props) {
2143
+ return __async(this, null, function* () {
2144
+ let label = choice.label;
2145
+ let choiseMade = void 0;
2146
+ if (typeof label.choiseIndex === "number") {
2147
+ choiseMade = label.choiseIndex;
2148
+ }
2149
+ if (choice.closeCurrentLabel) {
2150
+ _GameStepManager.closeCurrentLabel();
2151
+ }
2152
+ return _GameStepManager.goNext(props, choiseMade);
2153
+ });
2154
+ }
2155
+ /* After Update Methods */
2156
+ // /**
2157
+ // * After the update or code edit, some steps or labels may no longer match.
2158
+ // * - In case of step mismatch, the game will be updated to the last matching step.
2159
+ // * - In case of label mismatch, the game gives an error.
2160
+ // * @returns
2161
+ // */
2162
+ // private static afterUpdate() {
2163
+ // // TODO: implement
2164
+ // if (!GameStepManager.currentLabel) {
2165
+ // // TODO: implement
2166
+ // return
2167
+ // }
2168
+ // let currentLabel = getLabelInstanceByClassName(GameStepManager.currentLabel)
2169
+ // if (!currentLabel) {
2170
+ // console.error("Label not found")
2171
+ // return
2172
+ // }
2173
+ // let oldSteps = GameStepManager.stepsAfterLastHistoryLabel
2174
+ // let currentStepIndex = currentLabel.getCorrespondingStepsNumber(oldSteps)
2175
+ // let stepToRemove = oldSteps.length - currentStepIndex
2176
+ // GameStepManager.removeLastHistoryNodes(stepToRemove)
2177
+ // GameStepManager.loadLastStep()
2178
+ // }
2179
+ // private static loadLastStep() {
2180
+ // // TODO: implement
2181
+ // }
2182
+ // /**
2183
+ // * Remove a number of items from the last of the history.
2184
+ // * @param itemNumber The number of items to remove from the last of the history.
2185
+ // */
2186
+ // private static removeLastHistoryNodes(itemNumber: number) {
2187
+ // // TODO: implement
2188
+ // for (let i = 0; i < itemNumber; i++) {
2189
+ // GameStepManager._stepsHistory.pop()
2190
+ // }
2191
+ // }
2192
+ // /**
2193
+ // * stepsAfterLastHistoryLabel is a list of steps that occurred after the last history label.
2194
+ // */
2195
+ // private static get stepsAfterLastHistoryLabel(): StepHistoryDataType[] {
2196
+ // let length = GameStepManager._stepsHistory.length
2197
+ // let steps: StepHistoryDataType[] = []
2198
+ // for (let i = length - 1; i >= 0; i--) {
2199
+ // let element = GameStepManager._stepsHistory[i]
2200
+ // if (typeof element === "object" && "stepSha1" in element) {
2201
+ // steps.push(element.stepSha1)
2202
+ // }
2203
+ // else {
2204
+ // break
2205
+ // }
2206
+ // }
2207
+ // steps = steps.reverse()
2208
+ // return steps
2209
+ // }
2210
+ /* Go Back & Refresh Methods */
2211
+ /**
2212
+ * Go back to the last step and add it to the history.
2213
+ * @param navigate The navigate function.
2214
+ * @param steps The number of steps to go back.
2215
+ * @returns
2216
+ * @example
2217
+ * ```typescript
2218
+ * export function goBack(navigate: (path: string) => void, afterBack?: () => void) {
2219
+ * GameStepManager.goBack(navigate)
2220
+ * afterBack && afterBack()
2221
+ * }
2222
+ * ```
2223
+ */
2224
+ static goBack(navigate, steps = 1) {
2225
+ if (steps <= 0) {
2226
+ console.warn("[Pixi'VN] Steps must be greater than 0");
2227
+ return;
2228
+ }
2229
+ if (_GameStepManager._stepsHistory.length <= 1) {
2230
+ console.warn("[Pixi'VN] No steps to go back");
2231
+ return;
2232
+ }
2233
+ let restoredStep = _GameStepManager.goBackInternal(steps, _GameStepManager.originalStepData);
2234
+ if (restoredStep) {
2235
+ _GameStepManager._originalStepData = restoredStep;
2236
+ _GameStepManager._openedLabels = createExportableElement(restoredStep.openedLabels);
2237
+ GameStorageManager.import(createExportableElement(restoredStep.storage));
2238
+ GameWindowManager.import(createExportableElement(restoredStep.canvas));
2239
+ navigate(restoredStep.path);
2240
+ } else {
2241
+ console.error("[Pixi'VN] Error going back");
2242
+ }
2243
+ }
2244
+ static goBackInternal(steps, restoredStep) {
2245
+ if (steps <= 0) {
2246
+ return restoredStep;
2247
+ }
2248
+ if (_GameStepManager._stepsHistory.length == 0) {
2249
+ return restoredStep;
2250
+ }
2251
+ let lastHistoryStep = _GameStepManager.lastHistoryStep;
2252
+ if (lastHistoryStep) {
2253
+ try {
2254
+ let result = restoreDeepDiffChanges(restoredStep, lastHistoryStep.diff);
2255
+ _GameStepManager._lastStepIndex = lastHistoryStep.index;
2256
+ _GameStepManager._stepsHistory.pop();
2257
+ return _GameStepManager.goBackInternal(steps - 1, result);
2258
+ } catch (e) {
2259
+ console.error("[Pixi'VN] Error applying diff", e);
2260
+ return restoredStep;
2261
+ }
2262
+ } else {
2263
+ return restoredStep;
2264
+ }
2265
+ }
2266
+ /**
2267
+ * Return true if it is possible to go back.
2268
+ */
2269
+ static get canGoBack() {
2270
+ return _GameStepManager._stepsHistory.length > 1;
2271
+ }
2272
+ /**
2273
+ * Add a label to the history.
2274
+ */
2275
+ static clear() {
2276
+ _GameStepManager._stepsHistory = [];
2277
+ _GameStepManager._openedLabels = [];
2278
+ }
2279
+ /* Export and Import Methods */
2280
+ /**
2281
+ * Export the history to a JSON string.
2282
+ * @returns The history in a JSON string.
2283
+ */
2284
+ static exportJson() {
2285
+ return JSON.stringify(this.export());
2286
+ }
2287
+ /**
2288
+ * Export the history to an object.
2289
+ * @returns The history in an object.
2290
+ */
2291
+ static export() {
2292
+ return {
2293
+ stepsHistory: _GameStepManager._stepsHistory,
2294
+ openedLabels: _GameStepManager._openedLabels,
2295
+ lastStepIndex: _GameStepManager._lastStepIndex,
2296
+ originalStepData: _GameStepManager._originalStepData
2297
+ };
2298
+ }
2299
+ /**
2300
+ * Import the history from a JSON string.
2301
+ * @param dataString The history in a JSON string.
2302
+ */
2303
+ static importJson(dataString) {
2304
+ _GameStepManager.import(JSON.parse(dataString));
2305
+ }
2306
+ /**
2307
+ * Import the history from an object.
2308
+ * @param data The history in an object.
2309
+ */
2310
+ static import(data) {
2311
+ _GameStepManager.clear();
2312
+ try {
2313
+ if (data.hasOwnProperty("stepsHistory")) {
2314
+ _GameStepManager._stepsHistory = data["stepsHistory"];
2315
+ } else {
2316
+ console.warn("[Pixi'VN] Could not import stepsHistory data, so will be ignored");
2317
+ }
2318
+ if (data.hasOwnProperty("openedLabels")) {
2319
+ _GameStepManager._openedLabels = data["openedLabels"];
2320
+ } else {
2321
+ console.warn("[Pixi'VN] Could not import openedLabels data, so will be ignored");
2322
+ }
2323
+ if (data.hasOwnProperty("lastStepIndex")) {
2324
+ _GameStepManager._lastStepIndex = data["lastStepIndex"];
2325
+ } else {
2326
+ console.warn("[Pixi'VN] Could not import lastStepIndex data, so will be ignored");
2327
+ }
2328
+ if (data.hasOwnProperty("originalStepData")) {
2329
+ _GameStepManager._originalStepData = data["originalStepData"];
2330
+ } else {
2331
+ console.warn("[Pixi'VN] Could not import originalStepData data, so will be ignored");
2332
+ }
2333
+ } catch (e) {
2334
+ console.error("[Pixi'VN] Error importing data", e);
2335
+ }
2336
+ }
2337
+ };
2338
+ /**
2339
+ * stepHistory is a list of label events and steps that occurred during the progression of the steps.
2340
+ */
2341
+ _GameStepManager._stepsHistory = [];
2342
+ _GameStepManager._lastStepIndex = 0;
2343
+ _GameStepManager._openedLabels = [];
2344
+ _GameStepManager._originalStepData = void 0;
2345
+ var GameStepManager = _GameStepManager;
2346
+
2347
+ // src/classes/StoredClassModel.ts
2348
+ var StoredClassModel = class {
2349
+ /**
2350
+ * @param categoryId The id of the category. For example if you are storing a character class, you can use "characters" as categoryId. so all instances of the character class will be stored in the "characters" category.
2351
+ * @param id The id of instance of the class. This id must be unique for the category.
2352
+ */
2353
+ constructor(categoryId, id) {
2354
+ this.categoryId = categoryId;
2355
+ this._id = id;
2356
+ }
2357
+ /**
2358
+ * Is id of the stored class. is unique for this class.
2359
+ */
2360
+ get id() {
2361
+ return this._id;
2362
+ }
2363
+ /**
2364
+ * Update a property in the storage.
2365
+ * @param propertyName The name of the property to set.
2366
+ * @param value The value to set. If is undefined, the property will be removed from the storage.
2367
+ */
2368
+ setStorageProperty(propertyName, value) {
2369
+ let storage = GameStorageManager.getVariable(this.categoryId);
2370
+ if (!storage) {
2371
+ storage = {};
2372
+ }
2373
+ if (!storage.hasOwnProperty(this.id)) {
2374
+ storage[this.id] = {};
2375
+ }
2376
+ if (value === void 0 || value === null) {
2377
+ if (storage[this.id].hasOwnProperty(propertyName)) {
2378
+ delete storage[this.id][propertyName];
2379
+ }
2380
+ } else {
2381
+ storage[this.id] = __spreadProps(__spreadValues({}, storage[this.id]), { [propertyName]: value });
2382
+ }
2383
+ if (Object.keys(storage[this.id]).length === 0) {
2384
+ delete storage[this.id];
2385
+ }
2386
+ GameStorageManager.setVariable(this.categoryId, storage);
2387
+ }
2388
+ /**
2389
+ * Get a property from the storage.
2390
+ * @param propertyName The name of the property to get.
2391
+ * @returns The value of the property. If the property is not found, returns undefined.
2392
+ */
2393
+ getStorageProperty(propertyName) {
2394
+ let storage = GameStorageManager.getVariable(this.categoryId);
2395
+ if (storage && storage.hasOwnProperty(this.id) && storage[this.id].hasOwnProperty(propertyName)) {
2396
+ return storage[this.id][propertyName];
2397
+ }
2398
+ return void 0;
2399
+ }
2400
+ };
2401
+
2402
+ // src/classes/CharacterBaseModel.ts
2403
+ var CharacterBaseModel2 = class extends StoredClassModel {
2404
+ /**
2405
+ * @param id The id of the character.
2406
+ * @param props The properties of the character.
2407
+ */
2408
+ constructor(id, props) {
2409
+ super(GameStorageManager.keysSystem.CHARACTER_CATEGORY_KEY, id);
2410
+ this.defaultName = "";
2411
+ this.defaultName = props.name;
2412
+ this.defaultSurname = props.surname;
2413
+ this.defaultAge = props.age;
2414
+ this._icon = props.icon;
2415
+ this._color = props.color;
2416
+ }
2417
+ /***
2418
+ * The name of the character.
2419
+ * If you set undefined, it will return the default name.
2420
+ */
2421
+ get name() {
2422
+ return this.getStorageProperty("name") || this.defaultName;
2423
+ }
2424
+ set name(value) {
2425
+ this.setStorageProperty("name", value);
2426
+ }
2427
+ /**
2428
+ * The surname of the character.
2429
+ * If you set undefined, it will return the default surname.
2430
+ */
2431
+ get surname() {
2432
+ return this.getStorageProperty("surname") || this.defaultSurname;
2433
+ }
2434
+ set surname(value) {
2435
+ this.setStorageProperty("surname", value);
2436
+ }
2437
+ /**
2438
+ * The age of the character.
2439
+ * If you set undefined, it will return the default age.
2440
+ */
2441
+ get age() {
2442
+ return this.getStorageProperty("age") || this.defaultAge;
2443
+ }
2444
+ set age(value) {
2445
+ this.setStorageProperty("age", value);
2446
+ }
2447
+ /**
2448
+ * The icon of the character.
2449
+ */
2450
+ get icon() {
2451
+ return this._icon;
2452
+ }
2453
+ /**
2454
+ * The color of the character.
2455
+ */
2456
+ get color() {
2457
+ return this._color;
2458
+ }
2459
+ };
2460
+
2461
+ // src/classes/DialogueBaseModel.ts
2462
+ var DialogueBaseModel = class {
2463
+ /**
2464
+ * @param text The text of the dialogue.
2465
+ * @param character The id of the character that is speaking.
2466
+ * @param oltherParams Other parameters that can be stored in the dialogue.
2467
+ */
2468
+ constructor(text, character, oltherParams = {}) {
2469
+ /**
2470
+ * The text of the dialogue.
2471
+ */
2472
+ this.text = "";
2473
+ /**
2474
+ * Other parameters that can be stored in the dialogue.
2475
+ */
2476
+ this.oltherParams = {};
2477
+ if (typeof text === "string") {
2478
+ this.text = text;
2479
+ if (typeof character === "string") {
2480
+ this.character = character;
2481
+ } else {
2482
+ this.character = character == null ? void 0 : character.id;
2483
+ }
2484
+ this.oltherParams = oltherParams;
2485
+ } else {
2486
+ this.text = text.text;
2487
+ if (text.character) {
2488
+ this.character = text.character;
2489
+ }
2490
+ this.oltherParams = text.oltherParams || {};
2491
+ }
2492
+ }
2493
+ /**
2494
+ * Export the dialogue to a DialogueBaseData object.
2495
+ *
2496
+ * @returns The data of the dialogue.
2497
+ */
2498
+ export() {
2499
+ return {
2500
+ text: this.text,
2501
+ character: this.character,
2502
+ oltherParams: this.oltherParams
2503
+ };
2504
+ }
2505
+ };
2506
+
1641
2507
  // src/decorators/LabelDecorator.ts
1642
2508
  var registeredLabels = {};
1643
2509
  function newLabel(id, steps, onStepRun) {
@@ -1648,6 +2514,14 @@ function newLabel(id, steps, onStepRun) {
1648
2514
  registeredLabels[id] = label;
1649
2515
  return label;
1650
2516
  }
2517
+ function getLabelById(id) {
2518
+ let label = registeredLabels[id];
2519
+ if (!label) {
2520
+ console.error(`[Pixi'VN] Label ${id} not found`);
2521
+ return;
2522
+ }
2523
+ return label;
2524
+ }
1651
2525
 
1652
2526
  // src/classes/ticker/FadeAlphaTicker.ts
1653
2527
  var FadeAlphaTicker = class extends TickerBase {
@@ -1794,16 +2668,31 @@ RotateTicker = __decorateClass([
1794
2668
  tickerDecorator()
1795
2669
  ], RotateTicker);
1796
2670
 
2671
+ // src/labels/TestConstant.ts
2672
+ var juliette = new CharacterBaseModel2("___pixivn_juliette___", {
2673
+ name: "Juliette",
2674
+ age: 25,
2675
+ icon: "https://firebasestorage.googleapis.com/v0/b/pixi-vn.appspot.com/o/public%2Fcharacters%2Fjuliette-square.webp?alt=media&token=5856ae7b-d99e-4563-86ec-cbc48cc9c6b4",
2676
+ color: "#ac0086"
2677
+ });
2678
+ saveCharacter(juliette);
2679
+ var bunnyImage = "https://pixijs.com/assets/bunny.png";
2680
+
1797
2681
  // src/labels/BaseCanvasElementTestLabel.ts
2682
+ var BASE_CANVAS_ELEMENT_LABEL = "___pixi_vn_base_canvas_element_label___";
1798
2683
  var baseCanvasElementTestLabel = newLabel(
1799
- "BaseCanvasElementTestLabel",
2684
+ BASE_CANVAS_ELEMENT_LABEL,
1800
2685
  [
1801
2686
  () => __async(void 0, null, function* () {
1802
- clearDialogue();
2687
+ let number = 25;
2688
+ setDialogue({
2689
+ character: juliette,
2690
+ text: `Here's what's going to happen: I'm going to create ${number} bunnies (CanvasSprites) and put them in a CanvasContainer.`
2691
+ });
1803
2692
  const container = new CanvasContainer();
1804
2693
  GameWindowManager.addCanvasElement("container", container);
1805
- const texture = yield Assets.load("https://pixijs.com/assets/bunny.png");
1806
- for (let i = 0; i < 25; i++) {
2694
+ const texture = yield Assets.load(bunnyImage);
2695
+ for (let i = 0; i < number; i++) {
1807
2696
  const bunny = new CanvasSprite(texture);
1808
2697
  bunny.x = i % 5 * 40;
1809
2698
  bunny.y = Math.floor(i / 5) * 40;
@@ -1813,10 +2702,15 @@ var baseCanvasElementTestLabel = newLabel(
1813
2702
  container.y = GameWindowManager.screen.height / 2;
1814
2703
  container.pivot.x = container.width / 2;
1815
2704
  container.pivot.y = container.height / 2;
1816
- GameWindowManager.addTicker("container", new RotateTicker({ speed: 0.01 }));
2705
+ GameWindowManager.addTicker("container", new RotateTicker({ speed: 1 }));
1817
2706
  }),
1818
2707
  () => __async(void 0, null, function* () {
1819
2708
  removeCanvasElement("container");
2709
+ setDialogue({
2710
+ character: juliette,
2711
+ text: `Here's what's going to happen: I'm going to create some text elements with different styles and put them on the stage.
2712
+ But it will generate a warn message, because the FillGradient or FillPattern has not yet been supported by the Pixi\u2019VN ( you can see the status of the issue here: [#76](https://github.com/DRincs-Productions/pixi-vn/issues/76)).`
2713
+ });
1820
2714
  const basicText = new CanvasText({ text: "Basic text in pixi" });
1821
2715
  basicText.x = 50;
1822
2716
  basicText.y = 100;
@@ -1878,5 +2772,5 @@ var baseCanvasElementTestLabel = newLabel(
1878
2772
  );
1879
2773
 
1880
2774
  export { baseCanvasElementTestLabel };
1881
- //# sourceMappingURL=out.js.map
2775
+ //# sourceMappingURL=BaseCanvasElementTestLabel.mjs.map
1882
2776
  //# sourceMappingURL=BaseCanvasElementTestLabel.mjs.map