@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.
Files changed (121) hide show
  1. package/dist/classes/CharacterBaseModel.js.map +1 -1
  2. package/dist/classes/CharacterBaseModel.mjs.map +1 -1
  3. package/dist/classes/ChoiceMenuOptionLabel.d.mts +15 -8
  4. package/dist/classes/ChoiceMenuOptionLabel.d.ts +15 -8
  5. package/dist/classes/ChoiceMenuOptionLabel.js +9 -1
  6. package/dist/classes/ChoiceMenuOptionLabel.js.map +1 -1
  7. package/dist/classes/ChoiceMenuOptionLabel.mjs +9 -1
  8. package/dist/classes/ChoiceMenuOptionLabel.mjs.map +1 -1
  9. package/dist/classes/Label.d.mts +4 -3
  10. package/dist/classes/Label.d.ts +4 -3
  11. package/dist/classes/Label.js.map +1 -1
  12. package/dist/classes/Label.mjs.map +1 -1
  13. package/dist/classes/StoredClassModel.js.map +1 -1
  14. package/dist/classes/StoredClassModel.mjs.map +1 -1
  15. package/dist/classes/index.d.mts +3 -3
  16. package/dist/classes/index.d.ts +3 -3
  17. package/dist/classes/index.js +9 -1
  18. package/dist/classes/index.js.map +1 -1
  19. package/dist/classes/index.mjs +9 -1
  20. package/dist/classes/index.mjs.map +1 -1
  21. package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
  22. package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
  23. package/dist/classes/ticker/TickerMove.js.map +1 -1
  24. package/dist/classes/ticker/TickerMove.mjs.map +1 -1
  25. package/dist/classes/ticker/TickerRotate.js.map +1 -1
  26. package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
  27. package/dist/classes/ticker/index.js.map +1 -1
  28. package/dist/classes/ticker/index.mjs.map +1 -1
  29. package/dist/constants.d.mts +1 -1
  30. package/dist/constants.d.ts +1 -1
  31. package/dist/constants.js +1 -1
  32. package/dist/constants.js.map +1 -1
  33. package/dist/constants.mjs +1 -1
  34. package/dist/constants.mjs.map +1 -1
  35. package/dist/decorators/LabelDecorator.d.mts +2 -1
  36. package/dist/decorators/LabelDecorator.d.ts +2 -1
  37. package/dist/decorators/index.d.mts +2 -2
  38. package/dist/decorators/index.d.ts +2 -2
  39. package/dist/functions/DialogueUtility.d.mts +6 -6
  40. package/dist/functions/DialogueUtility.d.ts +6 -6
  41. package/dist/functions/DialogueUtility.js.map +1 -1
  42. package/dist/functions/DialogueUtility.mjs.map +1 -1
  43. package/dist/functions/FlagsUtility.js.map +1 -1
  44. package/dist/functions/FlagsUtility.mjs.map +1 -1
  45. package/dist/functions/GameUtility.js.map +1 -1
  46. package/dist/functions/GameUtility.mjs.map +1 -1
  47. package/dist/functions/ImageUtility.js.map +1 -1
  48. package/dist/functions/ImageUtility.mjs.map +1 -1
  49. package/dist/functions/SavesUtility.d.mts +3 -3
  50. package/dist/functions/SavesUtility.d.ts +3 -3
  51. package/dist/functions/SavesUtility.js +1 -1
  52. package/dist/functions/SavesUtility.js.map +1 -1
  53. package/dist/functions/SavesUtility.mjs +1 -1
  54. package/dist/functions/SavesUtility.mjs.map +1 -1
  55. package/dist/functions/StepLabelUtility.d.mts +2 -1
  56. package/dist/functions/StepLabelUtility.d.ts +2 -1
  57. package/dist/functions/StepLabelUtility.js.map +1 -1
  58. package/dist/functions/StepLabelUtility.mjs.map +1 -1
  59. package/dist/functions/index.d.mts +7 -7
  60. package/dist/functions/index.d.ts +7 -7
  61. package/dist/functions/index.js +1 -1
  62. package/dist/functions/index.js.map +1 -1
  63. package/dist/functions/index.mjs +1 -1
  64. package/dist/functions/index.mjs.map +1 -1
  65. package/dist/index.d.mts +2 -2
  66. package/dist/index.d.ts +2 -2
  67. package/dist/index.js +10 -10
  68. package/dist/index.js.map +1 -1
  69. package/dist/index.mjs +11 -10
  70. package/dist/index.mjs.map +1 -1
  71. package/dist/interface/IDialogueHistory.d.mts +4 -4
  72. package/dist/interface/IDialogueHistory.d.ts +4 -4
  73. package/dist/interface/IHistoryStep.d.mts +2 -2
  74. package/dist/interface/IHistoryStep.d.ts +2 -2
  75. package/dist/interface/ISaveData.d.mts +3 -3
  76. package/dist/interface/ISaveData.d.ts +3 -3
  77. package/dist/interface/export/ExportedStep.d.mts +3 -3
  78. package/dist/interface/export/ExportedStep.d.ts +3 -3
  79. package/dist/interface/export/index.d.mts +3 -3
  80. package/dist/interface/export/index.d.ts +3 -3
  81. package/dist/interface/index.d.mts +4 -4
  82. package/dist/interface/index.d.ts +4 -4
  83. package/dist/managers/StepManager.d.mts +5 -5
  84. package/dist/managers/StepManager.d.ts +5 -5
  85. package/dist/managers/StepManager.js.map +1 -1
  86. package/dist/managers/StepManager.mjs.map +1 -1
  87. package/dist/managers/index.d.mts +4 -4
  88. package/dist/managers/index.d.ts +4 -4
  89. package/dist/managers/index.js.map +1 -1
  90. package/dist/managers/index.mjs.map +1 -1
  91. package/dist/override/StepLabelProps.d.mts +2 -1
  92. package/dist/override/StepLabelProps.d.ts +2 -1
  93. package/dist/override/StepLabelResult.d.mts +2 -1
  94. package/dist/override/StepLabelResult.d.ts +2 -1
  95. package/dist/types/ChoiceMenuOptionsType.d.mts +5 -4
  96. package/dist/types/ChoiceMenuOptionsType.d.ts +5 -4
  97. package/dist/types/LabelRunModeType.d.mts +3 -0
  98. package/dist/types/LabelRunModeType.d.ts +3 -0
  99. package/dist/types/LabelRunModeType.js +4 -0
  100. package/dist/types/LabelRunModeType.js.map +1 -0
  101. package/dist/types/LabelRunModeType.mjs +3 -0
  102. package/dist/types/LabelRunModeType.mjs.map +1 -0
  103. package/dist/types/StepLabelType.d.mts +3 -2
  104. package/dist/types/StepLabelType.d.ts +3 -2
  105. package/dist/types/StorageElementType.d.mts +6 -2
  106. package/dist/types/StorageElementType.d.ts +6 -2
  107. package/dist/types/index.d.mts +3 -3
  108. package/dist/types/index.d.ts +3 -3
  109. package/package.json +1 -1
  110. package/dist/enums/LabelRunModeEnum.d.mts +0 -9
  111. package/dist/enums/LabelRunModeEnum.d.ts +0 -9
  112. package/dist/enums/LabelRunModeEnum.js +0 -12
  113. package/dist/enums/LabelRunModeEnum.js.map +0 -1
  114. package/dist/enums/LabelRunModeEnum.mjs +0 -10
  115. package/dist/enums/LabelRunModeEnum.mjs.map +0 -1
  116. package/dist/enums/index.d.mts +0 -1
  117. package/dist/enums/index.d.ts +0 -1
  118. package/dist/enums/index.js +0 -12
  119. package/dist/enums/index.js.map +0 -1
  120. package/dist/enums/index.mjs +0 -10
  121. package/dist/enums/index.mjs.map +0 -1
