narrat 2.5.0 → 2.6.1
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 -0
- package/dist/components/saves/{save-slot.vue.d.ts → save-slot-ui.vue.d.ts} +5 -5
- package/dist/config.d.ts +2 -0
- package/dist/dark.png +0 -0
- package/dist/dark.webp +0 -0
- package/dist/dialog-box.vue.d.ts +1 -0
- package/dist/narrat.es.js +13834 -13756
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +110 -110
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/audio-store.d.ts +8 -1
- package/dist/stores/main-store.d.ts +39 -18
- package/dist/stores/sprites-store.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/types/game-save.d.ts +9 -7
- package/dist/utils/data-helpers.d.ts +1 -0
- package/dist/utils/save-helpers.d.ts +4 -6
- package/package.json +1 -1
package/dist/app.vue.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
lineText: string;
|
|
61
61
|
}, {
|
|
62
62
|
appStyle(): any;
|
|
63
|
+
appClass(): any;
|
|
63
64
|
currentLine: () => import("./types/parser").Parser.ParsedExpression<import("./types/parser").Parser.DefaultArg, {}> | undefined;
|
|
64
65
|
gameScaleRatio: () => number;
|
|
65
66
|
gameWidth: () => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SaveSlot } from '../../types/game-save';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
new (...args: any[]): {
|
|
@@ -6,7 +6,7 @@ declare const _default: {
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
saveSlot: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<SaveSlot>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
id: {
|
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
$el: any;
|
|
36
36
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
saveSlot: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<SaveSlot>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
41
|
id: {
|
|
@@ -70,7 +70,7 @@ declare const _default: {
|
|
|
70
70
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
71
71
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
72
72
|
saveSlot: {
|
|
73
|
-
type: PropType<
|
|
73
|
+
type: PropType<SaveSlot>;
|
|
74
74
|
required: true;
|
|
75
75
|
};
|
|
76
76
|
id: {
|
|
@@ -89,7 +89,7 @@ declare const _default: {
|
|
|
89
89
|
__isSuspense?: undefined;
|
|
90
90
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
91
91
|
saveSlot: {
|
|
92
|
-
type: PropType<
|
|
92
|
+
type: PropType<SaveSlot>;
|
|
93
93
|
required: true;
|
|
94
94
|
};
|
|
95
95
|
id: {
|
package/dist/config.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ export interface Config {
|
|
|
148
148
|
};
|
|
149
149
|
saves: {
|
|
150
150
|
mode: 'game-slots' | 'manual';
|
|
151
|
+
slots: number;
|
|
151
152
|
};
|
|
152
153
|
}
|
|
153
154
|
export interface ScreenConfig {
|
|
@@ -199,6 +200,7 @@ export interface ButtonConfig {
|
|
|
199
200
|
enabled: boolean;
|
|
200
201
|
background?: string;
|
|
201
202
|
text?: string;
|
|
203
|
+
cssClass?: string;
|
|
202
204
|
position: {
|
|
203
205
|
left: number;
|
|
204
206
|
top: number;
|
package/dist/dark.png
ADDED
|
Binary file
|
package/dist/dark.webp
ADDED
|
Binary file
|
package/dist/dialog-box.vue.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
preText(): string;
|
|
18
18
|
style(): DialogStyle;
|
|
19
19
|
dialogBoxStyle(): any;
|
|
20
|
+
dialogBoxClass(): false | "dialog-box-followup";
|
|
20
21
|
titleStyle(): any;
|
|
21
22
|
textStyle(): any;
|
|
22
23
|
choices(): DialogChoice[] | undefined;
|