@drincs/pixi-vn 1.2.25 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ContainerMemory-Bemxh6ml.d.cts → ContainerMemory-CrY9QSo2.d.cts} +16 -13
- package/dist/{ContainerMemory-BSDt46hh.d.ts → ContainerMemory-DrijxCcD.d.ts} +16 -13
- package/dist/{TickersSequence-_GvVF_1g.d.cts → TickersSequence-Cf1Vcu22.d.cts} +55 -12
- package/dist/{TickersSequence-_GvVF_1g.d.ts → TickersSequence-Cf1Vcu22.d.ts} +55 -12
- package/dist/canvas/index.cjs +144 -142
- package/dist/canvas/index.d.cts +5 -4
- package/dist/canvas/index.d.ts +5 -4
- package/dist/canvas/index.mjs +144 -142
- package/dist/canvas/tickers/index.cjs +145 -143
- package/dist/canvas/tickers/index.d.cts +141 -118
- package/dist/canvas/tickers/index.d.ts +141 -118
- package/dist/canvas/tickers/index.mjs +145 -143
- package/dist/character/index.cjs +41 -40
- package/dist/character/index.d.cts +1 -1
- package/dist/character/index.d.ts +1 -1
- package/dist/character/index.mjs +41 -40
- package/dist/{index-DiDhb7Kl.d.cts → index-Bl9hiHQR.d.cts} +4 -143
- package/dist/{index-DPlLfwK1.d.cts → index-Cax-mGq_.d.cts} +2 -17
- package/dist/{index-BWzZWl0z.d.ts → index-Cvdua0o-.d.ts} +2 -17
- package/dist/{index-BhqocQcj.d.cts → index-Dib5x6-D.d.ts} +138 -73
- package/dist/{index-B7Tn343-.d.ts → index-_rD16ks5.d.ts} +4 -143
- package/dist/{index-Bju40pxd.d.ts → index-jEmIURMn.d.cts} +138 -73
- package/dist/index.cjs +144 -143
- package/dist/index.d.cts +13 -37
- package/dist/index.d.ts +13 -37
- package/dist/index.mjs +144 -143
- package/dist/interfaces/index.d.cts +3 -3
- package/dist/interfaces/index.d.ts +3 -3
- package/dist/narration/index.cjs +55 -54
- package/dist/narration/index.d.cts +1 -1
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.mjs +55 -54
- package/dist/sound/index.cjs +42 -41
- package/dist/sound/index.mjs +42 -41
- package/package.json +4 -3
package/dist/index.d.cts
CHANGED
|
@@ -4,21 +4,22 @@ import { ApplicationOptions, Rectangle } from 'pixi.js';
|
|
|
4
4
|
export { Assets, ContainerOptions, Rectangle, Texture, TextureSourceLike, Ticker as TickerValue, UPDATE_PRIORITY } from 'pixi.js';
|
|
5
5
|
import { S as SoundManager, s as soundUtils } from './index-DZ1shoNp.cjs';
|
|
6
6
|
export { b as Sound, c as SoundManagerStatic, a as sound } from './index-DZ1shoNp.cjs';
|
|
7
|
+
export { AnimationOptions as MotionAnimationOptions } from 'motion';
|
|
7
8
|
export { AssetSrc, AssetsBundle, AssetsManifest, LoadParserName, ResolvedAsset, ResolvedSrc, UnresolvedAsset } from 'pixi.js/lib/assets/types';
|
|
8
|
-
import { C as CanvasManagerInterface, c as canvasUtils } from './index-
|
|
9
|
-
export {
|
|
10
|
-
import { c as characterUtils } from './index-
|
|
11
|
-
export { C as CharacterBaseModel,
|
|
9
|
+
import { C as CanvasManagerInterface, c as canvasUtils } from './index-jEmIURMn.cjs';
|
|
10
|
+
export { _ as AnimationOptions, $ as AnimationSequenceOptions, H as CanvasBaseInterface, b as CanvasEvent, a4 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, K as ImageContainerMemory, B as ImageContainerOptions, f as ImageSprite, L as ImageSpriteMemory, D as ImageSpriteOptions, a0 as KeyframesType, U as MoveInOutProps, a1 as ObjectSegment, a2 as ObjectSegmentWithTransition, W as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, a3 as SequenceOptions, J as ShakeEffectProps, X as ShowWithDissolveTransitionProps, Y as ShowWithFadeTransitionProps, S as Sprite, M as SpriteBaseMemory, N as SpriteMemory, E as SpriteOptions, T as Text, O as TextMemory, F as TextOptions, Q as TextureMemory, V as VideoSprite, P as VideoSpriteMemory, G as VideoSpriteOptions, Z as ZoomInOutProps, v as addImage, t as addImageCointainer, y as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, x as getTexture, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, w as showImage, u as showImageContainer, A as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-jEmIURMn.cjs';
|
|
11
|
+
import { c as characterUtils } from './index-Cax-mGq_.cjs';
|
|
12
|
+
export { C as CharacterBaseModel, b as CharacterInterface, a as CharacterStoredClass, R as RegisteredCharacters } from './index-Cax-mGq_.cjs';
|
|
12
13
|
export { CachedMap } from './classes/index.cjs';
|
|
13
14
|
import { filters as filters$1 } from '@pixi/sound';
|
|
14
|
-
import { P as PauseType, R as RepeatType } from './TickersSequence-
|
|
15
|
-
export { T as
|
|
15
|
+
import { P as PauseType, R as RepeatType } from './TickersSequence-Cf1Vcu22.cjs';
|
|
16
|
+
export { T as Ticker, a as TickerArgs, b as TickerHistory, c as TickerInfo, d as TickersSequence } from './TickersSequence-Cf1Vcu22.cjs';
|
|
16
17
|
import { HistoryManagerInterface } from './history/index.cjs';
|
|
17
18
|
export { HistoryManagerStatic, stepHistory } from './history/index.cjs';
|
|
18
19
|
import { GameState } from './interfaces/index.cjs';
|
|
19
20
|
export { GameStepStateData } from './interfaces/index.cjs';
|
|
20
|
-
import { S as StepLabelType, a as StepLabelPropsType, N as NarrationManagerInterface, L as LabelAbstract, n as narrationUtils } from './index-
|
|
21
|
-
export {
|
|
21
|
+
import { S as StepLabelType, a as StepLabelPropsType, N as NarrationManagerInterface, L as LabelAbstract, n as narrationUtils } from './index-Bl9hiHQR.cjs';
|
|
22
|
+
export { C as ChoiceInterface, I as InputInfo, e as Label, g as LabelProps, k as LabelSteps, j as NarrationManagerStatic, R as RegisteredLabels, h as StepLabelProps, i as StepLabelResult, l as StepLabelResultType, b as narration, c as newChoiceOption, d as newCloseChoiceOption, f as newLabel } from './index-Bl9hiHQR.cjs';
|
|
22
23
|
import { StorageManagerInterface } from './storage/index.cjs';
|
|
23
24
|
export { StorageManagerStatic, storage } from './storage/index.cjs';
|
|
24
25
|
import { GameStepState, HistoryInfo, CharacterInterface } from '@drincs/pixi-vn';
|
|
@@ -26,8 +27,8 @@ import { S as StorageElementType } from './StorageElementType-DTGcnkzF.cjs';
|
|
|
26
27
|
export { a as StorageObjectType } from './StorageElementType-DTGcnkzF.cjs';
|
|
27
28
|
import { createExportableElement } from './utils/index.cjs';
|
|
28
29
|
import { Devtools } from '@pixi/devtools';
|
|
29
|
-
export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from './ContainerMemory-
|
|
30
|
-
export { FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps,
|
|
30
|
+
export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from './ContainerMemory-CrY9QSo2.cjs';
|
|
31
|
+
export { CommonTickerProps, FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps, TickerBase, TickerProgrationExponential, TickerProgrationLinear, TickerProgrationType, TickerTimeoutHistory, ZoomTicker, ZoomTickerProps, animate, tickerDecorator } from './canvas/tickers/index.cjs';
|
|
31
32
|
export { H as HistoryGameState } from './HistoryGameState-qeIMl_DH.cjs';
|
|
32
33
|
export { a as ChoiceOptionInterface, d as Close, b as CloseChoiceOptionInterface, C as CloseType, D as DialogueInterface, H as HistoryStep, L as LabelRunModeType, O as OpenedLabel, S as StoredChoiceInterface, c as StoredIndexedChoiceInterface } from './OpenedLabel-Dgkgemkv.cjs';
|
|
33
34
|
export { N as NarrationGameState } from './NarrationGameState-Cu-OYzph.cjs';
|
|
@@ -39,7 +40,7 @@ import 'lru-cache';
|
|
|
39
40
|
import 'deep-diff';
|
|
40
41
|
import 'microdiff';
|
|
41
42
|
|
|
42
|
-
var version = "1.
|
|
43
|
+
var version = "1.3.0";
|
|
43
44
|
|
|
44
45
|
declare const Repeat: RepeatType;
|
|
45
46
|
/**
|
|
@@ -465,29 +466,4 @@ declare const _default: {
|
|
|
465
466
|
PIXIVN_VERSION: string;
|
|
466
467
|
};
|
|
467
468
|
|
|
468
|
-
|
|
469
|
-
* @deprecated Use the `Game.clear` function instead
|
|
470
|
-
*/
|
|
471
|
-
declare function clearAllGameDatas(): void;
|
|
472
|
-
/**
|
|
473
|
-
* @deprecated Use the `Game.exportGameState()` function instead
|
|
474
|
-
*/
|
|
475
|
-
declare function getSaveData(): GameState;
|
|
476
|
-
/**
|
|
477
|
-
* @deprecated Use the `JSON.stringify(Game.exportGameState())` function instead
|
|
478
|
-
*/
|
|
479
|
-
declare function getSaveJson(): string;
|
|
480
|
-
/**
|
|
481
|
-
* @deprecated Use the `Game.restoreGameState(data, navigate)` function instead
|
|
482
|
-
*/
|
|
483
|
-
declare function loadSaveData(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
484
|
-
/**
|
|
485
|
-
* @deprecated Use the `Game.restoreGameState(JSON.parse(dataString) as GameState, navigate)` function instead
|
|
486
|
-
*/
|
|
487
|
-
declare function loadSaveJson(dataString: string, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
488
|
-
/**
|
|
489
|
-
* @deprecated Use the `Game.jsonToGameState(json)` function instead
|
|
490
|
-
*/
|
|
491
|
-
declare function jsonToSaveData(json: string): GameState;
|
|
492
|
-
|
|
493
|
-
export { CANVAS_APP_GAME_LAYER_ALIAS, CanvasManagerInterface, Game, GameState, GameUnifier, HistoryManagerInterface, LabelAbstract, NarrationManagerInterface, version as PIXIVN_VERSION, Pause, PauseType, Repeat, RepeatType, SYSTEM_RESERVED_STORAGE_KEYS, GameState as SaveData, StepLabelPropsType, StepLabelType, StorageElementType, StorageManagerInterface, clearAllGameDatas, createExportableElement, _default as default, filters, getSaveData, getSaveJson, jsonToSaveData, loadSaveData, loadSaveJson };
|
|
469
|
+
export { CANVAS_APP_GAME_LAYER_ALIAS, CanvasManagerInterface, Game, GameState, GameUnifier, HistoryManagerInterface, LabelAbstract, NarrationManagerInterface, version as PIXIVN_VERSION, Pause, PauseType, Repeat, RepeatType, SYSTEM_RESERVED_STORAGE_KEYS, StepLabelPropsType, StepLabelType, StorageElementType, StorageManagerInterface, createExportableElement, _default as default, filters };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,21 +4,22 @@ import { ApplicationOptions, Rectangle } from 'pixi.js';
|
|
|
4
4
|
export { Assets, ContainerOptions, Rectangle, Texture, TextureSourceLike, Ticker as TickerValue, UPDATE_PRIORITY } from 'pixi.js';
|
|
5
5
|
import { S as SoundManager, s as soundUtils } from './index-Czfdktw9.js';
|
|
6
6
|
export { b as Sound, c as SoundManagerStatic, a as sound } from './index-Czfdktw9.js';
|
|
7
|
+
export { AnimationOptions as MotionAnimationOptions } from 'motion';
|
|
7
8
|
export { AssetSrc, AssetsBundle, AssetsManifest, LoadParserName, ResolvedAsset, ResolvedSrc, UnresolvedAsset } from 'pixi.js/lib/assets/types';
|
|
8
|
-
import { C as CanvasManagerInterface, c as canvasUtils } from './index-
|
|
9
|
-
export {
|
|
10
|
-
import { c as characterUtils } from './index-
|
|
11
|
-
export { C as CharacterBaseModel,
|
|
9
|
+
import { C as CanvasManagerInterface, c as canvasUtils } from './index-Dib5x6-D.js';
|
|
10
|
+
export { _ as AnimationOptions, $ as AnimationSequenceOptions, H as CanvasBaseInterface, b as CanvasEvent, a4 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, K as ImageContainerMemory, B as ImageContainerOptions, f as ImageSprite, L as ImageSpriteMemory, D as ImageSpriteOptions, a0 as KeyframesType, U as MoveInOutProps, a1 as ObjectSegment, a2 as ObjectSegmentWithTransition, W as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, a3 as SequenceOptions, J as ShakeEffectProps, X as ShowWithDissolveTransitionProps, Y as ShowWithFadeTransitionProps, S as Sprite, M as SpriteBaseMemory, N as SpriteMemory, E as SpriteOptions, T as Text, O as TextMemory, F as TextOptions, Q as TextureMemory, V as VideoSprite, P as VideoSpriteMemory, G as VideoSpriteOptions, Z as ZoomInOutProps, v as addImage, t as addImageCointainer, y as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, x as getTexture, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, w as showImage, u as showImageContainer, A as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-Dib5x6-D.js';
|
|
11
|
+
import { c as characterUtils } from './index-Cvdua0o-.js';
|
|
12
|
+
export { C as CharacterBaseModel, b as CharacterInterface, a as CharacterStoredClass, R as RegisteredCharacters } from './index-Cvdua0o-.js';
|
|
12
13
|
export { CachedMap } from './classes/index.js';
|
|
13
14
|
import { filters as filters$1 } from '@pixi/sound';
|
|
14
|
-
import { P as PauseType, R as RepeatType } from './TickersSequence-
|
|
15
|
-
export { T as
|
|
15
|
+
import { P as PauseType, R as RepeatType } from './TickersSequence-Cf1Vcu22.js';
|
|
16
|
+
export { T as Ticker, a as TickerArgs, b as TickerHistory, c as TickerInfo, d as TickersSequence } from './TickersSequence-Cf1Vcu22.js';
|
|
16
17
|
import { HistoryManagerInterface } from './history/index.js';
|
|
17
18
|
export { HistoryManagerStatic, stepHistory } from './history/index.js';
|
|
18
19
|
import { GameState } from './interfaces/index.js';
|
|
19
20
|
export { GameStepStateData } from './interfaces/index.js';
|
|
20
|
-
import { S as StepLabelType, a as StepLabelPropsType, N as NarrationManagerInterface, L as LabelAbstract, n as narrationUtils } from './index-
|
|
21
|
-
export {
|
|
21
|
+
import { S as StepLabelType, a as StepLabelPropsType, N as NarrationManagerInterface, L as LabelAbstract, n as narrationUtils } from './index-_rD16ks5.js';
|
|
22
|
+
export { C as ChoiceInterface, I as InputInfo, e as Label, g as LabelProps, k as LabelSteps, j as NarrationManagerStatic, R as RegisteredLabels, h as StepLabelProps, i as StepLabelResult, l as StepLabelResultType, b as narration, c as newChoiceOption, d as newCloseChoiceOption, f as newLabel } from './index-_rD16ks5.js';
|
|
22
23
|
import { StorageManagerInterface } from './storage/index.js';
|
|
23
24
|
export { StorageManagerStatic, storage } from './storage/index.js';
|
|
24
25
|
import { GameStepState, HistoryInfo, CharacterInterface } from '@drincs/pixi-vn';
|
|
@@ -26,8 +27,8 @@ import { S as StorageElementType } from './StorageElementType-DTGcnkzF.js';
|
|
|
26
27
|
export { a as StorageObjectType } from './StorageElementType-DTGcnkzF.js';
|
|
27
28
|
import { createExportableElement } from './utils/index.js';
|
|
28
29
|
import { Devtools } from '@pixi/devtools';
|
|
29
|
-
export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from './ContainerMemory-
|
|
30
|
-
export { FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps,
|
|
30
|
+
export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from './ContainerMemory-DrijxCcD.js';
|
|
31
|
+
export { CommonTickerProps, FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps, TickerBase, TickerProgrationExponential, TickerProgrationLinear, TickerProgrationType, TickerTimeoutHistory, ZoomTicker, ZoomTickerProps, animate, tickerDecorator } from './canvas/tickers/index.js';
|
|
31
32
|
export { H as HistoryGameState } from './HistoryGameState-i_gx3rGM.js';
|
|
32
33
|
export { a as ChoiceOptionInterface, d as Close, b as CloseChoiceOptionInterface, C as CloseType, D as DialogueInterface, H as HistoryStep, L as LabelRunModeType, O as OpenedLabel, S as StoredChoiceInterface, c as StoredIndexedChoiceInterface } from './OpenedLabel-DxlOwJKw.js';
|
|
33
34
|
export { N as NarrationGameState } from './NarrationGameState-CqDh48n_.js';
|
|
@@ -39,7 +40,7 @@ import 'lru-cache';
|
|
|
39
40
|
import 'deep-diff';
|
|
40
41
|
import 'microdiff';
|
|
41
42
|
|
|
42
|
-
var version = "1.
|
|
43
|
+
var version = "1.3.0";
|
|
43
44
|
|
|
44
45
|
declare const Repeat: RepeatType;
|
|
45
46
|
/**
|
|
@@ -465,29 +466,4 @@ declare const _default: {
|
|
|
465
466
|
PIXIVN_VERSION: string;
|
|
466
467
|
};
|
|
467
468
|
|
|
468
|
-
|
|
469
|
-
* @deprecated Use the `Game.clear` function instead
|
|
470
|
-
*/
|
|
471
|
-
declare function clearAllGameDatas(): void;
|
|
472
|
-
/**
|
|
473
|
-
* @deprecated Use the `Game.exportGameState()` function instead
|
|
474
|
-
*/
|
|
475
|
-
declare function getSaveData(): GameState;
|
|
476
|
-
/**
|
|
477
|
-
* @deprecated Use the `JSON.stringify(Game.exportGameState())` function instead
|
|
478
|
-
*/
|
|
479
|
-
declare function getSaveJson(): string;
|
|
480
|
-
/**
|
|
481
|
-
* @deprecated Use the `Game.restoreGameState(data, navigate)` function instead
|
|
482
|
-
*/
|
|
483
|
-
declare function loadSaveData(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
484
|
-
/**
|
|
485
|
-
* @deprecated Use the `Game.restoreGameState(JSON.parse(dataString) as GameState, navigate)` function instead
|
|
486
|
-
*/
|
|
487
|
-
declare function loadSaveJson(dataString: string, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
488
|
-
/**
|
|
489
|
-
* @deprecated Use the `Game.jsonToGameState(json)` function instead
|
|
490
|
-
*/
|
|
491
|
-
declare function jsonToSaveData(json: string): GameState;
|
|
492
|
-
|
|
493
|
-
export { CANVAS_APP_GAME_LAYER_ALIAS, CanvasManagerInterface, Game, GameState, GameUnifier, HistoryManagerInterface, LabelAbstract, NarrationManagerInterface, version as PIXIVN_VERSION, Pause, PauseType, Repeat, RepeatType, SYSTEM_RESERVED_STORAGE_KEYS, GameState as SaveData, StepLabelPropsType, StepLabelType, StorageElementType, StorageManagerInterface, clearAllGameDatas, createExportableElement, _default as default, filters, getSaveData, getSaveJson, jsonToSaveData, loadSaveData, loadSaveJson };
|
|
469
|
+
export { CANVAS_APP_GAME_LAYER_ALIAS, CanvasManagerInterface, Game, GameState, GameUnifier, HistoryManagerInterface, LabelAbstract, NarrationManagerInterface, version as PIXIVN_VERSION, Pause, PauseType, Repeat, RepeatType, SYSTEM_RESERVED_STORAGE_KEYS, StepLabelPropsType, StepLabelType, StorageElementType, StorageManagerInterface, createExportableElement, _default as default, filters };
|