narrat 2.2.13 → 2.2.14-test

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 (136) hide show
  1. package/LICENSE +21 -21
  2. package/dist/app.vue.d.ts +92 -92
  3. package/dist/components/MainMenu.vue.d.ts +12 -12
  4. package/dist/components/Skills.vue.d.ts +22 -22
  5. package/dist/components/StartMenu.vue.d.ts +46 -46
  6. package/dist/components/debug/debug-menu.vue.d.ts +48 -48
  7. package/dist/components/dialog-picture.vue.d.ts +9 -9
  8. package/dist/components/game-dialog.vue.d.ts +65 -65
  9. package/dist/components/hud.vue.d.ts +14 -14
  10. package/dist/components/inventory-ui.vue.d.ts +30 -30
  11. package/dist/components/loading-bar.vue.d.ts +10 -10
  12. package/dist/components/menu-buttons.vue.d.ts +26 -26
  13. package/dist/components/notification-toast.vue.d.ts +6 -6
  14. package/dist/components/quests-ui.vue.d.ts +20 -20
  15. package/dist/components/save-slots.vue.d.ts +58 -58
  16. package/dist/components/screen-layer.vue.d.ts +76 -76
  17. package/dist/components/screens.vue.d.ts +46 -46
  18. package/dist/components/transitions/NarratTransition.vue.d.ts +101 -101
  19. package/dist/components/utils/modal.vue.d.ts +6 -6
  20. package/dist/components/volume-controls.vue.d.ts +18 -18
  21. package/dist/config.d.ts +178 -178
  22. package/dist/constants.d.ts +8 -8
  23. package/dist/defaultConfig.d.ts +2 -2
  24. package/dist/demo/demo.d.ts +1 -1
  25. package/dist/dialog-box.vue.d.ts +41 -41
  26. package/dist/exports/config.d.ts +1 -1
  27. package/dist/exports/display.d.ts +2 -2
  28. package/dist/exports/plugins.d.ts +20 -20
  29. package/dist/favicon.svg +30 -30
  30. package/dist/{lib/lib.d.ts → lib.d.ts} +14 -15
  31. package/dist/main.d.ts +6 -6
  32. package/dist/narrat.es.js +23731 -21080
  33. package/dist/narrat.es.js.map +1 -1
  34. package/dist/narrat.umd.js +91 -91
  35. package/dist/narrat.umd.js.map +1 -1
  36. package/dist/plugins/NarratPlugin.d.ts +11 -11
  37. package/dist/stores/audio-store.d.ts +48 -48
  38. package/dist/stores/dialog-store.d.ts +32 -32
  39. package/dist/stores/hud-stats-store.d.ts +22 -22
  40. package/dist/stores/inventory-store.d.ts +37 -37
  41. package/dist/stores/main-store.d.ts +391 -391
  42. package/dist/stores/notification-store.d.ts +15 -15
  43. package/dist/stores/quest-log.d.ts +39 -39
  44. package/dist/stores/rendering-store.d.ts +13 -13
  45. package/dist/stores/screens-store.d.ts +35 -35
  46. package/dist/stores/skills.d.ts +40 -40
  47. package/dist/stores/vm-store.d.ts +178 -178
  48. package/dist/style.css +1 -1
  49. package/dist/types/app-types.d.ts +5 -5
  50. package/dist/types/character-types.d.ts +27 -27
  51. package/dist/types/dialog-box-types.d.ts +11 -11
  52. package/dist/types/game-save.d.ts +30 -30
  53. package/dist/types/parser.d.ts +93 -93
  54. package/dist/types/state.d.ts +3 -3
  55. package/dist/utils/InputsListener.d.ts +9 -9
  56. package/dist/utils/ajax.d.ts +1 -1
  57. package/dist/utils/audio-loader.d.ts +10 -10
  58. package/dist/utils/characters.d.ts +5 -5
  59. package/dist/utils/data-helpers.d.ts +25 -25
  60. package/dist/utils/debounce.d.ts +14 -14
  61. package/dist/utils/error-handling.d.ts +3 -3
  62. package/dist/utils/helpers.d.ts +6 -6
  63. package/dist/utils/images-loader.d.ts +6 -6
  64. package/dist/utils/logger.d.ts +11 -11
  65. package/dist/utils/object-iterators.d.ts +8 -8
  66. package/dist/utils/promises.d.ts +1 -1
  67. package/dist/utils/randomId.d.ts +1 -1
  68. package/dist/utils/save-helpers.d.ts +15 -15
  69. package/dist/utils/skillchecks.d.ts +17 -17
  70. package/dist/utils/string-helpers.d.ts +3 -3
  71. package/dist/utils/time-helpers.d.ts +2 -2
  72. package/dist/utils/transition.d.ts +15 -15
  73. package/dist/utils/type-utils.d.ts +1 -1
  74. package/dist/utils/typed-emitter.d.ts +18 -18
  75. package/dist/vm/commands/arithmetic-commands.d.ts +23 -23
  76. package/dist/vm/commands/audio-commands.d.ts +15 -15
  77. package/dist/vm/commands/choice.d.ts +37 -37
  78. package/dist/vm/commands/clear_dialog.d.ts +2 -2
  79. package/dist/vm/commands/command-helpers.d.ts +3 -3
  80. package/dist/vm/commands/command-plugin.d.ts +43 -43
  81. package/dist/vm/commands/flow-commands.d.ts +18 -18
  82. package/dist/vm/commands/if.d.ts +10 -10
  83. package/dist/vm/commands/index.d.ts +2 -2
  84. package/dist/vm/commands/inventory-commands.d.ts +15 -15
  85. package/dist/vm/commands/logic-command.d.ts +42 -42
  86. package/dist/vm/commands/math-commands.d.ts +30 -30
  87. package/dist/vm/commands/notify.d.ts +6 -6
  88. package/dist/vm/commands/quest-commands.d.ts +30 -30
  89. package/dist/vm/commands/random-commands.d.ts +10 -10
  90. package/dist/vm/commands/screen-commands.d.ts +15 -15
  91. package/dist/vm/commands/set.d.ts +6 -6
  92. package/dist/vm/commands/skill-commands.d.ts +30 -30
  93. package/dist/vm/commands/stats-commands.d.ts +12 -12
  94. package/dist/vm/commands/string-commands.d.ts +9 -9
  95. package/dist/vm/commands/text-field.d.ts +7 -7
  96. package/dist/vm/commands/text.d.ts +14 -14
  97. package/dist/vm/commands/wait.d.ts +4 -4
  98. package/dist/vm/vm-helpers.d.ts +18 -18
  99. package/dist/vm/vm-parser.d.ts +19 -19
  100. package/dist/vm/vm-parser.test.d.ts +1 -1
  101. package/dist/vm/vm.d.ts +18 -18
  102. package/package.json +88 -88
  103. package/README.md +0 -120
  104. package/dist/img/backgrounds/map.png +0 -0
  105. package/dist/img/backgrounds/narrat.png +0 -0
  106. package/dist/img/backgrounds/rpg.png +0 -0
  107. package/dist/img/backgrounds/test-layers.gif +0 -0
  108. package/dist/img/characters/cat_idle.jpg +0 -0
  109. package/dist/img/characters/helper_cat.png +0 -0
  110. package/dist/img/characters/inner_voice.png +0 -0
  111. package/dist/img/enemies/goblin.png +0 -0
  112. package/dist/img/enemies/skeleton.png +0 -0
  113. package/dist/img/enemies/slime.png +0 -0
  114. package/dist/img/h01.gif +0 -0
  115. package/dist/img/items/book.png +0 -0
  116. package/dist/img/items/bread.png +0 -0
  117. package/dist/img/levels/cave.png +0 -0
  118. package/dist/img/levels/dungeon.png +0 -0
  119. package/dist/img/levels/dungeon_F.png +0 -0
  120. package/dist/img/levels/dungeon_FL.png +0 -0
  121. package/dist/img/levels/dungeon_FR.png +0 -0
  122. package/dist/img/levels/dungeon_FRL.png +0 -0
  123. package/dist/img/levels/dungeon_LR.png +0 -0
  124. package/dist/img/levels/grass.png +0 -0
  125. package/dist/img/players/wizard.png +0 -0
  126. package/dist/img/skills/agility.jpg +0 -0
  127. package/dist/img/skills/logic.jpg +0 -0
  128. package/dist/img/splash-texture.png +0 -0
  129. package/dist/img/ui/energy.png +0 -0
  130. package/dist/img/ui/front.png +0 -0
  131. package/dist/img/ui/left.png +0 -0
  132. package/dist/img/ui/money.png +0 -0
  133. package/dist/img/ui/park-button.png +0 -0
  134. package/dist/img/ui/right.png +0 -0
  135. package/dist/img/ui/shop-button.png +0 -0
  136. package/dist/img/ui/start.png +0 -0
