narrat 2.11.0 → 2.12.0-alpha.1

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 (94) hide show
  1. package/LICENSE +21 -0
  2. package/dist/app.vue.d.ts +1 -1
  3. package/dist/components/MainMenu.vue.d.ts +1 -1
  4. package/dist/components/SkillsWindow.vue.d.ts +2 -2
  5. package/dist/components/StartMenu.vue.d.ts +8 -8
  6. package/dist/components/achievements/achievement-tile.vue.d.ts +58 -0
  7. package/dist/components/achievements/achievements-section.vue.d.ts +61 -0
  8. package/dist/components/achievements/achievements-ui.vue.d.ts +32 -0
  9. package/dist/components/auto-play/AutoPlayFeedback.vue.d.ts +8 -8
  10. package/dist/components/debug/debug-menu.vue.d.ts +4 -2
  11. package/dist/components/dialog-picture.vue.d.ts +1 -1
  12. package/dist/components/engine-splash/engine-splash.vue.d.ts +7 -7
  13. package/dist/components/game-dialog.vue.d.ts +9 -9
  14. package/dist/components/game-splash/game-splash.vue.d.ts +8 -8
  15. package/dist/components/hud.vue.d.ts +1 -1
  16. package/dist/components/in-game.vue.d.ts +8 -8
  17. package/dist/components/inventory/inventory-section.vue.d.ts +9 -9
  18. package/dist/components/inventory/item-details.vue.d.ts +10 -10
  19. package/dist/components/inventory-ui.vue.d.ts +1 -1
  20. package/dist/components/loading-bar.vue.d.ts +1 -1
  21. package/dist/components/menu-buttons.vue.d.ts +8 -8
  22. package/dist/components/notification-toast.vue.d.ts +1 -1
  23. package/dist/components/quests/QuestDetails.vue.d.ts +9 -9
  24. package/dist/components/quests/QuestDisplay.vue.d.ts +9 -9
  25. package/dist/components/quests/quests-list-section.vue.d.ts +9 -9
  26. package/dist/components/quests-ui.vue.d.ts +1 -1
  27. package/dist/components/save-slots.vue.d.ts +7 -7
  28. package/dist/components/saves/save-slot-ui.vue.d.ts +7 -7
  29. package/dist/components/screen-layer.vue.d.ts +9 -9
  30. package/dist/components/screen-objects/screen-object.vue.d.ts +9 -9
  31. package/dist/components/screens.vue.d.ts +8 -8
  32. package/dist/components/tabs/TabsController.vue.d.ts +9 -9
  33. package/dist/components/tabs/tab-selector.vue.d.ts +9 -9
  34. package/dist/components/tooltips/tooltips-ui.vue.d.ts +8 -8
  35. package/dist/components/transitions/NarratTransition.vue.d.ts +7 -7
  36. package/dist/components/utils/alert-modal.vue.d.ts +7 -7
  37. package/dist/components/utils/floating-tooltip.vue.d.ts +10 -9
  38. package/dist/components/utils/modal-window.vue.d.ts +1 -1
  39. package/dist/components/utils/yes-no.vue.d.ts +7 -7
  40. package/dist/components/volume-controls.vue.d.ts +1 -1
  41. package/dist/config/achievements-config.d.ts +58 -0
  42. package/dist/config/audio-config.d.ts +5 -5
  43. package/dist/config/buttons-config.d.ts +3 -3
  44. package/dist/config/characters-config.d.ts +3 -3
  45. package/dist/config/common-config.d.ts +13 -13
  46. package/dist/config/config-input.d.ts +4 -1
  47. package/dist/config/config-output.d.ts +27 -2
  48. package/dist/config/items-config.d.ts +5 -5
  49. package/dist/config/layout-config.d.ts +1 -1
  50. package/dist/config/quests-config.d.ts +5 -5
  51. package/dist/config/screens-config.d.ts +5 -5
  52. package/dist/config/skills-config.d.ts +6 -6
  53. package/dist/config/tooltips-config.d.ts +2 -1
  54. package/dist/config.d.ts +31 -3
  55. package/dist/constants.d.ts +1 -2
  56. package/dist/dialog-box.vue.d.ts +1 -1
  57. package/dist/exports/plugins.d.ts +3 -3
  58. package/dist/exports/stores.d.ts +1 -0
  59. package/dist/inputs/Inputs.d.ts +1 -1
  60. package/dist/lib.d.ts +1 -1
  61. package/dist/narrat.es.js +11935 -11611
  62. package/dist/narrat.es.js.map +1 -1
  63. package/dist/narrat.umd.js +115 -115
  64. package/dist/narrat.umd.js.map +1 -1
  65. package/dist/stores/achievements-store.d.ts +27 -0
  66. package/dist/stores/audio-store.d.ts +5 -5
  67. package/dist/stores/dialog-store.d.ts +3 -3
  68. package/dist/stores/hud-stats-store.d.ts +1 -1
  69. package/dist/stores/inventory-store.d.ts +1 -1
  70. package/dist/stores/main-store.d.ts +716 -587
  71. package/dist/stores/menu-store.d.ts +2 -1
  72. package/dist/stores/quest-log.d.ts +1 -1
  73. package/dist/stores/screen-objects-store.d.ts +4 -4
  74. package/dist/stores/screens-store.d.ts +3 -3
  75. package/dist/stores/skills.d.ts +1 -1
  76. package/dist/stores/vm-store.d.ts +10 -5
  77. package/dist/style.css +1 -1
  78. package/dist/tests/tests.setup.d.ts +1 -0
  79. package/dist/types/app-types.d.ts +1 -1
  80. package/dist/types/game-save.d.ts +11 -3
  81. package/dist/utils/data-helpers.d.ts +1 -0
  82. package/dist/utils/debounce.d.ts +2 -2
  83. package/dist/utils/save-helpers.d.ts +6 -4
  84. package/dist/utils/transition.d.ts +2 -2
  85. package/dist/utils/typed-emitter.d.ts +2 -2
  86. package/dist/vm/commands/achievements-commands.d.ts +6 -0
  87. package/dist/vm/commands/choice.d.ts +1 -1
  88. package/dist/vm/commands/command-plugin.d.ts +5 -5
  89. package/dist/vm/commands/flow-commands.d.ts +1 -0
  90. package/dist/vm/vm-helpers.d.ts +1 -1
  91. package/dist/vm/vm-parser.d.ts +2 -2
  92. package/dist/vm/vm.d.ts +1 -0
  93. package/package.json +40 -32
  94. package/README.md +0 -136
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Liana Pigeot
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/app.vue.d.ts CHANGED
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  closeAlert(id: string): void;
73
73
  engineSplashDone(): void;
