@drincs/pixi-vn 0.4.9 → 0.4.11
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.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOptionLabel.d.mts +15 -8
- package/dist/classes/ChoiceMenuOptionLabel.d.ts +15 -8
- package/dist/classes/ChoiceMenuOptionLabel.js +9 -1
- package/dist/classes/ChoiceMenuOptionLabel.js.map +1 -1
- package/dist/classes/ChoiceMenuOptionLabel.mjs +9 -1
- package/dist/classes/ChoiceMenuOptionLabel.mjs.map +1 -1
- package/dist/classes/Label.d.mts +4 -3
- package/dist/classes/Label.d.ts +4 -3
- package/dist/classes/Label.js.map +1 -1
- package/dist/classes/Label.mjs.map +1 -1
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/index.d.mts +3 -3
- package/dist/classes/index.d.ts +3 -3
- package/dist/classes/index.js +9 -1
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +9 -1
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
- package/dist/classes/ticker/TickerMove.js.map +1 -1
- package/dist/classes/ticker/TickerMove.mjs.map +1 -1
- package/dist/classes/ticker/TickerRotate.js.map +1 -1
- package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
- package/dist/classes/ticker/index.js.map +1 -1
- 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 +2 -1
- package/dist/decorators/LabelDecorator.d.ts +2 -1
- package/dist/decorators/index.d.mts +2 -2
- package/dist/decorators/index.d.ts +2 -2
- package/dist/functions/DialogueUtility.d.mts +6 -6
- package/dist/functions/DialogueUtility.d.ts +6 -6
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.d.mts +3 -3
- package/dist/functions/SavesUtility.d.ts +3 -3
- package/dist/functions/SavesUtility.js +1 -1
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +1 -1
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/StepLabelUtility.d.mts +2 -1
- package/dist/functions/StepLabelUtility.d.ts +2 -1
- package/dist/functions/StepLabelUtility.js.map +1 -1
- package/dist/functions/StepLabelUtility.mjs.map +1 -1
- package/dist/functions/index.d.mts +7 -7
- package/dist/functions/index.d.ts +7 -7
- package/dist/functions/index.js +1 -1
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/dist/interface/IDialogueHistory.d.mts +4 -4
- package/dist/interface/IDialogueHistory.d.ts +4 -4
- package/dist/interface/IHistoryStep.d.mts +2 -2
- package/dist/interface/IHistoryStep.d.ts +2 -2
- package/dist/interface/ISaveData.d.mts +3 -3
- package/dist/interface/ISaveData.d.ts +3 -3
- package/dist/interface/export/ExportedStep.d.mts +3 -3
- package/dist/interface/export/ExportedStep.d.ts +3 -3
- package/dist/interface/export/index.d.mts +3 -3
- package/dist/interface/export/index.d.ts +3 -3
- package/dist/interface/index.d.mts +4 -4
- package/dist/interface/index.d.ts +4 -4
- package/dist/managers/StepManager.d.mts +5 -5
- package/dist/managers/StepManager.d.ts +5 -5
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/index.d.mts +4 -4
- package/dist/managers/index.d.ts +4 -4
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs.map +1 -1
- package/dist/override/StepLabelProps.d.mts +2 -1
- package/dist/override/StepLabelProps.d.ts +2 -1
- package/dist/override/StepLabelResult.d.mts +2 -1
- package/dist/override/StepLabelResult.d.ts +2 -1
- package/dist/types/ChoiceMenuOptionsType.d.mts +5 -4
- package/dist/types/ChoiceMenuOptionsType.d.ts +5 -4
- package/dist/types/LabelRunModeType.d.mts +3 -0
- package/dist/types/LabelRunModeType.d.ts +3 -0
- package/dist/types/LabelRunModeType.js +4 -0
- package/dist/types/LabelRunModeType.js.map +1 -0
- package/dist/types/LabelRunModeType.mjs +3 -0
- package/dist/types/LabelRunModeType.mjs.map +1 -0
- package/dist/types/StepLabelType.d.mts +3 -2
- package/dist/types/StepLabelType.d.ts +3 -2
- package/dist/types/StorageElementType.d.mts +6 -2
- package/dist/types/StorageElementType.d.ts +6 -2
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/enums/LabelRunModeEnum.d.mts +0 -9
- package/dist/enums/LabelRunModeEnum.d.ts +0 -9
- package/dist/enums/LabelRunModeEnum.js +0 -12
- package/dist/enums/LabelRunModeEnum.js.map +0 -1
- package/dist/enums/LabelRunModeEnum.mjs +0 -10
- package/dist/enums/LabelRunModeEnum.mjs.map +0 -1
- package/dist/enums/index.d.mts +0 -1
- package/dist/enums/index.d.ts +0 -1
- package/dist/enums/index.js +0 -12
- package/dist/enums/index.js.map +0 -1
- package/dist/enums/index.mjs +0 -10
- package/dist/enums/index.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -19,7 +19,6 @@ export { getAllCharacters, getCharacterById, saveCharacter } from './decorators/
|
|
|
19
19
|
export { default as eventDecorator } from './decorators/EventDecorator.mjs';
|
|
20
20
|
export { default as labelDecorator } from './decorators/LabelDecorator.mjs';
|
|
21
21
|
export { default as tickerDecorator } from './decorators/TickerDecorator.mjs';
|
|
22
|
-
export { LabelRunModeEnum } from './enums/LabelRunModeEnum.mjs';
|
|
23
22
|
export { clearChoiceMenuOptions, clearDialogue, getChoiceMenuOptions, getDialogue, getDialogueHistory, setChoiceMenuOptions, setDialogue } from './functions/DialogueUtility.mjs';
|
|
24
23
|
export { getFlag, setFlag } from './functions/FlagsUtility.mjs';
|
|
25
24
|
export { clearAllGameDatas } from './functions/GameUtility.mjs';
|
|
@@ -47,10 +46,11 @@ export { default as GameStorageManager } from './managers/StorageManager.mjs';
|
|
|
47
46
|
export { default as GameWindowManager } from './managers/WindowManager.mjs';
|
|
48
47
|
export { CanvasEventNamesType } from './types/CanvasEventNamesType.mjs';
|
|
49
48
|
export { ChoiceMenuOptionsType } from './types/ChoiceMenuOptionsType.mjs';
|
|
49
|
+
export { default as LabelRunModeType } from './types/LabelRunModeType.mjs';
|
|
50
50
|
export { Pause, PauseType, PauseValueType } from './types/PauseType.mjs';
|
|
51
51
|
export { Repeat, RepeatType } from './types/RepeatType.mjs';
|
|
52
52
|
export { StepLabelType } from './types/StepLabelType.mjs';
|
|
53
|
-
export { StorageElementType } from './types/StorageElementType.mjs';
|
|
53
|
+
export { StorageElementType, StorageObjectType } from './types/StorageElementType.mjs';
|
|
54
54
|
export { TickerFadeAlphaProps } from './types/ticker/TickerFadeAlphaProps.mjs';
|
|
55
55
|
export { TickerRotateProps } from './types/ticker/TickerRotateProps.mjs';
|
|
56
56
|
import './types/LabelIdType.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export { getAllCharacters, getCharacterById, saveCharacter } from './decorators/
|
|
|
19
19
|
export { default as eventDecorator } from './decorators/EventDecorator.js';
|
|
20
20
|
export { default as labelDecorator } from './decorators/LabelDecorator.js';
|
|
21
21
|
export { default as tickerDecorator } from './decorators/TickerDecorator.js';
|
|
22
|
-
export { LabelRunModeEnum } from './enums/LabelRunModeEnum.js';
|
|
23
22
|
export { clearChoiceMenuOptions, clearDialogue, getChoiceMenuOptions, getDialogue, getDialogueHistory, setChoiceMenuOptions, setDialogue } from './functions/DialogueUtility.js';
|
|
24
23
|
export { getFlag, setFlag } from './functions/FlagsUtility.js';
|
|
25
24
|
export { clearAllGameDatas } from './functions/GameUtility.js';
|
|
@@ -47,10 +46,11 @@ export { default as GameStorageManager } from './managers/StorageManager.js';
|
|
|
47
46
|
export { default as GameWindowManager } from './managers/WindowManager.js';
|
|
48
47
|
export { CanvasEventNamesType } from './types/CanvasEventNamesType.js';
|
|
49
48
|
export { ChoiceMenuOptionsType } from './types/ChoiceMenuOptionsType.js';
|
|
49
|
+
export { default as LabelRunModeType } from './types/LabelRunModeType.js';
|
|
50
50
|
export { Pause, PauseType, PauseValueType } from './types/PauseType.js';
|
|
51
51
|
export { Repeat, RepeatType } from './types/RepeatType.js';
|
|
52
52
|
export { StepLabelType } from './types/StepLabelType.js';
|
|
53
|
-
export { StorageElementType } from './types/StorageElementType.js';
|
|
53
|
+
export { StorageElementType, StorageObjectType } from './types/StorageElementType.js';
|
|
54
54
|
export { TickerFadeAlphaProps } from './types/ticker/TickerFadeAlphaProps.js';
|
|
55
55
|
export { TickerRotateProps } from './types/ticker/TickerRotateProps.js';
|
|
56
56
|
import './types/LabelIdType.js';
|
package/dist/index.js
CHANGED
|
@@ -1021,7 +1021,7 @@ function showWithDissolveTransition(tag, image, speed, priority) {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
1023
|
// src/constants.ts
|
|
1024
|
-
var PIXIVN_VERSION = "0.4.
|
|
1024
|
+
var PIXIVN_VERSION = "0.4.11";
|
|
1025
1025
|
|
|
1026
1026
|
// src/functions/SavesUtility.ts
|
|
1027
1027
|
function getSaveData() {
|
|
@@ -2422,24 +2422,25 @@ var CharacterBaseModel2 = class extends StoredClassModel {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
};
|
|
2424
2424
|
|
|
2425
|
-
// src/enums/LabelRunModeEnum.ts
|
|
2426
|
-
var LabelRunModeEnum = /* @__PURE__ */ ((LabelRunModeEnum2) => {
|
|
2427
|
-
LabelRunModeEnum2["OpenByCall"] = "openbycall";
|
|
2428
|
-
LabelRunModeEnum2["OpenByJump"] = "openbyjump";
|
|
2429
|
-
return LabelRunModeEnum2;
|
|
2430
|
-
})(LabelRunModeEnum || {});
|
|
2431
|
-
|
|
2432
2425
|
// src/classes/ChoiceMenuOptionLabel.ts
|
|
2433
2426
|
var ChoiceMenuOptionLabel = class {
|
|
2434
2427
|
/**
|
|
2435
2428
|
* @param text Text to be displayed in the menu
|
|
2436
2429
|
* @param label Label to be opened when the option is selected
|
|
2437
2430
|
* @param type Type of the label to be opened
|
|
2431
|
+
* @param props Properties to be passed to the label, when the label is called. it cannot contain functions or classes.
|
|
2438
2432
|
*/
|
|
2439
|
-
constructor(text, label, type = "
|
|
2433
|
+
constructor(text, label, type = "call", props) {
|
|
2434
|
+
/**
|
|
2435
|
+
* Properties to be passed to the label
|
|
2436
|
+
*/
|
|
2437
|
+
this.props = {};
|
|
2440
2438
|
this.text = text;
|
|
2441
2439
|
this.label = label;
|
|
2442
2440
|
this.type = type;
|
|
2441
|
+
if (props) {
|
|
2442
|
+
this.props = props;
|
|
2443
|
+
}
|
|
2443
2444
|
}
|
|
2444
2445
|
};
|
|
2445
2446
|
|
|
@@ -2535,7 +2536,6 @@ exports.GameStepManager = GameStepManager;
|
|
|
2535
2536
|
exports.GameStorageManager = GameStorageManager;
|
|
2536
2537
|
exports.GameWindowManager = GameWindowManager;
|
|
2537
2538
|
exports.Label = Label;
|
|
2538
|
-
exports.LabelRunModeEnum = LabelRunModeEnum;
|
|
2539
2539
|
exports.Pause = Pause;
|
|
2540
2540
|
exports.PauseValueType = PauseValueType;
|
|
2541
2541
|
exports.Repeat = Repeat;
|