@@ -1,3 +1,3 @@
1
- declare const PIXIVN_VERSION = "0.4.6";
1
+ declare const PIXIVN_VERSION = "0.4.11";
2
2
 
3
3
  export { PIXIVN_VERSION };
@@ -1,3 +1,3 @@
1
- declare const PIXIVN_VERSION = "0.4.6";
1
+ declare const PIXIVN_VERSION = "0.4.11";
2
2
 
3
3
  export { PIXIVN_VERSION };
package/dist/constants.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  // src/constants.ts
4
- var PIXIVN_VERSION = "0.4.6";
4
+ var PIXIVN_VERSION = "0.4.11";
5
5
 
6
6
  exports.PIXIVN_VERSION = PIXIVN_VERSION;
7
7
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts"],"names":[],"mappings":";AAAO,IAAM,iBAAiB","sourcesContent":["export const PIXIVN_VERSION = '0.4.6'"]}
1
+ {"version":3,"sources":["../src/constants.ts"],"names":[],"mappings":";AAAO,IAAM,iBAAiB","sourcesContent":["export const PIXIVN_VERSION = '0.4.11'"]}
@@ -1,5 +1,5 @@
1
1
  // src/constants.ts
2
- var PIXIVN_VERSION = "0.4.6";
2
+ var PIXIVN_VERSION = "0.4.11";
3
3
 