74
74
  updateScreenSize(): void;
75
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
76
76
  options: PropType<AppOptions>;
77
77
  }>>, {}>;
78
78
  export default _default;
@@ -3,5 +3,5 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
3
3
  mainMenu(): void;
4
4
  closeMenu(): void;
5
5
  getPlayTimeString(): string;
6
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
7
7
  export default _default;
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<{}, {
9
9
  skillConf(): {
10
10
  [key: string]: {
11
11
  hidden?: boolean | undefined;
12
- description: string;
13
12
  name: string;
13
+ description: string;
14
14
  startingLevel: number;
15
15
  icon: string;
16
16
  };
@@ -24,5 +24,5 @@ declare const _default: import("vue").DefineComponent<{}, {
24
24
  xpBarWidth(xp: number): {
25
25
  width: string;
26
26
  };
27
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
27
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
28
28
  export default _default;
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  $slots: Readonly<{
13
13
  [name: string]: import("vue").Slot | undefined;
14
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);
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
18
  $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
20
20
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
21
  created?: ((() => void) | (() => void)[]) | undefined;
22
22
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -31,16 +31,16 @@ declare const _default: {
31
31
  unmounted?: ((() => void) | (() => void)[]) | undefined;
32
32
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
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;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
35
35
  };
36
36
  $forceUpdate: () => void;
37
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;
38
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
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 () => {
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
44
  $slots: {};
45
45
  });
46
46
  export default _default;
@@ -0,0 +1,58 @@
1
+ export interface AchievementTileProps {
2
+ achievement: string;
3
+ }
4
+ declare const _default: {
5
+ new (...args: any[]): {
6
+ $: import("vue").ComponentInternalInstance;
7
+ $data: {};
8
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementTileProps>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
9
+ $attrs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $refs: {
13
+ [x: string]: unknown;
14
+ };
15
+ $slots: Readonly<{
16
+ [name: string]: import("vue").Slot | undefined;
17
+ }>;
18
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
19
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
20
+ $emit: (event: string, ...args: any[]) => void;
21
+ $el: any;
22
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementTileProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
23
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
24
+ created?: ((() => void) | (() => void)[]) | undefined;
25
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
26
+ mounted?: ((() => void) | (() => void)[]) | undefined;
27
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
28
+ updated?: ((() => void) | (() => void)[]) | undefined;
29
+ activated?: ((() => void) | (() => void)[]) | undefined;
30
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
31
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
32
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
33
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
34
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
35
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
36
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
37
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
38
+ };
39
+ $forceUpdate: () => void;
40
+ $nextTick: typeof import("vue").nextTick;
41
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
42
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementTileProps>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
43
+ __isFragment?: undefined;
44
+ __isTeleport?: undefined;
45
+ __isSuspense?: undefined;
46
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementTileProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
47
+ $slots: {};
48
+ });
49
+ export default _default;
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToRuntimeProps<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: import('vue').PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };
@@ -0,0 +1,61 @@
1
+ import { AchievementState } from '../../stores/achievements-store';
2
+ export interface AchievementsSectionProps {
3
+ achievements: AchievementState[];
4
+ title: string;
5
+ id: string;
6
+ }
7
+ declare const _default: {
8
+ new (...args: any[]): {
9
+ $: import("vue").ComponentInternalInstance;
10
+ $data: {};
11
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementsSectionProps>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
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, {}, {}, string>, {}> | null;
22
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
+ $emit: (event: string, ...args: any[]) => void;
24
+ $el: any;
25
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementsSectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
26
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
27
+ created?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
29
+ mounted?: ((() => void) | (() => void)[]) | undefined;
30
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
31
+ updated?: ((() => void) | (() => void)[]) | undefined;
32
+ activated?: ((() => void) | (() => void)[]) | undefined;
33
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
34
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
35
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
36
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
37
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
38
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
39
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
40
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
41
+ };
42
+ $forceUpdate: () => void;
43
+ $nextTick: typeof import("vue").nextTick;
44
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
45
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementsSectionProps>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
46
+ __isFragment?: undefined;
47
+ __isTeleport?: undefined;
48
+ __isSuspense?: undefined;
49
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AchievementsSectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
50
+ $slots: {};
51
+ });
52
+ export default _default;
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToRuntimeProps<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: import('vue').PropType<T[K]>;
59
+ required: true;
60
+ };
61
+ };
@@ -0,0 +1,32 @@
1
+ import { AchievementConfig } from '../../config/achievements-config';
2
+ import { AchievementState } from '../../stores/achievements-store';
3
+ import { AchievementsSectionProps } from './achievements-section.vue';
4
+ declare const _default: import("vue").DefineComponent<{}, {
5
+ achievements: import("vue").ComputedRef<{
6
+ [key: string]: AchievementState;
7
+ }>;
8
+ currentlyChoosing: import("vue").ComputedRef<import("../../stores/dialog-store").DialogChoice[] | undefined>;
9
+ }, {
10
+ chosenId: string | false;
11
+ }, {
12
+ achievementsToDisplay(): AchievementState[];
13
+ chosenAchievement(): null | AchievementState;
14
+ chosenAchievementConf(): null | AchievementConfig;
15
+ achievementConf(): {
16
+ [key: string]: {
17
+ category?: string | undefined;
18
+ secret?: boolean | undefined;
19
+ name: string;
20
+ description: string;
21
+ icon: string;
22
+ };
23
+ };
24
+ sections(): AchievementsSectionProps[];
25
+ }, {
26
+ close(): void;
27
+ clickAchievement(achievement: string): void;
28
+ closeAchievement(): void;
29
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
30
+ onClose?: ((...args: any[]) => any) | undefined;
31
+ }, {}>;
32
+ export default _default;
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  $slots: Readonly<{
13
13
  [name: string]: import("vue").Slot | undefined;
14
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);
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
18
  $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
