narrat 2.7.0-rc1 → 2.7.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/components/inventory/inventory-section.vue.d.ts +61 -0
- package/dist/components/inventory/item-details.vue.d.ts +76 -0
- package/dist/components/inventory-ui.vue.d.ts +6 -8
- package/dist/components/menu-buttons.vue.d.ts +0 -8
- package/dist/components/quests/QuestDetails.vue.d.ts +64 -0
- package/dist/components/quests/QuestDisplay.vue.d.ts +64 -0
- package/dist/components/quests/quests-list-section.vue.d.ts +70 -0
- package/dist/components/quests-ui.vue.d.ts +13 -11
- package/dist/components/tabs/TabsController.vue.d.ts +72 -0
- package/dist/components/tabs/tab-selector.vue.d.ts +82 -0
- package/dist/components/utils/modal-window.vue.d.ts +2 -2
- package/dist/config.d.ts +11 -2
- package/dist/exports/plugins.d.ts +2 -2
- package/dist/gamepad/gamepad.d.ts +1 -0
- package/dist/menu-buttons/menu-buttons.d.ts +5 -2
- package/dist/narrat.es.js +8710 -8485
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +99 -99
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/inventory-store.d.ts +1 -0
- package/dist/stores/main-store.d.ts +1 -0
- package/dist/stores/menu-store.d.ts +27 -18
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ItemState } from '../../stores/inventory-store';
|
|
2
|
+
export interface InventorySectionProps {
|
|
3
|
+
items: ItemState[];
|
|
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<InventorySectionProps>>> & 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, {}>> | null;
|
|
22
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
23
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
24
|
+
$el: any;
|
|
25
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InventorySectionProps>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, 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, {}>> | 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;
|
|
41
|
+
};
|
|
42
|
+
$forceUpdate: () => void;
|
|
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;
|
|
46
|
+
__isFragment?: undefined;
|
|
47
|
+
__isTeleport?: undefined;
|
|
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 () => {
|
|
50
|
+
$slots: {};
|
|
51
|
+
});
|
|
52
|
+
export default _default;
|
|
53
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
declare 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,76 @@
|
|
|
1
|
+
import { ItemState } from '../../stores/inventory-store';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
item: ItemState;
|
|
8
|
+
}>>> & {
|
|
9
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onUse?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
} & 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, {}>> | null;
|
|
22
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
23
|
+
$emit: (event: "close" | "use", ...args: any[]) => void;
|
|
24
|
+
$el: any;
|
|
25
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
item: ItemState;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
onUse?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "use")[], string, {}> & {
|
|
31
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
44
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
46
|
+
};
|
|
47
|
+
$forceUpdate: () => void;
|
|
48
|
+
$nextTick: typeof import("vue").nextTick;
|
|
49
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
50
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
51
|
+
item: ItemState;
|
|
52
|
+
}>>> & {
|
|
53
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onUse?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
56
|
+
__isFragment?: undefined;
|
|
57
|
+
__isTeleport?: undefined;
|
|
58
|
+
__isSuspense?: undefined;
|
|
59
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
60
|
+
item: ItemState;
|
|
61
|
+
}>>> & {
|
|
62
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onUse?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "use")[], "use" | "close", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
65
|
+
$slots: {};
|
|
66
|
+
});
|
|
67
|
+
export default _default;
|
|
68
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
70
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
+
} : {
|
|
73
|
+
type: import('vue').PropType<T[K]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ItemData } from '../config';
|
|
2
2
|
import { ItemState } from '../stores/inventory-store';
|
|
3
|
+
import { InventorySectionProps } from './inventory/inventory-section.vue';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
5
|
items: import("vue").ComputedRef<{
|
|
5
6
|
[key: string]: ItemState;
|
|
@@ -8,23 +9,20 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
9
|
}, {
|
|
9
10
|
chosenId: string | false;
|
|
10
11
|
}, {
|
|
11
|
-
itemsToDisplay():
|
|
12
|
-
[key: string]: ItemState;
|
|
13
|
-
};
|
|
12
|
+
itemsToDisplay(): ItemState[];
|
|
14
13
|
chosenItem(): null | ItemState;
|
|
15
14
|
canUseChosenItem(): boolean;
|
|
16
15
|
chosenItemConf(): null | ItemData;
|
|
17
16
|
itemConf(): {
|
|
18
17
|
[key: string]: ItemData;
|
|
19
18
|
};
|
|
19
|
+
sections(): InventorySectionProps[];
|
|
20
20
|
}, {
|
|
21
21
|
close(): void;
|
|
22
|
-
getItemStyle(item: string): any;
|
|
23
|
-
getItemName(item: string): string;
|
|
24
|
-
getItemConf(item: string): ItemData;
|
|
25
22
|
clickItem(item: string): void;
|
|
26
23
|
closeItem(): void;
|
|
27
24
|
useItem(): void;
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
26
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {}>;
|
|
30
28
|
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { QuestState } from '../../stores/quest-log';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
quest: QuestState;
|
|
8
|
+
}>>> & 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, {}>> | null;
|
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
21
|
+
$el: any;
|
|
22
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
quest: QuestState;
|
|
24
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
25
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
38
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
39
|
+
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
|
+
};
|
|
41
|
+
$forceUpdate: () => void;
|
|
42
|
+
$nextTick: typeof import("vue").nextTick;
|
|
43
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
44
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
+
quest: QuestState;
|
|
46
|
+
}>>> & 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<{
|
|
51
|
+
quest: QuestState;
|
|
52
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
53
|
+
$slots: {};
|
|
54
|
+
});
|
|
55
|
+
export default _default;
|
|
56
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { QuestState } from '../../stores/quest-log';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
quest: QuestState;
|
|
8
|
+
}>>> & 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, {}>> | null;
|
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
21
|
+
$el: any;
|
|
22
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
quest: QuestState;
|
|
24
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
25
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
38
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
39
|
+
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
|
+
};
|
|
41
|
+
$forceUpdate: () => void;
|
|
42
|
+
$nextTick: typeof import("vue").nextTick;
|
|
43
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
44
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
+
quest: QuestState;
|
|
46
|
+
}>>> & 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<{
|
|
51
|
+
quest: QuestState;
|
|
52
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
53
|
+
$slots: {};
|
|
54
|
+
});
|
|
55
|
+
export default _default;
|
|
56
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { QuestState } from '../../stores/quest-log';
|
|
2
|
+
export interface QuestListSectionProps {
|
|
3
|
+
quests: QuestState[];
|
|
4
|
+
sectionId: string;
|
|
5
|
+
title: string;
|
|
6
|
+
fallbackText: string;
|
|
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<QuestListSectionProps>>> & {
|
|
13
|
+
"onQuest-selected"?: ((...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: "quest-selected", ...args: any[]) => void;
|
|
27
|
+
$el: any;
|
|
28
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<QuestListSectionProps>>> & {
|
|
29
|
+
"onQuest-selected"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "quest-selected"[], string, {}> & {
|
|
31
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
44
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
46
|
+
};
|
|
47
|
+
$forceUpdate: () => void;
|
|
48
|
+
$nextTick: typeof import("vue").nextTick;
|
|
49
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
50
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<QuestListSectionProps>>> & {
|
|
51
|
+
"onQuest-selected"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
53
|
+
__isFragment?: undefined;
|
|
54
|
+
__isTeleport?: undefined;
|
|
55
|
+
__isSuspense?: undefined;
|
|
56
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<QuestListSectionProps>>> & {
|
|
57
|
+
"onQuest-selected"?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "quest-selected"[], "quest-selected", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
59
|
+
$slots: {};
|
|
60
|
+
});
|
|
61
|
+
export default _default;
|
|
62
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
64
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
+
} : {
|
|
67
|
+
type: import('vue').PropType<T[K]>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -3,18 +3,20 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3
3
|
quests: import("vue").ComputedRef<{
|
|
4
4
|
[key: string]: QuestState;
|
|
5
5
|
}>;
|
|
6
|
+
selectedQuest: import("vue").Ref<{
|
|
7
|
+
id: string;
|
|
8
|
+
state: "hidden" | "unlocked" | "completed";
|
|
9
|
+
ending?: string | undefined;
|
|
10
|
+
objectives: {
|
|
11
|
+
[key: string]: import("../stores/quest-log").ObjectiveState;
|
|
12
|
+
};
|
|
13
|
+
} | null>;
|
|
6
14
|
}, {}, {
|
|
7
|
-
questsToDisplay():
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
questsToDisplay(): QuestState[];
|
|
16
|
+
activeQuests(): QuestState[];
|
|
17
|
+
completedQuests(): QuestState[];
|
|
18
|
+
questsUiClass(): "quests-ui-horizontal" | "quests-ui-vertical";
|
|
10
19
|
}, {
|
|
11
|
-
|
|
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
|
-
};
|
|
20
|
+
clickOnQuest(quest: QuestState): void;
|
|
19
21
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
20
22
|
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { TabOptions } from './tab-selector.vue';
|
|
2
|
+
export interface TabControllerProps {
|
|
3
|
+
tabs: TabOptions[];
|
|
4
|
+
defaultTab: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
$: import("vue").ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabControllerProps>>> & {
|
|
11
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
"onTab-change"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
} & 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: "close" | "tab-change", ...args: any[]) => void;
|
|
26
|
+
$el: any;
|
|
27
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabControllerProps>>> & {
|
|
28
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
"onTab-change"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "tab-change")[], string, {}> & {
|
|
31
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
44
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
46
|
+
};
|
|
47
|
+
$forceUpdate: () => void;
|
|
48
|
+
$nextTick: typeof import("vue").nextTick;
|
|
49
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
50
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabControllerProps>>> & {
|
|
51
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
"onTab-change"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
54
|
+
__isFragment?: undefined;
|
|
55
|
+
__isTeleport?: undefined;
|
|
56
|
+
__isSuspense?: undefined;
|
|
57
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabControllerProps>>> & {
|
|
58
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onTab-change"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "tab-change")[], "close" | "tab-change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
61
|
+
$slots: {};
|
|
62
|
+
});
|
|
63
|
+
export default _default;
|
|
64
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export interface TabOptions {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
component: Component | string;
|
|
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<{
|
|
13
|
+
tab: TabOptions;
|
|
14
|
+
active: boolean;
|
|
15
|
+
}>>> & {
|
|
16
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
18
|
+
$attrs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$refs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$slots: Readonly<{
|
|
25
|
+
[name: string]: import("vue").Slot | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
30
|
+
$el: any;
|
|
31
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
+
tab: TabOptions;
|
|
33
|
+
active: boolean;
|
|
34
|
+
}>>> & {
|
|
35
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], 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<__VLS_TypePropsToRuntimeProps<{
|
|
57
|
+
tab: TabOptions;
|
|
58
|
+
active: boolean;
|
|
59
|
+
}>>> & {
|
|
60
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
62
|
+
__isFragment?: undefined;
|
|
63
|
+
__isTeleport?: undefined;
|
|
64
|
+
__isSuspense?: undefined;
|
|
65
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
66
|
+
tab: TabOptions;
|
|
67
|
+
active: boolean;
|
|
68
|
+
}>>> & {
|
|
69
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
71
|
+
$slots: {};
|
|
72
|
+
});
|
|
73
|
+
export default _default;
|
|
74
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
78
|
+
} : {
|
|
79
|
+
type: import('vue').PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
containerCssClass: StringConstructor;
|
|
2
|
+
containerCssClass: (StringConstructor | ObjectConstructor)[];
|
|
3
3
|
cantClose: {
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
}, unknown, unknown, {}, {
|
|
8
8
|
close(): void;
|
|
9
9
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
containerCssClass: StringConstructor;
|
|
10
|
+
containerCssClass: (StringConstructor | ObjectConstructor)[];
|
|
11
11
|
cantClose: {
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
package/dist/config.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare function getButtonConfig(button: string): ButtonConfig;
|
|
|
10
10
|
export declare function getItemConfig(id: string): ItemData;
|
|
11
11
|
export declare function getQuestConfig(questId: string): QuestData;
|
|
12
12
|
export declare function getObjectiveConfig(quest: string, objectiveId: string): ObjectiveData;
|
|
13
|
+
export declare function getDialogPanelWidth(): number;
|
|
13
14
|
export interface AppOptionsDeprecated {
|
|
14
15
|
logging: boolean;
|
|
15
16
|
debug: boolean;
|
|
@@ -50,7 +51,7 @@ export interface Config {
|
|
|
50
51
|
height: number;
|
|
51
52
|
};
|
|
52
53
|
dialogBottomPadding: number;
|
|
53
|
-
minTextWidth
|
|
54
|
+
minTextWidth?: number;
|
|
54
55
|
mobileDialogHeightPercentage: number;
|
|
55
56
|
verticalLayoutThreshold: number;
|
|
56
57
|
portraits: {
|
|
@@ -132,7 +133,10 @@ export interface Config {
|
|
|
132
133
|
[key: string]: HudStatConfig;
|
|
133
134
|
};
|
|
134
135
|
items: {
|
|
135
|
-
|
|
136
|
+
categories: ItemCategory[];
|
|
137
|
+
items: {
|
|
138
|
+
[key: string]: ItemData;
|
|
139
|
+
};
|
|
136
140
|
};
|
|
137
141
|
interactionTags: {
|
|
138
142
|
[key: string]: {
|
|
@@ -186,6 +190,11 @@ export interface ItemData {
|
|
|
186
190
|
label: string;
|
|
187
191
|
};
|
|
188
192
|
tag?: string;
|
|
193
|
+
category?: string;
|
|
194
|
+
}
|
|
195
|
+
export interface ItemCategory {
|
|
196
|
+
id: string;
|
|
197
|
+
title: string;
|
|
189
198
|
}
|
|
190
199
|
export interface HudStatConfig {
|
|
191
200
|
name: string;
|