@drincs/pixi-vn 0.4.7 → 0.4.8

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 (513) hide show
  1. package/dist/TickerBase-CFEJHstJ.d.mts +73 -0
  2. package/dist/TickerBase-CjfyD6j5.d.ts +73 -0
  3. package/dist/classes/CanvasEvent.d.mts +24 -0
  4. package/dist/classes/CanvasEvent.d.ts +24 -0
  5. package/dist/classes/CanvasEvent.js +12 -0
  6. package/dist/classes/CanvasEvent.js.map +1 -0
  7. package/dist/classes/CanvasEvent.mjs +10 -0
  8. package/dist/classes/CanvasEvent.mjs.map +1 -0
  9. package/dist/classes/CharacterBaseModel.d.mts +90 -0
  10. package/dist/classes/CharacterBaseModel.d.ts +90 -0
  11. package/dist/classes/CharacterBaseModel.js +1529 -0
  12. package/dist/classes/CharacterBaseModel.js.map +1 -0
  13. package/dist/classes/CharacterBaseModel.mjs +1527 -0
  14. package/dist/classes/CharacterBaseModel.mjs.map +1 -0
  15. package/dist/classes/ChoiceMenuOptionLabel.d.mts +42 -0
  16. package/dist/classes/ChoiceMenuOptionLabel.d.ts +42 -0
  17. package/dist/classes/ChoiceMenuOptionLabel.js +19 -0
  18. package/dist/classes/ChoiceMenuOptionLabel.js.map +1 -0
  19. package/dist/classes/ChoiceMenuOptionLabel.mjs +17 -0
  20. package/dist/classes/ChoiceMenuOptionLabel.mjs.map +1 -0
  21. package/dist/classes/DialogueBaseModel.d.mts +58 -0
  22. package/dist/classes/DialogueBaseModel.d.ts +58 -0
  23. package/dist/classes/DialogueBaseModel.js +51 -0
  24. package/dist/classes/DialogueBaseModel.js.map +1 -0
  25. package/dist/classes/DialogueBaseModel.mjs +49 -0
  26. package/dist/classes/DialogueBaseModel.mjs.map +1 -0
  27. package/dist/classes/Label.d.mts +46 -0
  28. package/dist/classes/Label.d.ts +46 -0
  29. package/dist/classes/Label.js +41 -0
  30. package/dist/classes/Label.js.map +1 -0
  31. package/dist/classes/Label.mjs +39 -0
  32. package/dist/classes/Label.mjs.map +1 -0
  33. package/dist/classes/StoredClassModel.d.mts +55 -0
  34. package/dist/classes/StoredClassModel.d.ts +55 -0
  35. package/dist/classes/StoredClassModel.js +1470 -0
  36. package/dist/classes/StoredClassModel.js.map +1 -0
  37. package/dist/classes/StoredClassModel.mjs +1468 -0
  38. package/dist/classes/StoredClassModel.mjs.map +1 -0
  39. package/dist/classes/canvas/CanvasBase.d.mts +37 -0
  40. package/dist/classes/canvas/CanvasBase.d.ts +37 -0
  41. package/dist/classes/canvas/CanvasBase.js +23 -0
  42. package/dist/classes/canvas/CanvasBase.js.map +1 -0
  43. package/dist/classes/canvas/CanvasBase.mjs +21 -0
  44. package/dist/classes/canvas/CanvasBase.mjs.map +1 -0
  45. package/dist/classes/canvas/CanvasContainer.d.mts +30 -0
  46. package/dist/classes/canvas/CanvasContainer.d.ts +30 -0
  47. package/dist/classes/canvas/CanvasContainer.js +514 -0
  48. package/dist/classes/canvas/CanvasContainer.js.map +1 -0
  49. package/dist/classes/canvas/CanvasContainer.mjs +508 -0
  50. package/dist/classes/canvas/CanvasContainer.mjs.map +1 -0
  51. package/dist/classes/canvas/CanvasImage.d.mts +50 -0
  52. package/dist/classes/canvas/CanvasImage.d.ts +50 -0
  53. package/dist/classes/canvas/CanvasImage.js +326 -0
  54. package/dist/classes/canvas/CanvasImage.js.map +1 -0
  55. package/dist/classes/canvas/CanvasImage.mjs +324 -0
  56. package/dist/classes/canvas/CanvasImage.mjs.map +1 -0
  57. package/dist/classes/canvas/CanvasSprite.d.mts +90 -0
  58. package/dist/classes/canvas/CanvasSprite.d.ts +90 -0
  59. package/dist/classes/canvas/CanvasSprite.js +285 -0
  60. package/dist/classes/canvas/CanvasSprite.js.map +1 -0
  61. package/dist/classes/canvas/CanvasSprite.mjs +279 -0
  62. package/dist/classes/canvas/CanvasSprite.mjs.map +1 -0
  63. package/dist/classes/canvas/CanvasText.d.mts +79 -0
  64. package/dist/classes/canvas/CanvasText.d.ts +79 -0
  65. package/dist/classes/canvas/CanvasText.js +259 -0
  66. package/dist/classes/canvas/CanvasText.js.map +1 -0
  67. package/dist/classes/canvas/CanvasText.mjs +253 -0
  68. package/dist/classes/canvas/CanvasText.mjs.map +1 -0
  69. package/dist/classes/canvas/index.d.mts +15 -0
  70. package/dist/classes/canvas/index.d.ts +15 -0
  71. package/dist/classes/canvas/index.js +528 -0
  72. package/dist/classes/canvas/index.js.map +1 -0
  73. package/dist/classes/canvas/index.mjs +522 -0
  74. package/dist/classes/canvas/index.mjs.map +1 -0
  75. package/dist/classes/index.d.mts +14 -0
  76. package/dist/classes/index.d.ts +14 -0
  77. package/dist/classes/index.js +1633 -0
  78. package/dist/classes/index.js.map +1 -0
  79. package/dist/classes/index.mjs +1626 -0
  80. package/dist/classes/index.mjs.map +1 -0
  81. package/dist/classes/ticker/TickerBase.d.mts +3 -0
  82. package/dist/classes/ticker/TickerBase.d.ts +3 -0
  83. package/dist/classes/ticker/TickerBase.js +29 -0
  84. package/dist/classes/ticker/TickerBase.js.map +1 -0
  85. package/dist/classes/ticker/TickerBase.mjs +27 -0
  86. package/dist/classes/ticker/TickerBase.mjs.map +1 -0
  87. package/dist/classes/ticker/TickerFadeAlpha.d.mts +31 -0
  88. package/dist/classes/ticker/TickerFadeAlpha.d.ts +31 -0
  89. package/dist/classes/ticker/TickerFadeAlpha.js +1330 -0
  90. package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -0
  91. package/dist/classes/ticker/TickerFadeAlpha.mjs +1328 -0
  92. package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -0
  93. package/dist/classes/ticker/TickerMove.d.mts +29 -0
  94. package/dist/classes/ticker/TickerMove.d.ts +29 -0
  95. package/dist/classes/ticker/TickerMove.js +1328 -0
  96. package/dist/classes/ticker/TickerMove.js.map +1 -0
  97. package/dist/classes/ticker/TickerMove.mjs +1326 -0
  98. package/dist/classes/ticker/TickerMove.mjs.map +1 -0
  99. package/dist/classes/ticker/TickerRotate.d.mts +30 -0
  100. package/dist/classes/ticker/TickerRotate.d.ts +30 -0
  101. package/dist/classes/ticker/TickerRotate.js +1328 -0
  102. package/dist/classes/ticker/TickerRotate.js.map +1 -0
  103. package/dist/classes/ticker/TickerRotate.mjs +1326 -0
  104. package/dist/classes/ticker/TickerRotate.mjs.map +1 -0
  105. package/dist/classes/ticker/index.d.mts +10 -0
  106. package/dist/classes/ticker/index.d.ts +10 -0
  107. package/dist/classes/ticker/index.js +1330 -0
  108. package/dist/classes/ticker/index.js.map +1 -0
  109. package/dist/classes/ticker/index.mjs +1328 -0
  110. package/dist/classes/ticker/index.mjs.map +1 -0
  111. package/dist/constants.d.mts +3 -0
  112. package/dist/constants.d.ts +3 -0
  113. package/dist/constants.js +8 -0
  114. package/dist/constants.js.map +1 -0
  115. package/dist/constants.mjs +6 -0
  116. package/dist/constants.mjs.map +1 -0
  117. package/dist/decorators/CanvasElementDecorator.d.mts +18 -0
  118. package/dist/decorators/CanvasElementDecorator.d.ts +18 -0
  119. package/dist/decorators/CanvasElementDecorator.js +540 -0
  120. package/dist/decorators/CanvasElementDecorator.js.map +1 -0
  121. package/dist/decorators/CanvasElementDecorator.mjs +533 -0
  122. package/dist/decorators/CanvasElementDecorator.mjs.map +1 -0
  123. package/dist/decorators/CharacterDecorator.d.mts +39 -0
  124. package/dist/decorators/CharacterDecorator.d.ts +39 -0
  125. package/dist/decorators/CharacterDecorator.js +37 -0
  126. package/dist/decorators/CharacterDecorator.js.map +1 -0
  127. package/dist/decorators/CharacterDecorator.mjs +32 -0
  128. package/dist/decorators/CharacterDecorator.mjs.map +1 -0
  129. package/dist/decorators/EventDecorator.d.mts +35 -0
  130. package/dist/decorators/EventDecorator.d.ts +35 -0
  131. package/dist/decorators/EventDecorator.js +52 -0
  132. package/dist/decorators/EventDecorator.js.map +1 -0
  133. package/dist/decorators/EventDecorator.mjs +45 -0
  134. package/dist/decorators/EventDecorator.mjs.map +1 -0
  135. package/dist/decorators/LabelDecorator.d.mts +32 -0
  136. package/dist/decorators/LabelDecorator.d.ts +32 -0
  137. package/dist/decorators/LabelDecorator.js +56 -0
  138. package/dist/decorators/LabelDecorator.js.map +1 -0
  139. package/dist/decorators/LabelDecorator.mjs +49 -0
  140. package/dist/decorators/LabelDecorator.mjs.map +1 -0
  141. package/dist/decorators/TickerDecorator.d.mts +27 -0
  142. package/dist/decorators/TickerDecorator.d.ts +27 -0
  143. package/dist/decorators/TickerDecorator.js +36 -0
  144. package/dist/decorators/TickerDecorator.js.map +1 -0
  145. package/dist/decorators/TickerDecorator.mjs +30 -0
  146. package/dist/decorators/TickerDecorator.mjs.map +1 -0
  147. package/dist/decorators/index.d.mts +23 -0
  148. package/dist/decorators/index.d.ts +23 -0
  149. package/dist/decorators/index.js +100 -0
  150. package/dist/decorators/index.js.map +1 -0
  151. package/dist/decorators/index.mjs +92 -0
  152. package/dist/decorators/index.mjs.map +1 -0
  153. package/dist/enums/LabelRunModeEnum.d.mts +9 -0
  154. package/dist/enums/LabelRunModeEnum.d.ts +9 -0
  155. package/dist/enums/LabelRunModeEnum.js +12 -0
  156. package/dist/enums/LabelRunModeEnum.js.map +1 -0
  157. package/dist/enums/LabelRunModeEnum.mjs +10 -0
  158. package/dist/enums/LabelRunModeEnum.mjs.map +1 -0
  159. package/dist/enums/index.d.mts +1 -0
  160. package/dist/enums/index.d.ts +1 -0
  161. package/dist/enums/index.js +12 -0
  162. package/dist/enums/index.js.map +1 -0
  163. package/dist/enums/index.mjs +10 -0
  164. package/dist/enums/index.mjs.map +1 -0
  165. package/dist/functions/CanvasUtility.d.mts +25 -0
  166. package/dist/functions/CanvasUtility.d.ts +25 -0
  167. package/dist/functions/CanvasUtility.js +510 -0
  168. package/dist/functions/CanvasUtility.js.map +1 -0
  169. package/dist/functions/CanvasUtility.mjs +506 -0
  170. package/dist/functions/CanvasUtility.mjs.map +1 -0
  171. package/dist/functions/DialogueUtility.d.mts +72 -0
  172. package/dist/functions/DialogueUtility.d.ts +72 -0
  173. package/dist/functions/DialogueUtility.js +2189 -0
  174. package/dist/functions/DialogueUtility.js.map +1 -0
  175. package/dist/functions/DialogueUtility.mjs +2177 -0
  176. package/dist/functions/DialogueUtility.mjs.map +1 -0
  177. package/dist/functions/DiffUtility.d.mts +5 -0
  178. package/dist/functions/DiffUtility.d.ts +5 -0
  179. package/dist/functions/DiffUtility.js +57 -0
  180. package/dist/functions/DiffUtility.js.map +1 -0
  181. package/dist/functions/DiffUtility.mjs +55 -0
  182. package/dist/functions/DiffUtility.mjs.map +1 -0
  183. package/dist/functions/EasterEgg.d.mts +3 -0
  184. package/dist/functions/EasterEgg.d.ts +3 -0
  185. package/dist/functions/EasterEgg.js +16 -0
  186. package/dist/functions/EasterEgg.js.map +1 -0
  187. package/dist/functions/EasterEgg.mjs +14 -0
  188. package/dist/functions/EasterEgg.mjs.map +1 -0
  189. package/dist/functions/ErrorUtility.d.mts +24 -0
  190. package/dist/functions/ErrorUtility.d.ts +24 -0
  191. package/dist/functions/ErrorUtility.js +261 -0
  192. package/dist/functions/ErrorUtility.js.map +1 -0
  193. package/dist/functions/ErrorUtility.mjs +258 -0
  194. package/dist/functions/ErrorUtility.mjs.map +1 -0
  195. package/dist/functions/ExportUtility.d.mts +8 -0
  196. package/dist/functions/ExportUtility.d.ts +8 -0
  197. package/dist/functions/ExportUtility.js +16 -0
  198. package/dist/functions/ExportUtility.js.map +1 -0
  199. package/dist/functions/ExportUtility.mjs +14 -0
  200. package/dist/functions/ExportUtility.mjs.map +1 -0
  201. package/dist/functions/FlagsUtility.d.mts +14 -0
  202. package/dist/functions/FlagsUtility.d.ts +14 -0
  203. package/dist/functions/FlagsUtility.js +1436 -0
  204. package/dist/functions/FlagsUtility.js.map +1 -0
  205. package/dist/functions/FlagsUtility.mjs +1433 -0
  206. package/dist/functions/FlagsUtility.mjs.map +1 -0
  207. package/dist/functions/GameUtility.d.mts +6 -0
  208. package/dist/functions/GameUtility.d.ts +6 -0
  209. package/dist/functions/GameUtility.js +1335 -0
  210. package/dist/functions/GameUtility.js.map +1 -0
  211. package/dist/functions/GameUtility.mjs +1333 -0
  212. package/dist/functions/GameUtility.mjs.map +1 -0
  213. package/dist/functions/ImageUtility.d.mts +51 -0
  214. package/dist/functions/ImageUtility.d.ts +51 -0
  215. package/dist/functions/ImageUtility.js +1392 -0
  216. package/dist/functions/ImageUtility.js.map +1 -0
  217. package/dist/functions/ImageUtility.mjs +1387 -0
  218. package/dist/functions/ImageUtility.mjs.map +1 -0
  219. package/dist/functions/SavesUtility.d.mts +90 -0
  220. package/dist/functions/SavesUtility.d.ts +90 -0
  221. package/dist/functions/SavesUtility.js +2081 -0
  222. package/dist/functions/SavesUtility.js.map +1 -0
  223. package/dist/functions/SavesUtility.mjs +2071 -0
  224. package/dist/functions/SavesUtility.mjs.map +1 -0
  225. package/dist/functions/StepLabelUtility.d.mts +20 -0
  226. package/dist/functions/StepLabelUtility.d.ts +20 -0
  227. package/dist/functions/StepLabelUtility.js +21 -0
  228. package/dist/functions/StepLabelUtility.js.map +1 -0
  229. package/dist/functions/StepLabelUtility.mjs +14 -0
  230. package/dist/functions/StepLabelUtility.mjs.map +1 -0
  231. package/dist/functions/TextureUtility.d.mts +11 -0
  232. package/dist/functions/TextureUtility.d.ts +11 -0
  233. package/dist/functions/TextureUtility.js +78 -0
  234. package/dist/functions/TextureUtility.js.map +1 -0
  235. package/dist/functions/TextureUtility.mjs +75 -0
  236. package/dist/functions/TextureUtility.mjs.map +1 -0
  237. package/dist/functions/TickerUtility.d.mts +13 -0
  238. package/dist/functions/TickerUtility.d.ts +13 -0
  239. package/dist/functions/TickerUtility.js +33 -0
  240. package/dist/functions/TickerUtility.js.map +1 -0
  241. package/dist/functions/TickerUtility.mjs +31 -0
  242. package/dist/functions/TickerUtility.mjs.map +1 -0
  243. package/dist/functions/index.d.mts +41 -0
  244. package/dist/functions/index.d.ts +41 -0
  245. package/dist/functions/index.js +2313 -0
  246. package/dist/functions/index.js.map +1 -0
  247. package/dist/functions/index.mjs +2289 -0
  248. package/dist/functions/index.mjs.map +1 -0
  249. package/dist/index.d.mts +63 -1773
  250. package/dist/index.d.ts +63 -1773
  251. package/dist/index.js +89 -197
  252. package/dist/index.js.map +1 -1
  253. package/dist/index.mjs +16 -98
  254. package/dist/index.mjs.map +1 -1
  255. package/dist/interface/IClassWithArgsHistory.d.mts +25 -0
  256. package/dist/interface/IClassWithArgsHistory.d.ts +25 -0
  257. package/dist/interface/IClassWithArgsHistory.js +4 -0
  258. package/dist/interface/IClassWithArgsHistory.js.map +1 -0
  259. package/dist/interface/IClassWithArgsHistory.mjs +3 -0
  260. package/dist/interface/IClassWithArgsHistory.mjs.map +1 -0
  261. package/dist/interface/IDialogueHistory.d.mts +33 -0
  262. package/dist/interface/IDialogueHistory.d.ts +33 -0
  263. package/dist/interface/IDialogueHistory.js +4 -0
  264. package/dist/interface/IDialogueHistory.js.map +1 -0
  265. package/dist/interface/IDialogueHistory.mjs +3 -0
  266. package/dist/interface/IDialogueHistory.mjs.map +1 -0
  267. package/dist/interface/IHistoryStep.d.mts +75 -0
  268. package/dist/interface/IHistoryStep.d.ts +75 -0
  269. package/dist/interface/IHistoryStep.js +4 -0
  270. package/dist/interface/IHistoryStep.js.map +1 -0
  271. package/dist/interface/IHistoryStep.mjs +3 -0
  272. package/dist/interface/IHistoryStep.mjs.map +1 -0
  273. package/dist/interface/IOpenedLabel.d.mts +8 -0
  274. package/dist/interface/IOpenedLabel.d.ts +8 -0
  275. package/dist/interface/IOpenedLabel.js +4 -0
  276. package/dist/interface/IOpenedLabel.js.map +1 -0
  277. package/dist/interface/IOpenedLabel.mjs +3 -0
  278. package/dist/interface/IOpenedLabel.mjs.map +1 -0
  279. package/dist/interface/ISaveData.d.mts +33 -0
  280. package/dist/interface/ISaveData.d.ts +33 -0
  281. package/dist/interface/ISaveData.js +4 -0
  282. package/dist/interface/ISaveData.js.map +1 -0
  283. package/dist/interface/ISaveData.mjs +3 -0
  284. package/dist/interface/ISaveData.mjs.map +1 -0
  285. package/dist/interface/ITicker.d.mts +3 -0
  286. package/dist/interface/ITicker.d.ts +3 -0
  287. package/dist/interface/ITicker.js +4 -0
  288. package/dist/interface/ITicker.js.map +1 -0
  289. package/dist/interface/ITicker.mjs +3 -0
  290. package/dist/interface/ITicker.mjs.map +1 -0
  291. package/dist/interface/ITickersSteps.d.mts +31 -0
  292. package/dist/interface/ITickersSteps.d.ts +31 -0
  293. package/dist/interface/ITickersSteps.js +4 -0
  294. package/dist/interface/ITickersSteps.js.map +1 -0
  295. package/dist/interface/ITickersSteps.mjs +3 -0
  296. package/dist/interface/ITickersSteps.mjs.map +1 -0
  297. package/dist/interface/TickerProgrationType.d.mts +13 -0
  298. package/dist/interface/TickerProgrationType.d.ts +13 -0
  299. package/dist/interface/TickerProgrationType.js +4 -0
  300. package/dist/interface/TickerProgrationType.js.map +1 -0
  301. package/dist/interface/TickerProgrationType.mjs +3 -0
  302. package/dist/interface/TickerProgrationType.mjs.map +1 -0
  303. package/dist/interface/canvas/ICanvasBaseMemory.d.mts +8 -0
  304. package/dist/interface/canvas/ICanvasBaseMemory.d.ts +8 -0
  305. package/dist/interface/canvas/ICanvasBaseMemory.js +4 -0
  306. package/dist/interface/canvas/ICanvasBaseMemory.js.map +1 -0
  307. package/dist/interface/canvas/ICanvasBaseMemory.mjs +3 -0
  308. package/dist/interface/canvas/ICanvasBaseMemory.mjs.map +1 -0
  309. package/dist/interface/canvas/ICanvasContainerMemory.d.mts +11 -0
  310. package/dist/interface/canvas/ICanvasContainerMemory.d.ts +11 -0
  311. package/dist/interface/canvas/ICanvasContainerMemory.js +4 -0
  312. package/dist/interface/canvas/ICanvasContainerMemory.js.map +1 -0
  313. package/dist/interface/canvas/ICanvasContainerMemory.mjs +3 -0
  314. package/dist/interface/canvas/ICanvasContainerMemory.mjs.map +1 -0
  315. package/dist/interface/canvas/ICanvasImageMemory.d.mts +14 -0
  316. package/dist/interface/canvas/ICanvasImageMemory.d.ts +14 -0
  317. package/dist/interface/canvas/ICanvasImageMemory.js +4 -0
  318. package/dist/interface/canvas/ICanvasImageMemory.js.map +1 -0
  319. package/dist/interface/canvas/ICanvasImageMemory.mjs +3 -0
  320. package/dist/interface/canvas/ICanvasImageMemory.mjs.map +1 -0
  321. package/dist/interface/canvas/ICanvasSpriteMemory.d.mts +19 -0
  322. package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +19 -0
  323. package/dist/interface/canvas/ICanvasSpriteMemory.js +4 -0
  324. package/dist/interface/canvas/ICanvasSpriteMemory.js.map +1 -0
  325. package/dist/interface/canvas/ICanvasSpriteMemory.mjs +3 -0
  326. package/dist/interface/canvas/ICanvasSpriteMemory.mjs.map +1 -0
  327. package/dist/interface/canvas/ICanvasTextTextMemory.d.mts +15 -0
  328. package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +15 -0
  329. package/dist/interface/canvas/ICanvasTextTextMemory.js +4 -0
  330. package/dist/interface/canvas/ICanvasTextTextMemory.js.map +1 -0
  331. package/dist/interface/canvas/ICanvasTextTextMemory.mjs +3 -0
  332. package/dist/interface/canvas/ICanvasTextTextMemory.mjs.map +1 -0
  333. package/dist/interface/canvas/ITextureMemory.d.mts +8 -0
  334. package/dist/interface/canvas/ITextureMemory.d.ts +8 -0
  335. package/dist/interface/canvas/ITextureMemory.js +4 -0
  336. package/dist/interface/canvas/ITextureMemory.js.map +1 -0
  337. package/dist/interface/canvas/ITextureMemory.mjs +3 -0
  338. package/dist/interface/canvas/ITextureMemory.mjs.map +1 -0
  339. package/dist/interface/canvas/index.d.mts +8 -0
  340. package/dist/interface/canvas/index.d.ts +8 -0
  341. package/dist/interface/canvas/index.js +4 -0
  342. package/dist/interface/canvas/index.js.map +1 -0
  343. package/dist/interface/canvas/index.mjs +3 -0
  344. package/dist/interface/canvas/index.mjs.map +1 -0
  345. package/dist/interface/export/ExportedCanvas.d.mts +19 -0
  346. package/dist/interface/export/ExportedCanvas.d.ts +19 -0
  347. package/dist/interface/export/ExportedCanvas.js +4 -0
  348. package/dist/interface/export/ExportedCanvas.js.map +1 -0
  349. package/dist/interface/export/ExportedCanvas.mjs +3 -0
  350. package/dist/interface/export/ExportedCanvas.mjs.map +1 -0
  351. package/dist/interface/export/ExportedStep.d.mts +34 -0
  352. package/dist/interface/export/ExportedStep.d.ts +34 -0
  353. package/dist/interface/export/ExportedStep.js +4 -0
  354. package/dist/interface/export/ExportedStep.js.map +1 -0
  355. package/dist/interface/export/ExportedStep.mjs +3 -0
  356. package/dist/interface/export/ExportedStep.mjs.map +1 -0
  357. package/dist/interface/export/ExportedStorage.d.mts +10 -0
  358. package/dist/interface/export/ExportedStorage.d.ts +10 -0
  359. package/dist/interface/export/ExportedStorage.js +4 -0
  360. package/dist/interface/export/ExportedStorage.js.map +1 -0
  361. package/dist/interface/export/ExportedStorage.mjs +3 -0
  362. package/dist/interface/export/ExportedStorage.mjs.map +1 -0
  363. package/dist/interface/export/index.d.mts +23 -0
  364. package/dist/interface/export/index.d.ts +23 -0
  365. package/dist/interface/export/index.js +4 -0
  366. package/dist/interface/export/index.js.map +1 -0
  367. package/dist/interface/export/index.mjs +3 -0
  368. package/dist/interface/export/index.mjs.map +1 -0
  369. package/dist/interface/index.d.mts +29 -0
  370. package/dist/interface/index.d.ts +29 -0
  371. package/dist/interface/index.js +4 -0
  372. package/dist/interface/index.js.map +1 -0
  373. package/dist/interface/index.mjs +3 -0
  374. package/dist/interface/index.mjs.map +1 -0
  375. package/dist/managers/StepManager.d.mts +210 -0
  376. package/dist/managers/StepManager.d.ts +210 -0
  377. package/dist/managers/StepManager.js +2043 -0
  378. package/dist/managers/StepManager.js.map +1 -0
  379. package/dist/managers/StepManager.mjs +2037 -0
  380. package/dist/managers/StepManager.mjs.map +1 -0
  381. package/dist/managers/StorageManager.d.mts +45 -0
  382. package/dist/managers/StorageManager.d.ts +45 -0
  383. package/dist/managers/StorageManager.js +101 -0
  384. package/dist/managers/StorageManager.js.map +1 -0
  385. package/dist/managers/StorageManager.mjs +99 -0
  386. package/dist/managers/StorageManager.mjs.map +1 -0
  387. package/dist/managers/WindowManager.d.mts +265 -0
  388. package/dist/managers/WindowManager.d.ts +265 -0
  389. package/dist/managers/WindowManager.js +1142 -0
  390. package/dist/managers/WindowManager.js.map +1 -0
  391. package/dist/managers/WindowManager.mjs +1140 -0
  392. package/dist/managers/WindowManager.mjs.map +1 -0
  393. package/dist/managers/index.d.mts +30 -0
  394. package/dist/managers/index.d.ts +30 -0
  395. package/dist/managers/index.js +2049 -0
  396. package/dist/managers/index.js.map +1 -0
  397. package/dist/managers/index.mjs +2041 -0
  398. package/dist/managers/index.mjs.map +1 -0
  399. package/dist/override/StepLabelProps.d.mts +18 -0
  400. package/dist/override/StepLabelProps.d.ts +18 -0
  401. package/dist/override/StepLabelProps.js +4 -0
  402. package/dist/override/StepLabelProps.js.map +1 -0
  403. package/dist/override/StepLabelProps.mjs +3 -0
  404. package/dist/override/StepLabelProps.mjs.map +1 -0
  405. package/dist/override/StepLabelResult.d.mts +19 -0
  406. package/dist/override/StepLabelResult.d.ts +19 -0
  407. package/dist/override/StepLabelResult.js +4 -0
  408. package/dist/override/StepLabelResult.js.map +1 -0
  409. package/dist/override/StepLabelResult.mjs +3 -0
  410. package/dist/override/StepLabelResult.mjs.map +1 -0
  411. package/dist/override/index.d.mts +2 -0
  412. package/dist/override/index.d.ts +2 -0
  413. package/dist/override/index.js +4 -0
  414. package/dist/override/index.js.map +1 -0
  415. package/dist/override/index.mjs +3 -0
  416. package/dist/override/index.mjs.map +1 -0
  417. package/dist/types/CanvasElementTagType.d.mts +3 -0
  418. package/dist/types/CanvasElementTagType.d.ts +3 -0
  419. package/dist/types/CanvasElementTagType.js +4 -0
  420. package/dist/types/CanvasElementTagType.js.map +1 -0
  421. package/dist/types/CanvasElementTagType.mjs +3 -0
  422. package/dist/types/CanvasElementTagType.mjs.map +1 -0
  423. package/dist/types/CanvasEventNamesType.d.mts +6 -0
  424. package/dist/types/CanvasEventNamesType.d.ts +6 -0
  425. package/dist/types/CanvasEventNamesType.js +4 -0
  426. package/dist/types/CanvasEventNamesType.js.map +1 -0
  427. package/dist/types/CanvasEventNamesType.mjs +3 -0
  428. package/dist/types/CanvasEventNamesType.mjs.map +1 -0
  429. package/dist/types/ChoiceMenuOptionsType.d.mts +16 -0
  430. package/dist/types/ChoiceMenuOptionsType.d.ts +16 -0
  431. package/dist/types/ChoiceMenuOptionsType.js +4 -0
  432. package/dist/types/ChoiceMenuOptionsType.js.map +1 -0
  433. package/dist/types/ChoiceMenuOptionsType.mjs +3 -0
  434. package/dist/types/ChoiceMenuOptionsType.mjs.map +1 -0
  435. package/dist/types/EventIdType.d.mts +3 -0
  436. package/dist/types/EventIdType.d.ts +3 -0
  437. package/dist/types/EventIdType.js +4 -0
  438. package/dist/types/EventIdType.js.map +1 -0
  439. package/dist/types/EventIdType.mjs +3 -0
  440. package/dist/types/EventIdType.mjs.map +1 -0
  441. package/dist/types/LabelIdType.d.mts +7 -0
  442. package/dist/types/LabelIdType.d.ts +7 -0
  443. package/dist/types/LabelIdType.js +4 -0
  444. package/dist/types/LabelIdType.js.map +1 -0
  445. package/dist/types/LabelIdType.mjs +3 -0
  446. package/dist/types/LabelIdType.mjs.map +1 -0
  447. package/dist/types/PauseType.d.mts +8 -0
  448. package/dist/types/PauseType.d.ts +8 -0
  449. package/dist/types/PauseType.js +15 -0
  450. package/dist/types/PauseType.js.map +1 -0
  451. package/dist/types/PauseType.mjs +12 -0
  452. package/dist/types/PauseType.mjs.map +1 -0
  453. package/dist/types/RepeatType.d.mts +4 -0
  454. package/dist/types/RepeatType.d.ts +4 -0
  455. package/dist/types/RepeatType.js +8 -0
  456. package/dist/types/RepeatType.js.map +1 -0
  457. package/dist/types/RepeatType.mjs +6 -0
  458. package/dist/types/RepeatType.mjs.map +1 -0
  459. package/dist/types/StepHistoryDataType.d.mts +8 -0
  460. package/dist/types/StepHistoryDataType.d.ts +8 -0
  461. package/dist/types/StepHistoryDataType.js +4 -0
  462. package/dist/types/StepHistoryDataType.js.map +1 -0
  463. package/dist/types/StepHistoryDataType.mjs +3 -0
  464. package/dist/types/StepHistoryDataType.mjs.map +1 -0
  465. package/dist/types/StepLabelType.d.mts +11 -0
  466. package/dist/types/StepLabelType.d.ts +11 -0
  467. package/dist/types/StepLabelType.js +4 -0
  468. package/dist/types/StepLabelType.js.map +1 -0
  469. package/dist/types/StepLabelType.mjs +3 -0
  470. package/dist/types/StepLabelType.mjs.map +1 -0
  471. package/dist/types/StorageElementType.d.mts +10 -0
  472. package/dist/types/StorageElementType.d.ts +10 -0
  473. package/dist/types/StorageElementType.js +4 -0
  474. package/dist/types/StorageElementType.js.map +1 -0
  475. package/dist/types/StorageElementType.mjs +3 -0
  476. package/dist/types/StorageElementType.mjs.map +1 -0
  477. package/dist/types/TickerIdType.d.mts +7 -0
  478. package/dist/types/TickerIdType.d.ts +7 -0
  479. package/dist/types/TickerIdType.js +4 -0
  480. package/dist/types/TickerIdType.js.map +1 -0
  481. package/dist/types/TickerIdType.mjs +3 -0
  482. package/dist/types/TickerIdType.mjs.map +1 -0
  483. package/dist/types/index.d.mts +13 -0
  484. package/dist/types/index.d.ts +13 -0
  485. package/dist/types/index.js +19 -0
  486. package/dist/types/index.js.map +1 -0
  487. package/dist/types/index.mjs +15 -0
  488. package/dist/types/index.mjs.map +1 -0
  489. package/dist/types/ticker/TickerFadeAlphaProps.d.mts +26 -0
  490. package/dist/types/ticker/TickerFadeAlphaProps.d.ts +26 -0
  491. package/dist/types/ticker/TickerFadeAlphaProps.js +4 -0
  492. package/dist/types/ticker/TickerFadeAlphaProps.js.map +1 -0
  493. package/dist/types/ticker/TickerFadeAlphaProps.mjs +3 -0
  494. package/dist/types/ticker/TickerFadeAlphaProps.mjs.map +1 -0
  495. package/dist/types/ticker/TickerMoveProps.d.mts +26 -0
  496. package/dist/types/ticker/TickerMoveProps.d.ts +26 -0
  497. package/dist/types/ticker/TickerMoveProps.js +4 -0
  498. package/dist/types/ticker/TickerMoveProps.js.map +1 -0
  499. package/dist/types/ticker/TickerMoveProps.mjs +3 -0
  500. package/dist/types/ticker/TickerMoveProps.mjs.map +1 -0
  501. package/dist/types/ticker/TickerRotateProps.d.mts +24 -0
  502. package/dist/types/ticker/TickerRotateProps.d.ts +24 -0
  503. package/dist/types/ticker/TickerRotateProps.js +4 -0
  504. package/dist/types/ticker/TickerRotateProps.js.map +1 -0
  505. package/dist/types/ticker/TickerRotateProps.mjs +3 -0
  506. package/dist/types/ticker/TickerRotateProps.mjs.map +1 -0
  507. package/dist/types/ticker/index.d.mts +3 -0
  508. package/dist/types/ticker/index.d.ts +3 -0
  509. package/dist/types/ticker/index.js +4 -0
  510. package/dist/types/ticker/index.js.map +1 -0
  511. package/dist/types/ticker/index.mjs +3 -0
  512. package/dist/types/ticker/index.mjs.map +1 -0
  513. package/package.json +2 -1