20
20
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
21
  created?: ((() => void) | (() => void)[]) | undefined;
22
22
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -31,16 +31,16 @@ declare const _default: {
31
31
  unmounted?: ((() => void) | (() => void)[]) | undefined;
32
32
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
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;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
35
35
  };
36
36
  $forceUpdate: () => void;
37
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;
38
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
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 () => {
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
44
  $slots: {};
45
45
  });
46
46
  export default _default;
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
12
12
  matchCursor: number;
13
13
  }, {
14
14
  labels(): string[];
15
+ script(): Parser.ParsedScript;
15
16
  variables(): {
16
17
  [key: string]: any;
17
18
  };
@@ -26,7 +27,6 @@ declare const _default: import("vue").DefineComponent<{}, {
26
27
  };
27
28
  flowState: () => "menu" | "engine-splash" | "game-splash" | "playing";
28
29
  data: () => import("../../stores/vm-store").DataState;
29
- script: () => Parser.ParsedScript;
30
30
  }, {
31
31
  finishJumping(): void;
32
32
  labelSelected(event: any): void;
@@ -42,10 +42,12 @@ declare const _default: import("vue").DefineComponent<{}, {
42
42
  } | undefined;
43
43
  onSearchInput(): void;
44
44
  save(): void;
45
+ resetSave(): void;
46
+ resetGlobalSave(): void;
45
47
  wordCount(): void;
46
48
  countWordsInScriptLine(scriptLine: Parser.ParsedExpression): number;
47
49
  countWordsInString(string: string): number;
48
50
  countWordsInScriptBranch(branch: Parser.Branch): number;
49
51
  getPlayTimeString(): string;
50
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
52
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
51
53
  export default _default;
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  layoutMode: () => "horizontal" | "vertical";
6
6
  }, {
7
7
  getAssetUrl(url: string): string;
8
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  pictureUrl: StringConstructor;
10
10
  }>>, {}>;