package/LICENSE CHANGED
@@ -1,21 +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.
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
@@ -1,92 +1,92 @@
1
- import { PropType } from 'vue';
2
- import { GameConfig } from './types/app-types';
3
- import { AppOptions } from './config';
4
- declare const _default: import("vue").DefineComponent<{
5
- config: PropType<GameConfig>;
6
- options: PropType<AppOptions>;
7
- }, {
8
- dialog: import("vue").ComputedRef<{
9
- speaker: string;
10
- text: string;
11
- pose?: string | undefined;
12
- cssClass?: string | undefined;
13
- choices?: {
14
- choice: string;
15
- originalIndex: number;
16
- allowed: boolean;
17
- }[] | undefined;
18
- textField?: boolean | undefined;
19
- interactive: boolean;
20
- id: string;
21
- }[]>;
22
- stack: import("vue").ComputedRef<{
23
- blocks: {
24
- currentIndex: number;
25
- branchData: {
26
- branch: {
27
- code: string;
28
- command: {
29
- commandType: string;
30
- operator: string;
31
- args: (import("./types/parser").Parser.Primitive | {
32
- code: string;
33
- command: any;
34
- fileName: string;
35
- line: number;
36
- })[];
37
- options: import("./types/parser").Parser.DefaultArg;
38
- staticOptions: {};
39
- };
40
- fileName: string;
41
- line: number;
42
- }[];
43
- args?: string[] | undefined;
44
- };
45
- }[];
46
- label: string;
47
- scope: {
48
- [key: string]: any;
49
- };
50
- returnValue: any;
51
- }[]>;
52
- modal: import("vue").ComputedRef<string | false>;
53
- flowState: import("vue").ComputedRef<"menu" | "playing">;
54
- }, {
55
- lineTitle: string;
56
- lineText: string;
57
- gameLoaded: boolean;
58
- loadingStep: string;
59
- loadingPercentage: number;
60
- }, {
61
- backgroundStyle(): any;
62
- layoutWidth(): number;
63
- inGame(): boolean;
64
- layoutHeight(): number;
65
- backgroundSize(): {
66
- width: number;
67
- height: number;
68
- left: number;
69
- top: number;
70
- };
71
- gameWidth(): number;
72
- gameHeight(): number;
73
- appStyle(): any;
74
- gameStyle(): any;
75
- screenRatio(): number;
76
- currentLine: () => import("./types/parser").Parser.ParsedExpression<import("./types/parser").Parser.DefaultArg, {}> | undefined;
77
- screenWidth: () => number;
78
- screenHeight: () => number;
79
- canvasWidth: () => number;
80
- canvasHeight: () => number;
81
- topOffset: () => number;
82
- leftOffset: () => number;
83
- layoutMode: () => "horizontal" | "vertical";
84
- }, {
85
- setupMachine(): Promise<void>;
86
- updateScreenSize(): void;
87
- closeModal(): void;
88
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
- config: PropType<GameConfig>;
90
- options: PropType<AppOptions>;
91
- }>>, {}>;
92
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { GameConfig } from './types/app-types';
3
+ import { AppOptions } from './config';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ config: PropType<GameConfig>;
6
+ options: PropType<AppOptions>;
7
+ }, {
8
+ dialog: import("vue").ComputedRef<{
9
+ speaker: string;
10
+ text: string;
11
+ pose?: string | undefined;
12
+ cssClass?: string | undefined;
13
+ choices?: {
14
+ choice: string;
15
+ originalIndex: number;
16
+ allowed: boolean;
17
+ }[] | undefined;
18
+ textField?: boolean | undefined;
19
+ interactive: boolean;
20
+ id: string;
21
+ }[]>;
22
+ stack: import("vue").ComputedRef<{
23
+ blocks: {
24
+ currentIndex: number;
25
+ branchData: {
26
+ branch: {
27
+ code: string;
28
+ command: {
29
+ commandType: string;
30
+ operator: string;
31
+ args: (import("./types/parser").Parser.Primitive | {
32
+ code: string;
33
+ command: any;
34
+ fileName: string;
35
+ line: number;
36
+ })[];
37
+ options: import("./types/parser").Parser.DefaultArg;
38
+ staticOptions: {};
39
+ };
40
+ fileName: string;
41
+ line: number;
42
+ }[];
43
+ args?: string[] | undefined;
44
+ };
45
+ }[];
46
+ label: string;
47
+ scope: {
48
+ [key: string]: any;
49
+ };
50
+ returnValue: any;
51
+ }[]>;
52
+ modal: import("vue").ComputedRef<string | false>;
53
+ flowState: import("vue").ComputedRef<"menu" | "playing">;
54
+ }, {
55
+ lineTitle: string;
56
+ lineText: string;
57
+ gameLoaded: boolean;
58
+ loadingStep: string;
59
+ loadingPercentage: number;
60
+ }, {
61
+ backgroundStyle(): any;
62
+ layoutWidth(): number;
63
+ inGame(): boolean;
64
+ layoutHeight(): number;
65
+ backgroundSize(): {
66
+ width: number;
67
+ height: number;
68
+ left: number;
69
+ top: number;
70
+ };
71
+ gameWidth(): number;
72
+ gameHeight(): number;
73
+ appStyle(): any;
74
+ gameStyle(): any;
75
+ screenRatio(): number;
76
+ currentLine: () => import("./types/parser").Parser.ParsedExpression<import("./types/parser").Parser.DefaultArg, {}> | undefined;
77
+ screenWidth: () => number;
78
+ screenHeight: () => number;
79
+ canvasWidth: () => number;
80
+ canvasHeight: () => number;
81
+ topOffset: () => number;
82
+ leftOffset: () => number;
83
+ layoutMode: () => "horizontal" | "vertical";
84
+ }, {
85
+ setupMachine(): Promise<void>;
86
+ updateScreenSize(): void;
87
+ closeModal(): void;
88
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
+ config: PropType<GameConfig>;
90
+ options: PropType<AppOptions>;
91
+ }>>, {}>;
92
+ export default _default;
@@ -1,12 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {
2
- playTime: () => {
3
- start: number;
4
- previousPlaytime: number;
5
- };
6
- }, {
7
- quit(): void;
8
- mainMenu(): void;
9
- closeMenu(): void;
10
- getPlayTimeString(): string;
11
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
12
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {
2
+ playTime: () => {
3
+ start: number;
4
+ previousPlaytime: number;
5
+ };
6
+ }, {
7
+ quit(): void;
8
+ mainMenu(): void;
9
+ closeMenu(): void;
10
+ getPlayTimeString(): string;
11
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
12
+ export default _default;
@@ -1,22 +1,22 @@
1
- import { SkillData } from '../config';
2
- import { SkillsState } from '../stores/skills';
3
- declare const _default: import("vue").DefineComponent<{}, {
4
- skills: import("vue").ComputedRef<SkillsState>;
5
- }, {
6
- chosenSkill: boolean | String;
7
- }, {
8
- skillsToDisplay(): SkillsState;
9
- skillConf(): {
10
- [key: string]: SkillData;
11
- };
12
- xpPerLevel(): number;
13
- }, {
14
- getSkillStyle(skill: string): any;
15
- getSkillName(skill: string): string;
16
- clickSkill(skill: string): void;
17
- closeSkill(): void;
18
- xpBarWidth(xp: number): {
19
- width: string;
20
- };
21
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
22
- export default _default;
1
+ import { SkillData } from '../config';
2
+ import { SkillsState } from '../stores/skills';
3
+ declare const _default: import("vue").DefineComponent<{}, {
4
+ skills: import("vue").ComputedRef<SkillsState>;
5
+ }, {
6
+ chosenSkill: boolean | String;
7
+ }, {
8
+ skillsToDisplay(): SkillsState;
9
+ skillConf(): {
10
+ [key: string]: SkillData;
11
+ };
12
+ xpPerLevel(): number;
13
+ }, {
14
+ getSkillStyle(skill: string): any;
15
+ getSkillName(skill: string): string;
16
+ clickSkill(skill: string): void;
17
+ closeSkill(): void;
18
+ xpBarWidth(xp: number): {
19
+ width: string;
20
+ };
21
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
22
+ export default _default;
@@ -1,46 +1,46 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
- $attrs: {
7
- [x: string]: unknown;
8
- };
9
- $refs: {
10
- [x: string]: unknown;
11
- };
12
- $slots: Readonly<{
13
- [name: string]: import("vue").Slot | undefined;
14
- }>;
15
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
- $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
- $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
- created?: ((() => void) | (() => void)[]) | undefined;
22
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
- mounted?: ((() => void) | (() => void)[]) | undefined;
24
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
- updated?: ((() => void) | (() => void)[]) | undefined;
26
- activated?: ((() => void) | (() => void)[]) | undefined;
27
- deactivated?: ((() => void) | (() => void)[]) | undefined;
28
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
- destroyed?: ((() => void) | (() => void)[]) | undefined;
31
- unmounted?: ((() => void) | (() => void)[]) | undefined;
32
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
35
- };
36
- $forceUpdate: () => void;
37
- $nextTick: typeof import("vue").nextTick;
38
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
- __isFragment?: undefined;
41
- __isTeleport?: undefined;
42
- __isSuspense?: undefined;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {};
45
- });
46
- export default _default;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
+ $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
+ created?: ((() => void) | (() => void)[]) | undefined;
22
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
+ mounted?: ((() => void) | (() => void)[]) | undefined;
24
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
+ updated?: ((() => void) | (() => void)[]) | undefined;
26
+ activated?: ((() => void) | (() => void)[]) | undefined;
27
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
31
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
32
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
35
+ };
36
+ $forceUpdate: () => void;
37
+ $nextTick: typeof import("vue").nextTick;
38
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
+ __isFragment?: undefined;
41
+ __isTeleport?: undefined;
42
+ __isSuspense?: undefined;
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: {};
45
+ });
46
+ export default _default;
@@ -1,48 +1,48 @@
1
- import { Parser } from '../../types/parser';
2
- declare const _default: import("vue").DefineComponent<{}, {
3
- skills: import("vue").ComputedRef<import("../../stores/skills").SkillsState>;
4
- skillChecks: import("vue").ComputedRef<{
5
- [key: string]: import("../../stores/skills").SkillCheckState;
6
- }>;
7
- }, {
8
- showDebug: boolean;
9
- jumping: boolean;
10
- searchString: string;
11
- matches: string[];
12
- matchCursor: number;
13
- }, {
14
- labels(): string[];
15
- variables(): {
16
- [key: string]: any;
17
- };
18
- playing: () => boolean;
19
- errors: () => {
20
- text: string;
21
- }[];
22
- playTime: () => {
23
- start: number;
24
- previousPlaytime: number;
25
- };
26
- flowState: () => "menu" | "playing";
27
- data: () => import("../../stores/vm-store").DataState;
28
- script: () => Parser.ParsedScript;
29
- }, {
30
- finishJumping(): void;
31
- labelSelected(event: any): void;
32
- close(): void;
33
- closeErrors(): void;
34
- open(): void;
35
- toggle(): void;
36
- jump(): void;
37
- getMatchResultStyle(index: number): {
38
- background: string;
39
- } | undefined;
40
- onSearchInput(): void;
41
- save(): void;
42
- wordCount(): void;
43
- countWordsInScriptLine(scriptLine: Parser.ParsedExpression): number;
44
- countWordsInString(string: string): number;
45
- countWordsInScriptBranch(branch: Parser.Branch): number;
46
- getPlayTimeString(): string;
47
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
48
- export default _default;
1
+ import { Parser } from '../../types/parser';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ skills: import("vue").ComputedRef<import("../../stores/skills").SkillsState>;
4
+ skillChecks: import("vue").ComputedRef<{
5
+ [key: string]: import("../../stores/skills").SkillCheckState;
6
+ }>;
7
+ }, {
8
+ showDebug: boolean;
9
+ jumping: boolean;
10
+ searchString: string;
11
+ matches: string[];
12
+ matchCursor: number;
13
+ }, {
14
+ labels(): string[];
15
+ variables(): {
16
+ [key: string]: any;
17
+ };
18
+ playing: () => boolean;
19
+ errors: () => {
20
+ text: string;
21
+ }[];
22
+ playTime: () => {
23
+ start: number;
24
+ previousPlaytime: number;
25
+ };
26
+ flowState: () => "menu" | "playing";
27
+ data: () => import("../../stores/vm-store").DataState;
28
+ script: () => Parser.ParsedScript;
29
+ }, {
30
+ finishJumping(): void;
31
+ labelSelected(event: any): void;
32
+ close(): void;
33
+ closeErrors(): void;
34
+ open(): void;
35
+ toggle(): void;
36
+ jump(): void;
37
+ getMatchResultStyle(index: number): {
38
+ background: string;
39
+ } | undefined;
40
+ onSearchInput(): void;
41
+ save(): void;
42
+ wordCount(): void;
43
+ countWordsInScriptLine(scriptLine: Parser.ParsedExpression): number;
44
+ countWordsInString(string: string): number;
45
+ countWordsInScriptBranch(branch: Parser.Branch): number;
46
+ getPlayTimeString(): string;
47
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
48
+ export default _default;
@@ -1,9 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- pictureUrl: StringConstructor;
3
- }, unknown, unknown, {
4
- boxStyle(): any;
5
- layoutMode: () => "horizontal" | "vertical";
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
- pictureUrl: StringConstructor;
8
- }>>, {}>;
9
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pictureUrl: StringConstructor;
3
+ }, unknown, unknown, {
4
+ boxStyle(): any;
5
+ layoutMode: () => "horizontal" | "vertical";
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
+ pictureUrl: StringConstructor;
8
+ }>>, {}>;
9
+ export default _default;