narrat 2.8.0 → 2.9.0

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.
package/dist/app.vue.d.ts CHANGED
@@ -47,7 +47,6 @@ declare const _default: import("vue").DefineComponent<{
47
47
  };
48
48
  returnValue: any;
49
49
  }[]>;
50
- modal: import("vue").ComputedRef<string | false>;
51
50
  flowState: import("vue").ComputedRef<"menu" | "engine-splash" | "game-splash" | "playing">;
52
51
  alerts: import("vue").ComputedRef<{
53
52
  title: string;
@@ -34,6 +34,8 @@ declare const _default: import("vue").DefineComponent<{}, {
34
34
  closeErrors(): void;
35
35
  open(): void;
36
36
  toggle(): void;
37
+ startDebug(): void;
38
+ endDebug(): void;
37
39
  jump(): void;
38
40
  getMatchResultStyle(index: number): {
39
41
  background: string;
@@ -21,6 +21,7 @@ declare const _default: import("vue").DefineComponent<{}, {
21
21
  } | undefined;
22
22
  tag?: string | undefined;
23
23
  category?: string | undefined;
24
+ showIfEmpty?: boolean | undefined;
24
25
  description: string;
25
26
  name: string;
26
27
  icon: string;
@@ -1,3 +1,4 @@
1
+ import { QuestCategory } from '../../config/quests-config';
1
2
  import { QuestState } from '../../stores/quest-log';
2
3
  export interface QuestListSectionProps {
3
4
  quests: QuestState[];
@@ -5,6 +6,10 @@ export interface QuestListSectionProps {
5
6
  title: string;
6
7
  fallbackText: string;
7
8
  }
9
+ export interface QuestCategoryProps {
10
+ category: QuestCategory;
11
+ quests: QuestState[];
12
+ }
8
13
  declare const _default: {
9
14
  new (...args: any[]): {
10
15
  $: import("vue").ComponentInternalInstance;
@@ -0,0 +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;
@@ -0,0 +1,62 @@
1
+ export interface FloatingTooltipProps {
2
+ title?: string;
3
+ text: string;
4
+ width: number;
5
+ x: number;
6
+ y: number;
7
+ }
8
+ declare const _default: {
9
+ new (...args: any[]): {
10
+ $: import("vue").ComponentInternalInstance;
11
+ $data: {};
12
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FloatingTooltipProps>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
13
+ $attrs: {
14
+ [x: string]: unknown;
15
+ };
16
+ $refs: {
17
+ [x: string]: unknown;
18
+ };
19
+ $slots: Readonly<{
20
+ [name: string]: import("vue").Slot | undefined;
21
+ }>;
22
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
23
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
24
+ $emit: (event: string, ...args: any[]) => void;
25
+ $el: any;
26
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FloatingTooltipProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
27
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
28
+ created?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
30
+ mounted?: ((() => void) | (() => void)[]) | undefined;
31
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
32
+ updated?: ((() => void) | (() => void)[]) | undefined;
33
+ activated?: ((() => void) | (() => void)[]) | undefined;
34
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
35
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
37
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
38
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
39
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
40
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
41
+ 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;
42
+ };
43
+ $forceUpdate: () => void;
44
+ $nextTick: typeof import("vue").nextTick;
45
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
46
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FloatingTooltipProps>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
47
+ __isFragment?: undefined;
48
+ __isTeleport?: undefined;
49
+ __isSuspense?: undefined;
50
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FloatingTooltipProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
51
+ $slots: {};
52
+ });
53
+ export default _default;
54
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
56
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
57
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
+ } : {
59
+ type: import('vue').PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
@@ -140,6 +140,18 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TObject<{
140
140
  timeOnScreen: import("@sinclair/typebox").TNumber;
141
141
  alsoPrintInDialogue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
142
142
  }>>;
143
+ tooltips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
144
+ options: import("@sinclair/typebox").TObject<{
145
+ delay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
146
+ width: import("@sinclair/typebox").TNumber;
147
+ keywordsPrefix: import("@sinclair/typebox").TString;
148
+ }>;
149
+ tooltips: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
150
+ keywords: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
151
+ title: import("@sinclair/typebox").TString;
152
+ description: import("@sinclair/typebox").TString;
153
+ }>>;
154
+ }>]>>;
143
155
  hudStats: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
144
156
  name: import("@sinclair/typebox").TString;
145
157
  icon: import("@sinclair/typebox").TString;
@@ -162,6 +174,7 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TObject<{
162
174
  }>>;
163
175
  tag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
164
176
  category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
177
+ showIfEmpty: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
165
178
  }>>>;
166
179
  }>]>>;
