@drincs/pixi-vn 0.6.0 → 0.6.2
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.
- package/dist/{TickerBase-RQDWNI4K.d.ts → TickerBase-3rLpDpmb.d.ts} +27 -13
- package/dist/{TickerBase-B5CQCJs8.d.mts → TickerBase-DKYzbzro.d.mts} +27 -13
- package/dist/classes/CanvasEvent.d.mts +7 -1
- package/dist/classes/CanvasEvent.d.ts +7 -1
- package/dist/classes/CanvasEvent.js +7 -0
- package/dist/classes/CanvasEvent.js.map +1 -1
- package/dist/classes/CanvasEvent.mjs +7 -0
- package/dist/classes/CanvasEvent.mjs.map +1 -1
- package/dist/classes/CharacterBaseModel.d.mts +2 -26
- package/dist/classes/CharacterBaseModel.d.ts +2 -26
- package/dist/classes/CharacterBaseModel.js +544 -241
- package/dist/classes/CharacterBaseModel.js.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs +540 -241
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOption.d.mts +27 -17
- package/dist/classes/ChoiceMenuOption.d.ts +27 -17
- package/dist/classes/ChoiceMenuOption.js +548 -243
- package/dist/classes/ChoiceMenuOption.js.map +1 -1
- package/dist/classes/ChoiceMenuOption.mjs +544 -243
- package/dist/classes/ChoiceMenuOption.mjs.map +1 -1
- package/dist/classes/CloseLabel.d.mts +1 -1
- package/dist/classes/CloseLabel.d.ts +1 -1
- package/dist/classes/CloseLabel.js +1 -1
- package/dist/classes/CloseLabel.js.map +1 -1
- package/dist/classes/CloseLabel.mjs +1 -1
- package/dist/classes/CloseLabel.mjs.map +1 -1
- package/dist/classes/DialogueBaseModel.d.mts +3 -2
- package/dist/classes/DialogueBaseModel.d.ts +3 -2
- package/dist/classes/DialogueBaseModel.js +5 -5
- package/dist/classes/DialogueBaseModel.js.map +1 -1
- package/dist/classes/DialogueBaseModel.mjs +5 -5
- package/dist/classes/DialogueBaseModel.mjs.map +1 -1
- package/dist/classes/Label.d.mts +1 -1
- package/dist/classes/Label.d.ts +1 -1
- package/dist/classes/Label.js +1 -1
- package/dist/classes/Label.js.map +1 -1
- package/dist/classes/Label.mjs +1 -1
- package/dist/classes/Label.mjs.map +1 -1
- package/dist/classes/StoredClassModel.d.mts +2 -2
- package/dist/classes/StoredClassModel.d.ts +2 -2
- package/dist/classes/StoredClassModel.js +544 -241
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs +540 -241
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/canvas/CanvasBase.d.mts +5 -1
- package/dist/classes/canvas/CanvasBase.d.ts +5 -1
- package/dist/classes/canvas/CanvasBase.js +7 -0
- package/dist/classes/canvas/CanvasBase.js.map +1 -1
- package/dist/classes/canvas/CanvasBase.mjs +7 -0
- package/dist/classes/canvas/CanvasBase.mjs.map +1 -1
- package/dist/classes/canvas/CanvasContainer.d.mts +4 -1
- package/dist/classes/canvas/CanvasContainer.d.ts +4 -1
- package/dist/classes/canvas/CanvasContainer.js +57 -37
- package/dist/classes/canvas/CanvasContainer.js.map +1 -1
- package/dist/classes/canvas/CanvasContainer.mjs +57 -38
- package/dist/classes/canvas/CanvasContainer.mjs.map +1 -1
- package/dist/classes/canvas/CanvasImage.d.mts +4 -2
- package/dist/classes/canvas/CanvasImage.d.ts +4 -2
- package/dist/classes/canvas/CanvasImage.js +33 -20
- package/dist/classes/canvas/CanvasImage.js.map +1 -1
- package/dist/classes/canvas/CanvasImage.mjs +30 -20
- package/dist/classes/canvas/CanvasImage.mjs.map +1 -1
- package/dist/classes/canvas/CanvasSprite.d.mts +6 -3
- package/dist/classes/canvas/CanvasSprite.d.ts +6 -3
- package/dist/classes/canvas/CanvasSprite.js +25 -17
- package/dist/classes/canvas/CanvasSprite.js.map +1 -1
- package/dist/classes/canvas/CanvasSprite.mjs +25 -18
- package/dist/classes/canvas/CanvasSprite.mjs.map +1 -1
- package/dist/classes/canvas/CanvasText.d.mts +6 -3
- package/dist/classes/canvas/CanvasText.d.ts +6 -3
- package/dist/classes/canvas/CanvasText.js +25 -17
- package/dist/classes/canvas/CanvasText.js.map +1 -1
- package/dist/classes/canvas/CanvasText.mjs +25 -18
- package/dist/classes/canvas/CanvasText.mjs.map +1 -1
- package/dist/classes/canvas/index.js +184 -158
- package/dist/classes/canvas/index.js.map +1 -1
- package/dist/classes/canvas/index.mjs +184 -158
- package/dist/classes/canvas/index.mjs.map +1 -1
- package/dist/classes/index.d.mts +6 -4
- package/dist/classes/index.d.ts +6 -4
- package/dist/classes/index.js +560 -248
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +556 -248
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/FadeAlphaTicker.d.mts +27 -0
- package/dist/classes/ticker/FadeAlphaTicker.d.ts +27 -0
- package/dist/classes/ticker/{TickerFadeAlpha.js → FadeAlphaTicker.js} +549 -248
- package/dist/classes/ticker/FadeAlphaTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerRotate.mjs → FadeAlphaTicker.mjs} +571 -274
- package/dist/classes/ticker/FadeAlphaTicker.mjs.map +1 -0
- package/dist/classes/ticker/MoveTicker.d.mts +25 -0
- package/dist/classes/ticker/MoveTicker.d.ts +25 -0
- package/dist/classes/ticker/{TickerMove.js → MoveTicker.js} +544 -241
- package/dist/classes/ticker/MoveTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerFadeAlpha.mjs → MoveTicker.mjs} +568 -269
- package/dist/classes/ticker/MoveTicker.mjs.map +1 -0
- package/dist/classes/ticker/RotateTicker.d.mts +27 -0
- package/dist/classes/ticker/RotateTicker.d.ts +27 -0
- package/dist/classes/ticker/{TickerRotate.js → RotateTicker.js} +544 -241
- package/dist/classes/ticker/RotateTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerMove.mjs → RotateTicker.mjs} +558 -259
- package/dist/classes/ticker/RotateTicker.mjs.map +1 -0
- package/dist/classes/ticker/TickerBase.d.mts +2 -1
- package/dist/classes/ticker/TickerBase.d.ts +2 -1
- package/dist/classes/ticker/TickerBase.js +12 -6
- package/dist/classes/ticker/TickerBase.js.map +1 -1
- package/dist/classes/ticker/TickerBase.mjs +12 -6
- package/dist/classes/ticker/TickerBase.mjs.map +1 -1
- package/dist/classes/ticker/ZoomTicker.d.mts +31 -0
- package/dist/classes/ticker/ZoomTicker.d.ts +31 -0
- package/dist/classes/ticker/ZoomTicker.js +1647 -0
- package/dist/classes/ticker/ZoomTicker.js.map +1 -0
- package/dist/classes/ticker/ZoomTicker.mjs +1639 -0
- package/dist/classes/ticker/ZoomTicker.mjs.map +1 -0
- package/dist/classes/ticker/index.d.mts +11 -8
- package/dist/classes/ticker/index.d.ts +11 -8
- package/dist/classes/ticker/index.js +567 -266
- package/dist/classes/ticker/index.js.map +1 -1
- package/dist/classes/ticker/index.mjs +564 -267
- package/dist/classes/ticker/index.mjs.map +1 -1
- package/dist/constants.d.mts +12 -2
- package/dist/constants.d.ts +12 -2
- package/dist/constants.js +10 -1
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +9 -2
- package/dist/constants.mjs.map +1 -1
- package/dist/decorators/CanvasElementDecorator.d.mts +3 -3
- package/dist/decorators/CanvasElementDecorator.d.ts +3 -3
- package/dist/decorators/CanvasElementDecorator.js +63 -43
- package/dist/decorators/CanvasElementDecorator.js.map +1 -1
- package/dist/decorators/CanvasElementDecorator.mjs +62 -42
- package/dist/decorators/CanvasElementDecorator.mjs.map +1 -1
- package/dist/decorators/CharacterDecorator.d.mts +1 -0
- package/dist/decorators/CharacterDecorator.d.ts +1 -0
- package/dist/decorators/CharacterDecorator.js +1 -1
- package/dist/decorators/CharacterDecorator.js.map +1 -1
- package/dist/decorators/CharacterDecorator.mjs +1 -1
- package/dist/decorators/CharacterDecorator.mjs.map +1 -1
- package/dist/decorators/EventDecorator.d.mts +7 -7
- package/dist/decorators/EventDecorator.d.ts +7 -7
- package/dist/decorators/EventDecorator.js +12 -11
- package/dist/decorators/EventDecorator.js.map +1 -1
- package/dist/decorators/EventDecorator.mjs +11 -10
- package/dist/decorators/EventDecorator.mjs.map +1 -1
- package/dist/decorators/LabelDecorator.d.mts +4 -3
- package/dist/decorators/LabelDecorator.d.ts +4 -3
- package/dist/decorators/LabelDecorator.js +546 -243
- package/dist/decorators/LabelDecorator.js.map +1 -1
- package/dist/decorators/LabelDecorator.mjs +542 -243
- package/dist/decorators/LabelDecorator.mjs.map +1 -1
- package/dist/decorators/TickerDecorator.d.mts +9 -6
- package/dist/decorators/TickerDecorator.d.ts +9 -6
- package/dist/decorators/TickerDecorator.js +7 -6
- package/dist/decorators/TickerDecorator.js.map +1 -1
- package/dist/decorators/TickerDecorator.mjs +7 -6
- package/dist/decorators/TickerDecorator.mjs.map +1 -1
- package/dist/decorators/index.d.mts +4 -3
- package/dist/decorators/index.d.ts +4 -3
- package/dist/decorators/index.js +550 -245
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/index.mjs +546 -245
- package/dist/decorators/index.mjs.map +1 -1
- package/dist/functions/CanvasUtility.js +56 -37
- package/dist/functions/CanvasUtility.js.map +1 -1
- package/dist/functions/CanvasUtility.mjs +56 -37
- package/dist/functions/CanvasUtility.mjs.map +1 -1
- package/dist/functions/DialogueUtility.d.mts +7 -5
- package/dist/functions/DialogueUtility.d.ts +7 -5
- package/dist/functions/DialogueUtility.js +729 -397
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs +729 -397
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js +544 -241
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs +540 -241
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js +544 -241
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs +540 -241
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.d.mts +81 -8
- package/dist/functions/ImageUtility.d.ts +81 -8
- package/dist/functions/ImageUtility.js +911 -387
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs +899 -387
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.d.mts +9 -5
- package/dist/functions/SavesUtility.d.ts +9 -5
- package/dist/functions/SavesUtility.js +611 -252
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +611 -252
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/TickerUtility.d.mts +1 -1
- package/dist/functions/TickerUtility.d.ts +1 -1
- package/dist/functions/TickerUtility.js +32 -18
- package/dist/functions/TickerUtility.js.map +1 -1
- package/dist/functions/TickerUtility.mjs +32 -18
- package/dist/functions/TickerUtility.mjs.map +1 -1
- package/dist/functions/index.d.mts +18 -8
- package/dist/functions/index.d.ts +18 -8
- package/dist/functions/index.js +832 -279
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +825 -280
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +25 -16
- package/dist/index.d.ts +25 -16
- package/dist/index.js +1547 -290
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1538 -290
- package/dist/index.mjs.map +1 -1
- package/dist/interface/CharacterBaseModelProps.d.mts +27 -0
- package/dist/interface/CharacterBaseModelProps.d.ts +27 -0
- package/dist/interface/CharacterBaseModelProps.js +4 -0
- package/dist/interface/CharacterBaseModelProps.mjs +3 -0
- package/dist/interface/DialogueHistory.d.mts +3 -7
- package/dist/interface/DialogueHistory.d.ts +3 -7
- package/dist/interface/IHistoryStep.d.mts +12 -8
- package/dist/interface/IHistoryStep.d.ts +12 -8
- package/dist/interface/ISaveData.d.mts +8 -4
- package/dist/interface/ISaveData.d.ts +8 -4
- package/dist/interface/ITicker.d.mts +2 -1
- package/dist/interface/ITicker.d.ts +2 -1
- package/dist/interface/ITickersSteps.d.mts +14 -5
- package/dist/interface/ITickersSteps.d.ts +14 -5
- package/dist/interface/TickerHistory.d.mts +29 -0
- package/dist/interface/TickerHistory.d.ts +29 -0
- package/dist/{types/ticker/TickerMoveProps.js → interface/TickerHistory.js} +1 -1
- package/dist/interface/TickerHistory.mjs +3 -0
- package/dist/interface/TickerProgrationType.d.mts +13 -1
- package/dist/interface/TickerProgrationType.d.ts +13 -1
- package/dist/interface/TickerTimeoutHistory.d.mts +7 -0
- package/dist/interface/TickerTimeoutHistory.d.ts +7 -0
- package/dist/interface/TickerTimeoutHistory.js +4 -0
- package/dist/interface/TickerTimeoutHistory.mjs +3 -0
- package/dist/interface/canvas/ICanvasBaseMemory.d.mts +1 -1
- package/dist/interface/canvas/ICanvasBaseMemory.d.ts +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.d.mts +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.d.ts +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.d.mts +0 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +0 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.d.mts +0 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +0 -1
- package/dist/interface/export/ExportedCanvas.d.mts +11 -3
- package/dist/interface/export/ExportedCanvas.d.ts +11 -3
- package/dist/interface/export/ExportedStep.d.mts +7 -3
- package/dist/interface/export/ExportedStep.d.ts +7 -3
- package/dist/interface/export/index.d.mts +8 -4
- package/dist/interface/export/index.d.ts +8 -4
- package/dist/interface/index.d.mts +14 -11
- package/dist/interface/index.d.ts +14 -11
- package/dist/labels/BaseCanvasElementTestLabel.d.mts +9 -0
- package/dist/labels/BaseCanvasElementTestLabel.d.ts +9 -0
- package/dist/labels/BaseCanvasElementTestLabel.js +1888 -0
- package/dist/labels/BaseCanvasElementTestLabel.js.map +1 -0
- package/dist/labels/BaseCanvasElementTestLabel.mjs +1882 -0
- package/dist/labels/BaseCanvasElementTestLabel.mjs.map +1 -0
- package/dist/labels/CanvasEventsTestLabel.d.mts +27 -0
- package/dist/labels/CanvasEventsTestLabel.d.ts +27 -0
- package/dist/labels/CanvasEventsTestLabel.js +2822 -0
- package/dist/labels/CanvasEventsTestLabel.js.map +1 -0
- package/dist/labels/CanvasEventsTestLabel.mjs +2816 -0
- package/dist/labels/CanvasEventsTestLabel.mjs.map +1 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.d.mts +20 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.d.ts +20 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.js +2792 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.js.map +1 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.mjs +2786 -0
- package/dist/labels/CustomTickerCanvasElementTestLabel.mjs.map +1 -0
- package/dist/labels/ImagesAnimationsTestLabel.d.mts +9 -0
- package/dist/labels/ImagesAnimationsTestLabel.d.ts +9 -0
- package/dist/labels/ImagesAnimationsTestLabel.js +3378 -0
- package/dist/labels/ImagesAnimationsTestLabel.js.map +1 -0
- package/dist/labels/ImagesAnimationsTestLabel.mjs +3372 -0
- package/dist/labels/ImagesAnimationsTestLabel.mjs.map +1 -0
- package/dist/labels/MarkdownTest.d.mts +9 -0
- package/dist/labels/MarkdownTest.d.ts +9 -0
- package/dist/labels/MarkdownTest.js +2756 -0
- package/dist/labels/MarkdownTest.js.map +1 -0
- package/dist/labels/MarkdownTest.mjs +2750 -0
- package/dist/labels/MarkdownTest.mjs.map +1 -0
- package/dist/labels/StartLabel.d.mts +10 -0
- package/dist/labels/StartLabel.d.ts +10 -0
- package/dist/labels/StartLabel.js +3736 -0
- package/dist/labels/StartLabel.js.map +1 -0
- package/dist/labels/StartLabel.mjs +3729 -0
- package/dist/labels/StartLabel.mjs.map +1 -0
- package/dist/labels/TestConstant.d.mts +17 -0
- package/dist/labels/TestConstant.d.ts +17 -0
- package/dist/labels/TestConstant.js +1872 -0
- package/dist/labels/TestConstant.js.map +1 -0
- package/dist/labels/TestConstant.mjs +1856 -0
- package/dist/labels/TestConstant.mjs.map +1 -0
- package/dist/labels/TickerTestLabel.d.mts +9 -0
- package/dist/labels/TickerTestLabel.d.ts +9 -0
- package/dist/labels/TickerTestLabel.js +2675 -0
- package/dist/labels/TickerTestLabel.js.map +1 -0
- package/dist/labels/TickerTestLabel.mjs +2669 -0
- package/dist/labels/TickerTestLabel.mjs.map +1 -0
- package/dist/labels/index.d.mts +10 -0
- package/dist/labels/index.d.ts +10 -0
- package/dist/labels/index.js +3736 -0
- package/dist/labels/index.js.map +1 -0
- package/dist/labels/index.mjs +3729 -0
- package/dist/labels/index.mjs.map +1 -0
- package/dist/managers/StepManager.d.mts +21 -15
- package/dist/managers/StepManager.d.ts +21 -15
- package/dist/managers/StepManager.js +610 -251
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs +610 -251
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/WindowManager.d.mts +38 -24
- package/dist/managers/WindowManager.d.ts +38 -24
- package/dist/managers/WindowManager.js +356 -170
- package/dist/managers/WindowManager.js.map +1 -1
- package/dist/managers/WindowManager.mjs +352 -170
- package/dist/managers/WindowManager.mjs.map +1 -1
- package/dist/managers/index.d.mts +15 -14
- package/dist/managers/index.d.ts +15 -14
- package/dist/managers/index.js +612 -251
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs +612 -251
- package/dist/managers/index.mjs.map +1 -1
- package/dist/types/CanvasEventNamesType.d.mts +1 -1
- package/dist/types/CanvasEventNamesType.d.ts +1 -1
- package/dist/types/ChoiceMenuOptionsType.d.mts +2 -2
- package/dist/types/ChoiceMenuOptionsType.d.ts +2 -2
- package/dist/types/HistoryChoiceMenuOption.d.mts +22 -0
- package/dist/types/HistoryChoiceMenuOption.d.ts +22 -0
- package/dist/types/HistoryChoiceMenuOption.js +4 -0
- package/dist/types/HistoryChoiceMenuOption.mjs +3 -0
- package/dist/types/PauseType.d.mts +8 -4
- package/dist/types/PauseType.d.ts +8 -4
- package/dist/types/PauseType.js +0 -11
- package/dist/types/PauseType.js.map +1 -1
- package/dist/types/PauseType.mjs +0 -9
- package/dist/types/PauseType.mjs.map +1 -1
- package/dist/types/RepeatType.d.mts +1 -2
- package/dist/types/RepeatType.d.ts +1 -2
- package/dist/types/RepeatType.js +0 -4
- package/dist/types/RepeatType.js.map +1 -1
- package/dist/types/RepeatType.mjs +0 -3
- package/dist/types/RepeatType.mjs.map +1 -1
- package/dist/types/index.d.mts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +0 -15
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +1 -13
- package/dist/types/index.mjs.map +1 -1
- package/dist/types/ticker/{TickerFadeAlphaProps.d.mts → FadeAlphaTickerProps.d.mts} +9 -5
- package/dist/types/ticker/{TickerFadeAlphaProps.d.ts → FadeAlphaTickerProps.d.ts} +9 -5
- package/dist/types/ticker/FadeAlphaTickerProps.js +4 -0
- package/dist/types/ticker/FadeAlphaTickerProps.js.map +1 -0
- package/dist/types/ticker/FadeAlphaTickerProps.mjs +3 -0
- package/dist/types/ticker/FadeAlphaTickerProps.mjs.map +1 -0
- package/dist/types/ticker/{TickerMoveProps.d.mts → MoveTickerProps.d.mts} +14 -5
- package/dist/types/ticker/{TickerMoveProps.d.ts → MoveTickerProps.d.ts} +14 -5
- package/dist/types/ticker/{TickerRotateProps.js → MoveTickerProps.js} +1 -1
- package/dist/types/ticker/MoveTickerProps.js.map +1 -0
- package/dist/types/ticker/MoveTickerProps.mjs +3 -0
- package/dist/types/ticker/MoveTickerProps.mjs.map +1 -0
- package/dist/types/ticker/{TickerRotateProps.d.mts → RotateTickerProps.d.mts} +10 -4
- package/dist/types/ticker/{TickerRotateProps.d.ts → RotateTickerProps.d.ts} +10 -4
- package/dist/types/ticker/RotateTickerProps.js +4 -0
- package/dist/types/ticker/RotateTickerProps.js.map +1 -0
- package/dist/types/ticker/RotateTickerProps.mjs +3 -0
- package/dist/types/ticker/RotateTickerProps.mjs.map +1 -0
- package/dist/types/ticker/TagToRemoveAfterType.d.mts +4 -0
- package/dist/types/ticker/TagToRemoveAfterType.d.ts +4 -0
- package/dist/types/ticker/TagToRemoveAfterType.js +8 -0
- package/dist/types/ticker/TagToRemoveAfterType.js.map +1 -0
- package/dist/types/ticker/TagToRemoveAfterType.mjs +6 -0
- package/dist/types/ticker/TagToRemoveAfterType.mjs.map +1 -0
- package/dist/types/ticker/ZoomTickerProps.d.mts +45 -0
- package/dist/types/ticker/ZoomTickerProps.d.ts +45 -0
- package/dist/types/ticker/ZoomTickerProps.js +4 -0
- package/dist/types/ticker/ZoomTickerProps.js.map +1 -0
- package/dist/types/ticker/ZoomTickerProps.mjs +3 -0
- package/dist/types/ticker/ZoomTickerProps.mjs.map +1 -0
- package/dist/types/ticker/index.d.mts +4 -2
- package/dist/types/ticker/index.d.ts +4 -2
- package/package.json +7 -7
- package/dist/classes/ticker/TickerFadeAlpha.d.mts +0 -31
- package/dist/classes/ticker/TickerFadeAlpha.d.ts +0 -31
- package/dist/classes/ticker/TickerFadeAlpha.js.map +0 -1
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +0 -1
- package/dist/classes/ticker/TickerMove.d.mts +0 -29
- package/dist/classes/ticker/TickerMove.d.ts +0 -29
- package/dist/classes/ticker/TickerMove.js.map +0 -1
- package/dist/classes/ticker/TickerMove.mjs.map +0 -1
- package/dist/classes/ticker/TickerRotate.d.mts +0 -30
- package/dist/classes/ticker/TickerRotate.d.ts +0 -30
- package/dist/classes/ticker/TickerRotate.js.map +0 -1
- package/dist/classes/ticker/TickerRotate.mjs.map +0 -1
- package/dist/functions/ErrorUtility.d.mts +0 -24
- package/dist/functions/ErrorUtility.d.ts +0 -24
- package/dist/functions/ErrorUtility.js +0 -261
- package/dist/functions/ErrorUtility.js.map +0 -1
- package/dist/functions/ErrorUtility.mjs +0 -258
- package/dist/functions/ErrorUtility.mjs.map +0 -1
- package/dist/interface/IClassWithArgsHistory.d.mts +0 -25
- package/dist/interface/IClassWithArgsHistory.d.ts +0 -25
- package/dist/interface/IClassWithArgsHistory.js +0 -4
- package/dist/interface/IClassWithArgsHistory.mjs +0 -3
- package/dist/types/ticker/TickerFadeAlphaProps.js +0 -4
- package/dist/types/ticker/TickerFadeAlphaProps.mjs +0 -3
- package/dist/types/ticker/TickerMoveProps.mjs +0 -3
- package/dist/types/ticker/TickerRotateProps.mjs +0 -3
- /package/dist/interface/{IClassWithArgsHistory.js.map → CharacterBaseModelProps.js.map} +0 -0
- /package/dist/interface/{IClassWithArgsHistory.mjs.map → CharacterBaseModelProps.mjs.map} +0 -0
- /package/dist/{types/ticker/TickerFadeAlphaProps.js.map → interface/TickerHistory.js.map} +0 -0
- /package/dist/{types/ticker/TickerFadeAlphaProps.mjs.map → interface/TickerHistory.mjs.map} +0 -0
- /package/dist/{types/ticker/TickerMoveProps.js.map → interface/TickerTimeoutHistory.js.map} +0 -0
- /package/dist/{types/ticker/TickerMoveProps.mjs.map → interface/TickerTimeoutHistory.mjs.map} +0 -0
- /package/dist/types/{ticker/TickerRotateProps.js.map → HistoryChoiceMenuOption.js.map} +0 -0
- /package/dist/types/{ticker/TickerRotateProps.mjs.map → HistoryChoiceMenuOption.mjs.map} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CharacterBaseModelProps is an interface that is used to create a character model.
|
|
3
|
+
*/
|
|
4
|
+
interface CharacterBaseModelProps {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the character.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The surname of the character.
|
|
11
|
+
*/
|
|
12
|
+
surname?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The age of the character.
|
|
15
|
+
*/
|
|
16
|
+
age?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The icon of the character.
|
|
19
|
+
*/
|
|
20
|
+
icon?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The color of the character.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type { CharacterBaseModelProps as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CharacterBaseModelProps is an interface that is used to create a character model.
|
|
3
|
+
*/
|
|
4
|
+
interface CharacterBaseModelProps {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the character.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The surname of the character.
|
|
11
|
+
*/
|
|
12
|
+
surname?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The age of the character.
|
|
15
|
+
*/
|
|
16
|
+
age?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The icon of the character.
|
|
19
|
+
*/
|
|
20
|
+
icon?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The color of the character.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type { CharacterBaseModelProps as default };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import HistoryChoiceMenuOption from '../types/HistoryChoiceMenuOption.mjs';
|
|
2
2
|
import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
|
|
3
|
-
import '../classes/Label.mjs';
|
|
4
|
-
import '../types/LabelIdType.mjs';
|
|
5
|
-
import '../types/StepHistoryDataType.mjs';
|
|
6
|
-
import '../types/StepLabelType.mjs';
|
|
7
|
-
import '@drincs/pixi-vn/dist/override';
|
|
8
3
|
import '../types/CloseType.mjs';
|
|
9
4
|
import '../types/LabelRunModeType.mjs';
|
|
10
|
-
import '../types/StorageElementType.mjs';
|
|
11
5
|
import '../classes/CharacterBaseModel.mjs';
|
|
6
|
+
import './CharacterBaseModelProps.mjs';
|
|
12
7
|
import '../classes/StoredClassModel.mjs';
|
|
8
|
+
import '../types/StorageElementType.mjs';
|
|
13
9
|
|
|
14
10
|
interface DialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
|
|
15
11
|
/**
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import HistoryChoiceMenuOption from '../types/HistoryChoiceMenuOption.js';
|
|
2
2
|
import DialogueBaseModel from '../classes/DialogueBaseModel.js';
|
|
3
|
-
import '../classes/Label.js';
|
|
4
|
-
import '../types/LabelIdType.js';
|
|
5
|
-
import '../types/StepHistoryDataType.js';
|
|
6
|
-
import '../types/StepLabelType.js';
|
|
7
|
-
import '@drincs/pixi-vn/dist/override';
|
|
8
3
|
import '../types/CloseType.js';
|
|
9
4
|
import '../types/LabelRunModeType.js';
|
|
10
|
-
import '../types/StorageElementType.js';
|
|
11
5
|
import '../classes/CharacterBaseModel.js';
|
|
6
|
+
import './CharacterBaseModelProps.js';
|
|
12
7
|
import '../classes/StoredClassModel.js';
|
|
8
|
+
import '../types/StorageElementType.js';
|
|
13
9
|
|
|
14
10
|
interface DialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
|
|
15
11
|
/**
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import deepDiff from 'deep-diff';
|
|
2
2
|
import { IStoratedChoiceMenuOption } from '../classes/ChoiceMenuOption.mjs';
|
|
3
|
+
import IOpenedLabel from './IOpenedLabel.mjs';
|
|
4
|
+
import ExportedCanvas from './export/ExportedCanvas.mjs';
|
|
5
|
+
import ExportedStorage from './export/ExportedStorage.mjs';
|
|
3
6
|
import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
|
|
4
7
|
import { LabelIdType } from '../types/LabelIdType.mjs';
|
|
5
8
|
import { StepHistoryDataType } from '../types/StepHistoryDataType.mjs';
|
|
6
|
-
import
|
|
7
|
-
import ExportedStorage from './export/ExportedStorage.mjs';
|
|
8
|
-
import IOpenedLabel from './IOpenedLabel.mjs';
|
|
9
|
+
import '../types/StorageElementType.mjs';
|
|
9
10
|
import '../classes/Label.mjs';
|
|
10
11
|
import '../types/StepLabelType.mjs';
|
|
11
12
|
import '@drincs/pixi-vn/dist/override';
|
|
12
13
|
import '../types/CloseType.mjs';
|
|
13
14
|
import '../types/LabelRunModeType.mjs';
|
|
14
|
-
import '../types/StorageElementType.mjs';
|
|
15
|
-
import '../classes/CharacterBaseModel.mjs';
|
|
16
|
-
import '../classes/StoredClassModel.mjs';
|
|
17
15
|
import './canvas/ICanvasBaseMemory.mjs';
|
|
18
|
-
import './
|
|
16
|
+
import './ITickersSteps.mjs';
|
|
19
17
|
import 'pixi.js';
|
|
20
|
-
import '../TickerBase-
|
|
18
|
+
import '../TickerBase-DKYzbzro.mjs';
|
|
21
19
|
import '../types/TickerIdType.mjs';
|
|
20
|
+
import '../types/PauseType.mjs';
|
|
21
|
+
import '../types/RepeatType.mjs';
|
|
22
|
+
import './TickerHistory.mjs';
|
|
23
|
+
import '../classes/CharacterBaseModel.mjs';
|
|
24
|
+
import './CharacterBaseModelProps.mjs';
|
|
25
|
+
import '../classes/StoredClassModel.mjs';
|
|
22
26
|
|
|
23
27
|
/**
|
|
24
28
|
* IHistoryStep is a interface that contains the information of a step in the history.
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import deepDiff from 'deep-diff';
|
|
2
2
|
import { IStoratedChoiceMenuOption } from '../classes/ChoiceMenuOption.js';
|
|
3
|
+
import IOpenedLabel from './IOpenedLabel.js';
|
|
4
|
+
import ExportedCanvas from './export/ExportedCanvas.js';
|
|
5
|
+
import ExportedStorage from './export/ExportedStorage.js';
|
|
3
6
|
import DialogueBaseModel from '../classes/DialogueBaseModel.js';
|
|
4
7
|
import { LabelIdType } from '../types/LabelIdType.js';
|
|
5
8
|
import { StepHistoryDataType } from '../types/StepHistoryDataType.js';
|
|
6
|
-
import
|
|
7
|
-
import ExportedStorage from './export/ExportedStorage.js';
|
|
8
|
-
import IOpenedLabel from './IOpenedLabel.js';
|
|
9
|
+
import '../types/StorageElementType.js';
|
|
9
10
|
import '../classes/Label.js';
|
|
10
11
|
import '../types/StepLabelType.js';
|
|
11
12
|
import '@drincs/pixi-vn/dist/override';
|
|
12
13
|
import '../types/CloseType.js';
|
|
13
14
|
import '../types/LabelRunModeType.js';
|
|
14
|
-
import '../types/StorageElementType.js';
|
|
15
|
-
import '../classes/CharacterBaseModel.js';
|
|
16
|
-
import '../classes/StoredClassModel.js';
|
|
17
15
|
import './canvas/ICanvasBaseMemory.js';
|
|
18
|
-
import './
|
|
16
|
+
import './ITickersSteps.js';
|
|
19
17
|
import 'pixi.js';
|
|
20
|
-
import '../TickerBase-
|
|
18
|
+
import '../TickerBase-3rLpDpmb.js';
|
|
21
19
|
import '../types/TickerIdType.js';
|
|
20
|
+
import '../types/PauseType.js';
|
|
21
|
+
import '../types/RepeatType.js';
|
|
22
|
+
import './TickerHistory.js';
|
|
23
|
+
import '../classes/CharacterBaseModel.js';
|
|
24
|
+
import './CharacterBaseModelProps.js';
|
|
25
|
+
import '../classes/StoredClassModel.js';
|
|
22
26
|
|
|
23
27
|
/**
|
|
24
28
|
* IHistoryStep is a interface that contains the information of a step in the history.
|
|
@@ -2,25 +2,29 @@ import ExportedCanvas from './export/ExportedCanvas.mjs';
|
|
|
2
2
|
import ExportedStep from './export/ExportedStep.mjs';
|
|
3
3
|
import ExportedStorage from './export/ExportedStorage.mjs';
|
|
4
4
|
import './canvas/ICanvasBaseMemory.mjs';
|
|
5
|
-
import './
|
|
5
|
+
import './ITickersSteps.mjs';
|
|
6
6
|
import 'pixi.js';
|
|
7
|
-
import '../TickerBase-
|
|
7
|
+
import '../TickerBase-DKYzbzro.mjs';
|
|
8
8
|
import '../types/StorageElementType.mjs';
|
|
9
9
|
import '../types/TickerIdType.mjs';
|
|
10
|
+
import '../types/PauseType.mjs';
|
|
11
|
+
import '../types/RepeatType.mjs';
|
|
12
|
+
import './TickerHistory.mjs';
|
|
10
13
|
import './IHistoryStep.mjs';
|
|
11
14
|
import 'deep-diff';
|
|
12
15
|
import '../classes/ChoiceMenuOption.mjs';
|
|
13
|
-
import '../classes/Label.mjs';
|
|
14
16
|
import '../types/LabelIdType.mjs';
|
|
17
|
+
import '../classes/Label.mjs';
|
|
15
18
|
import '../types/StepHistoryDataType.mjs';
|
|
16
19
|
import '../types/StepLabelType.mjs';
|
|
17
20
|
import '@drincs/pixi-vn/dist/override';
|
|
18
21
|
import '../types/CloseType.mjs';
|
|
19
22
|
import '../types/LabelRunModeType.mjs';
|
|
23
|
+
import './IOpenedLabel.mjs';
|
|
20
24
|
import '../classes/DialogueBaseModel.mjs';
|
|
21
25
|
import '../classes/CharacterBaseModel.mjs';
|
|
26
|
+
import './CharacterBaseModelProps.mjs';
|
|
22
27
|
import '../classes/StoredClassModel.mjs';
|
|
23
|
-
import './IOpenedLabel.mjs';
|
|
24
28
|
|
|
25
29
|
interface ISaveData {
|
|
26
30
|
pixivn_version: string;
|
|
@@ -2,25 +2,29 @@ import ExportedCanvas from './export/ExportedCanvas.js';
|
|
|
2
2
|
import ExportedStep from './export/ExportedStep.js';
|
|
3
3
|
import ExportedStorage from './export/ExportedStorage.js';
|
|
4
4
|
import './canvas/ICanvasBaseMemory.js';
|
|
5
|
-
import './
|
|
5
|
+
import './ITickersSteps.js';
|
|
6
6
|
import 'pixi.js';
|
|
7
|
-
import '../TickerBase-
|
|
7
|
+
import '../TickerBase-3rLpDpmb.js';
|
|
8
8
|
import '../types/StorageElementType.js';
|
|
9
9
|
import '../types/TickerIdType.js';
|
|
10
|
+
import '../types/PauseType.js';
|
|
11
|
+
import '../types/RepeatType.js';
|
|
12
|
+
import './TickerHistory.js';
|
|
10
13
|
import './IHistoryStep.js';
|
|
11
14
|
import 'deep-diff';
|
|
12
15
|
import '../classes/ChoiceMenuOption.js';
|
|
13
|
-
import '../classes/Label.js';
|
|
14
16
|
import '../types/LabelIdType.js';
|
|
17
|
+
import '../classes/Label.js';
|
|
15
18
|
import '../types/StepHistoryDataType.js';
|
|
16
19
|
import '../types/StepLabelType.js';
|
|
17
20
|
import '@drincs/pixi-vn/dist/override';
|
|
18
21
|
import '../types/CloseType.js';
|
|
19
22
|
import '../types/LabelRunModeType.js';
|
|
23
|
+
import './IOpenedLabel.js';
|
|
20
24
|
import '../classes/DialogueBaseModel.js';
|
|
21
25
|
import '../classes/CharacterBaseModel.js';
|
|
26
|
+
import './CharacterBaseModelProps.js';
|
|
22
27
|
import '../classes/StoredClassModel.js';
|
|
23
|
-
import './IOpenedLabel.js';
|
|
24
28
|
|
|
25
29
|
interface ISaveData {
|
|
26
30
|
pixivn_version: string;
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { a as TickerArgsType } from '../TickerBase-DKYzbzro.mjs';
|
|
2
3
|
import { PauseType } from '../types/PauseType.mjs';
|
|
3
4
|
import { RepeatType } from '../types/RepeatType.mjs';
|
|
4
|
-
import 'pixi.js';
|
|
5
5
|
import '../types/StorageElementType.mjs';
|
|
6
|
+
import '../types/TickerIdType.mjs';
|
|
6
7
|
|
|
7
|
-
interface ITickersStep<TArgs extends TickerArgsType>
|
|
8
|
+
interface ITickersStep<TArgs extends TickerArgsType> {
|
|
8
9
|
/**
|
|
9
10
|
* Ticker class name
|
|
10
11
|
*/
|
|
11
12
|
ticker: string;
|
|
12
13
|
/**
|
|
13
|
-
* Duration in
|
|
14
|
+
* Duration in seconds. If is undefined, the step will end only when the animation is finished.
|
|
14
15
|
*/
|
|
15
|
-
duration
|
|
16
|
+
duration?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Arguments to pass to the ticker
|
|
19
|
+
*/
|
|
20
|
+
args: TArgs;
|
|
21
|
+
/**
|
|
22
|
+
* Priority of the ticker
|
|
23
|
+
*/
|
|
24
|
+
priority?: UPDATE_PRIORITY;
|
|
16
25
|
}
|
|
17
26
|
/**
|
|
18
27
|
* The steps of the tickers
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { a as TickerArgsType } from '../TickerBase-3rLpDpmb.js';
|
|
2
3
|
import { PauseType } from '../types/PauseType.js';
|
|
3
4
|
import { RepeatType } from '../types/RepeatType.js';
|
|
4
|
-
import 'pixi.js';
|
|
5
5
|
import '../types/StorageElementType.js';
|
|
6
|
+
import '../types/TickerIdType.js';
|
|
6
7
|
|
|
7
|
-
interface ITickersStep<TArgs extends TickerArgsType>
|
|
8
|
+
interface ITickersStep<TArgs extends TickerArgsType> {
|
|
8
9
|
/**
|
|
9
10
|
* Ticker class name
|
|
10
11
|
*/
|
|
11
12
|
ticker: string;
|
|
12
13
|
/**
|
|
13
|
-
* Duration in
|
|
14
|
+
* Duration in seconds. If is undefined, the step will end only when the animation is finished.
|
|
14
15
|
*/
|
|
15
|
-
duration
|
|
16
|
+
duration?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Arguments to pass to the ticker
|
|
19
|
+
*/
|
|
20
|
+
args: TArgs;
|
|
21
|
+
/**
|
|
22
|
+
* Priority of the ticker
|
|
23
|
+
*/
|
|
24
|
+
priority?: UPDATE_PRIORITY;
|
|
16
25
|
}
|
|
17
26
|
/**
|
|
18
27
|
* The steps of the tickers
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TickerCallback, UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { a as TickerArgsType } from '../TickerBase-DKYzbzro.mjs';
|
|
3
|
+
import { TickerIdType } from '../types/TickerIdType.mjs';
|
|
4
|
+
import '../types/StorageElementType.mjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* TickerHistory is a class that contains the name of a class and the arguments that were used to create it.
|
|
8
|
+
*/
|
|
9
|
+
interface TickerHistory<TArgs extends TickerArgsType> {
|
|
10
|
+
fn: TickerCallback<any>;
|
|
11
|
+
id: TickerIdType;
|
|
12
|
+
args: TArgs;
|
|
13
|
+
canvasElementTags: string[];
|
|
14
|
+
priority?: UPDATE_PRIORITY;
|
|
15
|
+
duration?: number;
|
|
16
|
+
/**
|
|
17
|
+
* If this ticker was created by steps
|
|
18
|
+
*/
|
|
19
|
+
createdByTicketStepsId?: string;
|
|
20
|
+
}
|
|
21
|
+
interface TickerHistoryForExport<TArgs extends TickerArgsType> {
|
|
22
|
+
id: TickerIdType;
|
|
23
|
+
args: TArgs;
|
|
24
|
+
canvasElementTags: string[];
|
|
25
|
+
priority?: UPDATE_PRIORITY;
|
|
26
|
+
duration?: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type { TickerHistoryForExport, TickerHistory as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TickerCallback, UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { a as TickerArgsType } from '../TickerBase-3rLpDpmb.js';
|
|
3
|
+
import { TickerIdType } from '../types/TickerIdType.js';
|
|
4
|
+
import '../types/StorageElementType.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* TickerHistory is a class that contains the name of a class and the arguments that were used to create it.
|
|
8
|
+
*/
|
|
9
|
+
interface TickerHistory<TArgs extends TickerArgsType> {
|
|
10
|
+
fn: TickerCallback<any>;
|
|
11
|
+
id: TickerIdType;
|
|
12
|
+
args: TArgs;
|
|
13
|
+
canvasElementTags: string[];
|
|
14
|
+
priority?: UPDATE_PRIORITY;
|
|
15
|
+
duration?: number;
|
|
16
|
+
/**
|
|
17
|
+
* If this ticker was created by steps
|
|
18
|
+
*/
|
|
19
|
+
createdByTicketStepsId?: string;
|
|
20
|
+
}
|
|
21
|
+
interface TickerHistoryForExport<TArgs extends TickerArgsType> {
|
|
22
|
+
id: TickerIdType;
|
|
23
|
+
args: TArgs;
|
|
24
|
+
canvasElementTags: string[];
|
|
25
|
+
priority?: UPDATE_PRIORITY;
|
|
26
|
+
duration?: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type { TickerHistoryForExport, TickerHistory as default };
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
type TickerProgrationType = ITickerProgrationLinear | ITickerProgrationExponential;
|
|
2
2
|
type ITickerProgrationLinear = {
|
|
3
|
+
/**
|
|
4
|
+
* The amount of the speed to increase every frame.
|
|
5
|
+
*/
|
|
3
6
|
amt: number;
|
|
7
|
+
/**
|
|
8
|
+
* The limit of the effect
|
|
9
|
+
*/
|
|
4
10
|
limit?: number;
|
|
5
11
|
type: "linear";
|
|
6
12
|
};
|
|
7
13
|
type ITickerProgrationExponential = {
|
|
14
|
+
/**
|
|
15
|
+
* The percentage of the speed to increase every frame. if the percentage is 0.1, the speed will increase by 10% every frame.
|
|
16
|
+
*/
|
|
8
17
|
percentage: number;
|
|
18
|
+
/**
|
|
19
|
+
* The limit of the effect
|
|
20
|
+
*/
|
|
9
21
|
limit?: number;
|
|
10
22
|
type: "exponential";
|
|
11
23
|
};
|
|
12
24
|
|
|
13
|
-
export type { TickerProgrationType };
|
|
25
|
+
export type { ITickerProgrationExponential, ITickerProgrationLinear, TickerProgrationType };
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
type TickerProgrationType = ITickerProgrationLinear | ITickerProgrationExponential;
|
|
2
2
|
type ITickerProgrationLinear = {
|
|
3
|
+
/**
|
|
4
|
+
* The amount of the speed to increase every frame.
|
|
5
|
+
*/
|
|
3
6
|
amt: number;
|
|
7
|
+
/**
|
|
8
|
+
* The limit of the effect
|
|
9
|
+
*/
|
|
4
10
|
limit?: number;
|
|
5
11
|
type: "linear";
|
|
6
12
|
};
|
|
7
13
|
type ITickerProgrationExponential = {
|
|
14
|
+
/**
|
|
15
|
+
* The percentage of the speed to increase every frame. if the percentage is 0.1, the speed will increase by 10% every frame.
|
|
16
|
+
*/
|
|
8
17
|
percentage: number;
|
|
18
|
+
/**
|
|
19
|
+
* The limit of the effect
|
|
20
|
+
*/
|
|
9
21
|
limit?: number;
|
|
10
22
|
type: "exponential";
|
|
11
23
|
};
|
|
12
24
|
|
|
13
|
-
export type { TickerProgrationType };
|
|
25
|
+
export type { ITickerProgrationExponential, ITickerProgrationLinear, TickerProgrationType };
|
|
@@ -8,7 +8,7 @@ import './ITextureMemory.mjs';
|
|
|
8
8
|
* The memory of the image. It uses for save the state of the image.
|
|
9
9
|
*/
|
|
10
10
|
interface ICanvasImageMemory extends ICanvasSpriteBaseMemory {
|
|
11
|
-
|
|
11
|
+
imageLink: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export type { ICanvasImageMemory as default };
|
|
@@ -8,7 +8,7 @@ import './ITextureMemory.js';
|
|
|
8
8
|
* The memory of the image. It uses for save the state of the image.
|
|
9
9
|
*/
|
|
10
10
|
interface ICanvasImageMemory extends ICanvasSpriteBaseMemory {
|
|
11
|
-
|
|
11
|
+
imageLink: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export type { ICanvasImageMemory as default };
|
|
@@ -13,7 +13,6 @@ interface ICanvasSpriteBaseMemory extends SpriteOptions, ICanvasBaseMemory {
|
|
|
13
13
|
* Interface for the canvas sprite memory
|
|
14
14
|
*/
|
|
15
15
|
interface ICanvasSpriteMemory extends ICanvasSpriteBaseMemory {
|
|
16
|
-
className: "CanvasSprite";
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
export type { ICanvasSpriteBaseMemory, ICanvasSpriteMemory as default };
|
|
@@ -13,7 +13,6 @@ interface ICanvasSpriteBaseMemory extends SpriteOptions, ICanvasBaseMemory {
|
|
|
13
13
|
* Interface for the canvas sprite memory
|
|
14
14
|
*/
|
|
15
15
|
interface ICanvasSpriteMemory extends ICanvasSpriteBaseMemory {
|
|
16
|
-
className: "CanvasSprite";
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
export type { ICanvasSpriteBaseMemory, ICanvasSpriteMemory as default };
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import ICanvasBaseMemory from '../canvas/ICanvasBaseMemory.mjs';
|
|
2
|
-
import
|
|
2
|
+
import ITickersSteps from '../ITickersSteps.mjs';
|
|
3
|
+
import { TickerHistoryForExport } from '../TickerHistory.mjs';
|
|
3
4
|
import 'pixi.js';
|
|
4
|
-
import '../../TickerBase-
|
|
5
|
+
import '../../TickerBase-DKYzbzro.mjs';
|
|
5
6
|
import '../../types/StorageElementType.mjs';
|
|
6
7
|
import '../../types/TickerIdType.mjs';
|
|
8
|
+
import '../../types/PauseType.mjs';
|
|
9
|
+
import '../../types/RepeatType.mjs';
|
|
7
10
|
|
|
8
11
|
/**
|
|
9
12
|
* Interface exported canvas
|
|
10
13
|
*/
|
|
11
14
|
interface ExportedCanvas {
|
|
12
|
-
currentTickers:
|
|
15
|
+
currentTickers: {
|
|
16
|
+
[id: string]: TickerHistoryForExport<any>;
|
|
17
|
+
};
|
|
18
|
+
currentTickersSteps: {
|
|
19
|
+
[tag: string]: ITickersSteps;
|
|
20
|
+
};
|
|
13
21
|
currentElements: {
|
|
14
22
|
[tag: string]: ICanvasBaseMemory;
|
|
15
23
|
};
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import ICanvasBaseMemory from '../canvas/ICanvasBaseMemory.js';
|
|
2
|
-
import
|
|
2
|
+
import ITickersSteps from '../ITickersSteps.js';
|
|
3
|
+
import { TickerHistoryForExport } from '../TickerHistory.js';
|
|
3
4
|
import 'pixi.js';
|
|
4
|
-
import '../../TickerBase-
|
|
5
|
+
import '../../TickerBase-3rLpDpmb.js';
|
|
5
6
|
import '../../types/StorageElementType.js';
|
|
6
7
|
import '../../types/TickerIdType.js';
|
|
8
|
+
import '../../types/PauseType.js';
|
|
9
|
+
import '../../types/RepeatType.js';
|
|
7
10
|
|
|
8
11
|
/**
|
|
9
12
|
* Interface exported canvas
|
|
10
13
|
*/
|
|
11
14
|
interface ExportedCanvas {
|
|
12
|
-
currentTickers:
|
|
15
|
+
currentTickers: {
|
|
16
|
+
[id: string]: TickerHistoryForExport<any>;
|
|
17
|
+
};
|
|
18
|
+
currentTickersSteps: {
|
|
19
|
+
[tag: string]: ITickersSteps;
|
|
20
|
+
};
|
|
13
21
|
currentElements: {
|
|
14
22
|
[tag: string]: ICanvasBaseMemory;
|
|
15
23
|
};
|