narrat 2.2.16 → 2.2.19

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 (109) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +128 -0
  3. package/dist/app.vue.d.ts +91 -94
  4. package/dist/components/MainMenu.vue.d.ts +12 -12
  5. package/dist/components/Skills.vue.d.ts +22 -22
  6. package/dist/components/StartMenu.vue.d.ts +46 -46
  7. package/dist/components/debug/debug-menu.vue.d.ts +48 -48
  8. package/dist/components/dialog-picture.vue.d.ts +11 -9
  9. package/dist/components/engine-splash/engine-splash.vue.d.ts +54 -54
  10. package/dist/components/game-dialog.vue.d.ts +65 -65
  11. package/dist/components/game-splash/game-splash.vue.d.ts +46 -46
  12. package/dist/components/hud.vue.d.ts +14 -14
  13. package/dist/components/in-game.vue.d.ts +46 -46
  14. package/dist/components/inventory-ui.vue.d.ts +30 -30
  15. package/dist/components/loading-bar.vue.d.ts +10 -10
  16. package/dist/components/menu-buttons.vue.d.ts +26 -26
  17. package/dist/components/notification-toast.vue.d.ts +6 -6
  18. package/dist/components/quests-ui.vue.d.ts +20 -20
  19. package/dist/components/save-slots.vue.d.ts +79 -79
  20. package/dist/components/saves/save-slot.vue.d.ts +108 -108
  21. package/dist/components/screen-layer.vue.d.ts +76 -76
  22. package/dist/components/screens.vue.d.ts +46 -46
  23. package/dist/components/transitions/NarratTransition.vue.d.ts +101 -101
  24. package/dist/components/utils/alert-modal.vue.d.ts +82 -82
  25. package/dist/components/utils/modal.vue.d.ts +18 -18
  26. package/dist/components/utils/yes-no.vue.d.ts +106 -106
  27. package/dist/components/volume-controls.vue.d.ts +18 -18
  28. package/dist/config.d.ts +194 -181
  29. package/dist/constants.d.ts +8 -8
  30. package/dist/defaultConfig.d.ts +2 -2
  31. package/dist/demo/demo.d.ts +1 -1
  32. package/dist/dialog-box.vue.d.ts +41 -41
  33. package/dist/exports/config.d.ts +1 -1
  34. package/dist/exports/display.d.ts +2 -2
  35. package/dist/exports/plugins.d.ts +20 -20
  36. package/dist/favicon.svg +30 -30
  37. package/dist/lib.d.ts +14 -14
  38. package/dist/main.d.ts +6 -6
  39. package/dist/narrat.es.js +2336 -2299
  40. package/dist/narrat.es.js.map +1 -1
  41. package/dist/narrat.umd.js +40 -40
  42. package/dist/narrat.umd.js.map +1 -1
  43. package/dist/plugins/NarratPlugin.d.ts +11 -11
  44. package/dist/stores/audio-store.d.ts +48 -48
  45. package/dist/stores/dialog-store.d.ts +32 -32
  46. package/dist/stores/hud-stats-store.d.ts +22 -22
  47. package/dist/stores/inventory-store.d.ts +37 -37
  48. package/dist/stores/main-store.d.ts +813 -822
  49. package/dist/stores/notification-store.d.ts +15 -15
  50. package/dist/stores/quest-log.d.ts +39 -39
  51. package/dist/stores/rendering-store.d.ts +13 -13
  52. package/dist/stores/screens-store.d.ts +35 -35
  53. package/dist/stores/skills.d.ts +40 -40
  54. package/dist/stores/vm-store.d.ts +180 -180
  55. package/dist/style.css +1 -1
  56. package/dist/types/app-types.d.ts +9 -5
  57. package/dist/types/character-types.d.ts +27 -27
  58. package/dist/types/dialog-box-types.d.ts +11 -11
  59. package/dist/types/game-save.d.ts +36 -36
  60. package/dist/types/parser.d.ts +93 -93
  61. package/dist/types/state.d.ts +3 -3
  62. package/dist/utils/InputsListener.d.ts +9 -9
  63. package/dist/utils/ajax.d.ts +1 -1
  64. package/dist/utils/audio-loader.d.ts +10 -10
  65. package/dist/utils/characters.d.ts +5 -5
  66. package/dist/utils/data-helpers.d.ts +28 -25
  67. package/dist/utils/debounce.d.ts +14 -14
  68. package/dist/utils/error-handling.d.ts +3 -3
  69. package/dist/utils/helpers.d.ts +6 -6
  70. package/dist/utils/images-loader.d.ts +6 -6
  71. package/dist/utils/logger.d.ts +11 -11
  72. package/dist/utils/object-iterators.d.ts +8 -8
  73. package/dist/utils/promises.d.ts +1 -1
  74. package/dist/utils/randomId.d.ts +1 -1
  75. package/dist/utils/save-helpers.d.ts +18 -18
  76. package/dist/utils/skillchecks.d.ts +17 -17
  77. package/dist/utils/string-helpers.d.ts +3 -3
  78. package/dist/utils/time-helpers.d.ts +2 -2
  79. package/dist/utils/transition.d.ts +15 -15
  80. package/dist/utils/type-utils.d.ts +1 -1
  81. package/dist/utils/typed-emitter.d.ts +18 -18
  82. package/dist/vm/commands/arithmetic-commands.d.ts +23 -23
  83. package/dist/vm/commands/audio-commands.d.ts +15 -15
  84. package/dist/vm/commands/choice.d.ts +37 -37
  85. package/dist/vm/commands/clear_dialog.d.ts +2 -2
  86. package/dist/vm/commands/command-helpers.d.ts +3 -3
  87. package/dist/vm/commands/command-plugin.d.ts +43 -43
  88. package/dist/vm/commands/flow-commands.d.ts +24 -24
  89. package/dist/vm/commands/if.d.ts +10 -10
  90. package/dist/vm/commands/index.d.ts +2 -2
  91. package/dist/vm/commands/inventory-commands.d.ts +15 -15
  92. package/dist/vm/commands/logic-command.d.ts +42 -42
  93. package/dist/vm/commands/math-commands.d.ts +30 -30
  94. package/dist/vm/commands/notify.d.ts +6 -6
  95. package/dist/vm/commands/quest-commands.d.ts +30 -30
  96. package/dist/vm/commands/random-commands.d.ts +10 -10
  97. package/dist/vm/commands/screen-commands.d.ts +15 -15
  98. package/dist/vm/commands/set.d.ts +6 -6
  99. package/dist/vm/commands/skill-commands.d.ts +30 -30
  100. package/dist/vm/commands/stats-commands.d.ts +12 -12
  101. package/dist/vm/commands/string-commands.d.ts +9 -9
  102. package/dist/vm/commands/text-field.d.ts +7 -7
  103. package/dist/vm/commands/text.d.ts +14 -14
  104. package/dist/vm/commands/wait.d.ts +4 -4
  105. package/dist/vm/vm-helpers.d.ts +18 -18
  106. package/dist/vm/vm-parser.d.ts +19 -19
  107. package/dist/vm/vm-parser.test.d.ts +1 -1
  108. package/dist/vm/vm.d.ts +18 -18
  109. package/package.json +14 -8