167
180
  interactionTags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
@@ -175,6 +188,11 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TObject<{
175
188
  description: import("@sinclair/typebox").TString;
176
189
  hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
177
190
  }>>;
191
+ category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
192
+ }>>;
193
+ categories: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
194
+ id: import("@sinclair/typebox").TString;
195
+ title: import("@sinclair/typebox").TString;
178
196
  }>>;
179
197
  }>]>>;
180
198
  transitions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
@@ -6,6 +6,7 @@ import { ScreensConfig } from '../config/screens-config';
6
6
  import { SkillsConfig } from '../config/skills-config';
7
7
  import { ButtonsConfig } from './buttons-config';
8
8
  import { LayoutConfig } from './layout-config';
9
+ import { TooltipsConfig } from './tooltips-config';
9
10
  export interface Config {
10
11
  baseAssetsPath: string;
11
12
  baseDataPath: string;
@@ -25,6 +26,7 @@ export interface Config {
25
26
  scripts: string[];
26
27
  audio: AudioConfig;
27
28
  notifications: NotificationsConfig;
29
+ tooltips: TooltipsConfig;
28
30
  hudStats: HudStatsConfig;
29
31
  items: ItemsConfig;
30
32
  interactionTags: InteractionTagsConfig;
@@ -146,6 +148,18 @@ export declare const defaultConfig: {
146
148
  timeOnScreen: number;
147
149
  alsoPrintInDialogue: boolean;
148
150
  };
151
+ tooltips: {
152
+ options: {
153
+ delay?: number | undefined;
154
+ width: number;
155
+ keywordsPrefix: string;
156
+ };
157
+ tooltips: {
158
+ title: string;
159
+ description: string;
160
+ keywords: string[];
161
+ }[];
162
+ };
149
163
  hudStats: {};
150
164
  items: {
151
165
  items: Record<string, {
@@ -155,6 +169,7 @@ export declare const defaultConfig: {
155
169
  } | undefined;
156
170
  tag?: string | undefined;
157
171
  category?: string | undefined;
172
+ showIfEmpty?: boolean | undefined;
158
173
  description: string;
159
174
  name: string;
160
175
  icon: string;
@@ -170,7 +185,19 @@ export declare const defaultConfig: {
170
185
  };
171
186
  };
172
187
  quests: {
173
- quests: {};
188
+ quests: Record<string, {
189
+ category?: string | undefined;
190
+ title: string;
191
+ description: string;
192
+ objectives: Record<string, {
193
+ hidden?: boolean | undefined;
194
+ description: string;
195
+ }>;
196
+ }>;
197
+ categories: {
198
+ title: string;
199
+ id: string;
200
+ }[];
174
201
  };
175
202
  transitions: {};
176
203
  menuButtons: {};
@@ -9,6 +9,7 @@ export declare const ItemConfigSchema: import("@sinclair/typebox").TObject<{
9
9
  }>>;
10
10
  tag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
11
  category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
+ showIfEmpty: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
12
13
  }>;
13
14
  export declare type ItemConfig = Static<typeof ItemConfigSchema>;
14
15
  export declare const ItemCategorySchema: import("@sinclair/typebox").TObject<{
@@ -26,6 +27,7 @@ export declare const ItemsListSchema: import("@sinclair/typebox").TRecord<import
26
27
  }>>;
27
28
  tag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
28
29
  category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
30
+ showIfEmpty: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
29
31
  }>>;
30
32
  export declare type ItemsList = Static<typeof ItemsListSchema>;
31
33
  export declare const ItemsConfigSchema: import("@sinclair/typebox").TObject<{
@@ -43,6 +45,7 @@ export declare const ItemsConfigSchema: import("@sinclair/typebox").TObject<{
43
45
  }>>;
44
46
  tag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
45
47
  category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
48
+ showIfEmpty: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
46
49
  }>>;
47
50
  }>;