11
11
  export default _default;
@@ -14,13 +14,13 @@ declare const _default: {
14
14
  $slots: Readonly<{
15
15
  [name: string]: import("vue").Slot | undefined;
16
16
  }>;
17
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
18
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
18
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
19
19
  $emit: (event: "finished", ...args: any[]) => void;
20
20
  $el: any;
21
21
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
22
22
  onFinished?: ((...args: any[]) => any) | undefined;
23
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "finished"[], string, {}> & {
23
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "finished"[], string, {}, {}, string> & {
24
24
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
25
25
  created?: ((() => void) | (() => void)[]) | undefined;
26
26
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -35,20 +35,20 @@ declare const _default: {
35
35
  unmounted?: ((() => void) | (() => void)[]) | undefined;
36
36
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
37
37
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
38
- 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;
38
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
39
39
  };
40
40
  $forceUpdate: () => void;
41
41
  $nextTick: typeof import("vue").nextTick;
42
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
42
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
43
43
  } & Readonly<import("vue").ExtractPropTypes<{}>> & {
44
44
  onFinished?: ((...args: any[]) => any) | undefined;
45
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
45
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
46
46
  __isFragment?: undefined;
47
47
  __isTeleport?: undefined;
48
48
  __isSuspense?: undefined;
49
49
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
50
50
  onFinished?: ((...args: any[]) => any) | undefined;
51
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "finished"[], "finished", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
51
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "finished"[], "finished", {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
52
52
  $slots: {};
53
53
  });
54
54
  export default _default;
@@ -18,16 +18,16 @@ declare const _default: {
18
18
  $slots: Readonly<{
19
19
  [name: string]: import("vue").Slot | undefined;
20
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;
21
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
22
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
23
  $emit: (event: string, ...args: any[]) => void;
24
24
  $el: any;
25
25
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
26
26
  layoutMode: PropType<"horizontal" | "vertical">;
27
27
  inGame: BooleanConstructor;
28
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
28
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
29
29
  inGame: boolean;
30
- }> & {
30
+ }, {}, string> & {
31
31
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
32
32
  created?: ((() => void) | (() => void)[]) | undefined;
33
33
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -42,24 +42,24 @@ declare const _default: {
42
42
  unmounted?: ((() => void) | (() => void)[]) | undefined;
43
43
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
44
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;
45
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
46
46
  };
47
47
  $forceUpdate: () => void;
48
48
  $nextTick: typeof import("vue").nextTick;
49
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
49
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
50
50
  } & Readonly<import("vue").ExtractPropTypes<{
51
51
  layoutMode: PropType<"horizontal" | "vertical">;
52
52
  inGame: BooleanConstructor;
53
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
53
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
54
54
  __isFragment?: undefined;
55
55
  __isTeleport?: undefined;
56
56
  __isSuspense?: undefined;
57
57
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
58
  layoutMode: PropType<"horizontal" | "vertical">;
59
59
  inGame: BooleanConstructor;
60
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
60
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
61
61
  inGame: boolean;
62
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
62
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
63
63
  $slots: {};
64
64
  });
65
65
  export default _default;
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  $slots: Readonly<{
13
13
  [name: string]: import("vue").Slot | undefined;
14
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);
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
18
  $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
20
20
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
21
  created?: ((() => void) | (() => void)[]) | undefined;
22
22
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -31,16 +31,16 @@ declare const _default: {
31
31
  unmounted?: ((() => void) | (() => void)[]) | undefined;
32
32
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
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;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
35
35
  };
36
36
  $forceUpdate: () => void;
37
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;
38
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
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 () => {
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
44
  $slots: {};
45
45
  });
46
46
  export default _default;
@@ -16,5 +16,5 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {
16
16
  hudStats: () => HudStatsState;
17
17
  }, {
18
18
  getStatImage(key: string): string;
19
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
19
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
20
20
  export default _default;
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  $slots: Readonly<{
13
13
  [name: string]: import("vue").Slot | undefined;
14
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);
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
18
  $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
20
20
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
21
  created?: ((() => void) | (() => void)[]) | undefined;
22
22
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -31,16 +31,16 @@ declare const _default: {
31
31
  unmounted?: ((() => void) | (() => void)[]) | undefined;
32
32
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
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;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
35
35
  };
36
36
  $forceUpdate: () => void;
37
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;
38
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
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 () => {
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
44
  $slots: {};
45
45
  });
46
46
  export default _default;
@@ -18,11 +18,11 @@ declare const _default: {
18
18
  $slots: Readonly<{
19
19
  [name: string]: import("vue").Slot | undefined;
20
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;
21
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
22
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
23
  $emit: (event: string, ...args: any[]) => void;
24
24
  $el: any;
25
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
25
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
26
26
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
27
27
  created?: ((() => void) | (() => void)[]) | undefined;
28
28
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -37,21 +37,21 @@ declare const _default: {
37
37
  unmounted?: ((() => void) | (() => void)[]) | undefined;
38
38
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
39
39
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
40
- 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;
40
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
41
41
  };
42
42
  $forceUpdate: () => void;
43
43
  $nextTick: typeof import("vue").nextTick;
44
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
45
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
44
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
45
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
46
46
  __isFragment?: undefined;
47
47
  __isTeleport?: undefined;
48
48
  __isSuspense?: undefined;
49
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
49
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
50
50
  $slots: {};
51
51
  });
52
52
  export default _default;
53
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
- declare type __VLS_TypePropsToRuntimeProps<T> = {
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToRuntimeProps<T> = {
55
55
  [K in keyof T]-?: {} extends Pick<T, K> ? {
56
56
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
57
  } : {