@drincs/pixi-vn 0.5.2 → 0.5.4
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/classes/CharacterBaseModel.js +110 -112
- package/dist/classes/CharacterBaseModel.js.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs +110 -112
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOption.d.mts +19 -7
- package/dist/classes/ChoiceMenuOption.d.ts +19 -7
- package/dist/classes/ChoiceMenuOption.js +1386 -7
- package/dist/classes/ChoiceMenuOption.js.map +1 -1
- package/dist/classes/ChoiceMenuOption.mjs +1386 -7
- package/dist/classes/ChoiceMenuOption.mjs.map +1 -1
- package/dist/classes/CloseLabel.d.mts +8 -3
- package/dist/classes/CloseLabel.d.ts +8 -3
- package/dist/classes/CloseLabel.js +44 -2
- package/dist/classes/CloseLabel.js.map +1 -1
- package/dist/classes/CloseLabel.mjs +41 -2
- package/dist/classes/CloseLabel.mjs.map +1 -1
- package/dist/classes/Label.d.mts +47 -21
- package/dist/classes/Label.d.ts +47 -21
- package/dist/classes/Label.js +36 -1
- package/dist/classes/Label.js.map +1 -1
- package/dist/classes/Label.mjs +36 -1
- package/dist/classes/Label.mjs.map +1 -1
- package/dist/classes/StoredClassModel.js +55 -57
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs +55 -57
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/index.d.mts +2 -2
- package/dist/classes/index.d.ts +2 -2
- package/dist/classes/index.js +125 -73
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +125 -73
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.js +27 -27
- package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.mjs +27 -27
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
- package/dist/classes/ticker/TickerMove.js +57 -55
- package/dist/classes/ticker/TickerMove.js.map +1 -1
- package/dist/classes/ticker/TickerMove.mjs +57 -55
- package/dist/classes/ticker/TickerMove.mjs.map +1 -1
- package/dist/classes/ticker/TickerRotate.js +57 -55
- package/dist/classes/ticker/TickerRotate.js.map +1 -1
- package/dist/classes/ticker/TickerRotate.mjs +57 -55
- package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
- package/dist/classes/ticker/index.js +17 -17
- package/dist/classes/ticker/index.js.map +1 -1
- package/dist/classes/ticker/index.mjs +17 -17
- package/dist/classes/ticker/index.mjs.map +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/constants.mjs.map +1 -1
- package/dist/decorators/LabelDecorator.d.mts +13 -20
- package/dist/decorators/LabelDecorator.d.ts +13 -20
- package/dist/decorators/LabelDecorator.js +1388 -28
- package/dist/decorators/LabelDecorator.js.map +1 -1
- package/dist/decorators/LabelDecorator.mjs +1388 -25
- package/dist/decorators/LabelDecorator.mjs.map +1 -1
- package/dist/decorators/index.d.mts +4 -4
- package/dist/decorators/index.d.ts +4 -4
- package/dist/decorators/index.js +1385 -13
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/index.mjs +1384 -13
- package/dist/decorators/index.mjs.map +1 -1
- package/dist/functions/DialogueUtility.d.mts +7 -7
- package/dist/functions/DialogueUtility.d.ts +7 -7
- package/dist/functions/DialogueUtility.js +97 -67
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs +97 -67
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js +55 -57
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs +55 -57
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js +55 -57
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs +55 -57
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.js +17 -17
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs +17 -17
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.d.mts +2 -2
- package/dist/functions/SavesUtility.d.ts +2 -2
- package/dist/functions/SavesUtility.js +115 -143
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +115 -143
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/StepLabelUtility.d.mts +0 -1
- package/dist/functions/StepLabelUtility.d.ts +0 -1
- package/dist/functions/index.d.mts +4 -4
- package/dist/functions/index.d.ts +4 -4
- package/dist/functions/index.js +98 -68
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +98 -68
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +361 -327
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +360 -327
- package/dist/index.mjs.map +1 -1
- package/dist/interface/{IDialogueHistory.d.mts → DialogueHistory.d.mts} +5 -5
- package/dist/interface/{IDialogueHistory.d.ts → DialogueHistory.d.ts} +5 -5
- package/dist/interface/{IDialogueHistory.js → DialogueHistory.js} +1 -1
- package/dist/interface/DialogueHistory.mjs +3 -0
- package/dist/interface/IHistoryStep.d.mts +2 -2
- package/dist/interface/IHistoryStep.d.ts +2 -2
- package/dist/interface/ISaveData.d.mts +2 -2
- package/dist/interface/ISaveData.d.ts +2 -2
- package/dist/interface/export/ExportedStep.d.mts +2 -2
- package/dist/interface/export/ExportedStep.d.ts +2 -2
- package/dist/interface/export/index.d.mts +2 -2
- package/dist/interface/export/index.d.ts +2 -2
- package/dist/interface/index.d.mts +6 -6
- package/dist/interface/index.d.ts +6 -6
- package/dist/managers/StepManager.d.mts +12 -12
- package/dist/managers/StepManager.d.ts +12 -12
- package/dist/managers/StepManager.js +55 -81
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs +55 -81
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/WindowManager.d.mts +1 -1
- package/dist/managers/WindowManager.d.ts +1 -1
- package/dist/managers/index.d.mts +2 -2
- package/dist/managers/index.d.ts +2 -2
- package/dist/managers/index.js +114 -142
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs +114 -142
- package/dist/managers/index.mjs.map +1 -1
- package/dist/types/ChoiceMenuOptionsType.d.mts +3 -3
- package/dist/types/ChoiceMenuOptionsType.d.ts +3 -3
- package/dist/types/StepLabelType.d.mts +2 -3
- package/dist/types/StepLabelType.d.ts +2 -3
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/interface/IDialogueHistory.mjs +0 -3
- /package/dist/interface/{IDialogueHistory.js.map → DialogueHistory.js.map} +0 -0
- /package/dist/interface/{IDialogueHistory.mjs.map → DialogueHistory.mjs.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import ChoiceMenuOption, { ChoiceMenuOptionClose } from '../classes/ChoiceMenuOption.mjs';
|
|
2
2
|
import '../classes/Label.mjs';
|
|
3
|
+
import './LabelIdType.mjs';
|
|
4
|
+
import './StepHistoryDataType.mjs';
|
|
3
5
|
import './StepLabelType.mjs';
|
|
4
6
|
import '@drincs/pixi-vn/dist/override';
|
|
5
|
-
import './StorageElementType.mjs';
|
|
6
|
-
import './StepHistoryDataType.mjs';
|
|
7
7
|
import './CloseType.mjs';
|
|
8
8
|
import './LabelRunModeType.mjs';
|
|
9
|
-
import './
|
|
9
|
+
import './StorageElementType.mjs';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Munu is a type that contains a list of Label that a player can choose from.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import ChoiceMenuOption, { ChoiceMenuOptionClose } from '../classes/ChoiceMenuOption.js';
|
|
2
2
|
import '../classes/Label.js';
|
|
3
|
+
import './LabelIdType.js';
|
|
4
|
+
import './StepHistoryDataType.js';
|
|
3
5
|
import './StepLabelType.js';
|
|
4
6
|
import '@drincs/pixi-vn/dist/override';
|
|
5
|
-
import './StorageElementType.js';
|
|
6
|
-
import './StepHistoryDataType.js';
|
|
7
7
|
import './CloseType.js';
|
|
8
8
|
import './LabelRunModeType.js';
|
|
9
|
-
import './
|
|
9
|
+
import './StorageElementType.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Munu is a type that contains a list of Label that a player can choose from.
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { StepLabelResult, StepLabelProps } from '@drincs/pixi-vn/dist/override';
|
|
2
|
-
import { StorageObjectType } from './StorageElementType.mjs';
|
|
3
2
|
|
|
4
3
|
type StepLabelResultType = StepLabelResult | void;
|
|
5
|
-
type StepLabelPropsType<T extends {}
|
|
4
|
+
type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
|
|
6
5
|
/**
|
|
7
6
|
* StepLabel is a function that will be executed as the game continues.
|
|
8
7
|
*/
|
|
9
|
-
type StepLabelType<T extends {}
|
|
8
|
+
type StepLabelType<T extends {} = {}> = ((props?: StepLabelPropsType<T>) => StepLabelResultType | Promise<StepLabelResultType>);
|
|
10
9
|
|
|
11
10
|
export type { StepLabelPropsType, StepLabelResultType, StepLabelType };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { StepLabelResult, StepLabelProps } from '@drincs/pixi-vn/dist/override';
|
|
2
|
-
import { StorageObjectType } from './StorageElementType.js';
|
|
3
2
|
|
|
4
3
|
type StepLabelResultType = StepLabelResult | void;
|
|
5
|
-
type StepLabelPropsType<T extends {}
|
|
4
|
+
type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
|
|
6
5
|
/**
|
|
7
6
|
* StepLabel is a function that will be executed as the game continues.
|
|
8
7
|
*/
|
|
9
|
-
type StepLabelType<T extends {}
|
|
8
|
+
type StepLabelType<T extends {} = {}> = ((props?: StepLabelPropsType<T>) => StepLabelResultType | Promise<StepLabelResultType>);
|
|
10
9
|
|
|
11
10
|
export type { StepLabelPropsType, StepLabelResultType, StepLabelType };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -8,6 +8,6 @@ export { StepLabelType } from './StepLabelType.mjs';
|
|
|
8
8
|
export { StorageElementType, StorageObjectType } from './StorageElementType.mjs';
|
|
9
9
|
import '../classes/ChoiceMenuOption.mjs';
|
|
10
10
|
import '../classes/Label.mjs';
|
|
11
|
-
import './StepHistoryDataType.mjs';
|
|
12
11
|
import './LabelIdType.mjs';
|
|
12
|
+
import './StepHistoryDataType.mjs';
|
|
13
13
|
import '@drincs/pixi-vn/dist/override';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export { StepLabelType } from './StepLabelType.js';
|
|
|
8
8
|
export { StorageElementType, StorageObjectType } from './StorageElementType.js';
|
|
9
9
|
import '../classes/ChoiceMenuOption.js';
|
|
10
10
|
import '../classes/Label.js';
|
|
11
|
-
import './StepHistoryDataType.js';
|
|
12
11
|
import './LabelIdType.js';
|
|
12
|
+
import './StepHistoryDataType.js';
|
|
13
13
|
import '@drincs/pixi-vn/dist/override';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drincs/pixi-vn",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Pixi'VN is a npm package that provides various features for creating visual novels.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://pixi-vn.web.app/",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@drincs/pixi-vn": "^0.
|
|
26
|
+
"@drincs/pixi-vn": "^0.5.3",
|
|
27
27
|
"@types/crypto-js": "^4.2.2",
|
|
28
28
|
"@types/css-font-loading-module": "^0.0.13",
|
|
29
29
|
"@types/deep-diff": "^1.0.5",
|
|
File without changes
|
|
File without changes
|