narrat 3.2.5 → 3.2.6-alpha.2
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 +1 -1
- package/dist/components/MainMenu.vue.d.ts +1 -1
- package/dist/components/SkillsWindow.vue.d.ts +1 -1
- package/dist/components/StartMenu.vue.d.ts +1 -1
- package/dist/components/achievements/achievement-tile.vue.d.ts +1 -1
- package/dist/components/achievements/achievements-section.vue.d.ts +1 -1
- package/dist/components/achievements/achievements-ui.vue.d.ts +1 -1
- package/dist/components/auto-play/AutoPlayFeedback.vue.d.ts +1 -1
- package/dist/components/debug/debug-menu.vue.d.ts +1 -1
- package/dist/components/dialog-picture.vue.d.ts +1 -1
- package/dist/components/engine-splash/engine-splash.vue.d.ts +1 -1
- package/dist/components/game-dialog.vue.d.ts +1 -1
- package/dist/components/game-splash/game-splash.vue.d.ts +1 -1
- package/dist/components/hud.vue.d.ts +1 -1
- package/dist/components/in-game.vue.d.ts +1 -1
- package/dist/components/inventory/inventory-section.vue.d.ts +1 -1
- package/dist/components/inventory/item-details.vue.d.ts +1 -1
- package/dist/components/inventory-ui.vue.d.ts +1 -1
- package/dist/components/loading-bar.vue.d.ts +1 -1
- package/dist/components/menu-buttons.vue.d.ts +1 -1
- package/dist/components/notification-toast.vue.d.ts +1 -1
- package/dist/components/quests/QuestDetails.vue.d.ts +1 -1
- package/dist/components/quests/QuestDisplay.vue.d.ts +1 -1
- package/dist/components/quests/quests-list-section.vue.d.ts +1 -1
- package/dist/components/quests-ui.vue.d.ts +1 -1
- package/dist/components/save-slots.vue.d.ts +1 -1
- package/dist/components/saves/save-slot-ui.vue.d.ts +1 -1
- package/dist/components/screen-layer.vue.d.ts +1 -1
- package/dist/components/screen-objects/screen-object.vue.d.ts +1 -1
- package/dist/components/screens.vue.d.ts +1 -1
- package/dist/components/settings/setting-widget.vue.d.ts +1 -1
- package/dist/components/settings/settings-menu.vue.d.ts +1 -1
- package/dist/components/tabs/TabsController.vue.d.ts +1 -1
- package/dist/components/tabs/tab-selector.vue.d.ts +1 -1
- package/dist/components/tooltips/tooltips-ui.vue.d.ts +1 -1
- package/dist/components/transitions/NarratTransition.vue.d.ts +1 -1
- package/dist/components/utils/alert-modal.vue.d.ts +1 -1
- package/dist/components/utils/floating-tooltip.vue.d.ts +1 -1
- package/dist/components/utils/modal-window.vue.d.ts +1 -1
- package/dist/components/utils/yes-no.vue.d.ts +1 -1
- package/dist/components/volume-controls.vue.d.ts +1 -1
- package/dist/config/characters-config.d.ts +2 -0
- package/dist/config/config-input.d.ts +2 -0
- package/dist/config/config-output.d.ts +10 -8
- package/dist/config.d.ts +11 -9
- package/dist/constants.d.ts +3 -0
- package/dist/dialog-box.vue.d.ts +1 -1
- package/dist/narrat.es.js +43337 -40181
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +159 -165
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/config-store.d.ts +10 -1
- package/dist/stores/main-store.d.ts +40 -0
- package/dist/types/game-save.d.ts +2 -0
- package/dist/utils/save-helpers.d.ts +1 -1
- package/dist/vm/commands/util-commands.d.ts +6 -0
- package/package.json +4 -5
- package/dist/types/state.d.ts +0 -3
package/dist/app.vue.d.ts
CHANGED
|
@@ -74,5 +74,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
updateScreenSize(): void;
|
|
75
75
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
76
|
options: PropType<AppOptions>;
|
|
77
|
-
}>>, {}>;
|
|
77
|
+
}>>, {}, {}>;
|
|
78
78
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
2
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
3
|
-
}, {}>;
|
|
3
|
+
}, {}, {}>;
|
|
4
4
|
export default _default;
|
|
@@ -24,5 +24,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
24
24
|
xpBarWidth(xp: number): {
|
|
25
25
|
width: string;
|
|
26
26
|
};
|
|
27
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
27
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
28
28
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -28,5 +28,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
28
28
|
closeAchievement(): void;
|
|
29
29
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
30
30
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}, {}>;
|
|
31
|
+
}, {}, {}>;
|
|
32
32
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -49,5 +49,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
49
49
|
countWordsInString(string: string): number;
|
|
50
50
|
countWordsInScriptBranch(branch: Parser.Branch): number;
|
|
51
51
|
getPlayTimeString(): string;
|
|
52
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
52
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
53
53
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
getAssetUrl(url: string): string;
|
|
8
8
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
pictureUrl: StringConstructor;
|
|
10
|
-
}>>, {}>;
|
|
10
|
+
}>>, {}, {}>;
|
|
11
11
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "finished"[], "finished", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
2
|
onFinished?: ((...args: any[]) => any) | undefined;
|
|
3
|
-
}, {}>;
|
|
3
|
+
}, {}, {}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -16,5 +16,5 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {
|
|
|
16
16
|
hudStats: () => HudStatsState;
|
|
17
17
|
}, {
|
|
18
18
|
getStatImage(key: string): string;
|
|
19
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -35,5 +35,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
35
35
|
useItem(): void;
|
|
36
36
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
37
37
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}, {}>;
|
|
38
|
+
}, {}, {}>;
|
|
39
39
|
export default _default;
|
|
@@ -6,5 +6,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
percentage: NumberConstructor;
|
|
8
8
|
step: StringConstructor;
|
|
9
|
-
}>>, {}>;
|
|
9
|
+
}>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -18,5 +18,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
18
18
|
questsUiClass(): "quests-ui-horizontal" | "quests-ui-vertical";
|
|
19
19
|
}, {
|
|
20
20
|
clickOnQuest(quest: QuestState): void;
|
|
21
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
20
20
|
delay: NumberConstructor;
|
|
21
21
|
}>> & {
|
|
22
22
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}, {}>, {
|
|
23
|
+
}, {}, {}>, {
|
|
24
24
|
oldElement?(_: {}): any;
|
|
25
25
|
newElement?(_: {}): any;
|
|
26
26
|
}>;
|
|
@@ -14,5 +14,5 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
14
14
|
}, {}, {
|
|
15
15
|
changeVolume(mode: 'master' | AudioModeKey, event: Event): void;
|
|
16
16
|
toggleMute(): void;
|
|
17
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
17
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
18
18
|
export default _default;
|
|
@@ -20,6 +20,8 @@ export type CharacterConfig = Static<typeof CharacterConfigSchema>;
|
|
|
20
20
|
export declare const CharactersFilesConfigSchema: import("@sinclair/typebox").TObject<{
|
|
21
21
|
config: import("@sinclair/typebox").TObject<{
|
|
22
22
|
imagesPath: import("@sinclair/typebox").TString;
|
|
23
|
+
playerCharacter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
gameCharacter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
25
|
}>;
|
|
24
26
|
characters: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
25
27
|
sprites: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
@@ -270,6 +270,8 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TObject<{
|
|
|
270
270
|
characters: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
271
271
|
config: import("@sinclair/typebox").TObject<{
|
|
272
272
|
imagesPath: import("@sinclair/typebox").TString;
|
|
273
|
+
playerCharacter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
274
|
+
gameCharacter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
273
275
|
}>;
|
|
274
276
|
characters: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
275
277
|
sprites: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
@@ -92,14 +92,14 @@ export declare const defaultConfig: {
|
|
|
92
92
|
screens: Record<string, {
|
|
93
93
|
buttons?: (string | ({
|
|
94
94
|
text?: string | undefined;
|
|
95
|
-
anchor?: {
|
|
96
|
-
x: number;
|
|
97
|
-
y: number;
|
|
98
|
-
} | undefined;
|
|
99
95
|
cssClass?: string | undefined;
|
|
100
96
|
action?: string | undefined;
|
|
101
97
|
tag?: string | undefined;
|
|
102
98
|
background?: string | undefined;
|
|
99
|
+
anchor?: {
|
|
100
|
+
x: number;
|
|
101
|
+
y: number;
|
|
102
|
+
} | undefined;
|
|
103
103
|
actionType?: string | undefined;
|
|
104
104
|
scriptClickable?: boolean | undefined;
|
|
105
105
|
enabled: boolean;
|
|
@@ -119,14 +119,14 @@ export declare const defaultConfig: {
|
|
|
119
119
|
clickableDuringScriptsByDefault?: boolean | undefined;
|
|
120
120
|
buttons: Record<string, {
|
|
121
121
|
text?: string | undefined;
|
|
122
|
-
anchor?: {
|
|
123
|
-
x: number;
|
|
124
|
-
y: number;
|
|
125
|
-
} | undefined;
|
|
126
122
|
cssClass?: string | undefined;
|
|
127
123
|
action?: string | undefined;
|
|
128
124
|
tag?: string | undefined;
|
|
129
125
|
background?: string | undefined;
|
|
126
|
+
anchor?: {
|
|
127
|
+
x: number;
|
|
128
|
+
y: number;
|
|
129
|
+
} | undefined;
|
|
130
130
|
actionType?: string | undefined;
|
|
131
131
|
scriptClickable?: boolean | undefined;
|
|
132
132
|
enabled: boolean;
|
|
@@ -263,6 +263,8 @@ export declare const defaultConfig: {
|
|
|
263
263
|
};
|
|
264
264
|
characters: {
|
|
265
265
|
config: {
|
|
266
|
+
playerCharacter?: string | undefined;
|
|
267
|
+
gameCharacter?: string | undefined;
|
|
266
268
|
imagesPath: string;
|
|
267
269
|
};
|
|
268
270
|
characters: Record<string, {
|
package/dist/config.d.ts
CHANGED
|
@@ -80,14 +80,14 @@ export declare function screensConfig(): {
|
|
|
80
80
|
screens: Record<string, {
|
|
81
81
|
buttons?: (string | ({
|
|
82
82
|
text?: string | undefined;
|
|
83
|
-
anchor?: {
|
|
84
|
-
x: number;
|
|
85
|
-
y: number;
|
|
86
|
-
} | undefined;
|
|
87
83
|
cssClass?: string | undefined;
|
|
88
84
|
action?: string | undefined;
|
|
89
85
|
tag?: string | undefined;
|
|
90
86
|
background?: string | undefined;
|
|
87
|
+
anchor?: {
|
|
88
|
+
x: number;
|
|
89
|
+
y: number;
|
|
90
|
+
} | undefined;
|
|
91
91
|
actionType?: string | undefined;
|
|
92
92
|
scriptClickable?: boolean | undefined;
|
|
93
93
|
enabled: boolean;
|
|
@@ -107,14 +107,14 @@ export declare function buttonsConfig(): {
|
|
|
107
107
|
clickableDuringScriptsByDefault?: boolean | undefined;
|
|
108
108
|
buttons: Record<string, {
|
|
109
109
|
text?: string | undefined;
|
|
110
|
-
anchor?: {
|
|
111
|
-
x: number;
|
|
112
|
-
y: number;
|
|
113
|
-
} | undefined;
|
|
114
110
|
cssClass?: string | undefined;
|
|
115
111
|
action?: string | undefined;
|
|
116
112
|
tag?: string | undefined;
|
|
117
113
|
background?: string | undefined;
|
|
114
|
+
anchor?: {
|
|
115
|
+
x: number;
|
|
116
|
+
y: number;
|
|
117
|
+
} | undefined;
|
|
118
118
|
actionType?: string | undefined;
|
|
119
119
|
scriptClickable?: boolean | undefined;
|
|
120
120
|
enabled: boolean;
|
|
@@ -141,6 +141,8 @@ export declare function tooltipsConfig(): {
|
|
|
141
141
|
};
|
|
142
142
|
export declare function charactersConfig(): {
|
|
143
143
|
config: {
|
|
144
|
+
playerCharacter?: string | undefined;
|
|
145
|
+
gameCharacter?: string | undefined;
|
|
144
146
|
imagesPath: string;
|
|
145
147
|
};
|
|
146
148
|
characters: Record<string, {
|
|
@@ -154,6 +156,7 @@ export declare function charactersConfig(): {
|
|
|
154
156
|
name: string;
|
|
155
157
|
}>;
|
|
156
158
|
};
|
|
159
|
+
export declare function getScreenConfig(screen: string): ScreenConfig;
|
|
157
160
|
export declare function getTooltipConfig(keyword: string): {
|
|
158
161
|
title: string;
|
|
159
162
|
description: string;
|
|
@@ -179,7 +182,6 @@ export declare function getAssetUrl(assetPath: string): string;
|
|
|
179
182
|
export declare function getSplitConfigUrl(basePath: string, url: string): string;
|
|
180
183
|
export declare function getDataUrl(dataPath: string): string;
|
|
181
184
|
export declare function getButtonConfig(button: string): ButtonConfig;
|
|
182
|
-
export declare function getScreenConfig(screen: string): ScreenConfig;
|
|
183
185
|
export declare function getItemConfig(id: string): {
|
|
184
186
|
category?: string | undefined;
|
|
185
187
|
onUse?: {
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ScreenConfig } from './config/screens-config';
|
|
1
2
|
export declare const PRE_SIGNAL = "###_--_~=:;";
|
|
2
3
|
export declare const JUMP_SIGNAL = "###_--_~=:;_JUMP";
|
|
3
4
|
export declare const RETURN_SIGNAL = "###_--_~=:;_RETURN";
|
|
@@ -9,3 +10,5 @@ export declare const VERSION: string;
|
|
|
9
10
|
export declare const BUILD_DATE: Date;
|
|
10
11
|
export declare const DEFAULT_DIALOG_WIDTH = 400;
|
|
11
12
|
export declare const DEFAULT_TEXT_SPEED = 20;
|
|
13
|
+
export declare const EMPTY_SCREEN = "@empty";
|
|
14
|
+
export declare const defaultScreenConfig: ScreenConfig;
|
package/dist/dialog-box.vue.d.ts
CHANGED