narrat 2.2.16 → 2.2.17

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 (108) hide show
  1. package/LICENSE +21 -21
  2. package/dist/app.vue.d.ts +91 -94
  3. package/dist/components/MainMenu.vue.d.ts +12 -12
  4. package/dist/components/Skills.vue.d.ts +22 -22
  5. package/dist/components/StartMenu.vue.d.ts +46 -46
  6. package/dist/components/debug/debug-menu.vue.d.ts +48 -48
  7. package/dist/components/dialog-picture.vue.d.ts +11 -9
  8. package/dist/components/engine-splash/engine-splash.vue.d.ts +54 -54
  9. package/dist/components/game-dialog.vue.d.ts +65 -65
  10. package/dist/components/game-splash/game-splash.vue.d.ts +46 -46
  11. package/dist/components/hud.vue.d.ts +14 -14
  12. package/dist/components/in-game.vue.d.ts +46 -46
  13. package/dist/components/inventory-ui.vue.d.ts +30 -30
  14. package/dist/components/loading-bar.vue.d.ts +10 -10
  15. package/dist/components/menu-buttons.vue.d.ts +26 -26
  16. package/dist/components/notification-toast.vue.d.ts +6 -6
  17. package/dist/components/quests-ui.vue.d.ts +20 -20
  18. package/dist/components/save-slots.vue.d.ts +79 -79
  19. package/dist/components/saves/save-slot.vue.d.ts +108 -108
  20. package/dist/components/screen-layer.vue.d.ts +76 -76
  21. package/dist/components/screens.vue.d.ts +46 -46
  22. package/dist/components/transitions/NarratTransition.vue.d.ts +101 -101
  23. package/dist/components/utils/alert-modal.vue.d.ts +82 -82
  24. package/dist/components/utils/modal.vue.d.ts +18 -18
  25. package/dist/components/utils/yes-no.vue.d.ts +106 -106
  26. package/dist/components/volume-controls.vue.d.ts +18 -18
  27. package/dist/config.d.ts +182 -181
  28. package/dist/constants.d.ts +8 -8
  29. package/dist/defaultConfig.d.ts +2 -2
  30. package/dist/demo/demo.d.ts +1 -1
  31. package/dist/dialog-box.vue.d.ts +41 -41
  32. package/dist/exports/config.d.ts +1 -1
  33. package/dist/exports/display.d.ts +2 -2
  34. package/dist/exports/plugins.d.ts +20 -20
  35. package/dist/favicon.svg +30 -30
  36. package/dist/lib.d.ts +14 -14
  37. package/dist/main.d.ts +6 -6
  38. package/dist/narrat.es.js +1010 -993
  39. package/dist/narrat.es.js.map +1 -1
  40. package/dist/narrat.umd.js +39 -39
  41. package/dist/narrat.umd.js.map +1 -1
  42. package/dist/plugins/NarratPlugin.d.ts +11 -11
  43. package/dist/stores/audio-store.d.ts +48 -48
  44. package/dist/stores/dialog-store.d.ts +32 -32
  45. package/dist/stores/hud-stats-store.d.ts +22 -22
  46. package/dist/stores/inventory-store.d.ts +37 -37
  47. package/dist/stores/main-store.d.ts +813 -822
  48. package/dist/stores/notification-store.d.ts +15 -15
  49. package/dist/stores/quest-log.d.ts +39 -39
  50. package/dist/stores/rendering-store.d.ts +13 -13
  51. package/dist/stores/screens-store.d.ts +35 -35
  52. package/dist/stores/skills.d.ts +40 -40
  53. package/dist/stores/vm-store.d.ts +180 -180
  54. package/dist/style.css +1 -1
  55. package/dist/types/app-types.d.ts +9 -5
  56. package/dist/types/character-types.d.ts +27 -27
  57. package/dist/types/dialog-box-types.d.ts +11 -11
  58. package/dist/types/game-save.d.ts +36 -36
  59. package/dist/types/parser.d.ts +93 -93
  60. package/dist/types/state.d.ts +3 -3
  61. package/dist/utils/InputsListener.d.ts +9 -9
  62. package/dist/utils/ajax.d.ts +1 -1
  63. package/dist/utils/audio-loader.d.ts +10 -10
  64. package/dist/utils/characters.d.ts +5 -5
  65. package/dist/utils/data-helpers.d.ts +28 -25
  66. package/dist/utils/debounce.d.ts +14 -14
  67. package/dist/utils/error-handling.d.ts +3 -3
  68. package/dist/utils/helpers.d.ts +6 -6
  69. package/dist/utils/images-loader.d.ts +6 -6
  70. package/dist/utils/logger.d.ts +11 -11
  71. package/dist/utils/object-iterators.d.ts +8 -8
  72. package/dist/utils/promises.d.ts +1 -1
  73. package/dist/utils/randomId.d.ts +1 -1
  74. package/dist/utils/save-helpers.d.ts +18 -18
  75. package/dist/utils/skillchecks.d.ts +17 -17
  76. package/dist/utils/string-helpers.d.ts +3 -3
  77. package/dist/utils/time-helpers.d.ts +2 -2
  78. package/dist/utils/transition.d.ts +15 -15
  79. package/dist/utils/type-utils.d.ts +1 -1
  80. package/dist/utils/typed-emitter.d.ts +18 -18
  81. package/dist/vm/commands/arithmetic-commands.d.ts +23 -23
  82. package/dist/vm/commands/audio-commands.d.ts +15 -15
  83. package/dist/vm/commands/choice.d.ts +37 -37
  84. package/dist/vm/commands/clear_dialog.d.ts +2 -2
  85. package/dist/vm/commands/command-helpers.d.ts +3 -3
  86. package/dist/vm/commands/command-plugin.d.ts +43 -43
  87. package/dist/vm/commands/flow-commands.d.ts +24 -24
  88. package/dist/vm/commands/if.d.ts +10 -10
  89. package/dist/vm/commands/index.d.ts +2 -2
  90. package/dist/vm/commands/inventory-commands.d.ts +15 -15
  91. package/dist/vm/commands/logic-command.d.ts +42 -42
  92. package/dist/vm/commands/math-commands.d.ts +30 -30
  93. package/dist/vm/commands/notify.d.ts +6 -6
  94. package/dist/vm/commands/quest-commands.d.ts +30 -30
  95. package/dist/vm/commands/random-commands.d.ts +10 -10
  96. package/dist/vm/commands/screen-commands.d.ts +15 -15
  97. package/dist/vm/commands/set.d.ts +6 -6
  98. package/dist/vm/commands/skill-commands.d.ts +30 -30
  99. package/dist/vm/commands/stats-commands.d.ts +12 -12
  100. package/dist/vm/commands/string-commands.d.ts +9 -9
  101. package/dist/vm/commands/text-field.d.ts +7 -7
  102. package/dist/vm/commands/text.d.ts +14 -14
  103. package/dist/vm/commands/wait.d.ts +4 -4
  104. package/dist/vm/vm-helpers.d.ts +18 -18
  105. package/dist/vm/vm-parser.d.ts +19 -19
  106. package/dist/vm/vm-parser.test.d.ts +1 -1
  107. package/dist/vm/vm.d.ts +18 -18
  108. package/package.json +8 -4