@@ -1,26 +1,26 @@
1
- export interface ButtonConf {
2
- id: string;
3
- onClick?: () => void;
4
- condition?: () => boolean;
5
- cssId?: string;
6
- cssClass?: string;
7
- text: string;
8
- }
9
- declare const _default: import("vue").DefineComponent<{}, {}, {
10
- buttons: ButtonConf[];
11
- activeMenu: string | false;
12
- }, {
13
- buttonsToShow(): ButtonConf[];
14
- showSkills(): boolean;
15
- showInventory(): boolean;
16
- showQuests(): boolean;
17
- }, {
18
- buttonClick(button: ButtonConf): void;
19
- openMenu(): void;
20
- openSkills(): void;
21
- openInventory(): void;
22
- openQuests(): void;
23
- closeMenu(): void;
24
- toggleMenu(): void;
25
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
26
- export default _default;
1
+ export interface ButtonConf {
2
+ id: string;
3
+ onClick?: () => void;
4
+ condition?: () => boolean;
5
+ cssId?: string;
6
+ cssClass?: string;
7
+ text: string;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<{}, {}, {
10
+ buttons: ButtonConf[];
11
+ activeMenu: string | false;
12
+ }, {
13
+ buttonsToShow(): ButtonConf[];
14
+ showSkills(): boolean;
15
+ showInventory(): boolean;
16
+ showQuests(): boolean;
17
+ }, {
18
+ buttonClick(button: ButtonConf): void;
19
+ openMenu(): void;
20
+ openSkills(): void;
21
+ openInventory(): void;
22
+ openQuests(): void;
23
+ closeMenu(): void;
24
+ toggleMenu(): void;
25
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
26
+ export default _default;
@@ -1,6 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, void, {
2
- notifications: () => {
3
- [key: string]: import("../stores/notification-store").NotificationState;
4
- };
5
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, void, {
2
+ notifications: () => {
3
+ [key: string]: import("../stores/notification-store").NotificationState;
4
+ };
5
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
+ export default _default;
@@ -1,20 +1,20 @@
1
- import { QuestState } from '../stores/quest-log';
2
- declare const _default: import("vue").DefineComponent<{}, {
3
- quests: import("vue").ComputedRef<{
4
- [key: string]: QuestState;
5
- }>;
6
- }, {}, {
7
- questsToDisplay(): {
8
- [key: string]: QuestState;
9
- };
10
- }, {
11
- close(): void;
12
- getQuestData(questId: string): import("../config").QuestData;
13
- getObjectiveData(questId: string, objectiveId: string): import("../config").ObjectiveData;
14
- getDisplayTextForQuestState(quest: QuestState): "" | " Hidden" | " (Completed)" | " Unknown";
15
- getQuestDescription(quest: QuestState): string;
16
- getAvailableObjectives(quest: QuestState): {
17
- [key: string]: import("../stores/quest-log").ObjectiveState;
18
- };
19
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
20
- export default _default;
1
+ import { QuestState } from '../stores/quest-log';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ quests: import("vue").ComputedRef<{
4
+ [key: string]: QuestState;
5
+ }>;
6
+ }, {}, {
7
+ questsToDisplay(): {
8
+ [key: string]: QuestState;
9
+ };
10
+ }, {
11
+ close(): void;
12
+ getQuestData(questId: string): import("../config").QuestData;
13
+ getObjectiveData(questId: string, objectiveId: string): import("../config").ObjectiveData;
14
+ getDisplayTextForQuestState(quest: QuestState): "" | " Hidden" | " (Completed)" | " Unknown";
15
+ getQuestDescription(quest: QuestState): string;
16
+ getAvailableObjectives(quest: QuestState): {
17
+ [key: string]: import("../stores/quest-log").ObjectiveState;
18
+ };
19
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
20
+ export default _default;
@@ -1,79 +1,79 @@
1
- import { PropType } from 'vue';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
7
- mode: {
8
- type: PropType<"load" | "pick">;
9
- required: true;
10
- };
11
- }>> & {
12
- onClose?: ((...args: any[]) => any) | undefined;
13
- onChosen?: ((...args: any[]) => any) | undefined;
14
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
15
- $attrs: {
16
- [x: string]: unknown;
17
- };
18
- $refs: {
19
- [x: string]: unknown;
20
- };
21
- $slots: Readonly<{
22
- [name: string]: import("vue").Slot | undefined;
23
- }>;
24
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
25
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
- $emit: (event: "close" | "chosen", ...args: any[]) => void;
27
- $el: any;
28
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
- mode: {
30
- type: PropType<"load" | "pick">;
31
- required: true;
32
- };
33
- }>> & {
34
- onClose?: ((...args: any[]) => any) | undefined;
35
- onChosen?: ((...args: any[]) => any) | undefined;
36
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "chosen")[], string, {}> & {
37
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
38
- created?: ((() => void) | (() => void)[]) | undefined;
39
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
40
- mounted?: ((() => void) | (() => void)[]) | undefined;
41
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
42
- updated?: ((() => void) | (() => void)[]) | undefined;
43
- activated?: ((() => void) | (() => void)[]) | undefined;
44
- deactivated?: ((() => void) | (() => void)[]) | undefined;
45
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
46
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
47
- destroyed?: ((() => void) | (() => void)[]) | undefined;
48
- unmounted?: ((() => void) | (() => void)[]) | undefined;
49
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
50
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
52
- };
53
- $forceUpdate: () => void;
54
- $nextTick: typeof import("vue").nextTick;
55
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
56
- } & Readonly<import("vue").ExtractPropTypes<{
57
- mode: {
58
- type: PropType<"load" | "pick">;
59
- required: true;
60
- };
61
- }>> & {
62
- onClose?: ((...args: any[]) => any) | undefined;
63
- onChosen?: ((...args: any[]) => any) | undefined;
64
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
65
- __isFragment?: undefined;
66
- __isTeleport?: undefined;
67
- __isSuspense?: undefined;
68
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
69
- mode: {
70
- type: PropType<"load" | "pick">;
71
- required: true;
72
- };
73
- }>> & {
74
- onClose?: ((...args: any[]) => any) | undefined;
75
- onChosen?: ((...args: any[]) => any) | undefined;
76
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "chosen")[], "close" | "chosen", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
77
- $slots: {};
78
- });
79
- export default _default;
1
+ import { PropType } from 'vue';
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
7
+ mode: {
8
+ type: PropType<"load" | "pick">;
9
+ required: true;
10
+ };
11
+ }>> & {
12
+ onClose?: ((...args: any[]) => any) | undefined;
13
+ onChosen?: ((...args: any[]) => any) | undefined;
14
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
15
+ $attrs: {
16
+ [x: string]: unknown;
17
+ };
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $slots: Readonly<{
22
+ [name: string]: import("vue").Slot | undefined;
23
+ }>;
24
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
25
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
+ $emit: (event: "close" | "chosen", ...args: any[]) => void;
27
+ $el: any;
28
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
+ mode: {
30
+ type: PropType<"load" | "pick">;
31
+ required: true;
32
+ };
33
+ }>> & {
34
+ onClose?: ((...args: any[]) => any) | undefined;
35
+ onChosen?: ((...args: any[]) => any) | undefined;
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "chosen")[], string, {}> & {
37
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
38
+ created?: ((() => void) | (() => void)[]) | undefined;
39
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
40
+ mounted?: ((() => void) | (() => void)[]) | undefined;
41
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
42
+ updated?: ((() => void) | (() => void)[]) | undefined;
43
+ activated?: ((() => void) | (() => void)[]) | undefined;
44
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
45
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
47
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
48
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
49
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
50
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
52
+ };
53
+ $forceUpdate: () => void;
54
+ $nextTick: typeof import("vue").nextTick;
55
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
56
+ } & Readonly<import("vue").ExtractPropTypes<{
57
+ mode: {
58
+ type: PropType<"load" | "pick">;
59
+ required: true;
60
+ };
61
+ }>> & {
62
+ onClose?: ((...args: any[]) => any) | undefined;
63
+ onChosen?: ((...args: any[]) => any) | undefined;
64
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
65
+ __isFragment?: undefined;
66
+ __isTeleport?: undefined;
67
+ __isSuspense?: undefined;
68
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
69
+ mode: {
70
+ type: PropType<"load" | "pick">;
71
+ required: true;
72
+ };
73
+ }>> & {
74
+ onClose?: ((...args: any[]) => any) | undefined;
75
+ onChosen?: ((...args: any[]) => any) | undefined;
76
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "chosen")[], "close" | "chosen", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
77
+ $slots: {};
78
+ });
79
+ export default _default;
@@ -1,108 +1,108 @@
1
- import { GameSave } from '../../types/game-save';
2
- import { PropType } from 'vue';
3
- declare const _default: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
- saveSlot: {
9
- type: PropType<GameSave>;
10
- required: true;
11
- };
12
- id: {
13
- type: StringConstructor;
14
- required: true;
15
- };
16
- actions: {
17
- type: PropType<string[]>;
18
- required: true;
19
- };
20
- }>> & {
21
- onChoice?: ((...args: any[]) => any) | undefined;
22
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
23
- $attrs: {
24
- [x: string]: unknown;
25
- };
26
- $refs: {
27
- [x: string]: unknown;
28
- };
29
- $slots: Readonly<{
30
- [name: string]: import("vue").Slot | undefined;
31
- }>;
32
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
33
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
34
- $emit: (event: "choice", ...args: any[]) => void;
35
- $el: any;
36
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
37
- saveSlot: {
38
- type: PropType<GameSave>;
39
- required: true;
40
- };
41
- id: {
42
- type: StringConstructor;
43
- required: true;
44
- };
45
- actions: {
46
- type: PropType<string[]>;
47
- required: true;
48
- };
49
- }>> & {
50
- onChoice?: ((...args: any[]) => any) | undefined;
51
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], string, {}> & {
52
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
53
- created?: ((() => void) | (() => void)[]) | undefined;
54
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
55
- mounted?: ((() => void) | (() => void)[]) | undefined;
56
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
57
- updated?: ((() => void) | (() => void)[]) | undefined;
58
- activated?: ((() => void) | (() => void)[]) | undefined;
59
- deactivated?: ((() => void) | (() => void)[]) | undefined;
60
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
61
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
62
- destroyed?: ((() => void) | (() => void)[]) | undefined;
63
- unmounted?: ((() => void) | (() => void)[]) | undefined;
64
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
65
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
66
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
67
- };
68
- $forceUpdate: () => void;
69
- $nextTick: typeof import("vue").nextTick;
70
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
71
- } & Readonly<import("vue").ExtractPropTypes<{
72
- saveSlot: {
73
- type: PropType<GameSave>;
74
- required: true;
75
- };
76
- id: {
77
- type: StringConstructor;
78
- required: true;
79
- };
80
- actions: {
81
- type: PropType<string[]>;
82
- required: true;
83
- };
84
- }>> & {
85
- onChoice?: ((...args: any[]) => any) | undefined;
86
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
87
- __isFragment?: undefined;
88
- __isTeleport?: undefined;
89
- __isSuspense?: undefined;
90
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
91
- saveSlot: {
92
- type: PropType<GameSave>;
93
- required: true;
94
- };
95
- id: {
96
- type: StringConstructor;
97
- required: true;
98
- };
99
- actions: {
100
- type: PropType<string[]>;
101
- required: true;
102
- };
103
- }>> & {
104
- onChoice?: ((...args: any[]) => any) | undefined;
105
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], "choice", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
106
- $slots: {};
107
- });
108
- export default _default;
1
+ import { GameSave } from '../../types/game-save';
2
+ import { PropType } from 'vue';
3
+ declare const _default: {
4
+ new (...args: any[]): {
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
+ saveSlot: {
9
+ type: PropType<GameSave>;
10
+ required: true;
11
+ };
12
+ id: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ actions: {
17
+ type: PropType<string[]>;
18
+ required: true;
19
+ };
20
+ }>> & {
21
+ onChoice?: ((...args: any[]) => any) | undefined;
22
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
23
+ $attrs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $refs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $slots: Readonly<{
30
+ [name: string]: import("vue").Slot | undefined;
31
+ }>;
32
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
33
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
34
+ $emit: (event: "choice", ...args: any[]) => void;
35
+ $el: any;
36
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
37
+ saveSlot: {
38
+ type: PropType<GameSave>;
39
+ required: true;
40
+ };
41
+ id: {
42
+ type: StringConstructor;
43
+ required: true;
44
+ };
45
+ actions: {
46
+ type: PropType<string[]>;
47
+ required: true;
48
+ };
49
+ }>> & {
50
+ onChoice?: ((...args: any[]) => any) | undefined;
51
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], string, {}> & {
52
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
53
+ created?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
55
+ mounted?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
57
+ updated?: ((() => void) | (() => void)[]) | undefined;
58
+ activated?: ((() => void) | (() => void)[]) | undefined;
59
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
60
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
61
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
62
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
63
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
64
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
65
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
66
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
67
+ };
68
+ $forceUpdate: () => void;
69
+ $nextTick: typeof import("vue").nextTick;
70
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
71
+ } & Readonly<import("vue").ExtractPropTypes<{
72
+ saveSlot: {
73
+ type: PropType<GameSave>;
74
+ required: true;
75
+ };
76
+ id: {
77
+ type: StringConstructor;
78
+ required: true;
79
+ };
80
+ actions: {
81
+ type: PropType<string[]>;
82
+ required: true;
83
+ };
84
+ }>> & {
85
+ onChoice?: ((...args: any[]) => any) | undefined;
86
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
87
+ __isFragment?: undefined;
88
+ __isTeleport?: undefined;
89
+ __isSuspense?: undefined;
90
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
91
+ saveSlot: {
92
+ type: PropType<GameSave>;
93
+ required: true;
94
+ };
95
+ id: {
96
+ type: StringConstructor;
97
+ required: true;
98
+ };
99
+ actions: {
100
+ type: PropType<string[]>;
101
+ required: true;
102
+ };
103
+ }>> & {
104
+ onChoice?: ((...args: any[]) => any) | undefined;
105
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], "choice", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
106
+ $slots: {};
107
+ });
108
+ export default _default;