48
51
  export declare type ItemsConfig = Static<typeof ItemsConfigSchema>;
@@ -61,6 +64,7 @@ export declare const ItemsInputConfigSchema: import("@sinclair/typebox").TObject
61
64
  }>>;
62
65
  tag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
63
66
  category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
67
+ showIfEmpty: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
64
68
  }>>>;
65
69
  }>;
66
70
  export declare type ItemsInputConfig = Static<typeof ItemsInputConfigSchema>;
@@ -11,8 +11,14 @@ export declare const QuestDataSchema: import("@sinclair/typebox").TObject<{
11
11
  description: import("@sinclair/typebox").TString;
12
12
  hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
13
13
  }>>;
14
+ category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14
15
  }>;
15
16
  export declare type QuestData = Static<typeof QuestDataSchema>;
17
+ export declare const QuestCategorySchema: import("@sinclair/typebox").TObject<{
18
+ id: import("@sinclair/typebox").TString;
19
+ title: import("@sinclair/typebox").TString;
20
+ }>;
21
+ export declare type QuestCategory = Static<typeof QuestCategorySchema>;
16
22
  export declare const QuestsListSchema: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
17
23
  title: import("@sinclair/typebox").TString;
18
24
  description: import("@sinclair/typebox").TString;
@@ -20,6 +26,7 @@ export declare const QuestsListSchema: import("@sinclair/typebox").TRecord<impor
20
26
  description: import("@sinclair/typebox").TString;
21
27
  hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
22
28
  }>>;
29
+ category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
30
  }>>;
24
31
  export declare type QuestsList = Static<typeof QuestsListSchema>;
25
32
  export declare const QuestsConfigSchema: import("@sinclair/typebox").TObject<{
@@ -30,6 +37,11 @@ export declare const QuestsConfigSchema: import("@sinclair/typebox").TObject<{
30
37
  description: import("@sinclair/typebox").TString;
31
38
  hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
32
39
  }>>;
40
+ category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
41
+ }>>;
42
+ categories: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
43
+ id: import("@sinclair/typebox").TString;
44
+ title: import("@sinclair/typebox").TString;
33
45
  }>>;
34
46
  }>;
35
47
  export declare type QuestsConfig = Static<typeof QuestsConfigSchema>;
@@ -0,0 +1,15 @@
1
+ import { Static } from '@sinclair/typebox';
2
+ export declare const TooltipsConfigSchema: import("@sinclair/typebox").TObject<{
3
+ options: import("@sinclair/typebox").TObject<{
4
+ delay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
5
+ width: import("@sinclair/typebox").TNumber;
6
+ keywordsPrefix: import("@sinclair/typebox").TString;
7
+ }>;
8
+ tooltips: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
9
+ keywords: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
10
+ title: import("@sinclair/typebox").TString;
11
+ description: import("@sinclair/typebox").TString;
12
+ }>>;
13
+ }>;
14
+ export declare type TooltipsConfig = Static<typeof TooltipsConfigSchema>;
15
+ export declare const defaultTooltipsConfig: TooltipsConfig;
package/dist/config.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import { AppOptions } from './types/app-types';
2
2
  import { Config } from './config/config-output';
3
+ import { ScreenConfig } from './config/screens-config';
4
+ import { ButtonConfig } from './config/buttons-config';
3
5
  import { ConfigInput } from './config/config-input';
4
6
  export declare function setupConfig(configInput: ConfigInput): Promise<Config>;
5
7
  export declare function loadConfig(options: AppOptions): Promise<Config>;