@@ -1,65 +1,65 @@
1
- import { PropType } from 'vue';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- inGame: boolean;
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9
- layoutMode: PropType<"horizontal" | "vertical">;
10
- inGame: BooleanConstructor;
11
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inGame">;
12
- $attrs: {
13
- [x: string]: unknown;
14
- };
15
- $refs: {
16
- [x: string]: unknown;
17
- };
18
- $slots: Readonly<{
19
- [name: string]: import("vue").Slot | undefined;
20
- }>;
21
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
22
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
23
- $emit: (event: string, ...args: any[]) => void;
24
- $el: any;
25
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
26
- layoutMode: PropType<"horizontal" | "vertical">;
27
- inGame: BooleanConstructor;
28
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
29
- inGame: boolean;
30
- }> & {
31
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
32
- created?: ((() => void) | (() => void)[]) | undefined;
33
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
34
- mounted?: ((() => void) | (() => void)[]) | undefined;
35
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
36
- updated?: ((() => void) | (() => void)[]) | undefined;
37
- activated?: ((() => void) | (() => void)[]) | undefined;
38
- deactivated?: ((() => void) | (() => void)[]) | undefined;
39
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
40
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
41
- destroyed?: ((() => void) | (() => void)[]) | undefined;
42
- unmounted?: ((() => void) | (() => void)[]) | undefined;
43
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
44
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
- 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;
46
- };
47
- $forceUpdate: () => void;
48
- $nextTick: typeof import("vue").nextTick;
49
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
50
- } & Readonly<import("vue").ExtractPropTypes<{
51
- layoutMode: PropType<"horizontal" | "vertical">;
52
- inGame: BooleanConstructor;
53
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
54
- __isFragment?: undefined;
55
- __isTeleport?: undefined;
56
- __isSuspense?: undefined;
57
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
- layoutMode: PropType<"horizontal" | "vertical">;
59
- inGame: BooleanConstructor;
60
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
61
- inGame: boolean;
62
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
63
- $slots: {};
64
- });
65
- 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<{
7
+ inGame: boolean;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9
+ layoutMode: PropType<"horizontal" | "vertical">;
10
+ inGame: BooleanConstructor;
11
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "inGame">;
12
+ $attrs: {
13
+ [x: string]: unknown;
14
+ };
15
+ $refs: {
16
+ [x: string]: unknown;
17
+ };
18
+ $slots: Readonly<{
19
+ [name: string]: import("vue").Slot | undefined;
20
+ }>;
21
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
22
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
23
+ $emit: (event: string, ...args: any[]) => void;
24
+ $el: any;
25
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
26
+ layoutMode: PropType<"horizontal" | "vertical">;
27
+ inGame: BooleanConstructor;
28
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
29
+ inGame: boolean;
30
+ }> & {
31
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
32
+ created?: ((() => void) | (() => void)[]) | undefined;
33
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
34
+ mounted?: ((() => void) | (() => void)[]) | undefined;
35
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
36
+ updated?: ((() => void) | (() => void)[]) | undefined;
37
+ activated?: ((() => void) | (() => void)[]) | undefined;
38
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
39
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
41
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
42
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
43
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
44
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
+ 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;
46
+ };
47
+ $forceUpdate: () => void;
48
+ $nextTick: typeof import("vue").nextTick;
49
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
50
+ } & Readonly<import("vue").ExtractPropTypes<{
51
+ layoutMode: PropType<"horizontal" | "vertical">;
52
+ inGame: BooleanConstructor;
53
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
54
+ __isFragment?: undefined;
55
+ __isTeleport?: undefined;
56
+ __isSuspense?: undefined;
57
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
+ layoutMode: PropType<"horizontal" | "vertical">;
59
+ inGame: BooleanConstructor;
60
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
61
+ inGame: boolean;
62
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
63
+ $slots: {};
64
+ });
65
+ export default _default;
@@ -1,46 +1,46 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
- $attrs: {
7
- [x: string]: unknown;
8
- };
9
- $refs: {
10
- [x: string]: unknown;
11
- };
12
- $slots: Readonly<{
13
- [name: string]: import("vue").Slot | undefined;
14
- }>;
15
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
- $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
- $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
- created?: ((() => void) | (() => void)[]) | undefined;
22
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
- mounted?: ((() => void) | (() => void)[]) | undefined;
24
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
- updated?: ((() => void) | (() => void)[]) | undefined;
26
- activated?: ((() => void) | (() => void)[]) | undefined;
27
- deactivated?: ((() => void) | (() => void)[]) | undefined;
28
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
- destroyed?: ((() => void) | (() => void)[]) | undefined;
31
- unmounted?: ((() => void) | (() => void)[]) | undefined;
32
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
- 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;
35
- };
36
- $forceUpdate: () => void;
37
- $nextTick: typeof import("vue").nextTick;
38
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
- __isFragment?: undefined;
41
- __isTeleport?: undefined;
42
- __isSuspense?: undefined;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {};
45
- });
46
- export default _default;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
+ $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
+ created?: ((() => void) | (() => void)[]) | undefined;
22
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
+ mounted?: ((() => void) | (() => void)[]) | undefined;
24
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
+ updated?: ((() => void) | (() => void)[]) | undefined;
26
+ activated?: ((() => void) | (() => void)[]) | undefined;
27
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
31
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
32
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
+ 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;
35
+ };
36
+ $forceUpdate: () => void;
37
+ $nextTick: typeof import("vue").nextTick;
38
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
+ __isFragment?: undefined;
41
+ __isTeleport?: undefined;
42
+ __isSuspense?: undefined;
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: {};
45
+ });
46
+ export default _default;
@@ -1,14 +1,14 @@
1
- import { HudStatConfig } from '../config';
2
- import { HudStatsState } from '../stores/hud-stats-store';
3
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {
4
- statsConfig(): {
5
- [key: string]: HudStatConfig;
6
- };
7
- stats(): HudStatsState;
8
- hudStyle(): any;
9
- layoutMode: () => "horizontal" | "vertical";
10
- hudStats: () => HudStatsState;
11
- }, {
12
- getStatImage(key: string): string;
13
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
14
- export default _default;
1
+ import { HudStatConfig } from '../config';
2
+ import { HudStatsState } from '../stores/hud-stats-store';
3
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {
4
+ statsConfig(): {
5
+ [key: string]: HudStatConfig;
6
+ };
7
+ stats(): HudStatsState;
8
+ hudStyle(): any;
9
+ layoutMode: () => "horizontal" | "vertical";
10
+ hudStats: () => HudStatsState;
11
+ }, {
12
+ getStatImage(key: string): string;
13
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
14
+ export default _default;
@@ -1,46 +1,46 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
- $attrs: {
7
- [x: string]: unknown;
8
- };
9
- $refs: {
10
- [x: string]: unknown;
11
- };
12
- $slots: Readonly<{
13
- [name: string]: import("vue").Slot | undefined;
14
- }>;
15
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
- $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
- $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
- created?: ((() => void) | (() => void)[]) | undefined;
22
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
- mounted?: ((() => void) | (() => void)[]) | undefined;
24
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
- updated?: ((() => void) | (() => void)[]) | undefined;
26
- activated?: ((() => void) | (() => void)[]) | undefined;
27
- deactivated?: ((() => void) | (() => void)[]) | undefined;
28
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
- destroyed?: ((() => void) | (() => void)[]) | undefined;
31
- unmounted?: ((() => void) | (() => void)[]) | undefined;
32
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
- 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;
35
- };
36
- $forceUpdate: () => void;
37
- $nextTick: typeof import("vue").nextTick;
38
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
- __isFragment?: undefined;
41
- __isTeleport?: undefined;
42
- __isSuspense?: undefined;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {};
45
- });
46
- export default _default;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
+ $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
+ created?: ((() => void) | (() => void)[]) | undefined;
22
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
+ mounted?: ((() => void) | (() => void)[]) | undefined;
24
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
+ updated?: ((() => void) | (() => void)[]) | undefined;
26
+ activated?: ((() => void) | (() => void)[]) | undefined;
27
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
31
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
32
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
+ 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;
35
+ };
36
+ $forceUpdate: () => void;
37
+ $nextTick: typeof import("vue").nextTick;
38
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
+ __isFragment?: undefined;
41
+ __isTeleport?: undefined;
42
+ __isSuspense?: undefined;
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: {};
45
+ });
46
+ export default _default;
@@ -1,30 +1,30 @@
1
- import { ItemData } from '../config';
2
- import { ItemState } from '../stores/inventory-store';
3
- declare const _default: import("vue").DefineComponent<{}, {
4
- items: import("vue").ComputedRef<{
5
- [key: string]: ItemState;
6
- }>;
7
- currentlyChoosing: import("vue").ComputedRef<import("../stores/dialog-store").DialogChoice[] | undefined>;
8
- }, {
9
- chosenId: string | false;
10
- }, {
11
- itemsToDisplay(): {
12
- [key: string]: ItemState;
13
- };
14
- chosenItem(): null | ItemState;
15
- canUseChosenItem(): boolean;
16
- chosenItemConf(): null | ItemData;
17
- itemConf(): {
18
- [key: string]: ItemData;
19
- };
20
- }, {
21
- close(): void;
22
- getItemStyle(item: string): any;
23
- getItemName(item: string): string;
24
- getItemConf(item: string): ItemData;
25
- clickItem(item: string): void;
26
- closeItem(): void;
27
- useItem(): void;
28
- canUseItem(item: ItemState): boolean;
29
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
30
- export default _default;
1
+ import { ItemData } from '../config';
2
+ import { ItemState } from '../stores/inventory-store';
3
+ declare const _default: import("vue").DefineComponent<{}, {
4
+ items: import("vue").ComputedRef<{
5
+ [key: string]: ItemState;
6
+ }>;
7
+ currentlyChoosing: import("vue").ComputedRef<import("../stores/dialog-store").DialogChoice[] | undefined>;
8
+ }, {
9
+ chosenId: string | false;
10
+ }, {
11
+ itemsToDisplay(): {
12
+ [key: string]: ItemState;
13
+ };
14
+ chosenItem(): null | ItemState;
15
+ canUseChosenItem(): boolean;
16
+ chosenItemConf(): null | ItemData;
17
+ itemConf(): {
18
+ [key: string]: ItemData;
19
+ };
20
+ }, {
21
+ close(): void;
22
+ getItemStyle(item: string): any;
23
+ getItemName(item: string): string;
24
+ getItemConf(item: string): ItemData;
25
+ clickItem(item: string): void;
26
+ closeItem(): void;
27
+ useItem(): void;
28
+ canUseItem(item: ItemState): boolean;
29
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
30
+ export default _default;
@@ -1,10 +1,10 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- percentage: NumberConstructor;
3
- step: StringConstructor;
4
- }, unknown, unknown, {}, {
5
- loadingStyle(): any;
6
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- percentage: NumberConstructor;
8
- step: StringConstructor;
9
- }>>, {}>;
10
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ percentage: NumberConstructor;
3
+ step: StringConstructor;
4
+ }, unknown, unknown, {}, {
5
+ loadingStyle(): any;
6
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ percentage: NumberConstructor;
8
+ step: StringConstructor;
9
+ }>>, {}>;
10
+ export default _default;
@@ -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;