@@ -0,0 +1,75 @@
1
+ import { Assets, Texture } from 'pixi.js';
2
+
3
+ var __async = (__this, __arguments, generator) => {
4
+ return new Promise((resolve, reject) => {
5
+ var fulfilled = (value) => {
6
+ try {
7
+ step(generator.next(value));
8
+ } catch (e) {
9
+ reject(e);
10
+ }
11
+ };
12
+ var rejected = (value) => {
13
+ try {
14
+ step(generator.throw(value));
15
+ } catch (e) {
16
+ reject(e);
17
+ }
18
+ };
19
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
20
+ step((generator = generator.apply(__this, __arguments)).next());
21
+ });
22
+ };
23
+ function getTexture(imageUrl) {
24
+ return __async(this, null, function* () {
25
+ if (Assets.cache.has(imageUrl)) {
26
+ return Assets.get(imageUrl);
27
+ }
28
+ return Assets.load(imageUrl).then((texture) => {
29
+ if (!texture) {
30
+ console.error("[Pixi'VN] Texture not found", imageUrl);
31
+ return;
32
+ }
33
+ if (!(texture instanceof Texture)) {
34
+ console.error("[Pixi'VN] File not is a image", imageUrl);
35
+ return;
36
+ }
37
+ return texture;
38
+ }).catch((e) => {
39
+ console.error("[Pixi'VN] Error loading image", e);
40
+ return;
41
+ });
42
+ });
43
+ }
44
+ function getTextStyle(style) {
45
+ let fill = style.fill;
46
+ if (fill instanceof Object) {
47
+ console.warn("[Pixi'VN] CanvasText.style.fill is a FillGradient or FillPattern, this is not supported yet.", fill);
48
+ fill = "#00FF00";
49
+ }
50
+ return {
51
+ align: style.align,
52
+ breakWords: style.breakWords,
53
+ dropShadow: style.dropShadow,
54
+ fill,
55
+ fontFamily: style.fontFamily,
56
+ fontSize: style.fontSize,
57
+ fontStyle: style.fontStyle,
58
+ fontVariant: style.fontVariant,
59
+ fontWeight: style.fontWeight,
60
+ leading: style.leading,
61
+ letterSpacing: style.letterSpacing,
62
+ lineHeight: style.lineHeight,
63
+ padding: style.padding,
64
+ stroke: style.stroke,
65
+ textBaseline: style.textBaseline,
66
+ trim: style.trim,
67
+ whiteSpace: style.whiteSpace,
68
+ wordWrap: style.wordWrap,
69
+ wordWrapWidth: style.wordWrapWidth
70
+ };
71
+ }
72
+
73
+ export { getTextStyle, getTexture };
74
+ //# sourceMappingURL=out.js.map
75
+ //# sourceMappingURL=TextureUtility.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/functions/TextureUtility.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,QAAqC,eAAe;AAO7D,SAAsB,WAAW,UAA2C;AAAA;AACxE,QAAI,OAAO,MAAM,IAAI,QAAQ,GAAG;AAC5B,aAAO,OAAO,IAAI,QAAQ;AAAA,IAC9B;AACA,WAAO,OAAO,KAAK,QAAQ,EACtB,KAAK,CAAC,YAAY;AACf,UAAI,CAAC,SAAS;AACV,gBAAQ,MAAM,+BAA+B,QAAQ;AACrD;AAAA,MACJ;AAEA,UAAI,EAAE,mBAAmB,UAAU;AAC/B,gBAAQ,MAAM,iCAAiC,QAAQ;AACvD;AAAA,MACJ;AAEA,aAAO;AAAA,IACX,CAAC,EACA,MAAM,CAAC,MAAM;AACV,cAAQ,MAAM,iCAAiC,CAAC;AAChD;AAAA,IACJ,CAAC;AAAA,EACT;AAAA;AAEO,SAAS,aAAa,OAAoC;AAC7D,MAAI,OAAO,MAAM;AACjB,MAAI,gBAAgB,QAAQ;AAExB,YAAQ,KAAK,gGAAgG,IAAI;AACjH,WAAO;AAAA,EACX;AACA,SAAO;AAAA,IACH,OAAO,MAAM;AAAA,IACb,YAAY,MAAM;AAAA,IAClB,YAAY,MAAM;AAAA,IAClB;AAAA,IACA,YAAY,MAAM;AAAA,IAClB,UAAU,MAAM;AAAA,IAChB,WAAW,MAAM;AAAA,IACjB,aAAa,MAAM;AAAA,IACnB,YAAY,MAAM;AAAA,IAClB,SAAS,MAAM;AAAA,IACf,eAAe,MAAM;AAAA,IACrB,YAAY,MAAM;AAAA,IAClB,SAAS,MAAM;AAAA,IACf,QAAQ,MAAM;AAAA,IACd,cAAc,MAAM;AAAA,IACpB,MAAM,MAAM;AAAA,IACZ,YAAY,MAAM;AAAA,IAClB,UAAU,MAAM;AAAA,IAChB,eAAe,MAAM;AAAA,EACzB;AACJ","sourcesContent":["import { Assets, TextStyle, TextStyleOptions, Texture } from 'pixi.js';\n\n/**\n * Get a texture from a url.\n * @param imageUrl is the url of the image.\n * @returns the texture of the image, or a text with the error.\n */\nexport async function getTexture(imageUrl: string): Promise<Texture | void> {\n if (Assets.cache.has(imageUrl)) {\n return Assets.get(imageUrl)\n }\n return Assets.load(imageUrl)\n .then((texture) => {\n if (!texture) {\n console.error(\"[Pixi'VN] Texture not found\", imageUrl)\n return\n }\n // if texture not is a Texture, then it is a TextureResource\n if (!(texture instanceof Texture)) {\n console.error(\"[Pixi'VN] File not is a image\", imageUrl)\n return\n }\n\n return texture\n })\n .catch((e) => {\n console.error(\"[Pixi'VN] Error loading image\", e)\n return\n })\n}\n\nexport function getTextStyle(style: TextStyle): TextStyleOptions {\n let fill = style.fill\n if (fill instanceof Object) {\n // TODO: FillGradient and FillPattern are not supported yet\n console.warn(\"[Pixi'VN] CanvasText.style.fill is a FillGradient or FillPattern, this is not supported yet.\", fill)\n fill = \"#00FF00\"\n }\n return {\n align: style.align,\n breakWords: style.breakWords,\n dropShadow: style.dropShadow,\n fill: fill,\n fontFamily: style.fontFamily,\n fontSize: style.fontSize,\n fontStyle: style.fontStyle,\n fontVariant: style.fontVariant,\n fontWeight: style.fontWeight,\n leading: style.leading,\n letterSpacing: style.letterSpacing,\n lineHeight: style.lineHeight,\n padding: style.padding,\n stroke: style.stroke,\n textBaseline: style.textBaseline,\n trim: style.trim,\n whiteSpace: style.whiteSpace,\n wordWrap: style.wordWrap,\n wordWrapWidth: style.wordWrapWidth,\n }\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import { TickerProgrationType } from '../interface/TickerProgrationType.mjs';
2
+
3
+ /**
4
+ * This function updates the progression of the ticker.
5
+ * For example, if the speed of the ticker is 0.1 and the progression is 0.01, then the speed will be 0.11.
6
+ * @param args The arguments that are passed to the ticker
7
+ * @param propertyName The property name that will be updated
8
+ * @param progression The progression of the ticker
9
+ * @returns
10
+ */
11
+ declare function updateTickerProgression(args: any, propertyName: string, progression: TickerProgrationType): void;
12
+
13
+ export { updateTickerProgression };
@@ -0,0 +1,13 @@
1
+ import { TickerProgrationType } from '../interface/TickerProgrationType.js';
2
+
3
+ /**
4
+ * This function updates the progression of the ticker.
5
+ * For example, if the speed of the ticker is 0.1 and the progression is 0.01, then the speed will be 0.11.
6
+ * @param args The arguments that are passed to the ticker
7
+ * @param propertyName The property name that will be updated
8
+ * @param progression The progression of the ticker
9
+ * @returns
10
+ */
11
+ declare function updateTickerProgression(args: any, propertyName: string, progression: TickerProgrationType): void;
12
+
13
+ export { updateTickerProgression };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ // src/functions/TickerUtility.ts
4
+ function updateTickerProgression(args, propertyName, progression) {
5
+ if (args.hasOwnProperty(propertyName) && typeof args[propertyName] !== "number") {
6
+ return;
7
+ }
8
+ if (args[propertyName] !== void 0 && progression && args[propertyName] !== progression.limit) {
9
+ if (progression.type === "linear") {
10
+ args[propertyName] += progression.amt;
11
+ if (progression.limit !== void 0) {
12
+ if (args[propertyName] > progression.limit && progression.amt > 0) {
13
+ args[propertyName] = progression.limit;
14
+ } else if (args[propertyName] < progression.limit && progression.amt < 0) {
15
+ args[propertyName] = progression.limit;
16
+ }
17
+ }
18
+ } else if (progression.type === "exponential") {
19
+ args[propertyName] += args[propertyName] * progression.percentage;
20
+ if (progression.limit !== void 0) {
21
+ if (args[propertyName] > progression.limit && progression.percentage > 0) {
22
+ args[propertyName] = progression.limit;
23
+ } else if (args[propertyName] < progression.limit && progression.percentage < 0) {
24
+ args[propertyName] = progression.limit;
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ exports.updateTickerProgression = updateTickerProgression;
32
+ //# sourceMappingURL=out.js.map
33
+ //# sourceMappingURL=TickerUtility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/functions/TickerUtility.ts"],"names":[],"mappings":";AAUO,SAAS,wBAAwB,MAAW,cAAsB,aAAmC;AACxG,MAAI,KAAK,eAAe,YAAY,KAAK,OAAO,KAAK,YAAY,MAAM,UAAU;AAC7E;AAAA,EACJ;AACA,MAAI,KAAK,YAAY,MAAM,UACpB,eACA,KAAK,YAAY,MAAM,YAAY,OACxC;AACE,QAAI,YAAY,SAAS,UAAU;AAC/B,WAAK,YAAY,KAAK,YAAY;AAClC,UAAI,YAAY,UAAU,QAAW;AACjC,YAAI,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,MAAM,GAAG;AAC/D,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC,WACS,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,MAAM,GAAG;AACpE,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC;AAAA,MACJ;AAAA,IACJ,WACS,YAAY,SAAS,eAAe;AACzC,WAAK,YAAY,KAAK,KAAK,YAAY,IAAI,YAAY;AACvD,UAAI,YAAY,UAAU,QAAW;AACjC,YAAI,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,aAAa,GAAG;AACtE,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC,WACS,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,aAAa,GAAG;AAC3E,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACJ","sourcesContent":["import { TickerProgrationType } from \"../interface/TickerProgrationType\"\n\n/**\n * This function updates the progression of the ticker.\n * For example, if the speed of the ticker is 0.1 and the progression is 0.01, then the speed will be 0.11.\n * @param args The arguments that are passed to the ticker\n * @param propertyName The property name that will be updated \n * @param progression The progression of the ticker\n * @returns \n */\nexport function updateTickerProgression(args: any, propertyName: string, progression: TickerProgrationType) {\n if (args.hasOwnProperty(propertyName) && typeof args[propertyName] !== \"number\") {\n return\n }\n if (args[propertyName] !== undefined\n && progression\n && args[propertyName] !== progression.limit\n ) {\n if (progression.type === \"linear\") {\n args[propertyName] += progression.amt\n if (progression.limit !== undefined) {\n if (args[propertyName] > progression.limit && progression.amt > 0) {\n args[propertyName] = progression.limit\n }\n else if (args[propertyName] < progression.limit && progression.amt < 0) {\n args[propertyName] = progression.limit\n }\n }\n }\n else if (progression.type === \"exponential\") {\n args[propertyName] += args[propertyName] * progression.percentage\n if (progression.limit !== undefined) {\n if (args[propertyName] > progression.limit && progression.percentage > 0) {\n args[propertyName] = progression.limit\n }\n else if (args[propertyName] < progression.limit && progression.percentage < 0) {\n args[propertyName] = progression.limit\n }\n }\n }\n }\n}\n"]}
@@ -0,0 +1,31 @@
1
+ // src/functions/TickerUtility.ts
2
+ function updateTickerProgression(args, propertyName, progression) {
3
+ if (args.hasOwnProperty(propertyName) && typeof args[propertyName] !== "number") {
4
+ return;
5
+ }
6
+ if (args[propertyName] !== void 0 && progression && args[propertyName] !== progression.limit) {
7
+ if (progression.type === "linear") {
8
+ args[propertyName] += progression.amt;
9
+ if (progression.limit !== void 0) {
10
+ if (args[propertyName] > progression.limit && progression.amt > 0) {
11
+ args[propertyName] = progression.limit;
12
+ } else if (args[propertyName] < progression.limit && progression.amt < 0) {
13
+ args[propertyName] = progression.limit;
14
+ }
15
+ }
16
+ } else if (progression.type === "exponential") {
17
+ args[propertyName] += args[propertyName] * progression.percentage;
18
+ if (progression.limit !== void 0) {
19
+ if (args[propertyName] > progression.limit && progression.percentage > 0) {
20
+ args[propertyName] = progression.limit;
21
+ } else if (args[propertyName] < progression.limit && progression.percentage < 0) {
22
+ args[propertyName] = progression.limit;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ export { updateTickerProgression };
30
+ //# sourceMappingURL=out.js.map
31
+ //# sourceMappingURL=TickerUtility.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/functions/TickerUtility.ts"],"names":[],"mappings":";AAUO,SAAS,wBAAwB,MAAW,cAAsB,aAAmC;AACxG,MAAI,KAAK,eAAe,YAAY,KAAK,OAAO,KAAK,YAAY,MAAM,UAAU;AAC7E;AAAA,EACJ;AACA,MAAI,KAAK,YAAY,MAAM,UACpB,eACA,KAAK,YAAY,MAAM,YAAY,OACxC;AACE,QAAI,YAAY,SAAS,UAAU;AAC/B,WAAK,YAAY,KAAK,YAAY;AAClC,UAAI,YAAY,UAAU,QAAW;AACjC,YAAI,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,MAAM,GAAG;AAC/D,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC,WACS,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,MAAM,GAAG;AACpE,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC;AAAA,MACJ;AAAA,IACJ,WACS,YAAY,SAAS,eAAe;AACzC,WAAK,YAAY,KAAK,KAAK,YAAY,IAAI,YAAY;AACvD,UAAI,YAAY,UAAU,QAAW;AACjC,YAAI,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,aAAa,GAAG;AACtE,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC,WACS,KAAK,YAAY,IAAI,YAAY,SAAS,YAAY,aAAa,GAAG;AAC3E,eAAK,YAAY,IAAI,YAAY;AAAA,QACrC;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACJ","sourcesContent":["import { TickerProgrationType } from \"../interface/TickerProgrationType\"\n\n/**\n * This function updates the progression of the ticker.\n * For example, if the speed of the ticker is 0.1 and the progression is 0.01, then the speed will be 0.11.\n * @param args The arguments that are passed to the ticker\n * @param propertyName The property name that will be updated \n * @param progression The progression of the ticker\n * @returns \n */\nexport function updateTickerProgression(args: any, propertyName: string, progression: TickerProgrationType) {\n if (args.hasOwnProperty(propertyName) && typeof args[propertyName] !== \"number\") {\n return\n }\n if (args[propertyName] !== undefined\n && progression\n && args[propertyName] !== progression.limit\n ) {\n if (progression.type === \"linear\") {\n args[propertyName] += progression.amt\n if (progression.limit !== undefined) {\n if (args[propertyName] > progression.limit && progression.amt > 0) {\n args[propertyName] = progression.limit\n }\n else if (args[propertyName] < progression.limit && progression.amt < 0) {\n args[propertyName] = progression.limit\n }\n }\n }\n else if (progression.type === \"exponential\") {\n args[propertyName] += args[propertyName] * progression.percentage\n if (progression.limit !== undefined) {\n if (args[propertyName] > progression.limit && progression.percentage > 0) {\n args[propertyName] = progression.limit\n }\n else if (args[propertyName] < progression.limit && progression.percentage < 0) {\n args[propertyName] = progression.limit\n }\n }\n }\n }\n}\n"]}
@@ -0,0 +1,41 @@
1
+ export { clearChoiceMenuOptions, clearDialogue, getChoiceMenuOptions, getDialogue, getDialogueHistory, setChoiceMenuOptions, setDialogue } from './DialogueUtility.mjs';
2
+ export { getFlag, setFlag } from './FlagsUtility.mjs';
3
+ export { clearAllGameDatas } from './GameUtility.mjs';
4
+ export { addImage, loadImages, removeCanvasElement, showWithDissolveTransition } from './ImageUtility.mjs';
5
+ export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './SavesUtility.mjs';
6
+ export { getTexture } from './TextureUtility.mjs';
7
+ import '../classes/CharacterBaseModel.mjs';
8
+ import '../classes/StoredClassModel.mjs';
9
+ import '../classes/DialogueBaseModel.mjs';
10
+ import '../types/StorageElementType.mjs';
11
+ import '../interface/IDialogueHistory.mjs';
12
+ import '../classes/ChoiceMenuOptionLabel.mjs';
13
+ import '../enums/LabelRunModeEnum.mjs';
14
+ import '../types/LabelIdType.mjs';
15
+ import '../classes/Label.mjs';
16
+ import '../types/StepHistoryDataType.mjs';
17
+ import '../types/StepLabelType.mjs';
18
+ import '../override/StepLabelProps.mjs';
19
+ import '../override/StepLabelResult.mjs';
20
+ import '../types/ChoiceMenuOptionsType.mjs';
21
+ import 'pixi.js';
22
+ import '../classes/canvas/CanvasBase.mjs';
23
+ import '../interface/canvas/ICanvasBaseMemory.mjs';
24
+ import '../classes/canvas/CanvasImage.mjs';
25
+ import '../interface/canvas/ICanvasImageMemory.mjs';
26
+ import '../interface/canvas/ICanvasSpriteMemory.mjs';
27
+ import '../types/EventIdType.mjs';
28
+ import '../interface/canvas/ITextureMemory.mjs';
29
+ import '../classes/canvas/CanvasSprite.mjs';
30
+ import '../types/CanvasEventNamesType.mjs';
31
+ import '../classes/CanvasEvent.mjs';
32
+ import '../interface/ISaveData.mjs';
33
+ import '../interface/export/ExportedCanvas.mjs';
34
+ import '../interface/IClassWithArgsHistory.mjs';
35
+ import '../TickerBase-CFEJHstJ.mjs';
36
+ import '../types/TickerIdType.mjs';
37
+ import '../interface/export/ExportedStep.mjs';
38
+ import '../interface/IHistoryStep.mjs';
39
+ import 'deep-diff';
40
+ import '../interface/export/ExportedStorage.mjs';
41
+ import '../interface/IOpenedLabel.mjs';
@@ -0,0 +1,41 @@
1
+ export { clearChoiceMenuOptions, clearDialogue, getChoiceMenuOptions, getDialogue, getDialogueHistory, setChoiceMenuOptions, setDialogue } from './DialogueUtility.js';
2
+ export { getFlag, setFlag } from './FlagsUtility.js';
3
+ export { clearAllGameDatas } from './GameUtility.js';
4
+ export { addImage, loadImages, removeCanvasElement, showWithDissolveTransition } from './ImageUtility.js';
5
+ export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './SavesUtility.js';
6
+ export { getTexture } from './TextureUtility.js';
7
+ import '../classes/CharacterBaseModel.js';
8
+ import '../classes/StoredClassModel.js';
9
+ import '../classes/DialogueBaseModel.js';
10
+ import '../types/StorageElementType.js';
11
+ import '../interface/IDialogueHistory.js';
12
+ import '../classes/ChoiceMenuOptionLabel.js';
13
+ import '../enums/LabelRunModeEnum.js';
14
+ import '../types/LabelIdType.js';
15
+ import '../classes/Label.js';
16
+ import '../types/StepHistoryDataType.js';
17
+ import '../types/StepLabelType.js';
18
+ import '../override/StepLabelProps.js';
19
+ import '../override/StepLabelResult.js';
20
+ import '../types/ChoiceMenuOptionsType.js';
21
+ import 'pixi.js';
22
+ import '../classes/canvas/CanvasBase.js';
23
+ import '../interface/canvas/ICanvasBaseMemory.js';
24
+ import '../classes/canvas/CanvasImage.js';
25
+ import '../interface/canvas/ICanvasImageMemory.js';
26
+ import '../interface/canvas/ICanvasSpriteMemory.js';
27
+ import '../types/EventIdType.js';
28
+ import '../interface/canvas/ITextureMemory.js';
29
+ import '../classes/canvas/CanvasSprite.js';
30
+ import '../types/CanvasEventNamesType.js';
31
+ import '../classes/CanvasEvent.js';
32
+ import '../interface/ISaveData.js';
33
+ import '../interface/export/ExportedCanvas.js';
34
+ import '../interface/IClassWithArgsHistory.js';
35
+ import '../TickerBase-CjfyD6j5.js';
36
+ import '../types/TickerIdType.js';
37
+ import '../interface/export/ExportedStep.js';
38
+ import '../interface/IHistoryStep.js';
39
+ import 'deep-diff';
40
+ import '../interface/export/ExportedStorage.js';
41
+ import '../interface/IOpenedLabel.js';