4
4
  export { PIXIVN_VERSION };
5
5
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts"],"names":[],"mappings":";AAAO,IAAM,iBAAiB","sourcesContent":["export const PIXIVN_VERSION = '0.4.6'"]}
1
+ {"version":3,"sources":["../src/constants.ts"],"names":[],"mappings":";AAAO,IAAM,iBAAiB","sourcesContent":["export const PIXIVN_VERSION = '0.4.11'"]}
@@ -1,8 +1,9 @@
1
1
  import { LabelIdType } from '../types/LabelIdType.mjs';
2
2
  import Label from '../classes/Label.mjs';
3
- import '../types/StepHistoryDataType.mjs';
3
+ import '../types/StorageElementType.mjs';
4
4
  import '../types/StepLabelType.mjs';
5
5
  import '@drincs/pixi-vn/dist/override';
6
+ import '../types/StepHistoryDataType.mjs';
6
7
 
7
8
  declare const registeredLabels: {
8
9
  [key: LabelIdType]: typeof Label;
@@ -1,8 +1,9 @@
1
1
  import { LabelIdType } from '../types/LabelIdType.js';
2
2
  import Label from '../classes/Label.js';
3
- import '../types/StepHistoryDataType.js';
3
+ import '../types/StorageElementType.js';
4
4
  import '../types/StepLabelType.js';
5
5
  import '@drincs/pixi-vn/dist/override';
6
+ import '../types/StepHistoryDataType.js';
6
7
 
7
8
  declare const registeredLabels: {
8
9
  [key: LabelIdType]: typeof Label;
@@ -14,9 +14,9 @@ import '../types/CanvasEventNamesType.mjs';
14
14
  import '../types/EventIdType.mjs';
15
15
  import '../types/LabelIdType.mjs';
16
16
  import '../classes/Label.mjs';
17
- import '../types/StepHistoryDataType.mjs';
17
+ import '../types/StorageElementType.mjs';
18
18
  import '../types/StepLabelType.mjs';
19
19
  import '@drincs/pixi-vn/dist/override';
20
+ import '../types/StepHistoryDataType.mjs';
20
21
  import '../TickerBase-CFEJHstJ.mjs';
21
- import '../types/StorageElementType.mjs';
22
22
  import '../types/TickerIdType.mjs';
@@ -14,9 +14,9 @@ import '../types/CanvasEventNamesType.js';
14
14
  import '../types/EventIdType.js';
15
15
  import '../types/LabelIdType.js';
16
16
  import '../classes/Label.js';
17
- import '../types/StepHistoryDataType.js';
17
+ import '../types/StorageElementType.js';
18
18
  import '../types/StepLabelType.js';
19
19
  import '@drincs/pixi-vn/dist/override';
20
+ import '../types/StepHistoryDataType.js';
20
21
  import '../TickerBase-CjfyD6j5.js';
21
- import '../types/StorageElementType.js';
22
22
  import '../types/TickerIdType.js';
@@ -1,16 +1,16 @@
1
1
  import CharacterBaseModel from '../classes/CharacterBaseModel.mjs';
2
+ import { ChoiceMenuOptionsType } from '../types/ChoiceMenuOptionsType.mjs';
3
+ import { StorageObjectType } from '../types/StorageElementType.mjs';
2
4
  import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
3
5
  import { IDialogueHistory } from '../interface/IDialogueHistory.mjs';
4
- import { ChoiceMenuOptionsType } from '../types/ChoiceMenuOptionsType.mjs';
5
6
  import '../classes/StoredClassModel.mjs';
6
- import '../types/StorageElementType.mjs';
7
7
  import '../classes/ChoiceMenuOptionLabel.mjs';
8
- import '../enums/LabelRunModeEnum.mjs';
9
- import '../types/LabelIdType.mjs';
10
8
  import '../classes/Label.mjs';
11
- import '../types/StepHistoryDataType.mjs';
12
9
  import '../types/StepLabelType.mjs';
13
10
  import '@drincs/pixi-vn/dist/override';
11
+ import '../types/StepHistoryDataType.mjs';
12
+ import '../types/LabelRunModeType.mjs';
13
+ import '../types/LabelIdType.mjs';
14
14
 
15
15
  /**
16
16
  * Set the dialogue to be shown in the game
@@ -57,7 +57,7 @@ declare function setChoiceMenuOptions(options: ChoiceMenuOptionsType): void;
57
57
  * Get the options to be shown in the game
58
58
  * @returns Options to be shown in the game
59
59
  */
60
- declare function getChoiceMenuOptions(): ChoiceMenuOptionsType | undefined;
60
+ declare function getChoiceMenuOptions<T extends StorageObjectType = {}>(): ChoiceMenuOptionsType<T> | undefined;
61
61
  /**
62
62
  * Clear the options to be shown in the game
63
63
  */
@@ -1,16 +1,16 @@
1
1
  import CharacterBaseModel from '../classes/CharacterBaseModel.js';
2
+ import { ChoiceMenuOptionsType } from '../types/ChoiceMenuOptionsType.js';
3
+ import { StorageObjectType } from '../types/StorageElementType.js';
2
4
  import DialogueBaseModel from '../classes/DialogueBaseModel.js';
3
5
  import { IDialogueHistory } from '../interface/IDialogueHistory.js';
4
- import { ChoiceMenuOptionsType } from '../types/ChoiceMenuOptionsType.js';
5
6
  import '../classes/StoredClassModel.js';
6
- import '../types/StorageElementType.js';
7
7
  import '../classes/ChoiceMenuOptionLabel.js';
8
- import '../enums/LabelRunModeEnum.js';
9
- import '../types/LabelIdType.js';
10
8
  import '../classes/Label.js';
11
- import '../types/StepHistoryDataType.js';
12
9
  import '../types/StepLabelType.js';
13
10
  import '@drincs/pixi-vn/dist/override';
11
+ import '../types/StepHistoryDataType.js';
12
+ import '../types/LabelRunModeType.js';
13
+ import '../types/LabelIdType.js';
14
14
 
15
15
  /**
16
16
  * Set the dialogue to be shown in the game
@@ -57,7 +57,7 @@ declare function setChoiceMenuOptions(options: ChoiceMenuOptionsType): void;
57
57
  * Get the options to be shown in the game
58
58
  * @returns Options to be shown in the game
59
59
  */
60
- declare function getChoiceMenuOptions(): ChoiceMenuOptionsType | undefined;
60
+ declare function getChoiceMenuOptions<T extends StorageObjectType = {}>(): ChoiceMenuOptionsType<T> | undefined;
61
61
  /**
62
62
  * Clear the options to be shown in the game
63
63
  */