narrat 2.3.0 → 2.3.3

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