@@ -32,6 +34,7 @@ export declare function itemsConfig(): {
32
34
  } | undefined;
33
35
  tag?: string | undefined;
34
36
  category?: string | undefined;
37
+ showIfEmpty?: boolean | undefined;
35
38
  description: string;
36
39
  name: string;
37
40
  icon: string;
@@ -43,6 +46,7 @@ export declare function itemsConfig(): {
43
46
  };
44
47
  export declare function questsConfig(): {
45
48
  quests: Record<string, {
49
+ category?: string | undefined;
46
50
  title: string;
47
51
  description: string;
48
52
  objectives: Record<string, {
@@ -50,6 +54,10 @@ export declare function questsConfig(): {
50
54
  description: string;
51
55
  }>;
52
56
  }>;
57
+ categories: {
58
+ title: string;
59
+ id: string;
60
+ }[];
53
61
  };
54
62
  export declare function screensConfig(): {
55
63
  screens: Record<string, {
@@ -98,6 +106,23 @@ export declare function buttonsConfig(): {
98
106
  };
99
107
  }>;
100
108
  };
109
+ export declare function tooltipsConfig(): {
110
+ options: {
111
+ delay?: number | undefined;
112
+ width: number;
113
+ keywordsPrefix: string;
114
+ };
115
+ tooltips: {
116
+ title: string;
117
+ description: string;
118
+ keywords: string[];
119
+ }[];
120
+ };
121
+ export declare function getTooltipConfig(keyword: string): {
122
+ title: string;
123
+ description: string;
124
+ keywords: string[];
125
+ } | null;
101
126
  export declare function getSkillConfig(id: string): {
102
127
  hidden?: boolean | undefined;
103
128
  description: string;
@@ -109,25 +134,8 @@ export declare function getImageUrl(imageKeyOrUrl: string): string;
109
134
  export declare function getAssetUrl(assetPath: string): string;
110
135
  export declare function getSplitConfigUrl(basePath: string, url: string): string;
111
136
  export declare function getDataUrl(dataPath: string): string;
112
- export declare function getButtonConfig(button: string): {
113
- anchor?: {
114
- x: number;
115
- y: number;
116
- } | undefined;
117
- text?: string | undefined;
118
- action?: string | undefined;
119
- tag?: string | undefined;
120
- cssClass?: string | undefined;
121
- background?: string | undefined;
122
- actionType?: string | undefined;
123
- enabled: boolean;
124
- position: {
125
- width?: number | undefined;
126
- height?: number | undefined;
127
- left: number;
128
- top: number;
129
- };
130
- };
137
+ export declare function getButtonConfig(button: string): ButtonConfig;
138
+ export declare function getScreenConfig(screen: string): ScreenConfig;
131
139
  export declare function getItemConfig(id: string): {
132
140
  onUse?: {
133
141
  label: string;
@@ -135,11 +143,13 @@ export declare function getItemConfig(id: string): {
135
143
  } | undefined;
136
144
  tag?: string | undefined;
137
145
  category?: string | undefined;
146
+ showIfEmpty?: boolean | undefined;
138
147
  description: string;
139
148
  name: string;
140
149
  icon: string;
141
150
  };
142
151
  export declare function getQuestConfig(questId: string): {
152
+ category?: string | undefined;
143
153
  title: string;
144
154
  description: string;
145
155
  objectives: Record<string, {
@@ -21,7 +21,6 @@ declare const _default: import("vue").DefineComponent<{
21
21
  }, unknown, {
22
22
  playerText: string;
23
23
  passed: boolean;
24
- listener: any;
25
24
  timeout: any;
26
25
  textAnimation: TextAnimation | null;
27
26
  mounted: boolean;
@@ -43,6 +42,7 @@ declare const _default: import("vue").DefineComponent<{
43
42
  paused: () => boolean;
44
43
  }, {
45
44
  clearListeners(): void;
45
+ keyboardEvent(e: KeyboardEvent): void;
46
46
  next(): void;
47
47
  chooseOption(choice: DialogChoice | number): void;
48
48
  finishLine(): void;