@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StepHistoryDataType } from '../types/StepHistoryDataType.mjs';
|
|
2
2
|
import { StepLabelType } from '../types/StepLabelType.mjs';
|
|
3
3
|
import '@drincs/pixi-vn/dist/override';
|
|
4
|
+
import '../types/StorageElementType.mjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Convert StepLabel to StepHistoryData
|
|
@@ -14,6 +15,6 @@ declare function getStepSha1(step: StepLabelType): StepHistoryDataType;
|
|
|
14
15
|
* @param step2
|
|
15
16
|
* @returns
|
|
16
17
|
*/
|
|
17
|
-
declare function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType
|
|
18
|
+
declare function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType<any>, step2: StepHistoryDataType | StepLabelType<any>): boolean;
|
|
18
19
|
|
|
19
20
|
export { checkIfStepsIsEqual, getStepSha1 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StepHistoryDataType } from '../types/StepHistoryDataType.js';
|
|
2
2
|
import { StepLabelType } from '../types/StepLabelType.js';
|
|
3
3
|
import '@drincs/pixi-vn/dist/override';
|
|
4
|
+
import '../types/StorageElementType.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Convert StepLabel to StepHistoryData
|
|
@@ -14,6 +15,6 @@ declare function getStepSha1(step: StepLabelType): StepHistoryDataType;
|
|
|
14
15
|
* @param step2
|
|
15
16
|
* @returns
|
|
16
17
|
*/
|
|
17
|
-
declare function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType
|
|
18
|
+
declare function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType<any>, step2: StepHistoryDataType | StepLabelType<any>): boolean;
|
|
18
19
|
|
|
19
20
|
export { checkIfStepsIsEqual, getStepSha1 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/functions/StepLabelUtility.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU;AASV,SAAS,YAAY,MAA0C;AAClE,MAAI,aAAa,KAAK,KAAK,SAAS,EAAE,kBAAkB,CAAC;AACzD,SAAO,WAAW,SAAS;AAC/B;AAOO,SAAS,oBAAoB,
|
|
1
|
+
{"version":3,"sources":["../../src/functions/StepLabelUtility.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU;AASV,SAAS,YAAY,MAA0C;AAClE,MAAI,aAAa,KAAK,KAAK,SAAS,EAAE,kBAAkB,CAAC;AACzD,SAAO,WAAW,SAAS;AAC/B;AAOO,SAAS,oBAAoB,OAAiD,OAA0D;AAC3I,SAAO,UAAU;AACrB","sourcesContent":["import sha1 from 'crypto-js/sha1';\nimport { StepHistoryDataType } from \"../types/StepHistoryDataType\";\nimport { StepLabelType } from \"../types/StepLabelType\";\n\n/**\n * Convert StepLabel to StepHistoryData\n * @param step\n * @returns\n */\nexport function getStepSha1(step: StepLabelType): StepHistoryDataType {\n let sha1String = sha1(step.toString().toLocaleLowerCase())\n return sha1String.toString()\n}\n/**\n * Check if two steps are equal\n * @param step1\n * @param step2\n * @returns\n */\nexport function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType<any>, step2: StepHistoryDataType | StepLabelType<any>): boolean {\n return step1 === step2\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/functions/StepLabelUtility.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU;AASV,SAAS,YAAY,MAA0C;AAClE,MAAI,aAAa,KAAK,KAAK,SAAS,EAAE,kBAAkB,CAAC;AACzD,SAAO,WAAW,SAAS;AAC/B;AAOO,SAAS,oBAAoB,
|
|
1
|
+
{"version":3,"sources":["../../src/functions/StepLabelUtility.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU;AASV,SAAS,YAAY,MAA0C;AAClE,MAAI,aAAa,KAAK,KAAK,SAAS,EAAE,kBAAkB,CAAC;AACzD,SAAO,WAAW,SAAS;AAC/B;AAOO,SAAS,oBAAoB,OAAiD,OAA0D;AAC3I,SAAO,UAAU;AACrB","sourcesContent":["import sha1 from 'crypto-js/sha1';\nimport { StepHistoryDataType } from \"../types/StepHistoryDataType\";\nimport { StepLabelType } from \"../types/StepLabelType\";\n\n/**\n * Convert StepLabel to StepHistoryData\n * @param step\n * @returns\n */\nexport function getStepSha1(step: StepLabelType): StepHistoryDataType {\n let sha1String = sha1(step.toString().toLocaleLowerCase())\n return sha1String.toString()\n}\n/**\n * Check if two steps are equal\n * @param step1\n * @param step2\n * @returns\n */\nexport function checkIfStepsIsEqual(step1: StepHistoryDataType | StepLabelType<any>, step2: StepHistoryDataType | StepLabelType<any>): boolean {\n return step1 === step2\n}\n"]}
|
|
@@ -6,17 +6,17 @@ export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './SavesUti
|
|
|
6
6
|
export { getTexture } from './TextureUtility.mjs';
|
|
7
7
|
import '../classes/CharacterBaseModel.mjs';
|
|
8
8
|
import '../classes/StoredClassModel.mjs';
|
|
9
|
-
import '../
|
|
10
|
-
import '../types/StorageElementType.mjs';
|
|
11
|
-
import '../interface/IDialogueHistory.mjs';
|
|
9
|
+
import '../types/ChoiceMenuOptionsType.mjs';
|
|
12
10
|
import '../classes/ChoiceMenuOptionLabel.mjs';
|
|
13
|
-
import '../enums/LabelRunModeEnum.mjs';
|
|
14
|
-
import '../types/LabelIdType.mjs';
|
|
15
11
|
import '../classes/Label.mjs';
|
|
16
|
-
import '../types/
|
|
12
|
+
import '../types/StorageElementType.mjs';
|
|
17
13
|
import '../types/StepLabelType.mjs';
|
|
18
14
|
import '@drincs/pixi-vn/dist/override';
|
|
19
|
-
import '../types/
|
|
15
|
+
import '../types/StepHistoryDataType.mjs';
|
|
16
|
+
import '../types/LabelRunModeType.mjs';
|
|
17
|
+
import '../types/LabelIdType.mjs';
|
|
18
|
+
import '../classes/DialogueBaseModel.mjs';
|
|
19
|
+
import '../interface/IDialogueHistory.mjs';
|
|
20
20
|
import 'pixi.js';
|
|
21
21
|
import '../classes/canvas/CanvasBase.mjs';
|
|
22
22
|
import '../interface/canvas/ICanvasBaseMemory.mjs';
|
|
@@ -6,17 +6,17 @@ export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './SavesUti
|
|
|
6
6
|
export { getTexture } from './TextureUtility.js';
|
|
7
7
|
import '../classes/CharacterBaseModel.js';
|
|
8
8
|
import '../classes/StoredClassModel.js';
|
|
9
|
-
import '../
|
|
10
|
-
import '../types/StorageElementType.js';
|
|
11
|
-
import '../interface/IDialogueHistory.js';
|
|
9
|
+
import '../types/ChoiceMenuOptionsType.js';
|
|
12
10
|
import '../classes/ChoiceMenuOptionLabel.js';
|
|
13
|
-
import '../enums/LabelRunModeEnum.js';
|
|
14
|
-
import '../types/LabelIdType.js';
|
|
15
11
|
import '../classes/Label.js';
|
|
16
|
-
import '../types/
|
|
12
|
+
import '../types/StorageElementType.js';
|
|
17
13
|
import '../types/StepLabelType.js';
|
|
18
14
|
import '@drincs/pixi-vn/dist/override';
|
|
19
|
-
import '../types/
|
|
15
|
+
import '../types/StepHistoryDataType.js';
|
|
16
|
+
import '../types/LabelRunModeType.js';
|
|
17
|
+
import '../types/LabelIdType.js';
|
|
18
|
+
import '../classes/DialogueBaseModel.js';
|
|
19
|
+
import '../interface/IDialogueHistory.js';
|
|
20
20
|
import 'pixi.js';
|
|
21
21
|
import '../classes/canvas/CanvasBase.js';
|
|
22
22
|
import '../interface/canvas/ICanvasBaseMemory.js';
|
package/dist/functions/index.js
CHANGED
|
@@ -2261,7 +2261,7 @@ function showWithDissolveTransition(tag, image, speed, priority) {
|
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
2263
|
// src/constants.ts
|
|
2264
|
-
var PIXIVN_VERSION = "0.4.
|
|
2264
|
+
var PIXIVN_VERSION = "0.4.11";
|
|
2265
2265
|
|
|
2266
2266
|
// src/functions/SavesUtility.ts
|
|
2267
2267
|
function getSaveData() {
|