@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
|
@@ -3,15 +3,15 @@ import { CloseType } from '../types/CloseType.mjs';
|
|
|
3
3
|
import LabelRunModeType from '../types/LabelRunModeType.mjs';
|
|
4
4
|
import { StorageObjectType } from '../types/StorageElementType.mjs';
|
|
5
5
|
import { LabelIdType } from '../types/LabelIdType.mjs';
|
|
6
|
+
import '../types/StepHistoryDataType.mjs';
|
|
6
7
|
import '../types/StepLabelType.mjs';
|
|
7
8
|
import '@drincs/pixi-vn/dist/override';
|
|
8
|
-
import '../types/StepHistoryDataType.mjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* ChoiceMenuOption is a class that contains a Label and a text that will be displayed in the menu.
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
|
14
|
-
* new ChoiceMenuOption("
|
|
14
|
+
* new ChoiceMenuOption("Hello", HelloLabel)
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
declare class ChoiceMenuOption<T extends StorageObjectType> {
|
|
@@ -33,11 +33,11 @@ declare class ChoiceMenuOption<T extends StorageObjectType> {
|
|
|
33
33
|
props: StorageObjectType;
|
|
34
34
|
/**
|
|
35
35
|
* @param text Text to be displayed in the menu
|
|
36
|
-
* @param label Label to be opened when the option is selected
|
|
37
|
-
* @param type Type of the label to be opened
|
|
38
|
-
* @param props Properties to be passed to the label, when the label is called. it cannot contain functions or classes.
|
|
36
|
+
* @param label Label to be opened when the option is selected or the id of the label
|
|
37
|
+
* @param type Type of the label to be opened. @default "call"
|
|
38
|
+
* @param props Properties to be passed to the label, when the label is called. it cannot contain functions or classes. @default {}
|
|
39
39
|
*/
|
|
40
|
-
constructor(text: string, label:
|
|
40
|
+
constructor(text: string, label: Label<T> | LabelIdType, type?: LabelRunModeType, props?: T);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* ChoiceMenuOptionClose is a class that contains a text that will be displayed in the menu.
|
|
@@ -78,10 +78,22 @@ type IStoratedChoiceMenuOption = {
|
|
|
78
78
|
text: string;
|
|
79
79
|
type: CloseType;
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* HistoryChoiceMenuOption is a type that contains the history information of a choice menu option.
|
|
83
|
+
*/
|
|
81
84
|
type HistoryChoiceMenuOption = {
|
|
85
|
+
/**
|
|
86
|
+
* Text to be displayed in the menu
|
|
87
|
+
*/
|
|
82
88
|
text: string;
|
|
89
|
+
/**
|
|
90
|
+
* Method used to open the label, or close the menu.
|
|
91
|
+
*/
|
|
83
92
|
type: CloseType | LabelRunModeType;
|
|
84
|
-
|
|
93
|
+
/**
|
|
94
|
+
* This choice is a response
|
|
95
|
+
*/
|
|
96
|
+
isResponse: boolean;
|
|
85
97
|
};
|
|
86
98
|
|
|
87
99
|
export { ChoiceMenuOptionClose, type HistoryChoiceMenuOption, type IStoratedChoiceMenuOption, ChoiceMenuOption as default };
|
|
@@ -3,15 +3,15 @@ import { CloseType } from '../types/CloseType.js';
|
|
|
3
3
|
import LabelRunModeType from '../types/LabelRunModeType.js';
|
|
4
4
|
import { StorageObjectType } from '../types/StorageElementType.js';
|
|
5
5
|
import { LabelIdType } from '../types/LabelIdType.js';
|
|
6
|
+
import '../types/StepHistoryDataType.js';
|
|
6
7
|
import '../types/StepLabelType.js';
|
|
7
8
|
import '@drincs/pixi-vn/dist/override';
|
|
8
|
-
import '../types/StepHistoryDataType.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* ChoiceMenuOption is a class that contains a Label and a text that will be displayed in the menu.
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
|
14
|
-
* new ChoiceMenuOption("
|
|
14
|
+
* new ChoiceMenuOption("Hello", HelloLabel)
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
declare class ChoiceMenuOption<T extends StorageObjectType> {
|
|
@@ -33,11 +33,11 @@ declare class ChoiceMenuOption<T extends StorageObjectType> {
|
|
|
33
33
|
props: StorageObjectType;
|
|
34
34
|
/**
|
|
35
35
|
* @param text Text to be displayed in the menu
|
|
36
|
-
* @param label Label to be opened when the option is selected
|
|
37
|
-
* @param type Type of the label to be opened
|
|
38
|
-
* @param props Properties to be passed to the label, when the label is called. it cannot contain functions or classes.
|
|
36
|
+
* @param label Label to be opened when the option is selected or the id of the label
|
|
37
|
+
* @param type Type of the label to be opened. @default "call"
|
|
38
|
+
* @param props Properties to be passed to the label, when the label is called. it cannot contain functions or classes. @default {}
|
|
39
39
|
*/
|
|
40
|
-
constructor(text: string, label:
|
|
40
|
+
constructor(text: string, label: Label<T> | LabelIdType, type?: LabelRunModeType, props?: T);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* ChoiceMenuOptionClose is a class that contains a text that will be displayed in the menu.
|
|
@@ -78,10 +78,22 @@ type IStoratedChoiceMenuOption = {
|
|
|
78
78
|
text: string;
|
|
79
79
|
type: CloseType;
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* HistoryChoiceMenuOption is a type that contains the history information of a choice menu option.
|
|
83
|
+
*/
|
|
81
84
|
type HistoryChoiceMenuOption = {
|
|
85
|
+
/**
|
|
86
|
+
* Text to be displayed in the menu
|
|
87
|
+
*/
|
|
82
88
|
text: string;
|
|
89
|
+
/**
|
|
90
|
+
* Method used to open the label, or close the menu.
|
|
91
|
+
*/
|
|
83
92
|
type: CloseType | LabelRunModeType;
|
|
84
|
-
|
|
93
|
+
/**
|
|
94
|
+
* This choice is a response
|
|
95
|
+
*/
|
|
96
|
+
isResponse: boolean;
|
|
85
97
|
};
|
|
86
98
|
|
|
87
99
|
export { ChoiceMenuOptionClose, type HistoryChoiceMenuOption, type IStoratedChoiceMenuOption, ChoiceMenuOption as default };
|